/*
Theme Name: AGIR - Veysonnaz - Child
Description: Thème enfant AGIR - Veysonnaz
Author: Flag
Template: agir
Version: 1.0
*/

.grecaptcha-badge {
  display: none !important;
}

section#top_header h2 {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 6px;
  font-weight: 500;
  font-size: 3rem;
}

.home_box {
  padding: 10px;
}
.home_box h2 {
  font-size: 2rem;
}
.home_box h3 {
  font-size: 1.4rem;
}
.home_box.gauche {
  background-color: #efe; 
  color: #000; 
}
.home_box.droite {
  background-color: #00933f; 
  color: #fff;
}
.homebox_content {
  padding: 20px;
}

/* #main_menu_section, */
#fond_commune {
  display: none;
}

#main_menu_div ul.main_menu li a {
  font-size: 1.5rem;
}

.page-template-candidats h1 {
  font-size: 40px;
}

.cand_item h3 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #345;
}
.cand_item .lastname {
  font-variant: small-caps;
}
.cand_item .profession,
.cand_item .age {
  font-size: 1.6rem;
}

.candidats_juges .cand_item .photo {
  display: none;
  float: left;
  width: 200px;
}
.candidats_juges .cand_item .photo img {
  width: 100%;
}

.form p {
  font-size: 1.1rem;
}                  

#teaser_news,
.teaser_news {
  background-color: #efe; 
}
#teaser_news h3,
.teaser_news h3 {
  background-color: #00933f; 
  color: #fff;
  padding: 8px 16px;
}
#teaser_news .teaser_content,
.teaser_news .teaser_content {
  padding: 12px 16px;  
}
#teaser_news p,
.teaser_news p {
  font-size: 1rem;
}

#box_valeurs h2 {
  font-weight: 700;
  color: #00933f;
  margin-bottom: 30px;
}
#box_valeurs h3 {
  font-weight: 700;
  color: #00933f;
}
#box_valeurs p {
  font-size: 20px;
}

#valeurs_container .teaser_news {
  min-height: 450px;
}
#valeurs_container .teaser_news h3 {
  background-color: #00933f;
  color: #fff;
  padding: 8px 40px;
  font-size: 25px;
  font-weight: 700;
}
#valeurs_container .teaser_news ul {
  padding: 20px 40px;
}
#valeurs_container .teaser_news h4 {
  margin: 20px;
}

#valeurs_container .teaser_news ul li {
  list-style: none;
  margin-bottom: 12px;
}

#valeurs_container #val_bienetre {
  padding-bottom: 20px;
}
#valeurs_container #val_bienetre.teaser_news h4 {
  margin: 30px 40px 15px;
  padding-top: 0px;
  padding-bottom: 0px;
  font-weight: 600;
  font-size: 20px;
}
#valeurs_container #val_bienetre.teaser_news ul.no_vert_marg {
  margin: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.logo_col {
  width: 100%;
  min-height: 300px;
  background-image: url('/wp-content/themes/agir/img/logo-simple.png');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;   
}

.shadow_box {
  box-shadow: 5px 6px 12px -1px rgba(150,150,150,0.75);
-webkit-box-shadow: 5px 6px 12px -1px rgba(150,150,150,0.75);
-moz-box-shadow: 5px 6px 12px -1px rgba(150,150,150,0.75);
}

#nf_thumb {
  max-width: 350px;
}

#img_communique_nf {
  border: 1px solid #eee;
}
#img_communique_nf:hover {
  opacity: 0.8;
  box-shadow: 5px 6px 12px -1px rgba(150,150,150,0.75);
-webkit-box-shadow: 5px 6px 12px -1px rgba(150,150,150,0.75);
-moz-box-shadow: 5px 6px 12px -1px rgba(150,150,150,0.75);
}

#img_candidats {
  padding: 0px; 
  margin-bottom: 20px;
}

section#main {
  min-height: 500px;
}


.noptin-popup-main-wrapper button.noptin-popup__close, 
.noptin-slide_in-main-wrapper button.noptin-popup__close {
  background: transparent !important;
}
.noptin-form-id-89 .noptin-optin-form-wrapper * {
  background-color: #efe;
}
#noptin-form-1__field-email {
  background-color: #fff;
}

