*{
    font-family: 'Source Sans Pro', sans-serif;
}

html, body{
    margin: 0px;
    padding: 0px;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    background: url("../images/y-so-serious-white.png");
}

main > section{
    padding: 15px 35px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

main > section.section--no-shadow{
    box-shadow: none;
    background: none;
    padding: 0px;
}

input.btn.btn-default{
    background: #131371;
    color: #FFFFFF;
    margin-top: 15px;
}

/*
 * global */

.responsive__icon{
    display: none;
}

.responsive__open{
    position: absolute;
    background: #3c3a61f0;
    width: 100%;
    left: 0px;
    top: 143px;
    z-index: 100;
    padding: 15px;
    height: fit-content !important;
    display: flex;
    flex-direction: column;
}

.responsive__open li{
    width: 100%;
}

.button{
    text-decoration: none;
    padding: 10px 20px;
    border: none;
}

.button--blue{
    background: #23203B;
    color: #ffffff;
}

.button--blue:hover{
    opacity: .9;
    color: #ffffff;
}

h2.title{
    font-size: 23px;
}

h2.title::before{
    content: "";
    width: 16px;
    height: 16px;
    background: #F8C538;
    display: inline-block;
    margin-right: 6px;
}

/*
 * header */

.sub-header{
    background: #F8C538;
    padding-top: 5px;
    padding-bottom: 5px;
}

.sub-header nav{
    display: flex;
    justify-content: flex-end;
}

.sub-header a{
    text-decoration: none;
    color: #23203B;
    margin-left: 20px;
    font-size: 18px;
}

.sub-header a:first-child{
    margin-left: 0px;
}

header{
    background: #23203B;
    padding: 15px 0px 15px 0px;
}

header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .container nav{
    display: flex;
}

header .container nav li{
    list-style: none;
    margin-left: 50px;
}

header .container nav li:first-child{
    margin-left: 0px;
}

header .container nav li a{
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
}

header .container nav li a:hover{
    color: #F8C538;
}

header .container nav li.current-menu-item a{
    color: #F8C538;
 }

header .container .buscador{
    position: relative;
}

header .container .buscador img{
    position: absolute;
    width: 20px;
    right: 9px;
    top: 6px;
    opacity: .5;
    cursor: pointer;
}

header .container .buscador img:hover{
    opacity: 1;
}

header .container input{
    border: none;
    border-radius: 25px;
    padding: 5px 15px;
}

/*
 * main */
main{
    max-width: 1300px;
    min-height: 50vh;
    margin: 30px auto 30px auto;
}

main section:nth-child(2){
    margin-top: 80px;
}

main h3{
    font-weight: bold;
    color: #23203B;
    padding: 10px;
    padding-left: 0px;
    margin-bottom: 22px;
    font-size: 34px;
}

main .portada{
    height: 345px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

main .portada img{
    width: 100%;
}

/* 
 * slide */

.slide{
    background: #dedede;
}

.slide .slick-slide > div{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
}

.slide .slick-slide .caption{
    max-width: 500px;
    margin-left: 50px;
    background: #23203b63;
    padding: 20px;
}

.slide .slick-slide .caption p, .slide .slick-slide .caption h1{
    color: #ffffff;
}

.slide .slick-slide .caption a{
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
}

.slide .slick-prev:before{
    content: url("../images/left-chevron.svg");
}

.slide .slick-next:before{
    content: url("../images/right-chevron.svg");
}

.slide .slick-prev {
    left: -50px;
}

.slide .slick-next {
    right: -50px;
}

.slide .slick-prev, .slide .slick-next {
    width: 40px;
    height: 40px;
}

.slide .slick-dots li button:before{
    font-size: 20px;
}

.slide .slick-dots{
    bottom: -40px;
}

.slide .slide__back{
    height: 450px;
    display: flex !important;
    align-items: center;
    background-size: cover;
}

/*
 * projects */

.projects{
    background: #dedede;
    max-width: 90%;
    display: -moz-inline-grid !important;
    display: -ms-inline-grid !important;
    display: inline-grid !important;
}

.projects .slick-slide > div{
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects .slick-dots li button:before{
    font-size: 15px;
}

.projects .slick-dots{
    bottom: -35px;
}

.projects .slick-prev:before{
    content: url("../images/left-chevron.svg");
}

.projects .slick-next:before{
    content: url("../images/right-chevron.svg");
}

.projects .slick-prev, .projects .slick-next {
    width: 30px;
    height: 30px;
}

.projects .slick-prev {
    left: -40px;
}

.projects .slick-next {
    right: -40px;
}

.projects .project__back{
    display: inline-block;
    height: 300px;
    background-size: cover;
    /* position: relative; */
    cursor: pointer;
}

.projects .project__back span{
    background: #23203b7a;
    width: 100%;
    display: block;
    text-align: center;
    bottom: 0px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 20px;
}

/*
 * services */

.services{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.service-card a{
    text-decoration: none;
    color: #23203B;
}

.service-card h2{
    font-size: 17px;
    text-align: center;
    padding: 10px;
}

.services > div{
    flex: 0 0 48%;
    margin-top: 18px;
    min-height: 185px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.services--inside > div{
    flex: 0 0 22% !important;
}

.services > div:hover .mask__service{
    opacity: 1;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.services > div .mask__service{
    position: absolute;
    background: #23203bad;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.services > div .mask__service h2{
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

.services > div img{
    width: 100%;
}

.services__cont .button{
    margin: 0 auto 0 auto;
    display: table;
    margin-top: 30px;
}

/* 
 * social  */

.social{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    margin-top: 15px;
    margin-bottom: 40px;
}

.social p{
    font-size: 21px;
    margin-bottom: 0px;
}

.social nav{
    margin-left: 15px;
}

.social nav a{
    text-decoration: none;
    margin: 4px;
}

.social nav img{
    width: 35px;
}

/*
 * testimonials */ 

.testimonials{
    padding-top: 20px;
    display: -moz-inline-grid !important;
    display: -ms-inline-grid !important;
    display: inline-grid !important;
}

.testimonials .slick-slide > div > div{
    display: flex !important;
}

.testimonials .slick-slide div.img img{
    width: 80px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.testimonials .slick-slide div.txt{
    margin-left: 15px;
}

.testimonials .slick-slide div.txt h3{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0px;
}

.testimonials .slick-slide div.txt h4{
    font-size: 17px;
}

.testimonials .slick-slide div.txt p{
    font-size: 15px;
}

.testimonials .slick-prev{
    display: none !important;
}

.testimonials .slick-next:before{
    content: url("../images/right-chevron.svg");
}

/*
 * footer */ 

footer{
    background: url("../images/y-so-serious.png");
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 25px solid #F8C538;
    margin-top: 60px;
}

footer h2,footer p{
    color: #FFFFFF;
}

footer .container{
    max-width: 1200px;
    width: 85%;
}

footer .container .col{
    flex: 0 0 35%;
}

footer h2.title::before{
    background: #F8C538;
}

footer form{
    width: 60%;
}

footer form .campo{
    margin-bottom: 20px;
}

footer form .campo input{
    width: 100%;
    border: none;
    padding: 7px;
}

footer ul{
    padding: 0px;
    margin: 0px;
}

footer ul li{
    list-style: none;
    font-size: 18px;
}

footer ul li::before{
    content: "";
    width: 7px;
    height: 7px;
    background: #F8C538;
    display: inline-flex;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    margin-right: 10px;
}

footer ul li a{
    text-decoration: none;
    color: #FFFFFF;
}

footer ul li a:hover{
    color: #F8C538;
}

.resultado_{
    padding: 10px;
    border-left: 5px solid #000;
    margin-top: 20px;
    font-size: 17px;
    cursor: pointer;
    background: #FFFFFF;
    box-shadow: 0 0 10px #dedede;
}

.resultado_:hover{
    opacity: .6;
}