/*
    codechi.cl
    main.css
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&display=swap');

body {
    font-family: 'Manrope', sans-serif;
}

/* separator */
.separator {
    display: block;
    width: 100%;
    height: 2px;
    background-color: darkgray;
}

/* header-navbar */
#header-navbar {
    background-color: white;
    height: auto;
    -webkit-transition: all .2s ease-out;
       -moz-transition: all .2s ease-out;
         -o-transition: all .2s ease-out;
            transition: all .2s ease-out;
}

@media (min-width: 576px) { 
    #header-navbar {
        background-color: white;
        height: auto;
    }
}

@media (min-width: 768px) { }

@media (min-width: 992px) {
    #header-navbar {
        background-color: white;
        height: 90px;
    }
    
    #header-navbar .navbar-content {
        height: 70px;
    }
    
    #header-navbar.pinned {
        height: 50px
    }
    
    #header-navbar.pinned .navbar-content {
        height: 50px;
    }
}

@media (min-width: 1200px) {}

#header-navbar .navbar-brand {
    margin: 0;
    background-color: white;
    padding: 10px 10px 10px 10px;
    -webkit-transition: all .2s ease-out;
       -moz-transition: all .2s ease-out;
         -o-transition: all .2s ease-out;
            transition: all .2s ease-out;
}

#header-navbar .navbar-brand img {
    height: 40px;
    -webkit-transition: all .2s ease-out;
       -moz-transition: all .2s ease-out;
         -o-transition: all .2s ease-out;
            transition: all .2s ease-out;
}

@media (min-width: 576px) { }

@media (min-width: 768px) { }

@media (min-width: 992px) {
    #header-navbar .navbar-brand {
        padding: 10px 10px 10px 10px;
    }
    
    #header-navbar.pinned .navbar-brand {
        padding: 5px 10px;
    }
    
    #header-navbar .navbar-brand img {
        height: 70px;
    }
    
    #header-navbar.pinned .navbar-brand img {
        height: 40px;
    }
}

@media (min-width: 1200px) { }

/* main-navigation */
#main-navigation {
    
}

@media (min-width: 576px) { }

@media (min-width: 768px) { }

@media (min-width: 992px) { }

@media (min-width: 1200px) { }

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

}

/* top-lead */
.top-lead {
    background-color: rgba(0,60,137,0.5);
    width: 100%;
    min-height: 360px;
    padding: 160px 0 25px;
    position: relative;
    z-index: -1;
}

@media (min-width: 576px) { 
    .top-lead {
        min-height: 360px;
    }
}

@media (min-width: 768px) {
    .top-lead {
        min-height: 240px;
    }
}

@media (min-width: 992px) { }

@media (min-width: 1200px) { }

/* top-title */
.top-title {
}

.top-title .title-h {
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: white;
    position: relative;
    font-family: 'Raleway', sans-serif;
}

.top-title .title-h::before {
    content: '';
    position: absolute;
    top: 5px;
    color: rgba(255,255,255,0.1);
    left: 0;
    right: 0;
    z-index: -1;
    font-weight: 700;
    font-size: 62px;
    text-transform: uppercase;
    line-height: 0;
}

@media (min-width: 576px) {
    .top-title .title-h::before {
        content: attr(data-title);
    }
}

@media (min-width: 768px) {
    .top-title .title-h::before {
        content: attr(data-title);
    }
}

@media (min-width: 992px) { }

@media (min-width: 1200px) { }

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

/* section-wrapper */
.section-wrapper {
    padding-top: 35px;
    padding-bottom: 20px;
}

/* section-title */
.section-title {
    margin-top: 35px;
    margin-bottom: 45px;
}

.section-title .title-h {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #191919;
    position: relative;
    font-family: 'Raleway', sans-serif;
}

.section-title .title-h::before {
    content: attr(data-title);
    position: absolute;
    top: 5px;
    color: #f4f4f4;
    left: 0;
    right: 0;
    z-index: -1;
    font-weight: 700;
    font-size: 52px;
    text-transform: uppercase;
    line-height: 0;
}

/* block-wrapper */
.block-wrapper {
    
}

/* articles-wrapper */
.articles-wrapper {
    padding-top: 35px;
    padding-bottom: 35px;
}

/* article-wrapper */
.article-wrapper {
    padding-top: 35px;
    padding-bottom: 35px;
}

/* pagination-wrapper */
.pagination-wrapper {
    border-top: 1px solid #eae9e9;
    border-bottom: 0;
    padding: 45px 0 0;
    margin: 10px 0 20px;
}

.pagination-wrapper .pagination {
    padding: 0px;
    margin: 0;
}

.pagination-wrapper .pagination > li {
    display: inline-block;
    margin-right: 5px;
}

.pagination-wrapper .pagination > li:last-child {
    margin-right: 0;
}

.pagination-wrapper .pagination > li > a {
    border: none;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    color: #888888;
    width: 50px;
    height: 50px;
    line-height: 20px;
    padding: 15px 10px;
    text-align: center;
    display: block;
}

