@font-face {
    font-family: 'ENYO SLAB';
    src: url(../fonts/ENYO-SLAB_MEDIUM.OTF) format('opentype'),
         url(../fonts/ENYO-SLAB_MEDIUM.TTF) format('truetype');
    font-weight: normal;
    font-style: normal;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
input[type='number'] {
    -moz-appearance:textfield;
}

#form-calc .nav-tabs a {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
#form-calc .nav-tabs a {
    padding: 5px;
    border-radius: 0;
    border: none;
    height: 31px;
}
#form-calc .nav-tabs a {
    background-color: #cdd1d3;
    color: #69ace3;
}
#form-calc .nav-tabs .active a {
    background-color: #f2f2f2;
    color: #1e1f1f;
}
#tab-design-print,
#tab-print {
    background-color: #f2f2f2;
    padding: 18px 73px 45px 73px;
}

.row-1 {
    margin-bottom: 24px;
}
.row-1 .cover-container {
    padding-top: 35px;
    text-align: center;
}
.row-1 .block-container {
    padding-top: 35px;
    text-align: center;
}
.row-1 .select-container {
     text-align: center;
}
.row-1 .select-container2 {
    position: relative;
    width: 233px;
    display: inline-block;
    padding: 0;
    margin: 0;
    background-color: #fff;
    box-shadow: 0 4px 17px 6px #dcdcdc;
    border-radius: 6px;
}
.row-1 .select-container2:after {
    top: 50%;
    right: 10px;
    border: 5px solid rgba(0, 0, 0, 0);
    border-top-color: #000000;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    margin-top: -2px;
    z-index: 100;
}
.row-1 .select-container2 .select-line {
    height: 34px;
    position: absolute;
    border-right: 1px solid #e4e4e4;
    right: 29px;
}
.row-1 .select-container2 i {
    position: absolute;
    right: -27px;
    top: 12px;
    color: #878888;
}
.row-1 .select-container2 select {
    height: 35px;
    padding: 5px 8px;
    width: 100%;
    border: none;
    border-radius: 6px;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.row-1 .select-container2 select:focus {
    outline: none;
}
.row-1 .center-container {
    padding: 0 31px 0 30px;
}
.row-1 .center-container .center-wrapper {
    background-color: #8b8d8e;
    color: #e1e1e1;
    padding: 15px 40px;
    min-height: 287px;
    font-size: 17px;
    text-align: center;
}
.row-1 .pages-control-container,
.row-1 .albums-control-container {
    position: relative;
    margin-top: 4px;
    margin-bottom: 24px;
}
.row-1 .pages-control-container {
    margin-top: 3px;
}
#tab-design-print .row-1 .pages-control-container {
    padding-right: 25px;
}
.row-1 .pages-control-container .tooltip {
    opacity: 1;
    min-width: 215px;
}
.row-1 .pages-control-container .tooltip-inner {
    background-color: #E53935;
    color: #ffffff;
    max-width: 220px;
}
.row-1 .pages-control-container .tooltip-arrow {
    border-bottom-color: #E53935;
}
.row-1 .pages-control-container i,
.row-1 .albums-control-container i {
    position: absolute;
    right: 0;
    top: 14px;
    color: #ebebeb;
    font-size: 14px;
}
.row-1 .pages-control-container input,
.row-1 .albums-control-container input {
    border-color: transparent;
    box-shadow: 0 4px 27px 2px #6a6c6d;
    height: 35px;
}
.row-1 .select-container2 select:focus,
.row-1 .pages-control-container input:focus,
.row-1 .albums-control-container input:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 15px 0.8rem rgba(0,123,255,.25);
}
.row-1 .pages-control-container input.has-error {
    box-shadow: 0 0 10px 1px rgba(255, 0, 0, 0.3);
    border-color: #a37071;
}
.row-1 .center-total {
    line-height: 15px;
    margin-bottom: 16px;
}
.row-1 .center-total-pages {
    font-size: 24px;
}
.row-1 .center-total-pages-count {
    font-family: 'ENYO SLAB', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 46px;
    line-height: 45px;
}
.row-1 .block-img,
.row-1 .cover-img {
    margin-top: 17px;
    max-width: 100%;
}

