/* Global */
@font-face {
   font-family: 'BwSurco';
   src: url('font/BwSurco-Regular.eot?#iefix') format('embedded-opentype'),  url('font/BwSurco-Regular.otf')  format('opentype'),
 	     url('font/BwSurco-Regular.woff') format('woff'), url('font/BwSurco-Regular.ttf')  format('truetype'), url('font/BwSurco-Regular.svg#BwSurco-Regular') format('svg');
   font-weight: normal;
   font-style: normal;
}

@font-face {
   font-family: 'BwSurco';
	src: url('font/BwSurco-Book.eot?#iefix') format('embedded-opentype'),  url('font/BwSurco-Book.otf')  format('opentype'),
 	     url('font/BwSurco-Book.woff') format('woff'), url('font/BwSurco-Book.ttf')  format('truetype'), url('font/BwSurco-Book.svg#BwSurco-Book') format('svg');
   font-weight: 100;
   font-style: normal;
}

@font-face {
   font-family: 'BwSurco';
   src: url('font/BwSurco-Bold.eot?#iefix') format('embedded-opentype'),  url('font/BwSurco-Bold.otf')  format('opentype'),
 	     url('font/BwSurco-Bold.woff') format('woff'), url('font/BwSurco-Bold.ttf')  format('truetype'), url('font/BwSurco-Bold.svg#BwSurco-Bold') format('svg');
   font-weight: bold;
   font-style: normal;
}
body {
	margin: 0;
	color: #000;
	font: 12px/15px 'BwSurco', Arial, Helvetica, sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: none;
	background: #fff;
}
html { height: 100%; }
* { max-height: 1000000px; }
h1{
	font-weight: 100;
	color:#0e71b4;
	font-size:32pt;
  line-height: 32pt;
	margin:0 0 20px 0;
}
h2{
	font-size:1.8rem;
  line-height: 24pt;
	color:#0e71b4;
  font-weight: 400;
  margin: 1.1rem 0rem 0.4rem 0rem;
}
h3{
	font-size:1.3rem;
	color:#0e71b4;
  line-height: 1.5rem;
}
h4{
	font-size:1.2rem;
  font-weight: 500;
	color:#0e71b4;
}
p{
	font-size:1.2rem;
	line-height: 24pt;
  margin-bottom: 25px;

}

img {
	border-style: none;
	vertical-align: top;
}
.btnLarge{
	background:#1aad4d;
	color:white;
	font-weight: 800;
	font-size: 9pt;
	letter-spacing: 1px;
	padding: 15px 25px;
	border-radius: 3px;
	text-transform: uppercase;
	display: table;
	width:fit-content;
	transition: .2s ease;
  border: 2px solid #1aad4d;
}
.btnLarge:hover{
	background:white;
	color:#1aad4d;
	text-decoration: none;
	box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  cursor: pointer;
}
.wp-content-area .textbox p a.btnLarge{
  color:white;
  display: inline-block;
  margin-right:20px;
}
.wp-content-area .textbox p a.btnLarge:hover{
  color:#1aad4d;
}
a {
	text-decoration: none;
	color: #1f5793;
}
a:hover { text-decoration: underline; color: #174476; }
a:active { background-color: transparent; }
input,
textarea  {
	font: 100% 'Open Sans', Arial, Helvetica, sans-serif;
	vertical-align: middle;
	color: #000;
}
select {
   width: 100%;
display: block;
border: 2px solid #E5E6F7;
border-radius: 3px;
margin-bottom: 10px;
font-family: 'BW Surco', sans-serif;
padding:10px;
font-size: 11pt;
}
form,
fieldset {
	margin: 0;
	padding: 0;
	border-style: none;
}
blockquote,
blockquote:before,
blockquote:after,
q,
q:before,
q:after { quotes: none; }
input[type=text],
input[type=password],
input[type=file],
textarea { -webkit-appearance: none; }
input[type=email],
input[type=search],
input[type=text],
input[type=password],
input[type=file],
input[type=submit],
textarea {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}
header,
footer,
article,
section,
hgroup,
nav,
figure { display: block; }
::selection { background: #0f2f52; color:#fff; /* Safari */ }
::-moz-selection { background: #0f2f52; color:#fff; /* Firefox */ }


/* --- Common site styles --- */
#wrapper {
	overflow: hidden;
	position: relative;
}
#header:after,
#header .holder:after,
.quicklinks-area:after,
.quicklinks-area .holder:after,
.quicklinks-area .frame:after,
.header-content:after,
#nav:after,
#nav > ul:after,
#main:after,
.panel-holder:after {
	content: "";
	display: block;
	clear: both;
}

/* header styles */
#header {
	border-bottom: 3px solid #1b395b;
	background-color: #fff;
	position: relative;
	z-index: 20;
}
#header .holder {
	margin: 0 auto;
	max-width: 1500px;
}
/* page logo styles */
#header .logo {
	text-indent: -9999px;
	overflow: hidden;
	width: 273px;
	height: 71px;
	float: left;
	background: url(../images/logo.png) no-repeat;
	margin: 17px 0 17px 0;
}
#header .logo a {
	display: block;
	height: 100%;
}
.header-content {
	float: right;
	width: 71.8%;
}
.header-content .info {
	overflow: hidden;
	padding: 7px 178px 31px 0;
}


