  /* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */
.avia-gallery img{
    padding: 0 !important;
}
.post-meta-infos{
    display: none;
}
.lead-magnet-box{
    margin-left: 5%;
    margin-right: 5%;
    border-width: .5em;
    border-color: #669164 !important;
    padding: 3em;
    max-width: 90%;
}
.lead-magnet-row{
    max-width: 100%;
    background-image: url(https://www.besanthill.org/wp-content/uploads/2019/07/Aerial-Besant-Hill-School-Campus1.jpg);
    display: block;
    background-size: cover;
    background-position: center center;
}
.av-inner-masonry-content{
    display: none;
}
.av-masonry-entry{
   visibility: visible !important;
    opacity: 1 !important; 
}
.avia-cookie-consent{
    background-color: #092847;
}
.page-id-35, .page-id-6773, .page-id-1281, .page-id-187, .page-id-191 {
    font-size-adjust: 0.6;
    color: blue;
}
.font-175{
    font-size-adjust: 1.5;
}
.give_errors
{
    display: none;
}
.archived-nfth{
    margin-left: 5%;
}
.extra-reading{
    column-count: 2;
}
body
{
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}

#header
{
    max-width: 2000px;
}

.av-submenu-container
{
    max-width: 2000px;
}

.strategic-plan-slider
{
	max-height: 800px;
}

@font-face {
    font-family: neutradisplay-medium;
    src: url("https://www.besanthill.org/custom/NeutraDisplay-Medium.otf") format("opentype");
}

@font-face{
    font-family: neutradisplay-lightalt;
    src: url("https://www.besanthill.org/custom/NeutraDisplay-LightAlt.otf") format("opentype");
}

.faculty-directory-row
{
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.student-quote
{
    font-size: 1.55em;
    line-height: 1.25em;
    color: #ffffff;
    font-family: neutradisplay-lightalt;
    background-color: rgb(0, 0, 0, 0.4);
    text-shadow: 0px 0px 10px #000000;
    font-weight: 600;
    padding: 20px;
    border-radius: 15px;
}
p a
{
    transition: color 0.2s;
}

p a:hover, p a:focus
{
    text-decoration: none;
    color: #94d21f !important;
}

navrowboxdiv.categoryimage
{
    text-align: center;
}

a.categorylink
{
    font-size: 67px;
    font-weight: 600;
    font-family: "lato", "HelveticaNeue", "Helvetica Neue", "Helvetica-Neue", Helvetica, Arial, sans-serif;
    color: rgb(255, 255, 255);
    text-align: center;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);
    transition: font-size 0.5s, text-shadow 0.5s;
    transition-timing-function: cubic-bezier(0.07, 0, 0.27, 1.55);
    width: 100%;
}

.avia_codeblock
{
    text-align: center;
}

a.categorylink:hover
{
    font-size: 75px;
    color: rgb(255, 255, 255);
    text-decoration: none;
    text-decoration-style: none;
    text-shadow: 8px 8px 8px rgba(0, 0, 0, 0.5);
}

a.categorylink:active
{
    text-decoration: none;
}

table.tuitiontable td
{
    color: #000000 !important;
    font-size: 16px;
}

.header_color.av_header_transparency
{
    opacity: 0;
}
.navrowbox
{
    opacity: 1;
    color: rgb(255, 255, 255) !important;
    padding-bottom: 0px;
    transition: opacity 0.5s, padding-bottom 1s, color 1s;
    transition-timing-function: cubic-bezier(0.07, 0, 0.27, 1.55);
}
.navrowbox:hover
{
    opacity: 0.6;
    color: #669164 !important;
    padding-bottom: 300px !important;
}

.personrowbox
{
    opacity: 1;
    padding-bottom: 0px;
    transition: opacity 0.5s, padding-bottom 1s, color 1s;
    transition-timing-function: cubic-bezier(0.07, 0, 0.27, 1.55);
}

.personrowbox h3, .personrowbox p[style], .navrowbox h3, .mobilenavrowbox h3
{
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 2px #000000;
}

.personrowbox:hover
{
    opacity: 0.6;
    padding-bottom: 300px !important;
}

.personrowbox_text
{
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 20px 20px 20px;
    color: rgb(0, 0, 0);
    position: absolute;
}

.imagebutton
{
    background-repeat: no-repeat;
    background-size: calc(var(--image-width) * 1px) calc(var(--image-height) * 1px);
    background-position: calc((var(--image-width) * 10px) / 100) calc((var(--image-height) * 10px) / 100);
    width: calc((var(--image-width) * 1px) + ((var(--image-width) * 10px) / 100) * 2);
    height: calc((var(--image-height) * 1px) + ((var(--image-height) * 10px) / 100) * 2);
    margin: 0 auto;
    transition: background-size 0.5s, background-position 0.5s;
    transition-timing-function: cubic-bezier(0.07, 0, 0.27, 1.55);
}

.imagebutton:hover
{
    background-size: calc((var(--image-width) * 1px) + ((var(--image-width) * 10px) / 100)) calc((var(--image-height) * 1px) + ((var(--image-height) * 10px) / 100));
    background-position: 10px 10px;
}

.logobutton_a
{
    display: block;
    overflow: hidden;
}

.logobutton
{
    font-family: "neutradisplay-medium";
    font-weight: 300 !important;
    font-size: 2em;
    line-height: 0.9em;
    position: relative;
    width: 271px;
    height: 190px;
    float: left;
    background-image: url("https://www.besanthill.org/wp-content/uploads/2019/07/circle-button-bg.png");
    text-align: center;
    vertical-align: middle;
    transition: font-size 0.5s;
    transition-timing-function: cubic-bezier(0.07, 0, 0.27, 1.55);
}

.logobutton:hover
{
    font-size: 2.4em;
}

.logobutton_logo
{
    width: 301px;
    height: 221px;
    position: absolute;
    top: -15px;
    left: -15px;
    background-image: url("https://www.besanthill.org/wp-content/uploads/2019/07/circle-button-fg.png");
    opacity: 0;
    background-size: 301px 221px;
    transition: opacity 0.5s, background-size 1s, top 1s, left 1s, width 1s, height 1s;
    transition-timing-function: cubic-bezier(0.07, 0, 0.27, 1.55);
}

.logobutton_logo:hover
{
    opacity: 1;
    background-size: 271px 190px;
    top: 0px;
    left: 0px;
    width: 271px;
    height: 190px;
}

.logobutton_text
{
    color: rgb(255, 255, 255);
    margin-top: 108px !important;
    margin: 0 auto;
    width: 75%;
}


.imagecaptionright
{
    text-align: right;
    color: #ffffff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    Font-style: italic;
}

.imagecaptionleft
{
    text-align: left;
    color: #ffffff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    Font-style: italic;
}

    #top div .no_margin
    {
        margin-bottom: 0px !important;
    }
.protect-our-pack{
    
    transform: scale(.7);
}
#protect-our-pack-row{
    max-height: 10em;
}
.pop-social-button{
    padding: 10px 20px 10px 20px;
}
.pop-donate-button{
    padding-top: 40px;
}
.give-recurring-donors-choice-period
{
    height: 2.5em !important;
    
}
/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px)
{
  /* Add your Desktop Styles here */   
    .admissions-rectangle:hover{
    transform:scale(1.05);
    }
    .sticky-image
    {
	position:fixed;

    }
    .avia-menu-text:hover {
	opacity: .6;
    }
}