.pagination-wrapper .pagination > li > a i {
    line-height: 28px;
}

.pagination-wrapper .pagination > li a:hover {
    background-color: #003c89;
    color: white;
}

.pagination-wrapper .pagination > li.active a {
    background-color: #003c89;
    color: white;
}

.pagination-wrapper .pagination > li.prev > a,
.pagination-wrapper .pagination > li.next > a {
    width: auto;
    text-transform: uppercase;
    color: black;
    font-size: 0.9em;
}

.pagination-wrapper .pagination > li.prev > a:hover,
.pagination-wrapper .pagination > li.next > a:hover {
    background-color: transparent;
    color: #003c89;
}

/* footer */
footer {
    
}

footer .footer-top {
}

footer .footer-middle {
    min-height: 500px;
    background-image: url(../images/footer.png);
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding-top: 35px;
    padding-bottom: 400px;
}

footer .footer-middle .title-footer {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #003c89;
    text-transform: uppercase;
    margin-bottom: 13px;
    text-align: center;
}

footer .footer-middle .nav-footer {
    margin: 0;
    padding: 0;
}

footer .footer-middle .nav-footer li {
    list-style: none;
    text-align: center;
}

footer .footer-middle .nav-footer li > a {
    color: #a9a9a9;
    text-decoration: none;
    font-size: 14px;
}

footer .footer-bottom {
    background-color: #2b2b2b;
    text-align: right;
}

footer .footer-bottom {
    color: white;
}

footer .footer-bottom a {
    color: #003c89;
    text-decoration: none;
}

/* about-sequence */
.about-item {
    display: block;
    width: 100%;
    height: 460px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 35px;
    border-left: 20px solid #003c89;
    border-right: none;
    position: relative;
    -webkit-transition: border .2s ease-out;
       -moz-transition: border .2s ease-out;
         -o-transition: border .2s ease-out;
            transition: border .2s ease-out;
}

@media (min-width: 576px) { }

@media (min-width: 768px) { }

@media (min-width: 992px) { 
    .about-item {
        height: 260px;
    }
}

@media (min-width: 1200px) { }

.about-item:after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: url(../images/helper/bottom-shadow.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

.about-item:nth-of-type(2n) {
    border-left: none;
    border-right: 20px solid #003c89;
    text-align: right;
}

.about-item:hover {
    border-left-width: 40px;
    border-right-width: 40px;
}

@media (min-width: 576px) { }

@media (min-width: 768px) { }

@media (min-width: 992px) {
    .about-item:hover {
        border-left-width: 160px;
        border-right-width: 160px;
    }
}

@media (min-width: 1200px) { }

.about-item .about-content {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 55px 35px;
    z-index: 2;
}

.about-item .about-content .about-title {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.5em;
}

.about-item .about-content .about-caption {
    color: white;
    font-size: 18px;
}

@media (min-width: 576px) { }

@media (min-width: 768px) { }

@media (min-width: 992px) {
    .about-item .about-content .about-title {
        font-size: 2em;
    }
    
    .about-item .about-content .about-caption {
        
    }
}

/* key-item */
.key-item {
    min-height: 100px;
    margin-bottom: 30px;
}

.key-item .key-image {
    display: block;
    padding: 0;
    margin-bottom: 20px;
}

.key-item .key-image img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center center;
}

.key-item.key-item-left {
    text-align: right;
}

.key-item.key-item-left .key-image {
}

.key-item.key-item-left .key-image img {
    border-left: 20px solid #1f4e78;
}

.key-item.key-item-right {
    text-align: left;
}

.key-item.key-item-right .key-image {
}

.key-item.key-item-right .key-image img {
    border-right: 20px solid #1f4e78;
}

.key-item .key-info {
    padding-top: 0;
    padding-bottom: 0;
}

.key-item .key-info .key-name {
    line-height: 0.8;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    color: #c3191f;
}

/* team-item */
.team-item {
    position: relative;
    text-align: center;
}

@media (min-width: 992px) {
    .team-item {
        padding: 0;
    }
}

.team-item .content {
    position: relative;
    display: block;
    color: black;
    background: rgba(255,255,255,0.95);
    padding: 35px 25px;
    text-align: center;
    margin-bottom: 50px;
}

.team-item .content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid #fff;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
}

.team-item .avatar {
    display: inline-block;
    position: relative;
    text-align: center;
    margin-bottom: 5px;
    z-index: 1;
}

.team-item .avatar img {
    display: block;
    width: 120px !important;
    height: 120px !important;
    object-fit: cover;
    object-position: center center;
    margin: 0;
}

.team-item .author {
    margin-top: 10px;
    margin-bottom: 35px;
    text-align: center;
    color: white;
}

/* service-box */
.service-box {
    position: relative;
    height: 360px;
    transition: all ease-in-out .5s;
    -webkit-transition: all ease-in-out .5s;
       -moz-transition: all ease-in-out .5s;
        -ms-transition: all ease-in-out .5s;
         -o-transition: all ease-in-out .5s;
    margin-bottom: 25px;
    overflow: hidden;
}