/*------------- Navigation --------------*/
#toolbar{
	background:#073460;
	width:100%;
  height: 51px;

}
#toolbar ul{
	display:inline;
	-webkit-padding-start: 0px;
}
#toolbar ul li{
	display:inline;
	list-style: none;
  color:white;
font-size:small;
}
#toolbar ul li a{
		color:white;
		text-transform: uppercase;
		margin:16px 7px;
		padding-right:15px;
		display:inline-block;
		border-right:1px solid rgba(255,255,255,0.5);
		transition: .1s ease;
}
#toolbar ul li:last-child a{
  border-right: none;
}
#toolbar ul li a:hover{
	opacity:.8;
	text-decoration: none;
}
#toolbar .preNavRight{
	float:right;
	margin:0;
}

#toolbar .preNavLeft{
	float:left;
	margin:0.5rem;
}

#toolbar .preNavLeft a{
	margin:9px 20px 0 0;
	padding-right:0px;
	border-right: none;
}
#toolbar .preNavLeft .btn a{
  border:1px solid rgba(255,255,255,.7);
  border-radius: 3px;
  padding: 8px 12px;
  transition: .2s ease;
}
#toolbar .preNavLeft .btn a:hover{
  background:white;
  color: #073460;
  opacity: 1;
}
#toolbar .preNavLeft .tel{
  font-weight: 400;
  font-family: 'BwSurco';
  letter-spacing: 1px;
  margin-right: 0;
  margin-left: 3px;
  font-size: 10pt;
}
#toolbar svg{
  margin: 0 2px 0 4px;
}

#toolbar .preNavRight a img{
	width:1.2rem;
	height:auto;
	image-rendering: -moz-crisp-edges;         /* Firefox */
	image-rendering:   -o-crisp-edges;         /* Opera */
	image-rendering: -webkit-optimize-contrast;/* Webkit (non-standard naming) */
	image-rendering: crisp-edges;
	-ms-interpolation-mode: nearest-neighbor;  /* IE (non-standard property) */
	transition: .1s ease;
}
#toolbar .preNavRight a img:hover{
opacity:.8;
}
.navigation {
  height: 70px;

}

nav {
  float: right;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  float: left;
  position: relative;
}
nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 0 25px;
  line-height: 100px;
  color: #073460;
  text-decoration: none;
  height:100px;
  font-size: 12pt;
  transition: .2s ease;

}
nav ul li a:hover,
nav ul li a:visited:hover {
  background: rgba(230, 237, 243,1);
  text-decoration: none;
  color: #073460;
}
nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;

}
nav ul li ul li {
  min-width: 190px;
  clear: left;
  width: 100%;
}
nav ul li ul li a {
  padding: 10px 25px;
  line-height: 20px;
  height:inherit;
}
.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
  background:white;
  width:max-content;
  border-radius:  0 0 3px 3px;
  border-top: 3px solid  #073460;
  padding: 10px 0;
}

