﻿
a {
    color: #4982cf;
}

footer #footer-top {
    background: #003865;
    background-image: linear-gradient(#003865, #0071ba)
}

footer #footer-bottom {
    background-color: #0a3254;
    background-image: linear-gradient(#00102d, #0a3254)
}

.font-gotham-book {
    font-family: Gotham-Book
}

.text-blue {
    color: #003868;
}



.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.border-left-danger {
    border-left: 0.25rem solid #e74a3b !important;
}

.border-bottom-primary {
    border-bottom: 0.25rem solid #4e73df !important;
}

.border-bottom-success {
    border-bottom: 0.25rem solid #1cc88a !important;
}

.border-bottom-info {
    border-bottom: 0.25rem solid #36b9cc !important;
}

.border-bottom-warning {
    border-bottom: 0.25rem solid #f6c23e !important;
}

.border-bottom-danger {
    border-bottom: 0.25rem solid #e74a3b !important;
}

.border-right-primary {
    border-right: 0.25rem solid #4e73df !important;
}

.border-right-success {
    border-right: 0.25rem solid #1cc88a !important;
}

.border-right-info {
    border-right: 0.25rem solid #36b9cc !important;
}

.border-right-warning {
    border-right: 0.25rem solid #f6c23e !important;
}

.border-right-danger {
    border-right: 0.25rem solid #e74a3b !important;
}


    #homepage_mainimage {
        background: url(../png/banner.png);
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover;
    }

    #homepage_findacontractor {
        /*margin-top: 10px;
        margin-right: 2px;
        margin-left: 2px;
        margin-bottom: 2px;*/
    }


@media (min-width: 576px) {
    #homepage_mainimage {
        background: url(../png/hero_image_a.png);
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover;
    }

    #homepage_findacontractor {
        /*margin-top: 150px;
        margin-right: 50px;
        margin-bottom: 50px;*/
    }
}


.text-nrca-red {
    color: #dc0032 !important;
}

.text-nrca-green {
    color: #3daf2c !important;
}

.text-nrca-orange {
    color: #ff681d !important;
}

.text-nrca-blue {
    color: #00b3e3 !important;
}

.text-nrca-dark-blue {
    color: #003057 !important;
}

.text-nrca-mid-blue {
    color: #4982CF !important;
}

.text-nrca-red {
    color: #C8102E !important;
}

.text-nrca-purple {
    color: #8a65c4 !important;
}


.bg-nrca-red {
    color: #dc0032 !important;
}

.bg-nrca-green {
    color: #3daf2c !important;
}

.bg-nrca-orange {
    color: #ff681d !important;
}

.bg-nrca-blue {
    color: #00b3e3 !important;
}

.bg-nrca-dark-blue {
    color: #003057 !important;
}

.bg-nrca-mid-blue {
    color: #4982CF !important;
}

.bg-nrca-red {
    color: #C8102E !important;
}

.bg-nrca-purple {
    color: #8a65c4 !important;
}


.addthis_default_style {
    float: right;
}


/* https://www.w3schools.com/howto/howto_css_dropdown.asp */
/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
    margin-left:auto;
    margin-right:auto;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top:-5px;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}
​





/* https://bootsnipp.com/snippets/92xNm */
#team {
    background: #eee !important;
}

/*section {
    padding: 60px 0;
}*/

    section .section-title {
        text-align: center;
        color: #007b5e;
        margin-bottom: 50px;
        text-transform: uppercase;
    }

#team .card {
    border: none;
    background: #ffffff;
}

.image-flip:hover .backside,
.image-flip.hover .backside {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    transform: rotateY(0deg);
    border-radius: .25rem;
}

.image-flip:hover .frontside,
.image-flip.hover .frontside {
    -webkit-transform: rotateY(180deg);
    -moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
    transform: rotateY(180deg);
}

.mainflip {
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -ms-transition: 1s;
    -moz-transition: 1s;
    -moz-transform: perspective(1000px);
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
    position: relative;
}

.frontside {
    position: relative;
    -webkit-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    z-index: 2;
    margin-bottom: 30px;
}

.backside {
    position: absolute;
    top: 0;
    left: 0;
    background: white;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
    -webkit-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    -moz-box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
    box-shadow: 5px 7px 9px -4px rgb(158, 158, 158);
}

