/* 
	This CSS file contains the custom css styles for the Schoolzine Website template 
	When adding to this file use the following comment example:
*/

/* 
	Added by: Your Name
	Date: Date Added
	Descriptoin: A breif description of the change 
*/


#internal_40 div {    
    display: initial;
}

#foundation {
    width: 25%;
    float: left;
    padding: 0 10px;
}

#elaboration {
    width: 40%;
    float: left;
    padding: 0 10px;
}

#more-info {
    width: 25%;
    float: left;
    padding: 0 10px;
}

#external-recource {
    width: 25%;
    float: left;
    padding: 0 10px;
}

.school-logo {
    background: transparent;
    border-bottom: none;
}

.gradient-blue .tile-internal {background: -moz-linear-gradient(top, rgba(97,164,215,0) 0%, rgba(97,164,215,0.8) 55%, rgba(97,164,215,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(97,164,215,0)), color-stop(55%,rgba(97,164,215,0.8)), color-stop(100%,rgba(97,164,215,1)));
background: -webkit-linear-gradient(top, rgba(97,164,215,0) 0%,rgba(97,164,215,0.8) 55%,rgba(97,164,215,1) 100%);
background: -o-linear-gradient(top, rgba(97,164,215,0) 0%,rgba(97,164,215,0.8) 55%,rgba(97,164,215,1) 100%);
background: -ms-linear-gradient(top, rgba(97,164,215,0) 0%,rgba(97,164,215,0.8) 55%,rgba(97,164,215,1) 100%);
background: linear-gradient(to bottom, rgba(97,164,215,0) 0%,rgba(97,164,215,0.8) 55%,rgba(97,164,215,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0061a4d7', endColorstr='#61a4d7',GradientType=0 );
}

.gradient-blue a {color: #fff;}

.gradient-green .tile-internal {background: -moz-linear-gradient(top,  rgba(73,153,88,0) 0%, rgba(73,153,88,0.8) 55%, rgba(73,153,88,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(73,153,88,0)), color-stop(55%,rgba(73,153,88,0.8)), color-stop(100%,rgba(73,153,88,1)));
background: -webkit-linear-gradient(top,  rgba(73,153,88,0) 0%,rgba(73,153,88,0.8) 55%,rgba(73,153,88,1) 100%);
background: -o-linear-gradient(top,  rgba(73,153,88,0) 0%,rgba(73,153,88,0.8) 55%,rgba(73,153,88,1) 100%);
background: -ms-linear-gradient(top,  rgba(73,153,88,0) 0%,rgba(73,153,88,0.8) 55%,rgba(73,153,88,1) 100%);
background: linear-gradient(to bottom,  rgba(73,153,88,0) 0%,rgba(73,153,88,0.8) 55%,rgba(73,153,88,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00499958', endColorstr='#499958',GradientType=0 );
}

.gradient-green a {color: #fff;}

.main-content table td {vertical-align: middle !important;}

.overlay {background:rgba(0,0,0,0.5); position:fixed; height:100%; width:100%; z-index:999;
}
#popUpBox{     background: #fff;
    height: 400px;
    width: 900px;
    position: fixed;
    top: 20px;
    z-index: 100;
    left: 50%;
    margin-left: -450px;
    z-index:1000;
}
#popUpBox .main-content{ margin: 0 auto; width: 100%; box-sizing: border-box; padding: 20px; }
#popUpBox .tile.tile-4 { width: 100%; box-sizing: border-box; }
#popUpBox .close { background:#8c8c8c; color:#fff; position:absolute; top:0; right:0; padding: 10px;}

#linked_content_details_wrap_content_holders_edit_dialog{display:none;}

a.toolTip{
    position:relative;
}
.toolTipContainer  {
    position:absolute; 
    background:#333; 
    color:#fff !important; 
    text-decoration:none; 
    width:200px; 
    padding:10px; 
    bottom:20px;
    display:none;
    left:0;
}
 a.toolTip:hover ~ .toolTipContainer { display:block; }
.is_internal .tile, .is_internal .tile-wrapper{overflow:visible;}


/*-------------------------------------- Brodie Popup experiementation ------------------------------*/

#popUpBox .tile-content {
    max-width: 860px;
}

#popUpBox h1, #popUpBox h2, #popUpBox h3, #popUpBox h4 {
    margin: 5px 0 15px 0;
    color: #EEC041 !important;
}

#popUpBox p, #popUpBox a {
    font-size: 13px;
}

#popUpBox .tile-header {
border-bottom: 2px solid #281075;
    max-width: 815px;
}

.foundation {
    float: left;
    max-width: 275px;
    max-height: 304px;
    overflow: auto;
    padding-right: 8px;
}

.elaboration {
    float: left;
    max-width: 275px;
    padding: 0 8px;
    border-left: 2px solid #878787;
    border-right: 2px solid #878787;
    max-height: 304px;
    overflow: auto;
}

.more-info {
    float: left;
    max-width: 270px;
    padding-left: 8px;
    max-height: 155px;
    overflow: auto;
    border-bottom: 2px solid #878787;
}

.external-resource {
    float: left;
    max-width: 270px;
    padding-left: 8px;
    max-height: 155px;
    overflow: auto;
}

.field-1 {
    float: left;
    max-width: 275px;
    max-height: 304px;
    overflow: auto;
    padding-right: 8px;
}

.field-2 {
    float: left;
    max-width: 275px;
    padding: 0 8px;
    border-left: 2px solid #878787;
    border-right: 2px solid #878787;
    max-height: 304px;
    min-height: 303px;
    overflow: auto;
}

.field-3 {
    float: left;
    max-width: 270px;
    padding-left: 8px;
    max-height: 155px;
    overflow: auto;
    border-bottom: 2px solid #878787;
}

.field-4 {
    float: left;
    max-width: 270px;
    padding-left: 8px;
    max-height: 155px;
    overflow: auto;
}



.toolTipContainer a.toolTip:hover  {
    z-index: 6;
}

#internal_66 .blurb .media-item .fa-lightbulb-o, #internal_151 .blurb .media-item .fa-file-pdf-o {
    /*font-size: 54px;*/
    /*vertical-align: middle;*/
    display:none;
}

