@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.calculator_container {
    width: 1400px;
}
.calculator_additional_text {
    max-width: 1400px;
    margin: 50px auto 90px;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #000000;
}
.calculator_result {
    background: #FFC107;
    border: 1px solid #E9E9E9;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
    border-radius: 32px;
    max-width: 1400px;
    margin: -60px auto 0;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;

    padding: 120px 60px 40px;
}
.calculator_r_title{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 28px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 13px;
}
.calculator_r_text{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 23px;
    color: #000000;
}
.calculator_r_info{
    max-width: 530px;
}
.cr_price{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    color: #000000;
}
.cr_btn{
    background: #08457E;
    box-shadow: 0px 14px 16px -13px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    color: #FFFFFF;
    line-height: 64px;
    border: none;
    min-width: 220px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    cursor: pointer;
}
.calculator_body {
    background: #FFFFFF;
    border: 1px solid #E9E9E9;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
    border-radius: 32px;
    max-width: 1400px;
    margin: 60px auto 0;
    padding: 60px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;

    display: flex;
}
.calculator_left{
    margin-right: 120px;
}

.calculator_title h2 {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 38px;
    text-transform: uppercase;

    color: #000000;
    margin: 0 0 35px !important;
}
.calculator_title h2 span {
    color: #08457e;
}

.calculator_image {
    width: 636px;
    height: 739px;
    border: 12px solid #FFC107;
    position: relative;

    -webkit-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
}
.calculator_image .garage_bg {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    z-index: 2;
}
.calculator_image .garage_list {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 570px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    margin-top: -10px;
    z-index: 1;
}

.calculator_right {
    width: 100%;
}
.calculator_label{
   /* background: #FFFFFF;
    border: 1px solid #D1E1F0;
    box-shadow: 0px 1px 2px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px #EBF2FF;
    border-radius: 8px;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    color: #101828;

    padding: 10px 40px;
    margin-bottom: 20px;
    position: relative;*/
	
	
	background: #FFFFFF;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 23px;
    color: #101828;
    padding: 10px 0px;
    margin-bottom: 0px;
    position: relative;
	
	
}
.calculator_label .help_icon{
    position: absolute;
    right: 14px;
    top: 14px;
    background: url("../img/icons/help.svg") no-repeat center center;
    width: 16px;
    height: 16px;
}
.calculator_field {
    margin-bottom: 30px;
}/*
.c_dimensions .calculator_label {
    background: url("../img/icons/dimensions.svg") no-repeat 13px center;
}
.c_area .calculator_label {
    background: url("../img/icons/type.svg") no-repeat 13px center;
}
.c_type .calculator_label {
    background: url("../img/icons/area.svg") no-repeat 13px center;
}
.c_colour .calculator_label {
    background: url("../img/icons/colour.svg") no-repeat 13px center;
}*/
.c_type select,
.c_dimensions select {
    border-radius: 6px;
    border: none;
    width: 100%;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #000000;
    height: 44px;
    padding-left: 35px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;

    background: url("../img/icons/dimension_arrow.svg") no-repeat 95% center, url("../img/icons/check.svg") no-repeat 11px center, #F4F4F4;
}
.c_dimensions option:disabled{
    display: none;
}
.c_type select{
    background: url("../img/icons/dimension_arrow.svg") no-repeat 95% center, #F4F4F4;
    padding-left: 20px;
}
.c_type .calculator_input ,
.c_area .calculator_input ,
.c_colour .c_colour_container.active {
    display: flex;
}
.c_colour .c_colour_container.active,
.c_area .calculator_input {
    flex-wrap: wrap;
}
.c_colour .c_colour_container{
    display: none;
}

.c_type .c_square_check img{
    max-width: 74px;
}

.c_square_check img{
    max-width: 100%;
}
.c_square_check span{
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    line-height: 14px;
    color: #000000;
    display: block;
    text-align: center;
    margin-top: 2px;
    margin-bottom: 2px;
}
.c_square_check {
    margin-right: 10px;
}
.c_square_check {
    padding-top: 9px;
    border: 2px dashed #979797;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    width: 88px;
}
.c_square_check.active{
    border: 3px solid #08457E;
    width: 88px;
}
.c_square_check.disabled {
    cursor: default;
    position: relative;
}
.c_square_check.disabled:before {
    background: url("../img/disabled.svg") no-repeat center center;
    background-size: contain;
    position: absolute;
    content: "";
    width: 59px;
    height: 59px;
    top: 7px;
    left: 12px;
}
.c_square_check.disabled img,
.c_square_check.disabled span{
    opacity: 0.5;
}

