/*
    segurosmercal.cl
    main.css
*/
@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700&display=swap');

/* structure */
body {
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Roboto Condensed', sans-serif;
}

img {
    max-width: 100%;
}

/* global */
h1,h2,h3,h4,h5,h6 {
    margin: 0;
    font-weight: 300;
}

h1, .h1 {
    font-size: 1.6em;
    line-height: 1em;
}

h2 {
    font-size: 1.4em;
    line-height: 1em;
}

h3 {
    font-size: 1.4em;
    line-height: 1em;
}

h4 {
    font-size: 1.2em;
    line-height: 1em;
}

h5, .h5 {
    font-size: 1.2em;
    line-height: 1em;
}

h6, .h6 {
    font-size: 1.1em;
    line-height: 1em;
}

@media (min-width: 992px) {
    h1, .h1 {
        font-size: 2.4em;
        line-height: 1em;
    }

    h2 {
        font-size: 2.1em;
        line-height: 1em;
    }

    h3 {
        font-size: 1.7em;
        line-height: 1em;
    }

    h4 {
        font-size: 1.4em;
        line-height: 1em;
    }

    h5, .h5 {
        font-size: 1.2em;
        line-height: 1em;
    }

    h6, .h6 {
        font-size: 1.1em;
        line-height: 1em;
    }    
}

/* input */
.form-control {
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    -webkit-border-radius: 0px;
       -moz-border-radius: 0px;
            border-radius: 0px;
    box-shadow: none;
    border: 1px solid rgba(0,0,0,0.35);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
                 -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
                    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition-duration: .5s;
}

.form-control:focus {
    border-color: #424a52;
    box-shadow: none;
}

textarea.form-control {
    resize: none;
}

/* a */
a {
    color: black;
    text-decoration: none;
}

a:focus,
a:hover {
    text-decoration: none;
    color: #002549;
}

/* equal height columns */
@media (min-width: 992px) {
    .row-eq-height {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display:         flex;
    }
}

/* header */
header {
}

header .header-bottom {
    display: block;
    width: 100%;
    height: 15px;
    background-color: #475455;
}

/* header-navbar */
#header-navbar {
    width: 100%;
    height: auto;
    background-color: white;
    border: none;
    margin: 0;
}

@media (min-width: 992px) {
    #header-navbar {
        height: 130px;
    }
    
    #header-navbar.pinned {
        height: 90px;
        position: fixed;
    }
}

#header-navbar .navbar-header {
    height: auto;
}

@media (min-width: 992px) {
    #header-navbar .navbar-header {
        height: 130px;
    }
    
    #header-navbar.pinned .navbar-header {
        height: 90px;
    }
}

#header-navbar .navbar-header .navbar-brand {
    padding-top: 10px;
    padding-bottom: 10px;
    height: auto;
}

@media (min-width: 992px) {
    #header-navbar .navbar-header .navbar-brand {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    #header-navbar.pinned .navbar-header .navbar-brand {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

#header-navbar .navbar-header .navbar-brand img {
    width: auto;
    height: 50px;
}

@media (min-width: 992px) {
    #header-navbar .navbar-header .navbar-brand img {
        width: auto;
        height: 60px;
    }
    
    #header-navbar.pinned .navbar-header .navbar-brand img {
        width: auto;
        height: 50px;
    }
}

#header-navbar .navbar-toggle {
    background-color: #113b63;
    border: 1px solid white;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    margin: 17.5px 10px 17.5px 0;
}

@media (min-width: 992px) {
    #header-navbar .navbar-toggle {
        margin: 24px 10px 24px 0;
    }
}

#header-navbar .navbar-toggle .icon-bar {
    background-color: white;
}

/* main-navbar */
#main-navbar {
    float: none;
}

@media (min-width: 992px) {
    #main-navbar {
        float: left;
        margin-left: 0%;
    }
}

