@import url(../font-awesome-4.7.0/css/font-awesome.min.css);

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700');


@font-face {
  font-family: 'ButlerMedium';
  src: url("../fonts/Butler_Medium.eot");
  src: url("../fonts/Butler_Medium.eot?#iefix") format("embedded-opentype"), url(butler_medium-webfont.woff2) format("woff2"), url(butler_medium-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ButlerMediumStencil';
  src: url("../fonts/Butler_Medium_Stencil.eot");
  src: url("../fonts/Butler_Medium_Stencil.eot?#iefix") format("embedded-opentype"), url(fonts/butler_regular_stencil-webfont.woff2) format("woff2"), url(fonts/butler_regular_stencil-webfont.woff) format("woff");
  font-weight: normal;
  font-style: normal;
}


/***********************************************************************************************************/
/***********************************************************************************************************/
html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
    font-size: 16px;
    font-family: "Source Sans Pro",sans-serif;
    overflow-x: hidden;
}


	/*Main Page*/
	body {
    margin: 0;
    font-family: "Source Sans Pro",sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
padding:0
}



    img{border:0}
  a{outline-style:none}

/***********************************************************************************************************/
/***********************************************************************************************************/
/*Website header*/
	div#TitleHolder{position:relative}

    div#TitleHolder *, div#TitleHolder *::before, div#TitleHolder *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

	div#TitleHolder table{display:none}
    

    /*SLIDESHOW TYPE 1*/
    .slideshow1{height:100%; width:100%; position:relative; background-image:url(images/1.jpg?v=4);
                       background-repeat:no-repeat;
              -webkit-background-size: cover;
              -moz-background-size: cover;
              -o-background-size: cover;
              background-size: cover;
              background-position:center center; 
              clear:both;
              padding-bottom:42%

    }


@media all and (max-width:1800px) {
   .slideshow {
        padding-bottom: 52%;
    }
}

    .slideshow1 .slide{position:absolute; width:100%; height:600px;
        background-repeat:no-repeat;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
      background-position:center center; 
      z-index:0


    }
    .slideshow1 .slide1{background-image:url(images/1.jpg?v=4)}
    .slideshow1 .slide2{background-image:url(images/2.jpg?v=4)}
    .slideshow1 .slide3{background-image:url(images/3.jpg?v=4)}
    .slideshow1 .slide4{background-image:url(images/4.jpg?v=4)}
    .slideshow1 .slide5{background-image:url(images/5.jpg?v=4)}
    .slideshow1 .slide6{background-image:url(images/6.jpg?v=4)}
    .slideshow1 .slide7{background-image:url(images/7.jpg?v=4)}
    .slideshow1 .slide8{background-image:url(images/8.jpg?v=4)}
    .slideshow1 .slide9{background-image:url(images/9.jpg?v=4)}
    .slideshow1 .slide10{background-image:url(images/10.jpg?v=4)}


    /*SLIDESHOW TYPE 2*/
    .slideshow2 {
        position: relative;
        clear: both;
        margin: 0px;clear:both;
        background-color:#333;

    }

    .slideshow2 .slide {
        width: 100%;
        z-index: 0;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .slideshow2 .slide1 {
        position: relative!important;
    }



    .overlay--top {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 200px;
    opacity: 0.7;
    background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(rgba(0, 0, 0, 0)));
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

    .overlay--bottom {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 194px;
    opacity: 0.7;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(#000000));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}



/***********************************************************************************************************/
/***********************************************************************************************************/

/*Footer*/
	div#footer{height:100px;background-color:#16154a;position:relative;clear:both}
	div#footer table{width:100%; margin:0 auto; height:100px}
    /*left hand cell of footer*/
	#footerCrest{}
    /*text in footer on the right*/
	#footerText{color:#fff; text-align:center; vertical-align:middle; width:100%; font-size:0.87rem}
	#footerText a{color:#fff}

    #poweredBy{margin-right:5px;} 
   a.login{margin-left:5px}


/***********************************************************************************************************/
/***********************************************************************************************************/
/*Page layout div and table*/

    div#MainContainer{}

    div.contentWrap{
        
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;    
    box-sizing:border-box;
    padding:65px 100px 70px

    }

@media all and (max-width:991.98px) {
    div.contentWrap {
        padding-left: 50px;
        padding-right: 50px;
    }
}


    table#Content
    {
	    width: 100%; 
        margin:0 auto; 
        border-collapse:collapse;
        border-top:0px; 
    }

    body.PopUpWindow table#Content{
        width:700px!important; min-width:700px!important; max-width:700px!important
    }

    td#MenuHolder{
	    width:33.33%;
	    vertical-align:top; 
        padding-left:15px;
        
        
    }
    td#ContentHolder{
	    vertical-align:top; 
        padding-right:60px; 
    }


	/*main titles on each page*/
	h5
	{
        background-color:#fff; 
        color:#16154a; 
		clear:both; 
        font-family:"ButlerMedium",serif;
        margin:15px 0px 15px 0px; 
        padding:7px 0px 12px 0px; 
        font-weight:Normal; 
        font-size:1.7rem;
	}
	

	/*Scrolling div scrollbar and border colors - e.g. fixtures and results boxes on homepage*/
	div.Scrolling{
	    overflow-x:hidden; 
	    overflow-y:scroll; 
	    height:310px;

        scrollbar-face-color: #015db8; 
        scrollbar-track-color: #fff;
	    scrollbar-shadow-color: white;
	    scrollbar-highlight-color: white;
	    scrollbar-3dlight-color: white;
	    scrollbar-darkshadow-color: white;
	    scrollbar-arrow-color: #015db8;
	    padding-right:10px
	}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*Main menu styles*/
    td#MenuHolder img.Crest, p#MenuCrestHolder{display:none}
	div#MenuDiv{
        background-color:#015db8;
        padding:46px 40px 46px 50px;
        box-sizing:border-box;
        margin-top:-130px;
        position:relative
	}

