/*
Theme Name: CODA Education
Author: Mitch Guy - CODA Education
Author URI: https://coda.education/

/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * -----------------------------------------------------------------------------
 */

/*---------------------------------
1.0 Reset 
---------------------------------*/

html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type="button"],/* 1 */
input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{height:auto}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

/*---------------------------------
2.0 Main 
---------------------------------*/

.row {
display: table;
width: 100%;
clear: both;
}

.left { float: left; }
.right { float: right; }

.mtop10 { margin-top: 10px; } .mtop20 { margin-top: 20px; } .mtop35 { margin-top: 35px; } .mtop40 { margin-top: 40px; } 
.mleft10 { margin-left: 10px; } .mleft10 { margin-left: 20px; } .mleft40 { margin-left: 40px; } 
.mright10 { margin-right: 10px; } .mright20 { margin-right: 20px; } .mright40 { margin-right: 40px; } 
.mbottom10 { margin-bottom: 10px; } .mbottom20 { margin-bottom: 20px; } .mbottom40 { margin-bottom: 40px; }
.mright1p { margin-right: 1%; }.mleft1p { margin-left: 1%; }
.mright25p { margin-right: 2.5%; }.mleft25p { margin-left: 2.5%; }
.mright3p { margin-right: 3%; }.mleft3p { margin-left: 3%; }
.mright5p { margin-right: 5%; }.mleft5p { margin-left: 5%; }

.c5 {width: 5%;} .c10 {width: 10%;} .c15 {width: 15%;} .c20 {width: 20%;} .c19 {width: 19%;} .c25 {width: 25%;} .c30 {width: 30%;} .c35 {width: 35%;} .c40 {width: 40%;} .c45 {width: 45%;} .c50 {width: 50%;} .c55 {width: 55%;} .c60 {width: 60%;} .c65 {width: 65%;} .c70 {width: 70%;} .c75 {width: 75%;} .c80 {width: 80%;} .c85 {width: 85%;} .c90 {width: 90%;} .c95 {width: 95%;} .c100 {width: 100%;}, .cauto {width: auto;}
.textcenter { text-align: center;}.textleft { text-align: left;}.textright { text-align: right;}


body {
width: 100%; height: 100%; 
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: Helvetica Neue, "proxima-nova";
}

body.home {
}

body#about {
background:url(https://realft.org/1.jpg) top center no-repeat;
background-size: 100% auto;
}

body#our-vision {
background:url(https://realft.org/2.jpg) top center no-repeat;
background-size: 100% auto;
}

body#patron {
background:url(https://realft.org/3.jpg) top center no-repeat;
background-size: 100% auto;
}

body#schools, body.blog {
background:url(https://realft.org/background.jpg) top center no-repeat;
background-size: 100% auto;
}

#snooker-champion-shaun-murphy-on-cue-to-support-r-e-a-l-foundation  {
background:url(https://realft.org/shaun-murphy.jpg) top center no-repeat;
background-size: 100% auto;
}

.single {
background:url(https://realft.org/background.jpg) top center no-repeat;
background-size: 100% auto;
}

.container {
width: 82%;
margin: 0px auto;
display: table;
}

.main {
margin-top: 250px;
}

#Home .main,
.front-page {
margin-top: 500px;
}

#content {
background: #FFF;
float: right;
width: 90%; min-height: 400px;
padding: 40px 5%; margin: 10px 0px 50px;
}

/*---------------------------------
3.0 Header 
---------------------------------*/

header#masthead {
width: 90%;
margin: 0px 5% 0px;
display: inline-block; z-index: 99;
position: fixed; top: 30px;
}

body.smaller header#masthead {
background: rgba(30, 30, 30, .90);
width: 90%;
margin: 0px; padding: 10px 5%;
top: 0px;
}

body.smaller nav#navigation {
background: none;
margin: 9px 0px 0px 0px;
}

.logo {
width: auto; height: 90px;
float: left;
margin: 0px; padding: 0px;
}

.logo a:link, 
.logo a:visited {
color: #FFF;
text-decoration: none;
font-size: 19px; line-height: 18px;
}

.logo img {
width: auto; height: 140px;
}


body.smaller .logo,
body.smaller .logo img {
height: 70px;
}

.logo img:hover {
opacity: 0.7;
}

header#masthead,
.logo img,
nav#navigation,
nav#navigation li a:link,
nav#navigation li a:visited,
#content:hover,
#content,
body.smaller #shiftnav-toggle-main,
#shiftnav-toggle-main
{
-webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; 
}



/*---------------------------------
3.0 Navigation 
---------------------------------*/

