input[type=checkbox],
input[type=radio] {
/*    position: absolute;*/
    display: none;
/*    overflow: hidden;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
    margin: -1px;*/
    /*padding: 0;
    border: 0;*/
}

input[type=checkbox] + label,
input[type=radio] + label {
    position: relative;
    display: inline-block;
    margin-left: 36px;
    cursor: pointer;
}

input[type=checkbox] + label::before,
input[type=radio] + label::before {
    position: absolute;
    top: 0;
    left: -36px;
    display: block;
    width: 22px;
    height: 22px;
    content: '';
    white-space: nowrap;
    background-position: 0 0;
    background-size: 22px 44px;
}

input[type=checkbox] + label::before {
    background-image: url(images/source/checkbox.svg);
}

input[type=checkbox]:checked + label::before {
    background-position: 0 -22px;
}

/* Grid
 ====================================================================== */
.grid {
    display: -ms-flexbox;
    display: -webkit-flex;
    display:         flex;
    margin: 0;
    padding: 0;
    list-style: none;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.grid::before,
.grid::after {
    display: block;
    overflow: hidden;
    content: '';
}
.grid::after {
    clear: both;
}

.grid > * {
    margin: 0;
    -ms-flex: none;
    -webkit-flex: none;
    flex: none;
}

.grid > * > :last-child {
    margin-bottom: 0;
}

.grid {
    margin-left: -12px;
}
.grid > * {
    padding-left: 12px;
}

.grid-collapse {
    margin-left: 0;
}
.grid-collapse > * {
    padding-left: 0;
}

[class*=width] {
    box-sizing: border-box;
}

.width-1-1 {
    width: 100%;
}

.width-1-2 {
    width: 50%;
}

.width-1-3 {
    width: 33.333%;
}

.width-1-4 {
    width: 25%;
}

.width-2-3,
.width-6-9 {
    width: 66.666%;
}

.width-2-5 {
    width: 40%;
}

.width-3-5 {
    width: 60%;
}

.width-2-9 {
    width: 22.222%;
}

.width-4-9 {
    width: 44.444%;
}

.width-5-9 {
    width: 55.555%;
}

.width-9-10 {
    width: 90%;
}

[class*=push] {
    position: relative;
}

.width-2-5 .width-2-3.push-1-6 {
    left: 23.529%;
}

.width-3-5 .width-2-3.push-1-6 {
    left: 15.384%;
}

.width-6-9.push-1-9 {
    left: 11.111%;
}

.width-9-10.push-1-10 {
    left: 8.888%;
}


/* ========================================
    			synthetic-stone
======================================== */
.synthetic-stone .block.first {
    height: 463px;
    position: relative;
}

.synthetic-stone .block#quartz,
.synthetic-stone .block#acrylic,
.synthetic-stone .block#stone,
.synthetic-stone .block#faq {
    padding-top: 90px;
    margin-top: -45px;
}

.synthetic-stone .block.first::before {
    content: '';
    top: 463px;
    position: absolute;
    height: 153px;
    width: 1002px;
    left: calc(50% - 502px);
    background: url(images/source/kitchen-bg-bottom-blur.png) center top no-repeat;
    background-size: contain;
}

.synthetic-stone .block.quartz h2,
.synthetic-stone .block.acrylic h2,
.synthetic-stone .block.lamination h2,
.synthetic-stone .block.natural-stone h2 {
    margin-bottom: 36px;
}

.synthetic-stone .block.quartz .quartz-crystals {
    text-align: center;
}

.synthetic-stone .block.acrylic .acrylic-crystals {
    text-align: right;
}

.synthetic-stone .block.quartz .quartz-crystals img {
    margin-top: -175px;
}

.synthetic-stone .block.acrylic .acrylic-blocks img {
    width: 563px;
    margin-left: -100px;
    margin-top: -107px;
    margin-bottom: -20px;
}

.synthetic-stone .block.lamination .lamination-blocks img {
    width: 460px;
    margin-top: -115px;
    margin-left: -73px;
}

.synthetic-stone .block.natural-stone .boulder img {
    width: 530px;
    margin-top: -65px;
    margin-left: -121px;
    margin-bottom: -20px;
}

.synthetic-stone .block.quartz .intro,
.synthetic-stone .block.acrylic .intro,
.synthetic-stone .block.lamination .intro,
.synthetic-stone .block.natural-stone .intro {
    font: italic 18px/26px 'GaramondC';
    color: #a82d17;
    margin-top: 10px;
}

.synthetic-stone .block.quartz .features,
.synthetic-stone .block.acrylic .features,
.synthetic-stone .block.lamination .features,
.synthetic-stone .block.natural-stone .features {
    text-align: center;
}

