/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 960px) {

	#content,
	#frontpage,
	#frontpage + #container > #content,
	#footer-widget-area {
		padding: 2em;
	}


	#primary,
	#secondary {
		padding-top: 2em;
	}

}

@media (max-width: 800px) {

	body {
		font-size: .95em;
	}
	
	#content,
	#frontpage,
	#frontpage + #container > #content,
	#footer-widget-area {
	    max-width: 100%;
		padding: 1.5em;
	}

	#content {
		margin: 0;
	}

	#primary,
	#secondary {
		padding-left: 1.5em;
		padding-right: 1.5em;
	}

	.widget-title {
		border-radius: 15px 15px 0 0;
	}

	#access,
	#branding {
		width: 100%;
	}

	#linky {
		width: auto;
	}

	#branding {
		height: auto;
		min-height: 90px;
	}

	#bg_image {
		min-height: 90px;
		width: 100%;
	}

	.mantra-hratio-1 #branding, 
	.mantra-hratio-1 #bg_image { 
		min-height: inherit !important; 
	} 

	#header-container > div {
     	margin-top: 7px;
     	margin-left: 14px;
     	height: 100%;
	}

	a#logo {
		height: 100%;
		display: block !important;
	}

	a#logo img {
		height: 80%;
		width: auto;
		max-width: 90%;
	}

	.safari a#logo img {
		max-height: 80px;
		height: auto;
	}

	.socials a {
		margin: 0;
		padding-left: 5px;
		display: block;
	}

	.socials a img {
		width: 24px;
	}

	#smenur,
	#smenul {
		display: none;
	}

	#access .menu-header,
	div.menu {
		margin: 0;
	}

	#primary,
	#secondary {
		width: 100%;
		height: auto !important;
	}

	#slider,
	#slider img {
		width: 100%;
	}

	#site-title {
		margin-top: 20px;
		font-size: 28px;
		line-height: 35px;
		padding-left: 15px;
	}

	#site-description {
		margin-top: 5px;
		font-size: 13px;
		line-height: 18px;
		padding-left: 15px;
	}

	#site-copyright {
		max-width: 90%
	}

	.entry-meta .bl_sep {
		margin: 0;
	}

	.nivo-caption {
		left: 0;
		right: 0;
		bottom: 0;
		padding: 20px;
		line-height: 1.4;
	}

	#nav-toggle {
		display: block;
		float: left;
		margin: 20px auto 0;
		cursor:pointer;
		width: 100%;
		padding: 5px 4%;
		letter-spacing: 2px;
		text-transform: uppercase;
	}

	#nav-toggle span:before {
		content: "\e820";
		font-family: "elusive";
		font-size: 16px;
		height: 40px;
		line-height: 40px;
	}

	#access {
		display: none;
		margin-top: 0;
		margin-bottom: 20px;
		padding-bottom: 5px;
		font-size: 15px;
	}

	#access .menu ul,
	#access .menu ul li {
		width: 100%;
		margin: 0;
		box-shadow: none;
	}

	#access .menu ul li {
		border-radius: 0;
		padding-top: 5px;
		box-shadow: none !important;
	}

	#access > .menu > ul > li {
		border-top: 1px solid rgba(0,0,0,.07);
	}

	#access > .menu li ul {
		position: inherit;
		margin-top: 0;
	}

	#access > .menu ul ul {
		width: 95%;
		left: 5%;
	}

	#access > .menu > ul > li > a > span {
		border-width: 0 0 1px 0;
		border-style: solid;
		border-color: rgba(128,128,128,0.3);
	}

	.mantra-menu-center #access > .menu > ul > li > a > span {
		text-align: left;
	}

	#access > .menu ul li > a:not(:only-child) > span:after {
		font-family:"Elusive";
		content: '\e80a';
		position: absolute;
		right: 5px;
		top: 10px;
		z-index: 251;
		-webkit-transition:all .2s ease-in-out;
		transition:all .2s ease-in-out;
	}

	#access > .menu ul li:hover > a:not(:only-child) > span:after {
		top: 20px;
		opacity: 0;
	}

	#access > .menu > ul ul > li a:not(:only-child) > span:after {
		-webkit-transform: rotate(0);
		-ms-transform: rotate(0);
		transform: rotate(0);
	}

	#access > .menu ul li > a:not(:only-child) > span {
		padding-right: 18px;
	}

}

@media (max-width: 640px) {

	#front-text1 h1,
	#front-text2 h1 {
		font-size: 2em;
		line-height: 2em;
	}
	
	#content article.post {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	.entry-meta {
		display: table;
		width: 100%;
		padding: 0;
	}

	.short-columns {
		width: 100%;
	}

	#footer-widget-area .widget-area {
		width: 100%;
		float: none;
	}

	#front-columns > div[id^=column],
	#front-columns > div[id^=column]:last-child {
		float: none;
		width: 100%;
		margin: 0 auto 48px;
		max-width: 400px;
		text-align: center;
	}

	#front-columns .column-image {
		max-height: none;
		margin: 0 auto;
	}

	#front-columns .column-text {
		text-align: center;
	}

	.nivo-caption {
		padding: 10px;
		font-size: 0.9em;
	}

	.nivo-directionNav {
		display: none;
	}

}

@media (max-width: 480px) {

	body {
		font-size: .9em;
	}

	#branding {
		border-top: none;
	}

	#site-title {
	    font-size: 26px;
	    line-height: 30px;
	    padding-left: 5px;
	}

	#site-description {
	    font-size: 13px;
	    line-height: 18px;
	    padding-left: 5px;
		letter-spacing: 1px;
	}

	.post-thumbnail-link,
	.post-thumbnail {
	    display: table;
	    margin: 0.5em auto;
	    overflow: hidden;
	    text-align: center;
	}

	.nivo-caption .nivo-description {
		display: none;
	}


	.nivo-caption h3 {
		margin-bottom: 0;
	}

	#toTop {
		opacity: 0;
	}

}