nav#navigation {
background: rgba(30, 30, 30, .85);
margin: 30px 0px 0px 0px; padding: 0px;
display: inline-block;
float: right;
}

nav#navigation ul {
list-style: none;
padding: 0px 10px; margin: 0px;
width: auto;
text-align: right;
}

nav#navigation li {
display: inline-block;
margin: 0px;
}

nav#navigation li a:link,
nav#navigation li a:visited {
font-size: 15px; text-decoration: none; color: #FFF;
display: block;
padding: 17px 20px 15px 20px;
font-weight: 500;
}

nav#navigation li ul.sub-menu li a:link,
nav#navigation li ul.sub-menu li a:visited {
background: none !important;
color: #FFF;
}

.menu-menu-container {
float: left;
}

nav#navigation .social-media {
float: right;
width: 35px;
margin: 8px 17px 4px 0px;
}

nav#navigation .social-media img {
width: 35px; height: 35px;
}

.nav-menu .sub-menu {
left: -9999px;
opacity: 0;
position: absolute;
-webkit-transition: opacity .2s ease-in-out; -moz-transition: opacity .2s ease-in-out; -ms-transition: opacity .2s ease-in-out; -o-transition: opacity .2s ease-in-out; transition: opacity .2s ease-in-out;
width: 200px !important;
z-index: 99;
}

.nav-menu .sub-menu a {
background-color: #333;
border-top: none;
position: relative;
}

.nav-menu ul.sub-menu{
background: #FFF;
margin: 0px 0px 0px -15px !important; padding: 0px;
}

.nav-menu .sub-menu li {
margin: 0px !important;
width: 100%;
float: left;
padding: 0px;
}

.nav-menu .sub-menu li a:link,
.nav-menu .sub-menu li a:visited {
color: #333 !important;
text-align: left;
font-size: 14px !important;
padding: 13px 20px !important;
border-bottom: 1px solid #f1f1f1;
font-weight: 500 !important;
}

.nav-menu .sub-menu li a:hover {
background: none;
color: #FFF;
}

.nav-menu .menu-item:hover {
position: static;
}

.nav-menu .menu-item:hover > .sub-menu {
left: auto;
opacity: 1;
}

/*---------------------------------
3.0 Header 
---------------------------------*/


/*---------------------------------
4.0 Typography 
---------------------------------*/

h1, h2, h3, h4, h5 {
margin: 0px;
}

h1 {
margin: 0px 0px 30px 0px; padding: 0px;
font-size:70px; line-height: 60px;
    font-weight: 700;
display: inline-block;
color: #FFF;
}

h2 {
margin: 0px 0px 10px 0px;
color: #FFF; font-size: 22px; font-weight: 400;
}

section#latest-news h1 {
width: 100%;
text-align: center;
margin: 0px 0px 40px;
font-size: 40px; color: #555; font-weight: 400;
}

.entry-content h2 {
margin: 0px 0 25px;
font-weight: 600; font-size: 27px;
color:#333;
}

.single  h2 {
margin: 0px 0 15px;
font-size: 35px;
color: #333;
}

.entry-content h3, .columns h3 {
margin: 30px 0px 10px;
font-weight: 300; font-size: 20px; color: #333; font-weight: 600;
}

p {
margin: 0px 0px 15px 0px;
color: #333; font-size: 15px; font-weight: 400; line-height: 30px;
}

.entry-content ul {
margin: 0px 0px 20px 0px;
color: #333;
}

.entry-content ul li {
color: #333; font-size: 16px; line-height: 37px;
}

.entry-content p a:link,
.entry-content p a:visited,
.entry-content a:link,
.entry-content a:visited,
.entry-content ul li a:visited,
.entry-content ul li a:link {
padding-bottom: 2px;
border-bottom: 1px solid #EAEAEA;
font-weight: 600; color: #333; text-decoration: none; }

.entry-content p a img:link {
border: none;
}

.wpb_content_element .wpb_tabs_nav li {
background-color: rgba(255,255,255,0.2) !important;

}

.wpb_content_element .wpb_tabs_nav li.ui-tabs-active, .wpb_content_element .wpb_tabs_nav li:hover {
background-color: rgba(255,255,255,0.4) !important;
}

.large-letter {
font-size: 35px;
font-weight: 800;
}

.single .c30 img {
max-width: 100% !important; height: auto !important; margin: 0px !important;
}

.single .c50 h3 {
margin-top: 0px;
}
/*---------------------------------
5.0 Homepage 
---------------------------------*/

.front-page h1 {
line-height: 45px;
font-size: 35px;
margin: 0px auto;
width: 100%;
display: table;
text-align: center;
font-weight: 300;
background: rgba(234, 63, 139, 0.9);
    padding: 30px 0px 35px;
}

.front-page .buttons {
width: 550px;
margin: 25px auto 250px;
display: table;
}

.front-page .buttons .red a:link,
.front-page .buttons .red a:visited,
.front-page .buttons .blue a:link,
.front-page .buttons .blue a:visited {
color: #FFF;
text-decoration: none;
font-size: 17px;
font-weight: 600;
}

.front-page .buttons .red {
float: left;
background: #ea3f8b;
border-radius: 5px;
padding: 13px 30px 12px;
}

.front-page .buttons .blue {
background: #1692d0;
border-radius: 5px;
padding: 13px 30px 12px;
float: right;
}

.front-page #content {
float: left;
  width: 60%;
}

