/*
Theme Name: Propsteihof Responsive
Description: Individualanpassung für Propsteihof Oberpleis
Author: Stefan Lipgens
Author URI: http://www.lipgens.de
Template: catch-responsive
Version: 1.0
Tags:
*/


/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1. Reset
2. Typography
3. Elements
4. Padding/Margin
5. Forms
6. Navigation
7. Accessibility
8. Alignments
9. Clearings
10. Header Area
11. Promotion Area
12. Featured Content Area
13. Content
14. Widgets
15. Comments
16. Media
17. Captions
18. Galleries
19. Footer
20. Extra Elements
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. Reset
--------------------------------------------------------------*/
body {
  font-family: "Arial", sans-serif;
}

body.home {
  background-image: url(images/background_1600.jpg); 
  background-color: #4D5C6B;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  background-position: center calc(100% - 59px);
  height: 100%;
  height: 100vh;
}

body.home #page{
  width: 100%;
  width: 100vw;
  min-height: 900px;
  min-height: 100vh;
}

body.home #content{
  display:none;
}

/*--------------------------------------------------------------
2. Typography
--------------------------------------------------------------*/
@font-face {
  font-family: "Aquawax";
  src: url(fonts/Aquawax-Medium.ttf);
}
@font-face {
  font-family: "Minion";
  src: url(fonts/Minion-Pro-Italic.ttf);
}
dd, p {
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.current-menu-item a:after{
  font-weight: bold !important;
}

/*--------------------------------------------------------------
3. Elements
--------------------------------------------------------------*/
body {
  color: #000;
	background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Arial", sans-serif;
}
.site {
	margin: 0 auto;
	width: 1000px;	
}

a {
	color: #000;
  font-weight:bold
}

a:hover,
a:focus,
a:active {
	color: #000;
	outline: none;
	text-decoration: underline;
}

.sidebar-header-right {
	display: none;
}
.hentry {
    word-wrap: break-word;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    hyphens: none;
}
.entry-excerpt{
  max-width:100%;
}
.gallery dd {
  font-size: 14px;
}
.gallery .gallery-caption{
  text-align: left;
  line-height: initial;
  margin: 0;
  padding: 0 0 0 6px;
}
.gallery:after{
  content: "Zum Vergrößern auf eines der Bilder klicken.";
  font-style: italic;
  font-size: 14px;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.1);
}

#main .gallery img {
  border: none;
  padding: 3px;
}

.gallery-item{
  margin-top:0 !important;
}
.map.undefined,
.mapp-layout {
  border: 0 !important;
}

/*--------------------------------------------------------------
4. Padding/Margin
--------------------------------------------------------------*/
#masthead {
  max-width: 1000px;
  width:1000px;
  margin: 0 auto;
}
.hentry, .widget {
  margin: 0;
}

/*--------------------------------------------------------------
5. Forms
--------------------------------------------------------------*/
textarea,
input[type="tel"]{
  padding: 5px 10px;
  color: #999;
  border: 1px solid #ccc;
}

::-webkit-input-placeholder{
  text-transform: uppercase;
  font-family: "Arial", sans-serif;
  color:#999;
}
:-ms-input-placeholder{
  text-transform: uppercase;
  font-family: "Arial", sans-serif;
  color:#999;
}
::-ms-input-placeholder{
  text-transform: uppercase;
  font-family: "Arial", sans-serif;
  color:#999;
}
:-moz-placeholder{
  text-transform: uppercase;
  font-family: "Arial", sans-serif;
  color:#999;
}
::-moz-placeholder{
  text-transform: uppercase;
  font-family: "Arial", sans-serif;
  color:#999;
}


table.po-contact-form{
  width: 618px;
}

table.po-contact-form,
table.po-contact-form tr,
table.po-contact-form td{
  border: 0;
}

table.po-contact-form input[type="text"],
table.po-contact-form input[type="tel"],
table.po-contact-form input[type="email"]{
  width:280px;
  background-color: #ccc;
  border-radius:1px;
  color:#333;
  font-family: "Arial", sans-serif;
}

table.po-contact-form textarea,
table.po-contact-form td[colspan="2"] input[type="text"] {
  width:590px;
  background-color: #ccc;
  border-radius:1px;
  color:#333;
  font-family: "Arial", sans-serif;
}

table.po-contact-form textarea{
  height: 180px;
}