#main-navbar li > a {
    font-size: 1em;
    text-transform: uppercase;
    padding-left: 7.5px;
    padding-right: 7.5px;
}

@media (min-width: 992px) {
    #main-navbar li > a {
        font-size: 1em;  
        padding-top: 55px;
        padding-bottom: 55px;
    }
    
    #header-navbar.pinned #main-navbar li > a {
        padding-top: 35px;
        padding-bottom: 35px;
    }
}

#main-navbar li > a:hover {
    color: #113b63;
}

@media (min-width: 992px) {
    #main-navbar li > a::before {
    }
}

/* well-navbar */
#well-navbar .nav {
    margin: 0;
    text-align: center;
}

@media (min-width: 992px) {
    #well-navbar .nav {
        margin-right: 5%;
    }
}

#well-navbar .nav li {
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
    width: 100%;
}

@media (min-width: 992px) {
    #well-navbar .nav li {
        padding-top: 45px;
        padding-bottom: 45px;
        margin-left: 10px;
        display: block;
        width: auto;
    }
}

#header-navbar.pinned #well-navbar .nav li {
    padding-top: 20px;
    padding-bottom: 20px;
}

#well-navbar .nav li a {
    display: block;
    width: 100%;
    background-color: #003366;
    color: white;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    font-size: 18px;
    line-height: 18px;
    height: 40px;
    text-align: center;
    text-transform: uppercase;
    padding: 11px 20px;
}

@media (min-width: 992px) {
    #well-navbar .nav li a {
        display: inline-block;
    }
}

/* top-wrapper */
#top-wrapper {
    
}

#top-wrapper .top-lead {
    display: block;
    position: relative;
    width: 100%;
    height: 320px;
    background-color: white;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#top-wrapper.in .top-lead {
    height: 420px;
}

#top-wrapper .top-lead .top-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,0.25);
}

#top-wrapper .top-lead .top-title {
    position: relative;
    z-index: 99;
    top: 140px;
    bottom: 140px;
    text-align: center;
}

#top-wrapper.in .top-lead .top-title  {
    top: 220px;
}

#top-wrapper .top-lead .top-title .title-h {
    color: white;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2.8em;
    line-height: 1.05em;
}

#top-wrapper .top-lead .top-title .title-h > span {
    text-transform: uppercase;
    font-weight: 500;
    color: #003366;
    font-size: 1em;
    line-height: 1.05em;
}

#top-wrapper .top-lead .top-title .title-h > small {
    display: block;
    color: white;
    font-weight: 300;
    font-size: 0.4em;
    margin-top: 5px;
}

/* main-wrapper */
#main-wrapper {
    
}

/* section-wrapper */
.section-wrapper {
    padding: 40px 15px 45px 15px;
}

.section-title {
    text-align: left;
    padding: 35px 5px;
}

.section-title .title-h {
    color: #003366;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2.8em;
    line-height: 1.05em;
}

.section-title .title-h > small {
    text-transform: uppercase;
    font-weight: 500;
    color: #003366;
    font-size: 1em;
    line-height: 1.05em;
}

/* block-wrapper */
.block-wrapper {
    padding: 35px 0px;
}

/* block-title */
.block-title {
    margin: 25px 0px;
    padding: 10px 0px;
    text-align: center;
    display: inline-block;
    width: auto;
    clear: both;
    font-size: 16px;
}

.block-title .title-h {
    color: #003366;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 1.6em;
    line-height: 1.05em;
}

.block-title .title-h > small {
    text-transform: uppercase;
    font-weight: 500;
    color: #003366;
    font-size: 1em;
    line-height: 1.05em;
}

@media (min-width: 992px) {
    .block-title .title-h {
        font-size: 2.8em;
    }

    .block-title .title-h > small {
    }    
}

/* bottom-wrapper */
#bottom-wrapper {
    
}

/* footer */
footer {
    
}

