/*
 Theme Name:   VAC
 Author:       Stéphane FIFILS
 Description: A theme for a running sport club with javascript animation.
 Version: 0.1
 VAC WordPress Theme, (C) 2022 Vaudes Animation Courir
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Racing+Sans+One&family=Roboto&display=swap');



	/*SMILEY*/

img.wp-smiley, img.emoji {
	display: inline !important;
	border: none !important;
	box-shadow: none !important;
	height: 1em !important;
	width: 1em !important;
	margin: 0 .07em !important;
	vertical-align: -0.1em !important;
	background: none !important;
	padding: 0 !important;
}

    /*NO JS*/

.no-js img.lazyload { 
	display: none; 
}
figure.wp-block-image img.lazyloading { 
	min-width: 150px; 
}
.lazyload, .lazyloading { 
	opacity: 0; 
}
.lazyloaded {
	opacity: 1;
	transition: opacity 400ms;
	transition-delay: 0ms;
}

/*////////////////////////////////////////////////////////////////////////////////////*/
	/*GENERAL*/
	
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


body{
	background-color: rgb(233, 149, 55);
	margin: 0;
}

#hero{
	min-height: auto;
	background-color:rgba(64,64,64,1);
	background-image:url("/wp-content/uploads/2021/11/90F495ED-972E-4647-8E4D-1A501A0F2BA9.jpeg");
	background-position: bottom left;
	background-attachment:scroll;
	background-repeat:no-repeat;
	background-size:cover;
	padding-top: 103px;
	padding-bottom: 224px
}

#header{
}

#page-top{
	
}

h1, h2{
	color: rgb(233, 149, 55);
	font-weight: 300;
	display: block;
	font-family: "Racing Sans One", cursive;
	text-align: center;
	text-transform: uppercase;
}

h1{
    font-size: 54px;
	line-height: 68.04px;
	margin-bottom: 16px;
}

h2{
    font-size: 35px;
    margin-top: 10px;
    margin-bottom: 10px;
}

h3, h4, .wpforms-field-label, th p, #entete, h4 a{
    font-family: "Racing Sans One", cursive;
    font-weight: 300;
    color: rgb(64, 64, 64);
    margin: 10px 0;
}

h3{
    font-size: 28px;
}

h4, th p{
    font-size: 20px;
}

p, select, .result, label, input, textarea, label, td{
    font-family: "Open Sans";
    font-size: 18px;
    color: rgb(64, 64, 64);
    margin-top: 5px;
    margin-bottom: 5px;
}

p, select, .result, label, input, textarea, label{
    font-size: 18px;
}    

td{
    font-size: 15px;
}

a{
    color: rgb(233, 149, 55);
    list-style: none;
    text-decoration: none;
}

a:hover,  #pagination, .current a, h4 a:hover{
    color: #E95537;
}

li{
    font-family: "Racing Sans One", cursive;
    font-size: 20px;
}

textarea{
    width: 72%;
}

.valid, .stby{
    padding:1px 10px; 
    border-radius: 15px;
}

.valid{
    background-color:#c6f0c2; 
}

.stby{
    background-color:#ff917a;
}

/*MENU*/
.current::after{
    bottom: 0.5em;
    content: " ";
    display: block;
    opacity: 1;
    width: 100%;
    left: 0;
    height: 3px;
    position: absolute;
    z-index: 0;
    background-color: rgb(233, 149, 55) !important;
}

.menu-item:hover::after{
    bottom: 0.5em;
    content: " ";
    display: block;
    opacity: 1;
    width: 100%;
    left: 0;
    height: 3px;
    position: absolute;
    z-index: 0;
    background-color: rgb(233, 149, 55) !important;
    animation-duration: 0.3s;
    animation-name: underline;
    
}

@keyframes underline {
    from {
    width: 0%;
    margin-left: 50%;
    }

    to {
    width: 100%;
    margin-left: 0;
    } 
}

.chevronDown{
    padding: 0 5px 0 0;
    width: 18px;
    height: 13px;
}

