/*
Theme Name: Total QC SAS
Theme URI: https://totalqcsas.com/
Author: Rolando Ramos Torres
Author URI: https://rolandoramostorres.com/
Description: Design by Morfika.co - Code by RoLo
Version: 1.0
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.en.html
Text Domain: totalqcsas
*/

/**
*	Colores
*/
:root {
    --color-blue:      #0086af;
    --color-darkblue:  #31357F;
    --color-black:     #333333;
    --color-lightgrey:     #F2F2F2;
    --color-grey:     #555;

    --color-blue-rgba:      rgba(0,134,175,0.5);
    --color-darkblue-rgba:      rgba(49,53,127,0.5);
}

/*********************************
*
*			BASIC HTML
*
*********************************/
body {
    font-family: 'PT Sans', sans-serif;
}

p{

}
h1,h2,h3,h4{

}
strong{

}
a:link,a:visited,a:active{

}
a:hover{

}


/*********************************
*
*			CLASES GENERALES
*
*********************************/


.responsive-video { 
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.responsive-video-frontpage{
    padding-bottom: 38.07%;
}
.responsive-video-locaciones{
    padding-bottom: 66.64%;
}

.responsive-video iframe, .responsive-video object, .responsive-video embed {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
}
video {
    width: 100%    !important;
    height: auto   !important;
}

.big{
    font-size: 1.5rem;
}


/*************************************************
*
*			SLIDERS
*
**************************************************/


.bx-wrapper .bx-viewport {
	left: 0px !important;
	border: none !important;
	box-shadow: none !important;
}
.bx-wrapper .bx-viewport{
    background: transparent;
}
.bx-wrapper .img-fluid{
    width: 100%;
}


/*************************************************
*
*			HEADER
*
**************************************************/
header{
    background-color:white;
}

.logo img{
    width: 140px; 
}

/* search */
.search-box{
    margin-top:1rem;
}
.search-box .widget_search{
    width:200px;
}

#mainmenu .nav-item a{
    color: var(--color-blue);
    text-transform: uppercase;
    font-size: small;
    padding:7px 16px;
    font-weight: 400;
}

#mainmenu .nav-item a:hover,
#mainmenu .nav-item.active a{
    color: var(--color-darkblue);
}

#mainmenu .nav-item.active a{
    font-weight: 700;
}


/*************************************************
*
*			SECTIONS
*
**************************************************/

/* BOX HOVER*/

.box_hover {
    position: relative;
    overflow: hidden;
}

