@charset "utf-8";
/* CSS Document */

*{
	margin:0;
	padding:0;
}

.clearer {
	clear:both;
}

.float-right {
	float: right;
	margin: 0 0 20px 20px;
}

.float-left {
	float: left;
	margin: 0 20px 20px 0;
}

.byebyespam {
	display:none;
}

body {
	background-color: #ccCCCC;
	font-family: 'Maven Pro', sans-serif;
	font-size: 16px;
	line-height: 1.3;
	color:#444;
}

h1 {
	font-weight: 700;
	font-size: 32px;
	text-align: center;
	line-height:3;
	color:#665743;
}

h2 {
	font-weight: 700;
	font-size: 24px;
	text-align: center;
	color:#665743;
}

.light {
	color:#f6f7be;
}

h3 {
	font-weight: 700;
	font-size: 20px;
	margin:1em 0 1em 0;
	text-transform: uppercase;
}


h4 {
	font-weight: normal;
	font-size: 18px;
	margin:1em ;
	border: 2px solid #0d4375;
	border-radius: 50px;
	padding:0.5em 1em;
	font-style: italic;
	
}

.emphasis {
	font-size: 120%;
	font-weight: bold; 
	font-style:italic;
}

.logoContainer{
	display: flex;
	justify-content: center;
	width:100%;
}

.logoContainer img {
	max-width: 100%;
		height:auto;
		display: block;
		margin: 0 auto;
}

.yt-advert{
	display: flex;
	justify-content: center;
	width:100%;
}
.yt-thumb-box{
	max-width: 30%;
	height:auto;
		display: block;
		margin: 0 auto;
}

.yt-advert  img, onetwo img.yt-advert {
	max-width: 100%;
		height:auto;
		display: block;
		margin: 0 auto;
	
}

.centered {
	text-align: center;
}


#shareMe {
	background:#bf4e28;
	padding:3px 20px;
	border-radius: 15px;
	text-shadow: 1px 1px 0  #665743;
	color:#badef5;
	text-align: center;
	margin:20px;
}

#shareMe p {
	font-size: 150%;
}

#shareMe:hover {
	background:#0d4375;
}

#shareMe a  {
	/*text-decoration: none;*/
	color:#f6f7be;
	color:#badef5;
	
}


.cta a  {
	/*text-decoration: none;*/
	color:#f6f7be;
	color:#badef5;
	
}





.laser-tutorial img{
	max-width: 100%;
		height:auto;
		display: block;
		margin: 1em auto;
}

.cta, .laser-cta {
	background:#bf4e28;
	display: inline;
	padding:3px 20px;
	border-radius: 3px;
	text-shadow: 1px 1px 0  #665743;
	color:#fff;
}



.cta a  {
	/*text-decoration: none;*/
	color:#f6f7be;
	color:#badef5;
	
}

.wrapper .laser-cta a {
	color:#fff;
	border: none;
}

.wrapper .laser-cta a:hover {
	color:#fff;
}

.cta:hover, .wrapper .laser-cta:hover  {
	background:#0d4375;
}

.cat.a:hover {
	color:#f6f7be;
}
header .cta{
	display: block;

} 
header {
	/*width:1170px;*/
	width:100%;
	margin:0 auto ;
}

.blue {
	background-color:#0d4375;
}

.yellow {
	background-color: #f6f7be;	
}

.white {
	background-color: #ffffff;
}

.videoBlockWrapper{
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-around;
}


/*Youtbue responsive*/
.iframe-container{
   /*display:flex;
    flex-wrap: wrap;
    justify-content: center;
    justify-content: space-around;*/
    margin-bottom: 20px;
  
}
/* --- youtube responsive -- */

.herocontainer {
	width:1170px;
	margin: 0 auto;
	position:relative;
}

.herocontainer h2 {
	color:#f6f7be;
	margin:1em 0;
	/*padding-top:1em;*/
	text-align: left;
	font-size: 30px;
}

.herocontainer img {
	display: block;
	float:right;	
}

.heromessage {
	float:left;
	width:65%;
}

.heromessage ul,
.herocontainer ul{
	margin-left: 5%;
}

.heromessage ul li,
.herocontainer ul li{
	font-size: 24px;
	margin-bottom:1em;
}

.heromessage p,
.herocontainer p{
	font-size:18px;
	margin-bottom: 1em;
	color:#fff;
}

.herocontainer .left,
.herocontainer .right{
	width:45%;
	float:left;
	color:#f6f7be;
	color:#fff;
}

.herocontainer .right {
	float:right;
}
.wrapper {
	width:1170px;
	margin:20px auto;
}



.home .wrapper,
.one-of-our-most-popular-tutors-in-enfield .wrapper{
	width:800px;
	margin: 80px auto 0 auto;
	padding: 20px 0;
}

.one-of-our-most-popular-tutors-in-enfield .fullwidthcontent {
	box-sizing: border-box;
	padding: 20px 0;
}

.onetwo {
	width:60%;
	float:left;
}
	
.three {
	width:33%;
	float: right;
}

