
html {
  -webkit-overflow-scrolling: touch;
  height: 100%;

}
body {
  -webkit-overflow-scrolling: touch;
  font-family: 'Open Sans';
}

/*Copied from Default */

.hidden.menu {
  display: none;
}
.masthead.segment {
  padding: 1em 0em;
}
.masthead .logo.item img {
  margin-right: 1em;
}
.masthead .ui.menu .ui.button {
  margin-left: 0.5em;
}
.masthead h1.ui.header {
  margin-top: 3em;
  margin-bottom: 0em;
  font-size: 4em;
  font-weight: normal;
}
.masthead h2 {
  font-size: 1.7em;
  font-weight: normal;
}
.ui.vertical.stripe {
  padding: 8em 0em;
}
.ui.vertical.stripe h3 {
  font-size: 2em;
}
.ui.vertical.stripe .button + h3,
.ui.vertical.stripe p + h3 {
  margin-top: 3em;
}
.ui.vertical.stripe .floated.image {
  clear: both;
}
.ui.vertical.stripe p {
  font-size: 1.33em;
}
.ui.vertical.stripe .horizontal.divider {
  margin: 3em 0em;
}
.quote.stripe.segment {
  padding: 0em;
}
.quote.stripe.segment .grid .column {
  padding-top: 5em;
  padding-bottom: 5em;
}
.footer.segment {
  padding: 5em 0em;
}
.secondary.pointing.menu .toc.item {
  display: none;
}
.secondary.pointing.menu .toc.item .sidebar.icon {
  font-size: 2em;
}

@media only screen and (max-width: 700px) {
  .ui.fixed.menu {
    display: none !important;
  }
  .ui.container.nav {
      max-height:0;
  }
  .secondary.pointing.menu .item,
  .secondary.pointing.menu .menu {
    display: none;
  }
  .secondary.pointing.menu .toc.item {
    display: block;
    position:absolute !important;
    top:20px;
    left:0;
    border-bottom-width:0px !important;
  }

  .masthead h1.ui.header {
    font-size: 2em;
    margin-top: 1.5em;
  }
  .masthead h2 {
    margin-top: 0.5em;
    font-size: 1.5em;
  }
}