/*
Tablet Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */
@media only screen and (min-width: 768px) and (max-width: 769px) {
    .faculty-directory-row .personrowbox_text
    {
    font-size: 1em !important;    
    }

}
@media only screen and (min-width: 768px) and (max-width: 769px) {
  /* Add your Tablet Styles here */
    .sticky-image
    {
	display:none;
    }
    .responsive #top .logo 
    {
	width: 75%;
    }

    .school-profile, .school-viewbook
    {
	display: none !important;
    }
     .personrowbox_text
    {
        font-size: .97em;
    }
    .personrowbox
    {
        padding-top: 290px !important;
        font-size: 12px !important;
        min-height: 600px;
    }
    .logo-button-container
    {
/*	min-height: 494px; */
    }
}
/*	
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */


@media only screen and (max-width: 767px)
{
    .pollock60{
    background-image: imageurl(/wp-content/uploads/2020/08/tom-pollock-seniorphoto.jpg)    
    }
    .sticky-image
    {
	display:none;
    }
    .admissions-image 
    {
	min-height: 200px;    
    }

    
    .responsive #top .logo
    {
        width: 60%;
    }

    .navrowbox
    {
        min-height: 200px; 
    }

    a.categorylink
    {
        position: relative;
        top: 90px;
	font-size: .5em;
    }
    
    .personrowbox_text
    {
        font-size: 1.25em !important;
    }
    
    .personrowbox
    {
        padding-top: 290px !important;
        font-size: 12px !important;
        min-height: 600px;
    }
    .personrowbox:hover
    {
        padding-bottom: 0px !important;
    }
        a.categorylink
    {
        font-size: 67px;
    }

    .school-profile, .school-viewbook
    {
	display: none !important;
    }
}
/*	
Small laptop
================================================== */