table.po-contact-form input[type="submit"]{
  border:1px solid #B51621;
  border-radius: 1px;
  background: #B51621;
  border-color: #B51621;
  float:right;
  margin-right:10px;
  padding: 10px 60px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  -webkit-appearance: button;
  font-size: 15px;
  text-shadow: none;
  text-transform: uppercase;
  font-weight:bold;
  font-family: "Arial", sans-serif;
}

span.wpcf7-not-valid-tip{
  color: #B51621;
  font-weight: bold;
  font-size:13px;
  text-shadow: 0px -1px 1px #eee, 0px 1px 1px #eee;
}

div.wpcf7-validation-errors {
  border: 0;
  background: #B51621;
  color: #fff;
  font-size:14px;
  line-height:16px;
  border-radius: 3px;
}

div.wpcf7-response-output {
  margin: 0 5px 0 0;
  padding: 15px 25px;
}

/*--------------------------------------------------------------
6. Navigation
--------------------------------------------------------------*/

#mobile-header-left-menu {
  position: absolute;
  z-index:1000;
}

.genericon-menu:before {
  color:#fff;
}

.nav-primary {
	background-color: rgba(255,255,255,0.5);
  position: absolute;
  font-size:12px;
  top: 0px;
  width: 100%;
  height: 60px;
  left: 0;
	z-index: 198;
}

.nav-primary.search-enabled {
  position: absolute;
}

.nav-primary.search-enabled .menu {
	float: right;
  color: #000;
  text-transform: uppercase;
}

.nav-primary .catchresponsive-nav-menu a {
  font-size:12px;
  line-height: 45px;
  padding:0 5px;
}

.nav-primary > .wrapper > ul.catchresponsive-nav-menu > li > a {
  font-weight: bold;
  visibility: hidden;
  position: relative;
}

.nav-primary > .wrapper > ul.catchresponsive-nav-menu > li > a:after {
  position: absolute;
  left: 0;
  visibility: visible;
  content: attr(data-linktext);
  font-weight: normal;
  font-size:12px;
  padding:0;
  /*text-shadow: 1px 1px 1px rgba(0,0,0,0.5);*/
}

.nav-primary > .wrapper > ul.catchresponsive-nav-menu > li > a:focus:after,
.nav-primary > .wrapper > ul.catchresponsive-nav-menu > li > a:active:after,
.nav-primary > .wrapper > ul.catchresponsive-nav-menu > li > a:hover:after,
.nav-primary .catchresponsive-nav-menu a:focus,
.nav-primary .catchresponsive-nav-menu a:active,
.nav-primary .catchresponsive-nav-menu a:hover {
  font-weight: bold;
}

.nav-primary .wrapper {
  width: 1000px;
  margin: 0 auto;
  padding: 0 30px 0 0;
}

.nav-secondary {
  background-color: #B51621;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 31px;
  font-size:14px;
  z-index: 197;
  /*box-shadow: 0px -1px 1px #B51621, 0px -1px 1px #000000, 0px -1px 1px #CB8A8F, 0px -1px 1px #000000;*/
}

.nav-secondary .wrapper {
  width: 1000px;
  margin: 0 auto;
  padding: 0 0 0 335px;
}

.nav-secondary .catchresponsive-nav-menu a {
  color: #fff;
  text-transform: uppercase;
  font-weight: normal;
  line-height:32px;
}

.nav-secondary > .wrapper > div > ul.catchresponsive-nav-menu > li > a {
  font-weight: bold;
  visibility: hidden;
  position: relative;
}

.nav-secondary > .wrapper > div > ul.catchresponsive-nav-menu > li > a:after {
  position: absolute;
  left: 0;
  visibility: visible;
  content: attr(data-linktext);
  font-weight: normal;
  color: #fff;
}

.nav-secondary > .wrapper > div > ul.catchresponsive-nav-menu > li > a:focus:after,
.nav-secondary > .wrapper > div > ul.catchresponsive-nav-menu > li > a:active:after,
.nav-secondary > .wrapper > div > ul.catchresponsive-nav-menu > li > a:hover:after,
.nav-secondary .catchresponsive-nav-menu a:focus,
.nav-secondary .catchresponsive-nav-menu a:active,
.nav-secondary .catchresponsive-nav-menu a:hover {
  color: #fff;
  font-weight: bold;
}

.catchresponsive-nav-menu a,
.sidebar-header-right .widget_nav_menu a {
	color: #000;
  font-size: 14px;
	line-height: 60px;
  padding: 0 20px;
  color: #000;
}

