/* Debug */
.rb {
    border: 3px solid red;
}
.mb {
    border: 3px solid magenta;
}
.gb {
    border: 3px solid lime;
}
.bb {
    border: 3px solid blue;
}

/* Reset */
* {
    box-sizing: border-box;
}
main {
    padding-bottom: 1em;
}

/* Fonts */
body {
    font-family: "Pontano Sans", Helvetica, Arial, sans-serif;
}

.top-bar, .navigation {
    font-family: 'Istok Web', Helvetica, Arial, sans-serif;
}
.input, footer, .footer-sitemap, .btn {
    font-family: 'Lato', Helvetica, Arial, sans-serif;
}
p {
    font-size: 16px;
}

/* Page Layout */
@supports (display: flex) {
    .page-wrap {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    main {
        flex: 1;
    }
}

/* ELEMENTS */

/* Heading */
.heading {
    margin: 1.5em 0 1em;
    text-align: center;
    color: #ff6600;
    font-weight: bold;
}

/* Card */
.card {
    background: white;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.button {
    text-decoration: none;
    background: #ed9912;
    color: white;
    padding: 0.5em 1em;
    line-height: 2em;
    font-size: 1em;
}
.button:hover {
    background: #eba22e;
}

.button-lg {
    font-size: 1.5em;
}

.button-xl {
    font-size: 2em;
}
.button.button-round {
    border-radius: 8px;
}

/* Hero */
.hero {
    min-height: 300px;
    background-size: cover;
    display: flex;
    align-items: center;
}
.hero .heading {
    color: white;
    text-align: center;
}
.hero-buttons {
    margin-top: 3em;
}
.hero-buttons > div {
    margin-bottom: 2em;
}
.hero-buttons .btn {
    font-size: 2em;
    border-color: #ed9912;
    background: #ed9912;
    transition: all 0.5s;
}
.hero-buttons .btn:hover {
    background: #5ba3e3;
    border-color: #5ba3e3;
    transform: scale(1.05);
}
@media (min-width: 992px) {
    .hero-buttons .btn {
        font-size: 2.5em;
    }
}


/* Iconbox */
.iconbox {
    text-align: center;
    padding: 0 0.5em;
}
.iconbox .heading {
    color: #262626;
    margin: 0.5em 0;
}
.iconbox-icon {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em auto;
}
.iconbox-icon i {
    color: #0ca2e0;
    font-size: 50px;
}
.iconbox hr {
    width: 30%;
    height: 0.25em;
    background: #0ca2e0;
}
@media (min-width: 768px) {
    .iconbox-icon {
        margin: 2em auto;
    }
    .iconbox-icon i {
        font-size: 75px;
    }
}

/* Iconbox Circle */
.iconbox-circle {
    text-align: center;
    padding: 0 0.5em;
}
.iconbox-circle .heading {
    color: #262626;
    margin: 0.5em 0;
}
.iconbox-circle-icon {
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    width: 90px;
    margin: 1em auto;
    background: #F79468;
}
.iconbox-circle-icon.alternate {
    background: #6DAB3C;
}
.iconbox-circle-icon i {
    color: white;
    font-size: 50px;
}
@media (min-width: 768px) {
    .iconbox-circle-icon {
        height: 120px;
        width: 120px;
        margin: 2em auto;
    }
    .iconbox-circle-icon i {
        font-size: 75px;
    }
}

/* Iconlink */
.iconlink {
    text-align: center;
    padding: 0 0.5em;
    text-decoration: none;
    color: #262626;
}
.iconlink:hover,
.iconlink:visited,
.iconlink:focus {
    text-decoration: none;
    color: #262626;
}
.iconlink .heading {
    color: #0ca2e0;
    margin: 0.5em 0;
}
.iconlink-icon {
    text-align: center;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    height: 97px;
    width: 97px;
    margin: 1em auto;
}
.iconlink-icon i {
    color: #0ca2e0;
    font-size: 90px;
}
.iconlink hr {
    width: 30%;
    height: 0.25em;
    background: #0ca2e0;
}
.iconlink:hover i {
    color: grey;
}
.iconlink:hover .heading {
    color: #262626;
}
.iconlink:hover hr {
    background: grey;
}
.iconlink-home .iconlink-icon {
    height: 80px;
    width: 80px;
}
.iconlink-more .iconlink-icon {
    height: 90px;
    width: 90px;
    padding-left: 5px;
}
@media (min-width: 768px) {
    .iconlink-icon {
        height: 109px;
        width: 109px;
    }
    .iconlink-icon i {
        font-size: 100px;
    }
    .iconlink-home .iconlink-icon {
        height: 90px;
        width: 90px;
        margin-bottom: 36px;
    }
    .iconlink-more .iconlink-icon {
        height: 105px;
        width: 105px;
        padding-left: 7px;
        margin-bottom: 22px;
    }
}

/* Testimonial Carousel */
.testimonials {
    min-height: 400px;
    background-size: cover;
    background-position: bottom;
    color: black;
    padding: 1em;
}
.testimonials p {
    font-size: 18px;
}
.testimonials mark {
    background: yellow;
}
.carousel {
    padding: 1em;
    padding-bottom: 0;
}
.carousel .item {
    padding-bottom: 2em;
    min-height: calc(400px - 4em);
}
.carousel-indicators {
    bottom: 0;
}
.carousel-indicators li {
    border-color: black;
}
.carousel-indicators .active {
    background: black;
}
.testimonial-info {
    padding: 1em 0;
    display: flex;
}
.testimonial-info .img-wrap {
    width: 60px;
    padding-right: 0.5em;
}
.testimonial-info img {
    border-radius: 50%;
}
/* mobile */
.testimonial-mobile {
    display: flex;
    margin-bottom: 1em;
}
.testimonial-mobile .img-wrap {
    flex-shrink: 0;
    padding: 0.5em 1em 0.5em 0.5em;
}
.testimonial-mobile img {
    width: 75px;
    border: 2px solid black;
    border-radius: 50%;
}

/* Accordion */
.accordion {
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0;
    list-style: none;
    color: white;
}
.accordion-group {
    border-bottom: 1px solid #ddd;
}
.accordion-group:last-child {
    border-bottom: none;
}
.accordion-header,
.accordion-body {
    padding: 1em;
    color: #666;
    background: #f8f8f8;

    transition: background-color 500ms, color 500ms;
}
.accordion-header {
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}
.accordion-header.closed {
    background: #5aa1e3;
    color: white;
}
.accordion-header.closed:hover {
    background: #4d9ae1;
}
.accordion-body {
    display: none;
}
.accordion-header.closed {
    border-bottom: 0;
}

/* Side Accordion */
.sideaccordion {
    font-size: 16px;
    border-radius: 4px;
    padding: 0;
    list-style: none;
    color: white;
}
.accordion.row {
    margin: 0;
    border: none;
}
.sideaccordion .accordion-group {
    border: none;
}
.sideaccordion .accordion-header {
    border: 1px solid #ddd;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.sideaccordion .accordion-body {
    border: 1px solid #ddd;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/* Headerbox */
.headerbox-heading {
    background: #0d47a1;
    color: white;
    min-height: 150px;
    padding: 0 1em;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.headerbox-heading > * {
    margin: 0;
}
.headerbox-icon {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 3em 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.headerbox-icon i {
    font-size: 100px;
}
.headerbox-copy {
    font-size: 16px;
    background: #eee;
    border: 1px solid #ddd;
    padding: 1em;
}

/* Bigbullet */
.bigbullet {
    display: flex;
}
.bigbullet-bullet {
    padding: 1em;
}
.bigbullet-bullet > div {
    border: 3px solid #333;
    background: #0d47a1;
    color: white;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4em;
}
.bigbullet-copy p {
    font-size: 16px;
}

 /* Hover Image */
.hoverimg {
    min-height: 300px;
    max-width: 600px;
    margin: 0 auto 1em;

    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.hoverimg img {
    display: block;
    height: 100%;
    position: absolute;
    z-index: -100;
}
.hoverimg-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d47a1;
    opacity: 0.4;
    transition: all 500ms;
    z-index: -50;
}
.hoverimg-copy {
    padding: 0.5em 2em;
}
.hoverimg-copy h3 {
    text-align: center;
}
.hoverimg-copy hr {
    width: 0;
    transition: all 500ms;
}
.hoverimg-copy p {
    text-align: justify;
    transform: translate(33vw);
    opacity: 0;
    transition: all 500ms ease-out;
}
.hoverimg:hover .hoverimg-fade {
    opacity: 0.8;
}
.hoverimg:hover .hoverimg-copy p {
    transform: translate(0);
    opacity: 1;
}
.hoverimg:hover .hoverimg-copy hr {
    width: 100%;
}

/* Basic List */
.basiclist {
    font-size: 18px;
}

/* Form */
.form {
    padding: 2em 1em;
}
.form-header {
    margin-bottom: 1em;
}
.form-header > *:first-child {
    margin-top: 0;
}
.form-button {
    padding: 0 15px;
}
.form-radio.form-group label {
    font-weight: normal;
}
.form-hidden {
    display: none;
}

/* Modal */
.modal .form-group.form-radio > label {
    font-weight: bold;
}
.modal .form {
    padding-bottom: 0;
}
.modal-header .close {
    font-size: 45px;
}
@media (min-width: 768px) {
    .modal-dialog {
        width: calc(100vw - 60px);
        max-width: 1000px;
        margin-top: 110px;
    }
}
.modal label.btn {
    white-space: normal !important;
}
@media (max-width: 767px) {
    .modal-body,
    .modal-body-inner {
            padding: 0;
    }
}

/* new modal */
.modal-content {
    border-radius: 0;
}
.modal-body {
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* new radio button */
.modal .form-radio input {
    opacity: 0;
    position: absolute;
}
.modal .form-radio label {
    font-size: 1.3em;
    border: 2px solid #2e6da4;
    border-radius: 0;
    padding: 1em 2em;
    margin-bottom: 1em;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}
.modal .form-radio input:checked + label {
    background: #337ab7;
    color: white;
}

/* SECTIONS */

/* Header */

/* navigation */
.navigation {
    z-index: 1;
    height: 80px;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}
.brand {
    position: absolute;
    float: left;
    line-height: 70px;
    text-transform: uppercase;
}
.brand a,
.brand a:visited {
    color: #ffffff;
    text-decoration: none;
}
.brand img {
    height: 70px;
    padding-left: 15px;
}
nav {
    float: right;
}
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    float: left;
    position: relative;
}
nav ul li a {
    display: block;
    padding: 0 20px;
    line-height: 80px;
    background: white;
    color: #262626;
    text-decoration: none;
}
nav ul li a:focus {
    color: #262626;
    text-decoration: none;
}
nav ul li a:hover {
    background: #57a2df;
    color: white;
    text-decoration: none;
}
nav ul li a:not(:only-child):after {
    padding-left: 4px;
    content: " ▾";
}
nav ul li ul li {
      min-width: 190px;
}
nav ul li ul li a {
    padding: 15px;
    line-height: 20px;
}
.nav-dropdown {
    position: absolute;
    z-index: 2;
    box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
    display: none;
}
.nav-mobile {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    height: 80px;
    width: 80px;
}
@media only screen and (max-width: 1049px) {
    .nav-mobile {
        display: block;
    }
    .nav-list {
        box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }
    nav {
        width: 100%;
        padding: 80px 0 15px;
    }
    nav ul {
        display: none;
    }
    nav ul li {
        float: none;
    }
    nav ul li a {
        padding: 15px;
        line-height: 20px;
    }
    nav ul li ul li a {
        padding-left: 30px;
    }
    .nav-dropdown {
        position: static;
    }
}
@media screen and (min-width: 1050px) {
    .nav-list {
        display: block !important;
    }
}
#nav-toggle {
    position: absolute;
    left: 18px;
    top: 22px;
    cursor: pointer;
    padding: 10px 35px 16px 0px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 5px;
    width: 35px;
    background: #262626;
    position: absolute;
    display: block;
    content: '';
    transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
    top: -10px;
}
#nav-toggle span:after {
    bottom: -10px;
}
#nav-toggle.active span {
    background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
    top: 0;
}
#nav-toggle.active span:before {
    transform: rotate(45deg);
}
#nav-toggle.active span:after {
    transform: rotate(-45deg);
}

