/*---RESET---*/
	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,dl,dt,dd,ol,nav ul,nav 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-family:"tuffyregular";;vertical-align:baseline;}
	article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
	ol,ul{margin:0px;padding:0px;}
	blockquote,q{quotes:none;}
	blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
	table{border-collapse:collapse;border-spacing:0;}

	button{font-size: 11px}
	input{font-size: 11px}
	select{font-size: 11px}

	html{
		height: 100%;
		padding: 0;
		margin:0;
	}

	@font-face {
	    font-family: 'tuffyregular';
	    src: url('https://www.treforacademy.co.za/assets/fonts/Tuffy-Regular.ttf') format('truetype');
	    font-weight: normal;
	    font-style: normal;

	}

	@font-face {
	    font-family: 'dauphinn';
	    src: url('https://www.treforacademy.co.za/assets/fonts/dauphinn.ttf') format('truetype');
	    font-weight: normal;
	    font-style: normal;

	}

	@font-face {
	    font-family: 'comic';
	    src: url('https://www.treforacademy.co.za/assets/fonts/Comic.ttf') format('truetype');
	    font-weight: normal;
	    font-style: normal;

	}

	body{
		color: black;
		height: 100%;
		width: 100%;
		padding: 0;
		-webkit-touch-callout: none; 
		    -webkit-user-select: none; 
		     -khtml-user-select: none; 
		       -moz-user-select: none; 
		        -ms-user-select: none; 
	}

	input {
	    outline: none;
	}

	button{
		outline: none;
	}

	#mainBackground{
		height: 100%;
		width: 100%;
		padding: 0;
		background-color: gainsboro;
	}
/*----Covid---*/

	#cbp{
		width: 100%;
		background-color: #003c6e;
		text-align: center;
		color: white;
		padding: 5px;
		position: relative;	
		z-index: 3;
	}

	#cbpl{
		color: lightblue;
	}
/*---Nav---*/
	#mnb{
		background-color: #2e9bd3;
		height: 80px;
		box-shadow: 0px -4px 22px black;
		z-index: 2;
		position: relative;
	}

	#mnbt{
		font-family: "dauphinn";
	    font-weight: normal;
	    font-style: normal;
	    text-align: center;
	    padding-top: 10px;
	}

	#mnbl{
		width: 170px;
		margin-left: 65px;
		position: absolute;
		z-index: 1;
	}

	#mnbls{
		width: 30px;
		margin-left: 135px;
		position: absolute;
		z-index: 1;
	}

	.mnbb{
		width: 150px;
		display: table-cell;
		text-decoration: none;
		color: black;
		font-size: 20px;
		text-align: center;
		height: 80px;
		vertical-align: middle;
	}


	#mnbi{
		width: 900px;
		margin: 0px auto;
	}

	#mnbil{
		float: left;
		width: 300px;
	}

	#mnbic{
		float: left;
		width: 300px;
	}

	#mnbir{
		float: left;
		width: 300px;
	}	


/*---dropdown---*/

.dropbtn {
  background-color: #3498DB;
  color: white;
  padding: 22px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropbtn img{
	width: 32px;
}

.dropbtn:hover, .dropbtn:focus {
  background-color: #2980B9;
}

.dropdown {
  position: relative;
  display: none;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 120px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {background-color: #ddd;}

.show {display: block;}

/*---SlideShow---*/
* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  width: 900px;
  height: 450px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
}
/*---Home---*/
	#hmc{
		width: 900px;
		margin: 0px auto;
	}

	.hbt{
		font-family: "dauphinn";
		text-align: center;
		font-size: 20px;

	}
	.hbi{
		text-align: center;

	}

	#hbi1{
		margin-left: 44px;
		height: 107px;
	}

	#hbi2{
		margin-left: 44px;
		height: 107px;
	}

	#hbi3{
		margin-left: 44px;
		height: 107px;
	}

	#hbi4{
		margin-left: 44px;
		height: 107px;
	}

	#hb1{
		width: 210px;
		border: 4px solid lightgreen;
		float: left;
		margin-right: 20px;
		border-radius: 20px;
		height: 150px;
		background-color: lightgreen;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

	#hb2{
		width: 210px;
		border: 4px solid yellow;
		float: left;
		margin-right: 20px;
		border-radius: 20px;
		height: 150px;
		background-color: yellow;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

	#hb3{
		width: 210px;
		border: 4px solid lightblue;
		float: left;
		margin-right: 20px;
		border-radius: 20px;
		height: 150px;
		background-color: lightblue;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

	#hb4{
		width: 210px;
		border: 4px solid coral;
		float: left;
		border-radius: 20px;
		height: 150px;
		background-color: coral;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

