/* 
 Theme Name:     Divi Child RQT
 Author:         CCT CHUM
 Author URI:     https://telesantequebec.ca/
 Template:       Divi
 
 Description:    Pour template de pages d'accuel home, 
                 Composants: ancien tuile, Blog pour actualites 
*/ 

.rqt-home-titre h1,
.rqt-home-titre h2, 
.titre-tuile-accueil h3 {
    font-weight: 700; 
}

.rqt-home-titre h1 {
    font-size: 2rem;
    line-height: 1;
}

.rqt-home-titre h2 {
    font-size: 2.5rem;
    line-height: 1.1;
}

/*** Responsive Styles landscape Smartphone/iPads/Tablets Only ***/
@media only screen and (max-width: 810px) {
    .rqt-home-titre h1 {
        font-size: 1.75rem;
        line-height: 1.14;
    }

    .rqt-home-titre h2 {
        font-size: 2rem;
        line-height: 1.13;
    }

}

/*Tuiles ancien */
.tuile-boite {
    max-width: 539px;
}

.tuile-centre {
    line-height: 120px;
    height: 120px;
    text-align: center;
}
/*.titre-tuile-accueil {
    height: 60px;
}*/
.tuile-boite-accueil {
    height:auto;
    margin-top:-5%;
}
.tuile-centre-acceuil {
    line-height: 60px;
    height: 60px;
    text-align: center;
}
.tuile-centre-acceuil span {
    display: inline-block;
    vertical-align: middle;
    width: 91%; 
    text-align: left;
    
}

.tuile-centre span {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    width: 76%; 
    padding: 10px; 
    text-align: left;
    
}

.tuile-centre img {
    vertical-align: middle;
}

.titre-tuile {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: normal;
}
.titre-tuile-acceuil {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.39;
    letter-spacing: normal;
    color:#223654;
}
/***  Responsive Styles Portrait Smartphone Only ***/
@media only screen and (min-width: 375px) and (max-width: 479px) {
    
    .tuile-centre span {
        width: 200px;   
    }
    .tuile-centre-acceuil span {
        width: 95%;     
    }
    .tuile-boite-accueil {
        height: auto;
    }
}

/***  Responsive Styles Smartphone Only ***/
@media only screen and (min-width: 480px) and (max-width: 576px) {

    .tuile-centre span {
        width: 380px;   
    }
    .tuile-centre-acceuil span {
        width: 95%;     
    }
    .tuile-boite-accueil {
        height:128px;
        margin-top: -7%;
    }
}

/***  Responsive Styles iPads/Tablets Only ***/
@media only screen and (min-width: 577px) and (max-width: 766px) {

    .tuile-centre span {
        width: 380px;   
    }
    .tuile-centre-acceuil span {
        width: 95%;     
    }
    .tuile-boite-accueil {
        height:auto;
    }
}

/***  Responsive Styles landscape iPads/Tablets Only ***/
@media only screen and (min-width: 767px) and (max-width: 979px) {

    .tuile-centre span {
        width: 400px;   
    }
        .tuile-centre-acceuil span {
        width: 95%;     
    }
    .tuile-boite-accueil {
        height: auto;
    }
}

@media all and (max-width: 980px) {
    .custom-row {
        clear:both !important;
    }
    .tuile-boite-accueil {
    height: auto;
    }
}

@media all and (min-width: 981px) and (max-width: 1080px) {
        .tuile-centre-acceuil span {
        width: 91%;     
    }
    .tuile-boite-accueil {
        height:130px;
    }
    .titre-tuile-accueil {
        height: 40px;
    }
}
/***  Responsive Styles laptops/desktops And Below ***/
@media (hover: hover) {
    .custom-text .custom-row {
        display:none;
        float: right;
    }
    
    .custom-text:hover .custom-row {
        display:block !important;
    }
    
    .tuile-flech{
        visibility:hidden;
    }   
    .tuile-boite:hover .tuile-flech{
        visibility: visible;
    }
}
/*Fin Tuiles */

/**-------- Hero image --------**/
.rqt-hero-home,
.rqt-hero-home .et_pb_slides .et_pb_container {
    height: calc(90vh - 161px);
    padding-bottom: 0;
}

.rqt-hero-home .et_pb_slide:after {
    background-image: linear-gradient(rgba(34, 54, 84, 0.05) 50%, rgb(34, 54, 84, 0.9) 90%);
    bottom: 0;
    content: "";
    height: 100%;
    left: 0;
    mix-blend-mode: multiply;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;    
}

.rqt-hero-home .et_pb_slide_description {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    padding: 0 50px;
    text-align: left;
}

.rqt-hero-home .et_pb_slide_description .et_pb_slide_content {
    flex: 0 0 50%;
    font-size: 1.5rem;
    line-height: 2.0rem;
    max-width: 50%;
    padding-left: 30px;
}

.rqt-hero-home .et_pb_slide_description .et_pb_slide_title {
    flex: 0 0 50%;
    font-size: 2.6rem;
    font-weight: 700;
    max-width: 50%;
    padding-bottom: 0;
    padding-right: 30px;
    position: relative;
    text-align: right;
}

.rqt-hero-home .et_pb_slide_description .et_pb_slide_title:after {
    background: #f09686;
    bottom: 0;
    content: "";
    left: 100%;
    position: absolute;
    top: 0;
    width: 5px;
}

.rqt-hero-home .et_pb_slides .et_pb_container {
    padding-bottom: 2%;
}

.rqt-hero-home .et_pb_slider_container_inner {
    vertical-align: bottom;
}

@media all and (min-width: 1320px) {
    .rqt-hero-home .et_pb_slide_description {
        max-width: 1140px;
    }
}

@media all and (min-width: 1249px) and (max-width: 1266px) {
    .rqt-hero-home .et_pb_slide_description {
        padding: 0 30px;
    }
}

@media only screen and (max-width: 980px) {
    .rqt-hero-home {
        margin-bottom: 30px;
    }
    
    .rqt-hero-home,
    .rqt-hero-home .et_pb_slides .et_pb_container {
        height: calc(100vh - 68px);
    }

    .rqt-hero-home .et_parallax_bg_wrap:after {
        background-image: none;
    }
    
    .rqt-hero-home .et_pb_slide_description {
        bottom: 0;
        display: block;
        padding: 0;
        position: absolute;
        width: 100%;
    }

    .rqt-hero-home.et_pb_slider.et_pb_module .et_pb_slide {
        padding: 0;
    }

    .rqt-hero-home.et_pb_slider.et_pb_module .et_pb_slides .et_pb_slide_description .et_pb_slide_title {
        background: #223654;
        flex: none;
        font-size: 1.625rem;
        line-height: 1.2;
        max-width: 100%;
        padding: 25px 20px;
        text-align: center;    
    }

    .rqt-hero-home .et_pb_slide_description .et_pb_slide_content,
    .rqt-hero-home .et_pb_slide_description .et_pb_slide_title:after {
        display: none;
    }
}

@media all and (max-width: 767px) {
    .rqt-hero-home,
    .rqt-hero-home .et_pb_slides .et_pb_container {
        height: calc(100vh - 104px);
    }
}

@media all and (max-width: 374px) {
    .rqt-hero-home,
    .rqt-hero-home .et_pb_slides .et_pb_container {
        height: calc(100vh - 127px);
    }
}