/* 
    Created on : 14.5.2014, 14:36:46
    Author     : Tomas Mleziva,
*/
body, html {
    width: 100%;
    min-height: 100%;
    text-align: left;
    font-family: 'Trebuchet MS', sans-serif;
}
body {
    background: #e8e8e8;
    /*background-image: url(../images/admin/bg-logo.png);
    background-repeat: no-repeat;
    background-position: bottom 30px right 50px;*/
    font-size: 12px;
}
.content {
    margin: 0 25px;
}
h1, h2, h3, h4, h5, h6 {
    color: #695dcd;
}
a {
    color: #695dcd;
}
/** menu */
.menu {
    background: #695dcd;
    height: 95px;
    width: 100%;
    display: flex;
    position: relative;
    color: #fff;
}
.client-logo {
    width: auto;
    padding-right: 30px;
    position: relative;
    top: 10px;
    left: 20px;
    border-radius: 4px;
    display: inline-block;
}
.client-logo img {
    max-height: 55px;
    margin: 6px;
}
.menu ul {
    position: relative;
    display: flex;
    left: 0;
    top: 0;
    height: 100%;
}
.menu ul li {
    flex: 1;
    flex-direction: row;
    height: 100%;
    display: inline-block;
    text-align: center;
    padding: 7px 6px 0;
}
.menu ul li a {
    width: 100%;
    height: 100%;
    color: #fff;
    text-transform: uppercase;
    display: block;
    text-decoration: none;
}
.menu ul li a span.glyphicon {
    font-size: 30px;
    margin: 8px 0 12px 0;
    font-weight: normal;
}
.menu ul li img {
    margin: 8px 0 10px 0;
}
.menu ul li.on,
.menu ul li:hover {
    background: #7a75e0;
}
.db-info {
    position: absolute;top: 5px;
    right: 200px;
    color: #a3a3a3;
}
.logged-user {
    position: absolute;
    right: 5px;
    top: 7px;
    height: 65px;
}
.logged-user .name {
    vertical-align: top;
    height: 40px;
    white-space: nowrap;
    font-size: 12px;
    text-align: right;
    line-height: 14px;
}
.logged-user .portrait img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 4px;
}
.logged-user a.settings {
    float: right;
    display: block;
    margin: 4px 8px 0 0;
    width: 15px;
    height: 15px;
}
.logged-user a.logout {
    float: none;
    display: block;
    width: 15px;
    height: 12px;
    position: absolute;
    top: 40px;
    right: 8px;
}
/** flashes */
.flash-wrapper {
    padding: 10px;
    font-size: 16px;
}
/** login form */
.login-form {
    width: 335px;
    height: 365px;
    background: #fff;
    border-radius: 4px;
    margin: 5% 0 0 50%;
    left: -167px;
    position: relative;
    text-align: center;
}
.login-form img {
    max-width: 75%;
    margin-top: 25px;
    max-height: 150px;
}
.login-form div.credentials {
    position: absolute;
    top: 190px;
    left: 28px;
    width: 280px;
    height: 170px;
}
.login-form input {
    color: #695dcd;
    border: 1px solid #695dcd;
    background: #fff;
    border-radius: 6px;
    font-size: 18px;
    height: 28px;
    line-height: 28px;
    text-align: left;
    display: block;
    margin-bottom: 5px;
    padding: 0 10px;
    width: 260px;
}
.login-form input[type=submit] {
    background: #695dcd;
    color: #fff;
    text-align: center;
    font-size: 14px;
    text-transform: uppercase;
    width: 100px;
    margin-left: 90px;
    margin-top: 22px;
}
.login-form h1 {
    color: #695dcd;
    font-size: 20px;
    margin: 0 0 17px 0;
}
.login-copyright {
    font-size: 12px;
    position: absolute;
    right: 0;
    bottom: -18px;
    text-align: right;
}
/** grid */
table.grid {
    width: auto;
    max-width: 100%;
    margin: 28px 0;
	border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
table.grid thead th {
    color: #fff;
    text-transform: uppercase;
    background: #a7a9ac;
    height: 16px;
    line-height: 18px;
    padding: 16px 12px 2px 6px;
    font-weight: bold;
}
table.grid thead th:first-child {
    border-top-left-radius: 5px;
}
table.grid thead th:last-child {
    border-top-right-radius: 5px;
}
table.grid thead th a.ordering {
    position: relative;
    top: -2px;
}
table.grid thead tr.filter th {
    border-radius: 0;
    margin-top: 0px;
    padding-top: 0px;
    height: 35px;
    line-height: 10px;
    vertical-align: top;
}
table.grid thead tr.filter input {
    margin: 0px;
    padding: 0 5px;
    
    font-size: 14px;
    border: none;
    line-height: 20px;
    height: 30px;
    border-radius: 4px;
}
table.grid thead tr.filter input[type=text] {
    color: #000;
}
table.grid thead tr.filter input[type=submit] {
    background: #695dcd;
    border: none;
    padding: 4px 8px;
    text-transform: uppercase;
    height: 30px;
    line-height: 22px;
}
table.grid tbody td {
    text-align: left;
    vertical-align: middle;
    padding: 6px;
    min-height: 66px;
    background: #fff;
}
table.grid tbody tr.even td {
    background: #f1f2f2;
}
table.grid tbody tr:hover td {
    background: #695dcd;
    color: #fff;
}
table.grid tbody tr:hover input, table.grid tbody tr:hover select {
    color: #695dcd;
}
table.grid tbody tr:hover td a {
    color: #fff;
    text-decoration: underline;
}
table.grid th.slim input {
    width: 60px;
}
table.grid th.medium input {
    width: 100px;
}
table.grid tfoot td {
    background: #a7a9ac;
    text-align: center;
    height: 30px;
    vertical-align: middle;
/*    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;*/
    color: #fff;
}
table.grid tfoot td input[type=text],
table.grid tfoot td select
{
	color: #000;
}
table.grid tr.sep th {
	padding: 12px 8px;
	font-size: 18px;
	background: #6d6d6e;
	color: #fff;
}
/** FORMS */
.generic-form input,
.generic-form select,
.generic-form textarea {
    border: 1px solid #695dcd;
    color: #695dcd;
    border-radius: 5px;
    font-size: 14px;
    padding: 3px 5px;
    height: 30px;
}
.generic-form input[type=text], .generic-form input[type=email], .generic-form input[type=password] {
    width: 543px;
}
.generic-form input[type=file] {
    border: none;
}
.generic-form input[type=checkbox], .generic-form input[type=radio] {
    position: relative;
    margin-right: 10px;
    height: auto;
}
.generic-form select {
    width: 543px;
}
.generic-form input[type=submit] {
    width: 200px;
    height: 30px;
    text-transform: uppercase;
    background: #7a75e0;
    color: #fff;
    font-weight: bold;
}
.generic-form textarea {
    width: 543px;
    height: 250px;
}
.generic-form th {
    font-size: 14px;
    width: 200px;
    text-align: left;
}
.generic-form th, .generic-form td {
    background: #fff;
    padding: 5px 8px;
    vertical-align: middle;
}

.generic-form tr.even th,
.generic-form tr.even td {
    background: #f1f2f2;
}

table.table {
    background: #fff;
    border: 1px solid #695dcd;
    border-top: 5px solid #695DCD;
}
table.table th {
    font-weight: bold;
}
table.table.actors {
    width: 500px;
}
table.table.actors th {
    background: #7a75e0;
    width: 500px;
    color: #fff;
}
table td.title {
    font-size: 1.1em;
    font-weight: bold;
}
table.table.actors input[type=text],
table.table.actors select {
    width: 180px;
}

a.header-action {
    
}
/* controls */
.btn-info, .btn-info, .btn-info, .btn-info, .open .dropdown-toggle.btn-info {
    background-color: #9f9cee;
}
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
    background-color: #7a75e0;
}
.references-form textarea {
    width: 96%;
    height: auto;
}
.references-form input[type=text] {
    width: 96%;
}
/** CUSTOM */
iframe#actions-result {
    width: 800px;
    height: 600px;
    overflow: scroll;
    border: 2px solid #695dcd;
    border-radius: 5px;
    margin: 15px 0 0 0;
    background: #fff;
}

