/*
Theme Name: Thermosilesia Template
Theme URI: https://serwis.thermosilesia.pl
Author: Thermosilesia sp. z o.o. sp. k
Author URI: https://thermosilesia.pl
Description: Thermosilesia szablon WordPress
Version: 1.0
License: Proprietary, All Rights Reserved
License URI: https://serwis.thermosilesia.pl/license
Text Domain: thermosilesia-template
Domain Path: /languages
*/


.thss_main_form {
    width: 100%;
}

.thss_form_element {
    float: left;
    width: 50%;
    padding-right: 20px;
    padding-top: 18px;
}

.thss_form_element .form-control[readonly] {
    background-color: #ffffff;
}

.thss_form_element_full {
    width:100%;
    float: left;
    padding-right: 20px;
    padding-top: 14px;
}

.thss_form_group_title,
.thss_form_group_foot {
    width: 100%;
    clear: both;
}

.thss_form_group_title {
    margin-top: 30px;
    font-size: 18px;
    font-weight: 400;
}

.thss_form_group_foot {
    padding-top: 22px;
    font-size: 14px;
}

.thss_form_hint {
    margin-top: 4px;
    font-size: 12px;
}

.thss_form_label {
    font-size: 14px;
    font-weight: normal;
    margin-bottom: 11px;
}

.thss_form_label_req {
    color: red;
    top: -.2em;
    margin-left: 0;
}

.thss_heading_with_border {
    position: relative;
    margin: 0;
    padding-bottom: 38px;
}

h1.thss_heading_with_border {
    font-size: 28px;
    font-weight: 400;
}

.thss_heading_with_border:after {
    content: '';
    position: absolute;
    bottom: 9px;
    left: 0;
    width: 50px;
    border-bottom: 1px #C3C3C3 solid;
}

.thss_heading_with_border_center:after {
    left: 48%;
}

@media (max-width: 860px) {

    .thss_form_element_group {
        width: 100%;
    }

    .thss_form_element {
        width: 100%;
        padding-right: 0;
    }

    .thss_form_group_title,
    .thss_form_group_foot {
        width: 100%;
    }

    .thss_form_element_full {
        width: 100%;
    }
}



.thss_container {
    width: 100%;
    margin-top: 46px;
}

.thss_row {
    width: auto;
    margin: 0 auto 24px auto;
    display: table;
    border-spacing: 24px 0;
    clear: both;
}

.thss_row:last-child {
    margin-bottom: 0;
}

.thss_column {
    display: table-cell;
    vertical-align: top;
    width: 448px;
    min-width: 448px;
}

.thss_content {
    position: relative;
    min-height: 380px;
}

@media (max-width: 768px) {
    .thss_row {
        display: block;
        border-spacing: 0;
    }

    .thss_column {
        display: block;
        width: 100% !important;
        margin: 0 auto 24px auto;
        text-align: center;
    }

    .thss_column:last-child {
        margin-bottom: 0;
    }
}


.thss_content {
    border: 2px solid #8D8D8D;
    padding: 26px 26px 12px 26px;
}

.thss_content:hover {
    border: 2px solid #2C83F5;
}


.thss_column .thss_content h1 {
    font-size: 28px;
    text-align: center;
    font-weight: 400;
    position: relative;
    margin: 0;
    padding-bottom: 38px;
    padding-top: 24px;
}

.thss_column .thss_content h1:after {
    content: '';
    position: absolute;
    bottom: 19px;
    left: 45%;
    width: 50px;
    border-bottom: 1px #C3C3C3 solid;
}

.thss_column .thss_content .info {
    text-align: center;
    font-size: 14px;
}

.thss_column .thss_content .btn {
    padding: 16px 36px;
}

.thss_column .thss_content .foot1 {
    position: absolute;
    bottom: 64px;
    left: 20px;
    right: 20px;
    text-align: center;
}