@media all and (max-width:1199px) {
    div#MenuDiv {
        padding: 40px 30px 40px 30px;
    }
}

#MenuItemHolder {
    margin-bottom: 40px;
}

h3.title {
    color: #fad9ae;
    font-size: 2rem;
    line-height: 1.125;
    font-weight: 500;
    letter-spacing: 0px;
    margin-bottom: 25px;
    text-transform: none;
    font-family:"ButlerMediumStencil",serif;
    margin-top:0
}

@media all and (max-width:991px) {
    h3.title {
        font-size: 1.56rem;
        line-height: 1.2;
    }
}






   div#MenuDiv ul li{margin-right:15px;max-width: 85%;}

    a.MenuItem span{padding:0!important; margin:0!important}
	/*Menu Items*/
	a.MenuItem
	{
	    background-image: none!important;
	    background-color: transparent!important;
		text-align:left; 
		display:block;
		white-space:nowrap;
		border-radius:0px;
        border:0!important;
    position: relative;
    color: white!important;
    font-size: 0.81rem;
    line-height: 1.3076;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
        width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
        padding-right: 15px;
    margin-bottom: 8px;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    padding-left:0


}
    a.MenuItem:after{  
    content: "";
    position: absolute;
    top: 12px;
    left: 100%;
    width: 0px;
    height: 2px;
    background: transparent;
    opacity: 0.7;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}
   
   a.CurrentMenuItem:after, a.MenuItem:hover::after{
    background: #FAD9AE;
    width: 70px;
}


	a.CurrentMenuItem{
		background-color:#015db8!important; 
		color:#fff!important 
	}
    a.MenuItem:hover{
		background-color:#015db8!important; 
		color:#fff!important 
	}

    /*Sub menu dropdown holder*/
    div.SubMenu{margin:0px 5px 10px 10px; display:none; font-size:0.9em}

    div.SubMenu a.MenuItem:after{left:90%}
    div.SubMenu a.CurrentMenuItem:after, div.SubMenu a.MenuItem:hover::after{
        width: 50px;
}

    /*School website link in menu - showing by default*/
    a#SchoolHomeMenuLink{display:none}


