/*!
Theme Name: Cimplicity Child
Theme URI: http://underscores.me/
Author: Cimplicity
Author URI: https://www.cimplicity.co.za/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cimplicity
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Spartan', "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}
/* =Fonts
-------------------------------------------------------------- */
.hf1{
	font-size: 6.5em;
    font-weight: 500;
    color: white;
	margin-block-start: 0.1em;
    margin-block-end: 0.1em;
	line-height: 0.95;
}
.hf2{
	font-size: 2.85em;
    font-weight: 400;
}
.hf3{
	font-size: 2.35em;
    font-weight: 300;
    text-transform: uppercase;
}

.ff1{
	font-size: 1.5em;
	font-weight: 600;
	text-transform: uppercase;
}
/*--------------------------------------------------------------
# Text Effects
--------------------------------------------------------------*/
.text-focus-in {
	-webkit-animation: text-focus-in 1.0s cubic-bezier(0.550, 0.085, 0.680, 0.530) 1s both;
	        animation: text-focus-in 1.0s cubic-bezier(0.550, 0.085, 0.680, 0.530) 1s both;
}
/**
 * ----------------------------------------
 * animation text-focus-in
 * ----------------------------------------
 */
@-webkit-keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes text-focus-in {
  0% {
    -webkit-filter: blur(12px);
            filter: blur(12px);
    opacity: 0;
  }
  100% {
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}

/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
	text-decoration: none;
}

a:visited {
	color: purple;
}

a:hover, a:focus, a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

a:hover, a:active {
	outline: 0;
}
/**
 * Site Header
 * -----------------------------------------------------------------------------
 */
#masthead{
	width: 100%;
	background: transparent;
}
#inner-header{
	position: relative;
	z-index: 999;
	width: 100%;
	height: 150px;
}
.skip-link{
	display: none;
}
.site-branding{
	width: 350px;
	float: left;
	padding: 0 0 0 50px;
	margin: 10px 0 0 0;
}

#header-widget-right-wrapper {
    position: relative;
    z-index: 9999;
    width: 20%;
    float: right;
    height: 40px;
    background: transparent;
}
.inner-header-widget-right-wrapper {
    position: absolute;
    right: 0;
    top: 30px;
    width: 350px;
    min-height: 10px;
    text-align: right;
    height: 50px;
    color: rgb(102, 102, 102);
    font-size: 15px;
    font-weight: 400;
}
/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
#mega-menu-wrap-menu-1 {
    clear: both;
    float: left;
    margin: -75px 0 0 400px;
    z-index: 9999;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

/**
 * Site footer
 * -----------------------------------------------------------------------------
 */
#footer-wrapper {
    margin: 0 auto;
    padding: 0;
    width: 80%;
	position: relative;
}
#footer-widget-wrapper-2{
	width: 100%;
	min-height: 100px;
	background: #222;
}
.inner-footer-widget-wrapper-2{
	width: 90%;
	margin: 0 auto;
	min-height: 50px;
	padding: 40px 0 50px 0;
	color: white !important;
	text-align: left;
	font-size: 14px;
}
.flex-container-foot{
display:-webkit-flex;
display:flex;
-webkit-flex-wrap:wrap;
flex-wrap:wrap;
-webkit-justify-content:space-between;
justify-content:space-between;
-webkit-align-items:flex-start;
align-items:flex-start;
}
#footer-sidebar {
display:block;
height: 250px;
}

.footer-box{
	width: 250px;
	min-height: 100px;
	margin: 0 auto;
}
#footer-box1{
	width: 80%;
	min-height: 100px;
	margin: 0 auto;
}

.footer-designbox{
display:-webkit-flex;
display:flex;
-webkit-justify-content:center;
justify-content:center;
	width: 90%;
        margin: 50px auto 0px auto;
    min-height: 80px;
}
.site-info{
	width: 50%;
	min-height: 15px;
    text-align: center;
    font-size: 1rem;
}
.site-name{
	width: 250px;
	min-height: 15px;
	padding-left:10px;
	padding-right:10px;
	font-size: 1rem;
}
.designed-by{
	width: 110px;
	min-height: 15px;
	padding-left:10px;
	font-size: 1rem;
}
.designed-by2{
	width: 60px;
	min-height: 15px;
	padding-left:10px;
	font-size: 1rem;
}
.sep{
	width: 5px;
	min-height: 15px;
	color: white !important;
	font-size: 1rem;
}
.foot1{
	width: 100%;
	min-height: 5px;
	padding: 5px 0;
}
.foot{
  position: absolute;
  top: 50%;
  left: 0%;
  /*transform: translate(-50%);*/
}
.foot2{
	color: white !important;
	font-size: 0.85em;
}
.foot2:hover{
	color: #d3222a !important;
}
.foot3{
	font-size: 1.2em;
}
.foot4{
	font-size: 0.85em;
}
/**
* Custom
* -----------------------------------------------------------------------------
 */