/*--------- Mobile navigation ----------*/
.nav-mobile {
  display: none;
  position: absolute;
  top: 70px;
  right:20px;
  height: 70px;
  width: 70px;
}
#nav-toggle {
  position: absolute;
  left: 18px;
  top: 22px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 2px;
  width: 30px;
  background: #073460;
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}

/* main informative part styles */
#main{width:100%;}
.maxContainer{
	max-width: 1500px;
	margin:auto;
	padding: 0 40px;

}

.flex.cards {
   justify-content:space-between;
}

.flex.cards img {
   width:100%;
}

.card {
   box-shadow: 0 3px 12px rgba(0,0,0,0.1);
   border-radius: 5px;
   box-sizing: border-box;
   width: 49%;
   margin-bottom:1rem;
}
.card h3{
  color:#0e71b4;
  font-size: 17pt;
  padding-top: 2rem;
  padding-left: 2rem;
  margin: 0rem;
  line-height: 2rem;
}

.four-up {
   background-color: #fff;
   box-shadow: 0 3px 12px rgba(0,0,0,0.1);
   border-radius: 5px;
   box-sizing: border-box;
   width: 24%;
   margin-bottom:1rem;
}





 @font-face {
   font-family: 'BwSurco';
   src: url('font/BwSurco-Regular.eot?#iefix') format('embedded-opentype'),  url('font/BwSurco-Regular.otf')  format('opentype'),
 	     url('font/BwSurco-Regular.woff') format('woff'), url('font/BwSurco-Regular.ttf')  format('truetype'), url('font/BwSurco-Regular.svg#BwSurco-Regular') format('svg');
   font-weight: normal;
   font-style: normal;
 }

 @font-face {
   font-family: 'BwSurco';
	src: url('font/BwSurco-Book.eot?#iefix') format('embedded-opentype'),  url('font/BwSurco-Book.otf')  format('opentype'),
 	     url('font/BwSurco-Book.woff') format('woff'), url('font/BwSurco-Book.ttf')  format('truetype'), url('font/BwSurco-Book.svg#BwSurco-Book') format('svg');
   font-weight: 100;
   font-style: normal;
 }

 @font-face {
   font-family: 'BwSurco';
   src: url('font/BwSurco-Bold.eot?#iefix') format('embedded-opentype'),  url('font/BwSurco-Bold.otf')  format('opentype'),
 	     url('font/BwSurco-Bold.woff') format('woff'), url('font/BwSurco-Bold.ttf')  format('truetype'), url('font/BwSurco-Bold.svg#BwSurco-Bold') format('svg');
   font-weight: bold;
   font-style: normal;
 }

 select {
    width: 100%;
 display: block;
 border: 2px solid #E5E6F7;
 border-radius: 3px;
 margin-bottom: 10px;
 font-family: 'BW Surco', sans-serif;
 padding:10px;
 font-size: 11pt;
 }

.maxgrid{
  max-width: 1300px;
  margin:auto;
  padding: 0 30px;
  display: block;
}

h2{
  margin-top: 0;
  font-size: 20pt;
  margin-bottom: 3px;
}
main h2{
  font-weight: 600 !important;
    margin-bottom: 26px;
}
h3{
  color:#fff;
  font-size: 17pt;
  margin-bottom: 2rem;
}
h4{
  margin-bottom: 0.5rem;
  font-size:15pt;
  line-height: 2rem;
}
p {
  line-height: 20pt;
  margin-top:0;
}


header{
  height:70px;
  border-bottom: 3px solid #0F2F52;
  padding: 15px 0;
}
header .logo{
  float:left;
  display: inline-block;

}


