/**
 * Styles for adaptive template width
 */
.content-wrapper{
	width:1260px;
	margin:0 auto;
	position:relative;
}
.grid-1,.grid-2,.grid-3,.grid-4,.grid-4-1{
	float:left;
	margin:0 10px;
	padding:0 15px;
	position: relative;
}
.grid-1{
	width:1210px;
}
.grid-2{
	width:580px;
}
.grid-3{
	width:370px;
}
.grid-4{
	width:265px;
}
.grid-4-1{
	width:895px;
}
.clearfix:after, .clearfix::after, .content-wrapper:after, .content-wrapper::after{
  content: "";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow:hidden;
}
@media only screen and (min-width: 960px) and (max-width: 1259px) {
    .content-wrapper, #header-top-line .content-wrapper,.djslider-default #navigation96.navigation-container {width: 960px;}
    .grid-1{
		width:910px;
	}
	.grid-2{
		width:430px;
	}
	.grid-3{
		width:270px;
	}
	.grid-4, #header-top-line .grid-4{
		width:190px;
	}
	.grid-4-1{
		width:670px;
	}
    .blackout>div{
        width: 900px;
        margin: 0 auto;
    }
    #logo{
        float:left;
        margin-right: 5px;
        width: 110px;
    }
    .blackout .promo {
        font-size: 25px;
        margin-top: 50px;
    }
    #header-top-line .grid-4 .custom {
        background: url(../images/orange.png) no-repeat 50% 0;
        width: 170px;
        height: 130px;
        border-radius: 20px;
    }
    #header-top-line .grid-4 .custom img {
        margin: 23px auto;
    }
    .djslider-default .navigation-container .prev-button, .djslider-default .navigation-container .next-button {
        top: 45%;
    }
    .logo-line .item-2{
        width: 330px;
    }
    .logo-line .item-1{
        width: 530px;
    }
    .nav {
        padding: 0px;
    }
    #nav li a,  #nav li span{
        padding: 15px 11px;
        font-size: 14px;
    }
    .secondary {
        width: 100%;
    }
    .secondary a.entry-instructor {
        margin-top: 0px;
        float: right;
    }
    .main-news .moduleItemImage img, .main-news .catItemImageBlock img {
        max-height: 152px;
    }
    .cat-news .width33 {
        width: 50%;
    }
    #footer-top-line .item-2 li {
        width: 35%;
    }
    .width20{
        width: 33%;
    }
        
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.content-wrapper, .djslider-default #navigation96.navigation-container, #about-us .content-wrapper {width: 768px;box-sizing: border-box;}
        .grid-1, .logo-line .grid-2{
		width:718px;
	}
	.grid-2{
		width:334px;
	}
	.grid-3{
		width:206px;
	}
	.grid-4{
		width:142px;
	}
	.grid-4-1{
		width:526px;
	}
    .blackout {
        top: 5px;
    }
    .blackout>div{
        width: 710px;
        margin: 0 auto;
    }
    #logo{
        float:left;
        margin-right: 5px;
        width: 100px;
    }
    .blackout .slogan{
        text-align: left;
    }
    .blackout .slogan a {
        font-size: 19px;
    }
    .blackout .slogan a span {
        font-size: 30px;
    }
    #header-top-line .content-wrapper {
        width: 710px;
    }
    #header-top-line .grid-4 {
        width: 106px;
    }
    #header-top-line .grid-4 .custom {
        background: url(../images/orange.png) no-repeat 50% 0;
        padding: 20px 10px 10px;
        width: 107px;
        height: 50px;
        border-radius: 20px;
    }
    #header-top-line .grid-4 .custom img {
        display: none;
    }
    #djslider-loader96 .djslider-default .navigation-container-custom, #djslider-loader96 .djslider-default .navigation-numbers {
        top: 93%;
    }    
    #nav .nav li {
        display: block;
    }
    #nav .nav{
        display: none;
    }
    #nav .nav.dblock{
        display: block;
    }
    .mini-menu{
        display: block;
        padding: 10px 42px;
    }
    .main-news .width33 {
        width: 50%;
    }
    .main-news .moduleItemImage img {
        max-height: 180px;
    }
    .main-news .moduleItemIntrotext p{
        min-height: 58px;
    }
    #useful-links .grid-4 {
        width: 333px;
    }
    .cat-news .width33 {
        width: 50%;
    }
    #footer-top-line .item-2 ul {
        width: 340px;
    }
    #footer-top-line .item-2 li {
        width: 35%;
    }
    #footer-top-line .item-3 .visually-impaired {
        text-align: center;
    }
    a.visually-impaired {
        padding: 7px 20px;
        margin-bottom: 10px;
    }
    a.entry-instructor {
        padding: 7px 20px;
    }
    .width20{
        width: 49%;
    }
}
@media only screen and (min-width: 481px) and (max-width: 767px) {
	body {-webkit-tap-highlight-color: transparent;}
    .content-wrapper, #about-us .content-wrapper{width: 480px;box-sizing: border-box;}
    .grid-1,.grid-2,.grid-3,.grid-4,.grid-4-1 {display: block;float: none;position: relative;width: 100%;padding:0; margin:0 auto;}
    .djslider-default #navigation96.navigation-container {
        width: 480px;
    }
    #header-top-line, .blackout .promo{
        display: none;
    }
    #djslider-loader96 .djslider-default .navigation-container-custom, #djslider-loader96 .djslider-default .navigation-numbers {
        top: 88%;
    }
    .djslider-default .navigation-container-custom, .djslider-default .navigation-numbers {
        top: 85%;
    }
    .blackout {
        width: 100%;
        top: 45px;
    }
    .blackout>div{
        width:420px;
    }
    #logo{
        float:left;
        margin-right: 5px;
        width: 130px;
    }
    .blackout .slogan{
        float: left;
        width: 280px;
    }
    #nav .nav li {
        display: block;
    }
    #nav li a, #nav li span {
        padding: 15px 0px;
    }
    #nav .nav{
        display: none;
    }
    #nav .nav.dblock{
        display: block;
    }
    .mini-menu{
        display: block;
        padding: 10px 42px;
    }
    .logo-line .item-1 .custom{
        overflow: hidden;
    }
    .main-news .width33,.cat-news .width33 {
        width: 100%;
    }
    #about-us {
        background: url(../images/about-us.jpg) repeat 50% 0;
        padding: 0px 0px 20px;
    }
    #footer-top-line .item-2 ul {
        width: 480px;
    }
    #footer-top-line .item-3 a.phone {
        width: 100%;
    }
    #footer-top-line {
        padding: 20px 0;
    }
    #footer-top-line .item-1{
        margin-bottom: 20px;
    }
    .width20{
        width: 100%;
    }
}
@media only screen and (max-width: 480px) {
	body {-webkit-tap-highlight-color: transparent;}
    .content-wrapper {width: 95%;box-sizing: border-box}
    .grid-1,.grid-2,.grid-3,.grid-4,.grid-4-1 {display: block;float: none;position: relative;width: 100%;padding:0; margin:0 auto;}
    .djslider-default #navigation96.navigation-container {
        width: 100%;
    }
    #djslider-loader96 .djslider-default .navigation-container-custom, #djslider-loader96 .djslider-default .navigation-numbers {
        top: 86%;
    }
    #header-top-line, .blackout .promo, #social-top,#logo{
        display: none;
    }
    .blackout {
        width: 100%;
    }
    .blackout>div{
        width:90%;
    }
    #logo{
        float:left;
        margin-right: 5px;
        width: 130px;
    }
    .blackout .slogan{
        float: left;
        width: 100%;
    }
    #nav .nav li {
        display: block;
    }
    #nav .nav{
        display: none;
    }
    #nav .nav.dblock{
        display: block;
    }
    .mini-menu{
        display: block;
        padding: 10px 42px;
    }
    .nav {
        padding: 0 10px;
        margin: 0;
    }
    .secondary, .instructors .catleft, .instructors .catright, #footer-top-line .item-2 ul, #about-us .content-wrapper {
        width: 100%;
    }
    .secondary a.entry-instructor {
        float: right;
    }
    #nav .nav li {
        display: block;
    }
    .logo-line .item-1 .custom{
        overflow: hidden;
    }
    #header-bottom-line{
        display: none;
    }
    a.visually-impaired {
        margin-right: 0;
        float: right;
        margin-bottom: 10px;
    }
    a.entry-instructor{
        float: right;
    }
    .main-news .width33 {
        width: 100%;
    }
    #about-us {
        background: url(../images/about-us.jpg) repeat 50% 0;
        padding: 0px 0px 20px;
    }
    #footer-top-line .item-2 li {
        width: 50%;
    }
    #footer-top-line .item-1{
        margin-bottom: 20px;
    }
    .blackout .slogan a {
        font-size: 14px;
    }
    .width20{
        width: 100%;
    }
}