.chevronDown polyline{
    fill: none;
    stroke: rgb(233, 149, 55);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 85px;
}

.chevronLeft{
    padding: 0 5px 0 0;
    width: 18px;
    height: 13px;
}

.chevronLeft polyline{
    fill: none;
    stroke: rgb(233, 149, 55);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 85px;
}

/*bouton*/
button, #searchsubmit, .button, #button, .calculer, #submit, .submit, #file-upload-button{
    font-family: "Racing Sans One", cursive !important;
    font-weight: 300 !important;
    color: rgb(64, 64, 64) !important;
    background-color: rgb(255, 253, 252) !important;
    border-style: solid !important;
    border-color: rgb(233, 149, 55) !important;
    border-width: 3px !important;
    border-radius: 5px !important;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 18px;
}

button:hover, #searchsubmit:hover, .button:hover, #button:hover, .calculer:hover, #submit:hover, .submit:hover{
    color: white !important;
    background-color: rgb(64, 64, 64) !important;
}

#searchsubmit, .calculer, #submit{
    height: 30px;
}

.delete{
    font-family: "Racing Sans One", cursive !important;
    font-weight: 300 !important;
    background-color: red;
    color: white;
    border-style: solid;
    border-color: red;
    border-width: 3px;
    border-radius: 5px;
}

.delete:hover{
    background-color: rgb(255, 110, 110);
    color: white;
}

button, .button, .delete{
    padding: 2px 4px;
}

.clear{
    clear: both;
}

.separator{
    width:100%;
    height: 2px;
    background-color: rgb(233, 149, 55);
    margin-bottom: 15px;
    margin-top: 10px;
}

.blogCard img, .block img{
    max-width: 100%;
    height: auto;
}

/* TABLEAUX */
table, tr{
    text-align: center;
    border-color: rgb(64, 64, 64);
}
table{
    border-collapse: collapse;
    margin: auto;
}

td, th{
    padding: 10px;
    border-bottom: 1px solid;
}

tr:nth-child(even) {
    background: #E8E8E8;
}

.tableWrapper{
    width: 100%;
    overflow-x: auto;
}

.innerBlock{
    vertical-align: top;
    position: relative;
    display: inline-block;
    width: 42%;
    background-color: white;
    margin: 10px 0;
    padding: 15px 0;
    text-align: center;
}

.innerBlock p{
    text-align: left;
}

/*//////////////////////////////////////////////////////////////////////////////////*/
	/*BARRE DE MENU PC*/
	   /*navigation*/
#navigation{
    position: fixed;
}

.navigationOverlap{
    display: none;
    position: absolute;
    bottom: 0;
    background-color: rgba(64, 64, 64, 0.9);
}
#navigation, .navigationOverlap{
	top: 0;
    right: 0;
    left: 0;
}

#navigation{
	padding: 10px 15px;
	z-index: 20;
}

#navContainer{
    position: relative;
	float: right;
}

#navigation .clear{
    clear: both;
}

        /*logo*/
.logo, #spacer{
	display: inline-block;
}

.logo{
    position: relative;
	max-height: 70px;
	width: auto;
	vertical-align: middle;
}
        /*menu*/
#menu-original li{
	display: inline-block;
	text-decoration: none;
    position: relative;
    list-style: none;
}

#menu-original li a{
	font-family: "Open Sans";
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 1.5em;
	letter-spacing: 0px;
	position: relative;
	white-space: nowrap;
	align-items: center;
	box-sizing: border-box;
}

#menu-original{
	width: 100%;
	text-align: right;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	box-sizing: border-box;
	height: auto;
    padding-left: 0;
}

.menu-item{
    margin: 0 10px;
    padding: 10px 0;
}

#spacer{
    flex: 1 1 0;
	max-width: 100%;
    min-width: 0;
}

        /*bouton mobile menu*/
#mobileMenuButton{
	display: none;
    margin: 50% 0;
}

