/* MAIN CSS */

/* FUENTES */
@font-face{
    font-family: 'Open-Sans';
    src: url('fonts/open-sans/OpenSans-Regular.ttf');
    font-weight: 400;
    font-style: normal;
}

@font-face{
    font-family: 'Open-Sans';
    src: url('fonts/open-sans/OpenSans-Semibold.ttf');
    font-weight: 500;
    font-style: normal;
}

@font-face{
    font-family: 'Open-Sans';
    src: url('fonts/open-sans/OpenSans-Bold.ttf');
    font-weight: 600;
    font-style: normal;
}

@font-face{
    font-family: 'Open-Sans';
    src: url('fonts/open-sans/OpenSans-Light.ttf');
    font-weight: 200;
    font-style: normal;
}

/* FIN FUENTES */

/* ESTILO ANIMACIÓN  LOADER */
.loader-container{
    width: 100%;
    height: 100%;
}
.loader {
  position: absolute;
  top: calc(50% - 60px);
  left: calc(50% - 60px);
  border: 20px solid #f3f3f3;
  border-radius: 50%;
  border-top: 20px solid #de7f27;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ESTILOS GENERALES */

html,body{
    font-family:Open-Sans,Arial;
    background:#fbfbef;
}


a{
    color: #fff;
    text-decoration: none;
}

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

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #fff;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #fff;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #fff;
}

:-moz-placeholder { /* Firefox 18- */
  color: #fff;
}

.center{
    margin-left: auto;
    margin-right: auto;
}

.vanilla{
    background-color: #feff99;
}

.divider{
    width: 1px;
    height: 100%;
}

.clean{
    background: transparent;
    border: none;
    padding: 0 10px;
    color: inherit;
}

.border_white{
    border-left: 1px solid #fff;
}

.border_grey{
    border-left: 1px solid grey;
}

.lateral_padding{
    padding: 0 20px;
}


.flex{
  display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.layout-row{
    flex-direction: row;
}

.layout-column{
    flex-direction: column;
}

.flex-wrap{
   -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
}

/* FIN ESTILOS GENERALES */




/* ESTILOS PARA HEADER Y FOOTER */
.footer{
    height: 125px;
    border-top: 1px solid #d5d682;
}

.footer ul{
    padding-left: 2px;
    list-style-type: none;
    color: #643417;
    font-size: .8rem;
}

.footer ul .fas.fa-phone{
    transform: rotate(90deg);
}

.footer h5{
    color: #643417;
    font-size: 1rem;
    margin: 7px 5px;
}

.brown_frame{
    width: 100%;
    height: 35px;
    background: #643417;
    color:#fff;
}

.brown_frame span{
    font-size: .8rem;
}

.flex_container{
    max-width: 1200px;
    width: 100%;
    height: 100%;
    
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    flex-direction: row;
    justify-content:space-between;
    align-items: start;
    position: relative;
    padding: 5px;
}

.flex_container.flex_center{
    justify-content:center;
}


.header{
    height: 85px;
    position: relative;
    box-shadow: 1px 2px 10px #888;
    z-index: 1;
    transition: top 1s linear;
}

.nav-header{
    padding:0 5rem;
    box-shadow: 1px 2px 10px #64341763;
    z-index: 1;
}

.navbar-light .nav-link,.navbar-light .nav-link.active{
    color: #643417 !important;
}

.navbar-collapse{
    z-index: 5;
}

ul.navbar-nav li:not(:last-child){
    border-right: 1px solid;
    border-color: #a76842;
}


.navbar-light .navbar-toggler{
    border: none;
    color: #643417;
}

.header_contact_data>div{
    margin: 0 3px
}

.header_contact_data span{
    margin: 0 5px;
}

.top-fixed{
    position: fixed;
    top: 0px;
    width: 100%;
}

.buttons_container{
    height: 35px;
    
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

}


.buttons_container a{
    color: inherit;
}

.buttons_container a:hover{
    color: #b13325;
    text-decoration: none;
}

.logo-container img{
    height: 85px;
    padding: 5px;
    z-index: 5;
}

.watermark_container{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -115px;
    overflow: hidden;
    z-index: -1;
}

.watermark_container img{
    width: 35%;
    top: -125%;
    left: 20px;
    position: relative;
    opacity: 0.2;
}


/* FIN ESTILOS PARA HEADER Y FOOTER */

/* ESTILOS PARA IMAGENES INDEX */

.slider_container,.banner_container{
    position: relative;
    height: 350px;
    overflow: hidden;
}

.banner_container{
    height: 200px;
}

.slider_text{
    position: absolute;
    color: #fff;
    top: 25%;
    left: 14%;
    width: 70%;
    height: 50%;
    background: rgba(100, 52, 23, 0.7);
    /* opacity: 0.5; */

    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    align-items: center;
    justify-content: center;
    text-align: center;
}

.slider_text span{
    font-size: 35px;
    font-weight: 400;
    width: 90%;
}


.slider_img,.slider_img img,
.banner_img,.banner_img img{
    width: 100%;
}

/* FIN ESTILOS PARA IMAGENES INDEX */


/* ESTILO PARA TARJETAS */

#cards_container{
    padding: 30px 0; 
}

