/* calc_fasad */

#calc_fasad {
    margin: 150px auto 0;
    background: #fff;
    min-height: 70vh;
}

#calc_fasad h2 {
    /* margin-bottom: 50px; */
}

#calc_fasad h2 span {
    color: #fdc500;
    display: inline;
}

#calc_fasad .calc_info {
    width: 70%;
}

#calc_fasad .calc_blueprint {
    width: 25%;
}

#calc_fasad .calc_blueprint img {
    width: 100%;
}

#calc_fasad .wrapper {
    display: flex;
    flex-direction: row;
    margin: 20px auto;
    justify-content: space-around;
}

#calc_fasad .calc_row {
    display: flex;
    justify-content: start;
    margin: 0 auto 15px;
    align-items: center;
    position: relative;
}

#calc_fasad .calc_row[data-element="1"],
#calc_fasad .calc_row[data-element="4"],
#calc_fasad .calc_row[data-element="5"],
#calc_fasad .calc_row[data-element="6"] {
    /* margin-left: 30px; */
}

#calc_fasad .calc_row.count .calc_choice:after {
    content: attr(data-count);
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    bottom: -5px;
    right: -5px;
    line-height: 150%;
    font-weight: bold;
    font-size: 12px;
    border: 1px solid #fbc500;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* #calc_fasad .calc_row:after {
    content: attr(data-wall);
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    bottom: -5px;
    right: -5px;
    line-height: 150%;
    font-weight: bold;
    font-size: 12px;
    border: 1px solid #fbc500;
    display: flex;
    justify-content: center;
    align-items: center;
} */

#calc_fasad .calc_row ul {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
}

#calc_fasad .calc_row ul li {
    padding: 10px 25px;
    border-radius: 1px;
    margin: 0;
    background: #f4f4f491;
    cursor: pointer;
}

#calc_fasad .calc_row.add_elements ul:nth-child(2) {
    justify-content: space-around;
    align-items: center;
}

#calc_fasad .calc_row.add_elements ul:nth-child(1) {
    justify-content: start;
}

#calc_fasad .calc_row.add_elements ul:nth-child(1) input {
    margin: 0 9px 0 0;
    width: 20px;
    height: 20px;
}

#calc_fasad .calc_row.add_elements ul:nth-child(1) label {
    margin: 0;
}

#calc_fasad .calc_row.add_elements ul:nth-child(1) li {
    background: unset;
    padding: 3px 25px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
}

#calc_fasad .calc_row ul li.active {
    background: #fdc500;
}

#calc_fasad .calc_element {
    width: 33%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#calc_fasad .calc_choice {
    width: 20%;
    text-align: center;
    position: relative;
}

#calc_fasad .add_elements {
    display: flex;
    flex-direction: column;
    margin: 30px auto;
    align-items: start;
}

#calc_fasad .calc_choice div:nth-child(1) {
    padding: 10px 15px;
    width: 100%;
    border-radius: 4px;
    color: #000;
    font-size: 16px;
    margin: 0 0 0px;
    cursor: pointer;
    background: #f4f4f491;
    text-align: center;
}

#calc_fasad input[type="checkbox"] {
    accent-color: #fbc500;
}

#calc_fasad .add_element {}

#calc_fasad .calc_params {}

#calc_fasad .calc_type {
    width: 11%;
    margin: 0 25px;
}

#calc_fasad .calc_color {
    width: 8%;
}

#calc_fasad .calc_delete {
    width: 5%;
    color: #4b4b4b;
    font-size: 20px;
    line-height: 1;
    justify-content: center;
    cursor: pointer;
}

#calc_fasad .calc_question {
    border-radius: 50%;
    align-items: start;
    width: 5%;
}

#calc_fasad .calc_question span {
    cursor: pointer;
    background: #fbc500;
    border-radius: 50%;
    display: flex;
    width: 25px;
    height: 25px;
    font-size: 16px;
    text-align: center;
    line-height: 130%;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}

#calc_fasad .calc_params input {
    font-size: 16px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 3px 0 3px 10px;
    text-align: right;
    border: none;
    border-bottom: 1px solid #cdcccb;
    background: transparent;
}

#calc_fasad .calc_params__input_block {
    display: flex;
    justify-content: space-around;
    align-items: end;
}

#calc_fasad .calc_params__input {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

#calc_fasad .calc_params__input {
    line-height: 0;
    max-width: calc(45% - 65px);
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    flex-direction: column;
}

.qmodal {
    width: 600px;
    max-width: 90%;
    font-size: 18px;
}

#calc_fasad .calc_decription {
    font-size: 10px;
    text-transform: capitalize;
    margin: 10px auto 0;
}

#calc_fasad select {
    padding: 5px 8px;
    text-align: center;
    font-size: 14px;
    width: 100%;
    border: 1px solid #c4c4c4;
    border-radius: 5px;
    position: relative;
    outline: 1px solid rgba(245, 204, 0, .5);
    outline-offset: -6px;
}

#calc_fasad .fronton .calc_color select {
    padding: 5px 8px;
}

#calc_fasad input {
    outline: none;
}

body {
    background: #ffffff!important;
}

#calc_fasad .orderbutton {
    background: #fdc500;
    color: #000;
    padding: 10px 15px;
    text-decoration: none;
    cursor: pointer;
    display: block;
    border-radius: 0;
    font-weight: normal;
    font-size: 14px;
    width: 100%;
    margin: 10px auto;
}

