/*
layout.css

Seitenlayout

2021 Dirk Pfuhl, www.dp-mediendesign.de
*/
.floatright {
  float: right;
  }
.floatclear {
  clear: both;
  }
a {
  color: #2E5C90;
  text-decoration: none;
  }
a:hover, a:focus	{
  color: #990000;
  text-decoration: none;
	}
a.more-button	{
  color: #2E5C90;
  padding: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
	background-color: transparent;
	border: 1px solid #2E5C90;
	border-radius: 3px;
  -moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
  transition: all 0.2s ease 0s;
	}
a.more-button:hover	{
  color: #ffffff;
  padding-left: 20px;
  padding-right: 20px;
	background-color: #2E5C90;
	}
table {
	vertical-align: top;
	text-align: left;
  }
td, th		{
	vertical-align: top;
	text-align: left;
	font-size: inherit;
	color: inherit;
	margin: 0px;
	padding: 5px;
	border: 0px solid;
	}
tr:nth-child(2n) {
  background-color: #e7e7e7;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  }
body {
  padding-top: 110px; 
  background-color: #ffffff;
  }
body, input, textarea {
  font-family: 'Noto Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6em;
  text-rendering: optimizeLegibility;
  }
h1, h2, h3, h4 {
  line-height: 1.42857;
  }
h1, h2 {
  font-family: 'Noto Serif SC', 'Times New Roman', Times, serif;
  font-weight: 200;
  }
h1 {
  margin-top: 0px;
  }
h1.title-homepage {
  margin-bottom: 20px;
  }
h2, .h2, h3, .h3 {
  margin-bottom: 20px;
  margin-top: 0px;
  }
p + h2, p + .h2, p + h3, p + .h3,
a + h2, a + .h2, a + h3, a + .h3,
img + h2, img + .h2, img + h3, img + .h3,
ul + h2, ul + .h2, ul + h3, ul + .h3 {
  margin-top: 40px;
  }
h2, h2 a {
  font-size: 36px;
  /*color: #169024;*/
  }
h3 {
  font-size: 24px;
  color: #000000;
  }

/* Navigation */  
#main-nav {
  height: 110px;
  margin: 0;
  background: #333333; /* Old browsers */
  background: -moz-linear-gradient(top, #333333 0%, #000000 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top, #333333 0%,#000000 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom, #333333 0%,#000000 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
  /*box-shadow: 0 0 15px 0 #000000;*/  
  }
.navbar-main.navbar {
  /*background-color: #ffffff;*/
  border-bottom: 0px solid #ccc;
  transition: all 0.5s ease 0s;
  }
.navbar-main .container {
  position: relative;
  }
.navbar-main .navbar-brand {
  }
.navbar-collapse {
  float: right;
  vertical-align: top;
  }
.navbar-main .navbar-nav > li > a {
  color: #cccccc;
  font-size: 16px;
  padding-top: 45px;
  padding-bottom: 45px;
  }
.navbar-main .navbar-nav a:hover, .menu-footernavigation-container .navbar-nav a:hover, body:not(.home) .navbar-main .navbar-nav .current-menu-item a {
  color: #ffffff;
  background-color: transparent;
  }
.navbar-main .open > a, .navbar-main .open > a:hover, .navbar-main .open > a:focus {
    background-color: transparent;
    border-color: none;
}
#main-nav a.nav-link {
  padding: 1rem;
  color: #ffffff;
  }
.navbar-brand {
  display: block;
  }
#logo {
  position: relative;
  display: inline-block;
  float: left;
  max-width: 296px;
  height: auto;
  }  
 
.navbar-nav > li > .dropdown-menu {
    border-radius: 0;
    border-top: 0px solid #000000;
}
.dropdown-menu {
    background-clip: padding-box;
    background-color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
    display: none;
    float: left;
    font-size: 16px;
    left: 0;
    list-style: outside none none;
    margin: 2px 0 0;
    min-width: 160px;
    padding: 0px 0;
    position: absolute;
    text-align: left;
    top: 100%;
    z-index: 1000;
}
.dropdown-item {
  display: block;
  width: 100%;
  padding: .75rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: #ffffff;
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  }  
.navbar-main .navbar-nav a.dropdown-item:hover {
  color: #000000;
  background-color: #f5f5f5;
  }  
