@import url('https://fonts.googleapis.com/css?family=Montserrat|Maven+Pro:900|Michroma|Nunito');
/*font-family: 'Nunito', sans-serif;
font-family: 'Maven Pro', sans-serif;
font-family: 'Michroma', sans-serif;
*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    /* color: rgb(216, 119, 29); */
}

/************** Grid definition *************/
.gheader{
    grid-area: header; 
  /*   border-bottom: 3px solid #555; */
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    transition: all 0.3s;
   
}
.header { 
    height: 100%;
    display: grid;
    grid-template-areas: "logos navbar";
    grid-template-columns: 1fr 1fr;
    position: sticky;
    
}
.gfooter { 
    grid-area: footer; 
    min-height: 100px;
    background: lightslategray;
    padding: 20px;
    text-align: center;
    color: #eee;
}
.gmain { 
    grid-area: main; 
    display: grid;
    grid-template-areas: "sectionHome sectionHome sectionHome" 
                        "sectionServices sectionServices sectionServices" 
                        "sectionContact sectionContact sectionContact" ;
    grid-template-columns: 10% 1fr 10%;
    grid-auto-rows: 93vh auto auto  ;

    text-align: center
}

/**** DIVISIONS MAIN   *******************/
.sectionHome{
    grid-area: sectionServices;
    padding-top: 70px;

}
.sectionServices{
    grid-area: sectionServices;
    padding-top: 70px;

}
.sectionContact{
    grid-area: sectionContact;
    background-color: rgba(200, 200,200, 0.9); 
    padding-top: 70px;
}
.mainSection:nth-child(odd) {
    background-color: rgba(100, 100, 100, 0.6);
}
.mainSection{
    background-color: rgba(255, 255,255, 0.9);        
} 
/* .mainSection:first-child {
    background-color: rgba(100, 100, 100, 0);
    min-height: 100%;
} *
  */
/**************************************/

.gleft { grid-area: navigation; }
.gright { grid-area: ads; }

.gbody {
    display: grid;
    grid-template-areas: "header header header"
                         "main main main"  
                         "footer footer footer" ;
    grid-template-columns: 10% 1fr 10%;
    grid-template-rows: 70px 
                        100%
                        30px;
    min-height: 100vh;
}
/*************************/

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

.logos{
    /* background-color: rgba(255,255,255,0.8); 
    padding: 1%;*/
    grid-area: logos;     
    
    background:url(../imgs/logo_fm.png) no-repeat center center ;
    background-size: 80% ;
    width:100%;	
    height:100%;

}
.logo{
    
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}
.navbar{
    align-self: end;
} 
.sticky {
    top: 0;
    position: fixed;
}
/************** FONTS *******************/
h1{
    font-family:'Michroma', sans-serif ;
    font-size: 3em;
    margin-bottom: 1.2em;
    color: darkorange;
/*font-family: 'Maven Pro', sans-serif;
font-family: 'Michroma', sans-serif;*/
}
.stitle {
    color: #800000;
    font-size: 2em;
    margin-bottom: 1.2em;    
}
.section_descrip{
    line-height: 1.5em;
    text-align: justify;
    text-align-last: center;
    margin: 0 15% 3%;
}
/*************** INNER DIVS **********************/
.servi{
    padding: 3% 10%;
    display: grid;
    grid-template-areas: "innerL innerR" ;
    grid-template-columns: repeat(2, 1fr);
    min-height: 380px;
}
.servi > div {
    border: none;
    text-align: center;
    margin: 0 auto;   
    align-self:center;
}
.img_servi{
    width: 100%;
    border-radius: 10px;    
}
.servi > div >p{
    line-height: 1.5em;
    text-align: justify;
    padding: 3%;
}
.texte *{    
    margin: auto;
}
.servi:nth-child(odd){
    background-color: rgba(255,255,255, 0.6);
}
.events_gr{
    padding: 3% 10%;
    background-color: rgba(255,255,255, 0.6);
}
.events{    
    display:inline-block; 
    margin: 3% ;*/
}
.circle {
	background: #b00 ;
	border-radius:50%;
	color: #ddd;
	display:table;
	height: 150px;
	font-weight: bold;
	font-size: 1.2em;
	width: auto;
	margin:0 auto;
}
.circle span {
	display:table-cell;
	vertical-align:middle;
	height:150px;
	width:150px;
	text-align:center;
	padding: 0 2%;
}
.circle:hover{
    background: #333 ;
    color: #fff;
}
/*Full background*/
.fullBg{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    background-image: url(../imgs/bgGen.jpg);
    background-size: cover;
    background-position: center 0px;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: -1;

}