.front-page .sidebar {
float: right;
  width: 28%;
  margin-top: -70px;
  padding: 20px 1% 0px;
}

.front-page .sidebar h3 {
text-align: center;
}

.full-page #content {
width: 96%;
}

#latest-news {
background: #FFF;
width: 100%;
margin: 0px;
padding: 50px 0px;
}

.griditem {
width: 30%; height: 265px;
background: #EAEAEA;
float: left;
margin: 0px 1.5% 30px;
}


.griditem img {
width: 100%;height: auto;
}

.griditem h2 {
width: 90%;
margin: 20px 5% 24px;
line-height: 0px;
color: #333;
text-align: center;
font-size: 55px;
font-weight: 100;
    display: table;
    height: 40px;
    overflow: hidden;
}

.griditem h2 a:link,
.griditem h2 a:visited {
color: #555 !important;
font-size: 17px;line-height: 18px;
text-decoration: none; font-weight: 600;

    display: table-cell;
    vertical-align: middle;
}

/*---------------------------------
5.0 Default Template
---------------------------------*/

.header {
padding: 0px;
color: #333;
border-bottom: 1px solid #F2F2F2;
}

.title {
clear: both;
display: inline-block;
width: 100%;
}

article.news {
width: 29%;
margin: 10px 2%;
float: left;
text-align: center;
}

article.news img {
width: 100%;  height: auto;
}

article.news h2  {
margin: 10px 0px 0px 0px;
}

article.news h2 a:link,
article.news h2 a:visited{
color: #FFF;
text-decoration: none;
font-size: 18px;
font-weight: 800;
}

article.news .date {
font-size: 15px;
color: #FFF;
}

.single .entry-date {
color: #FFF;
margin: 15px 0px;
font-size: 14px;
text-transform: uppercase;
font-weight: 800;
}

.single .entry-date a:link,
.single .entry-date a:visited {
color: #FFF;
margin: 0px 0px 0px 10px;
}

ul.lcp_catlist {
margin: 0px; padding: 0px;
list-style: none;
}

ul.lcp_catlist li {
width: 30%;
margin: 0px 2%;
float: left;
}

ul.lcp_catlist li img {
width: 100%; height: auto;
}

.lcp_paginator {
margin: 0px; padding: 0px;
clear: both;
width: 100%;
text-align: center;
}

.lcp_paginator li {
border: none !important;
}

/*---------------------------------
6.0 Contact Form 
---------------------------------*/

input[type="submit"], 
#respond input#submit, 
.button,
#wpc_payment_button {
background: #4296d1;
padding: 14px 30px; margin: 0px;
border-radius: 4px;
border: none;
color: #FFF;
text-transform: uppercase;
font-size: 16px; font-weight: 700;
text-align: center;
}

.entry-content .button {
height: auto;
display: table;
margin: 15px 0px 30px;
text-transform: none;
padding: 11px 20px;
}

.button a:link,
.button a:visited {
color: #FFF;
text-decoration: none;
border-bottom: 0px;
}

.contact-us input.wpcf7-text,
.contact-us textarea,
input.directions-input,
#respond input,
#respond textarea,
input[type="search"],
input.wpcf7-captchar {
background: #FFF;
width: 90%; height: 35px; 
padding: 0px 2.5%; margin: 5px 0px;
border-radius: 3px;
color: #333;
text-transform: none;
letter-spacing: 0px;
}

.contact-us input.wpcf7-text,
.contact-us textarea {
border: 2px solid #F1F1F1;
}

input.wpcf7-captchar {
width: 100px;
margin: 0px 0px 15px 0px;
}

input.directions-input {
width: 200px;
margin: 0px 0px 20px;
}

#respond textarea,
.contact-us .wpcf7-form textarea {
height: 130px; 
padding: 5px 2.5%; 
}