#h-hamburger-icon{
	padding: 5px;
	height: 24px;
	width: 24px;
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 15%;
	fill: #E99537;
	box-sizing: content-box;
	text-align: center;
}

.h-icon-svg svg{
	width: 19.5px;
	padding-bottom: 3px;
}
        
        /*sous menus*/
#dropdown1, #dropdown2, #dropdown3, #dropdown4, #dropdown5{
    display: none;
    background-color: #ffffff;
    position: absolute;
    top: 100px;
    z-index:  19999;
    margin: 0 5px;
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.04);
    top: 41px;
    min-width: 200px;
    padding-left: 0;
}

.sub-menu-item{
    display: block !important;
    padding: 10px 20px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(128, 128, 128, 0.2);
    text-align: left;
    line-height: 1.5 !important;
}

.sub-menu-item:hover, .sousMenuEnCours{
    background-color: rgb(64, 64, 64);
    opacity:1;
    animation-name: opacityTransition;
    animation-duration: 0.4s;
}

@keyframes opacityTransition{
    from {
        opacity:0;
    }
    
    to{
        opacity:1;
    }
}

.sub-menu-item a{
    font-weight: 400 !important;
    text-transform: none !important;
    color: rgb(233, 149, 55);
}

    /*TITRE*/
.gridContainer{
	padding-top: 110px;
	display: flex;
}

#title{
	background-color: rgba(0, 0, 0, 0.2);
	width: 100%;
	padding: 10px;
	min-height: 124px;
}

#heading{
    display: block;
}

/*//////////////////////////////////////////////////////////////////////////////////*/
	/*MENU MOBILE*/

#offcanvas-backdrop{
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    background-color: rgba(64, 64, 64, 0.9);
    z-index: 20001;
    overflow-y: auto;
    text-align: center;
}

#position{
    display: flex;
    flex-direction: column;
    height: 100%;
}


#offcanvas-backdrop li{
    display: block;
    margin: 0;
    border-style: solid;
    border-width: 0 0 1px 0;
    border-color: #808080;
}

        /*menuMobileHeader*/
#offcanvas-header{
    position: relative;
    height: 90px;
	padding: 10px;
    flex-grow: 0;
}

#offcanvas-header img{
    max-height: 70px;
}

#offcanvas-header #logo{
    height: 70px;
    padding: 10px;
}

        /*mobileMenuBody*/
#offcanvas-body{
    position: relative;
	text-align: left;
    flex-grow: 1;
}

#offcanvas-body #menu-original{
    margin:0;
    text-align: left;
}

#offcanvas-body a{
    display: inline-block;
    text-transform: none !important;
    padding: 12px 0 12px 40px;
    font-weight: 400 !important;
}

#offcanvas-body .menu-item:hover::after, 
#offcanvas-body .current::after{
    height: 2px;
}


.accordion-button .chevronDown, .accordion-button .chevronLeft{
    position: absolute;
    right: 0;
    top:0;
    height: 100%;
    padding:0 33px;
    width: 14px;
}

.accordion-button .chevronDown{
    display: none;
}

#offcanvas-body .menu-item, 
#offcanvas-body .sub-menu,
#offcanvas-body .sub-menu-item{
    padding:0;
}

.accordion-button{
    display: inline-block;
    width: 100%;
}

#offcanvas-body .sub-menu{
    display: none;
    background-color: rgba(82, 82, 82, 0.9);
    width: 100%;
}

#offcanvas-body .sub-menu a{
    padding: 12px 54px 12px 60px;
    max-width: 100%;
    white-space: normal;
}

        /*MenuMobileFooter*/
#offcanvas-footer{
	position: relative;
	bottom: 0;
	right: 0;
    height: 60px;
	padding: 10px;
	font-family: "Open Sans";
    font-weight: 400;
    font-size: 16px;
    color: #999999;
    flex-grow: 0;
}
#copyright{
    padding: 10px 0;
}

/*//////////////////////////////////////////////////////////////////////////////////*/
    /*CONTENT*/