footer::before {
    content: '';
    display: block;
    width: 100%;
    height: 15px;
    background-color: #475455;
}

footer .footer-top {
    background-color: #cdcdcd;
    padding-top: 35px;
    text-align: center;
}

footer .footer-top img {
    max-height: 50px;
    display: inline-block;
}

footer .footer-middle {
    background-color: #cdcdcd;
    padding-top: 35px;
    padding-bottom: 35px;
}

footer .footer-middle .title-footer {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 700;
    color: #383838;
}

footer .footer-middle .title-footer > span {
    display: inline-block;
    color: #383838;
}

footer .footer-middle .footer-block {
    font-size: 0.9em;
    font-weight: 300;
    line-height: 1em;
}

footer .footer-middle .footer-block p {
    margin: 0;
}

footer .footer-middle .footer-social {
    border-top: 1px solid rgba(255,255,255,.2);
    padding: 30px 0 0 0;
    margin-top: 30px;
    text-align: center;
}

footer .footer-middle .footer-social li {
    display: inline-block;
}

footer .footer-middle .footer-social li a {
    font-size: 20px;
    line-height: 2;
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 10px 10px 0 0;
    text-align: center;
    border: 1px solid #383838;
    border-radius: 100%;
    color: #383838;
    -webkit-transition: all 0.1s ease 0s;
    -o-transition: all 0.1s ease 0s;
    transition: all 0.1s ease 0s;
}

footer .footer-middle .footer-social li a:hover {
    color: white;
    border: 1px solid #383838;
    background-color: #383838;
}

footer .footer-bottom {
    font-size: 14px;
    padding: 5px;
    color: #bababa;
    background-color: #222222;
}

footer .footer-bottom a {
    color: #475455;
}

/* goals-wrapper */
.goals-wrapper {
    
}

.goal-col .goal-media {
    background-color: #0052a1;
    padding: 35px 25px;
    height: 250px;
}

.goal-col:nth-child(2n) .goal-media {
    background-color: #004282;
}

.goal-col:nth-child(3n) .goal-media {
    background-color: #003466;
}

.goal-col:nth-child(4n) .goal-media {
    background-color: #002549;
}

.goal-col .goal-media .goal-image {
    display: block;
    width: 60px;
    filter: invert(1);
    margin-bottom: 20px;
}

.goal-col .goal-media .goal-body {
    color: white;
}

.goal-col .goal-media .goal-body .goal-title {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 10px;
    font-weight: 600;
}

.goal-col .goal-media .goal-body .goal-caption {
    opacity: 0.8;
}

/* services-carousel */
#services-carousel {
}

#services-carousel .service-item {
    margin-top: 5px;
    display: block;
    text-align: center;
    padding: 2.5px;
}

#services-carousel .service-item .service-wrapper {
    background-color: white;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.5);
       -moz-box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.5);
            box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.5);
}

#services-carousel .service-item .service-img {
    display: inline-block;
    width: 240px;
    height: 240px;
    text-align: center;
    padding: 60px;
}

#services-carousel .service-item .service-img img {
    display: inline-block;
    width: 120px;
    height: 120px;
    filter: invert(15%) sepia(42%) saturate(3352%) hue-rotate(193deg) brightness(94%) contrast(103%);
}

#services-carousel .service-item .service-info {
    display: block;
    padding: 10px 15px;
    margin-top: 15px;
}

#services-carousel .service-item .service-info .service-name {
    font-size: 1em;
    color: black;
    text-transform: uppercase;
}

#services-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 120px;
    top: 50%;
    margin-top: -60px;
    padding: 10px 0;
    z-index: -1;
}

#services-carousel .owl-nav .owl-prev span, 
#services-carousel .owl-nav .owl-next span {
    font-size: 120px;
    line-height: 90px;
    color: #a2a2a2;
    font-weight: 300;
}

#services-carousel .owl-nav .owl-prev {
    float: left;
    margin-left: -10px;
}

