/* 
Theme Name:    wp bootstrap starter child
Theme URI:     http://web-romandie.ch
Description:   wp bootstrap starter child is a child theme of WP Bootstrap Starter, created by ChildTheme-Generator.com
Author:      Web romandie
Author URI:    http://web-romandie.ch
Template:    wp-bootstrap-starter
Version:     1.0.0
Text Domain:   wp-bootstrap-starter-child
*/


@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500&display=swap');

*, body {

  font-family: 'Montserrat', sans-serif;

}

p, h1,h2,h3,h4, span,
.query-field-post_title {
  color: #2E5665;
}

a {
  color: #2E5665;
}

a:hover {
  color:#7C878E;
}

.row {

      margin-right: 0;
    margin-left: 0;
}

.col-12,.col-lg-12, .col-md-12, .col-sm-12, .col-xl-12{
    position: relative;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}


/* NAV ---------------- 
-----------------------------*/

  .navbar-brand {

    padding: 20px;

  }

  .navbar-light .navbar-nav .nav-link,
  .navbar-light .navbar-nav .active>.nav-link, 
  .navbar-light .navbar-nav .nav-link.active, 
  .navbar-light .navbar-nav .nav-link.show, 
  .navbar-light .navbar-nav .show>.nav-link,
  .dropdown-item {
    color:#7C878E;
  }

  .navbar-nav {

    margin-left: 100px;

  }

  .current-menu-parent a,
  .navbar-light .navbar-nav .active > a{
    color:#2E5665 !important;
  }

  .navbar-light .navbar-nav .active.dropdown-item,
  .dropdown-item:focus, 
  .dropdown-item:hover,
  .dropdown-menu li.current-menu-item .dropdown-item {
    color:#7C878E !important;
  }

  .dropdown-menu  {

    border: none;

  }

  .dropdown-item:focus, .dropdown-item:hover {
    background:none;
    color:#2E5665;
  }

  .navbar-light .navbar-toggler {

    border-color:0;
    color: #2E5665;

  }

  .navbar-nav li {
    margin: 0 20px;
  }

 .navbar-nav li.wpml-ls-current-language {
  margin-right:0;
 }
  .navbar-nav li.wpml-ls-last-item{
    margin-left:0;
    margin-right:0;
  } 
 
 .fixed-top {
  background:#fff;
 }

 .query-quatres_publications-wrapper .query-content,
 .query-publication_domaine_liste-wrapper .query-content,
 .query-liste_tout_publications-wrapper .query-content {

  margin-top:40px;

 }