.c_circle_check {
    border: 2px dashed;
    width: 64px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    text-align: center;
    font-size: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-right: 8px;
    cursor: pointer;
    margin-bottom: 8px;
}
.c_circle_check:not(.active) {
    border-color: #979797 !important;
	    background: none !important;
}
}
.c_circle_check.active {
    border: 2px solid #08457E;
    width: 64px;
}
.c_circle_check span{
    display: block;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
}

.c_colour_item_container {
    width: 90px;
    padding: 0 20px 10px 0;
}

.c_colour_item_container strong {
    color: #000;
    font-size: 0.8em;
    line-height: 1.2em;
    display: inline-block;
}


/* Styles for dialog window */
.help_dialogs {
    padding: 6vh 4.5vw;
}
.help_dialog_container {
    background: white;
    padding: 4.5vw;
    font-weight: 300;
    font-family: "Roboto";
}
.help_dialog_container b{
    font-weight: bold;
}
.help_dialog_container h3 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 10px;
}
.help_dialog_container > p {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 60px;
}
#type_modal .image_blocks {
    margin-left: 12.5%;
}
.help_dialog_container .image_blocks {
    display: flex;
}
.help_dialog_container .ib_item{
    max-width: 320px;
    font-size: 16px;
    text-align: center;
}
.help_dialog_container .ib_item p{
    padding: 1.875rem;
}

.help_dialogs .mfp-close{
    margin: 6vh 4.5vw;
}
.success_modal .mfp-close,
.submit_form_modal .mfp-close,
.help_dialogs .mfp-close{
    background: url("../img/icons/close.svg") no-repeat center center;
    font-size: 0;
}

.submit_form_modal{
    max-width: 1200px;
    margin: 40px auto;
    background: #ffffff;
    border: 5px solid #e1b520;
    border-radius: 12px;
    padding: 100px 60px 60px;
    font-family: 'Roboto';
    position: relative;
}
.submit_additional_title,
.submit_title{
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -0.02em;
    color: #2C2C2C;
    margin-bottom: 30px;
}
.submit_additional_desc,
.submit_desc {
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -0.02em;
    color: #eb0028;
    margin-bottom: 65px;
}
.submit_inputs{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}
.submit_input input{
    border: 1px solid #19161d;
/*
    filter: drop-shadow(2.5px 4.33px 0px rgba(227, 227, 227, 0.749));
    -webkit-box-shadow: 2.5px 4.33px 0px rgba(227, 227, 227, 0.749);
    -moz-box-shadow: 2.5px 4.33px 0px rgba(227, 227, 227, 0.749);
    box-shadow: 2.5px 4.33px 0px rgba(227, 227, 227, 0.749);*/

    font-weight: 400;
    font-size: 16px;
    line-height: 15px;

    color: #000000;
    padding-left: 30px;
    padding-right: 30px;
    height: 60px;

    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    width: 100%;
}


.submit_input input::-webkit-input-placeholder
/*,
.submit_input input::-moz-placeholder,
.submit_input input::-ms-input-placeholder,
.submit_input input:-moz-placeholder*/
{
   opacity:1;
}

.submit_input select{
    border-radius: 0px;
    border: 1px solid #19161d;
    width: 100%;

    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    color: #000000;
    height: 60px;
    padding-left: 35px;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;

    background: url("../img/icons/dimension_arrow.svg") no-repeat 95% center;
}