.synthetic-stone .block.quartz .features .name,
.synthetic-stone .block.acrylic .features .name,
.synthetic-stone .block.lamination .features .name,
.synthetic-stone .block.natural-stone .features .name {
    font: italic 18px/26px 'GaramondC';
    position: relative;
    /*padding-top: 150px;*/
    padding-top: 120px;
    margin-bottom: 10px;
}

.synthetic-stone .block.quartz .features .name + p,
.synthetic-stone .block.acrylic .features .name + p,
.synthetic-stone .block.lamination .features .name + p,
.synthetic-stone .block.natural-stone .features .name + p {
    margin-top: 10px;
}

.synthetic-stone .block.quartz .features .name::before,
.synthetic-stone .block.acrylic .features .name::before,
.synthetic-stone .block.lamination .features .name::before,
.synthetic-stone .block.natural-stone .features .name::before {
    position: absolute;
    content: '';
    width: 96px;
    height: 84px;
    left: calc(50% - 48px);
    /*top: 45px;*/
    top: 15px;
    background-position: center;
    background-repeat: no-repeat;
}

.synthetic-stone .block.quartz .features .name.feature-1::before {
    background-image: url(/local/templates/arenastone/images/source/feature-1.png);
}
.synthetic-stone .block.quartz .features .name.feature-2::before {
    background-image: url(/local/templates/arenastone/images/source/feature-2.png);
}
.synthetic-stone .block.quartz .features .name.feature-3::before {
    background-image: url(/local/templates/arenastone/images/source/feature-3.png);
}
.synthetic-stone .block.quartz .features .name.feature-4::before {
    background-image: url(/local/templates/arenastone/images/source/feature-4.png);
}

.synthetic-stone .block.acrylic .features .name.feature-1::before {
    background-image: url(/local/templates/arenastone/images/source/feature-5.png);
}
.synthetic-stone .block.acrylic .features .name.feature-2::before {
    background-image: url(/local/templates/arenastone/images/source/feature-6.png);
}
.synthetic-stone .block.acrylic .features .name.feature-3::before {
    background-image: url(/local/templates/arenastone/images/source/feature-7.png);
}
.synthetic-stone .block.acrylic .features .name.feature-4::before {
    background-image: url(/local/templates/arenastone/images/source/feature-8.png);
}

.synthetic-stone .block.lamination .features .name.feature-1::before {
    background-image: url(/local/templates/arenastone/images/source/feature-9.png);
}
.synthetic-stone .block.lamination .features .name.feature-2::before {
    background-image: url(/local/templates/arenastone/images/source/feature-10.png);
    height: 90px;
    top: 5px;
}
.synthetic-stone .block.lamination .features .name.feature-3::before {
    background-image: url(/local/templates/arenastone/images/source/feature-11.png);
}
.synthetic-stone .block.lamination .features .name.feature-4::before {
    background-image: url(/local/templates/arenastone/images/source/feature-12.png);
}

.synthetic-stone .block.natural-stone .features .name.feature-1::before {
    background-image: url(/local/templates/arenastone/images/source/feature-13.png);
}
.synthetic-stone .block.natural-stone .features .name.feature-2::before {
    background-image: url(/local/templates/arenastone/images/source/feature-14.png);
}
.synthetic-stone .block.natural-stone .features .name.feature-3::before {
    background-image: url(/local/templates/arenastone/images/source/feature-15.png);
}
.synthetic-stone .block.natural-stone .features .name.feature-4::before {
    background-image: url(/local/templates/arenastone/images/source/feature-16.png);
}

.synthetic-stone .block.quartz hr,
.synthetic-stone .block.acrylic hr,
.synthetic-stone .block.lamination hr,
.synthetic-stone .block.natural-stone hr {
    border: 0;
    border-top: 1px solid #ebe9e7;
    margin: 44px 0 27px;
}

.synthetic-stone .block.quartz .button,
.synthetic-stone .block.acrylic .button,
.synthetic-stone .block.lamination .button,
.synthetic-stone .block.natural-stone .button {
    padding: 22px;
    width: 100%;
}

.synthetic-stone .block.quartz .link,
.synthetic-stone .block.acrylic .link,
.synthetic-stone .block.lamination .link,
.synthetic-stone .block.natural-stone .link {
    line-height: 70px;
    white-space: nowrap;
}

.synthetic-stone .block.compare-table {
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
    padding-top: 75px;
}

.synthetic-stone .block.compare-table table {
    width: calc(100% + 20px);
    margin-left: -10px;
    text-align: center;
}

.synthetic-stone .block.compare-table th {
    font-weight: 500;
    padding-top: 30px;
    padding-bottom: 24px;
}