.dropdown-item.active, .dropdown-item:active {
  color: #000000;
  text-decoration: none;
  background-color: #f5f5f5;
  }
.navbar-toggler {
  border-color: #ffffff !important;
  padding: 14px 12px;
  margin: 10px;
  }

/* Carousel Bootstrap */
.carousel {
  position: relative;
  height: 100%;
  margin-right: -15px;
  margin-left: -15px;
  background-size: cover;
  background-position: center top; 
  background-repeat: no-repeat; 
  }
.carousel-indicators {
  right: auto;
  }
.carousel-inner {
  height: 100%;
  }
.carousel-fade .carousel-item {
  height: 100%;
  background-repeat: no-repeat;
  background-position: center top;
	background-size: cover;	
  opacity: 0;
  transition: opacity ease-out 1s;
  }
.carousel-item {
  /*animation: transitionBackground 12s;*/               /* ruckelt, nicht brauchbar */
  }
.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
  }
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-right {
  opacity: 0;
  }
.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active,
.carousel-fade .active.carousel-item-left,
.carousel-fade .active.carousel-item-prev {
  transform: translateX(0);
  transform: translate3d(0, 0, 0);
  }
.slide-item-image {
  width: 100%;
  height: 100%;
  margin: auto;
  background-position: center center;
  background-size: cover;
  }

/* Carousel Caption Split*/
#index-slider {
  width: 100%;
  background-color: #eeeeee;
  overflow: hidden;
  }  
.carousel-item-inner {
  height: calc( 100vh - 110px );
  }
.flexbox-center-vertical {
  align-items: center;
  }
.carousel-caption-container {
  }
.carousel-caption {
  position: static;
  /*text-align: left;*/
  }
.carousel-caption-text {
  width: 100%;
  padding-left: 10%;
  padding-right: 10%;
  }
.carousel-caption h2 {
  color: #555555;
  font-size: 3em;
  text-shadow: none;
  padding-top: 0;   
  margin-top: 0;   
  }
.carousel-caption h2 span {  
  font-family: 'Noto Sans', sans-serif;
  text-transform: uppercase;
  font-size: 1.4rem;
  }
.carousel-caption p {
  font-size: 1.4em;
  line-height: 1.5em;
  color: #555555;
  text-shadow: none;
  margin: 0; 
  }
.carousel-caption a {
  color: inherit;
  text-decoration: none;
  }
.carousel-caption a.more-button {
  display: inline-block;
  font-size: 1.0em;
  margin-top: 40px;
  }

/* verzögertes Einblenden der Beschriftung */
.carousel .carousel-item .carousel-caption {
  transition-property: all;
  transition-duration: 1s;
  transition-delay: 0s;       
  opacity: 0; 
  margin-left: -50px;
  }
.carousel .carousel-item.active .carousel-caption {
  opacity: 1;
  transition-delay: 0s;
  margin-left: 0;                    
  }

/* Content */
.background-color-1 {
  background-color: #ffffff;
  }
.background-color-2 {
  background-color: #f5f5f5;
  }
.background-color-3 {
  background-color: #4983c3;
  }
.padding-box-top-bottom {
  padding-top: 60px;
  padding-bottom: 60px;
  }
.padding-box-top {
  padding-top: 60px;
  padding-bottom: 0px;
  }
.padding-box-bottom {
  padding-top: 0px;
  padding-bottom: 60px;
  }
.text-center {
  text-align: center;
  }
.page-header h1 {
  /*color: #ffffff;*/
  }
.content-wrapper {
  }
.home .content-wrapper {
  background-color: #ffffff;
  }
.content-container {
  }