.generic-form table .director input,
table .director select {
    width: 228px; 
}
.generic-form textarea.perex {
    height: 60px;
}

span.eng {
    color: #6d6d6e;
    font-style: italic;
}
tr:hover span.eng {
    color: #d6d6e6;
}

/* gallery */
.img-panel {
    padding: 20px 15px 15px 15px;
    background: #fff;
    width: 362px;
	height: 456px;
    margin: 0 10px 10px 0;
    float: left;
	position: relative;
}
.img-panel.partner-tile {
	width: 250px;
	min-height: 500px;
}
.img-panel.partner-tile.viewer-partner {
	width: 1030px;
	height: 490px;
}
.img-panel.partner-tile.viewer-partner div.left {
	float: left;
	width: 300px;
	margin-right: 25px;
}
.img-panel.partner-tile.viewer-partner div.right {
	float: right;
	width: 525px;
}
.img-panel .move {
	position: absolute;
	top: 5px;
	right: 8px;
}
.img-panel .img-preview-wrapper {
    width: auto;
    height: 200px;
    text-align: center;
    margin-bottom: 15px;
    vertical-align: middle;
    overflow: hidden;
}
.img-panel img {
    max-height: 200px;
    vertical-align: middle;
}
.img-panel label,
.img-panel input {
    display: block;
}
.img-panel textarea {
    width: 96%;
}
.img-panel input[type=text] {
    width: 96%;
}
.img-panel input[type=checkbox] {
    width: 20px;
    text-align: left;
    margin-right: 10px;
    position: relative;
    display: inline;
    top: 3px;
}
/* sorting mode */
.sorting-mode .img-panel {
	width: 150px;
	height: 100px;
	cursor: move;
	padding: 3px;
	overflow: hidden;
}
.sorting-mode .img-preview-wrapper {
	width: 98%;
	height: 98%;
}
.sorting-mode .img-panel img {
	max-width: 100%;
	max-height: 100%;
}
.sorting-mode label, .sorting-mode input, .sorting-mode textarea {
	display: none;
}
.sorting-mode .img-panel span.move {
	display: none;
}
/** partners */
.partner-tile .img-preview-wrapper {
    min-height: 150px;
}
.chosen-container-multi ul.chosen-choices li.search-field input[type=text] {
    width: 118px;
    height: 20px;
    padding: 0 4px;
}
input.new-tag {
    display: none;
}
tr.category-head th {
	padding: 26px 0 10px 14px;
	background: #a7a9ac;
	color: #fff;
	font-size: 22px;
}

.table.infobanners td textarea {
	width: 400px;
	height: 100px;
	font-family: monospace;
}

.drag-handle, table.table.actors th.drag-handle {
    width: 25px;
}

span.error {
	display: block;
	padding: .3em .8em;
	background: #ED8383;
	margin: .3em 0 0;
}

.override-control {
    white-space: nowrap;
}

.venue-reservation-new td {
    background: #fff !important;
    color: #000 !important;
}
.venue-reservation-confirmed td {
    background: #c7ffc7 !important;
    color: #000 !important;
}
.venue-reservation-cancelled td {
    background: #ffc7c7 !important;
    color: #000 !important;
}
.venue-reservation td a {
    color: #000 !important;
    text-decoration: none !important;
}