.grecaptcha-badge { opacity:0;}
a#scroll-to-top {
    z-index: 999 !important;
	bottom: 50px;
}
.entry-title{
	display: none;
}
img{
	max-width: 100%;
}
#wrapper{
	width: 100%;
	min-height: 50px;
	margin: 0;
	padding: 0;
}
/*** Home Page* ----------------------------------------------------------------------------- */
#content1{
	position: relative;
	width: 100%;
	height: 800px;
	margin: 0;	
}
.innercontent1{
	position: absolute;
    top: 0;
    left: 0;
    width: 700px;
    height: 700px;
    margin: 0 auto;
    z-index: 1;
}
.innercontent11{
	position: absolute;
    z-index: 5;
    top: -50px;
    right: 0;
    width: 70%;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
}
.innercontent111{
	position: absolute;
    z-index: 13;
    top: 100px;
    left: 100px;
    width: 70%;
    min-height: 250px;
    margin: 0 auto;
}
#content2, #content3{
	position: relative;
	width: 100%;
	min-height: 100px;
	margin: 0;
	background: white;
}
.innercontent2, .innercontent3{
	position: relative;
	width: 70%;
	min-height: 20px;
	margin: 0 auto;
	padding: 0;
}
#content4{
	position: relative;
	width: 100%;
	min-height: 300px;
	margin: 0;
	background: #c7eafb;
}
.innercontent4{
	width: 70%;
	min-height: 300px;
    margin: 0 auto;
    padding: 80px 0;
	text-align: center;
	color: rgb(102, 102, 102);
}
#content5{
	position: relative;
	width: 100%;
	min-height: 300px;
	margin: 0;	
}
.inner-content5{
	width: 70%;
	height: 350px;
	margin: 0 auto;
	text-align: center;
}

.double-block{
display:-webkit-flex;
display:flex;
-webkit-flex-wrap:wrap;
flex-wrap:wrap;
-webkit-justify-content:center;
justify-content:center;
}
.double-block2{
display:-webkit-flex;
display:flex;
-webkit-flex-wrap:wrap;
flex-wrap:wrap;
-webkit-justify-content:center;
justify-content:center;
}
.innerblock1, .innerblock2, .innerblock3, .innerblock4, .innerblock5{
	width: 500px;
	min-height: 1.5em;
	padding: 1.5em;
}
.wwdbox, .wwdbox2{
	width: 60%;
    margin: 0;
    min-height: 1.5em;
    padding: 2.5em;
    border: 1px grey solid;
}
/*** Other Page* ----------------------------------------------------------------------------- */
#content8{
	position: relative;
	width: 100%;
	height: 800px;
	margin: 0;	
}
.innercontent8{
	position: absolute;
    top: 0;
    left: 0;
    width: 650px;
    height: 450px;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}
.innercontent88{
	position: absolute;
    z-index: 5;
    top: 160px;
    right: 0;
    width: 70%;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
}
.innercontent888{
	position: absolute;
    z-index: 13;
        top: 300px;
    left: 100px;
    width: 70%;
    min-height: 50px;
    margin: 0 auto;
}
#content9{
	position: relative;
	width: 100%;
	min-height: 100px;
	margin: -300px 0 0 0;
	background: white;
}
.innercontent9{
	position: relative;
	width: 70%;
	min-height: 20px;
	margin: 0 auto;
	padding: 0;
}

.main-line{
	border-bottom: 1px solid whitesmoke;
	padding: 20px 0 20px 0;
	width: 80%;
	margin: 0 auto;
}
/*** Buttons* ----------------------------------------------------------------------------- */
.callbtn{
	    width: 200px;
    min-height: 1.5em;
    border-radius: 60px;
    background: #d3222a;
    padding: .65em 0.7em;
    color: white;
    text-align: center;
}
.btn1, .btn2{
	width: 250px;
    min-height: 1.5em;
    border-radius: 60px;
    background: #d3222a;
    padding: .85em;
    color: white;
    text-align: center;
	    margin-top: 2.5em;
	transition: 0.5s;
	transition-timing-function: ease-out;
}
.btn1:hover, .btn2:hover{
	background: black;
	color: white;
}
/*** Block reveal* ----------------------------------------------------------------------------- */
.bigger {
  margin: 0;
  font-size: 60px;
  font-weight: 800;
  padding: 20px;
  text-transform: uppercase;
  color: #baff00;
  display: inline-block;
  position: relative;
}

.text {
  max-width: 600px;
  width: 100%;
  line-height: 24px;
  text-align: left;
  color: #404040;
  padding: 20px;
}

