/**
 * Th Calculator
 *
 * @author    THECON
 * @copyright THECON
 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
.hide {
    display: none;
}

.th_calculator {
    max-width: 1000px;
    padding: 50px;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 20px;
    margin-bottom: 2.375rem;
}

.th_calculator h2 {
    font-size: 25px;
    text-align: center;
    margin-bottom: 45px;
}

.th_calculator .form-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding-right: 40px !important;
}

.th_calculator .form-group .form-control-label {
    width: 100%;
    font-weight: 700;
    margin-right: 20px;
    padding-left: 12px;
}

.th_calculator .form-group .form-control, .th_calculator .form-group select {
    width: 100%;
    border-radius: 5px;
    border-color: #E4E4E4;
    font-size: 14px;
    height: 40px;
}

.th_calculator .form-group .form-control:focus {
    border-color: #b9b9b9;
}

.th_calculator .form_content .row {
    margin-bottom: 20px;
}

.th_calculator .form-footer {
    text-align: center;
    margin-top: 30px;
}

.th_calculator .form-footer .btn, .th_calculator .btn_reset, .th_calculator .form-footer .btn, .th_calculator .btn_reset_c {
    font-size: 17px;
    font-weight: 500;
    background-color: #DC2A0B;
    color: #fff;
    border-color: #DC2A0B;
    border-radius: 5px;
    letter-spacing: 0.5px;
    padding: 10px 30px;
}

.th_calculator .form-footer .btn:hover, .th_calculator .btn_reset:hover, .th_calculator .form-footer .btn:hover, .th_calculator .btn_reset_c:hover {
    background-color: #fff;
    color: #DC2A0B;
    border-color: #DC2A0B;
}

.th_calculator .form-group .form-control::placeholder {
    font-size: 12px;
    text-align: center;
}

.th_calculator .form-group .data-err {
    width: 100%;
}

.th_calculator .btn_reset, .th_calculator .btn_reset_c {
    margin-top: 30px;
}

.th_calculator .th-result, .th_calculator .th-result-c {
    text-align: center;
}

.th_calculator .th-result #m, .th_calculator .th-result #mc, .th_calculator .th-result_c #mz, .th_calculator .th-result_c #m, .th_calculator .th-result_c #mc, .th_calculator .th-result_c #mz {
    text-transform: uppercase;
}

.data-err.black {
    color: black;
}

.data-err.red {
    color: #DC2A0B;
}

.btn-send-form {
    font-size: 17px;
    font-weight: 500;
    background-color: #DC2A0B;
    color: #fff;
    border-color: #DC2A0B;
    border-radius: 5px;
    letter-spacing: 0.5px;
    padding: 10px 30px;
}

#additional-details-form .form-control-label {
    text-align: left;
}

.th-result-c p,
.th-result-c span {
    font-size: 25px;
    font-weight: 600;
}

@media only screen and (min-width: 320px) and (max-width: 529px) {
    .th_calculator .form-group .form-control, .th_calculator .form-group select {
        width: 100%;
    }

    .th_calculator .form-group {
        padding-right: 20px !important;
    }
}