.frontside,
.backside {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: 1s;
    -webkit-transform-style: preserve-3d;
    -moz-transition: 1s;
    -moz-transform-style: preserve-3d;
    -o-transition: 1s;
    -o-transform-style: preserve-3d;
    -ms-transition: 1s;
    -ms-transform-style: preserve-3d;
    transition: 1s;
    transform-style: preserve-3d;
}

    .frontside .card,
    .backside .card {
        min-height: 312px;
    }

        .backside .card a {
            font-size: 18px;
            color: #007b5e !important;
        }

        .frontside .card .card-title,
        .backside .card .card-title {
            color: #007b5e !important;
        }

        .frontside .card .card-body img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
        }




/* https://bootsnipp.com/snippets/92e5X */
/*********************** Demo - 1 *******************/
.box1 img, .box1:after, .box1:before {
    width: 100%;
    transition: all .3s ease 0s
}

.box1 .icon, .box2, .box3, .box4, .box5 .icon li a {
    text-align: center
}

    .box10:after, .box10:before, .box1:after, .box1:before, .box2 .inner-content:after, .box3:after, .box3:before, .box4:before, .box5:after, .box5:before, .box6:after, .box7:after, .box7:before {
        content: ""
    }

.box1, .box11, .box12, .box13, .box14, .box16, .box17, .box18, .box2, .box20, .box21, .box3, .box4, .box5, .box5 .icon li a, .box6, .box7, .box8 {
    overflow: hidden
}

    .box1 .title, .box10 .title, .box4 .title, .box7 .title {
        letter-spacing: 1px
    }

    .box3 .post, .box4 .post, .box5 .post, .box7 .post {
        font-style: italic
    }

.mt-30 {
    margin-top: 30px
}

.mt-40 {
    margin-top: 40px
}

.mb-30 {
    margin-bottom: 30px
}

.box1 .icon, .box1 .title {
    margin: 0;
    position: absolute
}

.box1 {
    box-shadow: 0 0 3px rgba(0,0,0,.3);
    position: relative
}

    .box1:after, .box1:before {
        height: 50%;
        background: rgba(0,0,0,.5);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        transform-origin: 100% 0;
        transform: rotateZ(90deg)
    }

    .box1:after {
        top: auto;
        bottom: 0;
        transform-origin: 0 100%
    }

    .box1:hover:after, .box1:hover:before {
        transform: rotateZ(0)
    }

    .box1 img {
        height: auto;
        transform: scale(1) rotate(0)
    }

    .box1:hover img {
        filter: sepia(80%);
        transform: scale(1.3) rotate(10deg)
    }

    .box1 .title {
        font-size: 19px;
        font-weight: 600;
        color: #fff;
        text-transform: uppercase;
        text-shadow: 0 0 1px #004cbf;
        bottom: 10px;
        left: 10px;
        opacity: 0;
        z-index: 2;
        transform: scale(0);
        transition: all .5s ease .2s
    }

    .box1:hover .title {
        opacity: 1;
        transform: scale(1)
    }

    .box1 .icon {
        padding: 7px 5px;
        list-style: none;
        background: #004cbf;
        border-radius: 0 0 0 10px;
        top: -100%;
        right: 0;
        z-index: 2;
        transition: all .3s ease .2s
    }

    .box1:hover .icon {
        top: 0
    }

    .box1 .icon li {
        display: block;
        margin: 10px 0
    }

        .box1 .icon li a {
            display: block;
            width: 35px;
            height: 35px;
            line-height: 35px;
            border-radius: 10px;
            font-size: 18px;
            color: #fff;
            transition: all .3s ease 0s
        }

.box2 .icon li a, .box3 .icon a:hover, .box4 .icon li a:hover, .box5 .icon li a, .box6 .icon li a {
    border-radius: 50%
}

.box1 .icon li a:hover {
    color: #fff;
    box-shadow: 0 0 10px #000 inset,0 0 0 3px #fff
}

@media only screen and (max-width:990px) {
    .box1 {
        margin-bottom: 30px
    }
}