.has-animation {
  position: relative;
}
.has-animation p, .has-animation img {
  opacity: 0;
}
.has-animation.animate-in p, .has-animation.animate-in img {
  animation: textHidden 0.1s 1.1s forwards;
}
.has-animation.animate-in:before, .has-animation.animate-in:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  z-index: 10;
}
.has-animation.animate-in:before {
  background-color: #eee;
}
.has-animation.animate-in:after {
  background-color: #d3222a;
  animation-delay: 0.1s;
}
.has-animation.animation-ltr.animate-in:before {
  animation: revealLTR 0.8s ease;
}
.has-animation.animation-ltr.animate-in:after {
  animation: revealLTR 1s 0.8s ease;
}
.has-animation.animation-rtl.animate-in:before {
  animation: revealRTL 0.8s ease;
}
.has-animation.animation-rtl.animate-in:after {
  animation: revealRTL 1s 0.8s ease;
}

@keyframes revealRTL {
  0% {
    width: 0;
    right: 0;
  }
  65% {
    width: 100%;
    right: 0;
  }
  100% {
    width: 0;
    right: 100%;
  }
}
@keyframes revealLTR {
  0% {
    width: 0;
    left: 0;
  }
  65% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes textHidden {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/**
* Social Media
* -----------------------------------------------------------------------------
 */

#social {
    width: 94px;
    margin: 20px auto;
    text-align: center;
}

.social-links a{
  text-align:center;
	float: left;
	width: 36px;
	height: 36px;
	border: 2px solid #909090;
	border-radius: 100%;
	margin-right: 7px; /*space between*/
    display: flex;
    align-items: flex-start;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
} 
.social-links a i{
	font-size: 20px;
    align-self:center;
	color: #909090;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    margin: 0 auto;
}
.social-links a i::before{
  display:inline-block;
  text-decoration:none;
}
.social-links a:hover{
  background: rgba(0,0,0,0.2);
}
.social-links a:hover i{
  color:#fff;
}
/**
* Contact Form
* -----------------------------------------------------------------------------
 */
#cf7md-form .mdc-button::before, #cf7md-form .mdc-button::after, #cf7md-form .mdc-button--raised:not(:disabled), #cf7md-form .mdc-button--unelevated:not(:disabled) {
    background-color: #d3222a;
	padding: 2.05em 4.95em;
}
#cf7md-form .mdc-button--raised:not(:disabled):hover, #cf7md-form .mdc-button--unelevated:not(:disabled):hover {
    background-color: #013920;
	padding: 2.05em 4.95em;
}
/**
* Tables
* -----------------------------------------------------------------------------
 */
/* 
Generic Styling, for Desktops/Laptops 
*/
table { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
tr:nth-of-type(odd) { 
  background: #eee; 
}
th { 
  background: #333; 
  color: white; 
  font-weight: bold; 
}
td, th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "Race"; }
	td:nth-of-type(2):before { content: "Start Time"; }
	td:nth-of-type(3):before { content: "Early Bird Fee"; }
	td:nth-of-type(4):before { content: "Pre Entry Fee"; }
	td:nth-of-type(5):before { content: "Late Entry Fee"; }
}

/* =Media Queries
-------------------------------------------------------------- */
@media screen and (max-width: 1830px) {
.inner-header-widget-right-wrapper {
    right: 0;
}
}
@media screen and (max-width: 1730px) {
.inner-header-widget-right-wrapper {
    right: -100px;
}
}
@media screen and (max-width: 1630px) {

}
@media screen and (max-width: 1600px) {
.innercontent2, .innercontent3, .innercontent9 {
    width: 80%;
}
}
@media screen and (max-width: 1560px) {
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item {
    margin: 0 40px 0 0;
}
}
@media screen and (max-width: 1540px) {
.hf1 {
    font-size: 5.5em;
}
}

