/*==========  Desktop First Method  ==========*/

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1200px) {
	#wrap {width: 930px;}
	.head_links {width: 930px;}
	#sidebar {width: 30%;}
	#content {width: 70%;}
	.ecspres li, .ecspres {width: 100%;}
	#social>div {width: 295px;}
	table.aligncenter td {
		display: inline-block;
		text-align: center;
		vertical-align: top;
	}

	table.aligncenter td a {
		display: block;
		text-align: center;
	}

	table.aligncenter td a img.aligncenter {display: inline;}

	table.aligncenter tr, table.aligncenter tbody {
		display: block;
	}
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 992px) {
	#wrap {
		width: 750px;
	}

	.aforizm {
		display: none;
	}

	#head {
		background: none;
	}

	.head_links {
		width: 750px;
	}

	#social>div {
		width: 330px;
		min-height: 280px;
	}
}

/* Small Devices, Tablets */
@media only screen and (max-width : 768px) {
	#wrap {width: 100%;}
	.head_links {width: 100%;}
	.mnu_btn {display: none;}
	.head_links > ul {display: none;}
	#head, #h-nav {height: auto;}
	.menu-menyu-v-shapke-sayta-container {display: none;}
	.side_btn {display: block;}
	#h-nav ul li {
		height: auto;
		display: block;
		text-align: center;
		width: 100%;
	}

	#h-nav ul {
		height: auto;
		display: none;
	}

	#h-nav ul li {
		background-color: #7f9909;
		padding: 10px 0 0;
	}

	#h-nav ul li a {
		display: block;
		padding: 0;
	}

	.btn_alone ul li ul {
		width: 100%;
		top: 45px;
	}

	.head_links > ul > li:first-child a {
		padding: 10px 0;
	}

	#h-nav ul ul {top: 0;display: block !important;width: 100% !important;position: relative;left: 0; right:0!important;}

	#h-nav ul ul li {
		background-color: #5b6e03;
		padding: 10px 0;
	}

	#h-nav ul ul ul li {
		background-color: #ad3;
	}
	#content {
		width: 100%;
	}


	.head_links ul li {
		width: 100%;
	}

	li.sub_list a {
	}

	a.sub_lnk {
	}

	.head_links li.sub_list ul {
		display: block;
		position: relative;
		top: 0;
		box-shadow: none;
	}

	.head_links a.sub_lnk {
		border-radius: 0;
	}

	.head_links ul li ul {
		border-radius: 0;
	}

	.head_links ul li ul li {
		padding: 10px 0;
		text-align: center;
	}

	.head_links > ul > li {
		background-color: #8BA71C;
		color: #000;
	}

	.head_links > ul > li a {
		color: #000 !important;
	}

	#nav_menu-2 .widgettitle {
		width: 100%;
		background: #cbf11f;
		background: -moz-linear-gradient(top, #cbf11f 0%, #b1d706 100%);
		background: -webkit-linear-gradient(top, #cbf11f 0%,#b1d706 100%);
		background: linear-gradient(to bottom, #cbf11f 0%,#b1d706 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cbf11f', endColorstr='#b1d706',GradientType=0 );
		border: 0;
		padding: 12px 0;
		border-radius: 7px;
		font-size: 13px;
		color: #000;
		font-weight: normal;
		line-height: inherit;
	}
	.menu-menyu-v-saydbar-container {
		display: none;
		width: 100%;
		position: absolute;
		top: 42px;
		z-index: 999;
		padding: 3px 10px;
		text-align: left;
		background-color: #7f9909;
		border: 1px solid #708900;
		-webkit-border-radius: 6px;
		-moz-border-radius: 6px;
		border-radius: 6px;
		-webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.31);
		-moz-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.31);
		box-shadow: 0 2px 7px rgba(0, 0, 0, 0.31);
	}
	.menu-menyu-v-saydbar-container a {color: #000 !important;}
	.menu-menyu-v-saydbar-container ul li {
		display: block;
		padding: 5px 0;
		border-bottom: 1px solid #708900;
	}
	#nav_menu-2 {
		margin-top: 0;
		padding: 0 0 0 5px;
	}

	#widget_stat_blok-2 {
		display: none;
	}

	.btn_alone ul {
		margin: 0 0 10px;
	}

	.side_menu > li {
		position: relative;
		width: 50%;
		float: left;
		border: 0;
	}

	#sidebar {
		width: 100%;
	}

	.btn_alone ul li {
		display: block;
	}

	.logo {
		background-size: contain;
		width: 220px;
		margin: 0 20px;
	}

	#l-head {
		width: auto;
	}

	#wrap {
		background: none;
		box-shadow: none;
	}

	.cont {
		background: none;
		text-align: center;
		top: auto;
		padding-left: 0;
	}

	#zwon {
		display: none;
	}

	a.slab_lnk {
		position: relative;
		float: right;
		max-width: 155px;
		top: auto;
		bottom: auto;
		margin: 15px 0;
	}

	.head_links li.sub_list:hover ul, .btn_alone li.sub_list:hover ul {
		display: none;
	}

	.head_links li.sub_list ul {display: block;}
	#vspl {
		display: none;
	}

	.copirate {
		float: none;
		width: 100%;
		max-width: 100%;
		margin-top: 15px;
	}

	.gplus {
		width: 100%;
		float: none;
		text-align: center;
		margin: 15px 0 0px;
	}

	.counter {
		float: none;
		width: 100%;
		text-align: center;
		margin-top: 0;
		padding-top: 0;
	}

	.min_banner {
		float: none;
		margin: 10px 0;
	}
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 670px) {

	.cont {
		float: none;
		width: 180px;
		margin: 0 auto;
	}

	#l-head {
		width: 100%;
		float: none;
	}

	.logo {margin: 0 auto;}

	a.slab_lnk {
		display: block;
		width: 220px;
		max-width: 100%;
		margin: 25px auto;
		float: none;
		right: auto;
	}

	#social>div:nth-child(2), #social>div {
		width: 100%;
	}

	table.aligncenter td {
		display: block;
		text-align: center;
		width: 100%;
	}

}

/* Custom, iPhone Retina */
@media only screen and (max-width : 530px) {
	.enty img {
		display: block;
		float: none !important;
		max-width: 100%;
		height: auto;
	}

	.side_menu > li {width: 100%;}

	#nav_menu-2 {
		padding: 0;
		margin-top: 10px;
	}

	.side_btn {
		width: 100%;
		padding-right: 0;
	}
}


/*==========  Mobile First Method  ==========*/

/* Custom, iPhone Retina */
@media only screen and (min-width : 320px) {

}

/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {

}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {

}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {

}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {

}