/* Hover Parent */
.catchresponsive-nav-menu li:hover > a,
.sidebar-header-right .widget_nav_menu li:hover > a {
	background-color: inherit;
	color: inherit;
}

.nav-secondary .catchresponsive-nav-menu li:hover > a {
  color: #fff;
  font-weight: bold;
}

.catchresponsive-nav-menu .current-menu-item > a, 
.catchresponsive-nav-menu .current-menu-ancestor > a,
.catchresponsive-nav-menu .current_page_item > a, 
.catchresponsive-nav-menu .current_page_ancestor > a,
.sidebar-header-right .widget_nav_menu .current-menu-item > a, 
.sidebar-header-right .widget_nav_menu .current-menu-ancestor > a {
	background-color: inherit;
	color: inherit;
}

.catchresponsive-nav-menu .sub-menu,
.catchresponsive-nav-menu .children,
.sidebar-header-right .widget_nav_menu .sub-menu {
	left: -9999px;
	margin-left: -10px;
	opacity: 0;
	position: absolute;
	-webkit-transition: opacity .4s ease-in-out;
	-moz-transition:    opacity .4s ease-in-out;
	-ms-transition:     opacity .4s ease-in-out;
	-o-transition:      opacity .4s ease-in-out;
	transition:         opacity .4s ease-in-out;
	width: 160px;
	z-index: 200;
}

.sidebar-header-right .widget_nav_menu .sub-menu {
	border: none;
}
.catchresponsive-nav-menu .sub-menu > li {
  width: 100%;
}
.catchresponsive-nav-menu .sub-menu a,
.catchresponsive-nav-menu .children a,
.sidebar-header-right .widget_nav_menu .sub-menu a {
	background-color: #B51621;
	border: none;
	color: #fff;
	font-size: 12px;
	line-height: 20px !important;
	padding: 0 0 0 10px !important;
  margin: 1px;
	position: relative;
	width: 100%;
}

.catchresponsive-nav-menu .sub-menu a:first-of-type{
  margin-top:3px;
}

.nav-secondary .catchresponsive-nav-menu .sub-menu a,
.nav-secondary .catchresponsive-nav-menu .children a {
	background-color: #B51621;
	border-color: #fff;
}

.catchresponsive-nav-menu .sub-menu li a:hover,
.catchresponsive-nav-menu .sub-menu li a:focus,
.catchresponsive-nav-menu .children li a:hover,
.catchresponsive-nav-menu .children li a:focus,
.sidebar-header-right .widget_nav_menu .sub-menu li a:hover,
.sidebar-header-right .widget_nav_menu .sub-menu li a:focus {
	background-color: #fff;
	color: #B51621;
  font-weight: bold;
}

.catchresponsive-nav-menu .sub-menu .sub-menu,
.catchresponsive-nav-menu .children .children,
.sidebar-header-right .widget_nav_menu .sub-menu .sub-menu {
	border-top: none;
	margin: -43px 0 0 119px;
}

.nav-secondary .sub-menu .sub-menu,
.nav-secondary .catchresponsive-nav-menu .children .children  {
	border-color: inherit;
}

#search-toggle {
  display:none;
}

/*--------------------------------------------------------------
7. Accessibility
--------------------------------------------------------------*/


/*--------------------------------------------------------------
8. Alignments
--------------------------------------------------------------*/


/*--------------------------------------------------------------
9. Clearings
--------------------------------------------------------------*/


/*--------------------------------------------------------------
10. Header Area
--------------------------------------------------------------*/

#site-logo img {
  position: absolute;
  height: 340px;
  width: 419px;
  z-index: 999;
  top: 21px;
  margin-left: -173px;
}

/*--------------------------------------------------------------
11. Promotion Area
--------------------------------------------------------------*/

#promotion-message {
  background: none;
  border: none;
}
#promotion-message .right {
  float: none;
  max-width: inherit;
  float: none;
  max-width: inherit;
  position: absolute;
  padding: 0;
  bottom: 37vh;
  left: calc((100vw - 880px)/2);
  transform: rotate(-6deg);
}
#promotion-message .right .promotion-button {
  margin: 0;
  padding: 1px 7px;
  font-size: 24px;
  display: inline-block;
  border-radius: 0;
  background-color: #B51621;
  color: #fff;
  border: 1px solid transparent;
}
#promotion-message .right .promotion-button:hover {
  color: #fff;
  border: 1px solid #fff;
  transition: .4s ease-in-out;
}

