/*----------------------------------*/
/*BODY AND HEADINGS*/
/*----------------------------------*/
body
{
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 18px;
	line-height: 28px;
	font-family: "DM Sans", sans-serif;
	color: #666;
	font-weight: 400;
}


.redp
{
color:#E50119;
}

.spanp p span

{
color:#E50119;
}


.centres ul span

{
color:#E50119;
}

a
{
	text-decoration:none;
	color:#E50119;
	transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    cursor: pointer;
}

h1, h2, h3, p, ul, table
{
	margin-bottom:20px;
}

h1
{
	color:#000000;
	font-size:64px;
	line-height:40px;
	font-weight: 900;
  	font-family: 'euclid_circular_abold';
  	
}

h2
{
	color: #E50119;
	font-size:44px;
	line-height:50px;
	font-weight: 900;
  	font-family: 'euclid_circular_abold';
  	
}

h2 span
{
color: #413F41;
}


.whiteh2 h2
{
color:#fff;
}

h3
{
	color:#413F41;
	font-size:24px;
	line-height:40px;
	font-weight: 900;
}

h4
{
	color:#E50119;
	font-size:14px;
	line-height:40px;
	font-weight: 600;
	letter-spacing: 2px;
}

h4 i
{
	color:#E50119;
	padding-right: 10px;
}



.contact a
{
color:#413F41;
}

.contact i
{
color:#E50119;
margin:10px;
}


