/* External Website CSS */

body{font-family: arial, sans-serif;
font-size: 14px;
font-weight: 300;
color: #363837;
margin: 0;
padding:0;
background-color:#665A45;
}

#wrapper {max-width: 1200px;
margin: 0 auto;
position: relative;
background-color:#ffffff;
box-shadow: 2px 5px 5px #070808;
}


/* TEXT */
h1 {margin: 0 0 1em 0;
font-size: 2.8em;
font-weight: 700;
}

h2 {
	margin: 0 0 .5em 0;
	font-size: 1.6em;
	font-weight: 700;
	line-height: 1.1em;
	text-align: center;
	color: #38647A;
}

h3 {margin: 0 0 .5em 0;
font-size: 1.3em;
font-weight: 700;
}

h4 {margin: 0 0 1.5em 0;
font-size: 1.3em;
font-weight: 700;
}

p{margin: 0 0 1em 0;
}

a{color:#007eff;}
a:visited {color: #C7820C;}

a.btn {font-size: 1.2em;
text-decoration: none;
color: #000000;
border: 1px solid #000000;
padding: 4px 15px;
margin: 20px 0px;
transition: background-color .5s;
}

a.btn:hover {background-color: rgba(102,90,69,.8);
}


/* HEADER */
header { height: 75px; 
position: relative;
}

/*date and time*/
header div.date {position: absolute;
width: 35%;
left: 74%;
top:15px;
font-size: .7em;
}

/* search engine */
#tfheader{
background-color:#FFFF;
}
	
#tfnewsearch{
float:right;
padding:30px 26px;
}
	
.tftextinput{
margin: 0;
padding: 2px 55px;
font-size:.7em;
border:1px solid #363837; border-right:0px;
border-top-left-radius: 5px 5px;
border-bottom-left-radius: 5px 5px;
}

.tfbutton {
margin: 0;
padding: 2px 15px;
font-size:.7em;
outline: none;
cursor: pointer;
text-align: center;
text-decoration: none;
color: #ffffff;
border: solid 1px #363837; border-right:0px;
background: #363837;
background: -webkit-gradient(linear, left top, left bottom, from(#00adee), to(#0078a5));
background: -moz-linear-gradient(top,  #00adee,  #0078a5);
border-top-right-radius: 5px 5px;
border-bottom-right-radius: 5px 5px;
}
	
.tfbutton:hover {
text-decoration: none;
background: #C7820C;
background: -webkit-gradient(linear, left top, left bottom, from(#0095cc), to(#00678e));
background: -moz-linear-gradient(top,  #0095cc,  #00678e);
}

/* Fixes submit button height problem in Firefox */
.tfbutton::-moz-focus-inner {
 border: 0;
}


header a.logo {
	position: absolute;
	display: block;
	width: 310px;
	height: 55px;
	background-color: #ffffff;
	padding-top: 10px;
	padding-left: 30px;
	color: #000000;
	margin: 10px 15px;
	background: url(../images/Logos/EMNameLogo2.svg) no-repeat top left;
	background-size: contain;

}

header a.logo span { display: none;
}


/* NAVAGATION */
nav{
font-size: 1em; 
	background-color: #363837;
	position: relative;
	top: 5px; left: 0px;
	padding: 5px 0 5px 0;
	width:100%;
}

nav::after{content:'';display:block; clear:both;}

nav ul {list-style: none; margin: 0; padding: 0px;}

nav ul li :hover{color: #C7820C;}

nav ul li :hover > ul {display:block;}

nav ul li a{
	display: inline-block;
	color:#ffffff;
	padding: 10px 10px;
	text-decoration: none;
	width: 125px;
	position: relative;	
}

nav ul li a:visited {color:#ffffff;}

nav ul li a:hover {color:#C7820C;}

nav ul ul {position: absolute; top:100%; display: none; }

nav ul ul li {position: relative;}

nav ul ul ul {left:100%; top: 0px;}



/*top level*/
nav > ul{padding-left:360px;}

nav > ul > li {float: left;}

nav > ul > li > a {width: auto; padding: 10px 20px 15px 2ox;}

nav a[]:: after{
	content: '';
	display: block; width:0px; height: 0px;
	position: absolute;
	top: 16px; right: 15px;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 4px solid #363837;
}


	table{margin: auto; padding: 20px;
	background-color: #ffffff;}
			
	tr,td,th {
	font-family: Arial, sans-serif;}
	
	#tab { display:inline-block; 
       margin-left: 5px; }
	   
	#tab2 { display:inline-block; 
       margin-left: 100px; }
	   
	#tab3 { display:inline-block; 
       margin-left: 40px; }
	   
    #tab4 { display:inline-block; 
       margin-left: 28px; }

/* Section - All */
section {padding: 0 30px;
}
/*
section ::after{content:'';
display: block;
clear: both;
}*/

/* MAIN */
/* Section -SlideShow */
main div.tag-line {position: absolute;
width: 40%;
top: 145px;
height: 635px; 
left: 57%;
bottom: 20px;
}

main div.tag-line h1 {line-height: 1em;
margin: 0 0 30px 0px;
color: #363837;
}

main div.tag-lin p {padding: 20px 0px 30px 0px;}

main div.slideShowImages {position: relative;
width: 52%;
top: 25px;
left: 30px;
bottom: 35px;
}
/* Section - Main */
section.main { margin-top: 10px;
margin-bottom: 390px;
padding: 0;
}
section.main aside { width: 29%;
float: left; 
text-align:center;
}

section.main .content {
margin: 30px;
background: no-repeat center top;
background-size: 55px 55px;
padding-top: 65px;
}

section.main aside h3 a { color: #000000;
text-decoration: none;
}
section.main aside h3 a:hover { 
text-decoration: underline;
}

section.main aside .content.testimonial{background-image: url(../images/icon_movie.svg);}
section.main aside .content.find-us {background-image: url(../images/icon_car.svg);}

/* Section - THE ADVANTAGE */
section.advantage {background-color:#C7820C; padding-top: 25px; padding-bottom: 30px; color:#ffffff; }

section.advantage article {padding:0 20px 0 650px; background: url(../images/chess.jpg) no-repeat 0 5px; min-height: 250px;}
section.advantage article h2 a {color: #363837;
text-decoration: none;}
 section.advantage article h4 {
    padding: 0px;
    margin: 0px;
}

section.advantage article table, td, th{color:#363837;}

/* Section - DIRECTORY */
section.directory {background-color:#363837; padding-top: 20px; padding-bottom: 30px; color:#ffffff; }
section.directory article {padding:0 45px 0 500px; background: url(../images/ElinMcLeod.jpg) no-repeat  125px 25px; min-height: 220px;}
section.directory article h2 a { color: #ffffff; text-decoration: none;
}

/* Section - CONTACT-US */
section.contact h2 a {padding-top: 20px; padding-bottom: 30px; color:#363837; }
section.contact article {padding:20px 45px 0 500px; }
section.contact article form {background-colour#eaeaea; padding:10px;}
section.contact article label {float:left; width: 100px; clear: left; text-align: right; padding-right:10px; margin-top:10px;} 
section.contact article input, textarea {margin-top:10px; display: block;} 

/* Footer */
footer { font-size: .8em; 
padding: 20px 20px 10px 20px; 
color:#363837; 
background-color:#C7820C;
}
footer .content { display:inline;}

footer a{ margin-left: 20px; color: #363837;}
footer a:visited{ color: #363837;}
footer a:hover{ color: #730607;}
