html, body {
	width:100%;
	height:100%;
}

body {
    margin: 0;
    padding: 0;
	font-family: 'Open Sans', sans-serif;
	font-weight:300;
}
input {
	width:100%;
}

a {
	color: #002B4C;
	transition:300ms;
}


a img {
	transition:300ms;
}

img.verein {
	display: block;
	margin: 0 auto;
}


.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
     }
.clearfix { display: inline-block; }
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* close commented backslash hack */

h1,h2,h3,h4 {
	font-family: 'Playfair Display', serif;
	text-transform:uppercase;
	font-size: 20px;
	}

h3 {
	font-size: 14px;
}

a.buchbtn {
    display: inline-block;
    padding: 0.7em;
    border-radius: .3em;
    background: #c8945a;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0.5em 1.1em rgb(0 0 0 / 42%);
}

a.buchbtn:hover {
    color: #fdd3a5;
}
/*************STYLES FOR FRONTPAGE****************/

body.page-id-61 .pagewrap .inner {
    width: 100%;
    float: none;
    margin: 0;
}

body.page-id-61 .pagewrap {
    width: 100%;
    margin: 0;
    font-size: 0;
}


body.page-id-61 .post-thumb,
body.page-id-61 .header ul,
body.page-id-61 h1,
body.page-id-61 .header .inner,
body.page-id-61 .footer,
body.page-id-61 #secondary    
  {
    display: none;
}

body.page-id-61 .inner {
    width:100%
}

body.page-id-61 .entry-content {margin:0;}

/*************STYLES FOR FRONTPAGE****************/
.header {
    background-color: #EFE1D1;
    width: 100%;
    height: 15.6%;
    z-index: 2;
    text-align: center;
    background-image: url(img/logo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.32);
    position: relative;
    transition: 300ms;
}
.header.nav {
	height:auto;
	background-image:none;
	padding: 0;
	text-align: left;
	transition:300ms;
	position: absolute;
	}

.wp-caption .wp-caption-text {
    font-size: .8em;
    text-align: left;
}

body div.__youtube_prefs__.__youtube_prefs_gdpr__ button.__youtube_prefs_gdpr__, body div.__youtube_prefs__.__youtube_prefs_gdpr__ button.__youtube_prefs_gdpr__:hover {
    text-shadow: none;
    box-shadow: none;
}


body div.__youtube_prefs__.__youtube_prefs_gdpr__ {
    background: #f0e1d1!important;
    position: relative;
}

body .epyt-gallery-img-gdpr {
    background: #f0e1d1!important;
}

body div.__youtube_prefs__.__youtube_prefs_gdpr__ p a {
    color: #022b4c!important;
}

body div.__youtube_prefs__.__youtube_prefs_gdpr__ p {
    color: #022b4c!important;
}

body div.__youtube_prefs__.__youtube_prefs_gdpr__ * {
    color: #022b4c!important;
}

body .epyt-gallery-img-gdpr {
    background: #f0e1d1;
}

