/*#form input {
    color: #464646;
    font-family: "ALSSchlange";
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #ebebeb;
    background-color: #fff;
    width: 100%;
    padding: 11.5px 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}*/
.btn-calc-link {
    font-weight: 700;
    color: #ba2c2b !important;
    border-bottom: 1px dashed;
    cursor: pointer;
    display: inline-block;
}

.btn-prodject-other {
    margin-left: 15px;
}

.clearfix {
    clear: both;
}

.select2-container--default .select2-selection {
    height: 45px;
    border-radius: 0px;
}

.select2-container--default .select2-selection__rendered {
    padding: 13px 50px 13px 20px;
}

.select2-container--default .select2-selection__rendered {
    /*line-height: 42px !important;
    padding-left: 17px !important;
    color: #595959 !important;*/
}

.select2-container--default .select2-selection__arrow {
    height: 42px !important;
}

select.select2 {
    height: 45px;
    width: 100%;
    padding-left: 13px;
    color: #595959 !important;
}

.page-calc {
    font-size: 14px;
}

.page-calc .row {
    display: block;
}

.page-calc .item .row {
    display: flex;
}

.page-calc .hide-box,
.page-calc .form-result {
    display: none;
}

.page-calc .hide-box {
    display: none;
}

.materialSelector {
    background-color: white;
    height: 45px;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 15px;
    color: #595959;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAICAMAAAARDVXAAAAAVFBMVEUAAAAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKiogbBXtAAAAHHRSTlMAEOTOxfLaizQgGAsH7erd0sG6tK6mn5lDPisogRhEvwAAAEhJREFUCNdtykcOgDAQBMHZ4Gxyhv//E1nCcKFuLTXY4eUssJut5moOAL5Zcqk8tx7FyVMC0sjX84VuIFIbUMVeRCI+pEr4dQORYAHUUIFYvQAAAABJRU5ErkJggg==") calc(100% - 20px) 20px no-repeat;
}

.form-calc {
    font-weight: bold;
    margin-top: 15px;
}

.form-calc label {
    padding-bottom: 10px;
    display: block;
}

.form-calc label a {
    border-bottom: 1px solid #dddcdc;
    text-decoration: none;
    font-weight: bold;
}

.form-calc .row > div {
    margin-bottom: 10px;
}

.form-calc input[type = text],
.form-calc input[type = tel],
.form-calc select {
    background-color: white;
    height: 45px;
    width: 100%;
    padding-left: 15px;
    color: #595959;
    border: solid 1px #a9a9a9;
}

.form-result {
    margin-top: 20px;
}

.form-result .page-calc .item {
    border-top: solid 1px #a9a9a9;
}

.form-result .result-title {
    font-size: 22px;
    padding: 10px 0px;
    font-weight: bold;
}

.form-result table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.form-result table:not(.gridlines) td {
    border: solid 1px #a9a9a9;
    padding: 5px;
}

.form-result table td.border-hide {
    border: none;
}

.form-result .col-sm-12 {
    padding-bottom: 15px;
}

.form-result .cloth-title {
    font-size: 22px;
    padding: 0 5px;
    margin-bottom: 10px;
}

.form-result .cloth-title span {
    font-weight: bold;
}

.form-result .js-result-props {
    border-top: 1px solid #a9a9a9;
}