.synthetic-stone .block.compare-table td {
    padding: 27px 26px 25px;
    position: relative;
}

.synthetic-stone .block.compare-table tbody td {
    border-top: 1px solid #e7e7e7;
}

.synthetic-stone .block.compare-table tfoot td {
    padding-top: 4px;
    padding-bottom: 0;
}

.synthetic-stone .block.compare-table td.char {
    font: italic 18px/26px 'GaramondC';
    text-align: left;
    color: #a82d17;
}

.synthetic-stone .block.compare-table td img {
    position: relative;
    z-index: 3;
}

.synthetic-stone .block.compare-table .tip {
    display: none;
    position: absolute;
    top: -10px;
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
    z-index: 2;
    padding: 81px 10px 34px;
    left: 10px;
    right: 10px;
}

.synthetic-stone .block.compare-table td:hover .tip {
    display: block;
}

.synthetic-stone .block.faq h2 {
    margin-top: 22px;
    margin-bottom: 42px;
    color: #a82d17;
}

.synthetic-stone .block.faq .item {
    width: 868px;
    margin: 10px auto;
    background: #fff;
    padding: 46px 62px 44px;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    transition: box-shadow .15s linear;
}

.synthetic-stone .block.faq .item .question {
    font: italic 18px/26px 'GaramondC';
    color: #a82d17;
    transition: color .1s linear;
}

.synthetic-stone .block.faq .item:hover {
    box-shadow: 0 0 4px rgba(0,0,0,.2);
}

.synthetic-stone .block.faq .item:hover .question {
    color: #35b1ff;
}

.synthetic-stone .block.faq .item .answer {
    margin-top: 12px;
    display: none;
}

.synthetic-stone .block.last {
    margin-bottom: 28px;
}

.synthetic-stone .width-1-4 {
    padding-bottom: 45px;
}

.synthetic-stone .right {
    text-align: right;
}


/* ========================================
    			calculator
======================================== */
.calculator .block.first,
.gallery .block.first,
.offers .block.first {
    height: 372px;
    position: relative;
}

.calculator .block.first::before,
.gallery .block.first::before,
.offers .block.first::before {
    content: '';
    top: 372px;
    position: absolute;
    height: 244px;
    width: 1078px;
    left: calc(50% - 539px);
    background: url(images/source/kitchen-bg-big-bottom-blur.png) center top no-repeat;
    background-size: contain;
}

.calculator .block.intro {
    font-size: 18px;
    line-height: 26px;
    padding-bottom: 60px;
}

.calculator .block.calculation {
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
    padding-bottom: 90px;
}

.calculator .block.calculation .subheading {
    text-align: center;
    font: italic 30px/38px 'GaramondC';
    margin-bottom: 34px;
}

.calculator .block.calculation .subheading span {
    color: #a82d17;
    position: relative;
}

.calculator .block.calculation .subheading span::after {
    background-image: url(images/source/chosen.png);
    content: '';
    width: 88px;
    height: 20px;
    position: absolute;
    left: calc(50% - 44px);
    bottom: -20px;
}

.calculator .block.calculation .subheading .link {
    margin-left: 30px;
    padding-left: 6px;
}

.calculator .block.calculation .shape-selector {
    position: relative;
}

.calculator .block.calculation .shape-selector [class*=shape-] {
    position: relative;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-top: 7px;
    padding-bottom: 18px;
    width: 224px;
    margin-left: -10px;
    text-align: center;
    transition: padding .15s linear, background-size .15s linear, background-position .15s linear;
    cursor: pointer;
}

.calculator .block.calculation .shape-selector [class*=shape-]:hover {
    padding-top: 0;
    padding-bottom: 25px;
    background-size: 214px auto;
    background-position: center 80%;
}

.calculator .block.calculation .shape-selector [class*=shape-]::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255,255,255,.0);
    transition: background .15s linear;
}

.calculator .block.calculation .shape-selector [class*=shape-]:hover::before {
    background: rgba(255,255,255,.4);
}

.calculator .block.calculation .shape-selector [class*=shape-] + [class*=shape-] {
    margin-top: 26px;
}

.calculator .block.calculation .shape-selector [class*=shape-] img {
    z-index: 2;
    position: relative;
}

.calculator .block.calculation .shape-selector .shape-1 {
    background-size: 224px 102px;
    background-image: url(images/source/shape-1-shadow.png);
}

.calculator .block.calculation .shape-selector .shape-2 {
    background-size: 224px 136px;
    background-image: url(images/source/shape-2-shadow.png);
}

.calculator .block.calculation .shape-selector .shape-3 {
    background-size: 224px 136px;
    background-image: url(images/source/shape-3-shadow.png);
}

