/*
Theme Name: pom_ff
Theme URI: http://wordpress.org/themes/pom_ff
Author: TidyThemes
Author URI: http://tidythemes.com/
Description: <strong>UPDATE</strong> - 4.0+ is here, completely overhauled, yet again. As always, <a href="http://tidythemes.com/concept/#upgrading">use caution when upgrading</a> (tidythemes.com/concept/#upgrading) and <a href="http://tidythemes.com/concept/">learn the TidyThemes concept</a> (tidythemes.com/concept). &nbsp; &rarr; <em><strong>CAUTION</strong>: If you're child theming or have clients that are child theming on top of pom_ff (not the recommended use), please do not blindly upgrade to newer versions.</em> &nbsp; &rarr; <strong>DESCRIPTION</strong>: pom_ff is the definitive WordPress HTML5 boilerplate starter theme. We've carefully constructed the most clean and minimalist theme available anywhere for designers/developers to use as a base/foundation to build websites for clients or to build completely custom themes from scratch to release faster. Clean, semi-minified, unformatted and valid code, SEO-friendly, no programmer comments, standardized and as white label as possible and most importantly, CSS reset for cross-browser-compatability and no intrusive visual CSS styles added whatsoever. A perfect skeleton theme that blows any others like it (the subsequent underscores.me for example) completely out of the water, as they're simply too overcomplicated for what people really want in this kind of theme. Now comes with jQuery enqueued and ready to go. &nbsp; &rarr; <strong>SUPPORT</strong>: Please use the <a href="http://tidythemes.com/forum/">official support forum</a> (tidythemes.com/forum). Comments and suggestions for improving pom_ff, please see "<a href="http://tidythemes.com/tidythemes-sucks/">TidyThemes Sucks!</a>" (tidythemes.com/tidythemes-sucks). Just getting started? <a href="http://tidythemes.com/want-to-learn-css/">Want to learn CSS?</a> (tidythemes.com/want-to-learn-css) &nbsp; &rarr; <strong>WHAT'S NEW?</strong>: We stripped down as much custom, extraneous, superfluous junk code as we could and greatly improved the HTML5 structure. <a href="http://make.wordpress.org/themes/author/chipbennett/">Chip Bennett</a> (make.wordpress.org/themes/author/chipbennett), a highly experienced programmer and official WordPress administrator, worked closely with us to audit the theme code for quality. <a href="http://themes.trac.wordpress.org/changeset?old_path=/pom_ff/3.3&new_path=/pom_ff/4.0">See</a> (themes.trac.wordpress.org/changeset?old_path=/pom_ff/3.3&new_path=/pom_ff/4.0) just how much we've revamped things. Last, but not least, pom_ff has now been <a href="https://github.com/tidythemes/pom_ff">opened up on GitHub</a> (github.com/tidythemes/pom_ff) if anyone would like to make suggested code additions/improvements. Thank you for using pom_ff.
Version: 4.0.2
License: GNU General Public License
License URI: https://www.gnu.org/licenses/gpl.html
Tags: black, blue, white, light, one-column, fluid-layout, responsive-layout, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Text Domain: pom_ff

pom_ff WordPress Theme © 2011-2014 TidyThemes
pom_ff is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font-size:100%;font:inherit;padding:0;border:0;margin:0;vertical-align:baseline}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.clear{clear:both}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}

a {
    margin:0;
    padding:0;
    font-size:100%;
	outline: none;
	text-decoration:none;
    background:transparent;
	vertical-align:baseline;
	color: #ED0D6E;
	display: inline-block;
}

a:hover {
	color: #272727;
}

a, a > * {
-webkit-transition: background-color .3s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out, margin .2s ease;
-moz-transition: background-color .3s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out, margin .2s ease;
-ms-transition: background-color .3s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out, margin .2s ease;
-o-transition: background-color .3s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out, margin .2s ease;
transition: background-color .3s ease, border .2s ease, color .2s ease, opacity .2s ease-in-out, margin .2s ease;
}


body 
{
	background-color: #FFF;
	color: #272727;
	-webkit-font-smoothing: antialiaszed;
	-webkit-text-size-adjust: 100%;
	font: 400 14px Tahoma, Arial;
	-webkit-animation: bugfix infinite 1s; 
}

@-webkit-keyframes bugfix { 
  from { padding: 0; } to { padding: 0; } 
}


h1, h2, h3, h4, h5, h6 
{
margin-bottom: 15px;
color: #272727;
font-weight: 400;
line-height: 1.25;
font-size: 22px;
font-family: Tahoma;
letter-spacing: 3px;
}

h3 {
	font: 600 16px Tahoma, Arial;
	letter-spacing: 1px;
	text-transform: uppercase;
}

h4 {
	font: 400 20px Tahoma, Arial;
}

p {
	margin: 0 0 0.5em 0;
	padding: 0;
	line-height: 1.3em;
	font-family: Arial;
}


b, strong {
font-weight: 600;
}

i, em {
font-style: italic;
}


input, textarea, select {
display: inline-block;
color: #272727;
font-size: 14px;
font-family: Arial, sans-serif;
padding: 6px 10px;
width: 100%;
border-width: 3px;
border-style: solid;
border-color: #c7c7c7;
line-height: 1em;
box-sizing: border-box;
outline: none;
margin-top: 0;
}

/* Darujte */