body div.__youtube_prefs__.__youtube_prefs_gdpr__:after {
    content:'';
    background-image: url(https://harkotten.eu/wp-content/themes/harkotten/img/logo_white.png);
    position: absolute;
    width: 190px;
    height: 100px;
    background-size: 100%;
    right: 0;
    top: 0;
    opacity: .2;
    filter: grayscale(1);
}

.sideLinks {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
    flex-direction: column;
	transition:200ms ease-out;
}


.small .sideLinks {
    opacity: 0;
    top: -20px;
}

.sideLinks>a {
    /*box-shadow: 0px 2px 0 0 #5a6301; */
    margin-bottom: 20px;
}

.sideLinks>a>img {
    max-width: 100px;
    width: 100px;
    display: block;
    position: relative;
    z-index: -1;
    transition: 400ms ease-in-out;
    max-height: 60px;
}

.sideLinks>a:hover>img {
    opacity: 0.7;
}

.sideLinks>a:last-child {
    margin-bottom: 0;
}




a.deinemudda {
    display: block;
    position: absolute;
    color: #fff;
    border-radius: 0 0 10px 0;
    font-weight: 500;
    text-decoration: none;
    bottom: -7px;
    left: 0;
}


a.deinemudda:hover {
	color:#fff;
	opacity:0.8;
}
@media (max-width:1400px) {

	a.deinemudda {
    top: 0;
    left: 0;
}

}


@media (min-width:1217px){

.header.nav.small {
	height:auto;
	background-image:none;
	padding: 0;
	text-align: left;
	transition: 300ms;
	}

.header.nav.small ul {
	
	transition: 300ms;
}

.header.nav.small a.logo {
	padding:0;
}


a.projekt {
    display: block;
    background-color: #EFE1D1;
    text-align: center;
    color: #002b4c;
    padding: 20px;
    text-decoration: none;
    margin: 0 0 20px;
    transition: 600ms;
}

a.projekt:hover {
    opacity: 0.8;
    color: #002b4c;
}


/*
.header.nav.small .menu-menu-1-container {
    padding:  37px;
    transition: 300ms;
}
*/

.header.nav.small .menu-main-container {
    padding:  37px;
    transition: 300ms;
}


.header.nav.small ul li#menu-item-101 ul li ul.sub-menu {
	position:absolute;
	padding:10px 0;
	text-align:center;
	background: rgba(255,255,255,0.95);
	top: 44px;
	}


	.header.nav.small ul li {position:static;}
	body.page-id-16 .header.nav.small ul li#menu-item-79 ul li#menu-item-80 ul {display: block;width: 100%;position: absolute;background-color: #fff;padding: 0;text-align: center;padding: 10px 0;top: 42px;}
	.header.nav.small ul li ul {height:auto;padding: 15px 0;box-shadow: 0 0 5px rgba(0, 0, 0, 0.28);background: rgba(255,255,255,0.92);}
	.header.nav.small ul li ul li {width: 13%; margin:0;font-size: 12px;line-height: 0.9em;text-transform: capitalize;margin: 2px 0;font-weight: 600;}
	
	.header.nav.small ul li ul li ul li {font-size:9px; width: 20%;}
}

.form section {
    float: left;
    margin: 1% 10% 1% 0;
    width: 40%;
}

.news article {
    background-color: #EFE1D1;
    border-radius: 0 0 7px;
    width: 40%;
    float: left;
    margin: 2% 5%;
    box-shadow: 0 0 0 1px #fff, 0 0 0 6px rgb(239, 225, 209);
    transition:300ms;
    cursor:pointer;
}

.news article:hover {
	opacity:0.9;
}

.news article div {
    padding: 2% 3%;
}

.news article img {
	width: 40%;
float:left;
height: auto;
border: 0px;
text-align: left;
max-width: 40%;
padding: 0;
margin: 0 10px 10px 0;
box-shadow:0 0 0 rgba(0,0,0,0);
}

.news article a.more {
    padding: 1%;
    text-shadow: 0px 1px 1px rgba(0,0,0,0.8);
    display: block;
    border-radius: 0 0 8px 0;
    background-color: #002C4C;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    clear: both;
    text-align: right;
}

/*
.menu-menu-1-container {
    padding: 110px 0 37px;
    transition: 300ms;
}*/

.menu-main-container {
    padding: 110px 0 37px;
}
	
.header ul {
    margin: 0;
    list-style-type: none;
    position: absolute;
    padding: 0;
    font-size: 0;
    width: 65%;
    text-align: center;
    font-family: 'Playfair Display', serif;
    text-transform:uppercase;
    left: 0;
    transition: 300ms;
}



.header ul li {
    display: inline-block;
    width: 20%;
    font-size: 18px;
    position:relative;
}

.header ul li a {
    color: #002B4C;
    text-decoration: none;
    /* white-space: nowrap; */
}	

.header ul li a:hover {
	color:#C8945A;
	}

.header ul li ul {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, 0.82);
    margin: 0;
    width: 100%;
    padding: 15px 0 0;
    height: 369px;
    font-family: 'Open Sans', sans-serif;
    font-weight:400;
    transition:300ms;
    top: 37px;
    left: 0;
}





.header ul li ul li ul li {
    font-size: 11px;
    font-weight: 600;
    margin: 2px 0;
}