#services-carousel .owl-nav .owl-next {
    float: right;
    margin-right: -10px;
}

@media (min-width: 992px) {
    #services-carousel .owl-nav .owl-prev {
        margin-left: -35px;
    }

    #services-carousel .owl-nav .owl-next {
        margin-right: -35px;
    }    
}

/* message-box */
.message-box {
    padding: 20px 0;
    background: transparent;
}

.message-box label {
    color: #222222;
}

.message-box input,
.message-box select,
.message-box textarea {
    margin-bottom: 30px;
    background: #dddddd;
    border: 0;
    font-size: 14px;
    text-align: left;
    vertical-align: middle;
    padding: 0 10px;
    height: 40px;
    width: 100%;
    outline: none;
    -webkit-transition: all 0.30s ease-in-out;
       -moz-transition: all 0.30s ease-in-out;
        -ms-transition: all 0.30s ease-in-out;
         -o-transition: all 0.30s ease-in-out;
}

.message-box input:focus,
.message-box select:focus,
.message-box textarea:focus {
    background: #333333;
    color: #dddddd;
            box-shadow: none;
       -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.message-box textarea {
    padding: 10px 10px 10px 20px;
    resize: vertical;
    height: 90px;
}
 
.message-box input:focus,
.message-box select:focus,
.message-box textarea:focus {
    box-shadow: none;
    outline: none;
}

.message-box .btn {
    -webkit-border-radius: 0px;
       -moz-border-radius: 0px;
            border-radius: 0px;
}

.message-box .submit-btn {
    margin-top: 30px;
    background: #003366 none repeat scroll 0 0;
    font-size: 18px;
    line-height: 18px;
    width: auto;
    text-align: center;
    text-transform: uppercase;
    border: medium none;
    color: white;
    height: 40px;
    padding: 11px 20px;
    position: relative;
}

/* contact-box */
.contact-box {
    display: block;
    width: 100%;
    text-align: center;
    margin: 35px 5px 10px 5px;
}

.contact-box .bullet {
    display: block;
}

.contact-box .bullet i {
    font-size: 2em;
    color: #003366;
}

.contact-box h3 {
    font-weight: 300;
    font-size: 1.4em;
    text-transform: uppercase;
    color: #003366;
}

.contact-box small {
    font-size: 1em;
}

/* home */
#home-a {
    padding: 0;
}

#home-b {
    display: block;
    width: 100%;
    min-height: 50vh;
    padding-top: 30px;
    padding-bottom: 30px;
}

#home-c {
    display: block;
    width: 100%;
    min-height: 20vh;
    background-color: #475455;
    margin-top: 100px;
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    #home-c {
        min-height: 30vh;
    }
}

#home-c #services-carousel {
    margin-top: -120px;
}

#home-d {
    display: block;
    width: 100%;
    min-height: 20vh;
    background-color: #475455;
    background-image: url(../images/home/bottom-background.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative; 
    padding-top: 160px;
    padding-bottom: 150px;
    text-align: center;
}

#home-d .contact-box {
    background-color: #003366;
    padding: 15px 20px;
}

#home-d .contact-box .bullet {
    font-size: 2.2em;
    margin-bottom: 10px;
}

#home-d .contact-box .bullet i {
    color: white;
}

#home-d .contact-box h3 {
    color: white;
    font-size: 1.4em;
}

#home-d .contact-box small {
    color: white;
    font-size: 1em;
}

/* about */
#about-a {
    
}

/* insurances */
#insurances-a {
    
}

#insurances-a ul {
    padding: 0;
    margin: 35px 0;
}

#insurances-a ul > li {
    list-style: none;
    display: block;
    padding: 15px 10px;
    background-color: #00337e;
    color: white;
    margin-bottom: 10px;
}

#insurances-a ul > li::before {
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f0da";
    display: inline-block;
    margin-right: 10px;
}