.vert-container{
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pusher{
  overflow-y: auto !important;
  height:100%;
}

/*Colors*/

.red{
  background-color:#b81f1f !important;
}

.ui.red.label{
  background-color:#b81f1f !important;
}

.ui.green.label{
  background-color:#448553 !important;
}

/*hovers*/

.column .third-content:hover{
  border-bottom:3px solid #b81f1f;
}

/*images*/

.header-image{
  overflow: hidden;
  min-height: 250px;
  object-fit: cover;
  height: auto;
  flex:inherit;
}

.home-image{
  height:auto;
  width:100%;
  margin-bottom: 12px
}

.logo-bar img{
  max-width: 600px;
  width:100%;
}

.ui.fluid.image.content{
  min-height: 100% !important;
    max-height: 100% !important;
}

.ui.fluid.image{
  max-height: 300px;
  object-position: bottom;
}

.ui.fluid.image.news{
  max-height: 100%;
}

/*page containers*/

.content-container{
  width:100%;
  display: inline-block;
  padding: 40px 24px 60px 24px;
  margin: auto;
  flex: 1 0 auto;
}

.footer-container{
  margin: auto;
  width: 100%; 
  text-align:center;
  flex: none;
  padding:18px 0px 8px 0px;
  position: relative;
  background-color: #1d3352;
}

.footer-container p{
  margin-bottom: 4px;
}

.footer-container.ui.grid{
  margin: 0px;
}

/* Tablet */
@media only screen and (max-width: 767px){
  .footer-container .flex-item:nth-of-type(1) { order: 2; }
  .footer-container .flex-item:nth-of-type(2) { order: 1; }
  .footer-container .flex-item:nth-of-type(3) { order: 3; }
  .ui.grid .footer-text{padding-bottom: 5px !important;}
  .footer-container{padding-bottom: 10px;}
}

@media only screen and (max-width: 767px) {
  .column:nth-child(n+2)>.third-content>a>h2{
  display: none;
  }
  .ui.large.menu .item{
    font-size: 10px !important;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .ui.grid.container {
    width: auto !important;
  }
  .ui.large.menu .item{
    font-size: 11px !important;
  }
  .ui.container.nav{
  width:760px !important;
  margin-left: auto !important;
  margin-right:auto !important;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .ui.container {
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .ui.grid.container {
    width:auto !important;
  }
  .ui.container.nav{
  width:850px !important;
  margin-left: auto !important;
  margin-right:auto !important;
  }
}

@media only screen and (min-width: 1199px) {
  .ui.container.nav{
  width:850px !important;
  margin-left: auto !important;
  margin-right:auto !important;
  }
}

@media only screen and (max-width: 768px) {
    .content-container{
      padding: 30px 0px 60px 0px;;
    }
  }

.ui.text.container{
  max-width: 800px !important;
}

.social-media-icon{
  padding-top: 0.5em;
  width:60px;
  text-align: center;
  margin: auto;
  position: absolute;
  right:60px;
  bottom: 50px;
}

.footer-container i:hover{
  font-size: 42px;
  color: white;
}

.footer-container .sm-icon-left{
  float: right;
}

.footer-container .sm-icon-right{
  float: left;
}

.footer-container .ui.grid{
  margin: 0px;
}

.third-content{
  padding-bottom: 10px;
  border-bottom:3px solid white;
}

.second-column-home{
  padding-top:28px;
}

.club-content{
  margin-top: 10px;
}

/*fonts*/

.content-container.home-top {
padding:36px 0px 36px 0px;
background-color:#f2f4f7;
}


.home-intro{
  text-align: center;
}


.content-container .home-intro h3 {
  padding: 0px 0px 0px 0px;
  font-size: 16px;
color: rgb(94, 94, 109);
}

@media only screen and (min-width: 992px){
.content-container .home-intro h3 {
  font-size: 21px;
  font-family: "Open Sans";
  line-height: 30px;
  font-weight: 400;
  padding: 0px 100px 0px 100px;
  }
}


 @media only screen and (min-width: 768px) and (max-width:991px){
  .content-container .home-intro h3 {
  padding: 0px 40px 0px 40px;
  color: rgb(116, 116, 121);
} 
} 







.content-container h2{ 
  font-size:28px;
  font-family:"Open Sans";
  line-height:34px;
  letter-spacing: -0.5px;
  font-weight:400;
  border-left:4px solid #b81f1f;
  padding-left:8px;
  margin-bottom:15px;
  color: black;
}

.content-container h3{
  font-size:18px;
  font-family:"Open Sans";
  font-weight:400;
  color: #2a392a;
  margin:0px 0px 0px 0px;
}

.content-container p{
  font-size:14px;
  font-weight:normal;
  font-family:"Open Sans";
  color: #5f5f5f;
}

.content-container ul{
  font-size:14px;
  font-weight:normal;
  font-family:"Open Sans";
  color: #5f5f5f;
  padding-inline-start: 16px;
}

.footer-container p{
  font-family:"Open Sans";
  font-size:11px;
  color:#ffffff;
}

.footer-container a{
  font-family:"Open Sans";
  font-size:11px;
  color:#bac2cc;
}

.footer-container a>i{
  font-size: 40px;
  padding-top: 22px;
  transition: color 0.6s ease, font-size 0.3s ease;
}

.address{
  color: #bac2cc !important;
}

.ui.text.container td{
  font-size:14px;
  font-weight:normal;
  font-family:"Open Sans";
  color: #5f5f5f;
}

.ui.text.container h3{
    font-size: 16px;
    padding-top: 12px;
    font-weight: 600;
    margin-top: 1.3em;
    margin-bottom: 1.0em;
}

.news-title {
  margin-left: 4rem;
}

.content-container a{
  color: rgb(30,102,167);
}

.ui.large.secondary.inverted.pointing.menu a, text{
  text-transform: uppercase !important;
}

.ui.simple.dropdown.item a{
  text-transform: uppercase !important;
}

.column.news:nth-child(n+2)>.third-content>a>h2{
  visibility: hidden;
}

.column.home:nth-child(2)>.third-content>a>h2{
  visibility: hidden;
}

.club-content td.r0,td.r1, td.r2{
  padding-top:10px;
  padding-bottom:10px;
  font-size:12px;
}

 .ui.secondary.inverted.pointing.menu .item {
  color: rgba(255, 255, 255, 0.7);
}

/*navigation*/
.ui.button.login{
  font-family: "Open Sans";
  position: absolute;
  right: 28px;
  top:24px;
  font-size: 13px;
  background-color: #2e5283;
  color: rgba(255,255,255,0.9);
}
@media only screen and (max-width: 600px) {
    .ui.button.login {
        right:10px;
        top:20px;
        font-size: 10px;
        padding:0.8em;
    }
}

.ui.button.login:hover {
  background-color: #3b68a7;
  color: rgba(255,255,255,1); 
}

.topbar-container{
  margin: auto;
  width: 100%; 
}

.nav-bar{
  margin-left:200px;
}

.ui.inverted.menu{
  background: #1d3352;
}

.ui.secondary.inverted.pointing.menu .active.item {
  border-color:#b81f1f;
}

.ui.large.secondary.inverted.pointing.menu a.item:hover{
  border-color:#b81f1f;
}

.ui.simple.dropdown.item:hover{
  border-color:#b81f1f;
}

.ui.simple.dropdown.item{
  border-bottom: 4px;
}

.ui.menu .dropdown.item .menu {
  border-radius: 0px 0px 0px 0px !important;
}

.ui.secondary.menu .item{
  border-bottom: 4px;
}

.ui.menu .ui.dropdown .menu > .item {
  border-bottom: solid 1px #9ca8b8;
  font-size: 13px;
  min-width: 160px;
}

.ui.dropdown .menu {
  border-top: 1px;
  border-left: 1px;
  border-right: 1px;
  border-bottom: 0px;
}

.ui.inverted.vertical.masthead.center.aligned.segment{
  padding:0em 0em;
}

.ui.secondary.pointing.menu .item{
  margin-bottom: 0em;
}

.ui.secondary.menu .dropdown.item > .menu {
  margin-top: 4px;
}

.ui.vertical.menu .menu .item{
  font-size: 1rem;
}

/*tables*/

.head {
  font-size: 18px !important;
  font-family: Open Sans, sans-serif;
  text-transform:uppercase;
  padding-top: 20px;
  padding-bottom: 15px;
  margin-top: 0.0em;
  margin-bottom: 0.0em
}

.r0 {
  background: #546a88;
  font-size: 13px ;
  font-family: Open Sans, sans-serif;
  margin-top: 0em;
  margin-bottom: 0em;
}

.r1 {
  background:#ffffff;
  font-size: 13px ;
  font-family: Open Sans, sans-serif; margin-top: 0em;
  margin-bottom: 0em;
}

.r2 {
  background:#edf1f5;
  font-size: 13px;
  font-family: Open Sans, sans-serif;
  margin-top: 0em;
  margin-bottom: 0em;
}

.fg0{
  color:#ffffff;
  font-weight: bold;
}

.fg1{
  font-size:12px;
  color:#5f5f5f;
}

.fg2{
  font-size:15px;
  color:#5f5f5f;
 
}

.fg3 {
  color:#546a88;
  font-size:10px;
  text-transform:uppercase;
}

.fixtures-club{
  padding-bottom: 15px;
}

td.r0,td.r1, td.r2{
  padding-top:10px;
  padding-bottom:10px;
  font-size:12px;
  padding-left:12px;
 }

.fixture-results{
  padding-top:16px;
}

/*Form Pages*/

.form_field input {
  float:right;
}

.form_field textarea {
  float:right;
}

.post-text{
  text-align: center;
  padding-top: 22px;
}

.button_group{
    text-align: center;
    margin-top: 50px;
}

.form_field {
  padding-top: 20px;
}

.ui.checkbox.field{
  margin-top: 10px !important;
}

.ui.checkbox.field label{
  font-weight: normal;
}

.equal.width.fields{
  margin-bottom: 1.25em !important;
}

.ui.grid.event-form{
  margin: 0em !important;
}

.ui.grid > .column:not(.row) {
  padding-top: 0em !important;
}


.ui.grid.race_location > .column:not(.row) {
  padding-bottom: 0em !important;
}

.ui.grid.race_location{
  padding-bottom: 1em;
}

#race_type{
    color: rgba(0, 0, 0, 0.87);
    font-size: 12px;
    font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

#form1_risk_assessment{
  border: none;
  padding-left: 0px;
  padding-top: 0px;
}

.ui.form p {
    font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    margin-bottom: 1rem;
}

.submit_button{
  text-align: center;
}

/* Adjustment to the appearance of section headings */
h3.ui.dividing.header {
    padding: 0.9rem 0.1rem 0.8rem 0.1rem;
    margin-bottom: 1.8rem;
    margin-top: 2.5rem;
    background-color: #f5f6f7;
    border-top: 0px solid rgba(34,36,38,.15);
}

h5.subsection {
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.ui.menu .ui.dropdown .menu > .item {
    font-family: "Open Sans";
    font-size: 0.9rem !important;
    padding-top:1rem !important;
    padding-bottom:1rem !important;
    border-bottom-color: #aaa !important;
}
.ui.menu .ui.dropdown .menu > .active.item {
    font-weight: 400 !important;
}
.ui.menu .ui.dropdown .menu > .item:hover{
    border-bottom-color: #aaa !important;
}

.ui.accordion .title, .ui.accordion .content {
    padding:0 !important;
}

#upload_section p {
    margin-top:1.5rem;
}
.subhead {
    font-weight: 400;
    font-size: 0.9em;
}
#acctitle {
    display:none;
}

/*Fixtures Calendar*/

.fc-center h2{
  border-left: 0px;
  padding-bottom: 20px;
}

.fc-day-number{
  font-size: 20px;
  padding: 4px 6px 4px 0px !important;
}

.fc-content{
  color: #1a1d21;
  padding: 4px 0px 4px 4px;
  transition: color 0.4s ease;
}

.fc-content:hover{
  color: #2e5283;
}

/*second line event in calendar*/
.fc-day-grid-event.fc-h-event.fc-event{
  border: solid 1px #b0bccf;
  border-left: solid 4px #3b68a7;
  background-color: #d3dae4;
}

.fc-day-grid-event.fc-h-event.fc-event.viewable:hover{
  background-color: #3b68a7;
}

.fc-day-grid-event.fc-h-event.fc-event.viewable:hover span{
  color: white !important;
}


/*first line event in calendar*/
.fc-content-skeleton tr:nth-child(odd) .fc-event{
  border: solid 1px #b0bccf;
  border-left: solid 4px #2e5283;
  background-color: #c8d3e3;
}

.fc-event-dot{
  background-color: #3b68a7;
}

@media only screen and (max-width: 767px){
  .fc-toolbar .fc-left{
    padding-left: 12px;
  }

  .fc-toolbar .fc-right{
    padding-right: 12px;
  }
}

.fc-center h2{
  padding: 0px;
  margin: 0px 0px 12px 0px;
}

.fc-toolbar .fc-left{
  padding-top: 48px;
}

.fc-toolbar .fc-right{
  padding-top: 48px;
}

.fc-next-button.fc-button.fc-state-default{
  border-radius: 3px;
  padding: 4px 4px 4px 4px;
  background-color: #b81f1f;
  color: white;
  background-image: none;
  transition: opacity 0.6s ease;
  box-shadow: none;
  text-shadow: none;
}

.fc-next-button.fc-button.fc-state-hover{
  opacity: 0.7; 
  transition: opacity 0.6s ease;
}

.fc-prev-button.fc-button.fc-state-default{
  border-radius: 3px;
  padding: 4px 4px 4px 4px;
  background-color: #b81f1f;
  color: white;
  background-image: none;
  transition: opacity 0.6s ease;
  box-shadow: none;
  text-shadow: none;
}

.fc-prev-button.fc-button.fc-state-hover{
  opacity: 0.7; 
  transition: opacity 0.6s ease;
}

.fc-month-button.fc-button.fc-state-default{
  border-top-left-radius:3px; 
  border-bottom-left-radius:3px;
  background-color: white;
  color: #2a392a;
  background-image:none;
  text-shadow: none;
  transition: 0.4s ease;
  font-family: "Open Sans";
  box-shadow: none;
  border-width: 1px;
}

.fc-month-button.fc-button.fc-state-default.fc-state-active{
  background-color: #2e5283 ;
  transition: 0.4s ease;
  color: white;
}

.fc-month-button.fc-button.fc-state-default.fc-state-hover{
  background-color: #1d3352;
  color: rgba(255,255,255,0.75);
  transition: 0.2s ease;
}

.fc-listMonth-button.fc-button.fc-state-default{
  background-color: white;
  color: #2a392a;
  background-image:none;
  text-shadow: none;
  transition: 0.4s ease;
  font-family: "Open Sans";
  box-shadow: none;
   border-width: 1px;
}

.fc-listMonth-button.fc-button.fc-state-default.fc-state-active{
  background-color: #2e5283;
  transition: 0.4s ease;
  color: white;
}

.fc-listMonth-button.fc-button.fc-state-default.fc-state-hover{
  background-color: #1d3352;
  color: rgba(255,255,255,0.75);
  transition: 0.2s ease;
}

.fc-listYear-button.fc-button.fc-state-default{
  border-top-right-radius:3px;
  border-bottom-right-radius:3px;
  background-color: white;
  color: #2a392a;
  background-image:none;
  text-shadow: none;
  transition: 0.4s ease;
  font-family: "Open Sans";
  box-shadow: none;
   border-width: 1px;
}

.fc-listYear-button.fc-button.fc-state-default.fc-state-active{
  background-color: #2e5283;
  transition: 0.4s ease;
  color: white;
}

.fc-listYear-button.fc-button.fc-state-default.fc-state-hover{
  background-color: #1d3352;
  color: rgba(255,255,255,0.75);
  transition: 0.2s ease;
}

.fc-day.fc-widget-content.fc-today{
  background-color: #e2eeff;
}

.fc-list-item-time.fc-widget-content{
  display: none;
}

.fc-widget-header{
  background-color: #2e5283 !important;
  color: white;
}

.fc-head{
  line-height: 30px;
}
/*THIS STYLES THE BACKGROUND OF THE CALENDAR !!IMPORTANT*/
.fc-bg{
 background-color: #f2f4f7;
}

.fc-row.fc-week.fc-widget-content{
  min-height: 90px !important;
  height: auto !important;
  margin-bottom: 10px;
  border-bottom: solid 1px #ddd;
  /*background-color: #e4e9f0;*/
}

.fc-scroller.fc-day-grid-container{
  height: auto !important;
}

.fc-scroller{
  height: auto !important;
}

.fc-list-empty{
  padding: 20px 0px 20px;
}
.authority{
  text-transform: uppercase;
  font-size: 10px;
  display: block;
  color: #5f5f5f;
}

.fc-day-grid-event>.fc-content {
  white-space: normal !important;
}

.fc-list-heading-main{
  padding: 0px 0px 0px 0px;
  font-weight: 400;
}

.fc-list-table td{
  padding:3px 3px 3px 8px;
}

.fc-list-table tbody{
  border-bottom: 12px solid white;
}

.fc-day-grid-event{
  margin:1px 0px 1px 0px;
}

.fc-unthemed td{
  border-color: white;
}

.fc-unthemed .fc-list-item:hover td{
  background-color: #d3dae4;
}

.fc-list-item:nth-child(odd){
  background-color: #f0f3f7;
}

/*My fixtures*/

.title.row{
  background-color: #2e5283;
  color: white;
  margin-top: 10px; 
}

.new-fixture a{
  color:white !important;
}

.ui.grid.container.fixtures .row:nth-child(2n+3){
  background-color: #fafbfc;
}

.ui.grid.container.fixtures .row:nth-child(2n+2){
  background-color: #f2f6fa;
}

.ui.grid.container.fixtures-header{
  padding-top: 15px;
}

.fixtures .row{
  padding: 0px 0px 0px 0px !important;
}

.ui.grid.container.fixtures .row:nth-child(n+2):hover{
  background-color: #c8d3e3;
  cursor:pointer;
  transition: 0.4s ease;
}

.ui.grid.container.fixtures .row .column{
  border-right: solid 1px white;
  border-top: solid 2px white;
  padding: 8px 0px 8px 8px;
  overflow-x: hidden;
}

@media only screen and (max-width: 500px){
  .ui.grid.container.fixtures .row .column{
    font-size: 12px;
  }
  .ui.small.red.label{
    font-size: 0;
  }
  .ui.small.red.label i{
    font-size: 12px;
    padding: 3px 0px 15px 9px;
  }
  .ui.small.green.label{
    font-size: 0;
  }
  .ui.small.green.label i{
    font-size: 12px;
    padding: 3px 0px 15px 9px;
  }
}

.ui .button{
  font-family: "Open Sans";
  font-weight: 400;
  padding: 0.6em 1em 0.6em 1em;

}

 .third-content .caption {
     color: #999;
 }
 .selection.dropdown {
     font-size:14px;
 }
 .card .description {
     font-size:14px;
 }
 .widget {
     font-size:30px;
 }

 span.required {
    color: #b81f1f !important;
    font-size: 1.2em;
}

@media print {
  html, body {
    height: auto !important;
    overflow: visible !important;
    -webkit-overflow-scrolling: auto !important;
  }
  
  /* Ensure content flows across pages */
  body > * {
    position: static !important;
    page-break-inside: avoid;
  }
  .sidebar.menu, .container.nav, button  {
    display: none !important;
  }
  .fc-list-view {
    border: 0 !important;
    border-width: 0 !important;
    border-style: none !important;
  }
}