/***********************************************************************************************************/
/***********************************************************************************************************/

/*Loading message box*/

	/*Loading div*/
	div#loading{
		display:none
	}


	/*Loading image border color*/
	#imgLoading{border:1px solid #e3c859}
	
	/*Page loading text*/
	#loading p{
		margin:20px; text-align:center; color:white
	}
	#loading h1{color:white}

    /*in loading box and left hand menu (unless hidden)*/
    img.Crest{border:0px; position:relative; z-index:100}

	.FixtureDetail{background-color:#fdf5ce}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*content on all pages is in custom box - for websites with photo on the background and 
    no main container background color this can be used to give a background oto content */
	.CustomBox{margin:5px; background-color:#fff; padding:0px 0px 10px 0px}


/***********************************************************************************************************/
/***********************************************************************************************************/

/*Login and home buttons - change positioning etc*/

  #HomeLoginBtn,#HomeBtn{position:absolute; left:50%; margin-left:440px; top:80px; white-space:nowrap}
  #HomeBtn{margin-left:340px;}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*Featured school gold whistle box*/

    div#FYSSubMenu{padding:10px 5px 5px 5px; white-space:nowrap; margin:1px 1px 0px 0px; position:relative; z-index:2;display:none}
    p#SS{margin:0px; text-align:center}

/***********************************************************************************************************/
/***********************************************************************************************************/




/*General styles below which don't normally need to be edited*/
.invisible{
	display:none
}
a, #accordion a, #accordion2 a, .accordion a, .tabs a
{
	color:#015db8; text-decoration:none
}
a:hover, #accordion a:hover, #accordion2 a:hover{
	text-decoration:underline
}

a.LogOut{font-weight:normal}
a.Edit{font-weight:normal}
.Save{font-weight:normal}
.Reset{font-weight:normal}
.Cancel{font-weight:normal}
p.Right{text-align:right}
p.Center{text-align:center}

span.SubTitle{
	font-size:90%
}
div.ActionPHolder{
	 width:280px; float:left; margin:5px; padding:5px; border:1px solid #eee; background-color:#fff
 }
table.ContentTable{
	border:1px solid gray; margin:0 auto; margin-top:20px; margin-bottom:20px; text-align:center; border-collapse:collapse; font-size:0.9em
}
div.contactPageContentBox table.ContentTable{
	border:1px solid gray; margin:0; margin-left:5px; margin-top:20px; margin-bottom:20px; text-align:center; border-collapse:collapse; font-size:0.9em
}
table.ContentTable th{
	background-color:#eee; border :1px solid silver; text-align:center; padding:6px;
}
table.ContentTable td{
	background-color:#fff; border:1px solid silver; text-align:center; padding:6px
}
h1{
	margin:0px 0px 0px 0px; font-size:1.3em; text-align:center; color:#000; 
}
h2{
	text-align:center; font-size:1.2em;margin:20px 20px 0px 20px; clear:both
}
h3{font-weight:normal;font-size:0.9em}
h4{
	text-align:left; font-size:1.1em;margin:20px 20px 0px 20px; clear:both
}
#TeamPhotoHolder{
	display:none
}
iframe#OverviewFrame{
	width:100%; border:0px; height:60px; background-color:#eee
}
select{
	vertical-align:middle
}
.SportsMap{
	width: 100%; height: 250px; margin:20 auto; border:1px solid gray;
	}
.HomeSportsMap{
	width: 100%; height: 195px; margin:0 auto; border:0px;
	}
table.DetailsTable,table.edDetailsTable{
	border:1px solid gray; margin:0; margin-left:5px;margin-top:20px; margin-bottom:20px; text-align:center; border-collapse:collapse; font-size:0.9em
}
#HomePageBox_contact table.DetailsTable {
	border:1px solid gray; margin:0 auto; margin-top:20px; margin-bottom:20px; text-align:center; border-collapse:collapse; font-size:0.9em
}
table.DetailsTable th{
	background-color:#eee; border:1px solid silver; text-align:right; padding:6px;
}
table.DetailsTable td{
	background-color:#fff; border:1px solid silver; text-align:left; padding:6px
}
table.edDetailsTable th{
	background-color:#fff; border:1px solid silver; text-align:right; padding:6px;
}
table.edDetailsTable td{
	background-color:#eee; border:1px solid silver; text-align:left; padding:6px
}
/*this one is for news*/
div.Thumbnail{margin-top:5px;border :1px solid gray; width:60px; height:40px; background-repeat:no-repeat; background-position: center center;}