/*body.page-id-4 .header ul li#menu-item-101 ul,
body.page-id-12 .header ul li#menu-item-101 ul,
body.page-id-14 .header ul li#menu-item-101 ul,
body.page-id-16 .header ul li#menu-item-101 ul,
body.page-id-18 .header ul li#menu-item-101 ul,
body.page-id-20 .header ul li#menu-item-101 ul,
body.page-id-22 .header ul li#menu-item-101 ul,
body.page-id-24 .header ul li#menu-item-101 ul,
body.page-id-26 .header ul li#menu-item-101 ul,
body.page-id-444 .header ul li#menu-item-101 ul,
body.page-id-578 .header ul li#menu-item-101 ul,
body.page-id-605 .header ul li#menu-item-101 ul

body.page-id-6 .header ul li#menu-item-102 ul,
body.page-id-28 .header ul li#menu-item-102 ul,
body.page-id-30 .header ul li#menu-item-102 ul,
body.page-id-32 .header ul li#menu-item-102 ul,
body.page-id-34 .header ul li#menu-item-102 ul,
body.page-id-36 .header ul li#menu-item-102 ul,

body.page-id-8 .header ul li#menu-item-103 ul,
body.page-id-38 .header ul li#menu-item-103 ul,
body.page-id-40 .header ul li#menu-item-103 ul,
body.page-id-42 .header ul li#menu-item-103 ul,
body.page-id-44 .header ul li#menu-item-103 ul,
body.page-id-46 .header ul li#menu-item-103 ul,
body.page-id-48 .header ul li#menu-item-103 ul,
body.page-id-433 .header ul li#menu-item-103 ul,


body.page-id-10 .header ul li#menu-item-104 ul,
body.page-id-50 .header ul li#menu-item-104 ul,
body.page-id-52 .header ul li#menu-item-104 ul,
body.page-id-458 .header ul li#menu-item-104 ul,
body.page-id-482 .header ul li#menu-item-104 ul,
body.single-event .header ul li#menu-item-104 ul
{
    display: block;
}
*/
.header ul li.current-menu-ancestor ul {
    display: block;
}

.header ul li#menu-item-101 ul li ul.sub-menu  {
    display:none;
}


ul.sub-menu li ul {
    height: 100px;
}

.header ul li ul li ul  {
    width: 100%;
    position: relative;
    background: transparent;
    padding: 0 0 0 21%;
    text-align: left;
    top: 25px;
}



body.page-id-16 .header ul li#menu-item-101 ul li#menu-item-80 ul,
body.page-id-18 .header ul li#menu-item-101 ul li#menu-item-80 ul,
body.page-id-20 .header ul li#menu-item-101 ul li#menu-item-80 ul,
body.page-id-22 .header ul li#menu-item-101 ul li#menu-item-80 ul,
body.page-id-24 .header ul li#menu-item-101 ul li#menu-item-80 ul,
body.page-id-26 .header ul li#menu-item-101 ul li#menu-item-80 ul {
	display:block;
}

.header ul li ul li {
 
        width: 100%;
    font-size: 15px;
    margin: 0.5em 0;
}



	
.header ul li.current-menu-item > a,
.header ul li.current-menu-ancestor > a,
.header ul li.current_page_ancestor > a
 {
	color:#C8945A!important;
	}	


.entry-meta,
span.cat-links,
nav.navigation.post-navigation {
    display: none;
}

ul.event-categories {
    margin: -20px 0;
}

a.logo {
    background-color: rgb(255, 255, 255);
    display: block;
    right: 0;
    text-align: center;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.42);
    top: 0;
    position: absolute;
    float: right;
    padding: 0.5% 1.5%;
    transition: 300ms;
}

a.logo:hover {
	/* background-color:#efefef; */
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.42),0 0 132px rgba(255, 255, 255, 0.8);
	transition: 1.2s;
}

a.logo img:hover {
	opacity:1;
	box-shadow:none;
}

span.nav-toggle {
    position: absolute;
    z-index: 1;
    padding: 9.5px 14.65px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 1px 1px;
    left: 10px;
    top: 10px;
    color: #EFE1D1;
    display:none;
}

.inner {
	width: 1200px;
	margin:0 auto;
	position:relative;
	}

.block_hints .date_approved.block_check_in_out, .block_hints .block_booked, .datepick-inline .date_approved, td.timespartly.check_in_time.check_out_time.check_in_time_date2approve.check_out_time_date_approved div.check-in-div, td.timespartly.check_in_time.check_out_time.check_out_time_date2approve.check_in_time_date_approved div.check-out-div {
    text-shadow: 0 -1px 0 #ffabab!important;
    background: #ffabab!important;
}

