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

}
@media screen and (max-width: 970px) {
    img{
        max-width: 100%;
        height: auto;
    }
    #header .wrapper, #homecontainer .wrapper, #homefeatured .wrapper, #rotate-ban > div#featuredNav{
        width: 100%;
    } 
    #homefeatured, #footer .wrapper, .mainSlider .wrapper{
        margin: 0 2%;
        width: 96%; 
    } 
    #maincontainer.mainSlider #maincontent.twocolumns, #maincontainer .subnav{
        width: auto;
    }
    h1, .onecolumn-nobanner-left #c82 h1, .onecolumn-nobanner-left #c83 h1{
        font-size: 35px;
    }
    h1, .onecolumn-nobanner-left #c82 h1, .onecolumn-nobanner-left #c83 h1,
    #maincontainer #maincontent .content .topblock, .onecolumn .topblock,
    #homecontainer .sliderhome #c3, #homecontainer .sliderhome p.banner-medium-text {
        margin-bottom: 20px;
    }
    h2{
        font-size: 25px;
    }
    .mainSlider #maincontent {
        padding: 3% !important;
    }
    #header .brand {
        padding: 26px 0 42px 15px;
    }     

    #header .header-right {
        padding-right: 15px;
    }
    .social-links{
        right: 15px;
    }
    #header .mainnav li a{
        font-size: 20px;
    }
    #header #navigation{
        margin: 60px 0 0;
    }
    #rotate-ban ul#featured{
        height: 353px !important;
    }
    #featured li, #maincontainer.mainSlider{
        background-size: auto 410px;
    }
    #featured li,#homecontainer{
        height: 353px;
    }
    #featuredNav #slide_nav{
        left: 15px;
    }
    #homecontainer .sliderhome{
        top: 60px;
    }
    #homecontainer .sliderhome{
        margin: 0 0 0 15px;
    } 
    #homecontainer .sliderhome p.banner-medium-text {
        font-size:25px;
    }
    .banner-big-text {
        font-size: 35px;
        line-height: 40px;
    }
    #homecontainer .sliderhome p.border-link-text a{
        width: 160px;
    }    
    #homecontainer .sliderhome p.background-link-text a{
        width: 164px;
    } 
    #homecontainer .sliderhome p.border-link-text a {
        height: 30px;
        line-height: 30px;
    }
    #homecontainer .sliderhome p.background-link-text a {
        line-height: 34px;
        height: 34px;
    }    
    .TitleHeader h1 {
        font-size: 40px;
        line-height: 49px;
        margin: 30px 0;
    }       
    #homeleft {
        float: left;
        margin-right: 5%;
        width: 50%;
    }
    #homeright{
        width: 45%;
        float: right;
    }
    .home-general-center .tx-commonlinks-pi1 li.box{
        width : 23.5%;
        height : 185px;       
    }
    .home-general-center .tx-commonlinks-pi1 .box a{
        width: 100%;
        height : 125px;
        padding: 35px 0 25px;
    }
    .home-general-center .tx-commonlinks-pi1 .box1, .home-general-center .tx-commonlinks-pi1 .box2, .home-general-center .tx-commonlinks-pi1 .box3 {
        margin-right: 2%;
    }
    #maincontainer.mainSlider #maincontent .leftcontent{
        padding: 0 3% 0 0;
        width: 25%;
    }
    #maincontainer.mainSlider #maincontent .content{
        width: 72%;
    }
    #maincontainer .subnav li a{
        font-size: 20px;
    }    
    #maincontainer .subnav li ul li a, #maincontainer .subnav li.sel ul li a {
        background: url("../img/icons.png") no-repeat scroll -1px -612px rgba(0, 0, 0, 0);
        font-size: 13px;
        padding: 0 0 2px 12px;
    }
    #maincontainer .subnav{
        padding: 6px 10px 20px 0;
    }
    .cont-prev-next {
        margin-top: -52px;
    }
    #powermaildiv_uid1, #powermaildiv_uid2, #powermaildiv_uid3, #powermaildiv_uid4, #powermaildiv_uid5, #powermaildiv_uid6{
        width: 330px;
    }
    #contact input {width: 318px;}
    #powermaildiv_uid7{width: 434px;}
    #contact textarea{width: 422px;}
    .captcha-border{float: none;}
    .tx-rtgfiles-pi1 .list-pdf-item, .list-pdf-item.last, #gallery div, #gallery .item.list2{
        margin-right: 20px !important;
        min-height: 170px;
    }
    #maincontainer #maincontent .note.type1{
        padding: 0;
    }
    #maincontainer #maincontent .note blockquote em{
        padding: 0 20px;
    }    
    #maincontainer #maincontent .content .textblock .left {
        margin-right: 5%;
        width: 50%;
    }
    #maincontainer #maincontent .content .textblock .right{
        width: 45%;
    }
     #maincontainer, #maincontainer.mainSlider{
        margin-bottom: 25px;
    }
    a.closeSlide, a.closeSlide:visited {
        top: 370px;
    }
     #homecontainer .sliderhome p.border-link-text {
        margin-bottom: 7px;
    }
    .banner-big-text p{
        font-size: 32px;
        line-height: 38px;
    }
    #homecontainer .sliderhome {
        top: 50px;
    } 
    .location-list {
        min-height: 225px;
    }
}
@media screen and (max-width: 768px) {      
    #header .brand {
        padding: 15px 0 15px 15px;
    }   
    .active {
        display: block;
    }
    .social-links{
        margin-top: 0;
    }
    #header .brand img {
        width: 120px;
    }
    a.toggleMenu {
        background: url("../img/icons.png") no-repeat scroll 0 -702px transparent;
        height: 14px;
        position: absolute;
        right: 15px;
        text-indent: -9999px;
        top: 55px;
        width: 28px;
    }   
    .home .push {
        height: 315px;
    }
    .home-general-center{
        bottom: 150px;
    }
    #footer{
        height: auto;
    }
    #header #navigation{
        margin: 0;
    }    
    #navigation .mainnav{
        display: none;
        background: none repeat scroll 0 0 #7C788D;
        float: left;
        left: 0;
        margin: 0;
        overflow: auto;
        padding: 10px 0 5px;
        position: absolute;
        top: 88px;
        width: 100%;
        z-index: 9999; 
    }
    #navigation .mainnav li {
        position: relative;
        margin: 0px;
        padding: 0 0 5px 0px;
        list-style: none;
        width: 100%;
    }
    #navigation .mainnav li a {
        color: #fff;
        font-size: 18px;
        padding: 5px 3% 5px 3%;
        line-height: 16px;
        font-weight: normal;
        text-decoration: none;
        text-transform: uppercase;
        display: block;
        width: 94%;
    }
    .leftcontent{
        display: none;
    }
    #navigation .top > a span, #navigation .subtop > a span{
        background: url("../img/navi-arrow.png") no-repeat scroll right center transparent;
        padding-right: 25px;
    }    
    #navigation .mainnav li.last {
        padding-bottom: 0;
    }    
    #navigation .mainnav li.sel {
        border-bottom: none;
    }    
    #navigation .mainnav li.sel a, #navigation .mainnav li a:hover {
        background: none;
    }
    .mainnav .sub, .mainnav .sublevel{
        padding-left: 5%;
        padding-top: 5px;
        float: left;
        width: 95%;
    }    
    .home-general-center .tx-commonlinks-pi1 li.box {
        height: 140px;
    }    
    .home-general-center .tx-commonlinks-pi1 .box a {
        height: 115px;
        padding: 20px 0 0;
        width: 100%;
        font-size: 24px;
    }
    .home-general-center .tx-commonlinks-pi1 .box span{
        margin-bottom: 5px;
    }
    .home-general-center .tx-commonlinks-pi1 .box2 span {
        margin-bottom: 11px;
    }
    #maincontainer.mainSlider #maincontent .content, #maincontainer #maincontent .content .textblock .left, 
    #maincontainer #maincontent .content .textblock .right, #homeleft, #homeright{
        width: 100%;
        margin-right: 0;
    }
    #footer .right{
        float: left !important;
    }    
    #homeleft p, #homeright p {
        font-family: 'open_sansregular';
