
.uabb-tab-link:focus {
    border: none;
    border-radius: none;
}
.gform_description{
    margin-bottom: 18px;
}
.custom .fl-callout-title,
.custom .fl-callout-text-wrap{
    margin-left: 8px;
}
#gform_wrapper_12 .ginput_container_select select{
    border: none;
}
.gform_wrapper.gravity-theme fieldset.yes-and-no{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    background-color: #F5F5F5;
}
#field_12_8 .gfield_description{
    padding-left: 8px;
}
#field_12_8 .gfield_description,.ginput_container_radio{
    width: 50%;
}
#field_12_8 .gfield_radio{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
#input_12_8 .gchoice{
    flex: 1;
}
.gform_wrapper.gravity-theme .gfield-choice-input+label{
    font-size: 14px;
    font-family: 'Roboto';
    font-weight: 400;  
}

.pp-gf-content .gform_wrapper .gfield .gfield_description{
    padding-bottom: 0 !important;
}
.fl-node-ph4bxc5yr9a2 .pp-gf-content .gform_wrapper .gfield .gfield_description{
    font-weight: 400;  
}
.fl-node-ph4bxc5yr9a2 .pp-gf-content .gform_wrapper .gfield_radio input[type=radio], .fl-node-ph4bxc5yr9a2 .pp-gf-content .gform_wrapper .gfield_radio input[type=radio]:focus{
    border-radius: none;
}

/*.sub-menu {*/
/*    display: flex!important;*/
/*    border: none!important;*/
/*    background-color: #d4dae4!important;*/
/*    flex-wrap: wrap;*/
/*    width: 400px!important;*/
/*    max-height: 300px;*/
/*    justify-content: center;*/
/*}*/

/* --- clue --- */

.div-clue-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #d4dae4;
    padding: 20px 60px 20px 20px;
}

.img-clue-image {
    width: max-content;
    height: max-content;
}
.p-clue-text {
    padding-left: 20px;
    margin: 0;
    font-family: Poppins, sans-serif;
    font-weight: 200;
    font-size: 14px;
}

/* --- range roof complexity --- */

.label-range-complexity-title, .label-radio-color-title, .label-extras-title {
    margin-bottom: 20px;
    padding: 0;
    font-family: Poppins, sans-serif;
    font-weight: 400;
}

.label-radio-material-title {
    margin-bottom: 10px;
    padding: 0;
    font-family: Poppins, sans-serif;
    font-weight: 400;
}
.input-range-complexity {
    /*-webkit-appearance: none;*/
    appearance: none;
    width: 100%;
    height: 15px;
    background: transparent;
    border-radius: 10px;
}

.input-range-complexity::-webkit-slider-runnable-track {
    width: 100%;
    height: 15px;
    border-radius: 10px
}
        
.input-range-complexity::-webkit-slider-thumb {
    /*-webkit-appearance: none;*/
    appearance: none;
    margin-top: -5px;
    background-color: #fe574f;
    width: 25px; 
    height: 25px; 
    cursor: pointer; 
    border-radius: 50%;
}
.div-range-complexity-numbers-block {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    width: 100%;
     
}
.div-range-complexity-numbers-block .span-range-complexity-numbers {
    display: inline-block;
    width: 20px; /* Adjust the width as needed */
    text-align: center;
    margin-right: 2px;
}

/* ---radio roofing material --- */

.input-radio-material {
    display: none;
}

.label-radio-material {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover; /* Ensures the image covers the entire element */
    background-position: center;
    background-repeat: no-repeat;
    height: 140px;
    width: 140px;
    text-align: center;
    position: relative;
    cursor: pointer;
}


.label-radio-material::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Inherits the background image */
    filter: contrast(140%) brightness(80%); /* Applies the filter */
    z-index: 1;
}

.span-radio-material {
    position: relative;
    font-size: 14px;
    color: #ffffff;
    z-index: 2;
}

#label_radio_material_id {
    background-image: url("https://professionalmetalroofing.ca/wp-content/uploads/2024/06/metal-tiles.jpeg");
    margin-right: 10px;
}

#label_radio_material_id_01 {
    background-image: url("https://professionalmetalroofing.ca/wp-content/uploads/2024/06/metal-shingles.jpeg");
    margin-right: 10px;
}

#label_radio_material_id_02 {
    background-image: url("https://professionalmetalroofing.ca/wp-content/uploads/2024/06/standing-seam.jpeg");
    margin-right: 10px;
}

#label_radio_material_id_03 {
    background-image: url("https://professionalmetalroofing.ca/wp-content/uploads/2024/06/ag-panels.jpeg");
}


.input-radio-material:checked + .label-radio-material::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 5px;
    width: 35px;
    height: 35px;
    background-image: url("https://professionalmetalroofing.ca/wp-content/uploads/2024/06/Check.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 3;
}

/* --- radio roof color --- */

.span-radio-color {
    display: block;
    width: 80px;
    font-family: Poppins, sans-serif;
    font-size: 14px;
}