.linka-banner {
	background: #2d2d2d;
	color: #ffffff;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 26px;
	margin: 0 auto;
	max-width: 932px;
	overflow: hidden;
	padding: 20px 24px;
}
.linka-banner a {
	color: #ffffff;
	text-decoration: none;
}
.linka-banner a:hover {
	color: #ffd31a;
	text-decoration: none;
	-webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.linka-banner .spacer::before {
	color: #ffd31a;
	content: '\2014';
	padding: 0 20px;
}
.darujte {
	border-bottom: 1px solid #d6d6d6;
	color: #2d2d2d;
	font-family: 'Open Sans', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 26px;
	margin: 0 auto 34px auto;
	max-width: 932px;
	overflow: hidden;
	padding: 26px 24px 34px 24px;
}
.darujte .spacer::before {
	color: #ff88a4;
	content: '\2014';
	padding: 0 20px;
}
.darujte a {
	border: 3px solid #ffd31a;
	color: #2d2d2d;
	display: block;
	font-size: 22px;
	font-weight: bold;
	line-height: 22px;
	margin-top: 20px;
	overflow: hidden;
	padding: 14px 0;
	text-align: center;
	text-decoration: none;
	width: 120px;
	-webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.darujte a:hover { background: #ffd31a; }
.darujte strong { font-weight: 600; }

/* Darujte End */

.container {
	position: relative;
	width: 980px;
	margin: 0 auto;
	padding: 0;
	background: #c7c7c7;
	/*border-top: solid 4px #ED0D6E;*/
}

#header {
	position: relative;
	padding: 0;
	background: #FFFFFF;
	z-index: 999;
}

#header-image {
	width: 100%;
    position: relative;
    top: 58px;
}

header#header {
	
}

#header .container div {
/*float: left;
margin-right: 27px;*/
position: absolute;
top: 29px;
left: 4px;
z-index: -1;
}

#header h1
{
font: 400 32px Tahoma, Arial;
color: #272727;
margin-bottom: 10px;
margin-top: 50px;
text-transform: uppercase;
letter-spacing: 8px;
padding-left: 193px;
float: left;
clear: both;
}


#header h2 {
	padding-left: 215px;
	font-weight: 400;
	letter-spacing: 1px;
	font-size: 19px;
	float: left;
	clear: both;
}

#header h3 {
	color: #ED0D6E;
	text-transform: uppercase;
	letter-spacing: 3px;
	font-size: 15px;
	font-weight: 400;
	margin-left: 53%;
	float: left;
	clear: both;
}


#header .container {
	background-color: #fff;
	border-top: none;
}

#header a.title{
	display: block;
}


.container[role=main] {
	border-top: solid 4px #ED0D6E;
	background: #c7c7c7;
	padding-top: 30px;
	overflow: auto;
}

.slogan {
margin: 20px 60px;
text-align: right;
letter-spacing: 1px;
}