.box_hover img {
    -moz-transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	width:100%;
	height: auto;
}
.box_hover:hover img {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
.box_hover .overlay {
    text-align: center;
    /*white-space: nowrap;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    color: #FFF;
    background-color:var(--color-blue-rgba);
    opacity:1;
    -webkit-transition: opacity .3s ease-out;
    -moz-transition: opacity .3s ease-out;
    -o-transition: opacity .3s ease-out;
    transition: opacity .3s ease-out;
    overflow:visible;
}
.box_hover:hover .overlay {
    background:transparent;
    opacity:1;
}

.box_hover .overlay h3 {
	text-align: center;
    font-size: 5.25vw;
    width: 80%;
    text-align: center;
    margin: auto;
    text-transform: uppercase;
}
.box_hover:hover .overlay h3 {
	text-shadow: 2px 2px 8px var(--color-darkblue);
}





.page-frontpage{
    margin: 0 2rem;
}
.page-frontpage .desktop{
    display: none;
}
.page-frontpage .img-fluid{
    width: 100%;
}


.page{
    min-height: 400px;
}

.page .blue,
.page .darkblue{
    color:white;
}
.page .blue{
    background-color:var(--color-blue);
}
.page .darkblue{
    background-color:var(--color-darkblue);
}
.page .lightgrey{
    background-color:var(--color-lightgrey);
}


.page .diapositiva{
    min-height: calc(100vw);
}
.page .diapositiva .contenido{
   padding:3em;   
   text-align: justify;
   text-align-last: center;
}
.page .diapositiva h2{
    font-size:1.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* page-service */

.page-service .service-header{
    width: 100%;
    height: 200px;
    background-size: cover;
    background-repeat: none;
    background-position: right center;
    background-attachment: fixed;

    margin-bottom:2rem;
}

.page-service .service-header h1{
    color:white;

    width: 70%;
    margin:0 auto;
    text-align: center;
    font-size: 1.5rem;

    text-shadow: 2px 2px 8px var(--color-darkblue);
}

.page-service .contenido{
    color:var(--color-darkblue);
}



/* page gestion hseq and pqrs*/

.page-gestion-hseq h1.title{
    border:1px solid white;
    color:white;
    padding:1.25rem 1rem;
    font-size: 1.15rem;
}

.page-gestion-hseq .item.page-pqrs .item{
    margin:5rem auto;
}

.page-gestion-hseq .item,
.page-pqrs .item{
    width:80vw;
    margin:0 auto;
}

.page-gestion-hseq .item .encabezado,
.page-pqrs .item .encabezado{
    margin-bottom: 2rem;
}

.page-gestion-hseq .item .logo,
.page-pqrs .item .logo{
    display:none;
}

.page-gestion-hseq .item .contenido,
.page-pqrs .item .contenido{
    text-align: justify;
    margin-left:auto;
    margin-right: 0;
    color:var(--color-darkblue);
}
.page-gestion-hseq .item .contenido-imagen,
.page-pqrs .item .contenido-imagen{
    margin-left:auto;
    margin-right: 0;
}

.page-gestion-hseq .item h2,.page-gestion-hseq .item h3,
.page-pqrs .item h2,.page-pqrs .item h3{
    color:var(--color-blue);
    font-weight: 400!important;
    font-style: italic;
    margin:0; padding: 0;
}
.page-gestion-hseq .item h2,
.page-pqrs .item h2{
    text-transform: uppercase;
}

.page-gestion-hseq .item .contenido h2,
.page-gestion-hseq .item .contenido h3,
.page-gestion-hseq .item .contenido h4{
    font-style: normal;
    color:inherit;
    font-weight: 700 !important;
    padding:0.5rem 0 0.75rem 0;
}
.page-gestion-hseq .item .contenido h2{ font-size: 2rem; }
.page-gestion-hseq .item .contenido h3{ font-size: 1.5rem; }
.page-gestion-hseq .item .contenido h4{ font-size: 1.25rem; }

ul.no-bullets {
    list-style: none;
}
ul.no-bullets ul{
    list-style: none;
}

ul.no-bullets li{
    padding-left: 0; text-indent: -2em;
}



.page-clientes h1.title{
    margin-top:1rem;
}
.page-clientes h1.title{
    border:1px solid var(--color-blue);
    color:var(--color-blue);
    padding:1.25rem 2rem;
    font-size: 1.15rem;
    margin-bottom:3rem;
}


/* page contacto*/


.page-contacto .contacto{
    padding:2rem 0 3rem 0;
}

.page-contacto input[type="text"],
.page-contacto input[type="email"],
.page-contacto textarea
{
    width:100%;
    border-radius: 0.35rem;
    border:none;
    padding:0.5rem 0.75rem;
}

.page-contacto h1{
    text-transform: uppercase;
    font-size: 1.85rem;
    text-align: center;
}

.page-contacto .email a{
    color:white;
}
.page-contacto a.habeasdata{
    color:white;
    text-decoration: underline;
}
.page-contacto a.habeasdata:hover{
    font-weight: 700;
}
.page-contacto .email i{
    margin-right:0.5rem;
}



.page-pqrs .item{
    margin:0 auto;
    padding:2rem 0;
}

.page-pqrs .encabezado p{
    padding:2rem 0;
}

.page-pqrs .procedimiento{
    color:var(--color-blue);
}

.page-pqrs .small-print{
    font-size: 0.85rem;
    line-height: 1rem;
    padding-bottom:1rem;
}
.page-pqrs .formulario{
    color:var(--color-darkblue);
}

.page-pqrs .formulario input[type="text"],
.page-pqrs .formulario input[type="email"],
.page-pqrs .formulario input[type="number"],
.page-pqrs .formulario select,
.page-pqrs .formulario textarea
{
    width:100%;
    border:none;
    border:1px solid darkgrey;
    padding:0.5rem 0.75rem;
    background-color: transparent;
}
.page-pqrs .formulario textarea
{
    min-height: 200px;
    height: 200px;
}


.page-gestion-hseq .box_hover .overlay{
    background:transparent;
}
.page-gestion-hseq .box_hover{
    background:var(--color-darkblue);
}
.page-gestion-hseq .box_hover_even{
    background:var(--color-blue);
}
.page-gestion-hseq .box_hover:hover .overlay h3{
    text-shadow: none;
}
.page-gestion-hseq .box_hover:hover .overlay{
    color:var(--color-darkblue);
}
.page-gestion-hseq .box_hover_even:hover .overlay{
    color:var(--color-blue);
}
.page-gestion-hseq .box_hover:hover .overlay{
    background:white;
}

/* search */


.search-page .search-terms{
    font-weight: 700;
}

.search-result{
    margin: 2rem 0;
}
.search-result h2{
    font-size: 1.25rem;
}


/*************************************************
*
*			FOOTER
*
**************************************************/
footer{
    margin:2rem;
    color:var(--color-blue);
}
footer .certificaciones{
    max-width:200px;
}
footer .iconos{
    height: 100%;
}
footer .iconos ul{
    margin:0;
}
footer .iconos li{
    display: inline-block;
    padding:0 1rem;
}
footer .iconos li:last-child{
    padding:0;
}

footer .creditos{
    border-top:3px solid var(--color-blue);
    margin-top: 0.4rem;
    text-align: center;
    font-size: small;
    padding-top: 0.5rem;
    
}

/*************************************************
*
*			MEDIA QUERIES
*
**************************************************/

/*	576px
*/
@media screen and (min-width: 568px) {
    .page-frontpage .desktop{
        display: initial;
    }
    .page-frontpage .mobile{
        display: none;
    }
    
    .page .diapositiva{
        min-height: calc(70vw);
    }
}

/* 768
*/
@media screen and (min-width: 768px) {

    .navbar-brand{
        display: none;
    }

    .box_hover .overlay h3 {
        font-size: 1.25vw;
    }

    .box_hover .overlay {
        background-color: rgba(0,134,175,0.5);
        opacity:1;
    }

    .page-gestion-hseq .box_hover .overlay{
        background:transparent;
    }
    .page-gestion-hseq .box_hover{
        background:var(--color-darkblue);
    }
    .page-gestion-hseq .box_hover_even{
        background:var(--color-blue);
    }
    .page-gestion-hseq .box_hover:hover .overlay h3{
        text-shadow: none;
    }
    .page-gestion-hseq .box_hover:hover .overlay{
        color:var(--color-darkblue);
    }
    .page-gestion-hseq .box_hover_even:hover .overlay{
        color:var(--color-blue);
    }
    .page-gestion-hseq .box_hover:hover .overlay{
        background:white;
    }


    header{
        
        padding:1rem 4rem 1rem 4rem ;
        background-color: white;

        position: fixed;
        top: 0;
        width: 100%;

        z-index:90;

        transition: 0.5s;
    }

    header.sticky{
        padding:0 4rem 0rem 4rem ;
        background-color: rgba(255,255,255,0.95);
    }
    

    header .logo{
        margin-top:10px;
        transition: 0.5s;
    }

    header.sticky .logo{
        width:40px;
        height: auto;
        padding-top:10px;
    }

    header .search-box{
        transition: 0.5s;
    }
    header.sticky .search-box{
        opacity: 0;
        height: 0;
        display: none !important;
    }

    header + .maincontent {
        padding-top: 131px;
    }

    #mainmenu .nav-item a{
        border-right: 1px solid var(--color-blue);
        font-size: 0.65rem;
        padding:7px 10px;
    }
    #mainmenu .nav-item:last-child a{
        border-right:none;
        padding-right:0;
    }

    #mainmenu nav{
        padding-right: 0;
    }
    header.sticky #mainmenu nav{
        margin-top: 10px;
    }

    .page .diapositiva{
        min-height: initial;
        height: calc(100vw * 1024/1920);
    }
    .page .diapositiva .contenido{
        padding:initial;
        width:60vw;
        margin-top:5vw;
        width:70vw;
    }

    .page .diapositiva p{
        font-size:1.25rem;
        line-height: 1.5rem;
    }
    

    /* service */
    .page-service .service-header{
        width: 100%;
        height: calc(100vw * 300 / 1920);
        background-size: cover;
        background-repeat: none;
        background-position: center center;
        background-attachment: fixed;
    }
    .page-service .service-header h1{
        width: 40%;
        margin-left:auto;
        margin-right: 2rem;
        text-align: right;
        font-size: 1.25rem;
    }

    .page-gestion-hseq .item .contenido, .page-gestion-hseq .item .contenido-imagen,
    .page-pqrs .item .contenido, .page-pqrs .item .contenido-imagen{
        width: 70%;
    }
    
    .page-gestion-hseq .item .logo,
    .page-pqrs .item .logo{
        display:block;
        padding-top:1rem;
    }



    .page-contacto{
        
    }
    .page-contacto .contacto{
        padding:24vw 0 3vw 0;
        background-image: url('assets/images/bg_contacto.png');
        background-position-x: center;
        background-repeat: no-repeat;
    }
    .page-contacto h1{
        text-align: initial;
    }

    .page-contacto textarea
    {
        height:9rem;
    }

    .page-contacto .email{
        margin-top:5rem;
    }



    
    footer{
        margin:2rem 5rem;
    }

}