/* CONTENT ---------------- 
-----------------------------*/

  #content {
    margin-top:136px;
  }
    /* HOME */

    .home section,
     .page-id-278 section {
      width: 100%;
      margin:0px 0 50px 0;
    }

    .home #section1 .col-sm-8,
    .page-id-278 #section1 .col-sm-8{
      padding-left:0;
    }

    .home #section1 .bannerGreenTopHome .contentB,
    .page-id-278 #section1 .bannerGreenTopHome .contentB{

      background: rgba(46,86,101,0.6);
      color:#fff;
      padding:50px;

    }

    .home #section1 .contentB,
    .page-id-278 #section1 .contentB{
     /* display: flex;
      align-items: center;
      height: 100%;*/
      display: flex;
      align-items: center;
      justify-content: center;
      font-size:20px;
      height:100%;
    }
    .home #section1 .bannerGreyTopHome .contentB {
      text-align: center;
    }

    .home .container-fluid {
      padding: 0px !important;

    }

    .home #section1 .bannerGreyTopHome {

      background: rgba(124,135,142, 0.2);

    }

    .home .subTitleHome {
      padding: 50px;
    }

    .home .subTitleHome.green {

      background: #2E5665;

    }

     .home h2 {
       position: relative;
          font-weight: 100;
      font-size: 40px;
       
    }
  

    .home h2:before {

      content: "";
      position: absolute;
      height: 156%;
      transform: rotate(25deg);  
      width: 1px;
      top: -17px;
          margin-left:-15px;

    }
     .home .subTitleHome.green h2{ 


        /*margin-left:20%;*/
        text-align: center;

      }

      .home h2 {
        color:#fff;
      }
      .home h2:before {
        background:#fff;
      }

      /*.home #section2 h2 {
       color: #FFF500;
   
      }*/

      .home #section2 .col-sm-6 {
        padding-right:0;
      }

    

     /* .home #section3 h2 {
        color: #AF181D;
       
      }*/
    

      /*.home #section4 h2{
        color: #97E1E5;
      }*/

      .home #section4 .query-field-meta_date_actualite {
        margin-bottom:20px;
      }
      .home #section5 h2{
       /* color: #003154;*/
        text-align: center;
      }

      .home .subTitleHome.grey {
       background: rgba(124,135,142, 0.2);
      }

   
   /* .home #section2 h2:before{
      background: #FFF500;
    }
    .home #section3 h2:before{
      background: #AF181D;
    }
    .home #section4 h2:before{
      background: #97E1E5;
    }
    .home #section5 h2:before{
      background: #003154;
    }*/

    .home #section2 img,
    .home #section3 img,
    .home #section5 img,
    .home #section4 img {
      margin-top: -60px;
    }

    .home #section3 img  {
      width:100%;
    }

    .home #section2 .contentsection2{
      padding: 50px 100px 0px;
    }

    /*.home #section3 .contentsection3 img,*/
    .home #section5 .contentsection5 img{
      width: 41.666667%;
      float: left;
    }

    .home #section4 .contentsection4 img{
      width: 41.666667%;
      float: right;
    }

    .contentsection5 h3{
      font-weight: 100;
      font-size: 30px;
      margin: 50px 0 0 68px;
      float: left;
    }


    .contentsection4 h3 {
      font-weight: 100;
      font-size: 30px;
      margin: 50px 0 0 66px;
    }

  .query-domaines-home-wrapper {
    margin-top:50px;
  }

  /*.query-domaines-home-wrapper,
  .query-actualite_liste_home-wrapper,
  .query-liste-publication-home-wrapper {
    margin: 0 50px;
  }*/


  #section3 .col-sm-6.imgDomaine,
  #section3 .col-sm-6.contentDomaine,
  #section5 .col-sm-6.imgpub{

    padding-left: 0;

  }

  #section3 .col-sm-6 img,
  #section5 .col-sm-6 img {
    padding-right:40px;
  }

  .query-liste-actualite .query-field-meta_texte_actualite {
    margin-top:20px;
    /*margin-bottom:20px;*/
  }

  .query-field-meta_date_actualite {
    color:#2E5665;
    margin-top:10px;
  }
  /* Page template default */

  .page-template-default .container-fluid,
  .domaine-template-default .container-fluid,
  .avocat-template-default .container-fluid{
    padding: 0;
  }

  .page-template-default article header,
  .domaine-template-default #main header,
  .avocat-template-default #main header{
   
    background: #2E5665;
    padding: 10px;
    position: relative;

  }
  .page-template-default article .container,
  .domaine-template-default #main .container,
  .avocat-template-default #main .container {

    padding: 50px 0;

  }

  .col-sm-12.avocatContent,
  .col-sm-12.domaineContent{
    padding-left:15px;
    padding-right:15px;
  }

  .page-template-default article header img{
    position: absolute;
    bottom: -200px;
    right: 10%;
    width: 39%;
    height: auto;
  }

  .domaine-template-default #main img,
  .avocat-template-default #main img.portrait {
    margin-top:-150px;
    width:100%;
    height:auto;
    margin-bottom:50px;
  }

  .avocat-template-default img.plusav{

    width:20px;
    height: 20px;

  }

  .page-template-default h1,
  .domaine-template-default h1,
  .avocat-template-default h1 {
     position: relative;
     color: #fff;
     font-weight: 100;
  }

  .page-template-default.page-id-64  h1,
  .page-template-default.page-id-80  h1,
  .page-template-default.page-id-347 h1,
  .page-template-default.page-id-497 h1{
    text-align: center;
  }

  .avocat-template-default h1 {
    margin-left:50%;
  }

  .page-template-default h1:before,
  .domaine-template-default h1:before,
  .avocat-template-default h1:before  {



      content: "";
      position: absolute;
      margin-left: -15px;
      height: 156%;
      transform: rotate(25deg);  
      width: 1px;
      top: -18px;
      background:#fff;

    

  }

  .actuAvocat {
      background: rgba(124, 135, 142, 0.2);
      padding: 20px;
      overflow-wrap: break-word;
      }

  .actuAvocat .query-row  {
    margin-bottom:20px;
  }

  .avocatContent .card {
    border:none;
  }

  .avocatContent .card .btn-link{
    color:#2E5665;
    font-size: 25px;
    font-weight:500;
  }

  .avocatContent .card-header {
    background:none;
    border:0;
  }

  .avocatContent .accordion > .card .card-header {
    padding-left:0;
  }

  .avocatContent .card .btn-link {
    padding-left:0;
  }

  .avocatContent .btn-link:hover {
    text-decoration: none
  }

  .col-wr-3 {
    width:25%;
    float: left;
    padding:20px;
    min-height: 265px;
    margin-top:60px;
  }

  .col-wr-3:first-child {
    margin-left:60px;
  }
  .col-wr-6:first-child {
    margin-left:1px;
  }

  .query-actualite_liste_home .col-wr-6:first-child {

    margin-left:56px;

  }

  .col-wr-6 {
    width:50%;
    float: left;
    padding:20px;
    margin-top: 60px;
  }

  .domaine-template-default .col-sm-7 a {

    color: #2E5665;

  }

  .domaine-template-default .col-sm-7 h2 {
    font-weight: 400;
  }

  .query-field-post_title {
    font-size: 2rem;

  }

  .query-domaines-home .query-field-post_title,
  .query-liste-publication-home .query-field-post_title,
  .query-actualite_liste_home .query-field-post_title,
  .query-liste_domaine_home_all_home .query-field-post_title,
  .query-liste-publication-home-all .query-field-post_title,
  .query-actualite_liste_home_all .query-field-post_title {

    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom:20px;
    font-weight: 500;

  }

  .query-liste_domaine_home_all_home .col-sm-3,
  .query-liste-publication-home-all .col-sm-6,
  .query-actualite_liste_home_all .col-sm-6
  {

    margin-top: 40px;

  }

  .query-field-meta_resume_domaine_act {

    color:#7C878E;

  }

  .query-liste-avocats {
    text-align: center;
  }

  .home #section4 img,
  .home #section5 img{

    width: 100%;

  }

  .home #section4 h2 {
    text-align: center;
  }

  .home #section4 .col-sm-6,
  .home #section2 .col-sm-5{

    padding-right: 0;

  } 

  .home #section4  h3,
  .home #section5  h3 {
    margin-bottom:30px;
    margin-top:50px;
    font-weight:100;
  }

	.home .grey  h2 {
		text-align: center;
		color:#2E5665;	
	}

	.home .grey h2:before {
		background: #2E5665;
	}