/*---------------------------------
5.0 Footer 
---------------------------------*/

.site-footer {
background: #1c3539;
padding: 40px 0px 40px;
clear: both;
}

.site-footer .column {
width: 23%;
margin: 0px 1% 20px;
float: left;
}

.site-footer .column h2 {
padding: 0px 0px 15px 0px; margin: 0px 0px 15px 0px;
font-size: 26px; line-height: 28px;	 font-weight: 600;
border-bottom: 1px dashed #a7a7a8;
}

.site-footer .pink h2,
.site-footer .pink p,
.site-footer .pink a:link,
.site-footer .pink a:visited {
color: #e73e89;
} 

.site-footer .yellow h2,
.site-footer .yellow p {
color: #ffcd08;
} 

.site-footer .green h2,
.site-footer .green p {
color: #137709;
} 

.site-footer .blue h2,
.site-footer .blue p,
.site-footer .blue a:link,
.site-footer .blue a:visited {
color: #1486c4;
} 

.site-footer a:link,
.site-footer a:visited {
color: #999;
text-decoration: none;
font-size: 16px;
}

.column img {
margin-right: 10px;
}

.site-footer ul {
padding: 0px; margin: 0px;
}

.site-footer ul li {
padding: 0px; margin: 0px 0px 20px;
list-style-type: none;
font-weight: 800;
}

.site-footer .row {
width: 100%;
display: table;
}

.border-bottom {
border-bottom: 1px solid #707071;
}

.site-footer .madeby {
margin: 10px 0px 0px 0px;
color: #999;
display: block;
font-size: 12px;
}



/*---------------------------------
5.0 Misc 
---------------------------------*/

.video {
width: 40%;
margin-right: 3%;
}

.video iframe {
width: 100%;
height: 318px;
}

.video p {
font-size: 13px;
line-height: 21px;
font-style: italic;
}

td {
padding: 15px;
border:1px solid rgba(255,255,255,0.2);
}

td p {
margin: 0px !important;
}

#breadcrumbs{
width: 100%;
list-style:none;
margin: -10px 5% 15px 0px; padding: 0px;
overflow:hidden;
}
  
#breadcrumbs li{
display:inline-block;
vertical-align:middle;
margin-right:10px;
color:#FFF;
font-size: 14px;
}
  
#breadcrumbs .separator{
font-size:12px;
font-weight:100;
color:#FFF;
}

#breadcrumbs a:link,
#breadcrumbs a:visited {
color: #FFF;
text-decoration: none;
}

figure.alignright,
img.alignright {
float: right;
margin: 13px 0px 20px 40px;
max-width: 40% !important; height: auto;
}

.row figure.alignright, .row img.alignright {
max-width: 60%;
}

figure.alignright img {
width: 100%; height: auto;
}

.wp-caption-text,
.wp-caption-text a:link,
.wp-caption-text a:visited {
color: #FFF;
font-size: 15px;
text-align: right;
margin: 5px 0px 0px 0px;
}

img.alignleft,
img.alignnone {
float: left;
margin: 10px 20px 20px 0px;
max-width: 40%; height: auto;
}

#cookie-notice {
background: #222 !important;
}

.cookie-notice-container {
padding: 20px 10px;
}

#cookie-notice .button.bootstrap {
height: auto !important;
}

.edit-link {
margin-top: 20px;
}

.edit-link a:link,
.edit-link a:visited {
background: rgba(255,255,255,.9);
font-size: 16px;
padding: 5px 10px;
border-radius: 3px;
color: #333;
text-decoration: none;
margin-right: 10px;
}

#website-switch {
position: fixed;
bottom: 25%;
right: 0px;
z-index: 99999;
text-align: right;
}

body.smaller #website-switch {
display: none;
}

#website-switch a:link,
#website-switch a:visited {
display: table;
font-weight: bold;
text-align: right;
color: #FFF;
text-decoration: none;
font-size: 17px;
padding: 10px 20px	;
margin: 0px 0px 10px 0px;
}

#website-switch .blue { background: #0090d4 !important;right: -146px;
position: relative; }
#website-switch .pink { background: #32b465 !important; right: -65px;
position: relative;}
#website-switch .yellow { background: #ffd100 !important; }

#website-switch,
body.smaller #website-switch
{
-webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; 
}

.css3-notification {
position: relative;
-webkit-animation: bounce 800ms ease-out;
-moz-animation: bounce 800ms ease-out;
-o-animation: bounce 800ms ease-out;
animation: bounce 800ms ease-out;
}

/* Webkit, Chrome and Safari */

