/*
Theme Name: MediCowl
Author: Tris informatique
Author URI: https://www.trisinformatique.com
Version: 1.0
Template: enfold
*/

#top .hotline{
	font-size: 16px !important;
	text-transform: uppercase;
	font-weight: 700 !important;
	border-bottom-width: 3px !important;
}

#top .col_middle {
	vertical-align: middle
}

#top .col_droite {
    float: right;
    width: 50%;
    clear: none;
}

#top .col_gauche {
    float: left;
    width: 50%;
    padding-bottom: 1rem;
}

#top div .av-video-service-html5 .av-section-color-overlay {
    background-repeat: no-repeat!important;
    background-position: center;
    background-position-x: 52%;
}

#top li.av-video-slide.av-video-service-html5.av-video-stretch, #top.page-id-330 ul.avia-slideshow-inner {
    min-height: 450px;
}

@media (max-width: 768px) {
    #top.page-id-330 ul.avia-slideshow-inner .slide-1.av-video-slide video {
        width: auto;
        height: 100%!important;
        top: 0!important;
    }
}

.av_minimal_header #header_main, .av_minimal_header #header_meta {
    border-bottom: 2px solid #40a8e4;
}

.footer_color .menu a {
    padding: 0;
    line-height: 19px;
    text-transform: uppercase;
}

#footer .widget {
    margin-bottom: 0;
}

#top #trs-partners-grid .av-masonry-image-container {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

#top #trs-partners-grid .av-masonry-outerimage-container {
    padding: 30px;
}

/* Affichage des lignes de grille accueil*/

#top #wrap_all .trs-home-grid-line .flex_cell_inner {
    display: table;
    height: 100%;
    width: 100%;
}

#top #wrap_all .trs-home-grid-line .flex_cell_inner .flex_column_table {
    display: table-cell;
    vertical-align: middle;
}

#top #wrap_all .trs-home-grid-line.right-align h2.av-special-heading-tag {
    text-align: right;
}

#top #wrap_all .trs-home-grid-line.right-align .av-subheading.av-subheading_below {
    text-align: right;
}

#top #wrap_all .trs-home-grid-line .av-subheading.av-subheading_below>p {
    font-size: 18px;
    text-transform: uppercase;
    color: #379CD6;
}

#top #wrap_all .trs-home-grid-line.right-align .av-special-heading {
    float: right;
}

#top #wrap_all .flex_cell {
    background-size: cover!important;
}

@media(max-width: 768px) {
    .av-layout-grid-container.mobile-reverse {
        flex-direction: column-reverse;
        display: flex!important;
    }
    .responsive #top #wrap_all .av-flex-cells .trs-home-grid-line {
        display: table;
        height: 100%;
        width: 100%;
    }
    .responsive #top #wrap_all .av-flex-cells .trs-home-grid-line .flex_cell_inner {
        display: table-cell;
        vertical-align: middle;
    }
}

/*************************************************/

#top .iconbox.trs-custom-icon-big .iconbox_icon.heading-color {
    margin-bottom: 0;
    font-size: 50px;
    border: none;
}

@media (max-width: 980px) {
    #top .trs-mobile-reverse-col .flex_column_table {
        display: flex !important;
        flex-direction: column-reverse;
    }
}

#top .trs-transparent-play-video {
    background-image: none!important;
    border: 2px solid white;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(7px);
    overflow: hidden;
}

#top .trs-hidden-data-text {
    overflow: hidden;
    transition: max-height .5s ease;
    max-height: 1000px;
}

#top .trs-hidden-data-text.hide {
    max-height: 0;
}

#top .trs-collapse-text-btn .avia_iconbox_title {
    pointer-events: none;
}

#top.page-id-1198 .flex_column_table, #top.page-id-330 .flex_column_table {
    float: unset;
}

@media(min-width: 980px) {
    #top .trs-separated-col {
        border-left: 1px solid white;
    }
}

.wow {
    opacity: 0;
}

#top .trs-ad-button .avia-button {
    margin-top: 20px;
}

#top .trs-ad-button .avia-button span {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
}

.trs-delay-04 {
    animation-delay: 400ms;
}

.trs-delay-06 {
    animation-delay: 600ms;
}

.trs-zindex-1 {
    z-index: 1!important;
}

.trs-zindex-2 {
    z-index: 2!important;
}

.trs-zindex-3 {
    z-index: 3!important;
}

#top .av-submenu-container {
    background: #379CD6;
    border-color: #2194d6;
}

#top .alternate_color .av-subnav-menu a {
    background: transparent;
    color: white;
    border: 2px solid white!important;
    border-radius: 8px;
    padding: 5px 10px;
    transition: all.3s ease;
}

#top .av-subnav-menu>li {
    padding: 10px 5px;
}

#top .alternate_color .av-subnav-menu li:hover a {
    background: white;
    color: #379CD6;
}

@media(max-width: 768px) {
    #top .av_textblock_section p {
        font-size: 10pt;
    }
    .responsive #scroll-top-link {
        display: block;
    }
}

#top form input::placeholder, #top form textarea::placeholder {
    color: #999;
}

#top .avia_ajax_form select>option:nth-child(1) {
    display: none;
}

#top .avia_ajax_form select:invalid {
    color: black;
  }


#top .avia_ajax_form select:invalid {
    color: gray;
  }

#top .avia_ajax_form option:first-of-type {
    color: #9e9e9e;
  }
#top .avia_ajax_form option:not(:first-of-type) {
    color: black;
}

#top #revolutionslider_1 {
    min-height: unset!important;
}

#top .trs-dev span.av-icon-char::after {
    width: 80px;
    height: 80px;
    position: absolute;
    right: -20px;
    top: -20px;
    border: 2px solid white;
    border-radius: 100%;
    font-size: 14px;
    line-height: 16px;
    text-overflow: clip;
    overflow-wrap: break-word; /*Only for shitty Safari */
    overflow-wrap: anywhere;
    padding: 10px 5px;
    box-sizing: border-box;
    font-weight: bold;
    background: #2388C2;
    transform: rotate(-30deg);
}

#top form.CF5f7483e674f29 *, #top form.CF5f74965b758fc * {
    margin-left: auto!important;
}
#top form.CF5f7483e674f29 .avia-button, #top form.CF5f74965b758fc .avia-button {
    float: none;
}

@media(max-width : 980px){
    .responsive #top #wrap_all .av-break-at-tablet .flex_cell{
        margin-bottom: 0;
    }
    #top form.CF5f7483e674f29 *, #top form.CF5f74965b758fc * {
        margin-right: auto!important;
    }
}

#top .trs-big-button span {
    font-size: 19px;
    font-weight: bold;
}

@media(max-width : 768px){
    .responsive #top .av-inner-masonry{
        display: flex;
        flex-direction: column;
        height: 250px;
    }

    .responsive #top .av-inner-masonry > .av-masonry-outerimage-container{
        position: relative;
        height: 50%;
    }

    .responsive #top .av-inner-masonry > .av-inner-masonry-content.site-background{
        position: relative;
        display: block;
        height: 50%;
    }

    .responsive #top .av-fixed-size .av-masonry-entry .av-inner-masonry-sizer{
        display: none;
    }

    .responsive #top .av-inner-masonry{
        position: relative;
    }
    
}

#top #footer .av_one_fourth {
    margin-left: 2%;
    width: 23.5%;
}

#top #footer .av_one_fourth.first {
    margin-left: 0;
}

@media(max-width : 980px){
    #top #footer .av_one_fourth {
        margin-left: 0;
        width: 100%;
    }

    .footer_color {
        background-size: cover;
    }
}