/*
Theme Name: Beyer
Author: Tris informatique
Author URI: https://www.trisinformatique.com
Version: 6.0.4
Template: enfold
*/
/*************
 * VARIABLES *
 *************/
:root{
	--blue-primary:#007198;
	--grey-primary:#797979;
	--grey-secondary:white;
	--border-width-slim:3px;
}
/**********
 * HEADER *
 **********/
#top .av-menu-button.av-menu-button-colored .avia-menu-text{
	border-width:3px;
	font-size:16px;
	box-shadow:-2px -1px 16px rgba(0,0,0,0.25);
	
}
/**********
 * DIVERS *
 **********/
#top .av-siteloader {
    display:none;
}
#top .av-preloading-logo{
	width:50px;
	filter:blur(2px);
}

/*carte de contact*/
#top .trs-contact-card{
	margin:50px auto;
	width:350px;
	float:none;
}

/*HOME CARDS*/
#top .trs-home-card {
   position:relative;
	max-width:400px;
	border: #dddddd 1px solid;
}
@media only screen and (max-width:989px){
	.responsive #top #wrap_all .flex_column.trs-home-card{
		margin:auto;
		margin-bottom:40px;
	}
	#top .flex_column_table.av-equal-height-column-flextable:not(:first-child){
		margin-top:0;
	}
}

/*image header*/
.trs-home-card .avia-image-container{
   height: 250px;
	overflow:hidden;
	border-bottom: var(--border-width-slim) solid var(--blue-primary);
}
.trs-home-card .avia-image-container .avia-image-container-inner,
.trs-home-card .avia-image-container .avia-image-container-inner .avia-image-overlay-wrap{
	height:100%;
	width:100%;
}
.trs-home-card .avia-image-container img{
	position:absolute;
	left:50%;
	transform:translateX(-50%);
	min-width:100%;
	width: auto;
	max-width: none;
	height: 100%;
	border-radius:0;
}
/*icon*/
.trs-home-card span.av_font_icon{
	position: absolute;
  	top: 248px;
	left:30px;
	height:70px;
	width:70px;
  	transform: translateY(-50%);
	margin: 0;
  	padding: 10px;
  	border-radius: 50%;
	border: var(--border-width-slim) solid var(--blue-primary);
  	background: white;
}
/*text*/
.trs-home-card .av_textblock_section{
	margin-top: 20px;
}
.trs-home-card .av_textblock_section .avia_textblock{
	padding:30px;
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock h3{
	color:var(--grey-primary);
	margin-bottom:0;
	text-transform:uppercase;
	
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock span.subtitle{
	font-size: 16px;
	line-height:20px;
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock p{
	color:var(--grey-primary);
	margin:0;
}
#top #wrap_all .trs-home-card .av_textblock_section .avia_textblock p.txt-body{
	margin-top:0.85em;
	font-size:0.9em;
	line-height:1.5em;
}

/*btn*/
.trs-home-card .avia-buttonrow-wrap{
	height:50px;
}
.trs-home-card .avia-buttonrow-wrap a:nth-child(1){
	position:absolute;
	left:50%;
	bottom:20px;
	transform:translateX(-50%);
}
.trs-home-card .avia-buttonrow-wrap a:nth-child(2){
	position:absolute;
	bottom:0;
	right:0;
	transform:translate(50%, 50%);
}


/* signature */
#top p.trs-signature{
	color:var(--grey-secondary);
	font-family: 'la-belle-aurore';
  	font-size: 32px;
  	width: 100%;
  	text-align: right;
}

/* ninja-form styling */
#top .nf-field-description{
	z-index:100;
}
/*only for checkbox consent*/
.checkbox-container.label-right .checkbox-wrap{
	flex-direction:column;
}
#top #ninja_forms_required_items,
.nf-field-container {
    margin-bottom: 0px !important;
}
#top .nf-field-element input[type="text"],
#top .nf-field-element input[type="email"],
#top .nf-field-element input[type="tel"]
{
	margin-bottom: 0 !important;
}

input[type="button"] {
    cursor: pointer;
}
/*END ninja form */

/**********
 * FOOTER *
 **********/
#top .footer_color{
	border:none;
	background-size:cover;
}
#top .footer_color a{
	text-decoration:underline;
}
#top .footer_color table{
	border-collapse: separate;
  	border-spacing: 0 5px;
	background:transparent;
}

#top .footer_color tbody{
	border:none;
}
#top .trs-schedule tr {
	border:none;
	margin-bottom: 10px;
	color:white;
}
.trs-schedule tr td:first-child {
	border:none;
    width: 30%;
}
.trs-schedule tr:first-child td{
	border:none;
}

.footer_color .trs-schedule tr:nth-child(2n) {
    background-color: #007198BF;
}

.footer_color .trs-schedule tr:nth-child(2n+1) {
    background: #00719880;
}

.trs-schedule td {
	border:none;
    padding: 5px 12px;
}

/* text shadow for better readability */
#top #footer h3,
#top #footer p {
	text-shadow: #888888 0px 0 6px !important
}

#socket .copyright {
    width: 100%;
}
@media( min-width: 768px) and (max-width: 980px) {
	 #footer div.flex_column {
        margin-left: 2%;
        width: 48%;
    }
    #footer div.flex_column.first {
        width: 100%;
    }
}
@media( max-width: 768px) {
	.responsive #top #wrap_all #footer .flex_column,
    #footer .widget {
        margin-bottom: 0;
    }
}