@media screen and (max-width: 1400px) {
.innercontent2, .innercontent3, .innercontent9 {
    width: 90%;
}
}
@media screen and (max-width: 1350px) {
#mega-menu-wrap-menu-1 #mega-menu-menu-1 > li.mega-menu-item {
    margin: 0 20px 0 0;
}
}
@media screen and (max-width: 1350px) {
#content1 {
    height: 700px;
}
.innercontent1 {
    height: 600px;
    overflow: hidden;
}
.innercontent8 {
    overflow: hidden;
}
.innercontent11 {
    width: 60%;
    height: 1000px;
}
.innercontent88 {
    width: 60%;
}	
.innercontent111, .innercontent888 {
         top: 300px;
    left: 50px;
}	
.hf1 {
    font-size: 4.5em;
}
}
@media screen and (max-width: 1260px) {
#inner-header {
    height: 220px;
}
#mega-menu-wrap-menu-1 {
    float: none;
    margin: 0 0 0 50px;
}	
}
@media screen and (max-width: 1250px) {
.innercontent11 {
    width: 70%;
}
.innercontent2, .innercontent3 {
    width: 100%;
}	

}
@media screen and (max-width: 1234px) {
.innerblock4 {
    width: 90%;
	margin: 0 auto;
	text-align: center;
}
.innerblock5 {
    width: 90%;
	margin: 0 auto;
	text-align: center;
}
.wwdbox2 {
    width: 80%;
    margin: 0 auto;
}	
.btn2 {
    margin-top: unset;
    margin: 2.5em auto;
}	
}
@media screen and (max-width: 1230px) {

.innercontent88 {
   top: 210px;
}	
.innercontent111, .innercontent888 {
    top: 380px;
}	
}
@media screen and (max-width: 1200px) {
#content1 {
    height: 600px;
}
.innercontent1 {
    height: 550px;
}
.innercontent8 {
    height: 450px;
}	
.hf1 {
    font-size: 3.5em;	
}
.innercontent11, .innercontent88 {
    width: 65%;
}	
}
@media screen and (max-width: 1120px) {
.footer-box {
    width: 250px;
    min-height: 100px;
    margin: 20px auto;
}
}
@media screen and (max-width: 1100px) {
#content1 {
    height: 550px;
}
.innercontent1 {
    height: 500px;
}
.innerblock1 {
    width: 80%;
	margin: 0 auto;
	text-align: center;
}
.double-block2 {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    flex-direction: column;
}	
.innerblock2 {
    width: 80%;
	margin: 0 auto;
	text-align: center;
}
.innerblock3 {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    height: 400px;
    overflow: hidden;
    padding: 1.5em 0 2.5em 0;
}

.wwdbox {
    width: 80%;
    margin: 0 auto;
}
.btn1 {
    margin-top: unset;
	margin: 2.5em auto;
}	
}
@media screen and (max-width: 1050px) {

}
@media screen and (max-width: 1000px) {
#inner-header {
    height: 150px;
}
.innercontent1 {
    height: 400px;
    width: 100%;
	background: #013920;
}
.innercontent8 {
    height: 250px;
    width: 100%;
	background: #013920;
}	
.innercontent11 {
    width: 100%;
    top: 350px;
    height: 250px;
    overflow: hidden;
}	
.innercontent88 {
    width: 100%;
    top: 300px;
    height: 250px;
    overflow: hidden;
}		
.innercontent111 {
    top: 60px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.innercontent888 {
    top: 220px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
}
.btn1 {
    margin-top: unset;
    margin: 2.5em auto;
}
.innercontent2 {
    margin: 50px 0 0 0;
}
.innercontent3 {
    margin: -50px 0 50px 0;
}
.hf2 {
    font-size: 2.085em;
}	
#content9 {
    margin: -200px 0 0 0;
}	
.footer-designbox {
   flex-direction: column;
}
.site-info {
    width: 100%;
}
.sep {
    display: none;
}
.designed-by {
    text-align: center;
    margin: 0 auto;
}
	.hf1 {
    font-size: 3.05em;
}
#content8 {
    height: 620px;
}	
}
@media screen and (max-width: 950px) {

}
@media screen and (max-width: 768px) {
#mega-menu-wrap-menu-1 {
    float: none;
    margin: 0;
}
.hf1 {
    font-size: 2.5em;
}	
}
@media screen and (max-width: 680px) {
.site-branding {
    padding: 0;
}
.inner-header-widget-right-wrapper {
    right: -120px;
}	
}
@media screen and (max-width: 610px) {
.hf1 {
    font-size: 2.05em;
    line-height: 1.25em;
}
}
@media screen and (max-width: 580px) {
#inner-header {
    height: 220px;
}
.site-branding {
    float: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
}
#header-widget-right-wrapper {
    float: none;
    margin: 0 auto;
	    width: 100%;
}	
.inner-header-widget-right-wrapper {
    top: 150px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 280px;
}
.callbtn {
    width: 220px;
    min-height: 1.5em;
    border-radius: 60px;
    background: #d3222a;
    padding: .65em 0.7em;
    color: white;
    text-align: center;
    margin: 0 auto;
}
#mega-menu-wrap-menu-1 {
    float: none;
    margin: 80px 0 0 0;
}
.innercontent88 {
    top: 400px;
}
.innercontent888 {
    top: 330px;
}	
}

@media screen and (max-width: 500px) {
.hf1, .hf2 {
    font-size: 1.75em;
}
}
@media screen and (max-width: 480px) {
.wwdbox2 {
    width: 80%;
    margin: 0 auto;
    padding: 2.5em 0;
}
}