#label_radio_color_id {
    background-color: #673E41;
}
#label_radio_color_id_01 {
    background-color: #792423;
}
#label_radio_color_id_02 {
    background-color: #45494E;
}
#label_radio_color_id_03 {
    background-color: #442F29;
}
#label_radio_color_id_04 {
    background-color: #3D3635;
}
#label_radio_color_id_05 {
    background-color: #0E0E10;
}

.div-radio-color {
    margin-right: 21px;
    text-align: center;
    position: relative;
}

.label-radio-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 1;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

.input-radio-color:checked + .label-radio-color::after {
    content: '';
    position: absolute;
    top: 55%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-image: url("https://professionalmetalroofing.ca/wp-content/uploads/2024/06/Check.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    z-index: 2;
}

#div_radio_color_id_05 {
    margin-right: 0;
}

.div-radio-color-container  {
    width: 100%;
    flex-wrap: wrap;
}

/* --- choose extras --- */

.div-extras-container {
    /*margin-top: -32px;*/
}

.label-extras-title {
    margin-bottom: 8px;
}

.div-dropdown-extras {
    position: relative;
    display: inline-block;
    width: 100%;
}

.div-dropdown-select-extras {
    position: relative;
    width: 100%;
    min-height: 40px;
    padding: 10px 40px 10px 10px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #000;
    border-radius: 4px;
    box-sizing: border-box;
    cursor: pointer;
    user-select: none;
}

.div-dropdown-menu-extras {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 100%;
    border: 1px solid #ccc;
    border-bottom-right-radius: 4px;
    border-bottom-left-radius: 4px;
    z-index: 1;
    box-shadow: 0px 4px 4px -2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    max-height: 200px;
    overflow-y: auto;
}

.label-checkbox-extras {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 200;
}

.div-dropdown-menu-extras .label-checkbox-extras {
    display: block;
    padding: 10px;
    cursor: pointer;
    user-select: none;
}

.div-dropdown-menu-extras .label-checkbox-extras:hover {
    background-color: #f1f1f1;
}

.div-dropdown-select-extras::after {
    content: '>';
    position: absolute;
    font-weight: 300;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transition: transform 0.3s ease;
    font-size: 1.4em;
    width: 20px;
    text-align: center;
}

.div-dropdown-select-extras.expanded::after {
    transform: translateY(-50%) rotate(-90deg);
}

/* --- preview --- */

.div-preview-container {
    display: flex;
    flex-direction: column;
    
    box-shadow: 0 0 5px rgba(16, 59, 128, 0.5);
    padding: 20px 30px;
    width: 335px;
}

.h5-preview-title {
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 0;
    text-align: center;
    font-family: Poppins, sans-serif;
    font-weight: 700;
}

.div-preview-content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;

}

.p-preview-text-field, .p-preview-text-value {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    margin: 5px 0;

}

.ul-preview-text-value {
    font-family: Poppins, sans-serif;
    font-size: 14px;
    margin-left: -10px;
}

.p-preview-text-value, .ul-preview-text-value {
    color: #103b80;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}
/* --- style --- */

.label-radio-material-title, .label-radio-color-title {
    font-size: 16px;
}

.div-radio-material-container, .div-radio-color-container {
    display: flex;
    padding: 10px 0;
    justify-content: center;
}

.input-radio-material, .input-radio-color {
    display: none;
}

#gform_submit_button_13 {
    margin-top: 20px;
}

/* --- another style --- */

#field_13_21  {
    margin: 0;
}
#field_13_25 {
    margin-top: 20px;
}

#field_13_23 {
    margin-top: 0;
    margin-bottom: 20px;
}

#field_13_22 {
    margin-top: 10px;
}

#field_13_26 {
    margin-top: 10px;
}

#field_13_40 {
    margin-top: 0;
}

#div_help_text_id_02 {
    color: #103b50;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 300;
    margin-top: 5px;
}

#div_help_text_id_01 {
    color: #555;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: -5px;
}

#field_13_44 {
    margin-top: 20px;
}

#gform_submit_button_13 {
    font-family: Poppins, sans-serif;
    font-weight: 500;
}

.gform_required_legend {
    display: none;
}

#field_13_51 {
    margin-top: -10px;
}


/* --- Media Query --- */

@media only screen and (max-width:641px){
    .gform_body > #gform_fields_13 > #field_13_22 #input_range_complexity_id {
         min-height: 15px;
    }
    
}

@media only screen and (max-width: 768px) {
    
    #div_calculator_column_right_id {
        display: none;
    }
    .div-clue-container {
        padding: 20px 10px; 
    }
    
    .div-radio-color {
       margin: 5px; 
    }
    
    .span-radio-color {
        width: 70px; 
        font-size: 12px;
        
    }
}

@media only screen and (max-width: 1200px) {
    .div-clue-container {
        padding: 20px 10px; 
    }
    
    .div-radio-color {
       margin: 5px; 
    }
    
    .label-radio-material {
        height: 100px;
    }
    
    .span-radio-material {
        width: 70px; 
        font-size: 12px;
    }
    
    .fl-html { 
        display: flex;
        justify-content: center;
        
    }
    
}