body {font-family: Arial, Helvetica, sans-serif;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 75%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#home_pages_wb_header {
    width: 100%;
    height: auto;
    max-width: 100%;
    flex: 0 0 auto
}

#home_pages_wb_header>.wb_content {
    min-width: 20px;
    min-height: 20px;
    padding: 0 0 0 0;
    border: 0 solid #000;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #fff none repeat scroll left top;
    background-size: auto auto;
    opacity: 1;
    justify-items: flex-start;
    align-items: center;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: nowrap;
    text-shadow: none;
    box-shadow: none
}

#home_pages_wb_main {
    width: 100%;
    height: auto;
    max-width: 100%;
    flex: 0 0 auto
}

#home_pages_wb_main>.wb_content {
    min-width: 20px;
    min-height: 20px;
    padding: 0 0 0 0;
    border: 0 solid #000;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #fff0 none repeat left top;
    background-size: auto auto;
    justify-items: flex-start;
    align-items: center;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: nowrap;
    text-shadow: none;
    box-shadow: none
}

#home_pages_wb_footer {
    width: auto;
    height: auto;
    max-width: 100%;
    flex: 1 1 auto
}

#home_pages_wb_footer>.wb_content {
    min-width: 20px;
    min-height: 20px;
    padding: 0 0 0 0;
    border: 0 solid #000;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #f0f0f0 none repeat scroll left top;
    background-size: auto auto;
    opacity: 1;
    justify-items: flex-start;
    align-items: center;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: nowrap;
    text-shadow: none;
    box-shadow: none
}

#home_pages_screen_area {
    width: 100%;
    height: auto;
    min-height: 100px;
    max-width: 100%;
    flex: 1 1 auto
}

#home_pages_screen_area>.wb_content {
    min-width: 20px;
    min-height: 20px;
    padding: 0 0 0 0;
    border: 0 none #000;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
    background: #fff0 none repeat scroll left top;
    background-size: auto auto;
    justify-items: flex-start;
    align-items: stretch;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: nowrap;
    text-shadow: none;
    box-shadow: none
}

#home_pages_title_bar {
    width: 100%;
    height: auto;
    min-height: 40px;
    max-width: 100%;
    flex: 0 0 auto
}

#home_pages_title_bar>.wb_content {
    min-width: 20px;
    min-height: 20px;
    padding: 0 5px 0 5px;
    border: 0 solid #000;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border-radius: 0;
    background: #182659 none repeat scroll left top;
    background-size: auto auto;
    opacity: 1;
    justify-items: center;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    text-shadow: none;
    box-shadow: none
}

#home_pages_title_text p:last-child {
    margin-bottom: 0
}

#home_pages_title_text {
    opacity: 1;
    width: auto;
    height: auto;
    max-width: 100%;
    flex: 0 0 auto;
    text-shadow: none;
    box-shadow: none
}

#home_pages_image_area {
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 10px 10px 10px 10px;
    flex: 1 1 auto
}

#home_pages_image_area>.wb_content {
    min-width: 20px;
    min-height: 20px;
    padding: 0 0 0 0;
    border: 0 none #000;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
    background: #fff0 none repeat scroll left top;
    background-size: auto auto;
    justify-items: flex-start;
    align-items: center;
    justify-content: flex-start;
    align-content: stretch;
    flex-wrap: nowrap;
    text-shadow: none;
    box-shadow: none
}

#home_pages_image {
    opacity: 1;
    box-sizing: border-box;
    width: 768px;
    height: auto;
    max-width: 100%;
    flex: 1 1 auto
}

#home_pages_image .wb-picture-wrapper {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    border: 0 none #d1d1d1
}

#home_pages_image img {
    width: 100%;
    height: auto
}

#home_pages_image>.wb_picture_wrap>.wb-picture-wrapper {
    text-shadow: none;
    box-shadow: none
}

#home_pages_button_area {
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 10px 10px 10px 10px;
    flex: 1 1 auto
}

#home_pages_button_area>.wb_content {
    min-width: 20px;
    min-height: 20px;
    padding: 0 0 0 0;
    border: 0 none #000;
    -moz-border-radius: 0 0 0 0;
    -webkit-border-radius: 0 0 0 0;
    border-radius: 0 0 0 0;
    background: #fff0 none repeat scroll left top;
    background-size: auto auto;
    justify-items: center;
    align-items: flex-start;
    justify-content: center;
    align-content: flex-start;
    flex-wrap: nowrap;
    text-shadow: none;
    box-shadow: none
}

