/*
 Theme Name: UoLAT - Sixth Form

 Author: CODA Education
 Author URI: http://coda.education
 Template:   madebycoda
 Version: 1.1
*/
 
@import url("../madebycoda/style.css");     

header#masthead {
    background: #FFF !important;
}

.trust-link a {
    border-bottom: 2px solid rgb(201 201 201 / 20%);
color: #383838;
}

#hero {
background: #FFF !important;
display: flex; flex-direction: row;
}

#hero:before,
.partof {
    display: none !important;
}

.left {
    width: 67%;
    position: relative;
    overflow: hidden;
    margin-left: 10px;
}

.left, .right {
    height: calc(100vh - 235px);
margin-top: 225px;
}

.vimeo-wrapper {
    margin-top: 0px !important;
    height: 100% !important;
}

.left:before,
.box:before {
    background: linear-gradient(34deg, rgba(0, 0, 0, .73) 0%, rgba(0, 0, 0, 0) 100%);
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.right {
    width: calc(33%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 10px; margin-left: 10px;
}

.right .box {
  height: calc(50% - 10px);
  width: 100%;
  position: relative;
  display: block;
  background-color: #333;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  overflow: hidden; 
}

.right .box:nth-child(2) {
  height: 50%;
}

.right .box__title {
  position: absolute;
  left: 30px;
  right: 0;
  display: block;
  line-height: 1.2;
  font-size: 35px;
  color: #fff;
  color: #FFF;
  bottom: 30px;
  z-index: 9;
  font-family: ltc-goudy-oldstyle-pro, serif;
}

/* Keyboard focus (important for accessibility) */
.right .box:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}


#hero .tagline {
    bottom: 60px !important;
}

#hero .tagline span {
    font-size: 57px !important;
}

@media (min-width: 800px) and (max-height: 800px) {
    
    .left {
        height: calc(100vh - 205px);
        margin-top: 200px;
        margin-left: 5px;
    }
    
    
}


@media (max-width: 1250px ) {
    
    .left, .right {
        height: calc(100vh - 230px);
        margin-top: 220px;
    }
    
}



@media (max-width: 1050px ) {
 
    .left, .right {
   height: calc(100vh - 140px);
   margin-top: 130px;
   
    }
    
    .menu-button {
        
        color: #2e79a1;
    }   
    
  #hero {
    
    flex-direction: column;
  }
    
  .left {
    width: calc( 100% - 20px);
    height: calc(100vh - 380px);
    margin-top: 160px;
  }
  
  .right {    
    margin-top: 10px;
    flex-direction: row;
    width: calc(100% - 20px);
    height: 200px !important;
    margin-left: 5px;
  }
  
  .right .box,
  .right .box:nth-child(2) {
    height: 100% !important;
  }
  
  .right .box:nth-child(1){
    width: calc(50% - 10px);
    margin-right: 10px;
  }
  
  
  .right .box:nth-child(2){
  width: 50%; margin-right: 0px;
  }
  
.menu-button:before {
  background: url(/menu-sixthform.svg);
  background-size: auto 20px;
  
}

.menu-open .menu-button {
  color: #FFF
}

      
}



@media (max-width: 900px ) {
  
  .left {
    height: calc(100vh - 355px);
    margin-top: 135px;
  }
  
  #hero .tagline span {
      font-size: 47px !important;
  }
  
  .right .box__title {
    font-size: 32px;
  }
  
}



@media (max-width: 600px ) {

.left {
  height: calc(100vh - 335px);
  margin-top: 115px;
}

    .right .box__title {
    font-size: 25px;
}

}