.row-2 {
    margin-bottom: 55px;
    padding-bottom: 10px;
    padding-top: 13px;
    border-top: 1px solid #e2e3e3;
    border-bottom: 1px solid #e2e3e3;
    margin-left: 15px;
    margin-right: 15px;
}
.row-2 .row-2-1 {
    position: relative;
    text-align: center;
}
.row-2 .row-2-1 strong {
    font-size: 18px;
    font-weight: 300;
    line-height: 70px;
    color: #64a9e2;
}
.row-2 .row-2-1 .arrow-img {
    position: absolute;
    right: 3px;
    top: 8px;
}
.row-2 .row-2-2 {
    font-size: 16px;
    color: #9c9c9b;
}
.row-2 .row-2-2 b {
    font-size: 30px;
    font-family: 'ENYO SLAB', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #d23982;
    font-weight: 500;
    line-height: 33px;
}
.row-2 .row-2-2 small {
    font-size: 14px;
}
.row-2 .row-2-2 small.x2 {
    font-size: 12px;
}


.row-3 {
    margin-bottom: 23px;
}
.row-3 .format {
    width: 187px;
    height: 214px;
    float: left;
    border-radius: 6px;
    border: 1px solid #e7e7e7;
    text-align: center;
    margin-right: 14px;
}
.row-3 .format:nth-child(5) {
    margin-right: 0;
}
.book-img {
    position: relative;
    height: 31px;
}
.book-img img {
    position: absolute;
}
.format-book .book-img img {
    top: -36px;
    margin-left: -26px;
}
.format-album .book-img img {
    top: -25px;
    margin-left: -33px;
}
.format-hd .book-img img {
    top: -42px;
    margin-left: -38px;
}
.format-25_25 .book-img img {
    top: -33px;
    margin-left: -35px;
}
.format-hd_mini .book-img img {
    top: -20px;
    margin-left: -30px;
}
.format-download {
    font-size: 10px;
    margin-top: 5px;
    text-decoration: underline;
}
.book-img-text {
    position: absolute;
    width: 100%;
    line-height: 13px;
    color: #eee;
    font-weight: 500;
    font-size: 16px;
}
.format-book .book-img-text {
    top: -15px;
    right: 0;
}
.format-album .book-img-text {
    top: -9px;
    right: -3px;
}
.format-hd .book-img-text {
    top: -19px;
    right: 1px;
}
.format-25_25 .book-img-text {
    top: -14px;
    right: 3px;
}
.format-hd_mini .book-img-text {
    top: -7px;
    right: 3px;
}
.book-img-text small {
    font-size: 10px;
}
.row-3 .total-all {
    color: #838382;
    margin-top: 13px;
    font-size: 16px;
    line-height: 12px;
    margin-bottom: 2px;
}
#tab-design-print .row-3 .total-all {
    margin-top: 32px;
}
.row-3 .total-all span {
    font-size: 16px;
}
.row-3 .total-all small {
    font-size: 11px;
}
.row-3 .total-album {
    color: #499ce0;
}
.row-3 .total-album strong {
    font-family: 'ENYO SLAB', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 45px;
    font-weight: 500;
}
.row-3 .total-album span {
    font-family: 'ENYO SLAB', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 40px;
}
.row-3 .total-album small {
    font-size: 10px;
}
.row-3 .btn-cl {
    background-color: #499ce0;
    border-color: #499ce0;
    position: relative;
    bottom: -11px;
    padding: 2px 20px;
    border-radius: 8px;
    font-size: 15px;
}
.row-3 .btn-cl:focus {
    outline: none;
}
.row-3 .clearfix {
    margin-bottom: 23px;
}
.row-3 .text-muted {
    color: #a4a4a3;
}
.row-3 .text-muted a {
    color: #a4a4a3;
    text-decoration: underline;
}
.row-3 .text-muted a:hover {
    color: #666;
}


.row-4 {
    text-align: center;
}
.row-4 strong {
    color: #5aa4e1;
    font-size: 18px;
    font-weight: 500;
}
.row-4 .actions-container {
    margin-top: 15px;
    background-color: #f9f9f9;
    padding: 11px 0;
    min-height: 167px
}
.row-4 .action-item {
    width: 150px;
    display: inline-block;
    margin-right: 54px;
    font-size: 10px;
    line-height: 17px;
    vertical-align: text-top;
    color: #8e9091
}
.row-4 .imb-container {
    height: 90px;
}
.row-4 .action-item:nth-child(5) {
    margin-right: 0;
}