#intro .maxgrid{
  position: relative;
  height: 100%
}

#intro{
  background-image: url(https://www.alexanderacademy.ca/wp-content/uploads/2020/12/aa-lp-hero-img.jpg);
  /* background-image: url(https://www.alexanderacademy.ca/wp-content/themes/academy/images/heroImg2.jpg); */
  /* background-image: url(https://www.alexanderacademy.ca/wp-content/uploads/2019/03/wall9.jpeg);*/
  /* background-image: url(https://www.alexanderacademy.ca/wp-content/uploads/2020/07/hero-distance-1.jpg); */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: relative;
  height:0vw;
  min-height: 900px;
}

#intro .hs-button-fix{
  height: 80%;
}

#intro .col1-2{
  width:55%;
  margin-top:0rem;
}
#intro .col2-2{
  width:55%;
    color:white;
    position:absolute;
    bottom:2rem;
}
#intro .headlines {
   background-color: #ffd262;
   color:#0F2F52;
  font-weight: 800;
  font-size:27pt;
  padding:2rem;
}

#intro h1 {
   color:#0F2F52;
  font-weight: 800;
  font-size:24pt;
  margin-bottom: 0rem;
}

#intro h2{
   color:#0F2F52;
  font-size:16pt;
}

#intro h3{
   color:#0F2F52;
  font-size:14pt;
  margin-bottom: 0rem;
}

ul{
  padding:0;
}
ul li{
  font-size: 1.25rem;
  margin-bottom: 1rem;
  list-style-type: none;
}
#intro ul li{
  text-indent: -26px;
padding-left: 30px;
line-height:18pt;
}
ul li svg{
  margin-right: 10px;
  color:#4CAE3F;
}

ol{
  padding: 0;
  margin-left: .8rem;
}
ol li{
  font-size: 13pt;
  margin-bottom: 14px;
  font-weight: 100;
  line-height: 1.5rem;
  padding-left: .5rem;

}
#intro ol li{
padding-left: 30px;
line-height:18pt;
}
ol li svg{
  margin-right: 10px;
  color:#4CAE3F;
}

.playBtn {
  color:white;
  font-size: 14pt;
  margin-top:30px;
  display: block;
}
.playBtn:hover{
  color:white;
  opacity: .8;
  text-decoration: none;
}
.playBtn img{
  margin-top:-4px;
  margin-right: 4px;
}

.btnLarge{
  margin-top: 30px;
  padding: 15px 35px !important;
}


.hubspot-form{
  width:25%;
  background:white;
  height: 70%;
  padding:40px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  right:30px;
  transform: translateY(-50%);
  box-shadow: 0px 5px 26px rgba(0,0,0,0.2);
}

form{
  width:25%;
  background:white;
  height: 80%;
  padding:40px;
  border-radius: 5px;
  position: absolute;
  top: 50%;
  right:30px;
  transform: translateY(-50%);
  box-shadow: 0px 5px 26px rgba(0,0,0,0.2);
}
form p{
  font-size: 10pt;
  color:#777;
  line-height: 15pt;
  margin-top:20px;
}
form input, form textarea{
  width: 93%;
  display: block;
  border: 2px solid #E5E6F7;
  border-radius: 5px !important;
  margin-bottom: 10px;
  padding:10px;
  font-size: 10pt;
}
form textarea, form textarea{
  min-height: 70px;
}
form input:focus, form textarea:focus, form input:focus{
  outline:none;
  border: 2px solid #1aad4d;
}
form button{
  width:100% !important;
  font-family: 'BwSurco', arial;
  margin-top: 0 !important;
}

form small{
  text-align: center;
  margin-top: 10px;
  display: block;
  color: #777;
}
.form-validation-message{
  margin: -5px 0 10px 0;
  color: #A82020;
  text-align: right;
}


main{
  background: linear-gradient(rgba(3%, 20%, 38%, 0) 30%, rgba(230, 237, 243,1));
}