#internal_66 .blurb .media-list li, #internal_151 .blurb .media-list li{
    margin-bottom: 0px;
    padding-bottom: 0px;
}

@media only screen and (min-width: 600px) {
    #internal_66 .main-content ul.media-list, #internal_151 .main-content ul.media-list {
    column-count: 2;
    }
}

.toolTipWrap{
    position:relative;
    display: inline-block;
}

.video-align {
    float: left;
    padding: 5px;
}

.video-align p {max-width: 400px;}

.threeVid p {max-width: 300px !important;}

.is_internal .main-footer {margin-top: 0 !important;}

.is_internal .tile-content table {margin-top: 20px;}

.homeVid {float: left; padding: 0 10px 10px 0;}

#aboveFoot {display: block !important;}

#side-item-421 .item-header {display: none;}

#tile-home .tile-header {display: none;}

ul.diamond > li {
    list-style: "\2756";
    padding-left: 10px;
}



.redh2 h2 {color: #953133;}

/*---------------------------------- Popups mobile Responsive -----------------------------*/

@media only screen and (max-width: 770px) {
    #popUpBox {
        width: 95%;
        height: 600px;
        margin: 0 auto;
        top: 40px;
        left: 10px;
        overflow: auto;
    }
    
    .field-1, .field-2, .field-3, .field-4 {
        max-width: 100%;
        width: 100%;
        border-left: none;
        border-right: none;
        border-top: none;
    }

    .field-1, .field-2, .field-3 {
        border-bottom: 2px solid #878787;
    }
    
    .field-2 {
        min-height: 0;
    }
    
    .field-4 {
        border-bottom: none;
    }
}

#popupContent a.content-holder-edit {display: none;}

#popupContent .emspace.floatc {display: none;}

@media screen and (max-width: 980px) and (min-width: 769px) { 
    #popUpBox .tile-4 {
        width: 960px !important;
    }
}

/*-------------------------------------- Responsive ------------------------------------------------------*/

@media only screen and (max-width: 500px) {
    .homeVid {text-align: center; float: none;}
}

@media screen and (max-width: 980px) and (min-width: 770px) {
    .main-header {
        height: 391px;
    }
    
    .school-logo {
            top: 30px;
    }
}

@media screen and (max-width: 769px) {
.main-header {
 		height: auto;
}
.swiper-container {
padding-top: 40px !important;
}
}

.tableOverflow {overflow-x: auto;}

#tile- p.news-date {display:none;}

.videoAlign {
    margin: 10px;
    max-width: 310px;
}

.videoAlign div {display: inline;}

.is_internal .tile-content .content_holder_wrapper .video-holder div {padding: 0 !important;}

div.video-holder video {top: 0;}