/*---Day Care---*/
	#dcc{
		width: 900px;
		margin: 0px auto;
		text-align: center;
	}

	#dcb{
		height: 120px;
	}

	#dct{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
		font-size: 3em;
	}
	.dcp{
		padding: 20px 0px;
	}
	#Babies{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Toddlers{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Dragonfly{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Hoverfly{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Butterfly{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Menu{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#SchoolFees{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#ExtraMural{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

#dcmd {
	display: block;
  width: 100%;
  border-collapse: collapse;
  font-family: comic;
}

#dcmm {
	display: none;
  width: 100%;
  border-collapse: collapse;
  font-family: comic;
}

.dcmh{
	border: none;
}


th {
  border: 1px solid black;
  width: 150px;
  vertical-align: middle;
  font-family: comic;
}

td {
  border: 1px solid black;
  width: 150px;
  font-family: comic;
}

	#dcb1{
		width: 160px;
		float: left;
		border: 1px solid pink;
		margin: 20px 20px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: pink;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb2{
		width: 160px;
		float: left;
		border: 1px solid purple;
		margin: 20px 20px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: purple;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb3{
		width: 160px;
		float: left;
		border: 1px solid lightblue;
		margin: 20px 20px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: lightblue;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb4{
		width: 160px;
		float: left;
		border: 1px solid green;
		margin: 20px 20px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: green;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb5{
		width: 160px;
		float: left;
		border: 1px solid red;
		margin: 20px 20px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: red;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb6{
		width: 160px;
		float: left;
		border: 1px solid yellow;
		margin: 0px 20px 0px 180px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: yellow;
		text-decoration: none;
		color: black;
		padding: 4px;

	}

	#dcb7{
		width: 160px;
		float: left;
		border: 1px solid orange;
		margin: 0px 20px 0px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: orange;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb8{
		width: 160px;
		float: left;
		border: 1px solid lime;
		margin: 0px 20px 0px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: lime;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	.dci{
		width: 221px;
	}

	#dci1{
		height: 165px;
		margin-left: 200px;
	}

	#dci2{
		height: 165px;
	}

	#dci3{
		width: 221px;
	}

/*---Grade R---*/
#gren{
	background-color: #c0392b;
	width: 300px;
	height: 40px;
	display: block;
	text-decoration: none;
	color: black;
	border-radius: 20px;
	margin-left: calc(50% - 150px);
	font-size: 24px;
	padding: 6px;
}

/*---Contact Us---*/
	#cmc{
		width: 900px;
		margin: 0px auto;
	}

	#ct{
		width: 300px;
		float: left;
		height: 400px;
		margin: 20px 0px 0px 200px;

	}

	#ce{
		float: left;
		width: 300px;
		margin-top: 20px;
	}

	.cet{
		text-align: left;
	}

	.cei{
		width: 100%;
		height: 30px;
	}
	.cp{
		padding: 20px 0px;
	}

	.ceim{
		width: 100%;
		height: 90px;
	}

	#ceb{
		width: 100%;
		height: 30px;
		background-color: coral;
		border: 1px solid coral;
		margin: 20px 0px;
		border-radius: 10px;
		cursor: pointer;
	}

	.ch{
		font-family: dauphinn;
	}
	
	#cvum{
		display: block;
		text-align: center;
		margin-bottom: 20px;
		float: left;
		width: 100%;
	}

	#map{
		height: 300px;
		float: left;
		width: 900px;
	}

	/*---Enroll---*/
	#erc{
		width: 100%;
		padding: 20px 20px;
		text-align: center;
	}

	.ert{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	/*---Success---*/
	#sc{
		width: 100%;
		padding: 20px 20px;
		text-align: center;
	}

	#sct{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

/*---Mobile---*/

@media only screen and (max-width: 900px) {
	/*---covid---*/
		#cbp{
			width: 100%;
			background-color: #003c6e;
			text-align: center;
			color: white;
			padding: 5px;
			position: relative;	
		}
/*---Nav---*/
		#mnbi{
			width: 100%;
			margin: 0px auto;
		}

		#mnbil{
			display: none;
		}

		#mnbic{
			width: 100%;
		}

		#mnbt{
			font-family: "dauphinn";
			font-weight: normal;
			font-style: normal;
			padding-top: 10px;
			text-align: left;
			width: calc(100% - 95px);
			margin-left: calc(50% - 92px);
		}

		#mnbl{
			width: 100px;
			margin-left: calc(50% - 130px);
			position: absolute;
			z-index: 1;
		}

		#mnbls{
		width: 30px;
		margin-left: calc(50% - 94px);
		position: absolute;
		z-index: 1;
	}

		#mnbir{
			display: none;
		}	

		.dropdown {
		  position: relative;
		  display: inline-block;
		  float: left;
		}

