/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* {
	min-height: 0;
	min-width: 0;
}

@font-face {
    font-family: 'Go Bold';
    src: url('/wp-content/themes/ttnsw/fonts/gobold/gobold_regular-webfont.woff2') format('woff2'),
         url('/wp-content/themes/ttnsw/fonts/gobold/gobold_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

strong {font-weight: bold;}

h1,h2,h3,h4 {
	margin-bottom: 10px;
	font-weight: bold;
	color: #0f5793;
	line-height: 1.6em;
}

h1 {
	font-size: 30px;
	font-family: 'Go Bold';
	font-weight: normal;
}

h2 {
	font-size: 24px;
	font-family: 'Go Bold';
	font-weight: normal;
}

/* Main styles */
body {
	font-family: 'Open Sans', sans-serif;
	line-height: 1.4em;
	background-color: #15b6ec;
}

p {
	margin-top: 20px;
	line-height: 1.6em;
}

/* Margins */
.mt5 {margin-top: 5px;}
.mt10 {margin-top: 10px;}
.mt20 {margin-top: 20px;}
.mb5 {margin-bottom: 5px;}
.mb10 {margin-bottom: 10px;}
.mb20 {margin-bottom: 20px;}
.mr5 {margin-right: 5px;}
.mr10 {margin-right: 10px;}
.mr20 {margin-right: 20px;}
.ml5 {margin-left: 5px;}
.ml10 {margin-left: 10px;}
.ml20 {margin-left: 20px;}

/* Bold, Italics & Normal */
b, strong {font-weight: bold;}
i, em {font-style: italic;}
.bold {font-weight: bold;}
.normal {font-weight: normal;}

/* Float */
.floatLeft {float: left;}
.floatRight {float: right;}

/* Align Center */
.aligncenter {
	text-align: center;
}

/* Default link styling */

a {
	text-decoration: none;
	color: #fff;
}

a:visited {
	color: #fff;
}

a:hover {
	text-decoration: underline;
	color:  #fff;
}

/* Image width */
img {max-width: 100% !important; height: auto !important;}

.wp-block-image {
	float: left;
	margin: 10px 30px 10px 0px;
}

.wp-block-image img {
	width: auto;
}

/* Default table styling */
table {
	width: 100%;
	font-size: 14px;
}

th {
	text-align: left;
	font-weight: bold;
}

/* General font awesome styling */
.fa-square {
	font-size: 12px;
    vertical-align: middle;
    color: #00b5ec;
    margin-right: 5px;
}

.fa-facebook-f {
	color: #4461b1; 
}

.fa-twitter {
	color: #1fa0fb;
}

/* Figcaption styling */

figcaption {
	text-align: center;
	font-size: 14px;
	font-style: italic;
}

#wrapper {
	display: -ms-grid;
	-ms-grid-columns: 1fr;
	display: grid;
	grid-template-columns: 1fr;
	background: transparent;
}

#headerContainer, #mainMenuContainer, #header, #mainContainer, #footerContainer {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

#headerWrapper {
	display: -ms-grid;
	-ms-grid-columns: 1fr;
	display: grid;
	grid-template-columns: 1fr minmax(auto, 1280px) 1fr;
	background-color: transparent;
	grid-template-rows: 50px 50px 1fr;
	z-index: 1;
}

#headerBgLeftUpper {
	grid-column: 1 / 2;
	grid-row: 1 / 2;
	background-color: #15B6EC;
	height: 50px;
}

#headerBgLeftLower {
	grid-column: 1 / 2;
	grid-row: 2 / 3;
	background-color: #0C324F;
	height: 50px;
}

#headerBgRightUpper {
	grid-column: 3 / 4;
	grid-row: 1 / 2;
	background-color: #15B6EC;
	height: 50px;
}

#headerBgRightLower {
	grid-column: 3 / 4;
	grid-row: 2 / 3;
	background-color: #0C324F;
	height: 50px;
}

#headerContainer {
	background-color: #15b6ec;
	grid-column: 2 / 3;
	grid-row: 1 / 3;
	display: -ms-grid;
	-ms-grid-columns: 150px 1fr;
	-ms-grid-rows: 50px 50px 1fr;
	display: grid;
	grid-template-columns: 150px 1fr;	
	grid-template-rows: 50px 50px 1fr;
}

#logo {
	-ms-grid-row: 1;
	-ms-grid-row-span: 3;	
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;	
	grid-column: 1 / 2;
	grid-row: 1 / 4;
	text-align: center;
	background-color: transparent;
	padding: 8px 0px;
	z-index: 1;
	padding-top: 35px;
}

#logo img {
	width: auto;
	height: 100%;
}

.training {
	padding-top: 20px !important;
}

#mainMenuContainer {
	-ms-grid-row: 1;
	-ms-grid-row-span: 2;
	-ms-grid-column: 2;
	-ms-grid-column-span: 2;
	grid-column: 2 / 3;
	grid-row: 1 / 2;
	display: grid;
    align-items: center;
    background-color: #15B6EC;
    padding-left: 35px;
}

#subMenuContainer {
	-ms-grid-row: 2;
	-ms-grid-row-span: 2;
	-ms-grid-column: 2;
	-ms-grid-column-span: 2;
	grid-column: 1 / 3;
	grid-row: 2 / 3;
	display: grid;
    align-items: center;
    background-color: #0C324F;
    padding-left: 145px;
}