.block_hints .date_approved.block_check_in_out, .block_hints .block_booked, .datepick-inline .date_approved, .block_hints .block_booked a, .datepick-inline .date_approved a {
}

.block_hints .block_free, .block_hints .block_time, .block_hints .block_check_in_out div.check-in-div, .block_hints .block_check_in_out div.check-out-div, .datepick-inline .date_available, .datepick-inline .timespartly.check_in_time div.check-in-div, .datepick-inline .timespartly.check_out_time div.check-out-div {
    background-color: #d5f184!important;
}

.datepick-inline .datepick-one-month .datepick .datepick-current-day {
    background-color: #89a534!important;
}

.block_hints .block_free a, .block_hints .block_time, 
.datepick-inline .date_available a {
    color: #757575!important;
    text-shadow: none!important;
}

.teaser label {
    margin-right: 1em;
    font-weight: 700;
}

.pagewrap {
    width: 1200px;
    margin: 50px auto;
    color: #002B4C;
    font-weight: 400;
    font-size: 16px;
}	
	
.pagewrap .inner {
    float: left;
    width: 70%;
    margin: 0 0 50px;
}

.pagewrap #secondary {
		width: 25%;
		margin:0 0 0 5%;
		float: right;
		padding-top: 110px;
	}	
		
.pagewrap #secondary img {
    max-width: 100%;
        transition: 300ms;
    margin: 1% 0;
}


a img:hover {
    opacity:0.9;
    box-shadow: 0 0 0 3px  #D5A05A;
}