.additional-container {
  padding-top: 40px;
  padding-bottom: 40px;
  background-color: #F5F5F5;
  }
.additional-container .teaser-image, .additional-container .teaser-text, .content-references .teaser-image, .content-references .teaser-text, .content-blog .teaser-image, .content-blog .teaser-text {
  /*padding: 10px;*/
  /*background-color: #ffffff;*/
  }
.content-container.nav-top {
  margin-top: 61px;
  }
.content-main {  
  margin-top: 0px;
  margin-bottom: 0px;
  }
.content-main h2, .content-main h3, .content-main h4 {
  /*clear: both;*/
  }
.content-main h2 {
  font-family: inherit;
  /*color: #2E5C90;*/
  }
.content-main h2:first-of-type {
  /*margin-top: 0;*/
  }
.home #row-2 h2, .home #row-3 h2, .home #row-4 h2, .content-references h2, .content-blog h2 {
  margin-bottom: 60px;
  }
.content-references h2, .content-blog h2 {
  border-bottom: 1px solid #555;
  }
.content-main h2:first-of-type {
  clear: none;
  }
.content-main + p + a + img {
  margin-top: 0px;
  }
.content-main img {
  border: 1px solid #e5e5e5;
  }
.content-main-single p, .comments-area p, .content-main-single li {
  font-size: 14px;
  }
.content-main .wp-caption {
  /*float: left;*/
  text-align: left;
  margin-right: 15px;
  margin-bottom: 20px;  
  }
.content-main .wp-caption img {
  float: none;
  margin: 0px;
  margin-bottom: 5px;  
  }
.content-main .wp-caption-text {
  font-size: 14px;
  line-height: 1.4em;
  }
.page-header-single {
  position: relative;
  }
.page-header-container {
  height: calc( 75vh - 110px );
  }
.page-header-image-container {
  width: 100%;
  height: 100%;
  padding: 20px;
  padding-right: 10px;
  padding-bottom: 0;
  }
.page-header-image {
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border: 1px solid #c5c5c5;
  }
.page-header-image img {
  }
.page-header-text-container {
  display: flex;
  height: 100%;
  border-left: 10px solid #fff;
  /*border-right: 20px solid #ffffff;
  border-top: 20px solid #ffffff;*/
  }
.page-header-text {
  width: 100%;
  text-align: center;
  padding-left: 10%;
  padding-right: 10%;
  }
.page-header-text h1 {
  color: #555555;
  font-size: 3em;
  text-shadow: none;
  padding-top: 0;   
  margin-top: 0;
  margin-bottom: 1em;   
  }
.page-header-text h1 span {
  font-family: 'Noto Sans', sans-serif;
  text-transform: uppercase;
  font-size: 1.4rem;
  }
.page-header-text p {
  font-size: 1.4em;
  color: #555555;
  line-height: 1.5em;
  text-shadow: none;
  margin: 0; 
  }
.page-header-blog {
  position: relative;
  height: 500px;
  /*background-position: center center;*/
  background-size: cover; 
  }
.page-header-blog-background {
  position: relative;
  top: 50%;
  height: 50%;
  width: calc( 100% + 30px );
  margin-left: -15px;
  background-image: linear-gradient(0deg, rgba(0, 15, 20, 0.6) 50%, rgba(0, 15, 20, 0) 100%);
  }
.page-header-blog-caption {
  /*position: absolute;
  bottom: 0; */
  padding-bottom: 20px;
  }
.page-header-blog-caption h1 {
  padding-top: 15px;
  }
.content-main .wp-caption img {
  max-width: 100%;
  height: auto;
  }
.content-main img.alignleft, .content-main > .wp-caption.alignleft {
  clear: both;
  float: left;
  max-width: 300px;
  height: auto;
  margin-right: 60px;
  margin-left: -50%;
  margin-top: 10px;
  margin-bottom: 20px;
  }
