/*Study in Montreal layout*/
body{
	font-family:arial,san-serif;
	}

main{
	width:992px;
	margin:0 auto;
	padding:0 20px;
	background-color:#f2f2f2;
}
/*--page1,index--*/

/*--1.logo-navi-bar--*/
.header{
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:space-between;
	padding:10px 0;
}

.logo{
	width:30%;
}

.logo img{
	width:120px;
	height:auto;
	display:block;
}

.navigation{
	width:50%;
	display:flex;
	justify-content:space-around;
}

.navigation a{
	text-decoration:none;
	font-weight:bold;
	color: #002b80;
}

.search{
	width:20%;
	justify-content:right;
}
/*--1.logo-navi-bar,end--*/

/*--2.hero--*/
.hero{
	Height:400px;
	background-size:cover;
	background-position:center;
	background-repeat: no-repeat;
	display:flex;
	flex-direction:column;
	justify-content:center;
	text-align:center;
	margin-bottom:30px;
	gap:30px;
}

.hero a{
	color:#002b80;
	background-color:beige;
	font-size:21px;
	text-decoration:none;
	padding:8px 20px;
	margin:0 auto;
}
.hero-home{
		background-image:url('../img/home/school1.jpg');
}
/*--2.hero,end--*/

/*--3.school--*/
.schoolbox{
	width:100%;
	display:flex;
	flex-direction:row;
	text-align:center;
	padding:0;
	margin-bottom:60px;
	gap:20px;
}

.school{
	width:100%;
	height:300px;
	background-size:cover;
	background-position:center;
	background-repeat: no-repeat;
}

.school a{
	display:flex;
	flex-direction:column;
	height:100%;
	text-decoration:none;
	justify-content:space-between;
}

#university{
	background-image:url("../img/home/school2.jpg");
}
#college{
	background-image:url("../img/home/students1.jpg");
}
#secondary{
	background-image:url("../img/home/teamwork.jpg");
}
#primary{
	background-image:url("../img/home/class.jpg");
}

.school h1{
	font-size:24px;
	font-weight:bold;
	color:beige;
	background-color:rgb(38,38,38,0.7);
	margin:0;
	padding:15px 0;
	
}

.school p{
	width:100%;
	font-size:14px;
	color:beige;
	background-color:rgb(38,38,38,0.7);
	margin:0;
	padding:8px 0;
	text-align:center;
}
/*--3.school,end--*/

/*--4.footer--*/
footer{
	display:flex;
	flex-direction:row;
	align-items:center;
	justify-content:space-between;
	padding:20px 0;
	border-top:0.5px solid #cccccc;
}

.footer-logo{
	width:30%;
}

.footer-logo img{
	width:120px;
	height:auto;
	display:block;
	margin-top:0;
}

.contact{
	width:50%;
	font-size:18px;
	font-weight:bold;
	display:flex;
	flex-direction:row;
	gap:30px;
}

.socials{
	width:20%;
	display:flex;
	flex-direction:row;
	justify-content:space-around;
}

.socials img {
	width:35px;
	height:auto;
}

/*--4.footer,end--*/

/*--5.copyright--*/
.yydesign{
	width:100%;
	text-align:center;
	color:black;
	font-size:14px;
	margin:20px 0;
	padding:20px 0;	
	border-top:0.5px solid #cccccc;
}
/*--5.copyright,end--*/

/*--page1,index,end--*/

/*--page2,schools--*/

.hero-schools{
	background-image:url('../img/schools/heroschools.jpg');
}

.paragraph{
	text-align:left;
	color:#002b80;
	font-size:20px;
	font-weight:bold;
}

.text{
	display:flex;
	color:#002b80;
	font-size:18px;
	font-weight:bold;
	border-top:0.5px solid #cccccc;
	margin-top:30px;
	text-decoration:none;
}

.schoolcontent{
	width:95%;
	display:flex;
    justify-content:space-around;
	padding:20px;
}

.school-item{
	width:45%;
	display:flex;
}

.school-item a{
	display:flex;
	align-items:center;
	gap:20px;
	text-decoration:none;
}

.logo-box{
	width:300px;
	height:100px;
	display:flex;
	justify-content:center;
	align-items:center;
	padding:10px;
	border-right:1px solid #cccccc;
	border:0.5px solid #cccccc;
}
.logo-box img{
	width:100%;
	height:100%;
}
	
.text-box h2{
	margin:0 auto;
	color:#002b80;
	font-size:18px;
}

.text-box p{
	margin:10px 10px 10px 0px;
	color:#002b80;
	font-size:14px;
}

.see-more a{
	font-size:18px;
	font-weight:normal;
	width:100%;
	display:inline-block;
	text-align:center;
}

.iconbox{
	width:45%;
	height:100px;
	display:flex;
	flex-direction:row;
	justify-content:center;
	align-items:center;
	padding:30px 20px;
	border-top:1px solid #cccccc;
	margin:0 20px;
}

.iconbox img{
	width:40px;
	height:auto;
	margin-right:20px;
}

.iconbox a{
	text-decoration:none;
}

/*--page2,schools, end--*/

/*--page3,apply--*/
.hero-apply{
	background-image:url('../img/apply/apply2.png');
}

.applicantbox{
	width:100%;
	display:flex;
	flex-direction:row;
	text-align:center;
	padding:0;
	margin-bottom:60px;
}

.applyimg{
	width:33.33%;
	height:300px;
	background-size:cover;
	background-position:center;
	background-repeat: no-repeat;
	justify-content:center;
	color:beige;
	padding:20px 30px;
	margin:10px;
}

.applyimg h1{
	font-size:24px;
	font-weight:bold;
	color:beige;
	background-color:rgb(38,38,38,0.7);
	margin:100px 30px 80px 30px;
	padding:0;
}
	
#montreal{
	background-image:url('../img/apply/montreal.jpg');
}

#province{
	background-image:url('../img/apply/province.jpg');
}		

#international{
	background-image:url('../img/apply/international.jpg');
}

.learnmorebutton{
	color:#002b80;
	background-color:beige;
	font-size:18px;
	text-decoration:none;
	margin:0 auto;
	padding: 10px 10px;
}
/*--page3,apply,end--*/

/*--page4,life--*/

.hero-life{
	background-image:url('../img/life/montrealcity2.png');
}

.lifebox{
	display:flex;
	flex-direction:row;
	margin:40px 35px 30px 20px;
	padding:20px;
	justify-content: space-between;
	border-top:1px solid #cccccc;
}

.life h1{
	color:#002b80;
	font-size:30px;
	margin:20px;
}

.life a{
	text-decoration:none;
	color:#002b80;
}
.list{
	font-size:24px;
	color:#002b80;
}

.video{
	width:100%;
	height:300px;
}

.video iframe{
	width:100%;
	height:100%;
}
	
/*--page4,life,end--*/