.ActionPThumb{
	height:75px; border:0px; margin:0px
}
.TeamPThumb{
	width:100px; height:55px; border:0px;
	}
.ReportText, .HistoryText{
	border:1px solid gray; padding:10px; background-color:white; font-size:1.2em
}
#Loading{
	color:gray
}


.ThumbHolder{float:left; width:120px; margin:10px;  padding:10px 0px 10px 0px; background-color:#eee}
.ThumbHolder div{border:1px solid #eee;width:100px; height:55px; margin:0 auto; overflow:hidden;}
.ThumbHolder div:hover{border:1px solid gray; background-color:gray}
p.Dev{
	color:#000; font-style:italic; text-align:center; margin:40px; font-size:1.2em
}
.EmptyDataMessage{margin:40px; text-align:center; padding:10px; background-color:white}
div#SelectDiv{text-align:center; padding:7px}
.TeamsTable{width:97%; margin:0 auto; border-collapse:collapse;}
.TeamsTable td{border-bottom:5px solid #eee; border-top:5px solid #eee; background-color:#fff; padding:5px; vertical-align:middle}
.TeamsTable td img{border:0px; vertical-align:middle}
.TeamsTable th{text-align:left; font-weight:bold; background-color:#eee; padding:5px}
.TeamsSubTable{border-collapse:collapse; width:100%}
.TeamsSubTable th{text-align:right; color:gray; border:0px; font-weight:normal; width:80px; background-color:Transparent; vertical-align:top}
.TeamsSubTable td{text-align:left; border:0px; vertical-align:top}
Table.TeamSummary{border-collapse:collapse; margin:0 auto; border:1px solid silver; background-color:#fff}
Table.TeamSummary th{text-align:center; font-weight:normal; background-color:#eee; padding:5px; border:1px solid silver; color:gray}
Table.TeamSummary td{text-align:center; border:1px solid silver; padding:5px; font-weight:bold; background-color:#fff}
div#accordian{font-size:0.9em; font-weight:normal;}
div.HomePageBox{ border:1px solid silver; padding:3px 3px 10px 3px; margin:0px 2px 4px 2px; background-color:white}
table.HomeHeader{background-color:#eee; margin:0 auto; border-collapse:collapse; width:100%; margin-bottom:10px}
table.HomeHeader th{font-size:1.1em; text-align:left; font-weight:normal}
table.HomeHeader td{text-align:right; font-weight:normal; }

.ui-dialog-titlebar {font-size:8pt; height:20px }
div.ui-datepicker{font-size:8pt}
		

table.FixtureDetail{border:1px solid gray; margin:0px; background-color:white; width:100%}
td.MatchDate{vertical-align:top; white-space:nowrap; border-right:1px solid #eee;}
td.MatchDetail{vertical-align:top; border-right:1px solid #eee; text-align:center}
td.ResultDetail{vertical-align:top}
td.edFixtureRow{background-color:#eee}
a.More{font-size:9pt; font-weight:normal}
.TitleBtn{font-weight:normal; text-align:left; margin:2px}

.HomeTabContent{background-color:white; margin:-5px; padding:5px;height:327px!important;}
.ui-widget-content{background-color:white; background-image:none}
div.HomePageBox .tabs{border:0px; }
img.SportIcon{vertical-align:middle; border:0px}
div.HomePageBox .More{margin-right:15px;} 
.ui-tabs-panel .More{margin-right:0px!important;margin-bottom:-7px!important} 
.ui-widget-content * {
    box-sizing: content-box !important;
}
div.HomePageBox .More[style], div.HomePageBox .More span{font-weight:normal!important; font-size:9pt!important} 

#FixtureDetails{clear:both!important}



.ui-dialog-content{clear:both}



/*HEADER*/

.top-nav__logo {
    position: absolute;
    z-index: 52;
    top: 60px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

svg {
    overflow: hidden;
    vertical-align: middle;
}

.d-none {
    display: none !important;
}
@media all and (min-width:992px) {
    .d-lg-block {
        display: block !important;
    }
}

@media all and (min-width:992px) {
    .d-lg-none {
        display: none !important;
    }
}

.top-nav__logo img, .top-nav__logo svg {
    width: 320px;
}
.cls-1 {
    fill: #fff;
}

@media all and (max-width:991.98px) {
    .top-nav__logo img, .top-nav__logo svg {
        width: 120px;
    }

.top-nav__logo {
    z-index: 49;
    left: 50px;
    top: 40px;
    -webkit-transform: none;
    transform: none;
}

}



.site-mega-menu__target.school {
    position: fixed;
    z-index: 52;
    right: 0px;
    top: 0px;
    height: 174px;
    width: 55px;
    background-color: #fad9ae;
    cursor: pointer;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.site-mega-menu__target.sport {
    position: fixed;
    z-index: 52;
    left: 0px;
    top: 0px;
    height: 174px;
    width: 55px;
    background-color: #16154a;
    cursor: pointer;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

@media all and (max-width:991.98px) {
    .site-mega-menu__target.sport {
        display: none;
    }
}

.site-mega-menu__target .hamburger-menu {
    height: 100%;
}

.site-mega-menu__target .hamburger-menu a {
    display: block;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    margin-left: 20px;
    font-family: "Source Sans Pro",sans-serif;
    font-size: 0.81rem;
    line-height: 1.3076;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    width: 174px;
    height: 174px;
    margin-top: -35px;
    color:#212529;
    text-decoration:none
}

.sport:hover, .school:hover {
  
    padding-top: 30px!important;
    height: 204px!important;   
    
}




.site-mega-menu__target.sport .hamburger-menu a {color:#fff}



/*MOBILE MENU*/
.mobile{position:relative;display:none;}

    a.subMenu{
    display:none;
    width:100%;
    text-align:center;
    margin:auto;
    padding:15px 0;    
        background-color:#015db8; 
        color:#fff; 
		clear:both;        
        font-family:"ButlerMediumStencil",serif;
        font-weight: 500;
          color: #fad9ae;
          font-size:1.26rem
	}
  
   a.subMenu span{margin-left:5px}
   a.subMenu {text-decoration:none}
a.subMenu span {position:relative}
a.subMenu span::after {
    content: "\f0c9";
    top: -1px;
    right: -30px;
    position: absolute;
    font-family: FontAwesome;
    box-sizing:border-box
}



@media screen and (max-width:1159px) {
    .contentWrap{
        padding:25px;
        box-sizing:border-box
    }
    .mobile{display:block}
    h3.title{display:none}
 

    div#MenuDiv{padding:0;
                width:100%;
                margin-top:0
    }

       div#MenuDiv ul{padding:20px 10px!important
    }

       

    td#ContentHolder {
        padding: 0px; 
        padding-top:20px       
    }

    td#MenuHolder {
        width: auto;
        padding:0
    }

    #MenuDiv div#MenuItemHolder {
    height: auto;
    max-height: 0px;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;    
    box-sizing:border-box;
    display:none;
    padding-bottom:30px
}

   #MenuDiv.active-nav #MenuItemHolder {
    max-height: 9999px;
    visibility: visible;
    opacity: 1;display:block;
     

}

     #MenuDiv.active-nav a.subMenu span::after {
    content: "\f00d";
    top: -1px;
    right: -30px;
    position: absolute;
    font-family: FontAwesome;
    box-sizing:border-box
}
    a.subMenu {
        display: block;
        cursor:pointer;
        
    }
    td#MenuHolder{padding:0;border-right:none!important}

    
}

div.contentWrap, #footer, #TitleHolder {
    min-width:730px
}