/* titles styling */

.homepageTitle, .homepageSubTitle {
	
	font-size: 40px;
	font-family: 'Caveat Brush', cursive;
	text-align: center;
	margin-bottom: 15px;
	
	color: #5571C6;
	text-shadow: 0 0 5px #eafff7;
	
}

.homepageTitle {
	margin-top: 35px;
}

h3.miniBoxH3 {
	
	margin: 20px auto;
	font-size: 12pt !important;
	
}

.homepageMiniBox {
	
	padding: 0;
	float: left;
	border: 0;
	width: 30%;
	margin: 1.6%;
	box-sizing: border-box;
	text-align: left;
	
}

.moreFromContainer {
	
	clear: both;
	width: 100%;
	text-align: right;
	margin-bottom: 20px;
	
}

.miniBoxImage {
	
	
	object-fit: cover;
	height: 200px;
	
}

.homepageSubTitle {
	
	font-size: 35px;
	
}

/* text block styling */


.homepageText {
	
	font-size: 20px;
	padding: 30px;
	margin-top: 50px;
	color: white;
	background: #32759A;
	background: linear-gradient(to right, #32759A, #3190c4);
	width: 100%;

	
}

h1 {
	
	margin: 0;
	font-size: 30pt !important;
	font-family: 'Caveat Brush', cursive;
	text-align: center;
	padding: 20px;
	
}


	


.homepageText p {
	
	margin: 30px 0;
	
}

/* Homepage content styling */

.otherGuidesContainer {
	
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	justify-content: space-evenly;
	-webkit-justify-content: space-evenly;
	box-sizing: border-box;
	width: 100%;
	margin: 20px 0 30px 0;
	border-radius: 5px;
	
}

.otherGuidesContainer a:hover {
	text-decoration: none;
}

h2.contentHeader {

	font-family: 'Caveat Brush', cursive;
	font-size: 45px;
	width: 100%;
	border-bottom: 1px dotted #ccc;
	color: #c1c1c1;
	padding: 10px;
	margin: 20px auto;
	text-align: center;
	
}


h2.contentHeader a {
	
	text-decoration: none;
	
}

	


.fancy a {
	
	color: white !important;
	text-decoration: none !important;
	
}

.fancy a:hover {
	
	text-decoration: underline !important;
	
}
	
.homeContainer {

	display: flex;
	display: -webkit-flex;
	flex-direction: row;
	-webkit-flex-direction: row;
	justify-content: space-between;
	width: 100%;

}

.homeCell {

	display: flex;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-direction: column;
	width: CALC(50% - 15px);

}

.homeCell img {
	
	width: 100%;
	
}



.homeRow {

	/*border: 1px solid red;*/

}

.homeRowBottom {

	display: flex;
	display: -webkit-flex;
	flex-grow: 1;
	-webkit-flex-grow: 1;
	flex-direction: row;
	-webkit-flex-direction: row;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	justify-content: flex-end;
	-webkit-justify-content: flex-end;
	align-items: bottom;
	align-items: flex-end; 
	-webkit-align-items: flex-end; 
	margin-top: 10px;

}


.homePicCol {

	width: 100%;
	margin-bottom: 20px;

}

.homeTextCol {

	width: 100%;
	text-align: left;

}


a.homeLink:link, a.homeLink:active, a.homeLink:visited {

	font-family: 'Kanit', sans-serif;
	line-height: 1.3em;
	display: inline-block;
	font-weight: normal;
	-webkit-transition: color .2s;
    transition: all .2s;
    color: #0D6BAC;
	text-decoration: none !important;
	font-size: 15pt;
	margin: 1em auto;
	width: 100%;
	text-align: left;
    

}

a.homeLink:hover {

	text-decoration: none;
	color: #51B5EC;

}



.nicePic {

	object-fit: cover;
	height: 200px;

	

}



/* read more styling */


.readMoreContainer {
	
	width: 100%;
	text-align: right;
	
}

h2.bigHeader {
	
	display: block;
	width: 100%;
	margin: 50px 0;
	font-size: 30pt;
	text-align: center;
	color: #0D6BAC;
	
	
}

a.read-more, .moreFromContainer a {
	
	
    display: inline-block;
    background: #41579A;
    color: white !important;
    padding: 10px;
    border-radius: 5px;
	margin-top: 10px !important;
	transition: all 0.2s;
	text-decoration: none !important;
	max-width: 120px;
	text-align: center;
	margin-right: 0;
	
}

.moreFromContainer a {
	max-width: 50%;
}

a.read-more:hover {
   background: #14265c; 
	
}


.mobileOnly {
	display: none;
}




/*
##########################################

Media Queries

##########################################
*/

@media only screen and (max-width: 800px) {
	

	
	.homepageTitle {
		

		font-size: 45px;
		margin: 15px 0;
		
	}
	
	/* content styling responsive */
	
	.homepageSubTitle {
		
		font-size: 35px;
		margin: 15px 0;
		
	}
	
	h2.contentHeader {
	
		font-size: 50px;
		padding-bottom: 10px;
		margin: 0;
		margin-top: 20px;
		
	}
	
	.homeTitle {

		font-size: 25px;
		margin: 0;
		line-height: 1.2em;
				
	}
	


}




@media only screen and (max-width: 600px) {
	
	.pinkBox {
		
		margin-bottom: 20px;
		
	}
	
	.homepageTitle {
		
		font-size: 35px;
		margin: 15px 0;
		
	}
	
	.homepageSubTitle {
		
		font-size: 25px;
		margin: 15px 0;
		
	}
	
	


	/* Homepage content styling */
	
	h2.contentHeader {
	
		font-size: 40px;
		
	}
	

	
	h2.fancy {

		width: 100%;
		margin: auto;
		text-align: center;
		width: CALC(100% + 20px);
		margin-left: -10px;
		margin-bottom: -20px;
		
	}

	.otherGuidesContainer {
		
		padding: 10px 20px 20px 20px;
		margin: 30px 0;
		background: white;
		box-shadow: -4px 4px 4px  rgba(0,0,0,0.2);
		-moz-box-shadow: -4px 4px 4px  rgba(0,0,0,0.2);
		-webkit-box-shadow: -4px 4px 4px  rgba(0,0,0,0.2);
		
	}
				
	.homeContainer {
	
		display: flex;
		display: -webkit-flex;
		flex-direction: column;
		-webkit-flex-direction: column;
		
		
	
	}
	
	.homeCell {
	
		width: 100%;
		margin-bottom: 30px;
	
	}
	

	.homeTitle {

		font-size: 30px;
		margin: 0;
				
	}
	


}