/*  .home #section4 img {
    padding-left:40px;
  }*/

  /*  #section4 .col-sm-6 {
      margin-top: 40px;
    }*/

  .query-liste-avocats-wrapper img{

    width: 100%;
    height:auto;
    margin-top:50px;
    border: 1px solid #707070;

  }

  .page-id-64 .query-field-meta_expertise_avocat b,
  .page-id-347 .query-field-meta_expertise_avocat b {
    display: none;
  }

  .query-liste-avocats-wrapper .query-field-post_title a,
  .query-liste-actualite .query-field-post_title,
  .query-liste-actualite .query-field-post_title a{

    font-size:20px !important;
    color:#2E5665 !important;
    font-weight: 400;

  }

  .avocat-template-default h5{
    font-size:25px;
    margin-bottom:20px;
  }

  .avocat-template-default img,
  .query-field-meta_images_actualite img {
    width:100%;
    height:auto;
  
  }

   .avocat-template-default .row {  
      margin-bottom:100px;
    }

    .avocat-template-default #footer-widget .row {
      margin-bottom:0;
    }
 


  .avocat-template-default hr {

    width:20%;
    margin-left: 0;
    border-top: 1px solid #707070;
    margin:50px 0;

  }

  .query-newsleter-wrapper .query-row {

    margin: 20px 0;
    color: #2E5665;

  }
  .query-field-meta_date_newsletter{
    margin-bottom:10px;
    font-weight: 500;
   
  }

  .query-liste_avocat_publication-wrapper,
  .query-publication_domaine_liste {
    display: none;
  }

   .activeavocat,
   .activedomaine {
      display: block;
    }


    .query-field-meta_avocats_publication {

       color:#2E5665;
       font-weight: 500;
       margin-bottom:20px;
       margin-top:-10px;
       position: relative;
       margin-right:5px;
       padding-right:5px;
    }

    .query-field-meta_avocats_publication:after {
      content:',';
      position: absolute;
      bottom:0;
      right:0;
    }



    .titleavocat,
    .titledmaine{
          margin:20px 0;
          color:#2E5665;
          cursor:pointer;
    }


    .titleavocat img,
    .titledmaine img{
          margin-right:10px;
    }