/*---Home---*/
	.slideshow-container {
		max-width: 1000px;
		position: relative;
		margin: auto;
		width: 100%;
		height: 200px;
	}

	#hmc{
		width: 100%;
		margin: 0px auto;
	}

	#hbi1{
		margin-left: calc(50% - 50px);
		width: 100px;
	}

	#hbi2{
		
		margin-left: calc(50% - 66px);
		width: 132px;
	}


	#hbi3{
		margin-left: calc(50% - 50px);
		width: 100px;
	}

	#hbi4{
		margin-left: calc(50% - 50px);
		width: 100px;
	}

	#hb1{
		width: 100%;
		border: 4px solid lightgreen;
		border-radius: 20px;
		height: 150px;
		background-color: lightgreen;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

	#hb2{
		width: 100%;
		border: 4px solid yellow;
		margin-top: 20px;
		border-radius: 20px;
		height: 150px;
		background-color: yellow;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

	#hb3{
		width: 100%;
		border: 4px solid lightblue;
		margin-top: 20px;
		border-radius: 20px;
		height: 150px;
		background-color: lightblue;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

	#hb4{
		width: 100%;
		border: 4px solid coral;
		margin-top: 20px;
		border-radius: 20px;
		height: 150px;
		background-color: coral;
		cursor: pointer;
		text-decoration: none;
		color: black;
	}

	/*---Day Care---*/
	#dcc{
		width: 100%;
		margin: 0px auto;
		padding: 0px 20px;
		text-align: center;
	}

	#dcb{
		height: 280px;
	}

	#dct{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
		font-size: 3em;
	}

	.dcp{
		text-align: center;
		margin-bottom: 20px;
	}

	#Babies{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Toddlers{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Dragonfly{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Firefly{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Butterfly{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

	#Menu{
		text-align: center;
		font-family: dauphinn;
		padding: 20px;
	}

#dcmd {
	display: none;
  width: 100%;
  border-collapse: collapse;
  font-family: comic;
}

#dcmm {
	display: block;
  width: 100%;
  border-collapse: collapse;
  font-family: comic;
}

#dcmh{
	border: none;
}

th {
  border: 1px solid black;
  width: 150px;
  vertical-align: middle;
}

td {
  border: 1px solid black;
  width: calc(100% - 150px);;
}

	#dcb1{
		width: 140px;
		float: left;
		border: 1px solid pink;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: pink;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb2{
		width: 140px;
		float: right;
		border: 1px solid purple;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: purple;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb3{
		width: 140px;
		float: left;
		border: 1px solid lightblue;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: lightblue;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb4{
		width: 140px;
		float: right;
		border: 1px solid green;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: green;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb5{
		width: 140px;
		float: left;
		border: 1px solid red;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: red;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb6{
		width: 140px;
		float: right;
		border: 1px solid yellow;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: yellow;
		text-decoration: none;
		color: black;
		padding: 4px;

	}

	#dcb7{
		width: 140px;
		float: left;
		border: 1px solid orange;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: orange;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	#dcb8{
		width: 140px;
		float: right;
		border: 1px solid lime;
		margin: 20px 0px 20px 0px;
		height: 30px;
		text-align: center;
		border-radius: 10px;
		background-color: lime;
		text-decoration: none;
		color: black;
		padding: 4px;
	}

	.dci{
		width: 100%;
		margin: 0px 0px 20px 0px;
	}

	#dci1{
		height: 165px;
		margin-left: 200px;
	}

	#dci2{
		height: 165px;
	}

	#dci3{
		width: 221px;
	}

	/*---Grade R---*/
#gren{
	background-color: #c0392b;
	width: 300px;
	height: 40px;
	display: block;
	text-decoration: none;
	color: black;
	border-radius: 20px;
	margin-left: calc(50% - 150px);
	font-size: 24px;
	padding: 6px;
}

	/*---Contact Us---*/
	#cmc{
		width: 100%;
		margin: 0px auto;
		padding: 20px;
	}

	.cet{
		text-align: left;
	}

	.cei{
		width: 100%;
		height: 30px;
	}
	.cp{
		padding: 20px 0px;
	}

	.ceim{
		width: 100%;
		height: 90px;
	}

	#ceb{
		width: 100%;
		height: 30px;
		background-color: coral;
		border: 1px solid coral;
		margin: 20px 0px;
		border-radius: 10px;
	}

	#ct{
		width: 100%;
		float: left;
		text-align: center;
		height: auto;
		margin: 0px;
	}

	#cvum{
		display: block;
		text-align: center;
		margin-bottom: 20px;
	}

	#cvud{
		display: none;
	}

	#ce{
		float: left;
		width: 100%;
		text-align: center;
		padding-top: 20px;
	}

	#map{
		height: 300px;
		float: left;
		width: 100%;
	}

	

}