/*        text-align: center;*/
    }
    .homecontent {
        margin-bottom: 15px;
    }
    #footer .footernav{
        width: 100%;
    }
    #footer .right ul {
        left: -6px;
        position: relative;
    }
    .tx-commonlinks-pi1 .box a{
        font-size : 25px;
    }
      
    .contact-form-left, .contact-form-right {
        float: left;
        margin-right: 0;
        width: 100%;
    }
    
    .location-list {
        width: 48%;
        min-height: 210px;
    }
    .fancybox-skin .fancybox-nav{
        top: 45%;
    }
    th {
        padding: 10px;
    }
    td{
        padding: 10px 10px 0;
    }    
    #maincontainer #maincontent .note p {
        margin-bottom: 35px;
        text-align: left;
        width: 100%;
    }
    .push{
        height: 200px;
    }
    #c94 { margin: -8px 6px 0 0 }    
    .tx-prevnext-pi1{
        display:none;
    }
}
@media screen and (max-width: 480px) {    
    .inner-general-center .tx-commonlinks-pi1 li.box{
        width: 45%;
        margin-bottom: 20px;
    }
    .home .push {
        height: 455px;
    }
    #navigation.mainnav li a {
        font-size: 16px;
    }    
      
    #footer .footernav p, #footer .right ul li a{
        font-size: 11px;
    }
    .home-general-center .tx-commonlinks-pi1 li.box {
        height: 150px;
        width: 49%;
        margin-bottom: 7px;
    }
    .home-general-center .tx-commonlinks-pi1 .box a{
        padding: 25px 0 0;
    }
    .home-general-center .tx-commonlinks-pi1 li.box2{
        margin-right: 0;
    }
    .push {
        height: 325px;
    }  
    .location-list {
        margin: 0 0 10px 0;
        width: 100%;
        min-height: 0;
    }    
    #powermaildiv_uid7 {
        height: 90px;
        width: 270px;
    }    
    #contact textarea {
        height: 77px;
        width: 258px;
    }    
    #powermaildiv_uid1, #powermaildiv_uid2, #powermaildiv_uid3, #powermaildiv_uid4, #powermaildiv_uid5, #powermaildiv_uid6{
        width: 270px;
    }
    #contact input {width: 258px;}
    .captcha-border{
        width: 270px;
    }
    #contact .captcha-border input {
        width: 258px;
    }
    .news-list-item .news-img{
        float: none;
    }
    /*.slide3 .banner-big-text, .slide3 .banner-medium-text {
        color: #4D565F;
    }
    */
    #c94 { margin: 0px 6px 0 0 }
}