.calculator .block.calculation .shape-selector .shape-4 {
    background-size: 224px 136px;
    background-image: url(images/source/shape-4-shadow.png);
}

/*.calculator .block.calculation .shape-selector [class*=shape-].active::after,*/
.calculator .block.calculation .shape-selector .chosen-indicator {
    content: '';
    position: absolute;
    top: 7px;
    /*bottom: 18px;*/
    height: 82px;
    right: -26px;
    width: 13px;
    background-image: linear-gradient(90deg, #a82d17 4px, #fff 4px), url(images/source/red-triangle-right.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 4px 100%, 13px 26px;
    z-index: 4;
}

.calculator .block.calculation .shape {
    position: relative;
}

.calculator .block.calculation .shape img {
    margin-top: 43px;
    margin-left: -10px;
}

.calculator .block.calculation .shape [class*=dimension-] {
    position: absolute;
}

.calculator .block.calculation .shape [class*=dimension-].horizontal {
    text-align: center;
    padding-top: 3px;
}

.calculator .block.calculation .shape [class*=dimension-].vertical {
    display: flex;
    align-items: center;
}

.calculator .block.calculation .shape [class*=dimension-]::before {
    content: '';
    position: absolute;
    background: rgba(59,44,23,.2);
}

.calculator .block.calculation .shape [class*=dimension-].horizontal::before {
    height: 1px;
    left: 0;
    right: 0;
    top: 14px;
}

.calculator .block.calculation .shape [class*=dimension-].vertical::before {
    width: 1px;
    top: 0;
    bottom: 0;
}

.calculator .block.calculation .shape [class*=dimension-] span,
.calculator .block.calculation .shape [class*=dimension-] input {
    border: none;
    background: #fff;
    position: relative;
    z-index: 2;
    font: italic 18px/26px 'GaramondC';
    color: #35b1ff;
}

.calculator .block.calculation .shape [class*=dimension-] span {
    white-space: nowrap;
    cursor: pointer;
    background-repeat: repeat-x;
    background-position: 0 1.05em;
    position: relative;
    background-size: 2px 1px;
    background-image: linear-gradient(90deg, rgba(52, 177, 255, 1), rgba(52, 177, 255, 1) 50%, transparent 50%);
}

.calculator .block.calculation .shape [class*=dimension-] input {
    display: none;
}

.calculator .block.calculation .shape [class*=dimension-] input:focus {
    outline: none;
    color: #3b2c17;
}

.calculator .block.calculation .shape [class*=dimension-].horizontal span,
.calculator .block.calculation .shape [class*=dimension-].horizontal input {
    text-align: center;
}

.calculator .block.calculation .shape [class*=dimension-].horizontal span {
    width: 96px;
}

.calculator .block.calculation .shape [class*=dimension-].vertical span,
.calculator .block.calculation .shape [class*=dimension-].vertical input {
    height: 36px;
    line-height: 36px;
}

.calculator .block.calculation .shape [class*=dimension-].vertical span {
    background-position: 0 1.5em;
    /*display: inline;*/
}

.calculator .block.calculation .shape [class*=dimension-].horizontal span::before {
    content: '';
    position: absolute;
    left: -18px;
    right: -18px;
    background: #fff;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.calculator .block.calculation .shape [class*=dimension-].horizontal input {
    width: 96px;
}

.calculator .block.calculation .shape .dimension-1-1,
.calculator .block.calculation .shape .dimension-2-1,
.calculator .block.calculation .shape .dimension-3-1,
.calculator .block.calculation .shape .dimension-4-1 {
    top: 0;
    left: 0;
    right: 96px;
}

.calculator .block.calculation .shape .dimension-1-2,
.calculator .block.calculation .shape .dimension-2-2,
.calculator .block.calculation .shape .dimension-3-2,
.calculator .block.calculation .shape .dimension-4-2 {
    top: 45px;
    bottom: 17px;
    left: 567px;
}

.calculator .block.calculation .shape .dimension-2-2,
.calculator .block.calculation .shape .dimension-3-4 {
    bottom: 107px;
}

.calculator .block.calculation .shape .dimension-1-2::before,
.calculator .block.calculation .shape .dimension-2-2::before,
.calculator .block.calculation .shape .dimension-3-2::before,
.calculator .block.calculation .shape .dimension-4-2::before {
    left: 3px;
}

.calculator .block.calculation .shape .dimension-2-3,
.calculator .block.calculation .shape .dimension-3-3,
.calculator .block.calculation .shape .dimension-4-3,
.calculator .block.calculation .shape .dimension-4-5 {
    top: 363px;
    width: 213px;
}

.calculator .block.calculation .shape .dimension-2-3,
.calculator .block.calculation .shape .dimension-4-5 {
    left: 0;
}

.calculator .block.calculation .shape .dimension-2-4,
.calculator .block.calculation .shape .dimension-3-4,
.calculator .block.calculation .shape .dimension-4-6 {
    top: 45px;
    bottom: 17px;
    left: -25px;
}

.calculator .block.calculation .shape .dimension-2-4 span,
.calculator .block.calculation .shape .dimension-2-4 input,
.calculator .block.calculation .shape .dimension-3-4 span,
.calculator .block.calculation .shape .dimension-3-4 input,
.calculator .block.calculation .shape .dimension-4-6 span,
.calculator .block.calculation .shape .dimension-4-6 input {
    transform: translateX(-100%);
}

.calculator .block.calculation .shape .dimension-2-4 input,
.calculator .block.calculation .shape .dimension-3-4 input {
    width: 60px;
    text-align: right;
}

.calculator .block.calculation .shape .dimension-2-4::before,
.calculator .block.calculation .shape .dimension-3-4::before,
.calculator .block.calculation .shape .dimension-4-6::before {
    left: -6px;
}

.calculator .block.calculation .shape .dimension-3-3,
.calculator .block.calculation .shape .dimension-4-3 {
    right: 96px;
}

.calculator .block.calculation .shape .dimension-3-4 {
    bottom: 107px;
}

.calculator .block.calculation .shape .dimension-4-4 {
    top: 259px;
    bottom: 17px;
    left: 243px;
}


.calculator .block.calculation hr {
    border: 0;
    border-top: 1px solid rgba(59,44,23,.1);
    margin: 35px 0;
}

.calculator .block.calculation .js-tab + hr {
    margin-top: 67px;
}

.calculator .block.calculation .profile + hr {
    margin-top: 0;
}

.calculator .block.calculation .features .title,
.calculator .block.calculation .sink .title,
.calculator .block.calculation .profile .title,
.calculator .block.calculation .material .title,
.calculator .block.calculation .summ .title,
.calculator .block.calculation .call .title {
    font: italic 18px/26px 'GaramondC';
    margin-bottom: 30px;
}

.calculator .block.calculation .features label {
    font-size: 18px;
    line-height: 22px;
}

.calculator .block.calculation .features label ~ label {
    margin-top: 30px;
}

.calculator .block.calculation .features .tooltip {
    position: relative;
    display: inline-block;
}

.calculator .block.calculation .features .tooltip span {
    font-size: 12px;
    font-weight: 500;
    color: #a82d17;
    position: relative;
    top: -5px;
    left: 4px;
    cursor: pointer;
}

.calculator .block.calculation .features .tooltip .tooltip-window {
    display: none;
    position: absolute;
    top: -11px;
    right: -19px;
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
    padding: 16px 39px 14px 21px;
    width: 217px;
    box-sizing: border-box;
    line-height: 1.2;
}

.calculator .block.calculation .features .tooltip.active .tooltip-window {
    display: block;
}

.calculator .block.calculation .features .description {
    color: #3b2c17;
    opacity: .5;
    padding: 5px 36px;
}

/*.calculator .block.calculation .profile {
    padding: 0 44px;

}*/

.calculator .block.calculation .sink {
    display: none;
}

.calculator .block.calculation .profile .sinks-wrap,
.calculator .block.calculation .profile .profiles-wrap {
   /* display: flex;
    justify-content: space-between;*/
    position: relative;
}

.calculator .block.calculation .sink [class*=sink-],
.calculator .block.calculation .profile [class*=profile-] {
    cursor: pointer;
    display: inline-block;
    width: 189px;
    margin-bottom: 20px;
    text-align: center;
    padding: 25px 10px 10px;
    border-bottom: 4px solid transparent;
}

.calculator .block.calculation .sink [class*=sink-].active,
.calculator .block.calculation .profile [class*=profile-].active {
    background: #fcf8f8;
    border-bottom: 4px solid #a82d17;
}

.calculator .block.calculation .sink [class*=sink-] .number,
.calculator .block.calculation .profile [class*=profile-] .number {
    margin-top: 15px;
}

.calculator .block.calculation .sink [class*=sink-].active .number,
.calculator .block.calculation .profile [class*=profile-].active .number {
    color: #a82d17;
}

.calculator .block.calculation .profile .chosen-indicator {
    content: '';
    position: absolute;
    bottom: -34px;
    left: -14px;
    height: 4px;
    width: 130px;
    background: #a82d17;
    z-index: 4;
    display: none;
}

.calculator .block.calculation .material {
    position: relative;
    padding-bottom: 0!important;
}

.calculator .block.calculation .material .selected-material {
    display: flex;
}

.calculator .block.calculation .material .selected-material .material-preview {
    display: block;
    width: 128px;
    height: 128px;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    margin-right: 24px;
    position: relative;
}

.calculator .block.calculation .material .selected-material .material-preview::before,
.calculator .block.calculation .material .material-slider .material-preview::before {
    position: absolute;
    content: '';
    width: 22px;
    height: 25px;
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
    left: 10px;
}
.calculator .block.calculation .material .material-slider .material-preview::before {
    width: 18px;
    height: 20px;
}

.calculator .block.calculation .material .selected-material .material-preview.acrylic::before,
.calculator .block.calculation .material .material-slider .material-preview.acrylic::before {
    background-image: url(images/source/material-acrylic.svg);
    top: 11px;
}

.calculator .block.calculation .material .selected-material .material-preview.quartz::before,
.calculator .block.calculation .material .material-slider .material-preview.quartz::before {
    background-image: url(images/source/material-quartz.svg);
    top: 8px;
}

.calculator .block.calculation .material .selected-material .material-preview.stone::before,
.calculator .block.calculation .material .material-slider .material-preview.stone::before {
    background-image: url(images/source/material-stone.svg);
    top: 9px;
}

.calculator .block.calculation .material .selected-material .info {
    width: calc(100% - 152px);
}

.calculator .block.calculation .material .selected-material .info .name {
    font: italic 16px/26px 'GaramondC';
    margin-bottom: 8px;
}

.calculator .block.calculation .material .selected-material .info .name span {
    font-size: 22px;
    margin-right: 2px;
}

.calculator .block.calculation .material .selected-material .info .type {
    font: italic 16px/26px 'GaramondC';
    position: relative;
    margin-bottom: 36px;
}

.calculator .block.calculation .material .selected-material .info .type.acrylic {
    margin-left: 30px;
}
.calculator .block.calculation .material .selected-material .info .type.quartz {
    margin-left: 23px;
}
.calculator .block.calculation .material .selected-material .info .type.stone {
    margin-left: 27px;
}

.calculator .block.calculation .material .selected-material .info .type::before {
    position: absolute;
    content: '';
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
}

.calculator .block.calculation .material .selected-material .info .type.acrylic::before {
    background-image: url(images/source/material-acrylic-dark.svg);
    top: 5px;
    left: -30px;
    width: 22px;
    height: 15px;
}
.calculator .block.calculation .material .selected-material .info .type.quartz::before {
    background-image: url(images/source/material-quartz-dark.svg);
    top: 1px;
    left: -23px;
    width: 15px;
    height: 23px;
}
.calculator .block.calculation .material .selected-material .info .type.stone::before {
    background-image: url(images/source/material-stone-dark.svg);
    top: 4px;
    left: -27px;
    width: 19px;
    height: 16px;
}

.calculator .block.calculation .material .selected-material .info .flex {
    display: flex;
    justify-content: space-between;
}

.calculator .block.calculation .material .selected-material .info .price {
    font: italic 16px/26px 'GaramondC';
}

.calculator .block.calculation .material .selected-material .info .price .number {
    font-size: 26px;
    color: #a82d17;
}

.calculator .block.calculation .material .selected-material .info .choose-material {
    font: italic 18px/32px 'GaramondC';
}

.calculator .block.calculation .material .material-slider {
    background: #fff;
    /*box-shadow: 0 0 3px rgba(0,0,0,.1);
    position: absolute;
    left: -16px;
    right: -16px;
    top: 210px;
    padding: 24px 16px;*/
    top: 30px;
    padding: 24px 16px;
    margin: 0 -16px;
    position: relative;
    display: none;
}

.calculator .block.calculation .material .shadow-area {
    z-index: 0;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
    position: absolute;
    left: -12px;
    right: -12px;
    top: 210px;
    height: 176px;
    display: none;
}

/*.calculator .block.calculation .material .material-slider::before,*/
/*.calculator .block.calculation .material .material-slider .safe {
    position: absolute;
    content: '';
    left: -15px;
    right: -15px;
    top: 0;
    bottom: 0;
    background: #fff;
    z-index: 1;
}*/

.calculator .block.calculation .material .material-slider .close {
    position: absolute;
    width: 10px;
    height: 10px;
    background: url(images/source/close-icon.svg) center no-repeat;
    background-size: cover;
    top: 10px;
    right: 16px;
    z-index: 2;
    cursor: pointer;
}

.calculator .block.calculation .material .material-slider .js-caption {
    font: italic 16px/26px 'GaramondC';
    display: inline-block;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.calculator .block.calculation .material .material-slider .js-caption + .js-caption {
    margin-left: 40px
}

.calculator .block.calculation .material .material-slider .js-caption.active {
    border-bottom: 4px solid #a82d17;
}

.calculator .block.calculation .material .material-slider .js-tab {
    margin-top: 34px;
    /*display: block;*/
}

.calculator .block.calculation .material .material-slider .js-tab .owl-stage {
    width: 100% !important;
}

.calculator .block.calculation .material .material-slider .js-tab.owl-carousel .owl-item {
    float: none;
    display: inline-block;
}

.calculator .block.calculation .material .material-slider .js-tab .material-preview {
    display: block;
    width: 64px;
    height: 64px;
    background-position: center;
    background-size: cover;
    border-radius: 5px;
    position: relative;
}

.calculator .block.calculation .material .material-slider .js-tab .chosen .material-preview {
    box-shadow: inset 0 0 0 3px #a82d17;
}


.calculator .block.calculation .summ .price {
    font: italic 18px/26px 'GaramondC';
}

.calculator .block.calculation .summ .price .count {
    font-size: 42px;
    color: #a82d17;
}

.calculator .block.calculation .call form {
    width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.calculator .block.calculation .call form input + input,
.calculator .block.calculation .call form input + .grid,
.calculator .block.calculation .call form .grid + input,
.calculator .block.calculation .call form input + textarea {
    margin-top: 10px;
}

.calculator .block.calculation .call .form .btn-wrap {
    margin-top: 0;
}
.calculator .block.calculation .call form .button {
    display: block;
}

.calculator .block.calculation .call form .input-datepicker {
    background-image: url(images/source/calendar-icon.png);
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) center;
}

.calculator  .form.calc .grid {
    margin-bottom: 20px;
}

.calculator .popup.result .text {
    text-align: center;
    margin-bottom: 0;
}

.calculator .popup.result .more {
    background: url(images/source/another-progects.png);
    background-size: cover;
    margin: 40px -50px -40px -50px;
    width: 550px;
    height: 30px;
    padding: 100px 0;
}

.calculator .popup.result .more .link {
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .3) 100%);
    color: rgba(255, 255, 255, 1);
    font-family: 'GaramondC';
    font-style: italic;
}

