html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Arial';
    font-size: 16px;
}

body {
    background: #eef3f7;
    background-image: linear-gradient(180deg, #f7fafc 0, #eef3f7 340px);
    color: #333;
}

a {
    color: #486a8e;
    outline: none;
}

h1, h2, h3, h4, h5 {
    margin-top: 0;
    margin-bottom: 0px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 18px;
}


.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

.fade.in {
    opacity: 1;
}

.error {
    color: #8e4848;
}


/*============== Table ================*/

.main table {
    border: none;
    *border-collapse: collapse; /* Для IE7 и страше */
    border-spacing: 0;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.main table tr:hover {
    background: #e1e7ed;
    -o-transition: all 0.1s ease-in-out;
    -webkit-transition: all 0.1s ease-in-out;
    -moz-transition: all 0.1s ease-in-out;
    -ms-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.main table td {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
    text-align: left;
}

.main table td {
    padding: 5px;
}

.main table th {
    padding: 10px;
    background-color: #56789c;
    color: #fff;
    font-weight: normal;
    text-align: left;
    border-left: 1px solid #385778;
    border-bottom: 1px solid #385778;
    border-top: 1px solid #385778;
}

.main table th a,
.main table th a:hover,
.main table th a:visited {
    color: #fff;
    text-decoration: none;
}

.main table td:first-child, .main table th:first-child {
    border-left: none;
}

#linksTable {
    width: 800px;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

#linksTable select[multiple="multiple"] {
    width: 120px;
    height: 140px;
}

#linksTable tr td {
    border: none;
}

.inl-bl {
    display: inline-block;
}

/*============== Menu ================*/

.menu {
    width: 100%;
    height: 40px;
    background: #56789c;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu ul li {
    float: left;
}

.menu ul li a img {
    position: relative;
    top: 4px;
    left: 4px;
}

.menu ul li:hover {
    background: #486a8e;
}

.menu ul .current, .menu ul .current_ancestor {
    background: #486a8e;
}

.menu ul li a {
    height: 20px;
    line-height: 20px;
    float: left;
    padding: 10px;
    color: white;
    text-decoration: none;
    text-shadow: 0px 1px 2px #2d445f;
}

.menu ul li a.home {
    background: url("../images/home.png") 3px 4px no-repeat;
    width: 40px;
    height: 40px;
    padding: 0px;

}

.menu-login {
    font-weight: bold;
    float: right;
    padding: 10px;
    color: #fff;
    text-shadow: 0px 1px 2px #2d445f;
}

.menu-login a {
    color: #fff;
    font-weight: normal;
    text-decoration: none;
}

/*============== Second Menu ================*/

.second_menu {
    width: 100%;
    height: 40px;
}

.second_menu ul {
    margin: 0;
    padding: 0;
}

.second_menu ul li {
    margin-left: 10px;
    float: left;
    list-style: none;
}

.second_menu ul .current {
    background: #56789c;
}

.second_menu ul a:hover {
    background: #56789c;
    color: white;
    text-shadow: 0px 1px 2px #486a8e;
}

.second_menu ul li.current a:hover {
    background: #486a8e;
    color: white;
    text-shadow: 0px 1px 2px #486a8e;
}


.second_menu ul .current a {
    color: white;
    text-shadow: 0px 1px 2px #486a8e;
}

.second_menu ul li a {
    display: inline-block;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}

.second_menu ul.check-scroll .current {
    color: white;
    text-shadow: 0px 1px 2px #486a8e;
}

.second_menu ul.check-scroll li {
    display: inline-block;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
}

.second_menu ul.check-scroll li input[type="checkbox"] {
    height: auto;
    margin: 0;
}


/*============== Button ================*/

.content input[type="submit"], .content .button, .content button,
.filter-form button, .filter-form input[type="submit"], .filter-form .button,
.table-container .button {
    cursor: pointer;
    font-size: 16px;
    /*margin-top: 10px;*/
    display: inline-block;
    background: #56789c;
    color: #fff;
    padding: 7px 12px 7px 12px;
    text-decoration: none;
    border: 1px solid #385778;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0px 1px 1px #2d445f;
}


.content .button, .table-container .button {
    margin-top: 0;
}

.content button:hover, .content input[type="submit"]:hover, .content .button:hover,
.filter-form button:hover, .filter-form input[type="submit"]:hover, .filter-form .button:hover {
    background: #486a8e;
}

.content button:disabled, .content input[type="submit"]:disabled, .content .disabled,
.content button:disabled:hover, .content input[type="submit"]:disabled:hover, .content .disabled:hover,
.filter-form button:disabled, .filter-form input[type="submit"]:disabled, .filter-form .disabled,
.filter-form button:disabled:hover, .filter-form input[type="submit"]:disabled:hover, .filter-form .disabled:hover {
    cursor: default;
    background-image: none;
    opacity: 0.65;
    filter: alpha(opacity=65);
    box-shadow: none;
    pointer-events: none;
}


.del {
    margin-top: 0;
    padding-bottom: 5px;
    padding-top: 5px;
}

.delete_form button, .del {
    background: #9c5656;
    border: 1px solid #723838;
}

.delete_form button:hover, .del:hover {
    background: #8e4848;
}

/*============== Forms ================*/

.config-label {
    float: left;
}

#config {
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    position: relative;
    margin-bottom: 20px;
    width: 900px;
    height: 500px;
}

#slstudio_photoautomatebundle_event_datePhoto {
    display: inline-block;
}

#slstudio_photoautomatebundle_event .datetime {
    display: inline-block;
}

.formRest label {
    display: none;
}

.framePreview {
    display: inline-block;

}

.mb15 {
    margin-bottom: 15px;
}

.mb5 {
    margin-bottom: 5px;
}

.mt15 {
    margin-top: 15px;
}

.mt30 {
    margin-top: 30px;
}

.rel {
    position: relative;
}

.mt5 {
    margin-top: 5px;
}

.content label, .content .label {
    display: inline-block;
    width: 160px;
    margin-right: 10px;
    vertical-align: top;
    line-height: 16px;
    height: 24px;
    text-align: left;
    color: #777;
}

.mr0 {
    margin-right: 0;
}