/* Sitemap */
.footer-sitemap {
    background: #555;
    color: white;
    padding: 1em 0;
}
.footer-sitemap a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}
.footer-sitemap a:hover {
    text-decoration: none;
}
.footer-sitemap ul {
    list-style-type: none;
    padding-left: 0.5em;
}

/* Footer */
footer {
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #262626;
}
.footer-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-certs,
.footer-copy-right {
    margin-bottom: 0.5em;
}
footer img {
    max-height: 60px;
}
footer a,
footer a:visited {
    color: #262626;
    text-decoration: none;
}

@media (min-width: 550px) {
    .footer-copy {
        flex-direction: row;
    }
    .footer-copy-right {
        margin-bottom: 0;
        margin-right: 0.8em;
    }
    .footer-copy-right::after {
        padding-left: 0.5em;
        content: '|';
    }
}
@media (min-width: 750px) {
    footer {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-certs {
        margin-bottom: 0;
    }
    .footer-copy {
        flex: 1;
        justify-content: center;
    }
}

/* return to top button */
.return-top {
    display: none;
    position: fixed;
    bottom: 1em;
    right: 1em;
    border-radius: 4px;
    padding: 1em;
    background: black;
    opacity: 0.3;
    color: white;
    cursor: pointer;
    transition: opacity 1s ease-out;
}
.return-top:hover {
    opacity: 0.7;
}

/* Page Specific */

/* Index */
.index .hero .heading {
    text-shadow: -1px 1px 1px black, -1px -1px 1px black, 1px 1px 1px black, 1px -1px 1px black;
}
@media (min-width: 992px) {
    .index .hero-buttons {
        margin-top: 8em;
        margin-bottom: 5em;
    }
}
.index main {
    padding-bottom: 0;
}

/* Reverse */
.reverse-mortgage .hero {
    color: white;
    background-position: center;
    padding-bottom: 1em;
}
.reverse-mortgage .hero h1 {
    font-size: 4em;
}
.reverse-mortgage .hero .btn {
    font-size: 3em;
    margin: 0.5em 0;
    padding: 0.25em 1em;
}
.reverse-mortgage .hero h2 {
    font-size: 2.5em;
}
.reverse-mortgage .hero h3 {
    font-size: 2.5em;
}
.reverse-mortgage .bigbullet-bullet div {
    background: #1e73be;
}
.reverse-mortgage .bigbullet-bullet .bigbullet-orange {
    background: #ed8e00;
}
.reverse-mortgage .bigbullet-bullet .bigbullet-green {
    background: #56b215;
}

/* Blog */
.blog .container {
    padding-top: 2em;
}
.blog-preview {
    background: #eee;
    padding: 2em 1em;
    margin: 0 0 2em;
}
.blog-preview img {
    width: 100%;
}
.blog-preview .copy h4 {
    margin-top: 1em;
}
@media (min-width: 768px) {
    .blog-preview .copy h4 {
        margin-top: 0;
    }
}
.blog-preview .copy a {
    color: #262626;
}
.blog-preview .copy a:hover {
    color: #57a2df;
    text-decoration: none;
}
.blog-post h1 {
    margin: 1em 0;
}
.blog-post h1 a {
    color: #262626;
}
.blog-post h1 a:hover {
    color: #57a2df;
}
.blog-post main .container img {
    width: 100%;
    margin-bottom: 1em;
}
.blog-post blockquote {
    background: #eee;
    font-size: 20px;
    font-weight: bold;
    padding: 1em 2em;
    font-style: italic;
}
.blog-post blockquote.small {
    font-size: 16px;
}
.related {
    margin-top: 2em;
}
.related-post {
    padding: 1em;
    height: 150px;
}
.related-inner {
    display: block;
    background: #eee;
    height: 100%;
    padding-top: 1em;
    padding-bottom: 1em;
}
.related-img {
    height: 100%;
    margin-bottom: 1em;
    overflow: hidden;
}
.related h5,
.related h6 {
    color: #262626;
}
.related a:hover h5 {
    color: #57a2df;
}

/* About Us */
.about-us mark {
    background: yellow;
    text-decoration: underline;
}
.about-us .content {
    padding-top: 2em;
}
.about-us .hero .heading {
    color: #333;
}
.about-testimonial {
    border: 1px solid #ddd;
    padding: 1em;
}
.about-testimonial-inner {
    background: #eee;
    padding: 1em;
    margin-bottom: 0.5em;
}
.about-map {
    margin-top: 1em;
}
.about-addresses img {
    width: 100%;
    padding: 1em 0;
}
.about-states img {
    margin: 2em 0 4em;
    max-width: 100%;
}
.about-states p {
    line-height: 0.8;
}
.about-states-licenses > div {
    height: 100px;
}

/* Contact */
.contact .form {
    margin-top: 2em;
    border: 1px solid #ddd;
    border-radius: 0.5em;
}
.contact .iconbox-circle {
    margin-bottom: 2em;
}
.contact .iconbox-circle-icon {
    border: 1px solid grey;
    background: white;
}
.contact .iconbox-circle-icon i {
    color: #5aa1e3;
}
.contact label.required::after {
    content: ' *';
    color: #5aa1e3;
}

/* Privacy Policy */
.privacy-policy .content {
    margin-top: 2em;
}
.privacy-policy h4 {
    margin-top: 2em;
}