.ms-ctn {
    /*display: inline-block;*/
    height: 49px;
    padding-right: 0;
    margin-top: 11px;
}

.ms-ctn .ms-trigger,
.ms-ctn .ms-trigger:hover {
    width: inherit;
    top: 0;
    left: 0;
    border: none;
    height: auto;
    display: inline-block;
    font-size: 18px;
    text-decoration: none;
    color: #a82d17;
    transition: color .1s linear;
    position: relative;
    outline: none;
    background: transparent linear-gradient(90deg, #a82d17, #a82d17 50%, transparent 50%) 0 1.33em repeat-x;
    background-size: 2px 1px;
}

.ms-ctn .ms-trigger.plus {
    top: -2px;
    left: -13px;
    width: 34px;
    height: 34px;
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
}

.ms-ctn .ms-trigger.plus::before,
.ms-ctn .ms-trigger.plus::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: #3b2c17;
}

.ms-ctn .ms-trigger.plus::before {
    width: 2px;
    height: 12px;
}

.ms-ctn .ms-trigger.plus::after {
    width: 12px;
    height: 2px;
}

.ms-ctn .ms-trigger:hover {
    opacity: .8;
}

.ms-ctn .ms-sel-ctn {
    float: left;
    overflow: visible;
    margin-top: -11px;
}