.query-publication_domaine_liste-wrapper .query-wrapper-content,
.query-liste_avocat_publication-wrapper .query-wrapper-content {
  margin-left:42px;
}



  .query-liste_avocat_publication .query-field-post_title,
  .query-publication_domaine_liste .query-field-post_title {
    color:#2E5665;
    font-weight: 100;
    margin-bottom: 20px;
    margin-top: -10px;
    position: relative;
    margin-right: 5px;
    padding-right: 5px;
    font-size: 1rem;
    }

       
  .query-field-meta_pdf {
    margin-top:10px;
    font-weight: 500;
  }

  .query-liste_tout_publications .query-field-meta_date,
  .query-quatres_publications-wrapper .query-field-meta_date {
     color:#2E5665;
  }

  .query-liste_tout_publications .query-field-meta_date,
  .query-field-meta_avocats_publication,
  .query-quatres_publications-wrapper .query-field-meta_date
{
    display: inline-block;
  }
 .query-liste_avocat_publication .query-field-post_title.activeTitle, .query-publication_domaine_liste .query-field-post_title.activeTitle
 {
      font-weight: bold;
    }


.query-liste_tout_publications-wrapper{
    padding-top: 200px;
    margin-top: -200px;
}

/* FOOTER ---------------- 
-----------------------------*/

  #footer-widget {

    background: #7C878E !important;
    text-align: center;
    color: #fff;
    padding-top: 1rem;

  }

  .home #footer-widget {
    background:#2E5665 !important;
  }

  #footer-widget .textwidget a,
  #footer-widget .textwidget p {

    color: #fff ;
    font-size:0.8rem;

  }

  #footer-widget section {

    margin-bottom: 0;
  }


  @media (max-width: 768px) {

    .home #section1 .col-sm-8 {
      padding-right: 0;
    }

    .home #section2 .col-sm-6 {
      padding-left:0;
    }

    .home .bannerGreyTopHome {
      padding: 40px 0;
    }

    .home #section2 .contentsection2 {
      padding: 50px 30px 0px;
    }

    .home .subTitleHome.green h2,
    .col-wr-3:first-child,
    .query-actualite_liste_home .col-wr-6:first-child {
      margin-left: 0;
    }

    .home #section2 img, 
    .home #section3 img, 
    .home #section5 img, 
    .home #section4 img {
      margin-top: 0;
    }

    .col-wr-3,
    .col-wr-6 {
      width: 100%;
      float:none;
      min-height:0;
      margin-top:0;
    }

    .home #section3 .contentsection3 img, 
    .home #section5 .contentsection5 img,
    .home #section4 .contentsection4 img,
    .page-template-default article header img {
      width:100%;
      float:none;
    }


    .home #section3 h2 {
      text-align: left;
      margin-right:0;
    }


    .home h2 {
      font-size:35px;
      margin-bottom:0;
    }

    .contentsection5 h3 {
      float:none;
    }

    .domaine-template-default #main img, 
    .avocat-template-default #main img,
    .page-template-default article header img {
      margin-top:0;
    }

    .avocat-template-default .row {

      margin-bottom:20px;

    }


    .avocat-template-default h1 {

      margin-left:10%;

    }

    .wp-block-spacer {
      height:10px !important;
    }




  /*
      .avocat-template-default .row .col-sm-4 {
        padding-left:0;
        padding-right:0;
      }


      .avocat-template-default .row .col-sm-12:first-child,
      .domaine-template-default .row .col-sm-12:first-child {
          
          padding-right: 15px;
          padding-left: 15px;

      }

      .col-sm-12.avocatContent,
      .col-sm-12.domaineContent {
        padding-left:0px;
        padding-right:0px;
      }
  */

    .page-template-default h1, 
    .domaine-template-default h1, 
    .avocat-template-default h1 {
          margin-left: 26px;
    }

    .page-template-default article header img {

      position: relative;
      bottom:0;
      right:0;
      margin-top:20px;

    }

    .page-template-default article .container .entry-content {
      padding:0 15px;
    }

    .query-field-meta_date_actualite {
      margin-bottom:30px;
    }

    iframe {
      width:100%;
    } 

  }

.lastPublication{
	font-size:0.8em;
	cursor:pointer;
}