.flex{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}
main .col1-2, main .col2-2{
  margin-top: 3rem;;
  display: inline-block;
  float:left;
  width:50%;
  box-sizing: border-box;
}
main .col1-2{
  padding-right: 40px;
}
main .col2-2{
  padding-left: 40px;
}
.ibdp li {
  font-size: 14pt;
  line-height: 25pt;
  font-weight:400;
  text-indent: -30px;
  padding-left: 30px;
  margin-bottom: 13px;
}

iframe, .image {
  border-radius: 5px;
  /* box-shadow: 0 3px 12px rgba(0,0,0,0.1); */
  width:100%;
}


.programmeInfo {
  clear: both;
  display: flex
}
.programmeInfo .col1-2, .programmeInfo .col2-2{

}
.programmeInfo .col1-2{
  width:33%;
  background: #073460;
  color:white;
  clear: left;
  border-radius: 5px 0 0 5px;
  padding:50px;
}

.programmeInfo .col2-2{
  background:white;
  width:67%;
  border-radius: 0 5px 5px 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    padding:50px;
    clear:right;
}
.programmeInfo .col2-2 h2{
  color: #fff !im;
}
.programmeInfo .col2-2 h3{
  color: #073460;
}
.programmeInfo .col2-2 ul{
  width:49%;
  display: inline-table;
  box-sizing: border-box;
  margin: 0;
}
.programmeInfo .col2-2 ul li:last-child, .programmeInfo .col2-2 ul li:last-child p{
  margin-bottom: 0;
}
.programmeInfo #alumni {
  padding-right: 30px;
  line-height: 1.5rem;
}

.col2-3, .col3-3{
  margin:100px 0 ;
  display: inline-block;
  width:66%;
}
.col3-3{
  width:33%;
  padding-left:50px;
  box-sizing: border-box;
}
.col2-3{
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    background: white;
    border-radius: 5px;
    padding:30px;
    box-sizing: border-box;
}
.col2-3 img{
  display: inline;
  float:left;
  margin-right:25px;
  padding:10px 20px 10px 0;
  border-right: 2px solid #E5E6F7;
  position: absolute;

}
.col2-3 p{
  margin-bottom: 0;
    padding-left: 120px;
}

.col3-3 *{
 float:left !important;
 display: inline-block !important;
 clear:both !important;
}

.video-container {
    overflow: hidden;
    position: relative;
    width:80%;
		margin-bottom: 2.4rem;
    margin: 0 auto
}

.video-container::after {
    padding-top: 56.25%;
    display: block;
    content: '';
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

footer{
  background: #073460;
  padding: 30px 0;
  color:white;
}
footer .maxgrid{
  display: flex;
}
footer .maxgrid > *{
  width:33%;
}


footer #slogan{
  text-align:center;
  font-size: 16pt;
  margin:auto;
  clear: both;
  margin-top: 15px;
}
footer a{
    text-align:center;
    color:white;
    margin:auto;
    opacity:.5;
    margin: 10px 0 0 28px;
    display: inline-block;
}
footer a:hover{
  color:white;
  opacity: .8;
  text-decoration: none;
}
footer address{
  text-align: right;
  float:right;
  font-style: normal;
  font-size: 12pt;
  line-height: 16pt;
}