/*	992px
*/
@media screen and (min-width: 992px) {
    header + .maincontent {
        padding-top: 144px;
    }
}

/*	1024px
*/
@media screen and (min-width: 1024px) {

    .page .diapositiva{
        height: calc(100vw * 1024/1920);
    }
    .page .diapositiva .contenido{
        width:60vw;
        margin-top:10vw;
    }
 

    .page-service .service-header h1{
        width: 30vw;
        margin-right: 5vw;
        font-size: 2vw;
        line-height: 1.85vw;
    }

    .page-gestion-hseq h1.title,
    .page-pqrs h1.title,
    .page-clientes h1.title{
        font-size: 1.5rem;
    }

    .page-gestion-hseq .item .contenido, .page-gestion-hseq .item .contenido-imagen,
    .page-pqrs .item .contenido, .page-pqrs .item .contenido-imagen{
        width: 80%;
    }


    .page-contacto .contacto{
        padding:10vw 0 1vw 0;
        background-position-y: -2.5rem;
    }

    header{
        padding:2rem 6rem 1rem 6rem ;
    }
    header + .maincontent {
        padding-top: 10rem;
    }
    header.sticky .logo{
        width:40px;
        height: auto;
        padding-top:0;
    }
    header.sticky #mainmenu nav{
        margin-top: initial;
    }    

}