#content, #content2{
    background-color: rgb(64, 64, 64);
    position: relative;
}

#content2{
    height: 100%;
}

#container{
    margin: 0 auto;
    text-align: center;
}

.block{
    background-color: white;
    margin: 10px auto;
    padding: 15px;
    border-style: solid;
    border-color: rgb(233, 149, 55);
    border-width: 3px;
    border-radius: 10px;
}

        /*calcul VMA*/
#form_allure label{
	margin:0 0 0 10px;
}
#form_allure input{
	width:50px;
	margin:0 5px 10px 10px;
	text-align:right;
	display: inline-block;
}
#pourcAppVMA label{
	width:150px;
	display:block;
	float:left;
}

#form_allure .f_disabled{
	color:#FF0000;
}

#form_allure .calculer{
	width:100px;
	text-align:center;
}

#votre_allure{
	float:left;
	margin:0 20px 0 0;
}
#votre_vma{
	float:left;
	margin:0 20px 0 0;
}
#votre_pourc{
	float:left;
}

#pourcAppVMA{
	float:left;
	margin:0 75px 0 0;
}

#alluresVMA{
	float:left;
}

#alluresSPE label{
	float:left;
	width:80px;
}
#alluresSPE1{
	float:left;
	margin:0 75px 0 0;
}
#alluresSPE2{
	float:left;
}

        /*Temps course*/

.div_vma{
    background: -moz-linear-gradient(center top , #FFFFFF 55%, #EEEEEE) repeat scroll 0 0 transparent;
    border: 1px solid #CCCCCC;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(55%, white), to(#EEE));
    border-radius: 3px 3px 0 3px;
    font-weight:bold;
    height: 350px;
    width: 100%;
    margin: 0 auto;
}

#vma{
    width:50px;
    text-align:center;
}

.per_vma{
    width:45px;
    text-align:center;
}

#div_vma{
    width:100%;
    font-weight:bold;
    text-align:center;
    margin: 0 auto;
}

#table_vma{
    position: relative;
    margin: 0 auto;
    border-collapse:collapse;
    border: 1px solid #CCCCCC;
}

#table_vma td{
    text-align:center;
    border-bottom: 1px solid #CCCCCC;
    white-space: nowrap;
}

#table_vma td, #table_vma input, #pourcAppVMA label, #pourcAppVMA input, #form_allure label, #form_allure input, #calcul input{
    font-size: 13px;
}

#table_vma th{
    text-align:center;
    border: 1px solid #CCCCCC;
    padding:15px;
}

.temps{
    padding-top:5px;
}

#custom_dist{
    width:54px;
    margin: 0 auto;
    text-align:center;
}

.td_last{   
    border-bottom:none;
}

#runPace, #runDistance, #runSpeed{
    width: 50px;
}

#runHH, #runMM, #runSS{
    width: 25px;
}

        /*compteur course*/
.eael-countdown-items{
    overflow-wrap: normal;
}

.eael-countdown-digits{
    color: rgb(233, 149, 55) !important;
}

#clockTitle h2{
    text-align: left !important;
    margin-left: 10px;
}

        /*résultats*/
.elementor-accordion-title:hover{
    color: rgb(233, 149, 55);
}

.elementor-tab-content a:hover{
    color: rgb(64, 64, 64);
}

        /*informations*/
.elementor-image-carousel-caption{
    font-family: "Open Sans";
    font-size: 18px;
}

.elementor-swiper-button, .elementor-image-carousel-caption{
    color: rgb(233, 149, 55);
}

        /*contact*/
#contactHeader{
    color: rgb(233, 149, 55);
}

.wpforms-field-label{
    font-family: "Racing Sans One", cursive;
    font-weight: 300;
    color: rgb(233, 149, 55);
    margin: 14px 0;
    font-size: 20px;
    text-align: left;
}

.wpforms-submit-container{
    text-align: right;
}

.formField{
    display: inline-block;
    margin-right: 27.563px !important;
    width: auto !important;
}

        /*blog*/