.widget-title {
	display:none;
}


		
ul.startlist {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

ul.startlist li {
    float: left;
    width: 50%;
    position:relative;
    height: 42.2vh;
    overflow:hidden;
}

.bg {
	    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition:300ms;
    overflow: hidden;
	height:100%;
	width:100%;
	
	
	}

ul.startlist li.schloss .bg{background-image: url(img/start/schloss_foerderverein.jpg);}
ul.startlist li.vermietung .bg{background-image: url(img/start/vermietung.jpg);}
ul.startlist li.gastronomie .bg{background-image: url(img/start/gastronomie.jpg);}
ul.startlist li.events .bg{background-image: url(img/start/aktuelles_first_class.jpg);}


ul.startlist li a {
    color: #fff;
	width: 100%;
    height: 100%;
	display:block;
}

ul.startlist li:hover > a {
    color:#C9945B;
}

ul.startlist li:hover > .bg {
		box-shadow:inset 0 0 0 10000px rgba(255,255,255,0.85);
		transform:scale(2);
		transition: transform 50s cubic-bezier(0.35, 0.35, 1, 1);
	} 

ul.startlist li:hover > a span.description	
{
	opacity:0.1;
}

span.description {
    position: absolute;
    z-index: 1;
    text-align:center;
    background-color: rgba(0, 43, 76, 0.84);
    width: 200px;
    padding: 0.5em 0;
    text-shadow: 0 0 12px rgba(0, 0, 0, 0.82);
    font-size: 15px;
    transition:300ms;
}		

ul.startlist li.schloss a span.description {bottom:0; right:0;}
ul.startlist li.vermietung a span.description {bottom:0; left:0;}
ul.startlist li.gastronomie a span.description {top:0; right:0;}
ul.startlist li.events a span.description {top:0; left:0;}


span.description h2 {
    margin: 0 0 0.5em;
}

.links {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 0;
    opacity:0;
    transition:300ms;
    margin-left:-15px;
       height: 100%;
    overflow: auto;
}

.links a {
    width: 100%;
    height: auto!important;
    color: rgb(0, 43, 76)!important;
    margin: 1% 0;



    font-weight: 300;
    font-size: 18px;
    text-decoration: none;



}



ul.startlist li ul li {
    display: block;
    float: none;
    width: 100%;
    height: auto;
}

ul.startlist li ul {
    margin: 0;
    padding: 0;
}

.home .menu-main-container {
    padding: 0;
}

.links h2 {
    color: #C9945B;
    font-size: 40px;
    position: relative;
}

.links h2::after {
    content: '';
    border-bottom: 2px solid #C9945B;
    position: absolute;
    color: rgba(255,255,255,0.0);
    width: 50%;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
	}

/*.links h2.schloss::after {content: "Schloss";margin-left: -180px;}
.links h2.vermietung::after {content: "Vermietung";margin-left: -278px;}
.links h2.gastronomie::after {content: "Gastronomie";margin-left: -305px;}
.links h2.events::after {content: "Aktuelles";margin-left: -232px;}
*/
ul.startlist li:hover > .links {
		opacity:1;
		margin-left:0px;
		
	}

ul.events {
    margin: 0;
    padding: 0;
    font-size:0;
    list-style-type: none;
}

ul.events li {
    width: 31%;
    float: right;
    margin: 0.5%;
    height: 100%;
    padding: 0 0.5%;
}

ul.events li a{
    width: 100%;
    margin: 0 auto;
    font-size: 11px;
    color: #FFFFFF!important;
    background-color: rgba(0, 44, 76, 0.9);
    padding: 20px 0;
    transition: 300ms;
}

ul.events li a:hover {
	background-color: rgba(0, 44, 76, 1);
}


.page-id-458 ul.events li  {width: 90%;margin: 10px 0;}

.page-id-458 ul.events li a {
    display:block;
    text-align:center;
    background-color: #EFE1D1;
    color: #002B4C!important;
    text-decoration: none;
    position: relative;
}


.page-id-458 ul.events li a:after {
    content: "\f054";
    font-family: FontAwesome;
    position: absolute;
    top: 50%;
    margin-top: -11px;
    right: -35px;
    text-shadow: 1px 1px #fff;
}

.counter {position: absolute;z-index: 999;width: auto;padding: 20px 0;text-align: center;border-radius: 50%;font-size: 25px;transition: 300ms;top: 60%;left: 50%;}




.counter:hover {
    background: #fff;
}    


.counter a.hover {
text-align: center;
position: absolute;
top: 14px;
font-size: 18px;
background: #002b4c;
padding: 10px 10px 10px 32px;
left: 0;
color: #fff;
width:auto;
height:auto;
}


.counter i {
    position: absolute;
    font-size: 87px;
    right: 0;
    top: -4.9px;
    z-index: 1;
    text-shadow: 6px 0px 5px rgba(0, 0, 0, 0.15);
    color: #bc9262;
}

.counter span {
    color: #fff!Important;
    z-index: 1;
    position: relative;
    width: 100%;
    left: -30px;
}

#accordion section {
    background-color: #EFE1D1;
    margin: 10px 0;
    text-align: center;
    padding: 26px;
    position: relative;
    cursor: pointer;
    transition: 300ms;
    margin: 0;
    box-shadow: inset 0 5px #fff, inset 0 -5px #fff;
}

#accordion section:hover {
	opacity:0.7;
}

#accordion section:focus {
	outline:none;
}

#accordion section:after {
     content: "\f055";
     font-family: FontAwesome;
     position: absolute;
     top: 50%;
     margin-top: -40px;
     right: 0;
     background-color: rgba(255, 255, 255, 0.15);
     display:block;
     padding: 28px;
     height: 100%;
}

#accordion section.ui-accordion-header-active:after {content: "\f056";font-family: FontAwesome;} 


.tableWrap {
    margin-bottom: 5em;
}

.tableWrap>div {
    position: relative;
}

.tableWrap>div h3 {
    margin-top: 0;
}

.tableWrap>div p {
    margin-bottom: 0;
}

.tableWrap>div img {
    padding-bottom: 0;
    margin-top: 7px;
}

.tableWrap>div:after {
    content: '';
    height: 1px;
    width: 100%;
    position: absolute;
    background: rgba(239, 226, 209, 0.45);
    bottom: 0;
 }

.tableWrap>div:last-child:after {
    display: none;
}

img.emblem {
    position: absolute;
    width: 30px;
    z-index: 10;
    top: 50%;
    display: block;
    margin-top: -20px;
    left: 50%;
    margin-left: -15px;
}	

.post-thumb {
    overflow: hidden!important;
    width: 100%;
    background: #002B4C;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.58);
    height: 516px;
    padding-top: 145px;
 }

.post-thumb img {
	max-width: 1920px;
	position: relative;
	left:50%;
	margin-left:-960px;
	box-shadow: 0 0 12px rgba(0, 0, 0, 0.72);
}