.fa-info-circle {
    cursor: pointer;
}

@media (max-width:1200px){
    .row-1 .center-container .center-wrapper {
        padding: 15px;
    }
    .row-2 .row-2-2 {
        text-align: center;
    }
    .row-3 .format {
        width: 246px;
        margin-bottom: 80px;
    }
    .row-3 .format.format-25_25 {
        margin-left: 135px;
    }
    .row-3 .format.format-25_25,
    .row-3 .format.format-hd_mini {
        margin-bottom: 30px;
    }
    .row-4 .action-item {
        margin-right: 5px;
    }
}
@media (max-width:992px){
    .row-1 .block-container {
        margin-bottom: 40px;
    }
    .row-1 .center-container {
        width: 360px;
        margin-left: 20%;
    }
    .row-3 .format.format-25_25 {
        margin-left: 14px;
        margin-bottom: 80px;
    }
    .row-3 .format.format-hd_mini {
        margin-bottom: 30px;
        margin-left: 140px;
    }
    .row-4 .action-item {
        margin-right: 0;
        width: 110px;
    }
}
@media (max-width:750px){
    #tab-design-print,
    #tab-print {
        padding: 18px 35px 45px 35px;
    }
    .row-1 .block-container {
        margin-bottom: 40px;
    }
    .row-1 .select-container2 {
        width: 100%;
        max-width: 233px;
    }
    .row-1 .center-container {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0;
    }
    .row-2 .row-2-1 strong {
        line-height: normal;
        display: inline-block;
        margin-bottom: 20px;
        margin-top: 30px;
    }
    .row-3 .format {
        width: 100%;
        max-width: 246px;
        float: none;
        margin: 0 auto;
        margin-bottom: 80px;
    }
    .row-3 .format.format-25_25 {
        margin: 0 auto;
        margin-bottom: 80px;
    }
    .row-3 .format.format-hd_mini {
        margin: 0 auto;
        margin-bottom: 30px;
    }
    .row-4 .action-item {
        width: 100%;
        margin-bottom: 30px;
    }
    .line-xs {
        display: block;
    }
}


.modal-backdrop {
    background-color: #4a4a4a;
}
#calc-modal * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#calc-modal .modal-content {
    border-radius: 0;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #f2f2f2;
}
#calc-modal .modal-body {
    padding: 22px 55px 52px 55px;
}
#calc-modal .btn-cl {
    background-color: #499ce0;
    border-color: #499ce0;
    position: relative;
    bottom: -11px;
    padding: 2px 20px;
    border-radius: 8px;
    font-size: 15px;
}
#calc-modal .btn-cl:focus {
    outline: none;
}
#calc-modal .btn-cl .fa-refresh {
    display: none;
}
#calc-modal .in > .fa-refresh {
    display: inline-block;
}
#calc-modal .btn-cl.fileup-btn {
    margin-bottom: 10px;
    bottom: 0;
}
#calc-modal strong {
    color: #90c0e7;
    font-weight: 400;
    font-size: 12px;
    margin-top: 30px;
    display: inline-block;
}
#calc-modal #order-info {
    border: 1px solid #e9e9e9;
    border-radius: 6px;
    margin-top: 75px;
    margin-left: 20px;
    margin-right: 20px;
}
#calc-modal #order-info .book-img {
    position: relative;
    margin-bottom: 20px;
}
#calc-modal #order-info .book-img img {
    position: relative;
    top: -30px;
    margin: 0 auto;
}
#calc-modal #order-info .book-img-text {
    position: absolute;
    width: 100%;
    line-height: 13px;
    color: #eee;
    font-weight: 500;
    font-size: 16px;
    top: -15px;
    right: 0;
}
#calc-modal #order-info .text-danger {
    color: #dc73a5;
    font-size: 12px;
    line-height: 10px;
}
#calc-modal #order-info .order-values {
    font-size: 10px;
    margin-top: 11px;
    margin-bottom: 11px;
    color: #848483;
}
#calc-modal #order-info .order-total strong {
    font-family: 'ENYO SLAB', "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 40px;
    color: #499ce0;
}
#calc-modal #order-info strong.order-total-amount {
    font-size: 45px;
}
#calc-modal #order-info .order-total .order-total-text {
    margin-top: -5px;
    margin-bottom: 6px;
}
#calc-modal #order-info .order-total small {
    font-size: 8px;
}

