* {

	margin:0; /* it's better to use a reset like normalize.css */
	padding:0;
	box-sizing:border-box; /* this will make padding and border included in widths - this is best for responsive layouts */
	
	}
	
body {
	
	font-family: 'Kanit', sans-serif; /* sets default font for entire site */
	
	}
	
/* sets all images to be responsive but not get any larger than their original width. You could instead apply this using a class */

img {max-width:100%;}

/* these are some commonly used styles you can add as defaults */

.bold {font-weight:bold;}
.italic {font-style:italic;}
.clearfix {clear:both;} /* use to clear floats */

h1, h2, h3, h4, h5, h6 {

	margin-bottom: 1em;

}

p {

	margin-bottom: 1em;
	
}

header {

	margin-bottom: 1em;

}

.logo {
	
	display: block;
	margin: 0 auto;
	padding: 1em;
	width: 90%;
	
}

.logotype {
	
	display: block;
	font-weight: 600;
	font-size: 3em;
	margin: 0 auto;
	text-align: center;
	line-height: 100%;
	padding: .5em;
	
}

.logowrap {
	
	display: flex;
	flex-direction: column;
	width: 50%;
	
}

.mainwrap{
	
	width: 95%;
	margin: 0 auto;
	
}

.grid {
		
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	flex-wrap: wrap;
		
}

.grid-item {
	
	width: 31.333%;
	margin: 1%;
	border: 3px solid red;
	font-size: .7em;
	
}

#googleMap {
	
	height:400px;
	order: -2;
	width: 98%;
	margin: 1%;

}

.highlight {
	
	width: 48%;
	margin: 1%;
	border: 3px solid red;
	order: -1;
	font-size: 1em;
	
}

.grid-item  p{
	
	padding: 0 1em;

}
		

a:link {
	
	color:red;
	
	}
	
a:visited {
	
	color:maroon;
	
	}
	
a:hover {
	
	color:black;
	
	}
	
a:active {
	
	color:pink;
	
	}
	
/* Style the links inside the navigation bar */

.mast {
	
	display: flex;
	width: 100%;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	
}
	
.topnav {
	
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	width: 50%;
	padding: 1em;
	
}

.topnav a {
	
	display: block;
	border: 2px solid black;
	border-radius: .5em;
	padding: 1em;
	text-decoration: none;
	text-align: center;
	background-color: rgb(237, 28, 36);
	color: white;
	flex-basis: 31%;
}

/* Change the color of links on hover */
.topnav a:hover {
	
    background-color: white;
	color: rgb(237, 28, 36);
	
}

/* Add an active class to highlight the current page */
a.active {
	
    background-color: white;
	color: rgb(237, 28, 36);
	
}

.topnav a.icon {
	
   display: block;
	
}

input, select, textarea {

	display:block;
	border: 3px solid black;
	border-radius: 1em;
	font-family: 'Oxygen', sans-serif;
	box-sizing: border-box;
	padding: .5em;
	margin-bottom: 1em;
	
}

input[type=submit], input[type=reset] {
	
	display:block;
	background-color: rgb(237, 28, 36);
	color: white;
	resize: vertical;
	font-family: 'Kanit', sans-serif;
	padding: 1em;
	margin-right: 1em;
	
}

input[type=submit]:hover, input[type=reset]:hover {
	
    background-color: white;
	color: rgb(237, 28, 36);
	
}

input[type=submit]:active, input[type=reset]:active {
	
    background-color: white;
	color: rgb(237, 28, 36);
	
}

.sidebyside {
	
	display: flex;
	
}

textarea {
	
	width: 100%;
	max-width: 400px;
	min-height: 9em;
	
}

.formwrap h3 {
	
	margin-bottom: .25em;
	
}

input[type=text]:focus, select:focus, textarea:focus, input[type=submit]:focus, input[type=reset]:focus {
	
    outline: none;
	
}

#myBtn {

    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: 3px solid black; /* Remove borders */
    border-radius: 1em;
    outline: none; /* Remove outline */
    background-color: #FFC200; /* Set a background color */
    color: black; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 1em; /* Some padding */
    font-size: 1em; /* Increase font size */
}

#myBtn:hover {
    background-color: black; /* Add a dark-grey background on hover */
    color: #FFC200;
}


/* ========= Mobile First Method Media Queries ========= */

/* all your css for your media queries will style your site when the viewport is less than your first break point - in this example that means 767px wide and smaller */

/* Small devices and tablets */

@media only screen and (min-width:768px) {
	
	header {
	
		display: flex;
		flex-direction: row;
		align-items: center;

	}
	
	.logowrap {
	
		flex-direction: row;
		align-items: center;
		
	}
	
	.topnav {
	
	
	}
	
	.logo {
		
		margin: 0;
		width: 400px;
	
	}
	
	body {
		
		max-width: 1200px;
		margin: 0 auto;
	}
	
	.grid-item {
		
		width: 23%;
		margin: 1%;
		font-size: 1em;
		
	}

	#googleMap {
		
		order: -2;
		width: 48%;
		margin: 1%;

	}

	.highlight {
		
		width: 23%;
		margin: 1%;
		border: 3px solid red;
		order: -1;
		
	}
	
/* Medium devices, desktops */

@media only screen and (min-width:992px) {
	
	
/* Large devices, widescreens */

@media only screen and (min-width:1200px) {
	

}
