@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700");

html {
  font-size: 100%;
}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*Main Page*/
body {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  color: #777777;
  font-size: 16px;
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
  background-color: #ffffff;
}

img {
  border: 0;
}
a {
  outline-style: none;
}

/***********************************************************************************************************/
/***********************************************************************************************************/
/*Website header*/
div#TitleHolder {
  min-width: 950px;
}
div#TitleHolder table {
  display: none;
}

.slideshowCustom {
  width: 100%;
  position: relative;
  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-top: 30.2%;
  background-color: #333;
  top: 142px;
}
.slideshowCustom .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  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;
  top: 0;
  left: 0;
}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*Footer*/
div#footer {
  min-width: 950px;
  width: 100%;
  height: auto;
  background-color: #1c1d24;
  z-index: 1;
  position: relative;
}
div#footer table {
  width: 100%;
  margin: 0 auto;
  height: 100px;
}
/*left hand cell of footer*/
#footerCrest {
}
/*text in footer on the right*/
#footerText {
  color: #ffffff;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  font-size: 12px;
}
#footerText a {
  color: #ffffff;
}

a.cookies::before,
a.login::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 1em;
  width: 1px;
  margin: 0 9px;
  background-color: #ffffff;
}

#whitelogo img {
  position: absolute;
  top: 24px;
  right: 20px;
  height: 55px;
}

/***********************************************************************************************************/
/***********************************************************************************************************/
/*Page layout div and table*/

div#MainContainer {
}
table#Content {
  max-width: 1200px;
  width: 100%;
  margin: 70px auto;
  margin-bottom: 0;
  border-collapse: collapse;
  border-top: 0px;
  min-width: 950px;
}

body.PopUpWindow table#Content {
  width: 700px !important;
  min-width: 700px !important;
  max-width: 700px !important;
}

td#MenuHolder {
  width: 24%;
  vertical-align: top;
  padding: 5px;
  padding-left: 30px;
}
td#ContentHolder {
  vertical-align: top;
  padding: 10px 30px;
}

/*main titles on each page*/
h5 {
  background-color: #fff;
  color: #343744;
  line-height: 1.7;
  clear: both;
  margin: 15px 0px 15px 0px;
  padding: 7px 0px 12px 0px;
  font-weight: Normal;
  font-size: 30px;
  font-family: "Open Sans", sans-serif;
}

/*Scrolling div scrollbar and border colors - e.g. fixtures and results boxes on homepage*/
div.Scrolling {
  overflow-x: hidden;
  overflow-y: scroll;
  height: 334px !important;

  scrollbar-face-color: #353744;
  scrollbar-track-color: #fff;
  scrollbar-shadow-color: white;
  scrollbar-highlight-color: white;
  scrollbar-3dlight-color: white;
  scrollbar-darkshadow-color: white;
  scrollbar-arrow-color: #353744;
  padding-right: 10px;
}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*Main menu styles*/
td#MenuHolder img.Crest,
p#MenuCrestHolder {
  display: none;
}
div#MenuDiv {
}
div#MenuDiv h4.title {
  color: #353744;
  line-height: 1.7;
  margin: 0;
  border: 0;
  vertical-align: baseline;
  margin-bottom: 20px;
  padding: 7px 0;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  margin-top: -5px;
  padding-top: 0px;
}

a.MenuItem span {
  padding: 0 !important;
  margin: 0 !important;
}
/*Menu Items*/

#MenuItemHolder ul {
  margin-top: -7px !important;
}

#MenuItemHolder ul li {
  padding: 10px 0;
  padding-left: 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#MenuItemHolder ul li:last-child {
  border-bottom: none;
}

a.MenuItem {
  background-image: none !important;
  background-color: transparent !important;
  text-align: left;
  display: block;
  white-space: nowrap;
  border-radius: 0px;
  border: 0 !important;
  color: #1c1d24 !important ;
  padding: 5px 0;
}