#cards_container .panel-default{
    height: 361px;
    margin: 10px;
    box-shadow: 0px 0px 7px #ccc;
    border: 1px solid;
    border-color: #ccc;
    background: #fff;
    border-radius: 2px; 
}

#cards_container .panel-default>.panel-heading{
    background: transparent;
    border-color: #ddd;
    color: #a94442;
}

#cards_container .panel-default>.panel-heading h4{
    text-align: center;
    border-bottom: 1px solid;
    border-color: #ccc;
    padding: 15px 5px;
    font-size: 1rem;
}

#cards_container .panel-body{
    height: calc(100% - 73px);

    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    flex-direction: column;
    justify-content:space-between;
    align-items: center;
}

#cards_container .card_img{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 4px;
}

#cards_container .card_img .thumbnail{
    width: 210px;
    height: 165px;
    overflow: hidden;
    margin: 0;

    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#cards_container .card_img .thumbnail img{
    width: 100%;
    height: 100%;
    margin: 0;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}


#cards_container .panel:hover .card_img .thumbnail img{
    -webkit-filter:none;
    filter: none;
}


.panel.panel-main,.panel.panel-main .panel-heading{
    border-radius: 0;
    border: none;
}

.panel.panel-main .panel-heading{
    background: #bbb;
    padding: 0 15px;
}

.panel.panel-main .panel-heading.open{
    background: #643417;
}

.panel-heading.open .panel-title{
    height: 49px;
    border-bottom: 1px solid #fff;
    margin: 0;
}

.panel-title a.flex_container{
    padding: 6px 8px;
}

.panel-title a{
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: none;
    align-items: center;
}

.panel-title a:hover{
    color: orange;
}

.chevron.collapser{
    padding: 6px;
    border-radius: 2px;
    background: #666;
    color: #fff;
}

.panel-heading.open .chevron.collapser{
    background: orange;
}


.panel-collapse{
    background: #643417;
    color: #fff;
    font-weight: 300;
    font-size: 12px;
    padding: 8px 20px;
}

.panel-collapse.show{
    margin-bottom: 10px;
}

.panel-collapse .panel-body{
    border: none !important;
}

.panel-body p{
    font-size: .8rem;
    margin-bottom: 5px;
}

.main_services .panel-body p{
    margin-bottom: 0;
    width: 100%;
}    

.quienes-somos .panel-body p{
    font-size: .85rem;
    width: 100%;
}

.panel-body ul{
    padding-left: 30px;
}


#cards_container.quienes-somos .panel-default{
    height: auto;
    padding: 10px;
}

#cards_container.quienes-somos>.row{
    margin: 0px;
}