.content-main img.alignright, .content-main > .wp-caption.alignright {
  clear: both;
  float: right;
  max-width: 300px;
  height: auto;
  margin-left: 60px;
  margin-right: -50%;
  margin-top: 10px;
  margin-bottom: 20px;
  }
.images_nofloat_2col {
  display: flex;
  justify-content: center;
  padding: 20px;
  padding-bottom: 0;
  margin-right: -50%;
  margin-left: -50%;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  }
.images_nofloat_2col .wp-caption {
  max-width: 25%;
  margin: 10px;
  }
.images_nofloat_2col .wp-caption img {
  max-width: 100%;
  height: auto;
  }
.container-gallery {
  padding-top: 10px;
  }    
.category-list-item:not(:last-of-type)::after {
  content: ', ';
  }  
        
.thumbnail-caption {
  margin-top: 40px;
  }

.teaser-image, .teaser-index-blog .teaser-image {
  }
.teaser-index-leistungen {
  position: relative;
  text-align: center;
  }
.teaser-index-leistungen .teaser-image img {
  border: 0px solid #e5e5e5;
  }
.teaser-index-leistungen .teaser-button {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  margin-left: -15px;
  margin-right: -15px;
  }
.teaser-index-leistungen .teaser-image {
  float: none;
  margin: auto;
  max-width: auto;
  }
.teaser-index-leistungen .teaser-image img {
  margin: auto;
  }
.teaser-index-blog {
  margin-bottom: 20px;
  }
.teaser-index-testimonial {
  text-align: center;
  padding: 15px;
  padding-bottom: 60px;
  border: 0px solid #a1a1a1;
  background-color: #f5f5f5;
  background-image: url(../images/hintergrund_testimonial.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  }
.content-main .teaser {
  padding-top: 60px;
  margin-top: 60px;
  border-top: 1px solid #e5e5e5;
  }
.content-main .teaser:first-of-type {
  padding-top: 0px;
  margin-top: 8px;
  border-top: 0px solid #e5e5e5;
  }
.content-right .teaser {
  padding-top: 20px;
  margin-top: 20px;
  }
.content-right .teaser-image {
  margin-right: 15px;
  max-width: 120px;
  }
.teaser-text {
  padding-bottom: 20px;
  }
.teaser-index-blog .teaser-text {
  margin-left: 190px;
  }  
.content-main .teaser-text {
  }  
.content-right .teaser-text {
  margin-left: 135px;
  }
.teaser-text h1, .teaser-text h2 {
  clear: none;
  margin-top: 0;
  }
.teaser-text h2 span {
  text-transform: uppercase;
  font-size: 16px;
  }
.teaser-text h2, .teaser-text h2 a {
  color: #000000;
  font-size: 28px !important;
  margin-top: 0;
  }
.teaser-text h3, .teaser-text h3 a {
  color: #000000;
  margin-top: 0;
  }
.teaser-text p {
  color: #000000;
  font-size: 1em;
  margin: 0;
  }
.teaser.floatright {
  float: right;
  }
.teaser:not( :first-of-type ) {
  }
.teaser:last-of-type {
  }
.teaser > a:hover .teaser-text {
  bottom: 0;
  }

.teaser.teaser-float {
  position: relative;
  float: left;
  width: calc( 25% - 10px );
  margin-top: 10px;
  margin-right: 10px;
  }
.teaser.teaser-float.teaser-big {
  width: calc( 33% - 10px );
  }
.teaser.teaser-float.teaser-small {
  width: calc( 16.66% - 10px );
  }
.teaser.teaser-float img {
  float: none;
  max-width: 100%;
  border: 1px solid #eeeeee;
  }
.teaser-float .teaser-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 5px;
  background-color: #159AC7;
  transition-duration: 0.5s;
  transition-property: opacity;
  opacity: 0;
  }
.teaser-float .teaser-text:hover, .teaser-float .teaser-text:focus {
  opacity: 1;
  }