#menu-main li, #menu-training li, #menu-welfare li {
	display: block;
    float: left;
    margin-right: 20px;
    padding: 14px 9px;
    position: relative;
}

.current-menu-item, .current-page-ancestor {
	background-color: #0C324F;
}

.sub-menu {
	display: none;
	position: absolute;
	left: 0px;
	margin-left: 0px;
}

.sub-menu li {
	background-color: #0C324F;
	width: 100%;
}

#menu-training li:hover > ul, #menu-welfare li:hover > ul {
	display: block;
	white-space: nowrap;
}

#menuWrapper {
	display: grid;
	grid-template-columns: 1fr;
	background: transparent;
	position: fixed; /* Set the navbar to fixed position */
    top: 30px; /* Position the navbar at the top of the page */
    width: 100%; /* Full width */
    z-index: 99;
}

#mainWrapper {
	display: grid;
	grid-template-columns: 1fr minmax(1004px, 1280px) 1fr;
}

#skyScraperLeft {
	grid-column: 1 / 2;
	overflow: hidden;
	background: transparent;
}

#skyScraperRight {
	grid-column: 3 / 4;
	overflow: hidden;
	background: transparent;
}

#skyScraperBannerLeft {
	width: 160px;
	margin: 0px 20px auto auto;
}

#skyScraperBannerRight {
	width: 160px;
	margin: 0px auto auto 20px;
}

#mainContainer {
	grid-column: 2 / 3;
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	grid-gap: 20px;
	max-width: 1240px;
	padding: 20px;
	background-color: #fff;
	align-items: start;
	background-repeat: no-repeat;
	background-position-x: right;
	background-position-y: top;
	background-image: url(https://teamthoroughbred.com.au/wp-content/uploads/2021/07/TTNSW-Right-Hand-Curve-Logo.png);
}

#mainContainer a {
	color: #15B6EC;
}

#mainContainer ul {
	list-style-type: disc;
	padding-left: 40px;
	margin-top: 20px;
}

#mainContainer ol {
	list-style-type: decimal;
	padding-left: 40px;
	margin-top: 20px;
}

#mainContainer ol.alphabet {
	list-style-type: lower-alpha;
}

#containerLeft {
	grid-column: 1 / 7;
	padding-top: 30px;
}

#containerLeft ol li {
	padding-bottom: 10px;
}

#containerRight {
	grid-column: 7 / 10;
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 10px;
	align-content: start;
	padding-top: 95px;
}

#searchBox {
	grid-column: 1;
	background-color: #384861;
	border-radius: 3px;
	padding: 10px;
	display: grid;
	align-content: center;
}

#searchBox input {
    padding: 10px 16px;
    border-radius: 3px;
    border: none;
    width: 65%;
}

#searchBox label {
	border-radius: 3px;
    background-color: #00b5ec;
    padding: 9px 16px;
    color: #fff;
    font-size: 14px;
    margin-left: 10px;
}

#buttonContainer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    margin-top: 10px;
}

.button {
    text-align: center;
    height: 50px;
    display: table;
    border: 3px solid #15B6EC;
    color: #fff;
    background-color: #0C324F;
    width: 100%;
    border-radius: 20px;
}

.button:hover {
    cursor: pointer;
    background-color: #15B6EC;
}

.button p {
    display: table-cell;
    margin-bottom: 0px;
    vertical-align: middle;
}

.button a, .button a:visited {color: #fff !important; text-decoration: none; display:  block;}

#footerWrapper {background: transparent;}

#footerContainer {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 10px;
	background-color: #00b5ec;
	color: #fff;
}

#footerContainer p{
	padding: 10px;
}

#footerMenu {
	grid-column: 1;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	margin-top: 20px;
}

#footerMenu h4 {
	color: #334863;
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 10px;
}

#footerMenu a {
	text-decoration: none;
	color: #fff;
	font-size: 14px;
}

#footerMenu a:hover {
	text-decoration: underline;
}

#footerMenuOne {
	display: grid;
	justify-content: center;
}

#footerMenuOne img {
	width: 150px;
}

#footerMenuOne a {
	color: #334863;
}

#footerBottom {
	-ms-grid-row: 1;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	grid-column: 1 / 2;
	font-size: 13px;
    padding: 10px;
    background-color: #0095c0;
    text-align: center;
}

#horsesForSale {
	width: 90%;
	margin: 0px auto;
}

.slick-prev:before,
.slick-next:before {
  color: #0c324f;
}

.horseForSale {
	padding: 10px;
}

#latestHorses {
	-ms-grid-row: 2;
	max-width: 270px;
	margin: 0px auto;	
}

.latestHorse a, .horseForSale p a {
	color: #0f5793;
	text-decoration: none;
}

.latestHorse a:hover, .horseForSale p a:hover {
	text-decoration: underline;
}

.joinTheClubTable td {
	vertical-align: middle;
}

.joinTheClubTable td:first-child {
	width: 75px;
}

@media only screen and (max-width: 1639px) {
    #skyScraperBannerLeft, #skyScraperBannerRight {
    	display: none;
    }
}