@font-face {
    font-family: 'euclid_circular_amedium';
    src: url('/homeandawaystudents/fonts/euclidcircularamedium-webfont.woff2') format('woff2'),
         url('/homeandawaystudents/fonts/euclidcircularamedium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'euclid_circular_abold';
    src: url('/homeandawaystudents/fonts/euclidcircularabold-webfont.woff2') format('woff2'),
         url('/homeandawaystudents/fonts/euclidcircularabold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}



.outro
{
background-color: #E50119;
padding-top:40px;
padding-bottom:30px;
}

.outro h2
{
color:#fff;
font-size:30px;
}


/*----------------------------------*/
/*UNDERLINE*/
/*----------------------------------*/

.underline
{
	border-bottom:solid 3px #E3E3E3;
	padding-bottom:10px;
	margin-bottom:20px;
	display:inline-block;
	font-weight:bold;
	width: 70px;
}

/*----------------------------------*/
/*BLOCKS*/
/*----------------------------------*/

.block1
{
	background-color:#E50119;
	color:#fff;
}

.block2
{
	background-color:#eeeeee;
}

.block3
{
	background-color:#000000;
	color:#fff;
}

.block1 h1, .block1 h2, .block1 h3, .block1 a,
.block3 h1, .block3 h2, .block3 h3, .block3 a
{
	color:#fff;
}

/*----------------------------------*/
/*PREHEADER*/
/*----------------------------------*/

.preheader
{
	background-color:#413F41;
	padding-bottom:5px;
	padding-top:5px;
	z-index:999;
	font-size:18px;
	color: #fff;
}

.preheader p
{
	margin-bottom: 0px;
}

.preheader a
{

}

.preheader i
{
	padding-right: 10px;
	color: #E50119;
}

.preheader .ecomlinks a
{
	margin-left:20px;
	font-weight:bold;
}

.preheader .linkprimary
{
display:block;
margin:5px;
}


.preheader .linkprimary:hover
{
	background-color:#fff;
	color:#413F41;
	transform:translateX(5px);
}


.partner
{
background-color:#413F41;
padding-top:7px;
padding-bottom:9px;
padding-left:20px;
padding-right:20px;
font-weight:700;
margin-top:-1px;
color:#fff !important;
}


.partner2
{
background-color:#fff;
padding-top:7px;
padding-bottom:9px;
padding-left:20px;
padding-right:20px;
font-weight:700;
margin-top:-1px;
color:#413F41 !important;
}


/*----------------------------------*/
/*HEADER*/
/*----------------------------------*/

.header
{
	background-color:#ffffff;
	padding-top:10px;
	padding-bottom: 10px;
	z-index:999;
  	
}

.header .right h2
{
	margin-bottom: 0px;
	font-weight: 300;
}

.header .right p
{
	margin-bottom: 0px;
}

.header .center 
{
	padding-top: 20px;
}

/*----------------------------------*/
/*HEADER ON TOP*/
/*----------------------------------*/

.headerontop
{
	padding-top:30px;
	padding-bottom: 40px;
	z-index:999;
	position:absolute;
    background-position: bottom center;
	background-size: cover;
    background-image: url("/homeandawaystudents/images/navbg.png");
	background-repeat:no-repeat;
}


/*----------------------------------*/
/*LOGO*/
/*----------------------------------*/

.logo img
{
max-width:280px;
}

/*----------------------------------*/
/*HERO*/
/*----------------------------------*/

.hero
{
	height:900px;
	position:relative;
	background-size: cover;
	background-position: top center;
	color: #ffffff;
    padding-top:150px;
}

.hero .arrowdown
{
	position: absolute;
	bottom: 40px;
	left: 50%;
	margin-left: -30px;
}

.hero100
{
	height:100vh;
}

.hero h1
{
	color:#ffffff;
	letter-spacing:0px;
	line-height: 90px;
	display: inline-block;
  font-family: 'euclid_circular_abold';
}

.hero h2, .hero h3
{
	color:#ffffff;
	margin:auto;
	margin-bottom:30px;
}

.hero p
{
	font-size:20px;
	margin-bottom:38px;
    font-family: "DM Sans", sans-serif;
}

.hero h1 span, .hero h2 span, .hero h3 span
{
	color:#E50119;
}

.herosml
{
	height: 600px;
}

.herosml h1, .herosml h2, .herosml h3, .herosml
{
	color:#fff;
   
}

.hero-gallery
{
	
}

.hero-gallery .gallery-cell
{
	width:100%;
	height:100%;
	background-size: cover;
	background-position: center center;
}



.heroicons img
{
max-width:180px;
}

/*----------------------------------*/
/*ALIGNMIDDLE*/
/*----------------------------------*/

.alignmiddle
{
	position:absolute;
	top: 65%;
	-webkit-transform: translateY(-50%);
	-moz-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	-khtml-transform: translateY(-50%);
	transform: translateY(-50%);
	margin:0;
	width:100%;
}


.herosml .alignmiddle
{
top: 70%;
}

/*----------------------------------*/
/*SIMPLE GALLERY*/
/*----------------------------------*/

.simple-gallery .gallery-cell
{
  width: 31%;
  margin:2%;
}

/*----------------------------------*/
/*TESTIMONIALS*/
/*----------------------------------*/

.testbg
{
	background-position: top center;
	background-size: cover;
	padding-top: 100px;
	padding-bottom: 100px;
    background-image: url("/homeandawaystudents/images/testbg.png");
	background-repeat:no-repeat;

}

.testimonials-gallery .gallery-cell
{
  width: 100%;
  padding-left:10%;
  padding-right:10%;
}

.testimonials-gallery h2
{
  line-height:50px;
	font-size: 20px;
	font-weight: 400;
	color: #413F41;
    
}

.testimonials-gallery p
{
	font-weight: 700;
	color: #E50119;
}


/*----------------------------------*/
/*LINKS*/
/*----------------------------------*/

.linkprimary
{
	display:inline-block;
	background-color:#E50119;
	padding:12px 30px;
	font-size:16px;
	font-weight:500;
	color:#ffffff;
	transition: all .2s ease-in-out;
	letter-spacing: 0px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	border-radius: 30px;
	text-align: center;
  font-family: 'euclid_circular_amedium';
  text-transform:uppercase;
		
}

.linkprimary:hover
{
	background-color:#413F41;
	color:#fff;
	transform:translateX(5px);
}



.linkprimarywhite
{
	display:inline-block;
	background-color:#fff;
	padding:12px 30px;
	font-size:16px;
	font-weight:500;
	color:#413F41;
	transition: all .2s ease-in-out;
	letter-spacing: 0px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	border-radius: 30px;
	text-align: center;
  font-family: 'euclid_circular_amedium';
		
}

.linkprimarywhite:hover
{
	background-color:#413F41;
	color:#fff;
	transform:translateX(5px);
}



form div
{
 margin-bottom: 10px;
}

/*----------------------------------*/
/*FORMS*/
/*----------------------------------*/

input[type="text"], input[type="password"]
{
	padding:15px;
	width:100%;
	background-color: #eee;
	border: 0px solid #ccc;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-appearance: none;
	font-size:16px;
	color:#666;
	font-family: 'euclid_circular_amedium';
}


.whiteform input[type="text"], input[type="password"]
{
background-color: #fff;
}


.whiteform textarea
{
background-color: #fff;
height:150px;
}



select
{
	padding:15px;
	width:100%;
	background-color: #eee;
	border: 0px solid #ccc;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-appearance: none;
	font-size:16px;
	color:#666;
	font-family: 'euclid_circular_amedium';
}

textarea
{
	padding:15px;
	width:100%;
	background-color: #eee;
	border: 0px solid #ccc;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-appearance: none;
	font-size:16px;
	color:#666;
	font-family: 'euclid_circular_amedium';
}


input[type="submit"], input[type="button"]
{
	background-color: #E50119;
	border: 0px;
	color:#FFFFFF;
	cursor:pointer;
	padding:12px 30px;
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	border-radius: 30px;
    font-size:16px;
    width:100%;
    text-transform:uppercase;
    -webkit-appearance: none;
	transition: all .2s ease-in-out;
	font-family: 'euclid_circular_amedium';
}

input[type="submit"]:hover, input[type="button"]:hover
{
	background-color:#413F41;
	color:#fff;
	transform:translateX(5px);
}




/*----------------------------------*/
/*IMAGE HOVER HOVER LINKS*/
/*----------------------------------*/

a img { transition: all .2s ease-in-out; }
a img:hover { transform:translateY(-5px) }






/*----------------------------------*/
/*BREAKS*/
/*----------------------------------*/

.break
{
	margin-top:2%;
	margin-bottom:2%;
	height:1px;
	background-color:#eee;
	clear:both;
}

.breakclean
{
	height:1px;
	clear:both;
}

/*----------------------------------*/
/*FOOTER*/
/*----------------------------------*/

.footer
{
	background-color:#fff;
	color:#6E6F70;
	margin-top:-1px;
	font-size: 16px;
}

.footer img
{
	max-width:240px;
}

.footer h2, .footer h3, .footer h4
{
	color: #E50119;
}

.footer a
{
	color:#6E6F70;
	font-weight:800;
	text-decoration: underline;
}

.footer i
{
	font-size:40px;
	margin:5px;
	color:#E50119;
}

.footer2 a
{
	color:#E50119;
}

.footer a:hover, .footer2 a:hover
{
	text-decoration: underline;
}


.footer2
{
	background-color:#000000;
	color:#fff;
	margin-top:-1px;
	font-size: 14px;
}

/*----------------------------------*/
/*IMG FLOATS*/
/*----------------------------------*/

.imgfloatleft
{
	float:left;
	margin-right:2%;
}

.imgfloatright
{
	float:right;
	margin-left:2%;
}

/*----------------------------------*/
/*NAVIGATION*/
/*----------------------------------*/

.nav
{
	text-transform:uppercase;
	font-size:15px;
	letter-spacing: 0px;
  	
}

#wrapper
{
	position:relative;
}

#nav-trigger
{
	display:none;
	position:absolute;
	top:60px;
	right:20px;
	z-index: 9997;
}

#nav-trigger span img
{
	max-width:40px;
}

#nav-trigger span
{
	color:#fff;
	cursor:pointer;
	display:inline-block;
	-webkit-transition: -webkit-transform .4s ease-in-out;
    transition:         transform .4s ease-in-out;
}

/*#nav-trigger span:hover
{
	-webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}
*/
nav#nav-main
{
	padding:0px 0;
}

nav#nav-main ul
{
	list-style-type:none;
	margin:0;
	padding:0;
	text-align:right;
}

nav#nav-main li
{
	border-right:solid 0px #444444;
	display:inline-block;
	padding:0 0px;
	position:relative;
}

nav#nav-main li:last-child
{
	border-right:none;
}

nav#nav-main a
{
	margin-top:40px;
	color:#413F41;
	display:block;
	padding:10px 15px;
	transition: all .2s ease-in-out;
  font-family: 'euclid_circular_amedium';
}

.header nav#nav-main a
{
	
}


nav#nav-main a:hover
{
}

nav#nav-main a:after {
  display:block;
  content: '';
  border-bottom:solid 2px #E50119; 
  transform: scaleX(0);  
  transition: transform 250ms ease-in-out;
}

nav#nav-main a:hover:after { transform: scaleX(1); }

nav#nav-main .selected
{
  font-weight: 900;
	color: #E50119;
}

nav#nav-main ul li ul
{
  position:absolute;
  top:90px;
  left:0px;
  width:200px;
  z-index:9999;
  margin:auto;
  left:0px;
  text-align:left;
  padding:0px;
  display:none;
}

nav#nav-main ul li ul li a
{
  text-align:left;
  padding:5px 15px;
  background-color:#333;
  color:#fff;
  min-width:200px;
  margin-top:0px;
  font-size:13px;
  text-transform:none;
}

.header nav#nav-main ul li ul li a
{
	color: #fff;
}

nav#nav-mobile
{
	display:none;
	position:absolute;
	z-index:9999;
	font-size:32px;
	width:100%;
	background-color:#6E6F70;
	font-weight: 800;
	
}

nav#nav-mobile .closemobilenav
{
	text-align:center;
	margin:auto;
	padding:20px 0px;
	cursor:pointer;
	-webkit-transition: -webkit-transform .4s ease-in-out;
    transition:         transform .4s ease-in-out;
}


nav#nav-mobile .closemobilenav:hover
{
	-webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

nav#nav-mobile ul
{
	
	display:none;
	list-style-type:none;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}

nav#nav-mobile ul li ul
{
	margin-bottom:0px;
}

nav#nav-mobile ul li ul li a
{
	color:#E50119;
    font-size:20px;
}

nav#nav-mobile li ul
{
	padding-top: 20px;
}

nav#nav-mobile li ul li
{
	display:block;
	margin:0 0px;
	padding:5px 0;
}


nav#nav-mobile li
{
	display:block;
	margin:0 0px;
	padding:20px 0;
}

nav#nav-mobile li:last-child
{
	border-bottom:none;
}

nav#nav-mobile a
{
	color:#fff;
	display:block;
	padding:5px 0px;
}

nav#nav-mobile a:hover
{
	color:#E50119;
}

/*fixed nav bar*/

.navbar
{
	background-color:#000000;
	text-transform:uppercase;
}

.navbar nav#nav-main ul
{
	text-align:left;
}

.navbar nav#nav-main a
{
	margin-top:0px;
}

/*----------------------------------*/
/*GALLERY*/
/*----------------------------------*/


.galleryThumb
{
    width:32%;
	float:left;
	margin-right:2%;
	margin-bottom:2%;
    overflow:hidden;
  max-height:220px;
}

.galleryThumb img
{
	width:130%;
    min-height:220px;
}

.galleryThumb:nth-child(3n+1)
{
  float:right;
  margin-right:0px;
}


/*----------------------------------*/
/*MEDIA QUERIES*/
/*----------------------------------*/


@media only screen and (max-width: 1360px) 
{
	/*NAV*/
	#nav-trigger
	{
		display:block;
	}
	
	nav#nav-main
	{
		display:none;
	}
	
	nav#nav-mobile
	{
		display:block;
	}
	

	
}


@media only screen and (max-width: 1152px) 
{
	/*NAV*/
	#nav-trigger
	{
		display:block;
	}
	
	nav#nav-main
	{
		display:none;
	}
	
	nav#nav-mobile
	{
		display:block;
	}
	
	/*HERO*/
	
		.hero h1
	{
		line-height: 70px;
		font-size: 42px;
	}
	
}


@media only screen and (max-width: 920px) 
{
  
  
  .hidemob
  {
    display:none;
  }
  
  iframe
  {
  width:100%;
  }
  
  .hero .linkprimary
  {
  margin-top:10px;
  }
  
  .outro
{
background-color: #E50119;
padding-top:40px;
padding-bottom:30px;
}

.outro h2
{
line-height:30px;
font-size:20px;
 text-align:center;
}

  
  .alignmiddle
  {
  top:50%;
  }
  
	
	/*LOGO*/
	
	.logo img
	{
		max-height: 240px;
	}
	
	/*HEADINGS*/
	
	h2, h3
	{
		font-size: 25px;
	}
	
	h4
	{
		font-size: 14px;
	}
	
	/*GALLERY*/
	
	.galleryThumb
	{
		width:100%;
		float:none;
		margin-right:0%;
		margin-bottom:2%;
		overflow:hidden;
	  max-height:100%;
	}

	.galleryThumb img
	{
		width:100%;
		min-height:auto;
	}

	.galleryThumb:nth-child(3n+1)
	{
	  float:none;
	  margin-right:0px;
	}
	
	/*SIMPLE GALLERY*/
	
	.simple-gallery .gallery-cell
	{
	  width: 100%;
	  margin:0%;
	}
	
	/*FOOTER*/
	
	.footer, .footer2
	{
		text-align: center;
	}
	
	/*HERO*/
	
	.hero
	{
		background-attachment: scroll !important;
      	height:900px;
	}
	
	.hero h1
	{
		line-height: 40px;
		font-size: 32px;
	}
	
	
	.hero h2, .hero h3
	{
		font-size:18px;
		max-width:100%;
		margin-bottom:20px;
		line-height:30px;
	}
	
	.hero-gallery .alignmiddle
	{
	  padding-left:10%;
	  padding-right:10%;
	}
  
  
  .heroicons img
{
max-width:120px;
}
  
  
  .herosml
  {
  height:500px;
  }
	
	/*RIGHT AND LEFT*/
	
	.right, .left
	{
		text-align:center;
	}
	
	.linkprimary, .linkprimarywhite
	{
		display: block;
	}
	
	/*TESTIMONIALS*/
	
	.testimonials-gallery h2
	{
	  line-height:30px;
	  font-size: 18px;
	  font-weight: 400;
	}
	
	/*FIXED HEIGHT*/
	
	.fixedheight
	{
		height: 100%;
		background-size: cover;
		background-position: center center;
	}
	
	.fixedheightimg
	{
		height: 400px;
	}
	
	
	.fixedheightcontent
	{
		position: relative;
	  top: 0%;
	  left: 0%;
	  transform: translate(0%, 0%);
	}
	
	/*REORDER COLUMNS*/
	
	.box-2 { display: flex; flex-flow: column; }
    .boxt { order: 2; }
    .boxi { order: 1;  }
	
		
}

@media only screen and (max-width: 600px) 
{
	
	
	.imgfloatright
	{
		float:none;
		margin-right:0px;
	}
	
	.imgfloatleft
	{
		float:none;
		margin-left:0px;
	}
	
	.preheader .left
	{
		text-align: center;
	}
	
	
}


