 /*======================================================================*\
|| #################################################################### ||
|| # Package - Joomla Template based on YJSimpleGrid Framework          ||
|| # Copyright (C) 2010  Youjoomla.com. All Rights Reserved.            ||
|| # license - PHP files are licensed under  GNU/GPL V2                 ||
|| # license - CSS  - JS - IMAGE files  are Copyrighted material        ||
|| # bound by Proprietary License of Youjoomla.com                      ||
|| # for more information visit http://www.youjoomla.com/license.html   ||
|| # Redistribution and  modification of this software                  ||
|| # is bounded by its licenses                                         ||
|| # websites - http://www.youjoomla.com | http://www.yjsimplegrid.com  ||
|| #################################################################### ||
\*======================================================================*/
@media only screen and (min-width: 240px) and (max-width: 1745px) {
#right-block, .nmediaslider .yjmediaslider .slide .slide-details, .nmediaslider .yjmediaslider div.main-nav, .nmediaslider .yjmediaslider .slide .slide-details .slide-title, .nmediaslider .yjmediaslider .slide .slide-details .slide-info, .nmediaslider .yjmediaslider .slide .slide-details .description, .nmediaslider .yjmediaslider .slide .slide-details .description p, .nmediaslider .yjmediaslider .slide .slide-details .slide-info, .ntwitter .yj_twitter_cont .yj_twitter_updated, .nsubscribe, .nsubscribe h4, .nvideonews, .nadvert, .nadvert img, .ngallery .yjsg-col-1-8, .ntwitter .yj_twitter_cont .yj_twitter_title, div.subCategoryContainer {
	-webkit-transition: all 0.6s ease-in-out;
	-moz-transition: all 0.6s ease-in-out;
	-o-transition: all 0.6s ease-in-out;
	transition: all 0.6s ease-in-out;
}
}
/*right block*/
@media only screen and (min-width: 1400px) and (max-width: 1745px) {
#right-block {
	width: 77%;
}
}
@media only screen and (min-width: 1270px) and (max-width: 1450px) {
#right-block {
	width: 74%;
}
}
@media only screen and (min-width: 1150px) and (max-width: 1270px) {
#right-block {
	width: 71%;
}
}
@media only screen and (min-width: 1035px) and (max-width: 1150px) {
#right-block {
	width: 68%;
}
}
@media only screen and (min-width: 980px) and (max-width: 1035px) {
#right-block {
	width: 65%;
}
}
@media only screen and (min-width: 240px) and (max-width: 980px) {
#right-block {
	margin: 0 auto;
	padding: 30px 15px 0 15px;
	width: 100%;
	max-width: 100%;
	float: none;
}
}
/*left block*/
@media only screen and (min-width: 240px) and (max-width: 980px) {
#left-block {
	width: 100%;
	position: relative;
}
.left-block-in {
	width: 100%;
}
#header {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
}
#logoholder + #yjsgheadergrid {
	margin: 0 auto!important;
	padding: 30px 25px 30px 25px;
}
#logo {
	background-position: left center!important;
}
.nmenuleft, .nsocials {
	margin: 0 auto 30px auto;
}
.yjsgsfx-nmenuleft.yjsgxhtml {
	padding: 0!important;
}
}
/* Slider */
@media only screen and (min-width: 1445px) and (max-width: 1580px) {
.nmediaslider .yjmediaslider .slide .slide-details {
	width: 30%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 1445px) {
.nmediaslider .yjmediaslider .slide .slide-details {
	width: 40%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 1320px) {
.nmediaslider .yjmediaslider .slide .slide-details {
	width: 50%!important;
	left: 50px!important;
	top: 50px!important;
	margin: 0 auto!important;
}
.nmediaslider .yjmediaslider div.main-nav {
	left: 50px!important;
	bottom: 50px!important;
	top: auto;
	right: auto;
}
.nmediaslider .yjmediaslider .slide .slide-details .slide-title {
	font-size: 150%;
	margin: 0 auto 10px auto;
	line-height: 30px;
}
.nmediaslider .yjmediaslider .slide .slide-details .slide-info {
	padding: 5px 0;
}
.nmediaslider .yjmediaslider .slide .slide-details .description p {
	font-size: 90%;
}
}
@media only screen and (min-width: 240px) and (max-width: 1110px) {
.nmediaslider .yjmediaslider .slide .slide-details .description p {
	opacity: 0;
}
}
@media only screen and (min-width: 240px) and (max-width: 980px) {
.yjsgsfx-nmediaslider.yjsgxhtml {
	padding: 0;
}
.nmediaslider .yjmediaslider .slide .slide-details .description p {
	opacity: 1;
}
}
@media only screen and (min-width: 240px) and (max-width: 780px) {
.nmediaslider .yjmediaslider .slide .slide-details .description p {
	opacity: 0;
}
}
@media only screen and (min-width: 240px) and (max-width: 620px) {
.nmediaslider .yjmediaslider .slide .slide-details .description {
	display: block;
	opacity: 0;
}
.nmediaslider .yjmediaslider div.main-nav {
	top: calc(50% - 15px);
	bottom: 0!important;
	margin: auto;
	left: 30px!important;
	right: 30px;
}
}
/* Midblock, rightblock */
@media only screen and (min-width: 240px) and (max-width: 1460px) {
.nticker #yj_nt2 {
	width: 60%!important;
}
}
@media only screen and (min-width: 980px) and (max-width: 1410px) {
.ntwitter .yj_twitter_cont .yj_twitter_title {
	clear: none;
}
.ntwitter .yj_twitter_cont .yj_twitter_updated {
	margin: 0 auto;
}
}
@media only screen and (min-width: 980px) and (max-width: 1250px) {
#midblock, #rightblock, #leftblock, #insetblock, #insetsholder_2t, #insetsholder_2b {
	width: 100%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 1250px) {
.nsubscribe {
	margin-bottom: 70px!important;
}
.nsubscribe h4 {
	font-size: 100%;
}
.yjsgsfx-nengine.yjsgxhtml {
	width: 50%!important;
}
.yjsgsfx-nvideonews.yjsgxhtml {
	width: 100%!important;
}
.nvideonews {
	width: 100%;
}
.nadvert {
	width: 100%;
	margin: 0 auto 70px auto;
}
.nadvert img {
	width: 100%;
}
.yjsgsfx-nengine.editors.yjsgxhtml {
	width: 100%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 980px) {
.ngallery .yjsg-col-1-8 {
	width: 25%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 720px) {
.yjsgsfx-nengine.yjsgxhtml {
	width: 100%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 420px) {
.ngallery .yjsg-col-1-8 {
	width: 50%!important;
}
}
/* K2 */
@media only screen and (min-width: 240px) and (max-width: 1200px) {
div.subCategoryContainer {
	width: 50%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 640px) {
div.userBlock img {
	margin: 0 30px 20px 0!important;
	float: none;
}
div.itemAuthorBlock img.itemAuthorAvatar {
	max-width: none!important;
	float: none;
	margin: 0 0 20px 0!important;
	width: 60px!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 600px) {
.yjk2-main2 {
	width: 100%!important;
}
}
@media only screen and (min-width: 240px) and (max-width: 560px) {
div.subCategoryContainer, div.subCategory a.subCategoryImage img {
	width: 100%!important;
}
div.itemRelated ul li {
	width: 50%!important;
	margin: 0 auto 15px auto;
}
}
