
@media screen and (max-width: 1050px) {
 .page-node-21 .homebanner h1 {
    font-size: 2.7em !important;
    line-height: 2em;
  }
  
  .region-home-banner-text h1 {
    font-size: 42px !important;
  }
  
  
}


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

  body{
    background: #fff;
    margin: 0;
  }

  .menu-wrap{
    position: static;
  }

  .region-home-banner-text h1{
    font-size: 25px !important;
  }

  .halfwidth{
    width: 100%;
    text-align: center;
  }

  .homebanner{
    height: auto;
  }

  .homebanner .region{
    text-align: center;
  }

  .parallax-block,
  #home-bottom-block,
  #home-top-block{
    padding: 0 15px;
  }

  .parallax-block .region {
    padding: 10px 0;
  }

  #container,
  .menu-wrap{
    padding: 15px;
  }
  
  body aside,
  body #content,
  #top-area .column,
  #footer-area .column,
  .content-sidebar-wrap{
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    clear: both;
  }

  #footer,
  #page-wrap{
    padding: 0 15px;
  }

  .social-icons, 
  .footer_credit .copyright{
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  .nivo-caption {
  	display: none !important;
  }

  .theme-default .nivo-controlNav {
  	bottom: 10px;
  }

  .node-webform img {
    display: none;
  }

}




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

  body{
    margin-top: 46px;
  }

  .logo-wrap{
    text-align: center;
  }

  .region-banner-text h2 {
    font-size: 22px !important;
  }

  .region-banner-text p {
    font-size: 15px;
  }


.page-node-21 .homebanner h1 {
  font-size: 1.8em !important;
  line-height: 2em;
}

.page-node-21 table td {
  display: inline-block;
  width: 100%;
  min-width: 250px;
}


  .logo-wrap {
    margin-top: 10px !important;
  }


  .menu-wrap{  
    background: #333;
    overflow: hidden;
  }

  #main-menu ul {
    display: none;
  }

  #main-menu li ul {
    position: static;
    border: 0;
  }

  #main-menu li ul ul {
    margin: 0 !important;
    border: 0;
  }

  #main-menu ul,
  #main-menu li {
    float: none;
    width: 100%;
  }

  #main-menu {
    border: 0;
    float: none;  
    background: #222;
    opacity: 0.95;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    right: 0;
  }

  #main-menu a {
    width: 100%;
    padding: 15px 0;
    color: #fff;
    border-radius: 0;
    margin: 0;
    text-align: center;
    border-bottom: 1px solid #181818;
  }

  #main-menu li li a {
    text-align: center;
    font-size: 13px;
    background: #0D0D0D;
    border-bottom: 1px solid #1B1B1B;
    color: #989898;
    padding: 15px 0;
  }

  #main-menu li a.active{
    border-bottom: 1px solid #181818; 
  }

  #main-menu li:hover > ul,
  #main-menu li li:hover > ul,
  #main-menu li li li:hover > ul {
    display: none;
  }

  .drop-down-toggle {
    display: block;
  }

  #main-menu li li.expanded > a{
    background-image: none;
  }

  #main-menu .nav-toggle {
    display: block;
    font-size: 15px;
    font-weight: normal;
    background: #18222B;
    color: white;
    margin: 0;
    letter-spacing: 1px;
    text-align: center;
    background: url(../images/mobile-menu.png) right 14px #18222B no-repeat;
    padding: 15px;
    width: 50px;
    font-size: 0;
    height: 45px;  
  }

  #main-menu ul.menu li {
    margin: 0;
    width: 100%;
  }

  #header{
  	margin-top: 45px;
  	padding: 5px 10px;
  }

  #top-area .column img,
  #footer-area .column img{
  	max-width: 100%;
  }


  body {
    margin-top: 30px !important;
  }


  iframe {
    max-width: 475px !important;
    max-height: 267px !important;
  }




}





@media screen and (max-width: 570px) {
  .contains-iframe {
    max-width: 400px !important;
    max-height: 225px !important;
  }

  .contains-iframe .llyv {
    margin-bottom: 5px;
  }

  .header {
    background: linear-gradient( rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2) ), url(img/teacher_student_1.jpg) 82% 0% !important;
    background-size: cover !important;
  }

  p.with-fp-you-can {
    clear: both;
    margin-top: 30px;
  }

}

@media screen and (max-width: 460px) {
  .contains-iframe {
    max-width: 100% !important;       
  }

  .contains-iframe {
    float: none !important;
  }

  p.with-fp-you-can {
    clear: both;
    margin-top: 100px;
  }


  p.credits {
    float: none;
    min-width: 300px;
  }

  .midside {
    border-right: 0 !important;
  }

  .front .midsection {
    margin-bottom: 10px !important;
  }

  .front .midside {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 20px;
    
  }


}