ul.list-fa, .header ul li ul li ul.sub-menu {
	list-style-type:none;
	color: #002B4C;
	}
	
ul.list-fa li:before, .header ul li ul li ul.sub-menu li:before {
    content: '\f005';
    font-family: FontAwesome;
    display: inline-block;
    width: 1.2em;
    margin-left: -1.2em;
    
    }

.header ul li ul li ul.sub-menu li:before {font-size: 8px;}    

.teaser {
    background-color: #EFE1D1;
    padding: 5px 30px 30px;
    box-shadow: 0 0 0 1px #fff, 0 0 0 6px rgb(239, 225, 209);
    margin: 25px 0;
    color: #C8945A;
    transition: 300ms;
    cursor:pointer;
}

.teaser:hover {
	opacity:0.8;}
	
.footer {
    background-color: #EFE1D1;
    padding: 160px 0;
    text-align: center;
}

.footer a {
    color: #002B4C;
    text-decoration: none;
}	

.footer i {
    font-size: 14px;
}

span.nav-toggle  {display:none;}

@media (max-width:1217px) {
	.pagewrap {width:80%;}
	.header ul li {position:static;}
	body.page-id-16 .header ul li#menu-item-79 ul li#menu-item-80 ul {display: block;width: 100%;position: absolute;background-color: #fff;padding: 0;text-align: center;padding: 10px 0;top: 42px;}
	.header ul li ul {height:auto;padding: 15px 0;box-shadow: 0 0 5px rgba(0, 0, 0, 0.28);background: #fff;}
	.header ul li ul li {width: 16%; margin:0;font-size: 12px;line-height: 0.9em;text-transform: capitalize;margin: 2px 0;font-weight: 600;}
	.inner {width:100%;}
	.header ul li ul li ul {position:absolute; padding:10px 0; background:#fff; text-align:center;top:42px}
	.header ul li ul li ul li {font-size:9px; width: 20%}
	.form section {float: none;margin: 1% auto;width: 100%;}
	
}


@media (max-width:980px) {
	.header.nav {
		position:absolute;
	}

	ul.startlist li {
		width:100%;
		float:none;	}


body.page-id-61 .header ul,
body.page-id-61 .header .inner
  {
    display: block;
}

body.page-id-61 .header ul li ul,
body.page-id-61 a.logo	{
	display:none;
}	

body.page-id-61 .header ul {
	background-color:#fff;
}


#accordion section:after {

     position: relative;
     top: auto;
     margin-top: 0;
     right: 0;
     display:block;
     padding: auto;
     height: 0;
     background-color:transparent;
}

span.description {
	width:100%;
}

span.description h2 {
	margin:0;
}

ul.startlist li.gastronomie a span.description,
ul.startlist li.events a span.description
 {top:auto; bottom:0;}
 
.links, a.deinemudda {
	display:none;
}

img.emblem {
display:none;}

a.logo {
	float:none;
	position:relative;
	width:100%

}

a.logo img {
    width: 220px;
}

.header ul {
	width:100%;
	position: relative;
}

/*
.menu-menu-1-container {
	padding: 10px;	
}
*/

.menu-main-container {
	padding: 10px;	
}

.post-thumb {
	 height: auto;
 }

.post-thumb img {
	max-width: 100%;
	left:auto;
	margin-left:auto;
}

}

@media (max-width:780px) {
	.pagewrap .inner, .pagewrap #secondary,.news article {
		float: none;
		width:100%;
	}
	.pagewrap #secondary {
		text-align:center;
		margin:0 auto;
	}


.news article {
	margin:2% 0;
}

}


@media (max-width:630px) {
	span.nav-toggle {display:block;}
	.navwrap {display:none}
	.header ul {width:100%;}
	.header ul li {width:100%;}
	.header ul li ul {position:relative;top:auto;}
	.header ul li ul li {width:100%; font-size:13px;margin:10px 0}
		.header ul li ul li ul {position:relative;  background:#fff; text-align:left;top: 24px;padding: 5% 15%;}
	.header ul li ul li ul li {width:50%;}
    
.sideLinks {
    left: auto;
    right: 0;}    


.sideLinks>a>img {
    max-width: 80px;
}    
}

@media (max-width:450px) {
	ul.list-fa {margin:0 auto;}
	
}