.thss_column .thss_content .foot2 {
    position: absolute;
    bottom: 19px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
}

.thss_column .thss_content .foot2 a.link {
    font-size: 14px;
    color: #2C83F5;
}

.thss-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.thss-overlay.active {
    display: flex;
}

.thss-loading-dialog {
    background-color: white;
    padding: 40px;
    border: 2px solid #808080;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.thss-loading-dialog p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.thss-spinner {
    margin: 20px auto 0;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2c83f5;
    border-radius: 50%;
    animation: thss-spin 1s linear infinite;
}

@keyframes thss-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.thss-checkbox {
    cursor: pointer;
    margin: 0 !important;
}

.thss-checkbox input {
    position: absolute;
    opacity: 0;
}

.thss-checkmark {
    width: 24px;
    height: 24px;
    border: 1px solid #c3c3c3;
    display: inline-block;
    margin: 0 10px -8px -18px;
}

.thss-checkmark:hover {
    border-color: #007bff;
}

.thss-checkmark svg {
    display: none;
    fill: #007bff;
}

.thss-checkbox input:checked ~ .thss-checkmark svg {
    display: block;
}

.ths-form-check {
    display: flex !important;
    align-items: stretch;
}

.form-check .invalid-feedback {
    margin-left: 18px;
}

.thss-file-uploads {
    display: table;
    width: 100%;
}

.thss-file-input {
    display: none;
}

.thss-file-upload-row {
    display: table-row !important;
    width: 100%;
}

.thss-file-upload-cell {
    display: table-cell !important;
    padding: 10px 8px;
    vertical-align: middle;
    text-align: left;
    border-bottom: solid 1px #C3C3C3;
}

.thss-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.thss-clear-button {
    cursor: pointer;
    display: none;
}

.thss-clear-button a {
    width: 120px;
    height: 37px;
    padding: 8px 26px;
    margin-bottom: 30px;
}

.thss-clear-button.show {
    display: block;
}

.thss-file-info {
    clear: both;
}

.thss-desktop {
    display: block !important;
}

.thss-mobile {
    display: none !important;
}

.thss-btn-action {
    margin-top: 26px;
}

.thss-btn-action:not(:first-child) {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .thss-file-upload-row {
        display: block !important;
        border-bottom: solid 1px #C3C3C3;
        margin-bottom: 20px;
    }

    .thss-file-upload-cell {
        display: block !important;
        padding: 4px;
        margin: 0;
        width: 100% !important;
        clear: both;
        border-bottom: none;
    }

    .thss-file-uploads {
        margin-top: 20px;
    }

    .thss-desktop {
        display: none !important;
    }

    .thss-mobile {
        display: block !important;
    }

    .form-check-label {
        display: inline;
        margin-left: 20px;
    }

    .form-check .invalid-feedback {
        margin-left: 0;
    }

    .thss-btn-action {
        width: 90% !important;
        max-width: 90% !important;
        display: block !important;
        margin: 16px auto !important;
    }
}

.thss_form_element_full .form-check-label,
.thss_form_element .form-check-label {
    font-weight: 400 !important;
    font-size: 14px;
}

.thss_form_element_full .was-validated .form-check-input:valid ~ .form-check-label,
.thss_form_element_full .form-check-input.is-valid ~ .form-check-label,
.thss_form_element .was-validated .form-check-input:valid ~ .form-check-label,
.thss_form_element .form-check-input.is-valid ~ .form-check-label {
    color: #222 !important;
}

.was-validated .form-control:valid:focus,
.was-validated .custom-select:valid:focus,
.form-control.is-valid:focus,
.custom-select.is-valid:focus,
.was-validated .form-control:valid,
.was-validated .custom-select:valid,
.form-control.is-valid,
.custom-select.is-valid {
    border-color:  #2c83f5 !important;
    box-shadow: 0 0 0 .2rem #2c83f540 !important;
    background-color: #ffffff !important;
}