/* 
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

@media screen and (device-aspect-ratio: 2/3) {
  .carousel .carousel-item {
    height: 190px !important;
}
}

@media screen and (device-aspect-ratio: 40/71) {
  .carousel .carousel-item {
    height: 190px !important;
}
}

@media (min-width: 1281px) {}

/* 
    ##Device = Laptops, Desktops
    ##Screen = B/w 1025px to 1280px
  */

@media (min-width: 1025px) and (max-width: 1200px) {

  /*body, html{
      height:auto;
    }*/

    .questionnaire-popup .card .card-header .title-bar {
     
      font-size: 1.5rem;
    }
}

/* 
    ##Device = Tablets, Ipads (portrait)
    ##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px)  and (orientation: portrait){
  .carousel .carousel-item{
    height:275px !important;
  }

  .prog-row > .col-md-5, .prog-row > .col-md-7{
    max-width:100%;
    flex:0 0 100%;
  }

  .questionnaire-popup .card .card-header .title-bar {
     
    font-size: 1.5rem;
  }
}

/* 
    ##Device = Tablets, Ipads (landscape)
    ##Screen = B/w 768px to 1024px
  */

@media (min-width: 768px) and (max-width: 1024px) {
  html, body { overflow-x: hidden; }

  .container{
    padding:0;
    max-width:100%;
  }

  .header-bar-container .navbar-nav .nav-item:not(:last-child):after{
    display:none;
  }

  .login-card{
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .elm.main-side{
    max-width:100%;
    flex:0 0 100%;
    padding:0;
    margin-top:1.3rem;
  }

  .line-1 > .elm:nth-child(1){
    max-width:100%;
    flex: 0 0 100%;
  }

  .member-box{
    margin-left:auto;
    margin-right:auto;
  }

  .pubs .elm, .cours , .actualités{
    max-width:50%;
    flex:0 0 50%;
  }

  .footer-links .elm{
    max-width:100%;
    flex:0 0 100%;
  }

  .footer-links .elm:not(.box-one){
    margin-bottom:1.3rem;
  }

  .dropdown-content.no-columns{
    min-width:auto !important;
  }

  .dropdown-content.no-columns .body ul li{
    display:block !important;
    width:100% !important;
  }

  .carousel .carousel-item{
    background-position:right !important;
  }

  .carousel .carousel-item{
    height:437px !important;
    /*background-image:url(/assets/imgs/banners/b12/banner12x768.jpg) !important;*/
  }

  .page-content .column-elm.main h4, 
  .page-content h4{
    text-align:center !important;
  }

  .part-box{
    border-right: none !important;
    text-align: center !important;
  }

  .member-box{
    flex: 0 0 33.333333%;
    max-width: 33.333333% !important;
  }

  .acc-page .multi-boxes{
    display:none;
  }

  .pres-speak{
    max-width:100%;
    flex:0 0 100%;
  }

  .members-list .thumbnail {
    max-width:100%;
    flex:0 0 100%;
  }

  .caravanes, .congres{
    max-width:100%;
    flex: 0 0 100%;
  }

  .article .card-header {
    padding-top: 0 !important;
  }

  .article{
    margin-bottom:1.2rem !important;
  }

  .column-elm.side, .column-elm.main{
    max-width:100%;
    flex:0 0 100%;
    padding:0;
  }

  .actualite-elm{
    max-width:50%;
    flex:0 0 50%;
  }

  .prog-row > .col-md-5, .prog-row > .col-md-7{
    max-width:100%;
    flex:0 0 100%;
  }

  .questionnaire-popup .card .card-header .title-bar {
     
    font-size: 1.5rem;
  }
}

/* 
    ##Device = Low Resolution Tablets, Mobiles (Landscape)
    ##Screen = B/w 481px to 767px
  */

@media (min-width: 481px) and (max-width: 767px) {
  html, body { overflow-x: hidden; width:100%;}

  .container{
    padding:0;
    max-width:100%;
  }

  .slogan-header .slogan-item{
    min-height:auto !important;
    display:block !important;
  }

  .slogan-header .slogan-item.accr{
    display:none !important;
  }

  .slogan-header .slogan-item.logo{
    float: none !important;
    margin: auto !important;
    width:200px !important;
  }

  .carousel{
    margin-bottom:0 !important;
  }

  .row [class*="col-md-"]{
    padding:0 !important;
  }

  .footer-links .row [class*="col-md-"],
  .row .member-box{
    padding-left:15px !important;
    padding-right:15px !important;
  }

  .carousel .carousel-item{
    /*height:220px !important;*/
  }

  .elm.pres-img{
    text-align:center;
  }

  .elm.pres-img img{
    width:70%;
  }

.rect-boxes{
    margin-top:0 !important;
}

  .login-card{
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .elm.main-side .card{
    border:none !important;
  }

  .pubs{
    margin-bottom: 0 !important;
  }

  .footer-links .elm:not(.box-one){
    margin-bottom:1.3rem;
  }

  .dropdown-content.no-columns{
    min-width:auto !important;
  }

  .dropdown-content.no-columns .body ul li{
    display:block !important;
    width:100% !important;
  }

  .carousel .carousel-item{
    background-position:right !important;
  }

  .page-content .column-elm.main h4, 
  .page-content h4{
    text-align:center !important;
  }

  .part-box{
    border-right: none !important;
    text-align: center !important;
  }

  .header-bar-container .navbar-nav .nav-item:not(:last-child):after{
    display:none;
  }

  .line-1{
    margin-bottom:0 !important;
  }

  .affiche{
    width:80%;
    margin:auto;
  }

  .congres button{
    width:80%;
    margin:auto;
  }

  .top-navbar .navbar-nav{
    flex-direction: row !important;
    width:100%;
  }

  .top-navbar .navbar-nav:nth-child(1) li{
    width:33.33%;
    text-align:center;
  }

  .top-navbar .navbar-nav:nth-child(2) li{
    margin:auto;
  }

  .acc-page .multi-boxes{
    display:none;
  }

  .text-box {
    padding-left:0 !important;
  }

  .cpres-img img{
    width: 70%;
    margin: auto;
    float: none !important;
    margin-bottom: 1rem !important;
    margin-top: 1rem;
  }

  .signature{
    text-align: center !important;
    margin-top: 10px;
    width: 70% !important;
    float: none !important;
    margin: auto;
  }

  .thumbnail.footer-thumb .row > .thumbnail{
    min-height:auto !important;
    text-align: center;
  }

  .thumbnail.footer-thumb .row > .thumbnail:nth-child(1) img{
    width:50% !important;
  }

  .thumbnail.footer-thumb .row > .thumbnail.list-items ul li:before{
    content:none !important;
  }

  .thumbnail.footer-thumb .row > .thumbnail.list-items > hr{
    width:30% !important;
    margin-left:auto !important;
  }

  .thumbnail.footer-thumb .row > .thumbnail h4, .thumbnail.footer-thumb .row > .thumbnail ul{
    padding-left:0 !important;
  }

  .part-list .basic-box{
    text-align: center !important;
    border-right: none !important;
  }

  .part-list .basic-box img{
    width:50% !important;
  }

  .rect-box:last-child a{
    line-height: 3.3;
} 


}

/* 
    ##Device = Most of the Smartphones Mobiles (Portrait)
    ##Screen = B/w 320px to 479px
  */

@media (min-width: 320px) and (max-width: 480px) {
  html, body { overflow-x: hidden; }

  .container{
    padding:0;
  }

  .slogan-header .slogan-item{
    min-height:auto !important;
    display:block !important;
  }

  .slogan-header .slogan-item.accr{
    display:none !important;
  }

  .slogan-header .slogan-item.logo{
    float: none !important;
    margin: auto !important;
    width:200px !important;
  }

  .carousel{
    margin-bottom:0 !important;
  }

  .row [class*="col-md-"]{
    padding:0 !important;
  }

  .footer-links .row [class*="col-md-"],
  .row .member-box{
    padding-left:15px !important;
    padding-right:15px !important;
  }

  .carousel .carousel-item{
    /*height:437px !important;*/
    /*background-image:url(/assets/imgs/banners/b12/banner12x360.jpg) !important;*/
  }

  .elm.pres-img{
    text-align:center;
  }

  .elm.pres-img img{
    width:70%;
  }

.rect-boxes{
    margin-top:0 !important;
}

  .login-card{
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .elm.main-side .card{
    border:none !important;
  }

  .pubs{
    margin-bottom: 0 !important;
  }

  .footer-links .elm:not(.box-one){
    margin-bottom:1.3rem;
  }

  .dropdown-content.no-columns{
    min-width:auto !important;
  }

  .dropdown-content.no-columns .body ul li{
    display:block !important;
    width:100% !important;
  }

  .carousel .carousel-item{
    background-position:right !important;
  }

  .page-content .column-elm.main h4, 
  .page-content h4{
    text-align:center !important;
  }

  .part-box{
    border-right: none !important;
    text-align: center !important;
  }

  .header-bar-container .navbar-nav .nav-item:not(:last-child):after{
    display:none;
  }

  .line-1{
    margin-bottom:0 !important;
  }

  .affiche{
    width:80%;
    margin:auto;
  }

  .congres button{
    width:80%;
    margin:auto;
  }

  .top-navbar .navbar-nav{
    flex-direction: row !important;
    width:100%;
  }

  .top-navbar .navbar-nav:nth-child(1) li{
    width:33.33%;
    text-align:center;
  }

  .top-navbar .navbar-nav:nth-child(2) li{
    margin:auto;
  }

  .acc-page .multi-boxes{
    display:none;
  }

  .text-box {
    padding-left:0 !important;
  }

  .cpres-img img{
    width: 70%;
    margin: auto;
    float: none !important;
    margin-bottom: 1rem !important;
    margin-top: 1rem;
  }

  .signature{
    text-align: center !important;
    margin-top: 10px;
    width: 70% !important;
    float: none !important;
    margin: auto;
  }

  .thumbnail.footer-thumb .row > .thumbnail{
    min-height:auto !important;
    text-align: center;
  }

  .thumbnail.footer-thumb .row > .thumbnail:nth-child(1) img{
    width:50% !important;
  }

  .thumbnail.footer-thumb .row > .thumbnail.list-items ul li:before{
    content:none !important;
  }

  .thumbnail.footer-thumb .row > .thumbnail.list-items > hr{
    width:30% !important;
    margin-left:auto !important;
  }

  .thumbnail.footer-thumb .row > .thumbnail h4, .thumbnail.footer-thumb .row > .thumbnail ul{
    padding-left:0 !important;
  }

  .part-list .basic-box{
    text-align: center !important;
    border-right: none !important;
  }

  .part-list .basic-box img{
    width:50% !important;
  }

  .rect-box:last-child a{
    line-height: 3.3;
} 

.step-item.full .card-body:before{
  content:none;
}

.step-item.half.right .card-body:after{
  content:none;
}

.step-item.half.left .card-body:after{
  content:none;
}

.prog-row > .col-md-5, .prog-row > .col-md-7{
  max-width:100%;
  flex:0 0 100%;
}

.questionnaire-popup .card .card-header .title-bar {
  font-size: 1.1rem;
}

.questionnaire-popup {
  width: 100%;
}

}