/*	1200px
*/
@media screen and (min-width: 1200px) {

    #mainmenu .nav-item a{
        font-size: 0.75rem;
        padding:7px 20px;
    }
    header.sticky .logo{
        width:40px;
        padding-top:0;
    }

    .page .diapositiva{
        height: calc(100vw * 720/1920);
    }
    .page .diapositiva .contenido{
        width:50vw;
        margin-top:10vw;
    } 

    .page-gestion-hseq .item .contenido, .page-gestion-hseq .item .contenido-imagen,
    .page-pqrs .item .contenido, .page-pqrs .item .contenido-imagen{
        width: 90%;
    }

    .page-gestion-hseq .item .logo,
    .page-pqrs .item .logo{
        padding-top: initial;
    }
    .page-gestion-hseq .item{
        margin:10rem auto;
    }
    
    .page-pqrs .item{
        padding: 4rem 0;
    }


}

/*	1400px
*/
@media screen and (min-width: 1400px) {

    #mainmenu .nav-item a{
        font-size: 1rem;
    }

    header.sticky .logo{
        width:50px;
        padding-top:0;
    }



}

/*	1600px
*/
@media screen and (min-width: 1600px) {

    #mainmenu .nav-item a{
        padding:7px 2rem;
    }

    footer{
        margin:2rem 8rem 1rem 8rem;
    }

    

}

/* section overrides
*/
