h2, h3, h6 {
    border-bottom: none;
}
h2 {
    margin-top: 60px;
}
hr {
  margin:30px 0;
}
.divider + h2, hr + h2 {
  margin-top: 0;
}
.col-md-4.home-page h2 {
  margin-top: 20px;
}
.col-md-4.home-page h3 {
  margin-top: 50px;
}
h3 {
    margin-top: 35px;
    margin-bottom: 0;
}
h4 {
    margin-top: 30px;
    margin-bottom: 12px;
}
#header {
    position: relative;
    z-index: 25;
    background: #ffffff;
}
#header > .container {
    position: relative;
    z-index: 56;
}
#branding img {
    width: auto;
}
.navbar-brand > img, .navbar-brand > span {
    display: inline-block;
}
.navbar-brand > span {
  color: #3e3e3e;
  font-size: 19px;
  font-weight: bold;
  margin-top: 10px;
  vertical-align: top;
  margin-left: 25px;
}
.commune-name {
  font-size: 28px;
}
.align-justify {
  text-align: justify;
}
.align-right {
  text-align:right;
}
/*
 * navigation
 */ 
#navbar {
    /*bottom: -53px;*/
    position: absolute;
    width: 100%;
    z-index: 50;
}
#navbar > .container {
    position: relative;
}
#navbar nav {
  margin-top: 0;
  float: left;
  margin-left: 155px;
}
.menu {
    display:inline;
}
#navbar nav > ul > li {
  border:none;
  float: left;
}
nav ul li a {
  font-weight: bold;
  color: #ffffff;
  padding: 15px;
}
.dropdown-menu {
 /* z-index:1;*/
     top: auto;
}
a.dropdown-toggle:hover, nav ul li a:hover {
  color: #ffffff;
}
/* second-nav */
.second-nav a {
  padding-right: 15px;
}
.second-nav > ul > li > a { 
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.second-nav > ul > li > a::after, .second-nav > ul > li.open > a::after {
  content: '';
}

/*
 * Search
 */ 
#nav .tx-indexedsearch {
    display: inline-block;
    position: relative;
    top: 12px;
    height: 48px;
}
.search-container, #header .tx-indexedsearch-form {
    position: relative;
    top: 0;
    padding-left: 35px;
} 
.search-box, #header .tx-indexedsearch-searchbox-sword {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;     
    position: absolute;    
    right: 15px;
}
.search-box:focus, #header .tx-indexedsearch-searchbox-sword:focus {
    border: none;
    background: #ffffff;
    box-shadow: none;
    width: 240px;
}
.search-icon {
  color: #ffffff;
}
.search-box:focus .search-icon, #header .tx-indexedsearch-searchbox-sword:focus + label {
  color: #3e3e3e;
}
.search-container label {
  margin-top: 2px;
}
#content .tx-indexedsearch .tx-indexedsearch-searchbox INPUT.tx-indexedsearch-searchbox-button {
    width: auto;
}
/*
 * Carousel
 */ 
.carousel-caption {
  padding :0;
  bottom: 10%;
}
.carousel-caption > *:first-child {
  padding-top: 20px;
}   
.carousel-caption > *:last-child {
  padding-bottom: 20px;
}
.carousel-caption > * {
  padding-left: 20px; 
  padding-right: 20px;
  text-shadow: none;
  font-size: 112%;
}  
.carousel-control .fa-angle-left, .carousel-control .fa-angle-right, .carousel-control .icon-prev, .carousel-control .icon-next {
    font-size: 80px;
}


#content {
    padding-top: 20px;
}
#main-content ul, .home-page ul, .article-content ul {
  padding-left: 5px;
}
#main-content li, .home-page li, .article-content li {
    list-style: outside none none;
    margin-left: 15px;
}
#main-content li::before, .home-page li::before, .article-content li::before {
    content: "•";
    margin-left: -15px;
    margin-right: 7px;
}
.btn, .powermail_submit, .tx-felogin-pi1 input[type="submit"], .article-content .more, .news-backlink-wrap a {
  font-size: 16px;
  padding: 10px 20px;
}
.btn:before, .powermail_submit:before, .tx-felogin-pi1 input[type="submit"]:before, .article-content .more::before, .news-backlink-wrap a:before {
  content:'';
}
#content .csc-sitemap a {
  display:inline;
}
/*
 * news
 */ 
