/* Mobile */
@media (max-width: 1000px) and (min-width: 100px) {
	#menu-bottom {
		background: none;
	}

	.sidebar-header-subscribe-wrapper {
		width: 100%;
		right: 0px;
	}

	.social-links-wrapper {
		text-align: center;
	}

	#social-links {
		vertical-align: middle;
		display: inline-block;
		float: none;
		right: 0px;
	}
}

@media screen and (max-width: 980px) {
	.wrapper {
		width: 930px;
		padding: 0 10px;
	}

	#w-sidebar #content {
		width: 560px;
	}

	.main .news .item {
		width: 522px;
	}

	.main .news .item .thumb {
		width: 208px;
	}

	.main .news-title,
	.sidebar #nav_menu-2 .widgettitle {
		background-size: 100%;
	}

	#w-sidebar #sidebar {
		width: 350px;
	}

	.sidebar .widget_nav_menu ul li {
		width: 344px;
	}

	.a-calendar .left,
	.a-calendar .right {
		width: 150px;
	}

	#widget-partners .item {
		width: 265px;
	}

	#widget-partners .item img {
		width: 100%;
	}

	#single-template .content,
	#page-template .content {
		width: 910px;
		padding: 0 10px;
	}
}

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

	body,
	html {
		background-position: center 77px, center top;
	}

	.wrapper {
		padding: 0;
	}

	.mobile {
		display: block;
	}

	#menu-top ul.menu {
		width: 100%;
		height: auto;
		max-width: 100%;
		min-width: 100%;
	}

	#menu-top>div {
		display: none;
	}

	#menu-top {
		z-index: 500;
		margin: 0;
		width: 100%;
		max-width: 100%;
		min-width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		background: rgba(0, 0, 0, .4);
		height: auto;
		min-height: 28px;
		display: none;
	}

	#menu-top .h-icon:before {
		content: "";
		display: block;
		border-top: 3px solid #432727;
	}

	#menu-top .h-icon {
		border-bottom: 9px double #432727;
		height: 0;
		display: block;
		width: 20px;
		margin: 6px auto 0;
		padding: 0 0 6px;
		cursor: pointer;
	}

	.wrapper-full {
		max-width: 100%;
	}

	.wrapper {
		width: 100%;
	}

	#menu-top:hover {
		opacity: 1 !important;
	}

	#w-sidebar #content,
	#w-sidebar #sidebar {
		clear: both;
		width: 100%;
		max-width: 100%;
	}

	#w-sidebar #sidebar {
		overflow: hidden;
	}

	#logo .wrapper {
		width: 100%;
		max-width: 100;
	}

	#logo {
		margin-top: 30px;
		height: auto;
		overflow: hidden;
	}

	#logo img {
		clear: both;
		display: block;
		float: none;
		margin: 0 auto;
	}

	#logo .title {
		line-height: inherit;
	}

	#footer {
		padding-left: 0;
		padding-right: 0;
	}

	#footer .wrapper {
		padding: 0;
	}

	#menu-bottom .left ul li:nth-child(1) {
		padding: 0 12px !important;
	}

	#menu-bottom .left ul li:nth-child(2) {
		padding: 0 12px !important;
	}

	#menu-bottom .right ul li {
		padding: 0 34px !important;
	}

	#menu-top ul.menu>li {
		border-top: 0;
		border-bottom: 0;
		border-left: 0;
		background: 0;
		float: none;
		display: inline;
		color: #edede1;
		padding: 0 2px;
		font-size: 14px;
	}

	#menu-top ul.menu>li:hover,
	#menu-top ul.sub-menu li:hover {
		color: #fff;
		transition: 0.2s ease-in;
	}

	#menu-top ul.sub-menu li:hover {
		font-weight: bold;
	}

	#menu-top ul.sub-menu {
		left: auto;
		line-height: normal;
		/*
		display: inline-block;*/
		display: none;
		width: auto;
	}

	#menu-top ul.sub-menu li {
		line-height: normal;
		border-bottom: 0;
		font-size: 12px;
		padding: 0 4px;
		white-space: normal;
		background: 0;
		width: auto;
		border-left: 0;
	}

	#menu-top ul.menu>li:hover {
		background: 0;
	}

	#menu-top .sub-menu {
		/*
		background-color: rgba(0,0,0,.3);*/
	}

	#menu-top ul.menu>li:focus>ul,
	#menu-top ul.menu>li:hover>ul {
		display: none;
	}

	#menu-top .h-icon.opened {
		border: none;
		background-image: url(../images/close.png);
		background-size: 100%;
		background-repeat: no-repeat;
		width: 16px;
		height: 16px;
		padding: 0;
		margin-top: 0;
	}

	#menu-top .h-icon.opened:before {
		border: none;
	}

	.main .news .item {
		margin: 10px auto;
		padding: 10px;
		width: 80%;
	}

	.main .news .item .thumb {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}

	.main .news .item .post-data {
		text-align: center;
	}

	.sidebar .widget_nav_menu ul {}

	.sidebar .widget_nav_menu ul li {
		width: 315px;
	}

	.sidebar .widget_nav_menu ul li,
	.sidebar .widget_nav_menu {
		margin-left: auto;
		margin-right: auto;
		clear: both;
		float: none;
		display: block;
	}

	.a-calendar .left,
	.a-calendar .right,
	.a-calendar .left,
	.a-calendar .left {
		clear: both;
		float: none;
		padding: 10px 0;
		margin: 0 auto;
		overflow: hidden;
	}

	#footer .left,
	#footer .right {
		clear: both;
		width: 100%;
		text-align: center;
	}

	.main .news .item .post-data {
		width: 100%;
	}

	.sidebar #nav_menu-2 .widgettitle {
		font-size: 22px;
		line-height: 140px;
	}

	#single-template .content,
	#page-template .content {
		padding: 0 10px;
		margin: 0 auto;
		font-size: 18px;
		float: left;
		display: inline-block;
		clear: both;
	}

	#single-template,
	#page-template {
		overflow: hidden;
	}
}

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

	.starblind_link {
		position: static;
		display: block;
		text-align: center;
	}

	#main-calendar .calendar-nav {
		display: block;
		text-align: center;
	}

	#main-calendar .calendar-nav form {
		margin: 10px 0;
	}

	#main-calendar .calendar-nav button.center {
		margin-top: 10px;
	}

	#main-calendar table tr.headings,
	#main-calendar table td.empty {
		display: none;
	}

	#main-calendar table {
		overflow: hidden;
		display: block;
		width: 100%;
		margin-bottom: 40px;
	}

	#main-calendar table .event .event__popup {
		position: static;
		margin: 15px 0;
	}

	#main-calendar table tr {
		display: block;
		background: transparent;
		width: 100%;
	}

	#main-calendar table tr:nth-child(odd) {
		background: transparent;
	}

	#main-calendar table tbody {
		width: 100%;
		display: block;
	}

	#main-calendar table td {
		padding-left: 20px;
		padding-right: 20px;
		box-sizing: border-box;
		display: block;
		width: 100%;
		height: auto;
		border: 0;
		border-bottom: 1px solid rgba(67, 39, 39, .5);
	}

	#main-calendar table td:nth-child(even) {}
}