﻿/* Extra small devices (portrait phones, less than 576px) */
/* No media query since this is the default in Bootstrap */

/* Sitewide */
html {
    font-size: 100%;
}
body {
    font-weight: 400;
    font-size: 1rem;
}
body::after {
    content: "";
    background: url('/images/roof-background.png') fixed top left;
    opacity: 0.1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
}
h3 {
    font-size: 1.6rem;
}
p, li {
    font-size: 1.1rem;
}

a {
    text-decoration: none;
}

a:hover {
   text-decoration: underline;
}

/* Utility classes */
.color-primary {
    background-color: #1C4567;
}
[class*="color-primary"] * {
    color: #fff;
}
[class*="color-primary"] a:hover,
[class*="color-primary"] a:active {
    color: #fff;
}
a.light {
    color: white;
    text-decoration: underline;
}
a.light:hover,
a.light:active,
a.light:focus {
    color: lightgray;
    text-decoration: none;
}
.blue-bg {
    background-color: #162b43 !important;
}
.video-container {
    position: relative;
    padding: 55.2% 0 0 0;
}
.border-drksand {
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
    border-radius: 5px;
    border: 4px solid #887a57;
}
.border-dkgry {
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
    border-radius: 5px;
    border: 4px solid #343a40;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.img-border {
    border: 3px solid black;
}
.btn-custom-dkgry {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
}
.btn-custom-dkgry:hover {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
}
.btn-custom-dkgry:focus, .btn-dark.focus {
    box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
.vmid {
    margin: auto 0;
}
.emphasis {
    font-style: italic;
    font-weight: bold;
}
.underline {
    text-decoration: underline;
}

/* Page Layout */
html {
    position: relative;
    min-height: 100%;
}
footer {
    position:absolute;
    bottom: 0;
    background-color: #162b43 !important;
}
.section, footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100%;
}
footer #fortified_logo {
    width: 100%;
    max-width: 250px;
    margin: 10px auto;
}
.section-title {
    background-color: #515151;
}
.section-title h3,
.section-title h5 {
    padding: 0.75rem 0 0.75rem 0;
    color: #fff;
    margin-bottom: 0;
    display: inline-block;
}
.section-title p {
    display: inline-block;
    font-size: 1rem;
    color: white;
    float:right;
    margin: 15px 0 0 0;
}
.section .text {
    font-size: 14pt;
}
#jumbo {
    min-height: 410px;
}

/* Style Overrides */
.btn-primary,
.btn-default,
.btn-primary:hover,
.btn-default:hover {
    border-color: #323637;
    text-transform: none;
}
.btn {
    margin-left: 0;
    margin-right: 0;
}

/* Navbar */
#main_nav {
    background-color: #162b43;
}
.navbar {
    box-shadow:none !important;
    font-weight: 400;
    padding: 0;
}
#navbar_collapse.container {
    padding:0;
}
.navbar-collapse.collapse:not(.show) {
    display: none !important;
}
.navbar-brand {
    padding: 10px 0 5px 0;
    font-size: 1.4rem;
    margin-right: 0;
    width: 80%;
    max-width: 300px;
}
.navbar .navbar-toggle {
    float:right;
    margin-top: 5px;
    border: none;
    background: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.5em;
}
.navbar .navbar-toggle:focus {
    outline:none;
}
.navbar .nav-item {
    float: left;
    padding-left: 15px;
}
.navbar .nav-item:hover,
.navbar .nav-item.active {
    background-color: #76acd9;
}
.navbar .nav-item.dropdown .nav-link.collapsed,
.navbar .nav-item.dropdown .nav-link.collapsing {
    background: none;
}
.navbar .nav-item a {
    padding: 7px 15px;
}
.navbar .nav-item a:hover {
        text-decoration:none;
}
.nav-link:focus, .nav-link:hover {
    color: inherit;
}
.navbar .nav-item .nav-link {
    padding-left: 0;
}
ul.navbar-nav {
    width: 100%;
}
.navbar-nav .navbar-collapse .nav-link {
    padding-left: 1.3rem;
}
.subnav {
    font-size: .9em;
}
.subnav .nav-item a {
    padding: 5px 20px;
}
.subnav .nav-item a:hover {
    background-color: rgba(255,255,255,0.5);
    text-decoration: none;
}
.subnav .nav-item a.active {
    background-color: #7DA4B1;
    background-color: #3a88c8;
    background-color: #76acd9;
}
.nav-phone {
    float:left;
    padding-left:15px;
}
.nav-phone a {
    padding: 7px 15px 7px 0;
    display:block;
}
.nav-phone i.fa-phone {
    font-size: 1.1rem;
    margin-right: 8px;
    -moz-transform: scaleX(-1); /* Gecko */
    -o-transform: scaleX(-1); /* Opera */
    -webkit-transform: scaleX(-1); /* Webkit */
    transform: scaleX(-1); /* Standard */
    filter: FlipH; /* IE 6/7/8 */
}