@media screen and (max-width:1700px){
  form textarea{
    min-height: 30px;
  }
  form p{
    display: none;
  }
  form h2{
    margin-bottom:20px;
  }
}
@media screen and (max-width:1300px){

  #intro{
    background-position: center;
    height:40vw;
  }
  #intro h1{
    font-size: 18pt;
    line-height: 22pt;
    margin-bottom:0px;
    padding-left:80px;
  }
  #intro .ibLogo {
    margin-top: -5px;
    width:70px;
    height: auto;
  }
  ul li {
    font-size: 12pt;
    line-height: 15pt;
    margin-bottom: 10px;
  }
  footer a {
    margin-left: 14px;
  }


}
@media screen and (max-width:1000px){
   #intro{
     background-image: url(https://www.alexanderacademy.ca/wp-content/themes/academy/images/landingpage/mobile-background-1.jpg);
     /*background-image: url(https://www.alexanderacademy.ca/wp-content/uploads/2020/07/restart-mobile-hero-1.jpg);*/
     background-size: cover;
     background-position: center;
     height:40vw;
     min-height: 600px;
     position: relative;
   }
  h2{
    font-size:16pt;
  }
  form{
    padding:25px;
  }
  form input, form textarea{
    padding:8px;
  }
  .btnLarge{
    padding:12px 0 !important;
    width:100% !important;
    text-align: center;
  }
   footer .maxgrid div:first-child{
     width:25%;
   }
   footer .maxgrid .footText{
     width:50%;
   }
   footer .maxgrid address{
     width:25%;
     font-size: 10pt;
   }
   footer img{
    width:100%;
   }
   footer a {
      margin-left: 25px;
  }
  main .col1-2 {
    padding-right: 20px;
  }
  main .col2-2 {
    padding-left: 20px;
}
.video-container{
  width:100%;
}
@media screen and (max-width:850px){
  #intro .col1-2 {
    width: 50%;
  }
  #intro .col2-2{
      margin-top:3rem;
  }
  #intro ul li {
    font-weight: 500;

  }
  header a, .tel {
    font-size: 15pt;
  }
  #intro h1{
    padding:1rem;
  }
  #intro form{
    width:30%;
  }
  .col3-3 {
    padding-left: 30px;
  }
  .col2-3 {
    padding: 30px !important;
  }

.col2-3 img {
  display: none;
}
.col2-3 p{
    padding-left: 0px;
}
  .col2-3, .col3-3 {
    margin: 50px 0;
  }
  .flex > div, .programmeInfo > div {
    margin-top:0px;
  }
  .programmeInfo > div {
    padding:30px !important;
  }

}
@media screen and (max-width:650px){
	.mail { display: none; }

  header{
    height:90px;
  }
  header .logo {
    float: none;
    display: block;
    margin: auto;
	margin-bottom:10
    width:100% !important;
    max-width: 200px;
  }
  header p, header a, .col3-3 p, .tel {
    float: none;
    margin: 20px 0 0 0;
    text-align: center;
  }
  header p, .col3-3 p  {
display: none;
  }
  header a, .tel{
    font-size:14pt;
  }
  #intro .col1-2 {
    width: 100%;
    display:block;
    position: relative;
    clear: both;
    top:0 !important;
    margin:50px 0;
  }
  #intro form{
    position: relative;
    width: 100%;
    display: block;
    box-sizing: border-box;
    margin-left: 0;
    right: 0;
    top:0;
    transform: none;
    clear: both;
    margin-bottom:40px;
  }
  #intro{
    height: inherit;
    min-width: none;
    background-position: right;
  }

  #video{
    height:200px;
  }
  .flex > div, .programmeInfo > div {
    width:100% !important;
    padding: 0;
    margin-top:1rem;
  }
  .programmeInfo > div {
    border-radius: 5px !important;
    padding:25px !important;
  }
  .programmeInfo{
    flex-wrap: wrap;
  }
  .programmeInfo .col2-2 ul {
    width: 100%;
    margin-bottom: 20px;
  }
  .col3-3, .col3-3 p {
    margin-top: 0 !important;
  }
  footer .maxgrid{
    flex-wrap: wrap;
  }
  footer .maxgrid div:first-child{
    width:100%;
  }
  footer .maxgrid .footText{
    width:100%;
    margin: 20px 0;
    display: block;
  }
  footer .maxgrid address{
    width: 100%;
    text-align: center;
    display: block;
  }
  footer img{
   max-width: 200px;
   margin: auto;
   display: block;
}
  }
  footer a {
    margin-left: 0px;
    text-align: center;
    display: inherit;
  }

  #intro .col1-2{
    margin-top:1rem;
  }
  #intro .col2-2{
      position:relative;
      margin-top:1rem;
  }

}
