/*
Theme Name: Twenty Seventeen
Theme URI: https://wordpress.org/themes/twentyseventeen/
Author: the WordPress team
Author URI: https://wordpress.org/
Template: twentyseventeen
Description: Twenty Seventeen brings your site to life with header video and immersive featured images. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device.
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
/****************************
 * big screen styling
 ****************************/ 
 /*.row {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	flex-wrap: wrap;
  }
  .row > [class*='col-'] {
	display: flex;
	flex-direction: row;
  } */
  #messageRaised {
	background-color: red;
	color: palegoldenrod;
	text-align: center;
}
.responsive {
  max-width: 50%;
  height: auto;
}
.confirmedCelebrationText, .provisionalCelebrationText, .activityCelebrationText {
  justify-content: center;
  align-items: center;	 
  font-size: 3rem;
  word-wrap: normal;
  background: rgba(76, 175, 80, 0.3);	
  color: white;
} 
.celebrationBackground {
  background-image: url("assets/fireworks.gif");
  background-size: cover;	 

}
.bigScreenH1 {
  text-align: center;
}
svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.background.dataTable.no-footer {
  border-bottom: 0 solid #fff;
}

.background>thead>tr>th,
.background>tbody>tr>td {
  background-color: #eded00;	
  border: 2px solid #fff;	
  border-radius: 5px;
}

.background>div {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 3em;
  top: 0;
  left: 0;
}

.bottom {
  position: absolute;
  bottom: 1px;
  left: 1px;
  padding-left: 1em;
}

.top {
  position: absolute;
  top: 1px;
  right: 1px;
  padding-right: 1em;
}

#celebration {
  width: 50px;
  height: 50px; 
  background-color: red;
  border-radius: 15px;
  position: relative;
}  
.celebrate {
  animation-name: example;
  animation-duration: 6s;
  animation-iteration-count: 2;
  /*animation-direction: alternate;  */
}
/* Celebration styling */
@keyframes example {
  0%   {background-color:red; left:0px; top:0px;transform: rotate(-360deg);}
  25%  {background-color:yellow; left:90%; top:0px;transform: rotate(360deg);}
  50%  {background-color:blue; left:0px; top:0px;transform: rotate(-360deg);}
  75%  {background-color:green; left:90%; top:0px;transform: rotate(360deg);}
  100% {background-color:red; left:0px; top:0px;transform: rotate(-360deg);}
}
/* marquee ticker styling */
.simple-marquee-container *{
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -o-box-sizing:border-box;
  box-sizing:border-box;
  font-family:Arial, "Helvetica Neue", Helvetica, sans-serif;
}
.simple-marquee-container {
  width: 100%;
  background: grey;
  float: left;
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  height: 45px;
  position: relative;
  cursor: pointer;
}

.simple-marquee-container .marquee-sibling {
  padding: 0;
  background: red;
  width: 10%;
  height: 45px;
  line-height: 42px;
  font-size: 1.5rem;
  font-weight: normal;
  color: #ffffff;
  text-align: center;
  float: left;
  left: 0;
  z-index: 2000;
}

.simple-marquee-container .marquee, .simple-marquee-container *[class^="marquee"] {
  display: inline-block;
  white-space: nowrap;
  position:absolute;
}

.simple-marquee-container .marquee{
margin-left: 25%;
}

.simple-marquee-container .marquee-content-items{
display: inline-block;
padding: 5px;
margin: 0;
height: 45px;
position: relative;
}

.simple-marquee-container .marquee-content-items li{
display: inline-block;
line-height: 35px;
color: #fff;
}

.simple-marquee-container .marquee-content-items li:after{
  content: "|";
  margin: 0 1em;
} 

.marquee-2, .marquee-3, .marquee-4, .marquee-5,.marquee-6, .marquee-7, .marquee-8, .marquee-9 {
  display:none !important;
}

/* primary class styling */
.page.page-one-column:not(.twentyseventeen-front-page) #primary {
  max-width: 100%;
}

/*--> fix dataTables css bug on search box --> */
.dataTables_wrapper .dataTables_filter input {
  margin-left: 0 !important;
}