#navigation
{
	zoom: 1;
	position: relative;
	top: 36px;
	clear: both;
	padding: 0 40px 0 10px;
	z-index: 120;
}


#navigation a:hover{
	margin-left: 0px;
}

.is-sticky #navigation {
width: 100%;
max-width: 980px;
box-sizing: border-box;
}

input[type=checkbox]#top-menu {
position: absolute;
top: -9999px;
left: -9999px;
}

nav[role="custom-dropdown"] label {
display: none;
}

nav[role="custom-dropdown"] ul {
float: right;
display: block;
list-style: none;
background: #ED0D6E;
}

nav[role="custom-dropdown"] ul > li {
position: relative;
float: left;
margin: 0;
list-style: none;
position: relative;
}

nav[role="custom-dropdown"] ul > li a {
	color: #FFFFFF;
	position: relative;
	display: block;
	padding: 18px 22px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	font-family: 'Open Sans', Arial;
	text-transform: uppercase;
}

#navigation a:hover,
#navigation .current-menu-item > a {
	color: #272727;
}


nav[role="custom-dropdown"] ul > li > ul.sub-menu {
	display: none;

	position: absolute;
	left: 0;
	z-index: 99;
	display: none;
	margin-top: 0px;
	padding-top: 5px;
	width: 180px;
	background-color: #D6005D;
	overflow: hidden;

}

nav[role="custom-dropdown"] ul > li:hover > ul.sub-menu {
	display: block;
	padding-left: 0px;
}

nav[role="custom-dropdown"] ul ul.sub-menu li {
	position: relative;
	width: 100%;
	
}
nav[role="custom-dropdown"] ul ul.sub-menu li a{
	background-color: #D6005D;
	text-transform: none;
	display: block;
	padding: 7px 20px;
	border-width: 0 0 1px 0;
	border-style: solid;
	border-bottom-color: #C24179;
	text-align: left;
	color: #FFFFFF;
	font-weight: 600;
	font-size: 13px;
	font-family: 'Open Sans', Arial;
}

nav[role="custom-dropdown"] ul ul.sub-menu li a:hover {
color: #272727;
}

.slider {
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100% !important;
	max-height: 490px !important;
	border-bottom: 1px solid rgba(173, 171, 155, 0.2);
}

section.all {
position: absolute;
width: 100%;
}

.page-header {
background-color: #FFFFFF;
margin: 0 40px 20px;
padding: 20px;
}

.page-header h3 {
margin: 0;
font-weight: 300;
color: #272727;
font-size: 24px;
}

#content {
	padding-top: 25px;
	margin-bottom: 25px;
}

#ptext {
float: left;
margin: 0 40px 20px;
background: #FFFFFF;
padding: 20px 9px;
}

.featured {
	z-index: 120;
	margin: 0px 40px 26px;
	padding: 20px 9px 40px;
	background: #FFFFFF;
}

.container .third {
	width: 274px;
}

.container .twothird {
	width: 568px;
}

.container .slip {
	float: left;
	display: inline;
	margin-left: 10px;
	margin-right: 10px;
}

.container .main {
width: 566px;
padding-right: 20px;
box-sizing: border-box;
}

.third .inner {
	text-align: left;
	background: #ED0D6E;
	position: relative;
	padding-bottom: 7px;
	min-height: 258px;
}

.newsfeed, .entry-content {
 border: 1px solid #C7C7C7;
 padding: 20px;
}

.newsfeed article {
	padding: 0 0 25px;
}

.entry-meta {
font-size: 12px;
}

.archive-meta {
	margin-bottom: 25px;
}

.entry-summary {
	padding: 0;

}

.entry-summary .button{
	margin-top: 10px;
}

article:last-child  {
	border-bottom: none;
	margin-bottom: 0px;
	padding-bottom: 0px;

}

.archivlink {
	display: block;
	margin-top: 20px;
	color: #ED0D6E;
}
.archivlink:hover{
	color: #272727;
}

nav#nav-below {
margin-bottom: 25px;
overflow: auto;
}

.nav-previous a {
margin-left: 5px;
float: left;
}

.nav-previous a:hover {
margin-left: 0px;
}

.nav-next a {
margin-right: 5px;
float: right;
}