.service-box .image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center center;
}

@media (min-width: 576px) { }

@media (min-width: 768px) {
    .service-box .image {
        width: 100%;
    }
}

@media (min-width: 992px) { }

@media (min-width: 1200px) { }
    
.service-box .content {
    position: absolute;
    background-color: #003c89;
    width: 100%;
    bottom: -150px;
    padding: 0px 15px 20px 15px;
    transition: all ease-in-out .5s;
    -webkit-transition: all ease-in-out .5s;
       -moz-transition: all ease-in-out .5s;
        -ms-transition: all ease-in-out .5s;
         -o-transition: all ease-in-out .5s;
}
    
.service-box:hover .content {
    position: absolute;
    background: #e1e1e1;
    bottom: 0;
    transition: all ease-in-out .5s;
    -webkit-transition: all ease-in-out .5s;
       -moz-transition: all ease-in-out .5s;
        -ms-transition: all ease-in-out .5s;
         -o-transition: all ease-in-out .5s;
}

.service-box .content .title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6em;
    display: inline-block;
    color: white;
    padding: 35px 0;
    font-weight: 700;
    text-transform: uppercase;
    min-height: 40px;
    vertical-align: middle;
}

.service-box:hover .content .title {
    color: #c3191f;
}

.service-box .content .caption {
    min-height: 100px;
    color: black;
}

.service-box .content:hover .caption {
    color: black;
}

/* articles */
#articles-carousel {}

#articles-carousel .owl-dots {
    text-align: center;
}

#articles-carousel .owl-dot {
    display: inline-block;
    width: 50px;
    height: 10px;
    background-color: white;
    border: 1px solid #cccccc;
    -webkit-border-radius: 0;
       -moz-border-radius: 0;
            border-radius: 0;
    margin-right: 5px;
}

#articles-carousel .owl-dot:last-of-type {
    margin-right: 0px;
}

#articles-carousel .owl-dot.active {
    border: 1px solid #003c89;
    background-color: #003c89;
}

/* message-box */
.message-box {
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
    padding: 30px;
}

.message-box .message-form input, .message-box .message-form textarea {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.message-box .message-form input::focus, .message-box .message-form textarea::focus {
    background-color: #003c89;
}

.message-box .message-form input {
    padding: 20px 15px;
}

.message-box .message-form textarea {
    padding: 12px 15px;
}

.message-box .message-form button[type="submit"] {
    background: #003c89;
    border: 0;
    padding: 10px 24px;
    color: #fff;
    transition: 0.4s;
}

.message-box .message-form button[type="submit"]:hover {
    background: #003c89;
}

/* contact-box */
.contact-box {
    color: #444444;
    text-align: center;
    box-shadow: 0 0 10px rgba(214, 215, 216, 0.6);
    padding: 20px 0 30px 0;
}

.contact-box a {
    color: #777777 !important;
    text-decoration: none;
}

.contact-box i {
    font-size: 28px;
    width: 50px;
    height: 50px;
    color: #003c89;
    border-radius: 50%;
    padding: 8px;
    border: 2px dotted #003c89;
}

.contact-box h3 {
    font-size: 20px;
    color: #777777;
    font-weight: 700;
    margin: 10px 0;
}

.contact-box p {
    padding: 0;
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

/* home */
#home-a {
    padding-bottom: 35px;
}

#home-a .section-wrapper {
    display: block;
    position: relative;
    min-height: 300px;
    background-color: white;
    z-index: 99;
    padding: 25px 30px 20px 30px;
}

#home-a .section-title {
    text-align: center;
}

#home-a .section-title .title-h {
    font-size: 2em;
    line-height: 1;
    display: inline-block;
    text-transform: none;
}

#home-a .section-title .title-h > span {
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    color: #003c89;
    text-transform: none;
    margin: inherit;
    letter-spacing: inherit;
}

#home-a .section-title .title-h > span:nth-of-type(2n) {
    font-weight: 600;
    color: #c3191f;
}

#home-b {
    padding-top: 10px;
    padding-bottom: 35px;
}

#home-b .articles-wrapper {
    padding: 0;
}

#home-c {
    padding-top: 30px;
    padding-bottom: 65px;
}

/* about */
#about-a {
    
}

#about-b {
    padding-top: 35px;
    padding-bottom: 35px;
}

#about-c {
    display: block;
    position: relative;
    z-index: 9;
    min-height: 50vh;
    background-color: white;
    background-image: url(../images/background/equipo.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 55px;
    padding-bottom: 55px;
    margin-bottom: 35px;
}

#about-c::after {
    background: rgba(38,38,38,0.8);
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -2;
}

#about-c .section-title .title-h {
    color: white;
}

#about-c .section-title .title-h::before {
    color: rgba(255,255,255,0.1);
}

/* contact */
#contact-a {
    padding-top: 35px;
    padding-bottom: 35px;
}

#contact-b {
}

#contact-c {
    display: block;
    position: relative;
    z-index: 9;
}

#contact-c iframe {
    min-height: 50vh;
}