a.CurrentMenuItem {
  background-color: transparent !important;
  color: #2ab9c7 !important;
  padding-left: 5px;
  font-weight: bold;
}
a.MenuItem:hover {
  background-color: transparent !important;
  transition: all 0.2s ease-in-out;
  color: #2ab9c7 !important;
}

a.CurrentMenuItem:hover {
  color: #2ab9c7 !important;
  font-weight: bold;
}

/*Sub menu dropdown holder*/
div.SubMenu {
  margin: 5px 5px 10px 10px;
  display: none;
  font-size: 0.9em;
}

/*School website link in menu - showing by default*/
a#SchoolHomeMenuLink {
  display: block;
}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*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;
}
p#SS {
  margin: 0px;
  margin-top: 10px;
  margin-left: -10px;
  display: none;
}

/***********************************************************************************************************/
/***********************************************************************************************************/

/*General styles below which don't normally need to be edited*/
.invisible {
  display: none;
}
a,
#accordion a,
#accordion2 a,
.accordion a,
.tabs a {
  color: #353744;
  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;
}
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: 214px;
  margin: 0 auto;
  border: 0px;
}
table.DetailsTable,
table.edDetailsTable {
  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;
}

a.login::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 1em;
  width: 1px;
  margin: 0 9px;
}

/*header styles*/
#TitleHolder *,
#TitleHolder *::before,
#TitleHolder *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/*media screen*/
.header {
  position: fixed;
  width: 100%;
  border-bottom: 6px solid #ccc;
  padding: 10px 20px 10px;
  background: #ffffff;
  z-index: 10;
  min-width: 750px;
}
/*media screen*/
.header::before {
  content: "";
  position: absolute;
  right: 66.66%;
  width: 50%;
  height: 6px;
  bottom: -6px;
  background: linear-gradient(90deg, #ffcc07, #ffcc07 50%, #e10d79);
}
/*media screen*/
.header::after {
  content: "";
  width: 0px;
  border-style: solid;
  border-width: 3px 6px;
  border-color: #ccc #ccc transparent transparent;
  position: absolute;
  bottom: -6px;
  right: 66.66%;
}

div.SchoolLinks {
  float: right;
  margin: 10px 20px 10px 20px;
}

div.SchoolLinks ul {
  padding: 0;
  margin: 0;
  margin-top: 10px;
  clear: both;
}

div.SchoolLinks li.navitem {
  display: inline-block;
  border: solid #ccc;
  text-align: center;
  border-width: 0 0 0 1px;
  padding: 0 0.7rem;
}

:first-child.navitem {
  border-left-width: 0px !important;
}
:last-child.nav__item {
  border-right-width: 0px !important;
}

.main_logo {
  vertical-align: middle;
  margin: 10px 0 0 20px;
  width: 40%;
  float: left;
}

img.Crest {
  height: 100px;
}

a.linkbutton:hover {
  color: #2ab9c7;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.contentwrapper {
  position: relative;
  padding-top: 150px;
  padding-bottom: 70px;
  margin: 0 auto;
  min-width: 950px;
}
/*
    .contentwrapper:before {
        display: block;
        position: absolute;
        background: url(images/SOCS_Icon_Colour.png) 50% 75% no-repeat;        
        width:100%;
        height:100%;
        content:' ';
        background-size:cover;
        opacity:0.1;    
        z-index:-2;    
        left:0;
        top:0
    }
    */

span.main_schoolname {
  display: inline-block;
  top: 40px;
  position: absolute;
  margin-left: 20px;
  font-size: 1.4em;
  line-height: normal;
}

#FYS_WhistleLink {
  display: block;
  text-decoration: none;
  float: right;
  padding-right: 0.7rem;
  padding-bottom: 30px;
}
#FYS_WhistleLink img {
  vertical-align: middle;
  height: 40px;
}

.socstitle {
  padding-left: 10px;
  font-size: 0.8em;
}

.main_logo .main_schoolname {
  font-weight: bold;
}

span#schoolsports {
  font-weight: normal !important;
  display: block;
}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  padding: 0.5em 0.5em !important;
}