.nav-next a:hover {
margin-right: 0px;
}

.meta-navl, .meta-navr {
	font-size: 22px;
	color: #ED0D6E;
	vertical-align: -2px;
}
.nav-next a:hover .meta-navl,
.nav-next a:hover .meta-navr {
	color: #272727;
}


#sidebar {
	float: right;
}

#sidebar .widget-container {
	margin-bottom: 45px;
}

.widget-container li {
	position: relative;
	padding: 6px 0;
	border-bottom: 1px solid #C7C7C7;
	zoom: 1;
	font-size: 13px;
}

.widget-container ul li:last-child {
	border-bottom: none;
}

/*.entry-content a:before,*/
#sidebar .widget-container a:before,
.agenda_body a:before {
	display: block;
	width: 8px;
	height: 8px;
	background: #ED0D6E;
	content: ' ';
	float: left;
	margin: 5px 8px 0 0;
}

#sidebar .widget-container a:hover {
	margin-left: 5px;
}

h3.widget-title {
margin-bottom: 15px;
font-size: 14px;
text-transform: uppercase;
font-weight: 600;
}

#sidebar #searchform {
position: relative;
margin-bottom: 20px;
}

label.screen-reader-text {
	display: none;
}

input#searchsubmit {
position: absolute;
right: 8px;
top: 6px;
width: 28px;
height: 28px;
border: none;
background-color: transparent;
background-image: url(images/searchicn.png);
background-repeat: no-repeat;
text-indent: -9999px;
-moz-transition: none;
transition: none;
}


.significant {
padding: 20px 14px;
line-height: 1.5;
background: #ED0D6E;
margin-bottom: 20px;
color: #000;
}

.significant span {
display: block;
font-size: 22px;
font-weight: 600;
letter-spacing: 2px;
padding: 3px 0;
color: #FFF;
}

.featured h4 {
	margin-bottom: 10px;
	color: #FFFFFF;
	font-weight: 400;
	line-height: 1.25;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	padding: 0 14px;
}

.featured p {
	color: #FFFFFF;
	padding: 0 14px;
	position: relative;
}

.imgcan {
	position: relative;
	display: block;
	width: auto;
	margin-bottom: 8px;
	padding: 7px;
	float: left;
}

.entry-content .wp-post-image {
	position: relative;
	display: block;
	font-size: 0;
	border: 1px solid #585858;
	overflow: hidden;
	width: 100%;
	height: auto;
}

.entry-content ul {
	list-style-type: square;
	margin-left: 19px;
	margin-bottom: 0.5em;
}

.entry-content ol {
	list-style-type: decimal;
	margin-left: 22px;
	margin-bottom: 0.5em;
}

.entry-content li {
	margin-bottom: 0.2em;
}

.agenda_body a,
.entry-summary a,
.entry-content a{
color: #ED0D6E;
}

.agenda_body a:hover,
.entry-summary a:hover,
.entry-content a:hover{
	color: #272727;
}

.imghover {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(134, 134, 134, 0.7);
	text-align: center;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	background-repeat: no-repeat;
	opacity: 0;
	filter: alpha(opacity=0);
	color: #FFFFFF;
	font: 200 29px 'Open Sans', Arial;
	padding-top: 18%;
	margin-top: 50%;
}

a.picture, a.picture > * {
-webkit-transition: all .2s ease;
-moz-transition: all .2s ease;
-ms-transition: all .2s ease;
-o-transition: all .2s ease;
transition: all .2s ease;
}

.picture {
	position: relative;
	display: block;
	cursor: pointer;
	font-size: 0;
	overflow: hidden;
}

.picture:hover .imghover {
	opacity: 1;
	filter: alpha(opacity = 100);
	margin-top: 0;
}

.morelink {
	position: absolute;
	color: #ED0D6E;
	bottom: -22px;
	right: 13px;
}

.button {
	display: inline-block;
	padding: 6px 19px;
	outline: none;
	color: #fff;
	border-width: 1px;
	border-style: solid;
	vertical-align: baseline;
	text-align: center;
	text-decoration: none;
	font-size: 12px;
	cursor: pointer;
}