/*************** Nav bar ************/
nav{
   /*  border: 1px dashed yellow; */
    text-align: right;
    padding-right: 10%;
    font-size: 1.2vmax;
    
    
}
nav li{
   /*  border: 1px dashed lightcoral; */
    display: inline-block;
    height: 100%;
    margin: 1% 0 1% 5%;
}

.item{
    text-decoration: none;
    line-height: 30px;  
    padding-bottom: 5%;  
    position: relative;   
    color: #888 ; 

}
.item::after{
    content: "";
    display: block;
    width: 0%;
    height: 3px;
    background-color: #ddd;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: all .2s;
}
.item:hover::after{
    width: 100%;

}

/************** FORMS *************/

/* input{
    border-radius: 5px;
} 
input.ng-untouched{
    border-color: blue;
}*/
#contact h1{
    margin-bottom: 0.7em;
}    
.address-panel{
    margin: 0 auto 2%;
    padding: 2% 0;
    background-color: rgba(255,255,255, 0.6);
}
.address-panel label{
    font-weight: bolder;
    display: block;
    padding: 0.5% 0;
}
.formContainer{
    padding: 0 10% 5%;
}
#contactForm{ 
    background-color: rgba(255,255,255, 0.6);
    margin: auto;
    padding: 3%;
    text-align: left;
    max-width: 700px;
    border-radius:15px;
    
}
#contactForm *{
    margin: 5px;
}
#contactForm h3{
    text-align: center;    
    padding-bottom: 1.2em; 
}
#contactForm input{
    margin-left: 0;
    width: 50% !important;
    display: inline-block !important;
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
}
#contactForm textarea{
    margin-left: 0;
    width: 100% !important;    
    padding: 8px;
    border-radius: 6px;
    -webkit-border-radius: 6px;
}
.input-error{
    color: red;
}
#contactForm input[type="submit"]{
    margin: 3% 0 3% 40%;
    width: 20% !important;
    min-width: 100px;
    background: #2a88ad;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    color: #fff;
    box-shadow: inset 0 2px 2px 0 rgba(255,255,255,0.17);
    border: 1px solid #257c9e;
    font-weight: bold;
    font-size: 1.1em;
}
input.ng-touched.ng-invalid{
    border-color: red;
    box-shadow: 2px 0 2px red;
}
input.ng-touched.ng-valid{
    border-color: green;
    box-shadow: 2px 0 2px green;
}
#cacha{
    margin: 0;
}
#cacha div , #cacha iframe{
    margin: 0;
}
.alert-success{
    background-color: #063150;
    color: #eee;
    border-radius: 5px;
    text-align: center;
    padding: 1%;
}
.alert-danger{
    background-color: #e55;
    color: #eee;
    border-radius: 5px;
    text-align: center;
    padding: 1%;
}
/************** END FORMS *************/

/******* responsive **********/
@media screen and (max-width: 600px) {
    .gbody {
        grid-template-areas: "header"
                             "navigation"
                             "main"
                             "ads"
                             "footer";
        grid-template-columns: 100%;
        grid-template-rows: 70px 
                            0px 
                            1fr
                            0px 
                            30px;
    }

    .header { 
        height: 100%;
        grid-template-areas: "logos" " navbar";
        grid-template-columns: 100%;
        grid-template-rows: 1fr 1fr;
        position: sticky;
    }
    h1{
        font-size: 2em;
        margin-bottom: 1em;        
    }
    /******* Navigation bar responsive **********/
    
    .nav{
        text-align: center;                
    }
    .nav li{
        /* border: 1px dashed rgb(243, 10, 10); */
        display: inline-block;        
    }

    .servi{
        padding: 3% 0%;
        grid-template-areas: "innerL"
                            " innerR" ;
        grid-template-columns:  1fr ;
        min-height:1px;
        
    }
    .texte{
        grid-area:innerL;        
    }
    .ima{
        grid-area: innerR;
    }

    .formContainer{
        padding: 1%;
    } 
    #contactForm input{
        width: 100% !important;        
    }
    #contactForm h3{  
        padding-bottom: 1em; 
    }
    .servi > div {
        border: none;
        width: 98%;
        vertical-align: middle;
        text-align: center;
        margin: 0 auto;
   }
    .img_servi{
        height: 100%;  
    }
    .events_gr{
        padding: 3% 3%;
    }
    .circle {        
        height: 120px;
        font-weight: bold;
        font-size: 1em;        
    }
    .circle span {        
        height:120px;
        width:120px;
    }
}