.submit_bottom{
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sb_price{
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: -0.02em;

    color: #2C2C2C;
}
.sb_price span{
    color: #eb0028;
    font-weight: 700;
}
.sb_btn{
    background: #e1b520;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 60px;
    min-width: 340px;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
}

.sb_btn:hover{
    background: #eb0028;
}

.success_modal{
    background: #FFFFFF;
    border: 4px solid #08457E;
    border-radius: 12px;

    max-width: 320px;
    text-align: center;
    padding: 45px 15px 65px;
    font-family: 'Roboto';
    position: relative;
    margin: 0 auto;
}
.success_modal_title {
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    letter-spacing: -0.02em;

    color: #08457E;
    margin-bottom: 15px;
}
.success_modal_text {
    font-weight: 300;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    color: #2A2A2A;
    max-width: 160px;
    margin: 0 auto;
}
.calculator_clear {
    margin-top: 25px;
}
.calculator_clear a{
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    color: #08457E;
}
.calculator_clear span{
    vertical-align: middle;
    display: inline-block;
}
.calculator_clear img{
    margin-right: 10px;
}
.submit_additional_info {
    display: none;
}
.submit_additional_desc{
    padding-right: 25px;
    position: relative;
}
.submit_additional_desc a{
    position: absolute;
    right: 0;
    top: -2px;
}
.c_area_item {
    padding: 8px 13px;
    width: auto !important;
    margin-bottom: 10px;
    border-width: 2px !important;
}
.c_area_item img {
    max-width: 50px ;
}
.c_area_item.hidden {
    display: none;
}
.c_dimensions select{
    padding-right: 50px;
}
.c_dimensions .calculator_input{
    width: 100%;
    overflow-x: auto;
}

@media (max-width: 1600px) {
    .calculator_container {
        width: 1200px;
        margin: 0 auto;
    }
    .calculator_left{
        margin-right: 60px;
    }
    .c_colour .c_colour_container.active{
        flex-wrap: wrap;
    }
}
@media (max-width: 1300px) {
    .calculator_container {
        width: 1000px;
        margin: 0 auto;
    }
    .calculator_image{
        width: 500px;
        height: 640px;
    }
    .calculator_image .garage_bg{
        width: 350px;
    }
    .calculator_image .garage_list{
        width: 276px;
        height: 500px;
    }
    .calculator_r_text{
        font-size: 16px;
    }
    .cr_price{
        font-size: 32px;
        line-height: 38px;
    }
    .calculator_r_info{
        max-width: 380px;
    }
    .help_dialog_container .image_blocks{
        margin-left: 0;
    }
    .help_dialog_container .ib_item{
        max-width: 210px;
    }
}
@media (max-width: 1024px) {
    .calculator_container{
        width: 100%;
    }
    .calculator_body{
        flex-wrap: wrap;
    }
    .calculator_left{
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 40px;
    }
    .calculator_result{
        flex-wrap: wrap;
    }
    .calculator_r_info{
        width: 100%;
        max-width: 100% ;
        margin-bottom: 18px;
        text-align: center;
    }
    .submit_inputs{
        grid-template-columns: repeat(2, 1fr);
    }

    .help_dialog_container h3{
        font-size: 24px;
    }
    .help_dialog_container > p{
        font-size: 20px;
    }
    .help_dialog_container .image_blocks{
        flex-wrap: wrap;
        justify-content: center;
    }
    .help_dialog_container .ib_item p{
        padding: 20px;
    }
}
@media (max-width: 767px) {
    .calculator_image{
        width: 100%;
        height: 450px;
    }
    .calculator_image .garage_bg{
        width: 250px;
    }
    .calculator_image .garage_list {
        width: 201px;
        margin-top: -5px;
        height: 350px;
    }
    .calculator_title h2{
        font-size: 24px;
        text-align: center;
        line-height: 28px;

    }
    .calculator_r_price{
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .calculator_r_btn{
        width: 100%;
        text-align: center;
    }
    .submit_form_modal{
        padding: 60px 30px 30px;
    }
    .submit_additional_title,
    .submit_additional_desc,
    .submit_desc,
    .submit_title{
        font-size: 28px;
        line-height: 32px;
    }
    .submit_bottom{
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .sb_price{
        margin-bottom: 20px;
    }
}
@media (max-width: 565px) {

    .c_dimensions select {
        width: auto;
    }
}
@media (max-width: 500px) {
    .help_dialog_container h3{
        font-size: 18px;
    }
    .help_dialog_container > p {
        font-size: 16px;
    }
    .calculator_body{
        padding: 25px;
    }
}