/* Home Page */
#home_page #jumbo {
    background: url('/images/Home.jpeg') no-repeat center center;
    background-size: cover;
}
#home_page #endorsement_description {
    background-color: #162b43;
    color: white;
    padding-bottom: 0;
}
#home_page #link_boxes {
    background-color: #162b43;
    border-top: solid 1px #162b43;
    padding: 30px;
}
#home_page .top-box {
    background-color: hsla(205, 62%, 43%, 0.10);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
    border-radius: 5px;
    border: solid 1px #162b43;
    background-color: #dbdbdb;
    padding: 30px;
}
#home_page #comments_title h3,
#home_page #comments_title h5 {
    display: block;
}
#home_page .comments-box {
    padding: 20px;
    border: solid 2px #162b43;
    height: 180px;
    background-color: hsla(205, 62%, 43%, 0.10);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
    border-radius: 5px;
}

/* Claim Process Page */
#claim_process_page #process.section {
    padding-top: 0;
}
ul.process-list {
    position: relative;
    padding-left: 1rem;
}
ul.process-list li {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.process-step-icon {
    width: 100px;
    height: 100px;
    background-color: #fff;
    border-radius: 50px;
    border: 10px solid black;
    align-items: center;
    justify-content: center;
    display: flex;
    z-index: 2;
    position: relative
}
#process .process-text {
    margin-left: 1em;
}
.application-step,
#application_title:before {
    border-color: #162b43;
}
.initial-review-step,
#initial_review_title:before {
    border-color: #61B0E8;
}
.construction-step,
#construction_title:before {
    border-color: #F7A840;
}
.final-approval-step,
#final_approval_title:before {
    border-color: #F9DE44;
}
.payment-step,
#payment_title:before {
    border-color: #8AA34B;
}
.process-title {
    height: 45px;
    line-height: 45px;
    vertical-align: middle;
}
.process-title:before {
    content: "";
    background-color: white;
    background-size: 30px 30px;
    background-position: center;
    background-repeat: no-repeat;
    height: 45px;
    width: 45px;
    display: inline-block;
    float: left;
    margin-right: 10px;
    border-radius: 50%;
    border-width: 3px;
    border-style: solid;
    padding: 5px;
}
#application_title:before {
    background-image: url('/images/icons/icons8/icons8-documents-64.png');
}
#initial_review_title:before {
    background-image: url('/images/icons/icons8/icons8-survey-64.png');
}
#construction_title:before {
    background-image: url('/images/icons/icons8/icons8-safety-hat-64.png');
}
#final_approval_title:before {
    background-image: url('/images/icons/icons8/icons8-certificate-64.png');
}
#payment_title:before {
    background-image: url('/images/icons/icons8/icons8-stack-of-money-64.png');
}
ul.process-list .process-text ul,
ul.process-list .process-text ol {
    margin: 10px 0 10px 0;
}
ul.process-list .process-text ul ul,
ul.process-list .process-text ol ol {
    list-style-type: circle;
}
ul.process-list .process-text ul {
    list-style-type: disc;
}
ul.process-list .process-text ul ul {
    list-style-type: circle;
}
ul.process-list .process-text ol {
    list-style-type: lower-alpha;
}
ul.process-list .process-text ol ol {
    list-style-type: lower-roman;
}
ul.process-list .process-text li {
    display: list-item;
    padding: 0 0 0 0;
}
a.subtext {
    color: #888 !important;
    font-style: italic;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline !important;
    position: relative;
    top: -5px;
}
a.subtext:hover,
a.subtext:focus,
a.subtext:active {
    text-decoration: none !important;
}

/* IBHS Page */
#ibhs_page #details img.inset {
    padding: 1rem;
    width: 50%;
    max-width: 280px;
}
#ibhs_page #patches {
    background-color: rgba(128, 128, 128, 0.1);
    padding-top: 50px;
}
#ibhs_page #patches img {
    height: 250px;
}
#ibhs_page #patches .credits {
    text-align: center;
    color: darkgray;
    padding-top:40px;
}