/*--------------------------------------------------------------
12. Featured Content Area
--------------------------------------------------------------*/

#featured-content {
  background-color: rgba(255,255,255,0.1);
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
  border-bottom: none;
  position: absolute;
  left: 0;
  bottom: 90px;
  width: 100%;
  padding: 0;
}

#featured-content .wrapper {
  color: #fff;
  padding: 0;
}

.featured-content-wrap{
  max-width: 1000px;
  width:1000px;
  margin: 0 auto;
}

#featured-content a,
#featured-content a:active,
#featured-content a:hover,
#featured-content a:visited{
  color: #fff;
  text-decoration: none;
}

#featured-content .wrapper h1{
  color: #fff;
  text-transform: uppercase;
  font-family: "Aquawax", "Arial", sans-serif;
  font-size: 22pt;
  text-decoration: none;
  text-shadow: none;
}


#featured-content .more-link{
  color: #fff;
  font-family: "Aquawax", "Arial", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-weight:normal;
  position: absolute;
  bottom: 25px;
  margin-left: 30px;
}

#featured-content .hentry:hover .more-link{
  text-decoration:underline;
}
#featured-content .more-link:before{
  content:url(images/more.jpg);
  position: absolute;
  bottom: -7px;
  margin-left: -30px;
}

#featured-content .hentry:hover .more-link:before{
  content:url(images/more_on.jpg);
}

#featured-content.layout-three .hentry,
#featured-content .hentry{
  cursor: pointer;
  padding:0 20px;
  min-height: 230px;
  width: 320px;
  font-size:14px;
  line-height:18px;
  font-weight: bold;
  text-shadow: 0 -1px 1px #000, 0 1px 1px #000;
}

#featured-content.layout-three .hentry:hover h1,
#featured-content.layout-three .hentry:hover,
#featured-content .hentry:hover{
  background: #B51621;
  text-shadow: none;
}

article.featured-page-content:nth-of-type(2):before,
article.featured-page-content:nth-of-type(3):before{
  position: absolute;
  content: '';
  height: 175px;
  margin-left: -20px;
  width: 1px;
  background: #fff;
  margin-top: 25px;
}

article.featured-page-content:nth-of-type(1){
  margin-left:20px;
}

article.featured-page-content:nth-of-type(3){
  margin-right:20px;
}

.featured-content-wrap:hover .featured-page-content:before{
  content: '';
  height: 0 !important;
  margin-left: 0 !important;
  width: 0 !important;
}

/*--------------------------------------------------------------
13. Content
--------------------------------------------------------------*/
body.page #content .wrapper{
  padding: 0 0 30px 0;
}
.no-sidebar.content-width #main,
body.page #main {
  width: 1000px;
  position: absolute;
  top: 0;
}
body.error404 #main{
  margin-top:300px !important;
}
body.page article{
  position: relative;
  padding: 0;
}

body.page .entry-container{
  position: relative;
  margin-top: -100px;
}

article.page .entry-content p,
article.page .entry-content ul{
  font-family: "Arial", sans-serif;
  font-size: 14px;
  line-height:18px;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.1);
}

article.page figure{
  margin-left: 10px;
}

article.page figure:after{
  content: url(images/schatten_big.png);
  position: absolute;
  top: 374px;
  z-index: -1;
  left: -300px;
}

article.page h1.entry-title,
article.page h1.entry-title a {
  color: #fff;
  position: relative;
  text-transform: uppercase;
  font-size: 26px;
  line-height: 30px;
  letter-spacing:0.04em;
  height: 68px;
  width:75%;
  text-shadow: 0 -1px 10px #333;
}
article.page .entry-secondary-image{
  background-color: #999;
  width:302px;
  height:225px;
}

article.page .entry-secondary-image:after{
  content: url(images/schatten_small.png);
  position: absolute;
  z-index: -1;
  top: 225px;
  left:0;
  width: 302px;
  height: 25px;
}

article.page .po-left-column {
  position: relative;
  width: 305px;
  float: left;
  margin: 0 40px 0 20px;
  z-index: 5;
}

.po-right-column,
article.page .po-right-column {
  position: relative;
  width: 625px;
  float: left;
  padding-bottom: 70px;
  padding-right: 10px;
}