.content input[type="checkbox"], .filter-form input[type="checkbox"] {
    height: 24px;
    margin-bottom: 10px;
}

.content input[type="number"], .filter-form input[type="number"] {
    width: 60px;
}

.content input[type="file"] {
    height: 24px;
    font-size: 16px;
    margin-bottom: 10px;
}

.content input[type="search"], .content input[type="date"], .content input[type="time"],
.content textarea, .content select, .content input[type="number"], .content input[type="text"],
.content input[type="email"], .content input[type="password"],
.filter-form input[type="search"], .filter-form input[type="date"], .filter-form input[type="time"],
.filter-form textarea, .filter-form select, .filter-form input[type="number"], .filter-form input[type="text"],
.filter-form input[type="email"], .filter-form input[type="password"] {
    height: 24px;
    font-size: 16px;
    margin-bottom: 10px;
    background: #FBFBFB;
    outline: none;
    padding: 3px 6px;
    line-height: 1;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.content select, .filter-form select {
    height: 30px;
}

.content select[multiple="multiple"] {
    height: auto;
    padding: 0;
    width: 318px;
    font-size: 16px;
    margin-bottom: 10px;
    background: #FBFBFB;
    outline: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.content textarea {
    width: 220px;
    height: 100px;
    font-family: Arial;
}

.content input[type="number"].child-num {
    margin-left: 20px;
    width: 40px;
}

.child-num-label {
    float: none;
    font-size: 14px;
    text-align: center;
    width: 40px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.content input[type="file"], .content input[type="text"], .content input[type="email"], .content input[type="password"] {
    width: 300px;
}

.content input[type="date"]:focus, .content input[type="time"]:focus, .content textarea:focus,
.content select:focus, .content input[type="number"]:focus, .content input[type="text"]:focus,
.content input[type="email"]:focus, .content input[type="password"]:focus, .content select[multiple="multiple"]:focus,
.filter-form input[type="date"]:focus, .filter-form input[type="time"]:focus, .filter-form textarea:focus,
.filter-form select:focus, .filter-form input[type="number"]:focus, .filter-form input[type="text"]:focus,
.filter-form input[type="email"]:focus, .filter-form input[type="password"]:focus, .filter-form select[multiple="multiple"]:focus {
    border: 1px solid #56789c;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
}


/*============== UploadForm ================*/

.drop-zone {
    display: none;
}

.drop-zone-modal {
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 120;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 5px dashed #fff;
    margin: 0 20px 20px;
    margin-top: 20px;
    padding: 20px;
    text-align: center;
}

.dragover form {

}


.dropzone-head {
    margin-bottom: 0;
    width: 100%;
    margin-top: 30px;
    text-align: center;
    font-size: 60px;
}

.dropzone-cover {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
}

.dropzone-bg {
    background: rgba(0, 0, 0, .3);
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    text-align: center;
    white-space: nowrap;
}

.order label {
    display: none;
}

.order form div {
    float: left;
}

.apsOrderFormWrap {
    position: absolute;
    top:200px;
    left:0;
}

.content .order-frame-type {
    width: 110px;
    margin-right: 15px;
}

.content .order-frame {
    width: 189px;
    margin-right: 20px;
}

.content .order-comment {
    resize: none;
    height: 80px;
    margin-bottom: 5px;
}

.content .order-frame-image {
    width: 106px;
    height: 106px;
    float: left;
}


.content input[type="number"].order-count {
    height: 22px;
    width: 40px;
    text-align: right;
    margin-right: 5px;
}

.content .order .order-count-label {
    font-size: 16px;
    height: 30px;
    line-height: 30px;
    color: #000000;
    display: block;
    float: left;
    width: 22px;
    margin: 0;
}

.content .order-photo-list {
    display: none;
}

.content .add-to-order-input {
    display: none;
}


.clb {
    clear: both;
}

.content .cancel {
    margin: 0 auto;
    display: block;
}

.files-container {
}

.preview a {
    cursor: zoom-in;
}

.client-group-photo a {
    cursor: zoom-in;
}

.download-container, .upload-container {
    position: relative;
    width: 609px;
    display: table;
}

.photo-container {
    display: table-cell;
    vertical-align: middle;
    width: 154px;
}


.order-container {
    width: 454px;
    display: table-cell;
    vertical-align: middle;
}

.order {
    position: relative;
    float: left;
    width: 420px;
    height: 155px;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    margin-top: 8px;
    margin-bottom: 8px;
}

.photo {
    float: left;
    width: 120px;
    height: 155px;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    margin-top: 8px;
    margin-bottom: 8px;
    position: relative;
}

.gallery {
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.order.saved {
    border: 1px solid #56789c;
    padding: 8px;
}

.order.error {
    border: 1px solid #8e4848;
    padding: 8px;
}

.order-status-label.error {
    color: #8e4848;
}

.order-status-label.saved {
    color: #486a8e;
}

.order-status-label.wait {
    margin-left: 20px;
}

.order-status-label.wait:before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 16px;
    height: 16px;
    background: url("../images/loader.white.gif") 0px 0px no-repeat;
}

.order-status-label {
    height: 16px;
    position: absolute;
    left: 10px;
    bottom: 10px;
    font-size: 12px;
    float: left;
    color: #888888;
}

.order-status-label.saved {
    color: #486a8e;
}


.photo-box {
    display: table;
    width: 120px;
    height: 120px;
}

.photo-box a {
    display: table-cell;
    vertical-align: middle;
}

.photo-box .cell {
    display: table-cell;
    vertical-align: middle;
}

.photo-box .cell canvas {
    margin: 0 auto;
    display: block;
}

.content .photo:hover .photo-delete {
    display: block;
}

.content .order:hover .order-delete-btn {
    display: block;
}

.content .multi-photo .photo:hover .order-add-btn {
    display: none;
}


.content .order-delete-btn {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 5px 0 5px;
    z-index: 100;
    position: absolute;
    right: -12px;
    bottom: -15px;
    font-family: 'Arial Black';
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.content .photo:hover .order-add-btn {
    display: block;
}

.content .order-add-btn:hover {
    background: #486a8e;
}

.content .order-add-btn {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 4px 0 4px;
    z-index: 100;
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-family: 'Arial Black';
    font-size: 23px;
    line-height: 23px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background: #56789c;
    text-decoration: none;
    border: 1px solid #385778;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0px 1px 1px #2d445f;
}

.content .saved.order:hover .photo-add-btn {
    display: block;
}

.content .multi-order .saved.order:hover .photo-add-btn {
    display: none;
}

.content .multi-photo.multi-multi .saved.order:hover .photo-add-btn {
    display: none;
}

.content .multi-photo .saved.order.add-to-order-block:hover .photo-add-btn {
    display: none;
}

.content .multi-photo .saved.order.add-to-order-block:hover .order-to-order-add-btn {
    display: none;
}

.content .multi-photo .saved.order.add-to-order-block:hover .order-delete-btn {
    display: block;
}


.content .multi-photo .saved.order:hover .order-to-order-add-btn {
    display: none;
}

.content .order-to-order-add-btn {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 4px 0 4px;
    z-index: 100;
    position: absolute;
    left: 20px;
    bottom: -15px;
    font-family: 'Arial Black';
    font-size: 23px;
    line-height: 23px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background: #56789c;
    text-decoration: none;
    border: 1px solid #385778;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0px 1px 1px #2d445f;
}

.content .photo-add-btn:hover {
    background: #486a8e;
}

.content .photo-add-btn {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 4px 0 4px;
    z-index: 100;
    position: absolute;
    left: -12px;
    bottom: -15px;
    font-family: 'Arial Black';
    font-size: 23px;
    line-height: 23px;
    height: 23px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background: #56789c;
    text-decoration: none;
    border: 1px solid #385778;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0px 1px 1px #2d445f;
}

.content .order-save-btn {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 4px 0 4px;
    z-index: 100;
    position: absolute;
    left: -12px;
    bottom: -15px;
    font-family: 'Arial Black';
    font-size: 16px;
    line-height: 23px;
    height: 23px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background: #56789c;
    text-decoration: none;
    border: 1px solid #385778;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0px 1px 1px #2d445f;
}

.content .photo-rmv-order-btn {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 8px 4px 8px;
    z-index: 100;
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-family: 'Arial Black';
    font-size: 23px;
    line-height: 23px;
    height: 23px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background: #9c5656;
    text-decoration: none;
    border: 1px solid #723838;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.content .photo-rmv-order-btn:hover {
    background: #8e4848;
}

.content .photo-to-order-btn {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 4px 0 4px;
    z-index: 100;
    position: absolute;
    right: -10px;
    bottom: -10px;
    font-family: 'Arial Black';
    font-size: 23px;
    line-height: 23px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    background: #56789c;
    text-decoration: none;
    border: 1px solid #385778;
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 0px 1px 1px #2d445f;
}

.content .order-save-btn:hover {
    background: #486a8e;
}

.content .photo-to-order-btn:hover {
    background: #486a8e;
}

.content .disable-on-edit .photo-to-order-btn {
    display: block;
}

.content .disable-on-edit .current .order-save-btn {
    display: block;
}

.content .disable-on-edit .multi-photo .disable-block {
    z-index: 50;
}

.content .disable-on-edit .multi-photo.current .disable-block {
    z-index: -1;
}

.content .disable-on-edit .multi-order .disable-block {
    z-index: 50;
}

.content .disable-on-edit .upload-container .disable-block {
    z-index: 50;
}

.content .disable-on-edit .order:hover .order-delete-btn {
    display: none;
}

.content .disable-on-edit .order:hover .photo-add-btn {
    display: none;
}

.content .disable-on-edit .photo:hover .order-add-btn {
    display: none;
}

.content .disable-on-edit .photo:hover .photo-delete {
    display: none;
}

.i200 .disable-block {
    z-index: 50;
}


.disable-block {
    z-index: -1;
    position: absolute;
    float: left;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0.8;
}

.order-frame-image {
    display: table;
    width: 106px;
    height: 106px;
}

.order-frame-image a {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.order-frame-image .storyline-photo-preview img:hover {
    border-color: gray;
}

.order-frame-image .storyline-photo-preview img {
    border: 1px solid silver;
    max-width: 90px;
    max-height: 105px;

    margin: 0 auto;
}

.i200 .order-save-btn {
    display: none;
}

.content .disable-on-edit .i200 .photo-to-order-btn {
    display: none;
}

.disable-on-edit .multi-photo .photo-to-order-btn {
    display: none;
}

.photo-add-btn:before {
    content: '+';
}

.multi-photo .photo-add-btn:before {
    font-size: 18px;
    line-height: 23px;
    height: 23px;
    font-weight: normal;
    content: '✎';
}

.disable-on-edit .current .photo-to-order-btn {
    display: none;
}

.multi-photo.current .photo-rmv-order-btn {
    display: block;
}

.multi-order .photo-to-order-btn {
    display: none;
}

.disable-on-edit .order-container {
    opacity: 0;
}

.disable-on-edit .photo-line {
    opacity: 0;
}

.disable-on-edit .photo-line-center {
    opacity: 0;
}

.disable-on-edit .current .photo-line {
    opacity: 1;
}

.disable-on-edit .current .photo-line-center {
    opacity: 1;
}

.disable-on-edit .single.current .order-container {
    opacity: 1;
}

.disable-on-edit .multi-photo.current .order-container {
    opacity: 1;
}


.content .photo-delete {
    outline: none;
    display: none;
    margin: 0;
    padding: 0 5px 0 5px;
    z-index: 100;
    position: absolute;
    left: -10px;
    bottom: -10px;
    font-family: 'Arial Black';
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.photo-box a img {
    margin: 0 auto;
    display: block;
}

.photo-name {
    display: block;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    margin-top: 5px;
}

.photo.error {
    border: 1px solid #8e4848;
}

.photo-name a {
    display: block;
    width: 120px;
    color: #000000;
    text-decoration: none;
    white-space: nowrap; /* Отменяем перенос текста */
    overflow: hidden; /* Обрезаем содержимое */
    text-overflow: ellipsis; /* Многоточие */
}

.photo-name a.error {
    color: #8e4848;
}

.photo-original-link {
    display: block;
    text-align: center;
    margin-top: 3px;
}

.photo-original-link a {
    display: inline-block;
    padding: 2px 7px;
    background: #5b7fa8 !important;
    color: #ffffff !important;
    font-size: 12px;
    line-height: 15px;
    text-decoration: none !important;
    border-radius: 2px;
}

.photo-original-link a:hover {
    background: #41688f !important;
}

.photo-size {
    display: block;
    font-size: 12px;
    text-align: center;
}

.single .order-line-center {
    display: none;
}

.multi-photo .order-line-center {
    display: none;
}

.multi-order .order-line-container .order-line-center .line-bottom {
    background: #ccc;
}

.multi-order .order-line-container .order-line-center .line-top {
    background: #ccc;
}

.multi-photo .photo-line-container:first-child .photo-line-center .line-bottom {
    background: #ccc;
}

.multi-photo .photo-line-container:last-child .photo-line-center .line-top {
    background: #ccc;
}

.multi-order .order-line-container:first-child .order-line-center .line-bottom {
    background: #ccc;
}

.multi-order .order-line-container:last-child .order-line-center .line-top {
    background: #ccc;
}

.multi-order .order-line-container:last-child .order-line-center .line-bottom {
    background: none;
}

.multi-order .order-line-container:first-child .order-line-center .line-top {
    background: none;
}

.multi-photo .photo-line-container .photo-line-center .line-bottom {
    background: #ccc;
}

.multi-photo .photo-line-container .photo-line-center .line-top {
    background: #ccc;
}

.multi-photo .photo-line-container:first-child .photo-line-center .line-top {
    background: none;
}

.multi-photo .photo-line-container:last-child .photo-line-center .line-bottom {
    background: none;
}


.multi-order .photo-line-center {
    display: none;
}

.multi-order .photo-line {
    width: 16px;
}

.photo-line {
    float: left;
    width: 15px;
    height: 189px;
}

.photo-line-center {
    float: left;
    width: 1px;
    height: 189px;
}

.order-line-center {
    float: left;
    width: 1px;
    height: 189px;
}

.order-line {
    float: left;
    width: 15px;
    height: 189px;
}

.line-top, .line-bottom {
    width: auto;
    height: 94px;
}

.line-center {
    width: auto;
    height: 1px;
    background: #ccc;
}


.upload-label {
    float: left;
    font-weight: bold;
    width: 150px;
    clear: both;
}

.ml150 {
    margin-left: 150px;
}

.h70 {
    height: 70px;
}

.mh70 {
    max-height: 70px;
}

.fl {
    float: left;
}

.m0 {
    margin: 0;
}

.mr15 {
    margin-right: 15px;
}

.lh20 {
    line-height: 20px;
}

.content .btn-red {
    background: #9c5656;
    border: 1px solid #723838;
}

.content .btn-red:hover {
    background: #8e4848;
}

.upload-info-container {
    clear: both;
    /*height: 175px;*/
    margin-left: 0;
    width: 700px;
    line-height: 24px;
}


.progress {
    height: 20px;
    margin-bottom: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

.progress.active .progress-bar, .progress-bar.active {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}

.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #56789c;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}

.upload-size {
    display: block;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.progress-photo {
    margin-bottom: 20px;
}

.client-group-photo {
    float: left;
    width: 120px;
    height: 175px;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: 15px;
    position: relative;
}

.client-group-photo img, .client-group-photo a, .client-group-photo select {
    user-select: none; /* CSS3 (little to no support) */
    -ms-user-select: none; /* IE 10+ */
    -moz-user-select: none; /* Gecko (Firefox) */
    -webkit-user-select: none; /* Webkit (Safari, Chrome) */
}

.client-group-photo.selected {
    border: 1px solid #56789c;
    background: #d1dee8;
}

.client-group-photo.selected.last {
    border: 1px solid #435e7a;
    background: #aec5d6;
}

.client-group-photo.last {
    border: 1px solid #435e7a;
}

.groups-list {
    position: fixed;
    opacity: 0;
    top: -80px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    min-height: 40px;
    background: #f6f7f7;
    margin: 0;
    z-index: 2;
    border-bottom: 1px solid #ccc;

    transition: top 0.3s ease;
}


.photo-client-group-id {
    display: none;
}

.groups-list.fixed {
    opacity: 1;
    top: 0;
}

.client-group-photo .photo-box > span {
    display: table-cell;
    vertical-align: middle;
}

.client-group-photo .photo-box > span img {
    margin: 0 auto;
    display: block;
}

.client-group-photo select {
    width: 120px;
    height: 24px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 13px;
    padding: 2px 4px;
}

.client-group-photos-container {
    position: relative;
    overflow: hidden;
}


.client-group-item {
    color: white;
    text-shadow: 0px 1px 2px #486a8e;
    display: inline-block;
    padding: 5px 10px 5px 10px;
    text-decoration: none;
    background: #56789c;
    margin: 5px;
    cursor: pointer;
}

.client-group-item:hover {
    background: #486a8e;
}


.groups-bar {
    margin: 0 20px 20px;
    margin-bottom: 20px;
    position: relative;
    padding: 20px;
    text-align: center;
    color: rgba(0, 0, 0, .8);
    border: 2px dashed rgba(72, 106, 142, .3);
}


.upload-button-bar {
    margin: 0 20px 20px;
    margin-bottom: 20px;
    position: relative;
    padding: 20px;
    text-align: center;
    color: rgba(0, 0, 0, .8);
    cursor: pointer;
}

.drop-zone-logo {
    position: absolute;
    top: 18px;
    left: 50%;
    margin-left: -205px;
}

.dropzone-page-head {
    margin-bottom: 10px;
    font-size: 24px;
}

.drop-zone-text {
    font-size: 14px;
    line-height: 36px;
}

.upload-button-bar:hover #jpeg-icon {
    fill: #56789c;
}

.upload-button-bar:hover:before {
    border: 2px dashed #486a8e;
}

.upload-button-bar:hover {
    color: #000000;
}

#jpeg-icon {
    fill: rgba(72, 106, 142, .3);
}

.upload-button-bar:before {
    border: 2px dashed rgba(72, 106, 142, .3);
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: border-color .3s ease;
    transition: border-color .3s ease;
}

#input-file {
    position: absolute;
    visibility: hidden;
}

.fileupload-progress {
    /*margin-bottom: 10px;*/
}

.upload-complete-message {
    margin: 0 20px 20px;
    padding: 14px 18px;
    border: 1px solid #b8d2bf;
    background: #edf8f0;
    color: #285237;
    font-size: 16px;
    line-height: 1.45;
    box-shadow: 0 2px 7px rgba(56, 86, 120, .12);
}

.upload-existing-files-note {
    margin: 0 20px 20px;
    padding: 12px 16px;
    border: 1px solid #bfd0dc;
    background: #f2f7fa;
    color: #334b5f;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 2px 7px rgba(56, 86, 120, .10);
}

.upload-existing-files-note .btn {
    display: inline-block;
    margin-left: 12px;
    padding: 6px 10px;
    color: #fff;
    background: #587b9f;
    text-decoration: none;
}

.upload-existing-files-note .btn:hover {
    background: #496d91;
}

.show-event div.order-frame-type,
.show-event div.order-frame,
.show-event div.order-count,
.show-event div.order-comment {
    float: left;

}

.show-event div.order-frame-type,
.show-event div.order-frame,
.show-event div.order-count {
    height: 30px;
    line-height: 30px;
}

.show-event div.order-comment {
    width: 220px;
}

.show-event .child-num {
    margin-left: 20px;
    width: 40px;
}

.child-num-label {
    float: none;
    font-size: 14px;
    text-align: center;
    width: 40px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.show-event .order-count-label {
    margin-left: 5px;
}

#event-saving {
    float: left;
    position: relative;
    display: none;
    color: #888888;
}

#event-saving:before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 16px;
    height: 16px;
    background: url("../images/loader.white.gif") 0px 0px no-repeat;
}


/*============== Events ================*/

.event_block {
    float: left;
    width: auto;
    height: 170px;
    width: 31.5%;
    min-width: 400px;
    max-width: 650px;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    padding: 1px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    margin: 10px;
}

.event_block_info {
    width: 100%;
    font-size: 14px;
    display: inline-block;
    line-height: 16px;
    clear: both;
}

.event_block_label {
    font-weight: bold;
    width: 110px;
    float: left;
}

.event_block_text {

}

.h50 {
    height: 50px;
}

.event_block_titlebar {
    vertical-align: top;
    padding: 8px 14px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
}

.event_block_info_container {
    padding: 8px 14px;
    margin-right: 110px;
}

.event_block_button {
    height: 120px;
    width: 120px;
    float: right;
    display: table;
}

.event_block_button .vertical_container {
    display: table-cell;
    vertical-align: bottom;
}

.event_block_button .button {
    text-align: center;
    display: block;
    width: 75px;
    margin: 0 auto 15px auto;
}

.expired {
    font-weight: bold;
    text-align: center;
    margin: 0 auto 5px auto;
    color: #dc0808;
}

.days_expired {
    font-size: 30px;
    font-weight: bold;
    text-align: center;

}

.days_expired_caption {
    font-size: 14px;
    line-height: 14px;
    text-align: center;
}

.time_expired {
    font-weight: bold;
    text-align: center;
}

.br_red {
    border: solid 1px #9f2222;
    padding: 0;
}

.bg_red {
    background-color: #e17d7d;
    border-bottom: 1px solid #bd4f4f;
}


/*============== Login Form ================*/

.fos_user_login {
    width: 400px;
    height: 220px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -170px 0 0 -200px;
}

.login_form {
    color: #777;
    border: 1px solid #E5E5E5;
    -moz-box-shadow: rgba(200, 200, 200, 0.7) 0 4px 10px -1px;
    -webkit-box-shadow: rgba(200, 200, 200, 0.7) 0 4px 10px -1px;
    box-shadow: rgba(200, 200, 200, 0.7) 0 4px 10px -1px;
    padding: 20px;
    border-width: 1px;
    border-style: solid;
}

.login_head {
    padding: 10px;
    background: #56789c;
    color: white;
}

.fos_user_login input[type="text"], .fos_user_login input[type="password"] {
    color: #555;
    font-weight: 200;
    font-size: 24px;
    line-height: 1;
    width: 350px;
    padding: 3px;
    margin-top: 2px;
    margin-bottom: 16px;
    border: 1px solid #E5E5E5;
    background: #FBFBFB;
    outline: none;
    -moz-box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2);
    -webkit-box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2);
    box-shadow: inset 1px 1px 2px rgba(200, 200, 200, 0.2);
    border-width: 1px;
    border-style: solid;
}

.fos_user_login input[type="text"]:focus, .fos_user_login input[type="password"]:focus {
    border: 1px solid #56789c;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
}

.fos_user_login label {
    font-size: 14px;
}

.fos_user_login input[type="checkbox"] {
    margin-bottom: 4px;
}

.fos_user_login input[type="submit"] {
    float: right;
    margin: 0;
    padding: 8px 30px 8px 30px;
    outline: none;
}

.fos_user_login input[type="submit"]:hover {
    background: #486a8e;
}

/*============== Content ================*/

.content {
    padding: 20px;
    min-height: calc(100vh - 40px);
}

/*============== Photo preview ================*/

.storyline-photo-preview img {
    border: 1px solid #D0D0D0;
}

.storyline-photo-preview:hover img {
    border-color: #A0A0A0;
}

/*============== Calendar ================*/

.wrapper {
    height: 100%;
}

#calendar {
    height: auto;
}

/* Keep event names readable in the calendar's "more events" popover. */
.fc-popover .fc-event,
.fc-popover .fc-event-title,
.fc-popover .fc-event-title-container {
    color: #fff !important;
}

.hminus80 {
    height: calc(100% - 80px);
}


.fc-unthemed .fc-today {
    background: #eef2f8;
}

.fc-state-default {
    outline: none;
    background-color: #56789c;
    background-image: none;
    border: 1px solid #486a8e;
    color: #fff;
    text-shadow: 0px 1px 2px #2d445f;
    box-shadow: none;
}

.fc-state-default.fc-corner-left {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.fc-state-default.fc-corner-right {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.fc-state-active {
    background-color: #486a8e;
}

.fc-state-disabled:hover {
    background-color: #56789c;
    cursor: default;
}

.fc-event {
    border-radius: 0px;
    border: 1px solid #486a8e;
    background-color: #56789c;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.3);
}

.fc-highlight {
    background: #9bb7d5;
}

.eventInfo {
    font-size: 14px;
    display: inline-block;
    line-height: 16px;
}

.eventLabel {
    font-weight: bold;
    width: 110px;
    float: left;
}

.eventText {
    float: left;
    width: 310px;
}

.scroll {
    overflow: auto;
}

.h100 {
    max-height: 76px;
}

.datetime div {
    display: inline-block;
}

.datetime input[type="time"] {
    position: relative;
    top: 1px;
    padding: 2px 3px;
    margin-left: 10px;
    font-family: Arial;
}

.fc-button-group {
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.fc-today-button {
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.fc-view-container {
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}


.w150 {
    width: 150px;
}

.mr160 {
    margin-right: 160px;
}

/*============== Designer ================*/

.event_block_button .button.to_correction_button {
    width: 120px;
}

.design_on_correction {
    height: auto;
}

.design_ready {
    height: 220px;
}

.design_on_correction .event_block_button {
    height: 230px;
}

#icon {
    fill: #56789c;
}

.photo-box a svg {
    margin: 0 auto;
    display: block;
}

.box {
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    position: relative;
}

.w400 {
    width: 400px;
}

.mt8 {
    margin-top: 8px;
}

.h155 {
    height: 155px;
}

.f13 {
    font-size: 13px;
}

.f12 {
    font-size: 12px;
}


/* ================= Filter + Table ===================== */

.table-container {
    width: 100%;
    height: calc(100% - 190px);
}


table.list_min {
    border: none;
    border-spacing: 0;
}


table.list_min th {
    padding: 8px;
}

table.list_min td {
    padding: 5px;
    border-left: 1px solid #bcbcbc;
    border-top: 1px solid #bcbcbc;

}

table.list_min tr:first-child td {
    border-top: none;
}

table.list_min td {
    cursor: default;
}

.filter-form {
    background: #e1e7ed;
    padding-left: 15px;
    padding-top: 5px;
    width: calc(100% - 15px);
    height: 50px;
    margin: 0px;
}

.control-group {
    float: left;
    margin-top: 0px;
    margin-right: 20px;
}

.filter-form select {
    height: 24px;
    padding: 1px 2px;
    font-size: 14px;
    margin: 0;
}

.filter-form input, .filter-form input[type="date"] {
    padding: 1px 4px;
    width: 150px;
    font-size: 14px;
    height: 20px;
    margin: 0;
}

.filter-form label {
    color: #777;
    height: 18px;
    font-size: 14px;
    line-height: 18px;
    display: block;
    float: none;
    width: auto;
}

.filter-form .btn-small, .btn-small {
    font-size: 14px;
    padding: 6px 10px;
}

.user-list-filter {
    clear: both;
    display: block;
    height: auto;
    min-height: 42px;
    overflow: hidden;
    padding: 8px 15px 10px 15px;
    margin: 0 0 15px 0;
    box-sizing: border-box;
}

.user-list-filter .user-list-filter-item {
    display: inline-block;
    float: none;
    height: 30px;
    line-height: 30px;
    margin: 0 18px 0 0;
    vertical-align: middle;
    white-space: nowrap;
}

.user-list-filter input[type="checkbox"] {
    width: auto;
    height: auto;
    margin: 0 5px 0 0;
    padding: 0;
    vertical-align: middle;
}

.user-list-filter select {
    height: 30px;
    margin-left: 6px;
    vertical-align: middle;
}

.user-list-filter input[type="submit"] {
    display: inline-block;
    width: auto;
    height: 30px;
    line-height: 18px;
    margin: 0;
    padding: 5px 12px;
    vertical-align: middle;
}

.user-list-filter + .clb + table {
    clear: both;
}

.table-container .btn-full {
    margin-top: 3px;
    position: relative;
    height: 100%;
    padding: 3px 6px;
}

.btn-full .cell {
    vertical-align: middle;
    display: table-cell;
}

.btn-full .table {
    display: table;
    width: 100%;
    height: 100%;
}


.btn-full img {
    margin: 0 auto;
}

.mt11 {
    margin-top: 11px;
}

table.dataTable span.highlight {
    background-color: #FFFF88;
}


.cellInfo {

    width: 200px;
    float: right;
    cursor: pointer;
}

.cellInfo.hide:hover {
    background-color: #e1e7ed;
}

.cellInfo.hide {
    padding-top: 7px;
    padding-bottom: 7px;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.cellInfo.show div {
    display: block;
}

.cellInfo.show {
    z-index: 100;
    position: absolute;
    bottom: 0px;
    right: 0px;
    background: white;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.cellInfo div {
    position: relative;
    display: none;
    font-size: 14px;
    padding: 4px 14px;
}

.cellInfo div:hover {
    background-color: #e1e7ed;
}


.cellInfo div.show {
    display: block;
}

.edit_cell {
    position: relative;
}

.edit_cell form {
    z-index: 100;
    background: white;
    margin: 0;
    position: absolute;
    width: calc(100% - 8px);
    height: calc(100% - 6px);
    top: 0px;
    left: 0px;
}

.edit_cell textarea {
    font-size: 13px;
}

.edit_cell select {
    width: 100%;
    height: 100%;
}

.edit_cell input {
    padding: 2px 4px;
    font-size: 13px;
    margin: 0;
    resize: none;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.edit_cell input:focus {
    border: 1px solid #56789c;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
}

.list_min .head_shoot {
    background: #b5d6d4;
}

.list_min .head_shoot_cell {
    background: #d1e1e0;
}


.list_min tr:hover .head_shoot_cell {
    background: #e2ebea;
}


.list_min .head_photo {
    background: #9dbbd9;
}

.list_min .head_photo_cell {
    background: #d0deec;
}

.list_min tr:hover .head_photo_cell {
    background: #e3e8ee;
}

.list_min .head_auto {
    background: #9f9dd9;
}

.list_min .head_auto_cell {
    background: #cdccea;
}

.list_min tr:hover .head_auto_cell {
    background: #dad9ee;
}

.list_min .head_design {
    background: #e7b89c;
}

.list_min .head_design_cell {
    background: #f6d4bf;
}

.list_min tr:hover .head_design_cell {
    background: #f2dfd3;
}

.list_min .head_print {
    background: #f3c487;
}

.list_min .head_print_cell {
    background: #f1d5b1;
}

.list_min tr:hover .head_print_cell {
    background: #f4e4cf;
}

.list_min .head_deliver {
    background: #edf3a2;
}

.list_min .head_deliver_cell {
    background: #ecf0c1;
}

.list_min tr:hover .head_deliver_cell {
    background: #f2f4d7;
}

.list_min .head_money {
    background: #d7e7a1;
}

.list_min .head_money_cell {
    background: #e5efc3;

}

.list_min .comment_money {
    /* width: 250px;
     overflow: hidden;
     white-space: nowrap;
     word-wrap: normal; *//* для IE *//*
     text-overflow: clip;*/
}

.list_min tr:hover .head_money_cell {
    background: #ecf1da;
}


.list_min .sel {
    background: #FFFF88;
}

.list_min tr:hover .sel {
    background: #FFFF88;
}

.filter-form input::-webkit-calendar-picker-indicator {
    display: none;
}

.filter-form input[type="date"]::-webkit-input-placeholder {
    visibility: hidden !important;
}

.list_min .show_cell {
    text-align: center;
    padding: 0;
    width: 25px;
    height: 100%;
}

.list_min .show_cell_head_first {
    background: #b5d6d4;
    padding: 0;
    width: 25px;
}

.list_min .show_cell_head {

    background: #b0d69f;
    padding: 0;
    width: 25px;
}

.list_min .status_head {
    background: #b0d69f;
}

.w30 {
    width: 30px;
}

table.list_min .red {
    background: red;
}

.list_min tr:hover .red {
    background: #f25656;
}

table.list_min .green {
    background: #0bf51b;
}

.list_min tr:hover .green {
    background: #55f961;
}

table.list_min .orange {
    background: #f49309;
}

.list_min tr:hover .orange {
    background: #f7ae47;
}

table.list_min select {
    z-index: 200;
}

.DTFC_LeftHeadWrapper {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 10px 0 5px -2px #888;
    box-shadow: 5px 0 10px -1px rgba(0, 0, 0, 0.2);
}

.DTFC_LeftBodyWrapper {
    border-right: 1px solid rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 10px 0 5px -2px #888;
    box-shadow: 5px 0 10px -1px rgba(0, 0, 0, 0.2);
}

.chart-block {
    width: 700px;
    float: left;
    margin-right: 30px;
}

/* =================== Cron ===================== */

.cron-menu * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}


.content-cron {
    padding: 20px;
}

.content-cron .form-control:focus {
    border: 1px solid #56789c;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(86, 120, 156, .6);
}

.content-cron .btn, .content-cron pre, .content-cron .input-group-addon, .content-cron .form-control {
    border-radius: 0;
}

.content-cron .btn-primary {
    color: #fff;
    background-color: #56789c;
    border-color: #4b6c90;
}

.content-cron .btn-primary:hover {
    color: #fff;
    background-color: #486a8e;
    border-color: #486a8e;
}

/* =================== Dashboard ===================== */

.event_block.events_admin_main {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    height: auto;
}

.event_block.events_admin_main .event_block_info_container {
    margin: 0;
}

.events_admin_main .dashboard-scroll-100 {
    max-height: 1600px;
    overflow-y: auto;
}

.event_block.events_admin_main.dashboard-designer {
    height: 330px;
    min-height: 220px;
    max-height: 70vh;
    overflow: hidden;
    resize: vertical;
}

.events_admin_main.dashboard-designer .dashboard-scroll-100 {
    height: calc(100% - 74px);
    max-height: none;
}

.events_admin_main ul {
    margin: 0;
    padding: 0;
}

.events_admin_main ul li {
    list-style-type: none;
}

.color-red, .color-red a {
    color: #ff0000;
}

.color-green {
    color: green;
}

.color-orange {
    color: orange;
}

.event_block_titlebar_left {
    width: 100%;
    text-align: center;
}

.event_count {
    width: 100%;
    margin: 0 auto;
    font-size: 30px;
    font-weight: bold;
}

.event_status {
    margin: 0 auto;
    font-weight: bold;
}

.small-text {
    font-size: 12px;
    vertical-align: bottom;
    line-height: 12px;
}

.text-bold {
    font-weight: bold;
}

.mt8 {
    margin-top: 8px;
}

.text-center {
    text-align: center;
}

.content .main form button {
    margin-bottom: 10px;
}

.content label.comment-photo {
    width: auto;
    display: block;
}

.hauto {
    height: auto;
}

.client_name {
    width: 100%;
    text-align: left;
    font-size: 22px;
    font-weight: bold;
}

.event_block.client_info {
    height: auto;
    margin: 0;
    margin-bottom: 10px;
    margin-right: 10px;
}

.client_info .event_block_info_container {
    margin-right: auto;
}


.photo-block {
    width: 100%;
}

.second_menu .current_ancestor a {
    color: white;
    text-shadow: 0px 1px 2px #486a8e;
}

.second_menu .current_ancestor {
    background: #56789c;
}


.clb:after {
    content: "";
    display: table;
    clear: both;
}

.table-stat-block {
    overflow: hidden;
}

.circle20 {
    display: block;
    width: 20px;
    height: 20px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

.circle12 {
    display: block;
    width: 12px;
    height: 12px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

.bg_gray {
    background: #DCDCDC;
}

.bg_green {
    background: #50C878;
}

.bg_blue {
    background: #97BBCD;
}

.mr5 {
    margin-right: 5px;
}

.legend-block {
    margin: 0 auto 10px auto;
    width: 300px;
    height: 20px;
}

.w100p {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.return-form {
    width: auto;
    margin: 5px auto 0 auto;
}

.return-form input [type="number"] {
    width: 55px;
    margin: 0 auto;
}

.return-form label {
    /* display: none;*/
    font-size: 12px;
    width: auto;
    margin: 0 auto;
}

.return-form input {
    margin-bottom: 0;
}

.return-box {
    width: 120px;
    height: 245px;
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.return-box .order-status-label {
    height: 16px;
    position: absolute;
    left: 0px;
    bottom: 0px;
    font-size: 12px;
    width: 100%;
    text-align: center;
}




.w300 {
    width: 300px;
    min-width: 300px;
}

.w450 {
    width: 450px;
    min-width: 450px;
}

.w500 {
    width: 500px;
    min-width: 500px;
}

.w550 {
    width: 550px;
    min-width: 550px;
}

.w1000 {
    width: 1000px;
    min-width: 1000px;
}

.w600 {
    width: 600px;
    min-width: 600px;
}

.w250 {
    width: 250px;
    min-width: 250px;
}

.w200 {
    width: 200px;
    min-width: 200px;
}

.w1200 {
    max-width: 1200px;
}

.wauto {
    width: auto;
}

.f24 {
    font-size: 24px;
}

.table_city .cellInfo.hide {
    display: none;
}

.table_city table.dataTable {
    margin: 0;
}

.table_city .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid #56789c;
    background-color: #56789c;
    background: #56789c;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #333333 !important;
    border: 1px solid #cacaca;
    background-color: gainsboro;
    background: gainsboro;
}

.search-result {
    margin-top: 30px;
    position: relative;
}

.search-result.wait:before {
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    width: 16px;
    height: 16px;
    background: url("../images/loader.white.gif") 0px 0px no-repeat;
}

.search-result .order_more_loader:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 24px;
    background: url("../images/loader.hor.large.gif") 0px 0px no-repeat;
}

.order_more_loader {
    position: relative;
    width: 160px;
    height: 65px;
    margin: 0 auto;
    margin-top: 30px;
}


.search-result span.highlight {
    background-color: #FFFF88;
}

.orders_found_count {
    position: absolute;
    top: -30px;
    font-weight: bold;
    font-size: 14px;
}

.order_found {
    position: relative;
    width: 350px;
    min-height: 250px;
    height: auto;
    margin: 0;
    margin-bottom: 10px;
    margin-right: 10px;
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    padding: 1px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    float: left;
}

.order_found_titlebar {
    vertical-align: top;
    padding: 8px 14px;
    margin: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
}

.order_found_left {
    width: 122px;
    padding: 8px 14px;
    float: left;
}

.order_found_right {
    text-align: center;
    width: 172px;
    padding: 8px 14px 32px 14px;
    float: left;
}

.order_found_caption {
    text-align: center;
    font-size: 12px;
    line-height: 12px;
    font-weight: bold;
    width: 100%;
    height: 12px;
}

.order_found_right .order_found_value {
    line-height: 14px;
    margin-bottom: 5px;
}

.order_found_left .order_found_value {
    font-weight: bold;
    line-height: 14px;
    text-align: center;
    margin-top: 5px;
    word-break: break-all;
}

.order_found .button {
    position: absolute;

    bottom: 10px;
    right: 10px;
    font-size: 14px;
    padding: 3px 6px 3px 6px;
}

.order_found_left .order_found_photo {
    width: 120px;
    height: 140px;
    margin: 0 auto;
}

.order_found .photo-box {
    line-height: 120px;
    text-align: center;
}

.order_found_right .order_found_photo {
    width: 50px;
    height: 50px;
    float: left;
    margin-right: 5px;
}

.order_found_right .photo-box {
    width: 50px;
    height: 50px;
}

.order_found_right .photo-box img {
    max-width: 50px;
    max-height: 50px;
}

.order_next_page, .order_next_page_blocked {
    position: relative;
    width: 350px;
    min-height: 150px;
    margin: 0;
    margin-bottom: 10px;
    margin-right: 10px;
    font-size: 36px;
    text-align: center;
    line-height: 46px;
    color: #555;
    text-decoration: none;
    padding: 1px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    float: left;
}

.order_next_page > div, .order_next_page_blocked > div {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60%;
    margin: auto;
}

.order_next_page:hover {
    background-color: #eee;
    color: #000;
}

.order_next_page_blocked:hover {
    background-color: #ffffff;
    color: #555;
}

.order_next_page_blocked {
    cursor: default;
}

.order_found .hide {
    display: none;
}

.order_found_left a {
    text-decoration: none;
    color: #000;
}

.storyline-html-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(20, 30, 40, 0.66);
}

.storyline-html-modal__panel {
    position: relative;
    width: min(1000px, 92vw);
    max-height: 82vh;
    overflow: auto;
    padding: 24px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.storyline-html-modal__close {
    position: sticky;
    top: 0;
    float: right;
    width: 32px;
    height: 32px;
    margin: -12px -12px 8px 12px;
    border: 0;
    background: #557aa0;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 28px;
}



.storyline-calendar-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(20, 30, 40, 0.58);
}

.storyline-calendar-modal__panel {
    position: relative;
    width: min(560px, 92vw);
    max-height: 82vh;
    overflow: auto;
    padding: 22px 24px 24px;
    background: #fff;
    border: 1px solid #b9c8d4;
    border-radius: 4px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

.storyline-calendar-modal__title {
    margin: 0 36px 16px 0;
    color: #333;
    font-size: 22px;
    line-height: 1.25;
}

.storyline-calendar-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    background: #557aa0;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 28px;
}

.storyline-calendar-modal__actions {
    margin-top: 18px;
}

/* Calendar month event bands: light in default and hover states. */
#calendar .fc-daygrid-dot-event,
#calendar .fc-daygrid-dot-event:hover,
#calendar .fc-daygrid-dot-event:visited {
    background: rgba(64, 125, 175, 0.10) !important;
    border-color: rgba(64, 125, 175, 0.22) !important;
    color: #34495e !important;
    text-shadow: none !important;
}
#calendar .fc-daygrid-dot-event .fc-event-title,
#calendar .fc-daygrid-dot-event .fc-event-time {
    color: #34495e !important;
}
