/* 
	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 
*/

.gradient .tile-internal {background: -moz-linear-gradient(top, rgba(171,13,34,0) 0%, rgba(171,13,34,0.8) 60%, rgba(171,13,34,1) 100%);
background: -webkit-linear-gradient(top, rgba(171,13,34,0) 0%,rgba(171,13,34,0.8) 60%,rgba(171,13,34,1) 100%);
background: linear-gradient(to bottom, rgba(171,13,34,0) 0%,rgba(171,13,34,0.8) 60%,rgba(171,13,34,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ab0d22', endColorstr='#ab0d22',GradientType=0 );}

@media screen and (max-width: 769px) {
.main-header {
 		height: auto;
}
.swiper-container {
padding-top: 40px !important;
}
}


/* ============ Latest News Colours =============== */

.latest-news {
    background-color: rgb(186, 185, 189);
}

.news-bg-auto-sub {
background: linear-gradient(rgba(186, 185, 189, 0), rgba(186, 185, 189, 1) 49%);
}

#tile- h2, .news-item, .latest-news .txt-light a.fill {color:black !important;}

.school-logo {background: transparent; border-bottom: none;}

@media screen and (max-width: 769px){
.main-header {
    height: 100%;}
}

@media screen and (min-width: 770px) and (max-width: 980px){
.school-logo {
    top: 40px;
    width: 100px;
    height: 100px;
    line-height: 100px;}
}

@media screen and (max-width: 980px) and (min-width: 769px) {
.main-header {
    height: 346px !important;}
}

.transp-bg {background: rgb(241, 241, 241);}

/*#facebookFeed{height:500px !important;}*/
.is_internal #facebookFeed{display:none;}
@media screen and (max-width: 450px) {
    .halfwidth {width:100%;}
}

@media screen and (min-width: 981px) {
.main-header {
    height: 421px !important;}
}

.blurb .tile-content img {
    max-width: 100%;
    height: auto;
}

#content_link_55 table {
    table-layout: fixed;
}

#tile-home .content-holder-edit {
    position: initial !important;
}


/*---------------------------------- Home Banner ----------------------------------------*/

#tickerWrap .btn:hover {
    background-color: #fff;
    color: #000;
    font-weight: bold !important;
}

#tickerWrap {width: auto !important;}

#tickerWrap .btn {
    border: 2px solid #bab9bd;
    background-color: #bab9bd;
    margin: 1% 5%;
    transition: background-color: ease .5s;
    color: #000;
    font-weight: bold !important;
    float: right;
}

@media screen and (max-width: 700px) {
    body #additonalbuttons .bannerText {
        float: none;
        text-align: center;
    }
}

@media screen and (min-width: 770px) {
    #additonalbuttons > div {padding-left: 15px;}
}

.testimonials {display: block; padding-bottom: 10px;}

.is_home #tickerWrap {
    display: block;
    background-color: #db2728;
    padding: 1%;
}

@media screen and (max-width: 930px){
   #tickerWrap .btn {
    margin: 1% 2%;
} 
}
@media screen and (max-width: 745px){
   #tickerWrap .btn {
    margin: 1% auto;
} 
}

#additonalbuttons {
    max-width: 980px;
    margin: 0 auto;
}

#additonalbuttons p {color: #fff !important; line-height: 30px !important;}

#additonalbuttons .bannerText {float: left;}

@media screen and (max-width: 769px) {
   #additonalbuttons p.bannerBtn {text-align: center;}
   #tickerWrap .btn {float: unset !important;}
}

/*----------------------------------Home message-------------------------------------------*/

@media screen and (min-width: 981px) {
    div#tile-home.tile.tile-3 {
        width: 980px;
    }
}

@media screen and (min-width: 770px) and (max-width: 980px) {
div#tile-home.tile.tile-3 {
        width: calc(100% + 240px);
    }
}

@media screen and (max-width: 769px) {
    div#tile-home.tile.tile-3 {
        width: 100%;
    }
}

/*p.bannerBtn a {margin-top: 25px !important;}*/

/*---------------------------------- Facebook feed ---------------------------------------*/

.latest-news {
        top: auto;
        max-height: 721px;
        height: 100%;
}



@media screen and (min-width: 981px) {
    .latest-news {
        max-height: 721px;
    }
}

@media screen and (min-width: 770px) and (max-width: 980px) {
    .latest-news {
        max-height: 1201px;
        height: 100%;
    }
}

.latest-news .tile-link, #tile- .tile-padded {display: none;}

.blurb .tile-content table tr:nth-child(even) {
    background: #eaf3f5;
}

@media screen and (min-width: 700px) {
#additonalbuttons > .content_holder_wrapper {
display: flex;
align-items: center;
justify-content: space-evenly;
}

#additonalbuttons p {
white-space: nowrap;
}
} @media screen and (min-width: 770px) and (max-width: 980px) {
#additonalbuttons {
max-width: 730px;
}
}

/* hide logo on website slider */

.school-logo img {
    display: none;
}

.dark {
    background: #db2728;
}