.ms-ctn .ms-res-ctn {
    width: auto;
    position: absolute;
    z-index: 89;
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
    overflow: hidden;
    top: -9px;
    left: -3px;
}

.ms-ctn.plussed .ms-res-ctn {
    left: inherit;
    right: 0;
    transform: translateX(100%) translateX(-60px);
}

.ms-ctn .ms-res-ctn .ms-res-item {
    font-size: 18px;
    white-space: nowrap;
    padding: 16px 20px;
}

.ms-ctn .ms-res-ctn .ms-res-item.ms-res-item-active {
    background: transparent;
    color: #a82d17;
}

.ms-ctn .ms-sel-item {
    background: #fff;
    box-shadow: 0 0 3px rgba(0,0,0,.1);
    color: #a82d17;
    font-size: 18px;
    padding: 16px 15px 16px 20px;
    border: 0;
    border-radius: 0;
    margin: 0 0 0 10px;
}

#work-select2.ms-ctn .ms-sel-item{
    float: none;
}

.ms-ctn .ms-sel-item:hover {
    border: 0;
}

.ms-sel-ctn .ms-sel-item .ms-close-btn {
    width: 10px;
    height: 10px;
    margin: 4px 0 0 10px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCAyMCI+PHN0eWxlPi5zMXtvcGFjaXR5Oi4xO2ZpbGw6IzNCMkMxN30gLnMye2ZpbGw6I0E4MkQxN308L3N0eWxlPjxwYXRoIGNsYXNzPSJzMSIgZD0iTTkuOSAxMS41bC0xLjQtMS40TDUgMTMuNmwtMy41LTMuNS0xLjQgMS40IDMuNSAzLjYtMy41IDMuNUwxLjUgMjAgNSAxNi41IDguNSAyMGwxLjQtMS40LTMuNS0zLjV6Ii8+PHBhdGggY2xhc3M9InMyIiBkPSJNOS45IDEuNUw4LjUuMSA1IDMuNiAxLjUuMS4xIDEuNSAzLjYgNSAuMSA4LjVsMS40IDEuNEw1IDYuNGwzLjUgMy41IDEuNC0xLjRMNi40IDV6Ii8+PC9zdmc+);
    background-position: 0 -10px;
    background-size: 10px 20px;
}

