body, #body, div#sb-site, .slideme-container, .slides, .slide {overflow: hidden;}
body #header #navbar {
    font-size: 1rem;
}
.modular #body {
    background-color: #222;
}
body.modular #header #navbar a, body a {
    color: #9F0014 !important;
}
#body {padding-bottom: 0;}
/*body #header {background: rgba(0,0,0,0.25) !important;}
body #header a {color:#FFF !important;}*/

body.pad5 #body {
    background: #fff;
    padding-top: 5rem;
}
.slideme_container {
  overflow: hidden;
  height: 40rem; 
  width:100%;
  margin-top:-130px;
}

.slideme {
  width: 100%;
  height: 100%;
}

.slide h1, .slide h2 {text-align: center;position:absolute;width: 100%; color:#FFF; text-shadow: 1px 1px 2px #222;  }

.slide h1 {
  bottom:55px;
}
.slide h2 {
  bottom:30px;
}


.slideme_container .slide {
  width:100% !important;
  height:40rem;
  background-size: cover;
  background-position: center center;
}


.slideme_container:after {
  content: "";
  display: table;
  clear: both; 
}

.slideme_container .arrow {
  position: absolute;
  display: block;
  width: 3.7rem;
  height: 3.7rem;
  cursor: pointer;
  z-index: 50;
  text-align: center;
  line-height: 3.8rem;
  background: #fff;
  top: 50%;
  border-radius: 100%;
  font-size: 2.5rem;
  opacity: 0.5;
  color: #000; 
}

@media only all and (max-width: 47.938em) {
  .slideme_container .arrow {
    font-size: 1.5rem;
    line-height: 2.8rem; 
  } 
}

.slideme_container .arrow:hover {
  opacity: 1; 
}

.slideme_container .arrow.prev {
  left: 4rem; 
}
@media only all and (max-width: 47.938em) {
  .slideme_container .arrow.prev {
    left: 1rem; 
  } 
}
.slideme_container .arrow.next {
    right: 4rem; }

@media only all and (max-width: 47.938em) {
  .slideme_container .arrow.next {
    right: 1rem; 
  } 
}

.slideme_container .arrow:disabled {
    opacity: 0.1; 
}
@media only all and (max-width: 47.938em) {
  .slideme_container .arrow {
    width: 2.7rem;
    height: 2.7rem; 
  }

}
.slideme_container .arrow.next:before {
  content: '\f054';
  font-family: FontAwesome;
  margin-left: 0.4rem; }
.slideme_container .arrow.prev:before {
  content: '\f053';
  font-family: FontAwesome;
  margin-right: 0.5rem; }
.slideme_container .pagination {
  text-align: center;
  z-index: 10;
  position: absolute;
  left: 0;
  right: 0;
  vertical-align: middle;
  bottom: 5%; }

.slideme_container .pagination .numbers li {
    -webkit-transition-duration: 0.2s;
    -moz-transition-duration: 0.2s;
    transition-duration: 0.2s;
    background: #fff;
    width: 0.5rem;
    height: 0.5rem;
    display: inline-block;
    border-radius: 100%;
    cursor: pointer;
    margin: 0 0.2rem;
    vertical-align: middle; 
}
.slideme_container .pagination .numbers li.current {
  width: 1rem;
  height: 1rem; 
}


.galeria-bg {background-size: cover; background-position: center center; cursor: pointer; }
.galeria-bg:hover {background-size: 110%; box-shadow: 5px 5px 50px #000}


.galeria-bg{
    -webkit-transition: all 0.5s ease; /* Safari and Chrome */
    -moz-transition: all 0.5s ease; /* Firefox */
    -o-transition: all 0.5s ease; /* IE 9 */
    -ms-transition: all 0.5s ease; /* Opera */
    transition: all 0.5s ease;
        max-width: 100%;
}
.galeria-bg:hover {
    -webkit-transform:scale(1.2); /* Safari and Chrome */
    -moz-transform:scale(1.2); /* Firefox */
    -ms-transform:scale(1.2); /* IE 9 */
    -o-transform:scale(1.2); /* Opera */
     transform:scale(1.2);
}

body #footer {position: relative;}

#logo img {
  width:80px; 
  margin-top:2px;
  border-radius: 150px;
  box-shadow: 3px 3px 5px #aaa;
}

body.homepage #logo img {
  margin-top:20px;
  width:220px; 
}

.scrolled #logo img {margin-top:0px;}