@media screen and (max-width: 560px){
    #homecontainer .sliderhome{
        width: 90%;
        margin: 0 0 0 4%;
    }
    
    .banner-big-text p{
        font-size: 30px;
        line-height: 34px;
    }    
    #footer{
        height: auto;
    }
    .list-img img{
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 420px) {  
    #header .header-right{
        float: left;
        width: 100%;
        background: #7c788d;
    }        

    #footer .right {
        width: 100%;
    }
    
    .home-general-center {
        bottom: 185px;
    }
    .social-links .csc-frame-frame1 p span{
        background: url("../img/icon-phone.png") no-repeat scroll 0 0 transparent;
    }
    .social.social-linkedin{
        background: url("../img/linkedin-phone.png") no-repeat scroll 0 0 transparent;
        width: 22px;
    }    
    .social-links .csc-frame-frame1 {
        float: left;
    }
    .social-links .csc-frame-frame2 {
        border-left: 1px dotted #FFFFFF;
        margin-left: 5%;
        padding-left: 5%;
        width: 25%;
        float: left;
    }    
    #header .header-right, .social-links {       
        margin-bottom: 2px;
        padding: 5px 0 5px 2%;
        right:0;
        float: left;
        width: 98%
    }
    .social-links .csc-frame-frame1 p, .social-links .csc-frame-frame1 p a{
        color:#fff;
    }
    #navigation .mainnav{
        top:156px;
    }
    .banner-big-text p{
        font-size: 24px;
        line-height: 28px;
    }
    
    #c108{
        float: left;
        width:100%;
        margin-top: 10px;
    }
    
    #c108 .right-box {
        float: left;     
        margin-bottom: 15px;
        position: relative;
        left: 0px;
    }
}