/* bring editor form from modal window to the front on admin dashboard*/
.page-template-SportsForChampionsSchoolSearchTemplate .DTED_Lightbox_Wrapper,
.page-template-SportsForChampionsAdminDashboard .DTED_Lightbox_Wrapper {
  z-index: 1500 !important;
}

/* editor form full width */
div.DTED_Lightbox_Wrapper {
    left: 1em;
    right: 1em;
    margin-left: 0;
    width: auto;
}

/* editor form multi-colum */
div.DTE_Body div.DTE_Body_Content div.DTE_Field {
    width: 50%;
    padding: 5px 20px;
    box-sizing: border-box;
}
 
div.DTE_Body div.DTE_Form_Content {
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#DTE_Field_fao_content {
  padding: 3px;
  width: 100%;
  height: 80px;
  word-wrap:break-word;
}

.editor-datetime-table {

	border-spacing: 0 !important;
	padding: 1% 2%;
	margin: 0 !important;
}
.editor-datetime-iconRight {
	display: block;
}


/*--> bootstrap 4 styling --> */
.dataTables_wrapper button {	
	background-color: hsl( 48, 50%, 46% ) !important;
	background-image: linear-gradient(to bottom, rgb(240, 110, 87) 0%, #e70a0a 100%)
}




/* editor form multi-colum END */

.entry-header {
	display: none;
}
.s4cWrap {
	width:100% !important;
	max-width:100%;
	margin-left:0;
	margin-right:0;
	padding-left:0;
	padding-right:0;
}
#s4cPrimary {
	/* width:95%; */
	display:table-cell;
	top:0;
}

#s4cSecondary {
  /*  width:5%; */
	display:table-cell;
	top:0;
	padding: 10px;
}

.widget-title {
	text-align: center;
}
.childDiv{
   display:inline-block;
   text-align: center;
   width:45%;
   padding: 5px;
   top: 0;
}

/*-->    HEADER                  <--*/

.callbacksMessage {
	background-color:red;
	color: white;
	font-size: 16px;
	float: right;
}

/*-->    LOGIN                   <--*/

.tml-login {
		width:300px;
		margin-left: auto;
		margin-right: auto;		
}
.tml-message {
	border-left-color: #b0983b;
}

/*-->    SCHOOL SEARCH				<--*/

#schoolSearchForm p #txtsearch {
	max-width: 324px;
}

#schoolModal {
    padding: 10px !important;
}
#schoolModal .modal-dialog{
    max-width: 80%;
}

/*-->    MONEY RAISED				<--*/

.raisedWidget ul li {
	padding: 0; 
}
.raisedWidget li.raisedInfo {


  display: flex;
  align-items: center;
  justify-content: space-evenly;
  border-radius: 10px;
  height: 48px;
  font-size: 25px;
  text-align: center;
  padding: 0;
  margin: 0px;
  color: whitesmoke;
}
.raisedWidget li span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    padding: 0 25px;
}

.raisedInfoGreen {
	background: green;
}

.raisedInfoOrange {
	background: orange;
}

.raisedInfoRed {
	background-color: red !important;
}


/*-->    EVENTS				<--*/

.eventsWidget ul li {
	padding: 0; 
}
.eventsWidget li.eventsInfo {
	display:block;	
	border-radius: 50%;
	width: 150px;
	height: 150px;
   font-size: 30px;
   line-height: 150px;	
	text-align: center;
	padding: 0; 
	margin: 3px;
}
.eventsWidget li span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    padding: 0 25px;
}

.eventsInfoGreen {
	background: green;
}

.eventsInfoOrange {
	background: orange;
}

.eventsInfoRed {
	background: red;
}

/*--> CALENDAR BOOKINGS <--*/

/*--> CANCELLED <--*/

.cancNull {
background-image: linear-gradient(to right, rgba(255, 255, 51, 1) 0%, rgba(255, 255, 51, 1) 17%, rgba(255, 255, 51, 1) 33%, rgba(255, 255, 51, 1) 67%, rgba(255, 255, 51, 1) 83%, rgba(255, 255, 51, 1) 100%);  /* your gradient */
background-size: 50% 100%;
  background-repeat: no-repeat;
/*	background-color:green; */
}

