/* ==========================================================================
   Author's custom styles
   ========================================================================== */



body {
    padding: 0;
    font-size: 13px;
    font-family: Arial;
    color: #3E3E3E;
}
h1 {
    font-size: 32px;
    margin-bottom: 21px;
    margin-top: 12px;
}
h2 {
    font-size: 26px;
    padding-bottom: 25px;
    margin-bottom: 12px;
}
h3 {
    text-transform: uppercase;
    padding-bottom: 10px;
    margin-bottom: 5px;
    font-size: 19px;
}
h4 {
    font-weight: 600;
}
h5 {
    font-weight: 700;
    font-size: 16px;
}
h6 {
    font-size: 14px;
    padding-bottom: 5px;
}
h1, h2, h3 {
    font-weight: 300;
}
h2, h3, h6 {
    border-bottom: 1px solid #CCCCCC;
}

iframe {
  max-width: 100%;
}

.ce-gallery .image {
   margin-bottom: 10px;
}
.ce-textpic.ce-left.ce-intext {
  clear: both;
  float: none;
  margin-bottom: 15px;
  display: inline-block;
  width: 100%;
  overflow: hidden;
}

.ce-textpic.ce-left.ce-intext .ce-gallery {
  float: left;
  margin-right: 10px;
}
.ce-textpic.ce-left.ce-intext .ce-bodytext {
  float: left;
}

.grecaptcha-badge {
  display: none;
}

/*
 * nav
 */
.navbar-header {
  position: relative;
  z-index: 10;
}
#navbar {
    position: relative;
}
.navbar {
    margin-bottom: 0;
    border: none;
}
#navbar nav {
    display: inline-block;
    float: right;
    margin-top: 20px;
    padding-right: 60px;               
}
nav ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}
nav ul li {
    display: inline-block;
    /*margin: 0 8px;*/
}
nav > ul > li.active, nav > ul > li:hover {
    border-bottom: 5px solid #3E3E3E;
}
nav > ul > li {
    border-bottom: 5px solid #ffffff;
}
nav ul li a {
    text-transform: uppercase;
    color: #3E3E3E;
    padding: 20px 15px;
    display: inline-block;
    font-size: 16px;
}
nav ul li a:hover {
    text-decoration: none;
    color: #3E3E3E;
}
/*nav > ul > li.open:not(:hover) .dropdown-menu {
  display:none;
} */
/* dropdown */
/*.menu li:hover > .dropdown-menu {
  display:block;
}*/
.dropdown {
    position: none;
}
.dropdown-menu {
    background: #F7F7F7;
    border: none;
    border-radius: 0;
    width: 100%;
    box-shadow: none;
    margin: 0;
    padding: 0px 20px 30px 20px;
}
.dropdown-menu > li > a {
    margin-top: 30px;
    font-weight:bold;
    white-space: normal;
}
.dropdown-menu > .active > a, .dropdown-menu > li > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus,
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    background: none;
    color: #C6C6C6;
    border-bottom: 1px solid #C6C6C6;
}
a.dropdown-toggle:hover, a.dropdown-toggle:focus {
    text-decoration: none;
    color: #3e3e3e;
}
.dropdown-menu > li > a {
    padding: 0 0 10px 0;
    margin-bottom: 4px;
}
.dropdown-menu li li {
    display: block;
    margin: 0;
    padding: 5px 0;
}
.dropdown-menu li li a {
    padding: 0;
    text-transform: none;
    display: block;
    font-size: 14px;
}
.dropdown-menu li li.active a, .dropdown-menu li li:hover a {
    color: #C6C6C6;
}
.dropdown-menu > li

}
.dropdown-menu .fourthDropSubMenu {
  margin-bottom: 35px;
}
.clear-fourth {
  clear:both;
}
/* search */
.tx-indexedsearch legend,
#header .tx-indexedsearch .tx-indexedsearch-form > label:first-of-type,
#header .tx-indexedsearch-info-sword,
.tx-indexedsearch-rules {
  display: none;
}
.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-info {
    background: #eeeeee;
}
.search-container, #header .tx-indexedsearch-form {
    position: absolute;
    right: 0;
    top: 34px;
    z-index:100;
}
.search-box, #header .tx-indexedsearch-searchbox-sword {
    transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
    width: 30px;
    height: 30px;
    border: none;
    cursor: pointer;
}
.search-container:hover *, #header .tx-indexedsearch-form:hover * {
    color: #3e3e3e;
}
.search-box:focus, #header .tx-indexedsearch-searchbox-sword:focus {
    transition: width 0.6s cubic-bezier(0,-1.22,-.66,-1.39), border-radius 0.6s, background 0.6s;
    border: none;
    outline: none;
    box-shadow: none;
    padding-left: 15px;
    cursor: text;
    width: 405px;
    color: black;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: -3px 3px 4px #f1f1f1;
    background: #eee;
}
.search-box:not(:focus), #header .tx-indexedsearch-searchbox-sword:not(:focus) {
    text-indent:-5000px;
} 
#search-submit, #header #tx-indexedsearch-searchbox-button-submit {
    position: relative;
    left: -5000px;
    display: none;
}
.search-icon {
    position: relative;
    left: -30px;
    color: #CCCCCC;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    top:5px;        
}
#header .tx-indexedsearch-whatis, #header .tx-indexedsearch-browsebox, #header .tx-indexedsearch-res, #header .tx-indexedsearch-browsebox, #header .tx-indexedsearch-noresults {
  display:none;
}
#header #nav .tx-indexedsearch.res-container{
  display:none;
}
.tx-indexedsearch-browsebox li {
  display: inline-block;
  padding-right: 6px;
}

.tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-sword {
    padding: 3px 5px 5px 5px;
}
#main-content .tx-indexedsearch-info-sword {
    margin-top: 10px;
    margin-bottom: 5px;
}
/* /search */

/*
 * content-top 
 */
.content-top {
    background: #E5E5E5;
    position:relative;
}
.content-top > .container {
    position: relative;   
}
.content-img {
    background: url(../img/typo3-logo.png);
    background-position: center center;
    background-size: cover;
    width:auto;
    height: 248px;
    overflow: hidden;
}  
.home-page .content-img {
    height: 450px;
}
.content-img div[class^="csc"], .content-img div[class^="csc"] * {
  min-width: 100%;
  height: 100%;
  width: auto;
}
.content-img img {
  max-width: 100%;
  height: auto; 
  width: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.content-top div[class^="csc"] figure img {
    background-size: cover;
    width: 100%;
    height:auto;
}
.content-img .carousel, .content-img figure {
    background: #ffffff;
    height: 100%;
}
.carousel-inner .item {
  height: 248px;
}
.home-page .carousel-inner .item {
    height: 450px;
}
.carousel-caption {
  bottom: 0;
}
.carousel-caption * {
  text-align:left;
  font-size: 115%;
}
.carousel-inner .item img {
  width: 100%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-28%) ;
}
.carousel-control {
  opacity: 0.3;
}
.box-links hr {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.content-top-box {
    position: absolute;
    top: 0;
    width: 100%;
}
.content-top-box > .container {
    position:relative;
}
.box-links {
    position: absolute;
    top:40px;
    right:35px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    max-width: 50%;
}
.box-links > div {
    padding: 20px 50px 20px 20px;
}
.content-links ul {
    padding-left: 0px;
}
.box-links li {
    list-style: none;
}
.box-links li:before {
    font-family: "FontAwesome";
    content: "\f101";
    margin-right: 7px;
}
.box-links a {
    color: #ffffff;
}
.title-links * {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: normal;
    margin: 0;
}

/*
 * content
 */
body #content .container {
    padding-top: 10px;
    padding-bottom: 50px;
}
#main-content {
    padding-bottom: 20px;
}
.btn, .powermail_submit, .tx-felogin-pi1 input[type="submit"] {
    border-radius: 0;
    border:none;
    background: #3e3e3e;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    text-shadow: none;
    color: #ffffff;         
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.btn:before, .powermail_submit:before, .tx-felogin-pi1 input[type="submit"]:before {
    font-family: "FontAwesome";
    content: "\f101";
    padding-right: 4px;
}
.btn:hover, .powermail_submit:hover, .tx-felogin-pi1 input[type="submit"]:hover {
    color: #3e3e3e;
    background: #e5e5e5;
    border:none;
    text-shadow: none;
    box-shadow: none;
}
.tx-felogin-pi1 input[type="submit"] {
  margin-top: 20px;
}
.fce-box-color {
    background: #E5E5E5;
    padding: 15px;
    margin-bottom: 20px;
}
.csc-textpic-intext-left-nowrap, .csc-textpic-intext-left {
    clear: both;
    float: none;
    margin-bottom: 15px;
    display: inline-block;
    width: 100%;
}
.csc-textpic-intext-left-nowrap > div, .csc-textpic-intext-left > div {
    float: left;
}
.csc-textpic-intext-left .csc-textpic-imagewrap {
      margin-right: 15px;
}
figcaption {
    display: table-caption;
}
/* breadcrumb */
.breadcrumb {
    background: none;
    padding-left: 0;
}
.breadcrumb i {
    padding: 0 7px;
}
.breadcrumb a {
    color: #3e3e3e;
    font-size: 12px;
}
.breadcrumb a:hover, .breadcrumb .current-breadcrumb {
    color: #c6c6c6;
    text-decoration: none;
}

/* navigation latérale */
.second-nav-title {
    text-transform: uppercase;
    font-size: 18px;
    margin-bottom: 2px;
    color: #ffffff;
    background: #3E3E3E;
    padding: 15px;
    border-radius: 5px 5px 0 0;
}
.second-nav ul {
    padding-left: 0px;
}
.second-nav li {
    list-style: none;
    display:inline-block;
    width: 100%;
}
.second-nav a {
    color: #3e3e3e;
    font-size: 15px;
    margin-bottom: 2px;
    display: block;
    padding: 15px 30px 15px 15px;
}
.second-nav > ul > li > a {
    color: #3E3E3E;
    text-decoration: none;
    background: #E5E5E5;
}
.second-nav > ul > li > a:after {
    content: "\f101";
    font-family: "FontAwesome";
    padding-left: 15px;
    position: absolute;
    right: 30px;
}
.second-nav > ul > li.open > a:after {
    content: "\f102";
}
.fourthSubMenu * {
  margin: 0;
  padding: 0;
}
.fourthSubMenu {
  position:relative;
  padding-right: 0;
  padding-bottom:0;
  background:#ffffff;
  transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
  opacity: 0; 
}
.open .fourthSubMenu {
  opacity: 1;
  transition: all .25s ease-in-out;
   -moz-transition: all .25s ease-in-out;
   -webkit-transition: all .25s ease-in-out;
}
.fourthSubMenu li a {
  background: #fafafa;
  color: #969696;
  border:none !important;
  margin:0 0 2px 0;
  padding: 15px;
  font-weight:normal;
}
.fourthSubMenu li.active a, .fourthSubMenu li:hover a {
  background: #fafafa;
  color: #3E3E3E;
}
/* news */   
.news-list-view .article {
  border-bottom: 1px dashed #A3A3A3;
  margin-bottom: 10px;
  padding-bottom: 25px;     
  float:none;
  clear:both;
  display: inline-block;
  width: 100%;
}
.news-list-view .article:last-child {
  border-bottom: 1px solid #CCCCCC;
}
.news-list-view .article-event a:hover {
  text-decoration:none;
}
.news-list-view .article-content, .news-single .article-content {
  float:left;
  width: 60%;
}
.news-list-view .article .news-img-wrap {
  display: inline-block;
  float:right;
  margin-right: 0;
  margin-top:7px;
}
.news-list-view .article .news-img-wrap a,
.news .article .news-img-wrap a {
  border: none;
  border-radius: 0 0 5px 5px;
  box-shadow: 2px 3px 5px rgba(62, 62, 62, 0.6);
  padding: 6px;
  display:block;
}
.news-list-view h4 {
  margin-top:5px;
}
.news-list-view h4 a {
  color: #3E3E3E;
}
.news-list-date, .news-list-view .news-list-category {
  color: #A3A3A3;
  font-size: 80%;
}
.news-date-cat-separator {
  color: #A3A3A3;
}
.news-list-category {
  width: 300px;
  margin-top: 0;
}
.news-single .article .news-img-wrap {
  width:317px;
  margin-left:0;
}
.news-single img {
  width: 305px !important;
  height:auto;
}
.news-single .news-img-wrap a {
  margin-bottom: 30px;
}
/* events */
.news-list-view .article-event {
  width: 100%;
  margin-bottom: 5px;
  padding-bottom: 10px;
}
.article-event a:hover .date-event {
  background: #000000;
}
.article-event a:hover .content-event {
  color: #A3A3A3;
}
.article-event a:hover .more-event {
  color: #000000;
}
.date-event {
  float: left;
  color: #ffffff;
  background: #3E3E3E;
  padding: 8px;
  border-radius: 34px;
  text-align: center;
  height: 60px;
  width: 60px;
  font-size: 15px;
  margin-right: 15px;
}
.date-event-day {
  font-weight:bold;
}
.date-event-month:first-letter {
  text-transform: uppercase;
}
.content-event {
  color: #3E3E3E;
}        
.content-event h5 {
  margin: 4px 0 2px 0;
  font-size: 15px;
}
.more-event {
  text-align:right;
  font-size: 16px;
}
/* Formulaires */
.tx-powermail label {
  display:block;
}
.powermail_fieldwrap {
  margin-bottom: 20px;
}
.powermail_legend {
  display:none;
}
.powermail_input, .powermail_textarea {
  width: 100%;
}
.powermail_captcha {
  width: 50%;
}
/*sitemap*/
.csc-sitemap a {
  padding: 0;
  display:block;
}
.csc-sitemap a:hover {
  text-decoration:underline;
}
.csc-sitemap ul ul {
  text-indent: 20px;
}
.csc-sitemap ul ul ul {
  text-indent: 40px;
}
.csc-sitemap li {
  display:block;
  list-style: circle;
}
.csc-sitemap > ul > li > a {
  font-weight:bold;
}
.csc-sitemap ul ul ul a {
  text-transform:none;
}
/* login */
.btn-login {
  margin-top: 15px;
}
/* table */
table tr td {
  border:1px solid #c6c6c6;
  padding: 7px 10px;
}
table thead {
  border:2px solid #c6c6c6;
}
table thead th {
  background: #c6c6c6;
  border: 1px solid #fff;
  color: #ffffff;
  padding: 10px;
  font-weight:bold;
  font-size: 110%;
}
/* /table */
/*
 * footer
 */
footer {
    padding: 10px 0 50px 0;
    background: #E5E5E5;
}
footer * {
    color: #3E3E3E;
}
footer p {
    margin: 0;
}
footer a {
    text-decoration: underline;
    color: #3E3E3E;
}
footer h3 {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 7px;
    padding-bottom: 13px;
}

/*
 * footer-nav
 */
.footer-nav {
    background: #3E3E3E;
}
.footer-nav *, .footer-nav ul li:hover a, .footer-nav p a:hover {
    color: #D9D9D9;
}
.footer-nav ul {
    list-style: none;
    padding-left: 0;
    margin : 12px 0;
}
.footer-nav ul li {
    display: inline;
    border-right: 1px solid #D9D9D9;
}
.footer-nav ul li a {
    padding: 0 12px;
}
.footer-nav ul li:first-child a {
    padding-left: 0;
}
.footer-nav ul li:last-child {
    border-right: none;
}
/* ------------------ */
/* --- Responsive --- */
/* ------------------ */
.navbar-toggle {
    background: #000000;
}
.navbar-toggle .icon-bar {
    background: #ffffff;
}
@media (max-width: 1200px) {
    .news-list-view .article-content, .news-single .article-content {
      width: 52%;
    }
}
@media (max-width: 992px) {
    .breadcrumb {
        padding-left: 0;
        padding-right: 0;
    }
    #main-content {
        border:none;
        padding-bottom: 0;
    }
    .clear-third {
      clear:both;
    }
    .clear-fourth {
      display:none;
    }
}
@media (min-width: 767px) {
  nav > ul > li.open:not(:hover) .dropdown-menu {
    display:none;
  }
  .menu li:hover > .dropdown-menu {
    display:block;
  }
  
  .carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .fa-angle-left, .carousel-control .fa-angle-right {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-block;
  }
  .carousel-control .icon-next, .carousel-control .fa-angle-right {
      right: 50%;
      margin-right: -10px;
  }
  .carousel-control .icon-prev, .carousel-control .fa-angle-left {
      left: 50%;
      margin-left: -10px;
  }
  .carousel-control .fa-angle-right, .carousel-control .icon-next {
      margin-right: -15px;
  }
  .carousel-control .fa-angle-left, .carousel-control .icon-prev {
      margin-left: -15px;
  }
  .carousel-control .fa-angle-left, .carousel-control .fa-angle-right, .carousel-control .icon-prev, .carousel-control .icon-next {
      width: 30px;
      height: 30px;
      margin-top: -15px;
      font-size: 50px;
  }

}
@media (max-width: 767px) {
    .navbar-brand {
      height: 85px;           
    }
    #branding {
      width: 85%;
    }
    #branding img {
      width: 100%;
    }
    .content-img {
        display: none;
    }
    .content-top-box {
      position:relative;
    }
    .box-links {
        position: relative;
        right: 0;
        top: 0;
        margin-left: -15px;
        margin-right: -15px;
    }
    .box-links > div {
        padding-right: 20px;
    }
    .title-links {
        text-align: center;
    }
    .search-container {
        width: 90%;
    }
    .search-box {
        transition: none;
        width: 100%;
        border-bottom: 1px solid #e5e5e5;
        box-shadow: -3px 3px 4px #f1f1f1;
        background: #eee;
    }
    .search-box:focus {
        transition: none;
        padding-left: 15px;
        cursor: text;
        width: 100%;
    }
    .search-icon {
        position: absolute;
        right: 8px;
        top: 6px;
        left: auto;
    }
    #search-submit {
        height: 0;
    }
    a .fa-home {
        font-size: 18px;
    }
    .navbar-toggle {
        padding: 4px;
        border:2px solid #3e3e3e;
        margin-top: 12px;
    }
    .navbar-toggle:focus {
        background: #ffffff;
    }
    .navbar-toggle:focus .icon-bar {
        background: #3e3e3e;
    }
    .navbar-toggle .icon-bar {
        width: 17px;
    }
    #navbar {
        position: none;
    }
    #navbar nav {
        float: none;
        margin-right: 0;
        padding-right: 0;
        margin-top: 0;
        width: 100%;
    }
    #nav > ul > li > a {
        font-weight:bold;
    }
    nav ul li, nav > ul > li.active {
        display: block;
        margin-left: -15px !important;
        margin-right: -15px !important;
        text-align: center;
        border-bottom: 1px solid #e5e5e5;
    }
    nav ul li:first-child {
        border-top: 1px solid #e5e5e5;
    }                 
    nav > ul > li:focus, nav > ul > li.open, nav > ul > li:hover {
        background: #3e3e3e;     
    }
    nav > ul > li.active, nav > ul > li.open, nav > ul > li:hover {
        border-bottom: 1px solid #e5e5e5;
    }
    nav > ul > li.open > a, nav > ul > li:focus > a, nav > ul > li:hover > a, nav >  ul > li > a:hover {
        color: #ffffff !important;
        border-bottom: none;
    }
    nav ul li a {
        width: 100%;
        padding-bottom: 12px;
        padding-top: 12px;
    }
    #header .dropdown-menu {
      position:relative;
      padding: 0 !important;
    }  
    #header .dropdown-menu li {
      margin: 0 !important;
      padding: 0;
    }
    .dropdown-menu > li > a {
      margin: 0;
      padding: 11px;
      font-weight: normal;
    }
    #header .fourthDropSubMenu a {
      padding-top: 9px;
      padding-bottom: 9px;
    } 
    #header .dropdown-menu > .active > a, #header .dropdown-menu > li > a, #header .dropdown-menu > .active > a:hover, #header .dropdown-menu > .active > a:focus, #header .dropdown-menu > li > a:hover, #header .dropdown-menu > li > a:focus {
      border: none;
      background: #E5E5E5;
      color:#3E3E3E;
      border-bottom: 1px solid #DBDBDB;
    }
    .search-container {
        width: 100%;
        right: 0;
        top:0;
        position: relative;
    }
    h1, h2, h3, h4, h5, h6, p {
        text-align: center;
    }
    .news-list-view .article, .news-single .article, .news-single .news-list-category {
      text-align:center;
    }
    .news-single .news-list-category, .news-single .article .news-img-wrap {
      width: 100%;
    }
    .news-list-view .article-content, .news-single .article-content {
      float:none;
      width: 100%;
      margin-bottom: 15px;
    }
    .article-content .teaser-text {
      text-align:center;
    }
    .news-list-view .article .news-img-wrap, .news-single .article .news-img-wrap{
      float:none;
    }
    .mediaelement.mediaelement-image {
        display: inline-block;
    }   
    .date-event {
      margin-right: 15px;
    }
    .content-event {
      float:none;
      width: 95%;
      text-align:left;
    }  
    .content-event h5 {
      text-align:left;
    }
    .powermail_captcha {
      width: 100%;
    }              
    .csc-sitemap li {
      border:none !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
      text-align:left;
    }
    footer {
        padding-bottom: 40px;
    }
    footer, .footer-nav {
        text-align: center;
    }
    footer h3 {
        margin-top: 50px;
    }
    footer .col-md-3:first-child h3 {
        margin-top: 20px;
    }
}













