/*##########################
		  GLOBAL
##########################*/

html {
	font-size: 16px;
}

body
{
	margin: 0;
	padding: 0;

	font-family: 'lato';
	line-height: 1.6em;

	background-color: #efefef;

	/* min-width: 438px; */
	overflow-x: hidden;
}

h1
{
	font-size: 3rem;
}

h2 {
	font-size: 2rem;
}

h3
{
	font-size: 1.4rem;
	font-weight: bold;
}

a
{
	text-decoration: none;
	color: white;
}

li
{
	list-style-type: none;
}

address {
	display: inline;
}

#mail {
	position: relative;
	bottom: 3.5px;
}

/*##########################
		  NAVBAR
##########################*/

/*	GLOBAL	*/

nav {
	background: white;	
	width: 100%;
	font-weight: bold;
}

.container {
	margin: 0 10%;
}

/*	NAVBAR	*/

.hlogo {
	width: 200px;
	padding-top: 8px;
	padding-right: 0;
}

nav ul {
	display: flex;
	flex-wrap: wrap;
	float: right;
	justify-content: space-between;
	width: 50%;
}

nav li {
	padding-left: 0;
	padding-top: 0;
}

/* burger button */

.burger {
	float: right;
	/* margin-top: 12px; */
	position: absolute;
	top: 10px;

	display: none;
	z-index: 10;

	cursor: pointer;
}

.burger .lines {
	height: 3px;
	width: 25px;
	margin: 5px;

	background-color: #2F455C;
	transition: all .2s ease-out;
}

@media (max-width:1200px) {
	nav ul {
		width: 60%;
	}
}

@media (max-width:1000px) {

	nav ul {
		float: none;
		margin-top: 3px;
		margin-bottom: 0;
		padding-bottom: 10px;
		padding-left: 0;

		justify-content: space-between;
		width: 100%;
	}

	.hlogo {
		margin: 0 35%;
		width: 180px;
	}
}

@media (max-width: 825px) {

	.container {
		margin: 0 5%;
	}

	.burger {
		right: 5%;
	}
}

@media (max-width: 730px) {

	.container {
		margin: 0 2%;
	}

	.burger {
		right: 2%;
	}

}

@media (max-width:570px) {

	nav ul {
		margin-right: 3px;
		padding-bottom: 5px;
	}
}

/* slide nav button */
@media screen and (max-width:768px) {

	body {
		overflow-x: hidden;
	}

	.hlogo {
		margin: 0;
	}

	nav ul {
		
		flex-direction: column;
		height: 95vh;
		/* width: 45%; */

		/* Another way to transform */
		width: 0;
		overflow-x: hidden;
	

		position: absolute;
		top: 44px;
		left: calc(100% - 45%);
		z-index: 10;

		background-color: #fff;
		
		align-items: center;
		justify-content: space-between;
		padding: 200px 0 250px 0;

		box-sizing: border-box;
		/* transform: translateX(100%); */
		/* display: none; */

		transition: all .35s ease-out;
	}

	/* for list to fade in */
	/* nav ul li {
		opacity: 0;
	} */

	.burger {
		display: block;
	}
}

/* add this class in nav ul 
when burger is clicked */
.burgerClicked {
	/* transform: translateX(0);	 */
	width: 45%;
	/* display: flex; */
}
/* we can't scroll down while nav is open */
.burgerCBody {
	overflow-y: hidden;
}

/* Changing Burger Sign */
.changeLine1 {
	transform: rotate(-45deg) translate(-5px,6px);
}

.changeLine2 {
	visibility: hidden;
}

.changeLine3 {
	transform: rotate(45deg) translate(-5px,-6px);}

nav a {
	color: #666;
	padding: 5px 2px;
}

nav a:hover {
	color:#F95700;
}

#active {
	color: #F95700;
	padding-bottom: 3.5px;
	border-bottom: #F95700 2px solid;
}

/*when text is selected*/
p::selection,
a::selection,
span::selection,
div::selection,
h4::selection,
h3::selection,
h2::selection,
h1::selection,
strong::selection,
address::selection,
img::selection{
	background: #F95700;
	color:white;
}



/*##########################
		  FOOTER
##########################*/

/*	FOOTER	*/

footer
{
	height:300px;
	background: #000;
	color: white;

	padding-top: 60px;
	padding-bottom: 0;
}

/*	LOGO (left)	*/

#footerLogo{
	float: left;
	width:20%;
}

#flogo
{
	height: 125px;
}

.icons
{
	display: flex;
	flex-direction: row;
	position: relative;
	right: 16%;
}

.fb,.insta, .twitter, .pin
{
	margin-right: 33px;
	height:20px;
}

/*	LINKS	*/

#footer_main
{
	display: flex;
	justify-content: center;
	justify-content: space-between;

	float: right;

	width:60%;
	height: 0;
	margin: 0;
	padding: 0;
}

@media (max-width:1200px){
	#footerLogo{
		width: 0%;
	}

	#footer_main{
		width: 65%;
	}

	.icons{
		position: relative;
		right: 36px;
	}
}

@media (max-width:1000px){
	footer{
		padding-top: 5%;
	}

	#footerLogo{
		display: none;
	}

	#footer_main{
		width: 100%;
		padding-bottom:0 ;
	}
}

.link ul
{
	padding-left: 0;
}

.link li {
	padding-top: 5px;
}

.link h3
{
	margin: 0 0 .5em 0;
	color: #F95700;
}

.link p{
	margin-top: 0;
}

/*contact*/
.mssg
{
	height:15px;
	margin-right: 10px;
}

.call
{
	height: 20px;
	margin-right: 13px;

	position: relative;
	top: 5px;
}

/*icons (right)*/
._icons{
	display: none;
	margin: 20px 0 0 40px;
	padding-bottom: 20px;
}

@media (max-width:1000px){
	._icons{
		display: flex;
	}

	footer{
		height:330px;
	}
}

@media (max-width:570px)
{
	#footer_main{
		flex-direction: column;
	}

	.link{
		margin-bottom: 50px;
	}

	footer {
		height: 750px;
	}

	.link p {
		margin-bottom: 50px;
	}

	._icons{
		margin-bottom: 0;
	}

}

/*	COPYRIGHT	*/

.bottom
{
	margin: 0;
	background: #F95700;
	text-align: center;
	color:white;
	
	font-size: 12px;
	height: 30px;
	width: 100vw;

	position: absolute;
	left:0;
	right:0;
}

.bottom p{
	margin: 0;
}