/* ========================================
    			gallery
======================================== */

.gallery .intro h2 {
    margin-bottom: 12px;
}

.gallery .filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery .filter .nowrap {
    display: flex;
}

.gallery .filter span {
    font-size: 18px;
    line-height: 60px;
}

.gallery .works {
    padding-top: 0;
}

.gallery .works .width-1-3 {
    margin-bottom: 12px;
    text-decoration: none;
}

.gallery .works .preview {
    width: 100%;
    height: 262px;
    background-position: center;
    background-size: cover;
    margin-top: -6px;
}

.gallery .works .caption {
    width: 312px;
    height: 50px;
/*  background: #fff; */
    text-align: center;
    line-height: 20px;
/*  color:#361e1a;*/
z-index: 10;
position: inherit;
/*background: linear-gradient(45deg, #515151, #8A8A8A);*/
background-image: url(/bitrix/images/bg-fon-gal.jpg);
    color: #fff;
    vertical-align: middle !important;
display: table-cell;
padding: 0px 10px;
}


.gallery .works .caption:hover {
  background: #a82d17 !important;

}

.gal-btns {

    width: 100%;
    height: 50px;
   display: block;
position: relative;
padding-bottom:20px;
}

.gal-btn1 {
background:linear-gradient(45deg, #8e8e8e, #B9B9B9);
color:#fff;
width:50%;
height:100%;
display: inline-block;
margin-right: -2px;
line-height: 46px;
text-align: center;
text-decoration: none;
}


.gal-btn1:hover{

background:#a82d17;

}



.gal-btn2 {
background:linear-gradient(45deg, #8e8e8e, #B9B9B9);
color:#fff;
width:50%;
height:100%;
display: inline-block;
border-left: 2px dotted #fff;
line-height: 46px;
text-align: center;
text-decoration: none;
}

.gal-btn2:hover {
background:#a82d17;
}


/*
.gallery .works .width-1-3:hover .caption {
    background: #a82d17 !important;

}
*/
.gallery .more-wrap {
    margin-top: 30px;
}

.gallery .grid.js-loading::after {
    top: 130px;
}

.gallery .grid .i::before {
    top: 15px;
    left: 27px;
}

/*=*/
.gallery .work {
    padding-top: 0;
}

.gallery .big-image {
    width: 100%;
    height: 640px;
}

.gallery .info-wrap {
    display: flex;
    position: relative;
}

.gallery .info-wrap .image {
    width: 20%;
    margin-left: 13.25%;

    height: 260px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.gallery .info-wrap .info {
    width: 66.25%;
    margin-left: 2.5%;
}

.gallery .info-wrap .caption {
    font: italic 18px/1.44 'GaramondC', sans-serif;
    margin-bottom: 10px;
    margin-top: 50px;
}

.gallery .info-wrap .text-block {
    width: 73%;
    margin-bottom: 30px;
}

.gallery .info-wrap .links .link {
    margin-top: 10px;
}


.gallery .info-wrap .details {
    margin-right: 20px;
}
.gallery .info-wrap .order {
    font: italic 700 17px/1.44 'GaramondC', sans-serif;
    white-space: nowrap;
}

.gallery .back.link {
    position: absolute;
    font-size: 16px;
    line-height: 1.44;
    left: 25px;
    background-position: 0 85%;
}

.gallery .back.link::before {
    width: 12px;
    height: 12px;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
}

.gallery .info-wrap .back.link {
    top: 63px;
}

.gallery .intro.block .h2 {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.gallery .intro.block .back.link {
    top: 45%;
    transform: translateY(-12px);
}