@media only screen and (min-width: 990px) and (max-width: 1037px) {

    .logo-button-container
    {
	min-height: 497px;
    }
    
    .logo img
    {
	margin-top: 10px;
	margin-bottom: 10px;
	width: 273px;
	height: 72px;
    }
}

/*	
All Small
================================================== */


@media only screen and (max-width: 1680px)
{
    .logo-button-container
    {
/*	min-height: 497px; */
    }
    
    .imagebutton
    {
	width: 150px;
	height: calc((var(--image-height) / var(--image-width)) * 150px);

	background-size: 100% 100%;
	background-position: 0px 0px;
	transition-duration: 0s;
	margin: 0 auto;
	margin-top: 20px;
    }
    
    .imagebutton:hover
    {
        background-size: 100% 100%;
        background-position: 0px 0px;    
    }
}

.bhs-graphic-button-outer-container
{
    position: relative;
    width: 340px;
    height: 640px;
}

.bhs-graphic-button-image
{
    position: absolute;
    width: 300px;
    height: 600px;
    // border-radius: 10px;
    left: 20px;
    top: 20px;
    background-position: -20px -20px;
    background-repeat: no-repeat;
    transition: top left width height background-position;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(.25,.46,.45,.94);
}

.bhs-graphic-button-outer-container:hover > .bhs-graphic-button-image
{
    left: 0px;
    top: 0px;
    width: 340px;
    height: 640px;
    background-position: 0px 0px;
}

.bhs-graphic-button-logo
{
    position: absolute;
    width: 300px;
    height: 600px;
    top: 20px;
    left: 20px;
    // border-radius: 10px;
    background-image: url(/wp-content/uploads/2020/04/buttongraphiclogo.png);
    background-repeat: no-repeat;
    background-position: -10px 430px;
    background-size: 340px auto;
    transition: top left width height background-position background-size;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(.25,.46,.45,.94);
}

.bhs-graphic-button-outer-container:hover > .bhs-graphic-button-logo
{
    top: 0px;
    left: 0px;
    width: 340px;
    height: 640px;
    background-position: 0px 480px;
    background-size: 360px auto;
}
    
.bhs-graphic-button-border
{
    position: absolute;
    top: 20px;
    left: 20px;
    width: 300px;
    height: 600px;
    border-width: 5px;
    border-style: solid;
    border-color: #44698a !important;
    // border-radius: 10px;
    box-shadow: 10px 10px 10px 0 rgba(0, 0, 0, 0.5) inset;
    transition: top left width height box-shadow;
    transition-duration: 0.5s;
    transition-timing-function: cubic-bezier(.25,.46,.45,.94);
}

.bhs-graphic-button-outer-container:hover > .bhs-graphic-button-border
{
    top: 0px;
    left: 0px;
    width: 340px;
    height: 640px;
    box-shadow: 15px 15px 10px 0 rgba(0, 0, 0, 0.3) inset;
}

.white-behind-text
{
    background-color: rgba(255, 255, 255, 0.75) !important;
    border-radius: 25px;
    padding: 20px;
    text-align: center;
    width: 40%;
}