.three-item{
	background-color:#0d4375;
	background-color:#eee;
	
	border:1px solid #666;
	border-radius:3px;
	
	/*color:#f6f7be;*/
	box-sizing: border-box;
	padding:3%;
	margin-bottom:50px;
}

.wrapper .three-item p{
	font-size:16px;
}


.three-item ul {
	list-style-position: inside;
}

.three-item li {
	padding-left:10px;
}



	.postcardfullwidth.blue a
	
	{
		 color:pink;
	}

.postcardfullwidth.blue a:hover
	{
		 color:#f6f7be;
		text-decoration: none;
	}


.wrapper p {
	font-size: 22px;
	margin-bottom: 1em;
	line-height: 1.5;
}

.wrapper ul {
	font-size: 22px;
	margin-bottom: 1em;
	line-height: 1.5;
	list-style-position: inside;
}

.wrapper h2 {
	margin:0.5em 0;
	text-align: left;
	display: block;
}


.postcardcontainer {
	width:1170px;
	margin:0 auto 20px auto;
	display: flex;
	flex-flow:nowrap row;
	justify-content: space-between;
}

.yellow .postcardcontainer {
	margin-bottom: 0;
	text-align: center;
	 justify-content: center;
}

.postcard img {
	margin-top:20px;
}

.postcard::before, .postcard::after {
	content :'';
	padding:3% 0 3% 0;
	display: block;
}


.postcard {
	text-align: center;
	
}

.yellow .postcard {
	color:#444444;
	text-align:left;
	padding:0 15px;
}

.yellow .postcard li {
	text-align: left;
}

.blue .postcard::before {
	padding:0;
}

.postcard ul {
	list-style-position: inside;
}

.postcard li {
	padding-left:10px;
	text-align: center;
}


.postcard.ptwo {
	margin-left:5%;
	margin-right: 5%;
}

.postcard {
	width:30%;
	color:#f6f7be;
}

.postcard.laser-tutorial {
	width:80%;
	margin:0 auto;
}


/* --- resources lists --- */
.subject-block {
	background-color:aliceblue;
	padding:0 20px;
}

.subject-block-ocr {
	background-color:cornsilk;
	padding:0 20px;
}

.subject-block .newPack, .newPack {
	font-style:italic;
	background-color:#F1E8AA;
	background-color:hotpink;
	border-style: solid;
	border-radius: 8px;
	border-width:3px;
	border-color: #444444;
	display: inline-block;
	padding:0 8px;
	margin: 0 8px 0 0;
	line-height: 1;
}



/* --- form on contact-page --- */
.ept-contactform {
/*	background:#fff;*/
	padding:20px 0 20px 20px;
/*	border-radius:10px;*/
	overflow:hidden;
}

.formElement {
	clear:both;
	width:100%;
	padding-left:5%;
	padding-right:0;
	padding-top:10px;
	padding-bottom:10px;
	margin-bottom:15px;
/*	background:#231f20;
	border-radius:5px;*/
}

.formElement .formText {
	float:left;
	width:20%;
	margin:0;
	line-height:1;
}


.formElement .formField, .formElement .formComment {
	width:65%;
	background:#0d4375;
	margin-top:0px;
	margin-bottom:0px;
	font-family:Arial;
	color:#f6f7be;
	font-size:18px;
	/*float:right;*/
}

.formElement .formField {	
	padding-right:0;
}

.formElement input:focus,
.formElement textarea:focus,
.formElement input:hover,
.formElement textarea:hover

 {
	background:#ddd49d;
	background:#e0ddc6;
    outline: none;
    border-color: #223225;
    box-shadow: 0 0 10px #223225;
	color:#696361;
}

form .submit {
	float:right;
	background:#0d4375;
	color:#f6f7be;
	border-radius:10px;
	font-size: 18px;
	line-height: 1.3;
}

form .submit:hover   {
	background:#231f20;	
}

input[type="submit"]{
	padding:5px;
}

.wrapper a{
	color:#bf4e28;
	text-decoration: none;
	border-bottom: 1px solid yellow;
}

.wrapper a:hover {
	color:#0d4375;
}


.home footer .wrapper {
	margin-top:20px;
}

footer .wrapper p{
	font-size:12px;	
	text-align: center;
}



/* ------------ full width content ------ */
.one-of-our-most-popular-tutors-in-enfield .fullwidthcontent {
	color:#f6f7be;
	text-align:center;
	width:800px;
	margin:0 auto;
}


/* --------- main menu -------------*/
.menu-toggle {
	display:none;
	
}

ul.mainmenu {
text-align:center;
	padding: 30px 0 30px 0;
}

ul.mainmenu li {
	display:inline;
	margin:0 40px;
	margin:0 30px;
}

ul.mainmenu li a {
	color: #bf4e28;
	text-decoration:none;
	/*font-weight: 700;*/
	letter-spacing: 1px;
	padding:0 10px;
	font-size:20px;
}

ul.mainmenu li.active a,
ul.mainmenu li a:hover {
	color:#0d4375;
	border-bottom: 3px solid yellow;
}