article.page .po-citation-text{
  padding: 20px 0 0 0;
  font-family: "Minion", serif;
  font-size: 18px;
  line-height: 22px;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.3);
  letter-spacing: -0.02em;
}

article.page .po-contact-mail,
article.page .po-contact-phone,
article.page .po-citation-source{
  font-family: "Arial", serif;
  font-weight: bold;
  font-size: 14px;
}

article.page .po-contact-mail,
article.page .po-contact-phone{
  margin: 20px 0 0 40px;
  position: relative;
}

article.page .po-contact-mail:before{
  content:url(images/email.png);
  position: absolute;
  margin: 0 0 0 -45px;
}

article.page .po-contact-phone:before{
  content:url(images/telefon.png);
  position: absolute;
  margin: -7px 0 0 -45px;  
}


article.page .entry-content {
  padding: 50px 0;
  min-height: 500px;
}

article.page .entry-content ul {
  list-style: square url(images/sqred.png);
}

article.page .entry-content ul > li {
  line-height: 16px;
  padding: 3px;
}


/*--------------------------------------------------------------
14. Widgets
--------------------------------------------------------------*/


/*--------------------------------------------------------------
15. Comments
--------------------------------------------------------------*/


/*--------------------------------------------------------------
16. Media
--------------------------------------------------------------*/


/*--------------------------------------------------------------
17. Captions
--------------------------------------------------------------*/


/*--------------------------------------------------------------
18. Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
19. Footer
--------------------------------------------------------------*/

#site-generator {
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  background-color: #262626;
  z-index: 99;
  border-top:none;
  color: #fff;
  text-align: center;
  text-transform: uppercase;
}

#site-generator a,
#site-generator a:active,
#site-generator a:hover,
#site-generator a:focus,
#site-generator a:visited {
  color: inherit;
  font-weight: normal;
  text-decoration: none;
}

#site-generator a:hover {
	color: inherit;
}
/*--------------------------------------------------------------
10. Extra Elements
--------------------------------------------------------------*/
/* Catchresponsive Scrollup */


/* Catchresponsive breadcrumb */

/* jQuery Cycle 2 Custom CSS */

/* Social Icons */

/*--------------------------------------------------------------
Responsive Style
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. Media queries
--------------------------------------------------------------*/
/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See http://core.trac.wordpress.org/ticket/25888.
 */

/*--------------------------------------------------------------
2. Mobile Menus
--------------------------------------------------------------*/

#mobile-header-right-menu {
	display: none;
}

/*--------------------------------------------------------------
3. x > 1600px
--------------------------------------------------------------*/
@media screen and (min-width: 1600px) {
  body.home {
    background-image: url(images/background.jpg); 
  }
}

/*--------------------------------------------------------------
3. x <= 1600px
--------------------------------------------------------------*/
@media screen and (max-width: 1599px) {
  body.home {
    background-image: url(images/background_1600.jpg); 
  }
  article.page figure:after {
    content: url(images/schatten_1200.png);
    left:-80px;
  }
}
/*--------------------------------------------------------------
3. x <= 1280px
--------------------------------------------------------------*/
@media screen and (max-width: 1280px) {
  body.home {
    background-image: url(images/background_1280.jpg); 
  }
  article.page figure:after {
    content: url(images/schatten_1000.png);
    left:10px;
  }
  #mobile-header-left-menu {
    top:30px;
  }
  #site-logo img {
    margin-left: -169px;
  }
}

/*--------------------------------------------------------------
4. x <= 1152px
--------------------------------------------------------------*/
@media screen and (max-width: 1152px) {
	.site,
  .featured-content-wrap,
  .no-sidebar.content-width #main, body.page #main,
  #masthead {
    width:1000px;
  }
  #site-branding{
    padding: 20px;
  }
  article.page .po-left-column{
    margin-left:4px;
  }
}

/*--------------------------------------------------------------
5. x <= 1100px (iPad Landscape)
--------------------------------------------------------------*/
@media screen and (max-width: 1100px) {
  body.home {
    background-image: url(images/background_1024.jpg); 
  }
  
}

/*--------------------------------------------------------------
5. x <= 999px (less than standard main navigation width)
--------------------------------------------------------------*/
@media screen and (max-width: 999px){

  .site,
  .featured-content-wrap,
  .no-sidebar.content-width #main, body.page #main,
  #masthead {
    width:100%;
    max-width: 100%;
  }
  .po-right-column  {
    width: 610px;
  }

  article.page figure:after {
    content: url(images/schatten_800.png);
    left:110px;
  }
  #featured-content.layout-three .hentry,
  #featured-content .hentry{
    width: 325px;
  }
  article.featured-page-content:nth-of-type(1){
    margin-left:0px;
  }
  article.featured-page-content:nth-of-type(3){
    margin-right:0px;
  }
}