#calc-modal .order-controls-container {
    margin: 65px auto;
    margin-bottom: 0;
    width: 100%;
    max-width: 238px;
    text-align: center;
}
#calc-modal .order-control-container {
    display: inline-block;
    width: 100%;
    max-width: 230px;
    margin-bottom: 10px;
    position: relative;
}
#calc-modal .order-control-container input.form-control {
    height: 26px;
    font-size: 11px;
    border: none;
    text-align: center;
    box-shadow: 0 4px 17px 6px #dcdcdc;
}
#calc-modal .order-control-container textarea.form-control {
    min-height: 65px;
    font-size: 11px;
    border: none;
    text-align: center;
    box-shadow: 0 4px 17px 6px #dcdcdc;
    max-width: 230px;
    width: 100%;
}
#calc-modal .order-control-container textarea.form-control::-webkit-input-placeholder {
    line-height: 50px;
}
#calc-modal .order-control-container label {
    position: absolute;
    font-size: 10px;
    font-weight: 400;
    width: 90px;
    right: -100px;
    top: 2px;
    line-height: 12px;
    display: block;
    padding-left: 20px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #999999;
}
#calc-modal .order-control-container label input[type=checkbox] {
    margin: 5px 0;
    float: left;
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
#calc-modal .order-control-container label {
    display: block;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#calc-modal .order-control-container label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
#calc-modal .order-control-container label .checkmark {
    position: absolute;
    top: 2px;
    left: 2px;
    height: 11px;
    width: 11px;
    background-color: #fff;
    box-shadow: 0 1px 7px 3px #dcdcdc;
    margin: 4px 0;
}
#calc-modal .order-control-container label input:checked ~ .checkmark {
    background-color: #2196F3;
}
#calc-modal .order-control-container label .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
#calc-modal .order-control-container label input:checked ~ .checkmark:after {
    display: block;
}
#calc-modal .order-control-container label .checkmark:after {
    left: 2px;
    top: 0;
    width: 4px;
    height: 7px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
#calc-modal .order-control-send label {
    position: relative;
    margin: 0 auto;
    width: 188px;
    right: 0;
    margin-bottom: 10px;
}
#calc-modal .order-control-send .btn-cl {
    margin-bottom: 15px;
}
#calc-modal .order-control-send a {
    font-size: 10px;
    text-decoration: underline;
    color: #999;
}
#calc-modal .fileup-file {
    overflow: inherit;
}
#calc-modal .order-success-upload {
    position: absolute;
    top: 15px;
    right: -60px;
    font-size: 29px;
}
@media (max-width:500px){
    #calc-modal .order-control-container label {
        position: relative;
        right: 0;
        margin-top: 5px;
        margin-bottom: 10px;
        width: 100%;
        height: 24px;
        line-height: 24px;
        text-align: left;
    }
    #calc-modal .order-control-container.order-control-send label {
        line-height: 14px;
    }
}

#cover-modal *,
#block-modal *,
#template-modal * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#template-modal b {
    font-size: 16px;
}
.books-container {
    padding-top: 60px;
    text-align: center;
}
.books-container .book-container {
    position: relative;
    width: 150px;
    min-height: 65px;
    display: inline-block;
    text-align: center;
    margin-bottom: 50px;
}
#template-modal .books-description {
    margin-bottom: 35px;
    text-align: center;
    margin-top: -35px;
}
.books-container .book-container .template-download {
    display: inline-block;
    margin-top: 10px;
    text-decoration: underline;
    font-size: 12px;
}

#form-calc * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#form-calc .form-control {
    border-radius: 4px !important;
}
.tooltip-arrow {
     width: 0 !important;
     height: 0 !important;
     background-image: none !important;
     margin-top: 0 !important;
     position: absolute; !important;
}