.button {
	border-color: #d7d5cf;
	border-bottom-color: #d0cfc9;
	color: #847460;
	text-shadow: 1px 1px 0 #f9f9f7;
	background: #faf9f7;
	background: -moz-linear-gradient(top, #faf9f7 0%, #dad9d3 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#faf9f7), color-stop(100%,#dad9d3));
	background: -webkit-linear-gradient(top, #faf9f7 0%,#dad9d3 100%);
	background: -o-linear-gradient(top, #faf9f7 0%,#dad9d3 100%);
	background: -ms-linear-gradient(top, #faf9f7 0%,#dad9d3 100%);
	background: linear-gradient(to bottom, #faf9f7 0%,#dad9d3 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#faf9f7', endColorstr='#dad9d3',GradientType=0 );
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 1px 1px 2px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.25);
	-moz-box-shadow: 1px 1px 2px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.25);
	box-shadow: 1px 1px 2px rgba(0,0,0,.14), inset 0 1px rgba(255,255,255,.25);
}

.button:hover {
	background: -moz-linear-gradient(top, #dad9d3 0%, #faf9f7 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dad9d3), color-stop(100%,#faf9f7));
	background: -webkit-linear-gradient(top, #dad9d3 0%,#faf9f7 100%);
	background: -o-linear-gradient(top, #dad9d3 0%,#faf9f7 100%);
	background: -ms-linear-gradient(top, #dad9d3 0%,#faf9f7 100%);
	background: linear-gradient(to bottom, #dad9d3 0%,#faf9f7 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dad9d3', endColorstr='#faf9f7',GradientType=0 );
}

h4.archive-title,
h4.entry-title {
	margin-bottom: 6px;
	font-weight: 600;
	line-height: 1.25;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

h4.archive-title {
border-bottom: 1px solid #C7C7C7;
padding-bottom: 8px;
margin-top: 10px;
margin-bottom: 2px;
}

h4.archive-title:before,
h4.entry-title:before {
	display: block;
	width: 8px;
	height: 8px;
	background: #ED0D6E;
	content: ' ';
	float: left;
	margin: 5px 8px 0 0;
}

h4.archive-title a,
h4.entry-title a {
	display: flex;
	color: #272727;
}

.archive-title a:hover,
.entry-title a:hover {
	color: #ED0D6E;
}

#bottom-secondary {
	margin: 0px 40px 30px;
	padding: 20px 9px 30px;
	background: #FFFFFF;
}
/******** NOMOD ****//*
#footer {
position: relative;
padding: 65px 0 65px;
border-bottom: 1px solid #cccac2;
background-color: rgba(222,219,207,.7);
}

#footer .textwidget a:before {
	font-size: 17px;
	color: #730C1D;
	margin-right: 3px;
	content: '⇢';
}
*/
/******** NOMOD END ****/
/******** MOD ****/

#footer p {
    color: #FFFFFF;
}
#footer h3 {
    color: #FFFFFF;
	font-weight: 400;
	line-height: 1.25;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
}
#footer a {
    color: #FFFFFF;
}
#footer a:hover {
    color: #272727;
}

#footer {
position: relative;
padding: 0;
}

#footer .container:first-child {
border: none;
padding: 25px 0 35px;
background: #ED0D6E;
padding: 20px 40px;
box-sizing: border-box;
}

#footer .textwidget a:before {
font-size: 17px;
background: #E7E7E7;
height: 8px;
width: 8px;
margin-right: 6px;
margin-top: 5px;
content: ' ';
display: inline-block;
float: left;
}

#footer .textwidget a:hover:before {
background: #272727;
}

#footer .textwidget a.nonar:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
	margin-left: 0;
}

#footer .textwidget a.nonar:before {
	display: none;
}

/******** MOD END ****/

#footer .textwidget a:hover {
	margin-left: 5px;
}

.footer_statement {
background: #c7c7c7;
text-align: center;
font-size: 14px;
font-weight: 600;
letter-spacing: 2px;
position: relative;
padding: 12px 0;
}

#footer .footer_statement p {
color: #272727;
position: relative;
margin: 0;
}

.footer_statement img {
position: absolute;
bottom: 10px;
right: 10%;
}