/*--------------------------------------------------------------
6. x <= 990px (iPad Portrait)
--------------------------------------------------------------*/
@media screen and (max-width: 990px) {	
  body.home {
    background-image: url(images/background_990.jpg); 
    background-position: 0px 0px;
    background-size: 100% auto;
    height:100%;
  }
  #site-logo img {
    max-height: none; 
  }
  #site-logo img {
    position: absolute;
    height: 340px;
    width: 419px;
    z-index: 999;
    top: 20px;
    margin-left: 0;
    left:0;
  }
  #mobile-header-left-menu {
    top:55px;
    width: 75px;
    height: 75px;
  }
  
  #featured-content{
    position:relative;
    bottom:inherit;
    margin-top:54%;
    background-color: inherit;
    padding:0;
  }
  #featured-content .wrapper {
    padding: 30px 50px;
  }
  
  .no-sidebar.content-width #main, body.page #main {
    width: 100%;
    position: relative;
    top: 0;
  }
  
  #featured-content .wrapper {
    padding: 0 30px;
  }
  #featured-content.layout-three .hentry, #featured-content .hentry{
    clear:both;
    width: 100%;
    min-height:175px;
  }
  
  article.featured-page-content:nth-of-type(2):before, article.featured-page-content:nth-of-type(3):before {
    position: absolute;
    content: '';
    height: 1px;
    margin-left: 10px;
    width: 80%;
    background: #fff;
    margin-top: -10px;
  }
  #featured-content .more-link {
    position: relative;
    bottom: inherit;
    margin-left: 40px;
    margin-top: 20px;
  }
  #featured-content .more-link:before {
    margin-left: -38px;
  }
  
  .entry-container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    /* optional */
    -webkit-box-align: start;
    -moz-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  .po-right-column {
    -webkit-box-ordinal-group: 1;
    -moz-box-ordinal-group: 1;
    -ms-flex-order: 1;
    -webkit-order: 1;
    order: 1;
  }
  
  
  .po-left-column {
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 2;
    -webkit-order: 2;
    order: 2;
  }
  
  article.page .po-left-column {
    position: relative;
    width: 100%;
    float: none;
    margin: 0;
    padding: 10px 50px;
    z-index: 5;
  }
  .hentry .featured-image {
    position: absolute;
    top: -250px;
    left: -100px;
    margin: 0;
    overflow:hidden;
  }
  .hentry .featured-image img{
    height: 330px;
    margin-left: 90px;
    margin-right: 0px;
  }
  body.page .entry-container {
    position: relative;
    margin-top: 175px;
  }
  article.page h1.entry-title, article.page h1.entry-title a {
    font-size: 22px;
    line-height: 24px;
    height: 50px;
    width: 65%;
    margin-left: 40%;
  }
  article.page .entry-content {
    padding:20px 0;
    min-height: 50px;
  }
  .po-right-column, article.page .po-right-column  {
    position: relative;
    width: 100%;
    float: none;
    padding: 25px 50px 10px 50px;
  }
  article.page .entry-secondary-image:after {
    top: 235px;
    left: 45px;
  }
  
  
  table.po-contact-form {
    width: 100%;
  }
  
  table.po-contact-form td{
    width: 50%;
  }
  
  table.po-contact-form input[type="text"], table.po-contact-form input[type="tel"], table.po-contact-form input[type="email"] {
    width: 100%;
  }
  
  table.po-contact-form textarea, table.po-contact-form td[colspan="2"] input[type="text"] {
    width: 100%;
}
  
  #site-generator {
    position:relative;
  }    
  #site-logo:before {
    content: '';
    position: absolute;
    height: 31px;
    width: 100%;
    background-color: #B51621;
    z-index: 1;
    top: 59px;
    left: 0;
  }
  #promotion-message .right {
    bottom: inherit;
    left: 55px;
    top: 53vw;
  }
}