input.acceptance {
  width: inherit !important;
}
textarea#commentaire {
  height: 80px;
}

.col-left-to-teaser {
  padding-right: 50px !important;
}

#commune_logo_switch {
  float: right; 
  margin: 0px 0px 20px 40px; 
  max-width: 100%;
}

#div_img_comment_voter {          
  margin: 20px auto 30px !important;
}
@media only screen and (min-width: 646px) {    
  #div_img_comment_voter {
    max-width: 90%;              
  }
}

#div_img_radio {
  max-width: 400px;
  margin: 20px auto 30px !important;
}

#div_img_raclette {
  margin: 20px auto 30px !important;
}

.group-family-members {
  height: auto;
  display: block;
  margin-bottom: 46px;
}
.group-family-members input {
  margin: 0px;
  padding: 2px 12px;
  max-width: 240px;
  margin-bottom: -25px;
}

#page_comite h3 {
  margin: 30px 0px 20px;
  color: #00933f;
  font-weight: bold;
}
.row_comite .nom,
.row_elus .fonction {
  font-weight: bold;
  color: #00933f;
}
.row_comite img, .row_elus img {
  display: none;
}
.comite-item {
  text-align: center;
  padding-bottom: 40px;
}
.comite-item img {
  max-width: 150px;
  margin-top: 20px;
}
.comite-item ul {
  list-style-type: none;
}
.dicasteres ul {
  display: none;
}

#fb_menu {
  width: 38px;
  cursor: pointer;
}

.post-type-archive-docs .doc_item {
  padding: 25px;
  margin-bottom: 40px;
}
.post-type-archive-docs .form {
  background-color: #ddd;
  padding: 30px 60px;
}
.post-type-archive-docs .form p span {
  background: #fff;
  color: #00933f;
  font-weight: 700;
  padding: 0px 5px;
  margin-left: 8px;
}

footer #intranet {
  text-align: center;
  margin-bottom: 20px;
}
footer #intranet a {
  color: #fff;
}

/**********************************************
* RESPONSIVE MEDIA QUERIES
**********************************************/
@media only screen and (max-width: 645px) {
  
  section#top_header h2 {
    font-weight: 600;
    font-size: 1.5rem;
  }
  #main_menu_div ul.main_menu {
    padding-left: 0px !important;
  }
  #main_menu_div ul.main_menu li {
    width: 90%;
  }
  
  #main_menu_div ul.main_menu li a {
  font-size: 1rem;
  display: inline-block;
  margin: inherit;
  font-size: 1rem;
  margin-bottom: 0px;
  border-top: 1px solid #595;
  border-left: 1px solid #595;
  border-right: 1px solid #595;
  padding: 4px;
}
  #main_menu_div ul.main_menu li:last-child a {
    border-bottom: 1px solid #595;
  }
  
  #img_candidats,
  .page-template-valeurs .val_item {
    max-width: 92%;   
    margin-left: auto;
    margin-right: auto;
  }
  .post-type-archive-news article.post,
  .bord_vert_gauche {
    border-left: 24px solid #00933f;  
  }
  
  h1.vert {
    font-size: 40px;
  }
  
  #teaser_news {
    /* display: none; */
    
  }
  
  .col-left-to-teaser, {
    width: 100%;
    padding-right: 0px;
  }
  
  
  section#main_menu_section {
    margin: 20px 0px 30px;
  }
  
  .cand_item h3 {
    font-size: 1.8rem;
  }
  
  .candidats .cand_item {
    min-width: 92%;
    max-width: 92%;   
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
  }
  
  .cand_item .profession, 
  .cand_item .age {
    font-size: 1rem;
  }
  
  .candidats_juges .cand_item {
    padding: 10px 30px;
    height: inherit !important;
  }
  .candidats_juges .cand_item .photo {
    display: none;
  }
  
  .home_container {
    margin-left: 20px;
    margin-right: 20px;
    max-width: 90%;
  }
  
  
}
/*********************************************/