/* --- faq --- */

.question {
	color:#bf4e28;
	cursor:pointer;
}

.answer.active {
    opacity: 1;
    height: auto;
}
.answer {
    transition: opacity 1s ease-out;
    opacity: 0; 
    height: 0;
    overflow: hidden;
}


/* --- advert landing page -- */

.advert header {
    background:#0d4375;
    padding-bottom: 20px;
    margin-bottom:20px;
}



.advert h1, .advert h2, .advert h3 {
    color: #fff;
}

.advert h3 {
    text-align: center;
    text-transform: none;
}

.advert .call-to-action {
    text-align: center;
    width:100%;
    margin-bottom: 20px;
    margin-top:20px;
}

.advert .cta {
    font-size: 200%;
    color:#badef5;
}



/* --- responsive --- */

@media screen and (max-width:1170px) {
	
	header,
	.postcardfullwidth,
	.herocontainer,
	.wrapper,
	.one-of-our-most-popular-tutors-in-enfield .fullwidthcontent,
	.one-of-our-most-popular-tutors-in-enfield .wrapper
	{
		width:98%;
		margin:1% auto;
		
	}
	
	.one-of-our-most-popular-tutors-in-enfield .wrapper article {
		margin: 0 auto;
	}
	
	.one-of-our-most-popular-tutors-in-enfield img {
		max-width: 100%;
		height:auto;
		display: block;
		margin: 0 auto;
	}
	/*
	.one-of-our-most-popular-tutors-in-enfield .wrapper article,
	footer
	{
		display: none;
	}
	*/
	
	
	
	ul.mainmenu li {
		margin:0 30px;
		margin: 0 12px;
		margin:0 9px;
	}
	
	
	.postcardcontainer {
		width:100%;
	}
	
	.postcard img {max-width: 100%;
	height:auto;
	}
	
	.herocontainer img {
		max-width: 30%;
		height:auto;
	}
	
	.three-item li {
		padding-left: 0;
	}
	
}

@media screen and (max-width:900px) {
	ul.mainmenu li {
		margin:0 1.5%;
	}
	
	.postcardcontainer {
		flex-flow: column;
	}
	
	.postcard {
		width:70%;
		margin:0 auto;
	}
	
	.postcard.ptwo {
		margin-left:auto;
		margin-right: auto;
	}
	
	.postcard::before, .postcard::after {
		padding:2% 0 0 0;
	}
	
	.home .wrapper {
		width:98%;
		margin: 0 1%;
	}
	
	.heromessage {
		width:100%;
		float:none;
	}
	
	.cta {
		display: block;
		text-align: center;
	}
	
	.herocontainer img {
		max-width: 100%;
		float:none;
	}
	
	.heromessageimage {
		background:blue;
		width:35%;
		margin: 0 auto;
	}
	
	.onetwo {
		width:100%;
		float:none;
	}
	
	.three,	
	.herocontainer .left, 
	.herocontainer .right
	{
		width:100%;
		float:none;
		
	}
	
	
	/* turning on dropdown menu */
	#header-menu
	{
		display:none;
	}
	.menu-toggle { /*button*/
		display:block;
		font-size:24px;
		padding:5px 20px;
		border-radius: 8px;
		margin:5px auto;
		color:#bf4e28;
		text-shadow:1px 1px 1px #666;
	}
	
	.menuActive {
		background:#0d4375;
		color:#f6f7be;
	}
	
	ul.mainmenu li {
		display:block;
		margin-top:10px;
		margin-bottom:50px;
	}
    
	
	
	
}

@media screen and (max-width:600px) {
	.blue {
		/*background-color: aquamarine;*/
	}
	
	
	/* one column */
	
	/*Youtbue responsive*/
.iframe-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
.iframe-container iframe{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* --- youtube responsive -- */
    
    .home .videoBlockWrapper    {
        width:98%;
		margin:1% auto;
    
    }
    
	/* moved this #header-menu
	{
		display:none;
	}		
	*/
	
	h1 {
		line-height: 1.5;
		margin-bottom: 1em;
	}
	
	/* moved this
	menu-toggle { 
		display:block;
		font-size:24px;
		padding:5px 20px;
		border-radius: 8px;
		margin:5px auto;
		color:#bf4e28;
		text-shadow:1px 1px 1px #666;
	}
	
	.menuActive {
		background:#0d4375;
		color:#f6f7be;
	}
	*/
	.formElement {
		padding-left: 0;
	}
	
	.formElement .formText,
	.formElement .formField, .formElement .formComment{
		width:80%;
		float:none;
	}
	
	.ept-contactform {
		padding-left:0;
	}
	
	.heromessage ul,
	.herocontainer ul{
		margin-left:10%;
	}
	
	/* restyling menu */
	
	/* moved this 
	ul.mainmenu li {
		display:block;
		margin-top:10px;
		margin-bottom:10px;
	}*/
    
    
    /* advert */
    .advert .cta {
    font-size: 150%;
    }
}