/*
Theme Name: Metronor
Author: Idium (Ann Christin)
Template: SimplePress
*/

@import url('../SimplePress/style.css');

html,body {
	height: 100%;
}

.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
.wrapper:after {
	content: "";
 display: table;
 clear: both;
}

#footer {
	position: relative;
	/*bottom: 30px;*/
}

#idium-cookies-notification-show {
	position: relative;
	width: 100%;
	/*bottom: 15px;*/
}

.header-logo {

}
#logo {
	margin-left: auto;
}
.support-menu-wrap {
	float: right;
	width: 60%;
	text-align: right;
	margin-top: 4em;
}
.support-menu-wrap .login-menu {
	margin-bottom: 8px;
}
.support-menu-wrap .login-menu li a {
	color: #B6B6B6;
	text-shadow: 1px 1px 0px #fff;
	font-style: italic;
}
.support-menu-wrap .login-menu li a:hover { color: #333; }
.support-menu-wrap .support-menu {
	float: right;
	margin-top: 4px;
}
.support-menu-wrap .form-search {
	float: right;
	margin-left: 10px;
}
.support-menu-wrap .support-menu li {
	float: left;
}
.support-menu-wrap .support-menu li a {
	padding: 8px;
	color: #B6B6B6;
	text-shadow: 1px 1px 0px #fff;
	font-style: italic;
}
.support-menu-wrap .support-menu li a:hover { color: #333; }

.nav li a {
	padding-bottom: 10px;
	margin-bottom: -10px;
}

#posts .post h1,
#posts .post h2,
#posts .post h3,
#posts .post h4,
#posts .post h5,
#posts .post h6 { margin-top: 20px; }

a.featured-image {
	position: relative;
}
span.overlay-image {
	position: absolute;
	top: 0;
	left: 0;
}

#quote div { text-align: center; }
#quote {
	margin-bottom: 60px;
}
#quote:after{
	content: "";
 display: table;
 clear: both;
}

.ui-widget-content a {
	text-decoration: underline;
}
.ui-widget-content a:hover {
	color: #777;
}

.cat_desc {
	margin-bottom: 20px;
}

/* Chinese flag */
.support-menu li.chinese {
	text-align: left;
}
.support-menu li.chinese a {
	text-indent: -9999px;
	display: block;
	background: url("images/flag-chinese.png") no-repeat center 15%;
	width: 20px;
}

/* Search form */
.form-search input.search {
	background: #ededed;
	border: 1px solid #d5d5d5;
	padding: 3px 5px;
	margin-right: 0;
	border-right: none;
}
.form-search input.search::-webkit-input-placeholder { color: #333; }
.form-search input.search:-moz-placeholder { color: #333; }
.form-search input.search::-moz-placeholder { color: #333; }
.form-search input.search:-ms-input-placeholder { color: #333; }
.form-search input.submit {
	background: url("images/search-submit.png") no-repeat center center;
	text-indent: -9999px;
	width: 24px;
	height: 24px;
	border: none;
	cursor: pointer;
}

.banner span a:hover {
	color: #E4E4E4;
}
#posts .post a { color: royalblue; /*#b20838;*/ }
#posts .post a:hover { color: #000; }
#posts .post h2 a,
#posts .post .readmore { color: inherit; }
.widget ul li a { color: royalblue; /*#004B8D;*/ }
.widget ul li a:hover { color: #b20838; }
#posts .et_pt_blogentry a.readmore { color: royalblue; }
#sidebar .widget h3 { line-height: 30px; }

#navwrap {
	position: relative;
	z-index: 300;
}

/* Home page */
.wrapper.strip-inside {
	margin-top: 4em;
}
.wrapper.strip-inside .short-strip {
	border-left: 1px solid #d7d4d4;
	border-right: 1px solid #d7d4d4;
}
.wrapper.strip-inside .short-strip div { padding: 20px; }

#blurbs div {
	float: none;
	width: auto;
	padding: 5px 0;
	margin: 0;
}
#blurbs .blurbs-content {
	padding: 0 20px;
}
#blurbs .post {
	clear: both;
	margin-bottom: 10px;
}
#blurbs div.thumb {
	float: right;
	margin-left: 2em;
	margin-right: 2em;
	margin-top: 5px;
}
#blurbs .post h2 {
	font-size: 1.7em;
	margin-bottom: 3px;
}
#blurbs .post a:hover,
#blurbs .post a:hover h2 { color: #777; }
#blurbs .post a:hover img { opacity: 0.8; }

/* Slideshow fix */
.slide .banner h2 {
	font-size: 42px;
	padding-top: 25px;
	height: 78px;
}
.slide .banner {
	font-size: 18px;
	line-height: 26px;
}

/* Footer */
#footer {
	width: 100%;
	margin: 0;
	background: #DDD;
	padding-bottom: 10px;
	padding-top: 10px;
}
#footer .footer-content {
	width: 960px;
	margin: 0 auto;
}
#footer #copyright {
	float: left;
	text-align: left;
	width: 20%;
	padding-top: 0;
}
#footer .footer-widget {
	width: 70%;
	float: right;
	color: #777;
}
#footer .footer-widget h3 {
	font-weight: normal;
	font-size: 12px;
	font-style: normal;
	font-family: 'Georgia', serif;
}