#home_pages_button {
    width: 30%;
    height: auto;
    max-width: 100%;
    margin: 5px 5px 5px 5px;
    flex: 0 0 auto
}

#home_pages_button>.wb_button {
    padding: 10px 10px 10px 10px
}

#home_pages_button .wb_button {
    margin: 0;
    width: 100%;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    border: 0 solid #ed8d72;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background-color: #182659;
    min-width: 20px;
    min-height: 20px
}

#home_pages_button .wb_button:after {
    width: 0;
    height: 0;
    overflow: hidden
}

#home_pages_button .wb_button span {
    color: #fff;
    font-style: normal;
    font-weight: 700;
    text-decoration: none
}

#home_pages_button .wb_button:before {
    background: #fff0 ;
    background-size: cover;
    opacity: .3
}

#home_pages_button .wb_button:hover span {
    color: #fff;
    font-style: normal;
    font-weight: 700;
    text-decoration: none
}

#home_pages_button .wb_button:hover {
    background-color: #3a3a3a
}

#home_pages_button .wb_button:hover:before {
    background: #fff0 none repeat left top;
    background-size: auto auto;
    opacity: 1
}

#home_pages_button .wb_button:active span {
    color: #fff;
    font-style: normal;
    font-weight: 700;
    text-decoration: none
}

#home_pages_button .wb_button:active {
    background-color: #3a3a3a
}

#home_pages_button .wb_button:active:before {
    background: #fff0 none repeat left top;
    background-size: auto auto;
    opacity: 1
}

@media (max-width:767px) {
    #home_pages_title_bar>.wb_content {
        background: #182659 none repeat scroll left top;
        background-size: auto auto;
        opacity: 1;
        flex-direction: column;
        justify-items: flex-start;
        align-items: center;
        justify-content: flex-start;
        align-content: stretch;
        flex-wrap: nowrap
    }

    #home_pages_button_area>.wb_content {
        background: #fff0 none repeat scroll left top;
        background-size: auto auto;
        flex-direction: column;
        justify-items: flex-start;
        align-items: center;
        justify-content: flex-start;
        align-content: stretch;
        flex-wrap: nowrap
    }    
    #home_pages_title_text {
        width: auto;
        margin-left: 0;
        margin-right: 0
    }

    #home_pages_button {
        width: auto;
        margin-left: 0;
        margin-right: 0
    }
}

/* --- New Dedicated Styles for Top Full-Width Buttons --- */

/* Force the top container to span across the screen */
#top_pages_button_area,
#top_pages_button_area > .wb_content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px 0 !important;
    padding: 0 !important;
    align-items: stretch !important; /* Forces children to stretch full width */
}

/* Ensure the button wrapper takes up 100% width instead of 30% */
#top_pages_button.wb_btn_100 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 5px 0 !important;
    flex: 1 1 100% !important;
}

/* Force the underlying link tag to behave like a block element */
#top_pages_button.wb_btn_100 .wb_button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important; /* Prevents padding from breaking layout */
    
    /* Mirroring your exact styles from your original buttons */
    margin: 0; 
    font-family: 'Open Sans', Arial, sans-serif; 
    font-size: 18px; 
    line-height: 18px; 
    text-align: center; 
    text-decoration: none; 
    border-radius: 10px; 
    background-color: #182659; 
}

/* Re-applying your precise hover states cleanly to the new top buttons */
#top_pages_button.wb_btn_100 .wb_button span { color: #fff; font-weight: 700; }
#top_pages_button.wb_btn_100 .wb_button:hover { background-color: #3a3a3a !important; }
#top_pages_button.wb_btn_100 .wb_button:active { background-color: #3a3a3a !important; }


@media (min-width:767.5px) {
    #home_pages_image_area {
        margin: 10px 10px 10px 10px
    }
    #home_pages_button_area {
        margin: 10px 10px 10px 10px
    }

    #home_pages_button {
        margin: 5px 5px 5px 5px
    }    
}

@media (min-width:991.5px) {
    #home_pages_image_area {
        margin: 10px 10px 10px 10px
    }

    #home_pages_button_area {
        margin: 10px 10px 10px 10px
    }

    #home_pages_button {
        margin: 5px 5px 5px 5px
    }    
}

@media (min-width:1199.5px) {
    #home_pages_image-area {
        margin: 10px 10px 10px 10px
    }

    #home_pages_button_area {
        margin: 10px 10px 10px 10px
    }

    #home_pages_button {
        margin: 5px 5px 5px 5px
    }    
}