.blogCard{
    vertical-align: top;
    position: relative;
    display: inline-block;
    width: 42%;
    background-color: white;
    margin: 10px;
    padding: 15px;
    border-style: solid;
    border-color: rgb(233, 149, 55);
    border-width: 3px;
    border-radius: 10px;
    text-align: center;
}

.cardThumbnail{
    text-align: center;
}

.blogCard p{
    text-align: left;
}

.cardFooter{
    position: relative;
    font-family: "Open Sans";
    font-size: 18px;
    text-align: right;
}

.material-icons{
    vertical-align: middle;
    font-size: 18px;
    margin-bottom: 4px;
}

#pagination{
    text-align: center;
    margin: 20px;
    font-family: "Open Sans";
    font-size: 18px;
}

#pagination .current::after{
    display: none;
}


        /*Single post*/
#postBlock{
    max-width: 75%;
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin: auto;
}  

.comment-form-comment textarea{
    width: 100%;
}

        /*Barre latérale*/
#lateralBlock{
    min-width: 15%;
}

#lateralBlock h3{
    color: rgb(233, 149, 55);
}

.lateralDiv li{
    font-family: "Open Sans";
    list-style: none;
}

.lateralDiv ul{
    padding-left: 20px !important;
}

#s{
    height: 24px;
    font-family: "Open Sans";
    vertical-align: middle;
}

#postBlock .block img{
    max-width: 80%;
}
#postBlock .block figure{
    text-align: center;
}

        /*Programme de la semaine*/
.board{
    background-image: url("/wp-content/uploads/2022/04/BlocNote.png");
    vertical-align: top;
    position: relative;
    display: inline-block;
    width: 42%;
    min-height: 700px;
    background-position: center;
	background-attachment: scroll;
	background-repeat: no-repeat;
	background-size: 103% 100%;
    background-origin: border-box;
    margin: 0 10px 10px 10px;
    padding: 90px 20px 40px 20px;
    text-align: left;
}

.board h3, .board h2{
    margin-bottom: 10px;
    color: rgb(233, 149, 55);
}

.board h2{
    margin-top: 40px;
}

.board h4{
    text-decoration: underline;
}

.lieu, .date{
    text-decoration: none !important;
}

        /*Calendrier et resultats*/
.infoCourse{
    text-align: left;
}

.result{
    position: relative;
    width: 100%;
}

.D{
    display: inline-block;
    float: right;
    width: 150px;
    text-align: right;
}

.C{
    display: inline-block;
    float: none;
}

.G{
    display: inline-block;
    float: left;
    width: 190px;
    text-align: left;
}
        /*espace perso*/
.ui-state-active{
    background: rgb(233, 149, 55) !important;
    border-color: rgb(233, 130, 55) !important;
}

        /*formulaire*/
.inline{
    display: inline-block;
    width: 49%;
}

.inline input{
    height: 35px;
    width: 90%;
}

.notInline{
    width: 97%;
}

.notInline input, .notInline textarea{
    width: 97%;
    height: 70px;
}

label{
    font-weight: bold;
}

        /*message erreur*/
#alert{
    display: none;
  	width: 75%;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
	background-color: white;
   	border: solid 3px;
   	border-color: rgb(233, 149, 55);
   	border-radius: 10px;
    text-align: center;
    top: 20%;
    left: 8%;
}

/*//////////////////////////////////////////////////////////////////////////////////*/
    /*FOOTER*/
.blocSponsor{
    display: inline-block;
}

.blocSponsor img{
	height: 70px;
}

.sponsor{
    text-align: center;
}

#footer{
    padding: 10px;
    background-color: rgb(233, 149, 55);
    text-align: center;
}

#barreDeReseauxSociaux{
    margin:0;
    padding:0;
}

#admin a{
    font-family: "Open Sans";
	font-weight: 600;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 1.5em;
	letter-spacing: 0px;
	position: relative;
	white-space: nowrap;
	align-items: center;
	box-sizing: border-box;
}