/*--------------------------------------------------------------
7. x <= 767px
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
  body.home {
    background-image: url(images/background_700.jpg); 
  }
  article.page h1.entry-title, article.page h1.entry-title a {
    font-size: 18px;
    line-height: 20px;
    height: 50px;
    width: 60%;
    margin-left: 50%;
  }
  #featured-content{
    margin-top:52%;
  }
}

/*--------------------------------------------------------------
8. x <= 700px
--------------------------------------------------------------*/
@media screen and (max-width: 700px) {
  #featured-content{
    margin-top:50%;
  }
}

/*--------------------------------------------------------------
9. x <= 600px (iPhone 5 Landscape)
--------------------------------------------------------------*/
@media screen and (max-width:600px) {
	#featured-content{
    margin-top:49%;
  }
}

/*--------------------------------------------------------------
10. x <= 540px (iPhone 4 Landscape)
--------------------------------------------------------------*/
@media screen and (max-width: 540px) {
  #site-logo img:first-of-type{
    content: url(images/logo_320.png);
    height: 280px;
    max-height: 280px;
    width: 320px;
    z-index: 999;
    margin-left: auto;
    top: 0;
    left: 0;
  }
	#site-logo:before {
    height: 25px;
    top: 32px;
  }
  #mobile-header-left-menu {
    top:25px;
  }
  article.page h1.entry-title, article.page h1.entry-title a {
    height: 50px;
    width: 90%;
    margin-left: 0%;
  }
}

/*--------------------------------------------------------------
11. x <= 480px (iPhone Portrait)
--------------------------------------------------------------*/
@media screen and (max-width: 480px) {
  body.home {
    background-image: url(images/background_320.jpg); 
    background-position:top left;
    background-size: 100% 320px;
    height:100%;
  }
  body.home #page{
    width:auto;
  }
  #mobile-header-left-menu {
    top:30px;
  }
  #site-logo img:first-of-type{
    content: url(images/logo_320.png);
    height: 280px;
    max-height: 280px;
    width: 320px;
    z-index: 999;
    margin-left: auto;
    top: 0;
    left: 0;
  }
  #featured-content{
    margin-top:248px;
  }
  #masthead,
  .featured-content-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }
  #featured-content.layout-three .hentry, #featured-content .hentry {
    position: relative;
    padding: 20px 10px;
    min-height: 230px;
    width: auto;
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    text-shadow: 0 -1px 1px #000, 0 1px 1px #000;
  }
  article.featured-page-content:nth-of-type(2):before, article.featured-page-content:nth-of-type(3):before {
    position: absolute;
    content: '';
    height: 1px;
    margin-left: 10px;
    width: 80%;
    background: #fff;
    margin-top: -10px;
  }
  #featured-content .more-link {
    position: relative;
    bottom: inherit;
    margin-left: 40px;
    margin-top: 20px;
  }
  #featured-content .more-link:before {
    margin-left: -38px;
  }
  article.page figure:after {
    content: '';
    top: 0;
    z-index: -1;
    left: 0;
  }
  article.page .po-left-column {
    position: relative;
    width: 100%;
    float: none;
    margin: 0;
    padding: 10px;
    z-index: 5;
  }
  .hentry .featured-image {
    position: absolute;
    top: -255px;
    left: -400px;
    margin: 0;
    overflow:hidden;
  }
  .hentry .featured-image img{
    height: 320px;
    margin-left: 160px;
    margin-right: -160px;
  }
  body.page .entry-container {
    position: relative;
    margin-top: 175px;
  }
  article.page h1.entry-title, article.page h1.entry-title a {
    font-size: 18px;
    line-height: 20px;
    height: 50px;
    width: 100%;
    margin-left: 0;
  }
  article.page .entry-content {
    padding:20px 0;
  }
  .po-right-column, article.page .po-right-column  {
    position: relative;
    width: 100%;
    float: none;
    padding: 10px;
  }
  
  
  article.page .entry-secondary-image:after {
    left: 4px;
  }
  #promotion-message .wrapper {
    width: auto;
  }
  #promotion-message .right {
    top: 265px;
    left: 40px;
    bottom: inherit;
    right: inherit;
    width: inherit;
  }
  
}

/*--------------------------------------------------------------
12. x <= 400px
--------------------------------------------------------------*/

@media screen and (max-width: 400px) {
	
}

/*--------------------------------------------------------------
13. x <= 319px
--------------------------------------------------------------*/
@media screen and (max-width: 319px) {
	

}

/*--------------------------------------------------------------
14. Form Zoom Fix
--------------------------------------------------------------*/
@media screen and (-webkit-min-device-pixel-ratio:0) { 

}