.footer_statement img {
}

#copyright .container {
border-top: solid 4px #ED0D6E;
background: #FFFFFF;
}

.copyright {
	padding: 10px 0px 30px 10px;
	letter-spacing: 1px;
	line-height: 1.5;
}

#copyright img {
	vertical-align: -28%;
	background: #FFFFFF;
}

.slider_text_div {
position: absolute;
margin: 40px auto;
width: 960px;
bottom: 10%;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
font-size: 32px;
font-weight: 100;
color: rgba(241, 241, 241, 0.7);
}

.slider_title {
position: relative;
float: left;
margin-left: 10%;
background: #D66E6E;
padding: 0 10px 3px 10px;
}

.agenda_date {
float: left;
margin-right: 10px;
}

.agenda_day {
display: block;
width: 46px;
background: url('images/calendarbg.png') no-repeat;
height: 34px;
text-align: center;
padding-top: 13px;
font-size: 21px;
}

.agenda_month {
display: inline-block;
width: 100%;
text-align: center;
font-size: 11px;
font-weight: 600;
}

.agenda_color {
	margin-bottom: 18px;
}
.agenda_body {
	overflow: hidden;
}

.agenda_subject {
margin-bottom: 5px;
color: #36332e;
font-weight: 600;
line-height: 1.25;
display: block;
}

.agenda_location {
font-size: 12px;
font-style: italic;
margin-right: 5px;
}

.agenda_time {
font-size: 12px;
font-style: italic;
}

#mncontactfrm label
{
	float: left;
	width: 25%;
	margin-top: 5px;
}

#mncontactfrm input[type=text],
#mncontactfrm textarea
{
	width: 75%;
}

#mncontactfrm p#mn_contact_sending_status {
color: #FFF;
font-size: 14px;
padding-bottom: 10px;
text-align: center;
}

#mncontactfrm input#mn_contact_submit {
width: 40%;
float: right;
margin-top: 4px;
}

@media (max-width: 959px) 
{
	.container 
	{
		width: 97%;
	}
	#header .container 
	{
		width: 97%;
	}
	
	#header h1 {
		padding: 0 10px;
		background-color: rgba(255, 255, 255, 0.55);
		float: right;
	}
	#header h2 {
		padding: 0 10px;
		background-color: rgba(255, 255, 255, 0.55);
		float: right;
	}
	#navigation {
		width: 96%;
		margin: 0 auto;
		padding: 0px;
	}
	
	.container .slip 
	{
		margin-left: 0px;
		margin-right: 0px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.container .third 
	{
		width: 33.3333%;
		box-sizing: border-box;
	}
	
	.container .main,
	.container .twothird {
		width: 66.666%;
		box-sizing: border-box;
	}
	
	.entry-content .wp-post-image,
	.picture img {
		width: 100%;
		max-width: 100%;
		display: block;
		height: auto;
	}
	
	iframe, object, embed {
        max-width: 100%!important;
	}
	#mncontactfrm input#mn_contact_submit {
		width: 30%;
	}
}