#calc_fasad .calc_sum {
    width: 10%;
}

#calc_fasad .calc_add_framing {
    width: 25%;
    background: #ffffff;
    margin: 0 0px 0 10px;
    cursor: pointer;
}

#calc_fasad .calc_add_framing div {
    border: 1px solid #c4c4c4;
    border-radius: 5px;
    position: relative;
    outline: 1px solid rgba(245, 204, 0, .5);
    outline-offset: -6px;
    padding: 5px 16px;
}

#calc_fasad .calc_sum .calc_params__input {
    max-width: 40px;
}

#calc_fasad .calc_sum input {
    font-size: 16px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 3px 0 3px 10px;
    text-align: right;
    border: none;
    border-bottom: 1px solid #cdcccb;
    background: transparent;
}

#calc_fasad .calc_choice div[class^="color"] {
    color: #fff;
    text-shadow: 0 1px 2px #000;
}

#calc_fasad .instructions {
    cursor: pointer;
    text-align: center;
    margin-bottom: 50px;
}

#calc_fasad .instructions p {
    color: #000;
    border-bottom: 1px #fbc500 dotted;
    display: inline;
    font-weight: bold;
}

#calc_fasad .calc_choice div.color001 {
    background: url(/proamk/constructor/v4/img/colors/001.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color002 {
    background: url(/proamk/constructor/v4/img/colors/002.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color101 {
    background: url(/proamk/constructor/v4/img/colors/101.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color010 {
    background: url(/proamk/constructor/v4/img/colors/010.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color101 {
    background: url(/proamk/constructor/v4/img/colors/101.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color102 {
    background: url(/proamk/constructor/v4/img/colors/102.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color103 {
    background: url(/proamk/constructor/v4/img/colors/103.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color201 {
    background: url(/proamk/constructor/v4/img/colors/201.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color202 {
    background: url(/proamk/constructor/v4/img/colors/202.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color203 {
    background: url(/proamk/constructor/v4/img/colors/203.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color204 {
    background: url(/proamk/constructor/v4/img/colors/204.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color301 {
    background: url(/proamk/constructor/v4/img/colors/301.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color302 {
    background: url(/proamk/constructor/v4/img/colors/302.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color303 {
    background: url(/proamk/constructor/v4/img/colors/303.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color304 {
    background: url(/proamk/constructor/v4/img/colors/304.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color401 {
    background: url(/proamk/constructor/v4/img/colors/401.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color402 {
    background: url(/proamk/constructor/v4/img/colors/402.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color403 {
    background: url(/proamk/constructor/v4/img/colors/403.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color404 {
    background: url(/proamk/constructor/v4/img/colors/404.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color501 {
    background: url(/proamk/constructor/v4/img/colors/501.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color502 {
    background: url(/proamk/constructor/v4/img/colors/502.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color503 {
    background: url(/proamk/constructor/v4/img/colors/503.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color100 {
    background: url(/proamk/constructor/v4/img/colors/100.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color200 {
    background: url(/proamk/constructor/v4/img/colors/200.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color241 {
    background: url(/proamk/constructor/v4/img/colors/241.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color300 {
    background: url(/proamk/constructor/v4/img/colors/300.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color322 {
    background: url(/proamk/constructor/v4/img/colors/322.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color410 {
    background: url(/proamk/constructor/v4/img/colors/410.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color432 {
    background: url(/proamk/constructor/v4/img/colors/432.jpg);
    background-size: cover
}

#calc_fasad .calc_choice div.color500 {
    background: url(/proamk/constructor/v4/img/colors/500.jpg);
    background-size: cover
}

#calc_fasad .calc_row.summary {
    justify-content: space-between;
}

#calc_fasad .summary div {
    width: 25%;
    text-align: center;
}

#calc_fasad .summary .calc_choice div {
    padding: 0;
}

@media screen and (max-width: 414px) {
    #calc_fasad .calc_info {
        order: 2;
        width: 100%;
    }
    #calc_fasad .wrapper {
        flex-direction: column;
    }
    #calc_fasad .calc_blueprint {
        order: 1;
        width: 100%;
        margin: 0px auto 50px;
    }
    #calc_fasad .calc_element {
        margin: 5px auto;
    }
    #calc_fasad .calc_choice {
        width: 40%;
    }
    #calc_fasad .calc_params {
        width: 95%;
        padding: 3px 10px;
    }
    #calc_fasad .calc_sum {
        width: 19%;
    }
    #calc_fasad .calc_type {
        width: 40%;
    }
    #calc_fasad .calc_color {
        width: 40%;
    }
    #calc_fasad .calc_params input {
        font-size: 24px;
    }
    #calc_fasad .calc_sum input {
        font-size: 24px;
    }
    #calc_fasad .calc_delete {
        width: 15%;
        background: #ffd7d7;
        max-width: 40px;
        max-height: 40px;
        font-size: 33px;
        padding: 10px;
    }
    #calc_fasad .calc_row {
        flex-wrap: wrap;
    }
    #calc_fasad .calc_row.add_elements ul:nth-child(1) li {
        padding: 5px;
        font-size: 11px;
    }
    #calc_fasad .calc_row.add_elements ul:nth-child(2) {
        flex-wrap: wrap;
    }
    #calc_fasad .calc_row ul li {
        padding: 10px 25px;
        cursor: pointer;
        width: auto;
        font-size: 12px;
    }
    #calc_fasad .calc_row.add_elements ul:nth-child(2) {
        justify-content: start;
    }
}