.nullCanc {
  background-image: linear-gradient(to left, rgba(255, 255, 51, 1) 0%, rgba(255, 255, 51, 1) 17%, rgba(255, 255, 51, 1) 33%, rgba(255, 255, 51, 1) 67%, rgba(255, 255, 51, 1) 83%, rgba(255, 255, 51, 1) 100%);  /* your gradient */
  background-position: 100% 100%;
  background-size: 50% 100%;  
  background-repeat: no-repeat;  
}

.cancCanc {
background-image: linear-gradient(to right, rgba(255, 255, 51, 1) 0%, rgba(255, 255, 51, 1) 17%, rgba(255, 255, 51, 1) 33%, rgba(255, 255, 51, 1) 67%, rgba(255, 255, 51, 1) 83%, rgba(255, 255, 51, 1) 100%);  /* your gradient */
background-size: 100% 100%;
  background-repeat: no-repeat;
}

/*  

PROV = Orange rgba(255, 165, 0, 1)
Unav = Pale Blue rgba(102, 255, 255, 1)
CONF = Green rgba(0, 150, 0, 1)
Avail = ''
Clash = Red rgba(255, 0, 0, 1)

*/
.Unav {
	background-color: rgba(102, 255, 255, 1);
}
.PROV {
	background-color: rgba(255, 165, 0, 1);
}
.CONF {
	background-color: rgba(0, 150, 0, 1);
}
.Clash {
	background-color: rgba(255, 0, 0, 1);
}

/*-->    BOOKINGS				<--*/

.bookingsWidget ul li {
	padding: 0; 
}
.bookingsWidget li.bookingsInfo {
	display:block;	
	border-radius: 50%;
	width: 150px;
	height: 150px;
   font-size: 30px;
   line-height: 150px;	
	text-align: center;
	padding: 0; 
	margin: 3px;
}
.bookingsWidget li span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    padding: 0 25px;
}

.bookingsInfoGreen {
	background: green;
}

.bookingsInfoOrange {
	background: orange;
}

.bookingsInfoRed {
	background: red;
}
.callbackWidget ul li {
	padding: 0; 
}
.callbackWidget li.callbacksInfo  {
	display:block;	
	border-radius: 50%;
	width: 150px;
	height: 150px;
   font-size: 30px;
   line-height: 150px;	
	text-align: center;
	padding: 0;
	margin: 3px; 
}
.callbackWidget li span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
    padding: 0 25px;
}
.callbackWidget ul li.callbackCurrent{
	background: green;
}

.callbackWidget ul li.callbackDue{
	background: orange;
}

.callbackWidget ul li.callbackOverdue{
	background: red;
}

/*-->    PLUSES & MINUSES				<--*/

td.school-details-control, td.athlete-details-control, td.my-bookings-control,  td.athlete-bookings-control, td.admin-callbacks-control{
    background: url('https://datatables.net/examples/resources/details_open.png') no-repeat center center;
    cursor: pointer;
}
tr.shown td.school-details-control, tr.shown td.athlete-details-control, tr.shown td.my-bookings-control, tr.shown td.athlete-bookings-control, tr.shown td.admin-callbacks-control{
    background: url('https://datatables.net/examples/resources/details_close.png') no-repeat center center;
}

.statusCancelled {
	background: lightcoral !important;
}

.statusProvisional {
	background: darkorange !important;
}

.statusConfirmed {
	background: lightgreen !important;
}

/*--------------------- media queries -------------------*/

@media screen and (min-width: 30em) {
.site-branding {
    padding: 1em 0;
}
}
@media (min-width: 1200px) {
	.container {
		max-width: 100% !important;
	}
	.page-template-BigScreenTemplate .site-header, .page-template-BigScreenTemplate .site-footer {
		display: none;
	}
	.page-template-BigScreenTemplate .content {
		position: fixed;
		bottom: 0;
		width: 100%;
	}
}