/*//////////////////////////////////////////////////////////////////////////////////*/
    /*WRAPPER*/
.background-wrapper{
    display: none;
    position: fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    width: auto;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20000;
}

@media screen and (min-width: 1199px){
    /*#navContainer{
        line-height: 50px;
    }
    #dropdown1, #dropdown2, #dropdown3 {
        top: 55px;
    }*/
}

/*//////////////////////////////////////////////////////////////////////////////////*/
/*AFFICHAGE MOBILE*/
@media screen and (max-width: 1023px){ /*+16px*/
    #mobileMenuButton{
        display: inline-block;
    }
    .menu{
        display: none;
    }
    
    .navigationOverlap, #navigation{
        position: absolute;
        background-color: rgba(64, 64, 64, 0) !important;
    }
}

@media (max-width: 768px) {
  h1{
    font-size: 45px;
  }
  
  h2{
    font-size: 30px;
  }

  #container {
    max-width: 650px;
  }
  
  #content{
    padding: 1px 1px 10px 1px;
  }
  
  td .material-symbols-outlined{
     font-size: 18px !important;
  }
  
  td{
  font-size: 10px;
  }
  
  th p{
    font-size: 11px;
  }
  
  .inline{
      display: block;
      width: 97%;
      margin: auto;
  }
  
  .inline input{
    width: 97%;
}
  
  .innerBlock p{
    text-align: center;
  }
  
        /*blog*/
    #postBlock{
        display: block;
        position: relative;
        max-width: 100%;
    }        

    .blogCard, .innerBlock{
        position: relative;
        display: block;
        width : auto;
        margin: 15px 0;
    }
    
        /*Programme de la semaine*/
    .board{
        vertical-align: top;
        position: relative;
        display: block;
        width: auto;
        margin-left: 0;
        margin-right: 0;
    }
        /*Barre latérale*/
    #lateralBlock{
        display: block;
        position: relative;
        min-width: 100%;
        text-align: center;
    }
        /*Résultat club*/
    .result{
        font-size: 14px;
    }
    
    .G{
        width: 144px;
    }
    
    .D{
        width: 87px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #container {
    max-width: 720px;
  }
  #content{
    padding: 5px 5px 10px 5px;
  }
  
  td{
  font-size: 14px;
  }
  
  th p{
    font-size: 15px;
  }
  
  td .material-symbols-outlined{
     font-size: 20px !important;
  }

  .innerBlock p{
    text-align: center;
  }
        /*blog*/
    #postBlock{
        display: block;
        position: relative;
        max-width: 100%;
    }        

    .blogCard, .innerBlock{
        position: relative;
        display: block;
        width : auto;
        margin: 15px 0;
    }

        /*Programme de la semaine*/
    .board{
        vertical-align: top;
        position: relative;
        display: block;
        width: auto;
        padding: 80px 30px 40px 30px;
        margin-left: 0;
        margin-right: 0;
    }
    
        /*Barre latérale*/
    #lateralBlock{
        display: block;
        position: relative;
        min-width: 100%;
        text-align: center;
    }
}

@media (min-width: 1024px) {
/*général*/    
  #container {
    max-width: 960px;
  }
  
          /*blog*/
    #postBlock{
        max-width: 75%;
        position: relative;
    }        

    .blogCard, .innerBlock{
        position: relative;
        display: inline-block;
        width: 42%;
    }
        /*Barre latérale*/
    #lateralBlock{
        display: inline-block;
        max-width: 23%;
        position: relative;
        float: right;
    }
        /*Résultat club*/
    .result{
        font-size: 14px;
    }
    
    .G{
        width: 144px;
    }
    
    .D{
        width: 87px;
    }
    #content{
    padding: 20px;
    }
}

@media (min-width: 1232px) {
    #container {
        max-width: 1200px;
    }
  
    .D{
        width: 150px;
    }

    .G{
        width: 190px;
    }
  
}