.news-list-view {      
    border-top: 1px solid #a3a3a3;
}
.news-list-view .article {
    border-bottom: 1px solid #a3a3a3;
    margin-bottom: 0;
    padding: 15px 0;
}
.news-list-view .article .news-img-wrap a, .news .article .news-img-wrap a {
  border-radius: none;
  box-shadow:none;
  padding: 0;
  float: right;
}
.news-list-date, .news-list-view .news-list-category {
    font-size: 90%;
}
.news-list-view .article .news-img-wrap {
    margin-top: 7px;
    width: 39%;
}
.news .article .news-img-wrap img {
    max-width: 100%;
}
.article-content .more, .news-backlink-wrap a {
  background: #3e3e3e none repeat scroll 0 0;
  border: medium none;
  border-radius: 0;
  color: #ffffff;
  font-weight: bold;
  text-shadow: none;  
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.page-navigation p {
  display:none;
}
#main-content .f3-widget-paginator li {
  padding: 10px 7px;
}
#main-content .f3-widget-paginator li:last-child {
  padding-right: 0;
}
#main-content .f3-widget-paginator li:before {
  content:'';
  padding: 0;
  margin: 0;
}
.news-single .mediaelement.mediaelement-image {
    text-align: right;
}
.news-single img {
  max-width: 305px !important;
  width:auto !important;
}
/*
 * Accordion
 */ 
.panel-group .panel {        
  border-left: none;
  border-right: none; 
  border-radius: 0;
  box-shadow:none;
}
.panel-default > .panel-heading {
  background: none;
  padding-left: 0;  
  padding-right: 0;
}
.panel-default > .panel-heading a:hover, .panel-default > .panel-heading a:focus {
  text-decoration:none;
}
.panel-default > .panel-heading a:hover *, .panel-default > .panel-heading a:not(.collapsed) * {
  color:#2f70ba;
}
.panel-group .panel + .panel {
  margin-top: 0px;      
  border-top: none;
}              
.panel-group .panel-default .panel-heading h3 {
  border:none;
  text-transform: none;
  position:relative;
  margin-top: 20px;
  margin-bottom: 5px;
  color: #000000;
} 
.panel-group .panel-default .panel-heading h3:after {
  content: '\f067';
  font-family:fontawesome;
  position:absolute;
  right: 0;
  font-size: 21px;
}
.panel-default .panel-heading .active:not(.collapsed) h3:after {
  content: '\f068';
}
.panel-group .panel-body {
  padding-left: 0;
  padding-right: 0; 
  border-top: none !important; 
}


#main-content .nav-tabs li:before {
  content:'';
  padding: 0;
}

/*
 * DCE
 */ 
.dce-links {      
    border-top: 1px solid #ededed;
    margin-bottom: 50px;
  
}  
.dce-links li {
    list-style:none;
    border-bottom: 1px solid #ededed;
    width: 100%;
}
.dce-links li::before {
  content: '';
  padding: 0;
}
.dce-links li * {
  display: inline-block;
  color: #3e3e3e;
}
.dce-links a {
    display: block;                
    padding: 15px 0; 
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.dce-links a:hover * {
  color: #2f70ba;
}
.dce-links li .fa {
  font-size: 32px;
  margin-right: 15px;
  min-width: 35px;
}
.dce-links p {
    font-size: 18px;
    margin: 0;
}

/* gallery */
.dce-gallery .row {
  display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) 
{ @media {
    .dce-gallery .row {
      display: block;
      flex-wrap: none;  
    }
}}
@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (not (stroke-color:transparent)) {

    .dce-gallery .row {
      display: block;
      flex-wrap: none;  
    }
}}
@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) and (stroke-color:transparent) {

    .dce-gallery .row {
      display: block;
      flex-wrap: none;  
    }
}}
.dce-gallery img {
  max-width: 100%;
  height:auto;
  margin-bottom: 30px;
}
#html5-watermark {
  display:none !important;
}
/* /gallery */

/* Links icons */
.links-icons p {
  margin: 0;
}
.links-icons a {
  opacity: 0.75;   
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}
.links-icons a:hover {
  text-decoration:none;  
  opacity: 1;  
}
.links-icons i {
  width: 20px;
  margin-right: 10px;
}
footer .links-icons a {
  text-decoration:none;
}       
footer .links-icons a:hover {
  color: #3e3e3e;
}

p.fa::before {
    padding-right: 5px;
    margin-bottom: 0;
}
/* /Links icons */

/*
 * Footer 
 */ 
footer {
    background: #EDEDED;
    padding: 30px 0 60px;
}
.footer-nav p {
    margin: 12px 0;
    text-align: right;
}
footer p {
    margin-bottom: 7px;
}


/*
 * Responsive 
 */


@media (max-width: 767px) {
  .navbar-brand {
    height: 60px;
  }
  #branding img {
    max-width: 30%;
    width: auto;
  }
  .navbar-brand > span {
    margin-left: 0;
    font-size: 18px;
  }
  .commune-name {
    font-size: 25px;
  }
  #navbar {
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 30px;
  }
  #navbar nav {
    float: none;
    margin-left: 0;
  }
  #navbar nav > ul > li {
    float:none;
    clear:both;
  }
  .menu {
    float: none;
  }
  #nav .tx-indexedsearch {
    width: 100%;
  }  
  .search-container {
    padding-left: 0;
    position:relative;
    top:auto;
  }
  .search-box {
    box-shadow:none;
    position:relative;      
    right: initial;
  }
  .footer-nav p {
    text-align: center;
  }

}          
@media (min-width: 767px) {
  .menu-shadow {
    background: rgba(0,0,0,0.5);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 134px;
    z-index: 1;
  }
}