.teaser.teaser-float h3 {
  font-size: 12px;
  color: #ffffff;
  text-align: center;
  margin: 0px;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);  
  }

.teaser-image {
  position: relative;
  }
.teaser-image img {
  padding: 0;
  margin: 0;
  border: 1px solid #e5e5e5;
  }
.view-more {
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  z-index: 0;
  }
.view-more:hover {
  opacity: 0.5;
  z-index: 2;
  background-image: url("../images/icon_eye_60px.png")
  }  


footer {
  position: relative;
  }
footer h2 {
  margin-top: 0;
  }
footer .btn {
    border: 1px solid transparent;
    border-radius: 0px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.42857;
    padding: 12px 24px;
    margin-top: 12px;
}
footer .bg-blue .btn {
    border: 1px solid #ffffff;
    color: #ffffff;
}
.footer-wrapper {
  width: 100%;
  }
.bg-lightgrey {
  background-color: #f5f5f5;
  }
.bg-grey {
  color: #ffffff;
  background-color: #333333;
  }
.bg-grey a {
  color: #ffffff;
  }
.bg-blue {
  background-color: #333333;
  background-color: #2e5c90;
  color: #ffffff;
  }
.bg-blue h2 {
  color: #ffffff;
  }
.navbar-footer .container {
  text-align: center;
  }
.navbar-footer {
  margin-top: -10px;
  margin-bottom: 0;
  }  
.navbar-footer.navbar {
  min-height: 0;
  justify-content: initial;
  }  
.navbar-footer .navbar-nav {
  list-style-image: url("../images/pfeil.png");
  }  
.navbar-footer .navbar-nav > li > a {
  padding: 10px;
  }  
.menu-menu-footer {
  float: right;
  }
.footer-pages {
  }
.footer-pages h2 {
  font-size: 1.4em;
  font-weight: normal;
  }  
.footer-pages .navbar-footer .navbar-nav {
  }
.footer-pages .navbar-nav > li {
  display: list-item;
  float: none;
  padding-top: 5px;
  padding-bottom: 5px;
  /*border-top: 1px solid #e5e5e5;*/
  }  
.footer-pages .navbar-nav > li:first-of-type {
  /*border-top: 0px solid #333333;*/
  }  
.footer-pages .navbar-nav > li a {
  padding: 0;
  background: none;
  }  

/* Galerie */
.gallery-container img, .gallery-container p img {
  clear: left;
  float: left;
  margin: 0px;
  }
.gallery-container {
  /*display: flex;
  justify-content: center;*/
  margin-left: -10px;
  margin-right: -10px;
  }
.gallery-pic {
  float: left;
  max-width: 25%;
  }
.gallery-image {
  /*max-width: calc( 100% - 20px );*/
  padding: 10px;
  margin: 0px;
  }
.gallery-image img {
  max-width: 100%;
  height: auto;
  padding: 0px;
  margin: 0px;
  margin-bottom: 10px;
  border: 1px solid #c5c5c5;
  }
.gallery-image-alt {
  }
@media (max-width: 480px) {
  .gallery-pic {
    max-width: 50%;
  }
}
  
/* Wordpress eigener Audio-Player */ 
.mejs-container {
    /*height: 100%;
    left: 0;
    position: absolute;
    top: 0;*/
    clear: both;
    float: left;
    width: 50% !important;
    margin-right: 10px;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;     /*Wert für width: 100% */
	/*padding-bottom: 33.75%;       Wert für width: 60%*/
	padding-top: 30px;
	height: 0;
	overflow: hidden;
  margin-top: 30px;
  margin-bottom: 40px;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0; 
	width: 100%;
	height: 100%; 
}
@media (max-width: 992px) {
.video-container {
	/*padding-bottom: 56.25%;     Wert für width: 100%*/  
	/*padding-bottom: 33.75%;       Wert für width: 60%*/
	/*padding-bottom: 50.63%;       /*Wert für width: 90%*/
}
}

/* Google Maps */
.mapp-layout {
  max-width: 100%;
  }