@-webkit-keyframes bounce {
  0% {
	-webkit-transform:translateY(-100%);
opacity: 0;
  }
  5% {
  	-webkit-transform:translateY(-100%);
opacity: 0;
  }
  15% {
  	-webkit-transform:translateY(0);
padding-bottom: 5px;
  }
  30% {
  	-webkit-transform:translateY(-50%);
  }
  40% {
  	-webkit-transform:translateY(0%);
padding-bottom: 6px;
  }
  50% {
  	-webkit-transform:translateY(-30%);
  }
  70% {
  	-webkit-transform:translateY(0%);
padding-bottom: 7px;
  }
  80% {
  	-webkit-transform:translateY(-15%);
  }
  90% {
  	-webkit-transform:translateY(0%);
  	padding-bottom: 8px;
  }
  95% {
  	-webkit-transform:translateY(-10%);
  }
  97% {
  	-webkit-transform:translateY(0%);
  	padding-bottom: 9px;
  }
  99% {
  	-webkit-transform:translateY(-5%);
  }
  100% {
  	-webkit-transform:translateY(0);
  	padding-bottom: 9px;
opacity: 1;
  }
}

/* Mozilla Firefox 15 below */
@-moz-keyframes bounce {
  0% {
	-moz-transform:translateY(-100%);
opacity: 0;
  }
  5% {
  	-moz-transform:translateY(-100%);
opacity: 0;
  }
  15% {
  	-moz-transform:translateY(0);
padding-bottom: 5px;
  }
  30% {
  	-moz-transform:translateY(-50%);
  }
  40% {
  	-moz-transform:translateY(0%);
padding-bottom: 6px;
  }
  50% {
  	-moz-transform:translateY(-30%);
  }
  70% {
  	-moz-transform:translateY(0%);
padding-bottom: 7px;
  }
  80% {
  	-moz-transform:translateY(-15%);
  }
  90% {
  	-moz-transform:translateY(0%);
  	padding-bottom: 8px;
  }
  95% {
  	-moz-transform:translateY(-10%);
  }
  97% {
  	-moz-transform:translateY(0%);
  	padding-bottom: 9px;
  }
  99% {
  	-moz-transform:translateY(-5%);
  }
  100% {
  	-moz-transform:translateY(0);
  	padding-bottom: 9px;
opacity: 1;
  }
}

/* Opera 12.0 */
@-o-keyframes bounce {
  0% {
	-o-transform:translateY(-100%);
opacity: 0;
  }
  5% {
  	-o-transform:translateY(-100%);
opacity: 0;
  }
  15% {
  	-o-transform:translateY(0);
padding-bottom: 5px;
  }
  30% {
  	-o-transform:translateY(-50%);
  }
  40% {
  	-o-transform:translateY(0%);
padding-bottom: 6px;
  }
  50% {
  	-o-transform:translateY(-30%);
  }
  70% {
  	-o-transform:translateY(0%);
padding-bottom: 7px;
  }
  80% {
  	-o-transform:translateY(-15%);
  }
  90% {
  	-o-transform:translateY(0%);
  	padding-bottom: 8px;
  }
  95% {
  	-o-transform:translateY(-10%);
  }
  97% {
  	-o-transform:translateY(0%);
  	padding-bottom: 9px;
  }
  99% {
  	-o-transform:translateY(-5%);
  }
  100% {
  	-o-transform:translateY(0);
  	padding-bottom: 9px;
opacity: 1;
  }
}

/* W3, Opera 12+, Firefox 16+ */
@keyframes bounce {
  0% {
	transform:translateY(-100%);
opacity: 0;
  }
  5% {
  	transform:translateY(-100%);
opacity: 0;
  }
  15% {
  	transform:translateY(0);
padding-bottom: 5px;
  }
  30% {
  	transform:translateY(-50%);
  }
  40% {
  	transform:translateY(0%);
padding-bottom: 6px;
  }
  50% {
  	transform:translateY(-30%);
  }
  70% {
  	transform:translateY(0%);
padding-bottom: 7px;
  }
  80% {
  	transform:translateY(-15%);
  }
  90% {
  	transform:translateY(0%);
  	padding-bottom: 8px;
  }
  95% {
  	transform:translateY(-7%);
  }
  97% {
  	transform:translateY(0%);
  	padding-bottom: 9px;
  }
  99% {
  	transform:translateY(-3%);
  }
  100% {
  	transform:translateY(0);
  	padding-bottom: 9px;
opacity: 1;
  }
}






.woocommerce .quantity .qty, .woocommerce-shipping-fields {
display: none;
}