@media (max-width: 767px)
{
	.container {
		width: 80%;
	}
	.container .main {
		width: 100%;
	}
	
	#sidebar {
		float: none;
		margin: 0px auto;
		padding-top: 20px;
		position: relative;
		display: block;
		clear: both;
		width: 80%;
	}
	
	#footer .container .third {
		width: 80%;
		box-sizing: border-box;
		margin: 0 auto;
		float: none;
		clear: both;
		display: block;
		margin-bottom: 16px;
	}
	
	.page-header h3 {
		font-size: 26px;
	}
	
	#header .container {
		/*height: 184px;*/
	}
	
	#header h1 {
		text-align: right;
	}
	#header h2 {
		padding: 0 10px;
	}
	#navigation {
		max-height: 57px;
		width: 80%;
		top: 32px;
	}
	.is-sticky #navigation {
		left: 0;
		right: 0;
		width: 80%;
	}
	
	.featured {
		margin-top: -10px;
		padding-top: -0px;
	}
	.container .third,
	.container .twothird {
		width: 100%;
	}
	.third .inner {
		text-align: center;
		padding: 0 20px 10px;
		position: relative;
		min-height: inherit;
		margin-bottom: 22px;
	}
	
	.picture img {
		width: 284px;
	}
	
	.imgcan {
		max-width: 286px;
		float: none;
		clear: both;
		margin: 18px auto;
	}
	
  nav[role="custom-dropdown"] ul {
    display: none;
    height: 100%;
	padding-left: 0px;
  }
  nav[role="custom-dropdown"] li {
	box-sizing: border-box;
  }
  
  nav[role="custom-dropdown"] label {
    position: relative;
    display: block;
    width: 50%;
    padding: 1px 0px 0 8px;
	line-height: 56px;
    font-weight: 600;
	font-size: 16px;
	color: #FFFFFF;
    margin-left: 12px;
	text-transform: uppercase;
	box-sizing: border-box;
	float: right;
	background: #ED0D6E;
  }
  
  nav[role="custom-dropdown"] label:after {
    position: absolute;
    right: .25em;
    top: 0;
    content: "\2261";
    font-size: 2em;
  }

  
  nav[role="custom-dropdown"] input[type=checkbox]:checked ~ label,
  nav[role="custom-dropdown"] input[type=checkbox]:checked ~ label:after {

  }
  
  nav[role="custom-dropdown"] input[type=checkbox]:checked ~ ul {
    display: block;
	margin-left: 12px;
	width: 50%;
	float: right;
	background: #ED0D6E;
  }
 nav[role="custom-dropdown"] input[type=checkbox]:checked ~ ul > li {
    width: 100%;
    text-align: left;
  }

  nav[role="custom-dropdown"] input[type=checkbox]:checked ~ ul > li  a{
	text-align: left;
	line-height: 32px;
	padding: 7px 20px;
 }
  
  nav[role="custom-dropdown"] input[type=checkbox]:checked ~ ul > li > ul.sub-menu {
	display: none;
	/*display: block;
	position: relative;
	top: inherit;
	left: inherit;
	width: 100%;
	-webkit-box-shadow: none; box-shadow: none;
	border-bottom: solid 1px #EEEEEE;
	padding-top: 0px;
	margin-top: 0px;
	border-radius: 0;
	background-color: transparent;
	box-sizing: border-box;*/
  }
  
  nav[role="custom-dropdown"] input[type=checkbox]:checked ~ ul > li > ul.sub-menu  a{
    line-height: 32px;
  }

    nav[role="custom-dropdown"] input[type=checkbox]:checked ~ ul > li > ul.sub-menu li {
  padding-left: 10px;
  }
 
  .slider_text_div {
	font-size: 16px;
  }
}

@media only screen and (max-width: 580px)
{
	.container {
		width: 95%;
	}
	#navigation {
		width: 90%;
	}
	.is-sticky #navigation {
		left: 0;
		right: 0;
		width: 90%;
	}
	#header .container {
		background: none;
	}
	#header h1 {
	font-size: 24px;
	letter-spacing: 4px;
	text-align: right;
	margin-top: 20px;
	}
	
	#header h2 {
	margin-bottom: 22px;
	}
	#header h3 {
	float: right;
	margin-left: 0;
	margin-right: 10px;
	}
	#header a.title {
	padding: 0px;
	}
	
	#header a.title:hover {
		margin-left: 0px;
	}
	#header .container {
	}
	#header .container div img {
		width: 102px;
		margin-top: 27px;
		margin-left: 24px;	
	}
	.featured, #bottom-secondary {
	margin: 0 20px 26px;
	}
	.container[role=main] {
	padding-top: 40px;
	}
}

@media only screen and (max-width: 360px)
{
	nav[role="custom-dropdown"] label {
		width: 90%;
	}
	
	nav[role="custom-dropdown"] input[type=checkbox]:checked ~ ul {
		width: 90%;
		z-index: 999;
	}
	
	#header .container {
		padding-top: 0px;
	}

	.picture img {
		width: 284px;
		margin: 0 auto;
		box-sizing: border-box;
	}
	.imgcan {
		margin: 18px auto;
		box-sizing: border-box;
	}
	.third .inner {
		padding: 0;
		box-sizing: border-box;
	}
	
}