@media screen and (max-width: 500px) {
    .btn-red,
    .btn-red-border {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
}

/*FIX FOR MAIN PAGE CALC*/
@media screen and (max-width: 728px) {
    .main-page-button .btn-red,
    .main-page-button .btn-red-border {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
}

@media screen and (max-width: 442px) {
    .form-result table:not(.gridlines) td {
        display: table-cell;
    }

    .form-result table:not(.gridlines) td:last-child {
        border-bottom: solid 1px #a9a9a9;
    }
}

.form-calc .calc-free,
.form-calc .calc-index,
.form-calc .calc-drum {
    cursor: pointer;
}

.form-calc .calc-free .calc-bg,
.form-calc .calc-drum .calc-bg,
.form-calc .calc-french .calc-bg,
.form-calc .calc-index .calc-bg {
    width: 100%;
    height: 300px;
    cursor: pointer;
}

.form-calc .calc-bg-title {
    text-align: center;
    margin: 10px;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
}

.form-calc .calc-type-name {
    text-align: center;
}

.form-calc .calc-index .calc-bg {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-free .calc-bg {
    background: url('img/free.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.form-calc .calc-drum .calc-bg {
    background: url('img/drum.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.form-calc .calc-french .calc-bg {
    background: url('img/french.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.form-calc .calc-mattress .calc-bg {
    background: url('/local/components/dev/calc/templates/.default/img/mattress.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

.form-calc .calc-index .calc-bg-backrest.free {
    background-image: url('img/free-backrest.jpg');
}

.form-calc .calc-index .calc-bg-backrest-short-without.free {
    background-image: url('img/free-backrest_without.jpg');
}

.form-calc .calc-index .calc-bg-backrest-short-with.free {
    background-image: url('img/free-backrest_with.jpg');
}

.form-calc .calc-index .calc-bg-angular.free {
    background-image: url('img/free-angular.jpg');
}

.form-calc .calc-index .calc-bg-corner.free {
    background-image: url('img/free-corner.jpg');
}

.form-calc .calc-index .calc-bg-corner-attached.free {
    background-image: url('img/free-corner_attached.jpg');
}

.form-calc .calc-index .calc-bg-shaped.free {
    background-image: url('img/free-shaped.jpg');
}

.form-calc .calc-index .calc-bg-puff.free {
    background-image: url('img/free-puff.jpg');
}

.form-calc .calc-index .calc-bg-backrest.drum {
    background-image: url('img/drum-backrest.jpg');
}

.form-calc .calc-index .calc-bg-backrest-short-without.drum {
    background-image: url('img/drum-backrest_without.jpg');
}

.form-calc .calc-index .calc-bg-backrest-short-with.drum {
    background-image: url('img/drum-backrest_with.jpg');
}

.form-calc .calc-index .calc-bg-angular.drum {
    background-image: url('img/drum-angular.jpg');
}

.form-calc .calc-index .calc-bg-corner.drum {
    background-image: url('img/drum-corner.jpg');
}

.form-calc .calc-index .calc-bg-corner-attached.drum {
    background-image: url('img/drum-corner_attached.jpg');
}

.form-calc .calc-index .calc-bg-shaped.drum {
    background-image: url('img/drum-shaped.jpg');
}

.form-calc .calc-index .calc-bg-puff.drum {
    background-image: url('img/drum-puff.jpg');
}

.form-calc .calc-index .calc-bg-editor {
    background: url('img/editor.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-update {
    background: url('img/update_price_2.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-basket {
    background: url('img/custom_basket_item.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-configurator {
    background: url('img/sofa_configurator.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-create {
    background: url('img/add.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-pricelist {
    background: url('img/pricelist.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-settings {
    background: url('img/price_edit.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-dealer {
    background: url('img/dealer_add.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-index .calc-bg-french_child {
    background-image: url('img/french_child.jpg');
}

.form-calc .calc-index .calc-bg-french_slim {
    background-image: url('img/french_slim.jpg');
}

.form-calc .calc-index .calc-bg-french_single {
    background-image: url('img/french_single.jpg');
}

.form-calc .calc-index .calc-bg-french_double {
    background-image: url('img/french_double.jpg');
}

.form-calc .calc-index .calc-bg-french_triple {
    background-image: url('img/french_triple.jpg');
}

.form-calc .calc-index .calc-bg-french_pouf {
    background-image: url('img/french_pouf.jpg');
}

.form-calc .calc-index .calc-bg-french_corner {
    background-image: url('img/french_corner.jpg');
}

.form-calc .calc-drum-selected,
.form-calc .calc-free-selected,
.form-calc .calc-quad-selected {
    width: 100%;
    height: 300px;
}

/*PICTURES*/

.form-calc .calc-bg-french_child-selected {
    background: url('img/french_child.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-bg-french_slim-selected {
    background: url('img/french_slim.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-bg-french_single-selected {
    background: url('img/french_single.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-bg-french_double-selected {
    background: url('img/french_double.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-bg-french_triple-selected {
    background: url('img/french_triple.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-bg-french_pouf-selected {
    background: url('img/french_pouf.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-bg-french_corner-selected {
    background: url('img/french_corner.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-bg-french_triple-selected {
    background: url('img/french_triple.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.backrest .form-calc .calc-drum-selected {
    background: url('img/drum-backrest.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.backrest .form-calc .calc-free-selected {
    background: url('img/free-backrest.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.backrest .form-calc .calc-quad-selected {
    background: url('img/quad-backrest.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.angular .form-calc .calc-drum-selected {
    background: url('img/drum-angular.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.angular .form-calc .calc-free-selected {
    background: url('img/free-angular.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.angular .form-calc .calc-quad-selected {
    background: url('img/quad-angular.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.corner .form-calc .calc-drum-selected {
    background: url('img/drum-corner.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.corner .form-calc .calc-free-selected {
    background: url('img/free-corner.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.corner_attached .form-calc .calc-drum-selected {
    background: url('img/drum-corner_attached.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.corner_attached .form-calc .calc-free-selected {
    background: url('img/free-corner_attached.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.puff .form-calc .calc-drum-selected {
    background: url('img/drum-puff.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.puff .form-calc .calc-free-selected {
    background: url('img/free-puff.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.puff .form-calc .calc-quad-selected {
    background: url('img/quad-puff.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.shaped .form-calc .calc-drum-selected {
    background: url('img/drum-shaped.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.shaped .form-calc .calc-free-selected {
    background: url('img/free-shaped.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.backrest-short-without .form-calc .calc-free-selected {
    background: url('img/free-backrest_without.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.backrest-short-without .form-calc .calc-drum-selected {
    background: url('img/drum-backrest_without.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.backrest-short-with .form-calc .calc-free-selected {
    background: url('img/free-backrest_with.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.backrest-short-with .form-calc .calc-drum-selected {
    background: url('img/drum-backrest_with.jpg');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

.form-calc .calc-menu:hover {
    outline: solid 3px #b6262c;
}

.form-calc .hide {
    display: none;
}

.btn-prodject-all[disabled] {
    display: none;
}

@media screen and (min-width: 501px) {
    .btn-prodject-all, .js-select-project.js-all {
        margin-left: 10px;
    }
}

@media screen and (min-width: 728px) {
    .main-page-button-left {
        margin-left: 10px;
    }
}

input[type="text"]:disabled {
    background: #eee;
    cursor: not-allowed;
}

.drawing {
    margin-bottom: 10px;
}

.item .js-save {
    margin-bottom: 30px;
}

#success_modal .modalBody {
    text-align: center;
}

.ml-15 {
    margin-left: 15px;
}

.mr-15 {
    margin-right: 15px;
}

.js-drawing-module .fotorama__html {
    display: flex;
    align-items: center;
    justify-content: center;
}

.js-drawing-module .fotorama__dot {
    border: 1px solid #ba2c2b;
}

@media screen and (max-width: 1200px) {
    .page-calc .calc-slider {
        width: 500px;
    }
}

@media screen and (max-width: 442px) {
    table td {
        display: table-cell !important;
    }
}

.js-editor-saving.saving {
    position: fixed;
    left: 0;
    top: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

#modalError .js-error-text {
    padding: 35px 20px 20px;
    font-size: 18px;
}

.calc-form-group {
    margin-bottom: 10px;
    width: 100%;
}

.calc-form-label {
    font-weight: bold;
}

.calc-form-input {
    background-color: white;
    padding: 9px 15px;
    width: 100%;
    color: #595959;
    border: solid 1px #a9a9a9;
    margin-bottom: 5px;
}

.calc-form-actions {
    text-align: right;
}

.calc-menu {
    margin-bottom: 15px;
}

.calc-menu__title {
    font-size: 20px;
    font-weight: 500;
    border-bottom: 1px solid #a8a8a8;
    margin-bottom: 15px;
}

.calc-menu__items {
    display: flex;
    flex-wrap: wrap;
}

.calc-menu__item {
    flex: 0 0 245px;
}

.calc-menu__item a {
    display: block;
}

.calc-menu__item a:hover {
    outline: solid 3px #b6262c;
}

.calc-menu__item:not(:last-child) {
    margin-right: 10px;
}

.form-calc .calc-menu__items .calc-bg {
    height: 175px !important;
}

.form-calc .calc-menu__items .calc-bg-title {
    text-align: center;
    margin: 5px;
    padding: 5px;
    font-size: 18px;
    font-weight: bold;
}


.api-tests {
    margin-top: 20px;
}

.api-tests__title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.api-tests__subtitle {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.api-tests__result {
    padding: 10px;
    background: #2d2d2d;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: auto;
    font-size: 14px;
}

.api-tests__result .content-container {
    color: #000;
}

.modalSearch {
    margin-bottom: 20px;
}

.modalSearch label {
    display: block;
    font-weight: bold;
    padding-bottom: 5px
}

.modalSearch input {
    background-color: white;
    height: 45px;
    width: 100%;
    padding-left: 15px;
    color: #595959;
    border: solid 1px #a9a9a9;
}

.modalSearchInput {
    position: relative;
}

.modalSearchInput:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    z-index: 1;
    background: no-repeat center/100% #fff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYCAMAAAA4a6b0AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAbFBMVEUAAACTl5uUmJ2TlZ6TlpyVlZqTlp6SlZ2TlpyTl5yTlp2Xl5eTlZ2Slp2Slp6SlZ2Slp6Tk5uXl5+Pj5+Pj5+Tlp6Ul52Pj5eSlp2SlZ2VmpqUlJ6PlZqUlpyfn5+Pk5uRmJ6Tl52Tlp3///9m5WViAAAAInRSTlMAQI+/UDDf78+/3yDv3z9g30AgECDPnyCPnzBPMF8QQE9//BNMaAAAAAFiS0dEIypibDoAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfnAx4RGCJ6bMscAAAAl0lEQVQoz72Q2xKDIAxEo1gsNqgVELT3/P9HltoL0bav7gtZzuxsJgBrK8uFyIvv/42kcqtKqnbLAOr68TYt7megk9o8J+twlurJv0eLgRMc0hyQgZEOyTR0ZP1U/zEjnZIpeAZ4a897Yutn1Y4GTiy6FzpL7TmJN6imqkwS75xSLaFwSPrilgiuQakQFzaOPPyWuRlYUXfbswf2zGYEgAAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0xMC0wN1QxNDowMToyNSswMDowMBg7pEUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDktMTJUMTU6MTg6MzQrMDA6MDClbYqSAAAAKHRFWHRkYXRlOnRpbWVzdGFtcAAyMDIzLTAzLTMwVDE3OjI0OjM0KzAwOjAwKFtSmQAAAABJRU5ErkJggg==);
}

.calcAlert {
    color: #ff8c00;
    font-weight: 600;
    line-height: 16px;
    font-size: 12px;
    margin-top: 8px;
}