.quienes-somos .panel-heading h4{
    text-align: left !important;
    padding: 10px 5px;
    font-size: 1.3rem;
}

.quienes-somos .panel-body{
    padding: 10px 5px;
    align-items:flex-start !important;
    height: auto;
}

/* FIN ESTILO PARA TARJETAS */

section{
    background: #fbfbef;
}

section.contact-view{
    background: #67412b;
    max-width: 100%;
    width: 100%;
}

.contact-section{
    padding: 40px 0px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;

    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */

    flex-direction: column;
    color: #fff;
}

.contact-section .row{
    margin: 10px;font-weight: 200;
}

.delay{
    animation-delay: .5s;
}

.map-container{
    height: 250px;
    border: 4px solid white;
    padding: 0 !important;
    position: relative;
    margin: 5px;
}

.map-container img{
    width: 100%;
}

.map-container iframe{
    position: absolute;
    width: 100%;
    height: 100%;
}


.contact-form input, .contact-form textarea{
    width: 100%;
    margin: 5px;
    padding: 8px;
    background: transparent;
    border: 1px solid #ccc;
    color: #ffffff;
    font-size: 13px;
    resize: none;
}

.contact-form input.submit-button{
    width: 15%;
    background: #feffbd;
    color: #b13325;
    border: none;
    border-radius: 2px;
}



/* ESTILO PARA SECCION DE SERVICIOS*/


.services-container{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;

    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: row;
    flex-wrap: wrap;
}

.card{
    width: 200px;
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px;
    box-shadow: 0px 2px 10px #ddd;
    background: #fff;
    border-radius: 2px;
    color: #a94442;
    font-size: 16px;
}

.card.services{
    width: 100%;
}

.horizontal-flex{
    display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
    flex-direction: row;
    align-items: center;
}

.card .img, .card .title{
    padding: 5px 10px;
}

.subtitle{
    font-weight: 500;
    font-size: 13px;
}    


/* Extra small devices (portrait phones, less than 576px)*/
@media screen and (max-width: 575.98px) { 
    .logo-container img{
        height: 78px;
    }
    
    .slider_container{
        height: auto !important;
    }

    .slider_text{
        top: 16% !important;   
        left: 2% !important;
        width: 95% !important;
        height: auto !important;
        padding: 12px 0px !important;
    }

    .slider_text span{
        font-size: 6vw !important;
        line-height: 1.3 !important;
    }

    .slider_img img{
        margin-top: -35px !important;
    }

    .footer .flex_container{
        flex-direction: column;
        align-items: start;
    }

    .footer .logo-container img{
        height: 70px;
    }

    .footer .data-container{
        padding: 0 15px;
    }

    .footer ul{
        font-size: .95rem;
    }

}

/* Small devices (landscape phones, less than 768px)*/
@media screen and (max-width: 767.98px) { 
    .banner_container {
        height: auto;
    }

    .header_contact_data .label{
        display: none;
    }

    .clean img{
        width: 25px;
    }

    .header_contact_data span.icon {
        font-size: 1.1rem;
    }

    .footer{
        height: auto !important;
        padding:5px 13px;
    }

}

/* Medium devices (tablets, less than 992px) */
@media screen and (max-width: 991.98px) { 
    .nav-header{
        padding: 0 1rem;
    }

    .navbar-collapse {
        z-index: 5;
        padding: 8px;
        border-top: 1px solid #6434177a;
    }

    ul.navbar-nav li{
        text-align: center;
    }

    ul.navbar-nav li:not(:last-child){
        border: none;
        border-bottom: 1px solid #6434177a;
    }

    .watermark_container img{
        top: -57px;
        left: 102px;
        opacity: 0.2;
    }

    .slider_text{
        top: 20%;
        left: 2.5rem;
        width: 90%;
        padding: 15px;
    }

    .slider_text span{
        font-size: 2rem;
        line-height: 2.3rem;
    }

    #cards_container {
        padding: 30px;
    }


}