/*********************** Demo - 21 *******************/
.box21 {
    text-align: center;
    position: relative
}

    .box21:after, .box21:before {
        content: "";
        width: 2px;
        height: 2px;
        border-radius: 50%;
        background: rgba(0,0,0,.55);
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0)
    }

    .box21:hover:after, .box21:hover:before {
        -webkit-transform: scale(400);
        -moz-transform: scale(400);
        -ms-transform: scale(400);
        -o-transform: scale(400);
        transform: scale(400)
    }

    .box21:before {
        -o-transition: all .5s linear .3s;
        -moz-transition: all .5s linear .3s;
        -ms-transition: all .5s linear .3s;
        -webkit-transition: all .5s linear .3s;
        transition: all .5s linear .3s
    }

    .box21:hover:before {
        -moz-transition-delay: 0s;
        -webkit-transition-delay: 0s;
        -o-transition-delay: 0s;
        -ms-transition-delay: 0s;
        transition-delay: 0s
    }

    .box21:after {
        -o-transition: all .5s linear .6s;
        -moz-transition: all .5s linear .6s;
        -ms-transition: all .5s linear .6s;
        -webkit-transition: all .5s linear .6s;
        transition: all .5s linear .6s
    }

    .box21:hover:after {
        -moz-transition-delay: .2s;
        -webkit-transition-delay: .2s;
        -o-transition-delay: .2s;
        -ms-transition-delay: .2s;
        transition-delay: .2s
    }

    .box21 img {
        width: 100%;
        height: auto
    }

    .box21 .box-content {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: 0 0;
        color: #fff;
        padding-top: 10px;
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        transform: scale(0);
        -ms-transition: all .3s linear 0s;
        -o-transition: all .3s linear 0s;
        -webkit-transition: all .3s linear 0s;
        -moz-transition: all .3s linear 0s;
        transition: all .3s linear 0s;
        z-index: 1
    }

    .box21:hover .box-content {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
        -moz-transition-delay: .4s;
        -webkit-transition-delay: .4s;
        -o-transition-delay: .4s;
        -ms-transition-delay: .4s;
        transition-delay: .4s
    }

    .box21 .title {
        font-size: 21px;
        font-weight: 700;
        text-transform: uppercase;
        border-bottom: 1px solid #fff;
        padding-bottom: 20px;
        margin-top: 20px
    }

    .box21 .description {
        font-size: 14px;
        font-style: italic;
        padding: 0 10px;
        margin: 15px 0
    }

    .box21 .read-more {
        display: block;
        width: 120px;
        background: #4982cf;
        border-radius: 5px;
        font-size: 14px;
        color: #fff;
        text-transform: capitalize;
        padding: 10px 0;
        margin: 0 auto
    }

.paginationoverflow {
    overflow-x: auto;
}
.paginationoverflow .pagination {
    justify-content: left !important;
}
@media only screen and (max-width:990px) {
    .box21 {
        margin-bottom: 30px
    }
    .paginationoverflow {
        width: 999px;
    }
}

@media only screen and (max-width:479px) {
    .box21 .box-content {
        padding-top: 0
    }
    .paginationoverflow {
        width: 479px;
    }
}

@media only screen and (max-width:359px) {
    .box21 .title {
        padding-bottom: 10px
    }
    .paginationoverflow {
        width: 359px;
    }
}

@media only screen and (max-width:1200px) {
    .paginationoverflow {
        width: 1200px;
    }
}
@media only screen and (max-width:1300px) {
    .paginationoverflow {
        width: 1300px;
    }
}
@media only screen and (max-width:1400px) {
    .paginationoverflow {
        width: 1400px;
    }
}
@media only screen and (max-width:1500px) {
    .paginationoverflow {
        width: 1500px;
    }
}
@media only screen and (max-width:1599px) {
    .paginationoverflow {
        width: 1500px;
    }
}
@media only screen and (max-width:1699px) {
    .paginationoverflow {
        width: 1500px;
    }
}
@media only screen and (max-width:1799px) {
    .paginationoverflow {
        width: 1500px;
    }
}
@media only screen and (min-width:1800px) {
    .paginationoverflow {
        width: 1500px;
    }
}

/* NRCA Modal dialog css to replace bootstrap */
/* The Modal (background) */
.mmodal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5; /* 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 */
.mmodal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* The Close Button */
.mclose {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.mclose:hover,
.mclose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.mmodal-header {
    padding: 2px 16px;
    /*  background-color: #5cb85c;*/
    background-color: rgba(0,0,0,0.19);
    color: white;
}

.mmodal-body {
    padding: 2px 16px;
}

.mmodal-footer {
    padding: 2px 16px;
/*    background-color: #5cb85c;
*/    background-color: rgba(0,0,0,0.19);
    color: white;
}

.hidden {
    display:none!important;
}