/* Products */
#product_tabs {
	margin: 20px 0 15px 0;
	clear: both;
	font-family: inherit;
}
.single-metro_products .post .thumb { margin-bottom: 20px; }
.post-type-archive-metro_products #posts .post h2 { margin-bottom: 6px; }
#product_tabs .ui-state-default a, #product_tabs .ui-state-default a:link, #product_tabs .ui-state-default a:visited { color: #004b8d; }
#product_tabs .ui-state-active a, #product_tabs .ui-state-active a:link, #product_tabs .ui-state-active a:visited { color: #b20838; }
/* Also changed something in jquery-ui-flick.css */

.post .text { width: 420px; }
#posts .post h2 {
	margin-bottom: 10px;
}
#posts div.et_pt_thumb { padding: 9px 0 0 9px; }

/* Splash popup */
#landing-popup {
	width: 990px;
	margin: auto;
}
#landing-popup .splash-logo {
	width: 480px;
	margin: 30px auto 35px auto;
	text-align: center;
}

#landing-popup a.popup-box-link {
	width: 480px;
	float: left;
	display: block;
}
#landing-popup a.popup-box-link:hover { opacity: 0.8; }
#landing-popup .popup-first { margin-right: 10px; }

#landing-popup .box-content {
	-moz-box-shadow:    0 0 2px 2px #ccc;
  -webkit-box-shadow: 0 0 2px 2px #ccc;
  box-shadow:         0 0 2px 2px #ccc;
  position: relative;
  margin-left: 1px;
  height: 295px;
}

#landing-popup .title-img {
	float: left;
}
#landing-popup .splash-box {
	float: left;
	position: relative;
}
#landing-popup .splash-overlay {
	position: absolute;
	bottom: 20px;
	left: 20px;
	width: 365px;
	height: auto;
	background-color: rgba(0, 0, 0, 0.8);
}
#landing-popup .splash-overlay h2 {
	text-shadow: none;
	color: #FFF;
	padding: 21px 21px 12px 21px;
	font-weight: 300;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 30px;
}
#landing-popup .splash-overlay p {
	padding: 0 21px 21px 21px;
	font-family: 'Open Sans Condensed', sans-serif;
	font-size: 18px;
	line-height: 28px;
	color: #CCC;
}

#quote, #quote div { background: none; }


@media only screen and ( max-width: 1060px ) {
	#landing-popup {
		width: 100%;
	}
	#landing-popup a.popup-box-link {
		float: none;
		margin: 0 auto;
	}
	#landing-popup a.popup-box-link.popup-first {
		margin-bottom: 45px;
	}

}

@media only screen and ( max-width: 960px ) {
	.wrapper #logo {
		margin-left: auto;
	}

}
@media only screen and (max-width: 960px) and (min-width: 768px) {
	.wrapper #logo {
		margin-left: auto;
	}
	.wrapper #blurbs div { width: auto; }
	#blurbs div.post { width: auto; }
	#footer { width: 100%!important; margin: 0; }
	#footer .footer-content { width: 748px; }
}
@media only screen and ( max-width: 767px ) {
	.wrapper #logo {
		margin-left: auto;
	}
	.support-menu-wrap {
		width: 50%;
	}
	#navwrap { clear: both; }

	/* Redisplay sidebar */
	.wrapper #sidebar { display: block; padding-left: 0; width: 100%; }
	.wrapper #sidebar .widget { width: 100%; }

	/* Frontpage */
	.wrapper #blurbs div { width: auto; margin-bottom: 10px; padding: 0; }
	#blurbs div.post { width: auto; padding: 0 15px 10px; }
	.wrapper #strip div { font-size: 1.2em; }

	/* Footer */
	#footer { width: 100%!important; margin: 0; }
	#footer .footer-content { width: 460px; }
	#footer #copyright { width: 30%; }
	#footer .footer-widget { width: 60%; text-align: right; }
}

@media only screen and ( max-width: 520px ) {
	#landing-popup a.popup-box-link img {
		height: 184px;
	}
	#landing-popup a.popup-box-link {
		width: 300px;
	}
	#landing-popup .box-content,
	#landing-popup .splash-box {
		height: 184px;
	}
	#landing-popup .splash-overlay {
		left: 0;
		bottom: 0;
		width: 100%;
		height: 118px;
	}
	#landing-popup .splash-overlay h2 {
		font-size: 26px;
		padding: 14px 14px 5px 14px;
	}
	#landing-popup .splash-overlay p {
		font-size: 15px;
		padding: 0 14px 21px 14px;
		line-height: 22px;
	}
	#landing-popup .splash-logo {
		width: 300px;
	}
}

@media only screen and ( max-width: 479px ) {
	.wrapper #logo {
		margin-left: 34px;
	}
	.support-menu-wrap {
		width: 100%;
		margin-top: 8px;
		margin-bottom: 18px;
		text-align: left;
	}
	.support-menu-wrap .form-search { display: none; }
	.support-menu-wrap .login-menu {
		float: left;
	}
	.support-menu-wrap .login-menu li a { padding: 8px; }
	.support-menu-wrap .support-menu {
		float: left;
		margin-top: 0;
	}

	.wrapper #blurbs div { margin-left: 0; }
	#blurbs div.thumb { display: none; }

	#footer { width: 100%!important; margin: 0; }
	#footer .footer-content { width: 300px; }
	#footer #copyright { width: 45%; }
	#footer .footer-widget { width: 50%; }

	.ui-tabs .ui-tabs-nav li { width: 100%; }
}

@media print {
	.support-menu-wrap { display: none; }

}

.splash-box > img { margin: 0 -1px 0 0; }