/* Contractor Directory Page */
#contractor_directory_page #directory .card {
    margin-top: 1rem;
}
#contractor_directory_page #directory .card-table td {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6rem;
}
#contractor_directory_page #directory .card-table td:first-child {
    vertical-align: top;
    text-align: right;
    padding-right: 10px;
}
#directory .accordion-section .panel-default > .panel-heading.collapsed {
    background-color: #EBD2A9;
    color: black;
}
#directory .accordion-section .panel-default > .panel-heading,
#directory .accordion-section .panel-default > .panel-heading:hover {
    padding: 1rem;
    margin-top: 1rem;
    cursor: pointer;
    background-color: #a59477;
    color: white;
}
#directory .accordion-section .panel-default .panel-title {
    margin-bottom: 0;
}
#directory .accordion-section .panel-default .panel-title a {
    display: block;
    font-style: italic;
    font-size: 1.5rem;
    padding-right: 3rem;
}
#directory .accordion-section .panel-default .panel-title:after {
    font-family: 'FontAwesome';
    font-style: normal;
    font-size: 3rem;
    content: "\2B9D";
    float: right;
    top: -45px;
    position: relative;
}
#directory .accordion-section .panel-default .panel-heading.collapsed .panel-title:after {
    content: "\2B9F";
}
#directory .accordion-section .panel-default .panel-collapse.collapsing {
    width: 100%;
    position: relative;
    top: -41px;
}
#directory .accordion-section .panel-default .panel-body {
    font-size: 1.2rem;
    padding: 1.5rem 1rem;
    background-color: white;
    border: 1px solid black;
    border-top: none;
}
.contractorBox {
    padding: 20px;
    border: solid 2px #162b43;
    height: 100%;
    width: 100%;
    background-color: hsla(205, 62%, 43%, 0.10);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, .4);
    border-radius: 5px;
}

/* NCIUA Page */
#nciua_page #jumbo {
    background: url('/images/Nciua4.jpeg') no-repeat bottom 70% center;
    background-size: cover;
}

/* FAQ page */
#faq_page #accordion .card {
    margin-bottom: 10px;
}
#faq_page #accordion .card-header {
    background-color: #80a2bb;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: all .3s ease;
}
#faq_page #accordion .card-header:hover {
    background-color: #F2E2C8;
}
#faq_page .card-body *:last-child {
    margin-bottom: 0;
}
#faq_page .section-header {
    margin-top: 2rem;
    border-bottom: 2px solid #212529;
}

.card-header {
    padding: .75rem 1.25rem !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, .125) !important;
}

.fix-basis {
    flex-basis: 0 !important;
}

/* Contact Us page */
#contact_us_page #jumbo {
    background: url('/images/Home.jpeg') no-repeat center center;
    background-size: cover;
}
#contact_us_page .contact-table {
    margin: 0 auto;
}
#contact_us_page .contact-table td {
    padding-left: 8px;
    font-size: 1.1rem;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* Claim Process page */
    #claim_process_page #process.section {
        padding-top: 2rem;
    }
    #process .process-text {
        width: 75%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Navbar */
    .navbar {
        padding-bottom: 0;
    }
    .navbar > .navbar-collapse.collapse:not(.show) {
        display: flex !important;
    }
    .navbar .container {
        padding: 0 1rem;
    }
    .navbar .navbar-brand {
        display: block;
        padding: 10px 0 5px 0;
    }
    .navbar .navbar-nav,
    .subnav .navbar-nav,
    .navbar .nav-item,
    .subnav .nav-item {
        display: inline-flex;
    }
    .navbar .navbar-nav,
    .subnav .navbar-nav {
        flex-direction: row;
    }
    .navbar .nav-item a,
    .subnav .nav-item a {
        display: inline-block;
    }
    ul.navbar-nav {
        width: auto;
        background-color: transparent;
    }
    #subnav {
        padding: 0 1rem;
    }
    ul.navbar-nav#subnav {
        background-color: transparent;
    }
    #subnav .navbar-collapse {
        width: 100%;
        background-color: #498498;
        background-color: #3a88c8;
        background-color: #2e6ca0;
        position: absolute;
        top: 6.1em;
        left: 0;
        text-align: center;
        z-index: 2;
    }
    #subnav .navbar-collapse ul.navbar-nav {
        max-width: 960px;
        width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    #subnav > .navbar-collapse > .navbar-nav > .nav-item {
        padding-left: 0;
    }
    .navbar-nav .navbar-collapse .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Claim Process page */
    ul.process-list:before {
        position: absolute;
        content: "";
        width: 3px;
        background-color: #666666;
        top: 90px;
        bottom: 100px;
        left: 64px;
    }
    .process-title:before {
        display: none;
    }
    .process-title {
        height: auto;
        line-height: initial;
        margin-bottom: 0;
    }

    /* FORTIFIED Roof page */
    #fortified_page #what .row {
        padding-top: 40px;
    }
    #fortified_page #wrapper {
        min-width: 900px;
    }
}

/* Bootstrap 5 collapse submenu style */
#dd_policyholders,
#dd_about {
    width: 100%;
    background-color: #337ab7;
}

.submenu-nav {
    width: 100%;
    padding-left: 100px;
    background-color: #337ab7;
}

    .submenu-nav .nav-link {
        color: #ffffff !important;
        padding: 14px 25px;
        font-size: 18px;
    }

        .submenu-nav .nav-link:hover {
            color: #ffffff !important;
            background-color: rgba(255,255,255,0.15);
        }

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .navbar {
        display: block;
    }
    #subnav .navbar-collapse ul.navbar-nav {
        max-width: 1140px;
    }
    #fortified_page .col-12.video .video-container {
        margin-top: 20%;
    }
}