/* WP Instant Feeds */
.wp-my-instagram .wpmi-me {
  position: static !Important;
  margin-top: 20px !Important;
  }   
.wp-my-instagram .wpmi-me a {
  color: #ffffff !Important;
  font-size: 16px !Important;
  padding: 10px !Important;
  background-color: #2E5C90 !Important;
  }     
  
/* Mediaqueries */
@media only screen and (min-width : 1600px) {
  .container { 
    max-width: 1370px; 
    } 
}
@media screen and (max-width: 1400px) {
}
@media screen and (max-width: 1199px) {
  #menu-navigation-main {
    background-color: #000000;
  }
  #main-nav a.nav-link {
    font-size: 1.2em;
  }
  .carousel-caption h2 {
    font-size: 2.4em;
    line-height: 1.3em;
  }
  .carousel-caption p {
    font-size: 1.3em;
  }
}
@media screen and (max-width: 992px) {
  .carousel-indicators {
    right: 0;
    bottom: 50%;
    left: 0;
  }
  .slide-item-image {
    height: 50%;
  }
  .carousel-caption-text {
    padding: 40px;
    padding-left: 2%;
    padding-right: 2%;
  }
  .carousel-caption h2 {
    font-size: 2.0em;
    line-height: 1.3em;
  }
  .carousel-caption h2 span {
    font-size: 1rem;
  }
  .carousel-caption p {
    font-size: 1.0em;
  }
  .page-header-container {
    height: calc( 100vh - 110px );
    }
  .page-header-image-container {
    width: 100%;
    height: 50%;
    padding: 0px;
    }
  .page-header-image {
    height: 100%;
    background-size: cover;
    background-position: center top;
    border: 0px solid #f5f5f5;1
    }
  .page-header-image img {
    }
  .page-header-text-container {
    display: flex;
    height: 50%;
    border: 0px solid #fff;
    }
  .page-header-text {
    padding: 40px;
    padding-left: 2%;
    padding-right: 2%;
    }
  .page-header-text h1 {
    font-size: 2.0em;
    line-height: 1.3em;
  }
  .page-header-text p {
    font-size: 1.0em;
  }
  .content-main > .wp-caption.alignleft {
    max-width: 50%;
    height: auto;
    margin-right: 20px;
    margin-left: 0%;
  }
  .content-main img.alignleft, .content-main img.alignright {
    float: none;
    max-width: 100%;
    height: auto;
    margin-right: 0px;
    margin-left: 0%;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .images_nofloat_2col {
    width: 100%;
    padding: 10px;
    margin-left: 0px;
    margin-right: 0px;
  }
  .images_nofloat_2col .wp-caption {
    max-width: 50%;
    }
  .content-blog .teaser-text {
    padding-bottom: 60px;
    margin-top: 0px;
  }
  .gallery-pic {
    max-width: 50%;
  }
}
@media screen and (max-width: 768px) {
}
@media screen and (max-width: 575px) {
  .teaser-index-leistungen {
    padding-bottom: 60px;
  }
  .teaser-index-leistungen .teaser-button {
    bottom: 30px;
  }
  .teaser-index-testimonial {
    margin-bottom: 20px;
  }
  .teaser-image {
    margin-bottom: 20px;
    }
  .content-main h2 {
    font-size: 24px;
    }
  .content-main h3 {
    font-size: 18px;
    }
  .footer-contact h2 {
    font-size: 1.4em;
    }
}
@media screen and (max-width: 460px) {
  #logo {
    max-width: 240px;
  }
  .carousel-caption-text, .page-header-text {
    padding: 10px;
    padding-left: 2%;
    padding-right: 2%;
    }
  .carousel-caption h2, .page-header-text h1 {
    font-size: 1.6em;
    line-height: 1.3em;
  }
  .carousel-caption a.more-button {
    margin-top: 20px;
  }
}
@media screen and (max-width: 400px) {
  #logo {
    max-width: 220px;
  }
}
