/*
Theme Name: Elton Consultation

License: GNU/GPL Version 2 or later
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Reset
--------------------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote,
a, img, strong, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
.content address {
	padding: 0 0 20px 0;
}
.content abbr, acronym {
	border-bottom: .1em dotted;
}
.content pre, code, tt {
	font-size: 1.1em;
}
html {
	font-size: 100%; overflow-y: scroll;overflow-x: hidden; 
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* fonts */


@font-face {
    font-family: 'National';
    src: url('National-Regular.woff2') format('woff2'),
        url('National-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'National';
    src: url('National-Bold.woff2') format('woff2'),
        url('National-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'National Bold';
    src: url('National-BoldItalic.woff2') format('woff2'),
        url('National-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'National Book';
    src: url('National-BookItalic.woff2') format('woff2'),
        url('National-BookItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}


/* General Structure and Styles
--------------------------------------------- */
body {
	background-color:#fff;
	overflow-x: hidden; font-family: 'Open Sans', arial, sans-serif; color:#666 
}


 .inner {
	max-width: 1102px;
	margin: 0 auto; position: relative; 
}

a { color: #41a62a  }
a:hover { color:#000066; }
.alignleft { float:left; margin-right: 20px ; margin-bottom: 40px; text-align: left }
.alignright { float:right; margin-left: 20px; margin-bottom: 40px; text-align: right }
.wp-caption-text { font-size: .9em;  font-weight: bold; }
header { width: 100%;   overflow: visible; position: absolute; float:left ; z-index: 2; padding-top: 5px; background-color: rgba(255, 255, 255, 0.8)  }
 .sitelogo {  display: block; font-family: 'National Book', 'Open Sans', arial, sans-serif; font-size: 20px; text-align: left;  color:#fff; text-decoration: none; float:left; letter-spacing:1 ;  margin-left: 25px; font-weight: 400; font-style: italic;   }

#mainnav  { margin-top: 0 ; float:right }
#mainnav ul { list-style-type:none; margin:0; padding:0; overflow: hidden; }
#mainnav ul li { float: left;  } 
#mainnav ul li a { color:#000; text-decoration: none;   padding: 10px 5px ;  margin: 5px 15px 10px 15px;   font-family: 'Open Sans', arial, sans-serif; font-size:15px;  letter-spacing: .03em ; display: inline-block;  }
#mainnav ul li.menu-item-has-children { display: inline-block; }
#mainnav ul li .sub-menu {  display: none;  position: absolute;  background-color: #fff;  min-width: 160px;   z-index: 1; }
#mainnav ul li .sub-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

#mainnav ul li.menu-item-has-children:hover .sub-menu {
  display: block;
}

#main { width: 100%; float:left; position: relative;  background-size: 100%; margin-bottom: 60px;  z-index: 1 }

.top { width: 100%; float:left; position: relative;   background-size: cover; background-repeat: no-repeat; height: 300px;  background-position: center; text-align: center; display: table; overflow: hidden; margin-bottom: 40px   }
.top h1 {  font-size: 60px; line-height: 77px; text-shadow: 0 0 20px #2b3140; color: #ffffff;  max-width: 1102px; margin: 20px auto; font-weight: bold }
.top .inner { display: table-cell; vertical-align: middle; text-align: center }
.top.noimage { background-color: #f5f7f9; height:150px } 
.top.bluebg { background-color: #030836; } 
.top.noimage h1 { color:#333; text-shadow:none;  }
.overlay { background: transparent url(images/overlay.png) 0 0 no-repeat; position: absolute; width: 100%; height: 224px; bottom: 0; z-index: 1 }
.maincontent { width: 100%; float :left; margin-bottom: 60px  }
.content {  width: 94%; margin: 0 3%;  float :left; font-family: arial, sans-serif;  font-size: .9em; line-height: 2em; }
.content h1 {  font-family: 'National Book', 'Open Sans', arial, sans-serif;  font-size: 38px; text-align: left; width: 100%; float:left;  line-height: 1.2em; font-style: italic; font-weight: 400; margin-bottom: 1em  }
.content h2 {  font-family: 'National Book', 'Open Sans', arial, sans-serif;  font-size: 35px; text-align: left; width: 100%; float:left;  line-height: 1.2em; font-style: italic; font-weight: 400; margin-bottom: 1em  }
.content h3 {   font-family: 'National Book', 'Open Sans', arial, sans-serif;  font-size: 25px; text-align: left; width: 100%; float:left;  line-height: 1.2em; font-style: italic; font-weight: 400; margin-bottom: 1em  }
.content h4 {  font-family: 'National Book', 'Open Sans', arial, sans-serif;  font-size: 20px; text-align: left; width: 100%; float:left;  line-height: 1.2em; font-style: italic; font-weight: 400; margin-bottom: 1em  }
.content h5 {  font-family: 'National Book', 'Open Sans', arial, sans-serif;  font-size: 15px; text-align: left; width: 100%; float:left;  line-height: 1.2em; font-style: italic; font-weight: 400; margin-bottom: 1em   }
.content p { margin-bottom: 1em; font-family: 'Open Sans', arial, sans-serif;  line-height: 28px; font-size: 14px; color: #666; display: block    }
.content ul {  list-style-type: circle; padding-left: 20px;  margin: 1em 0; line-height: 25px; display: block;  }
.content ul li  { position: relative;  float:left;   font-family: 'Open Sans', arial, sans-serif;  line-height: 28px; font-size: 14px; color: #666; display: block; width: 100%;    }
.content ul li:before { position: absolute;  top: 11px; left: -20px; width: 8px;  height: 4px;  content: '';  background: #666; }
.content ol {   padding-left: 20px;  margin: 1em 0; line-height: 25px; display: block;  }
.content ol li  { position: relative;  float:left; font-family: 'Open Sans', arial, sans-serif;  line-height: 28px; font-size: 14px; color: #666; display: block; width: 100%;  counter-increment: count-me;   }
.content ol li:before {
    content: counter(count-me) ". ";
    display: block;
    position: relative;
    max-width: 0px;
    max-height: 0px;
    left: -1.3em;
    top: .05em;
    color: #666;
    font-weight: bold;
}
.content strong { font-weight: bold }
.content table td { padding: 10px; border: 1px solid #eee }
.open { width: 80%; margin: 20px  auto;   padding: 20px 0;   }
.content .open a.step { font-size: 16px; line-height: 25px;  letter-spacing: .06em;  text-decoration:none;  text-transform: uppercase;  margin-bottom: 30px;  padding: 20px 50px  20px 0; display: block; border-top: 1px solid #eee   }
.content .open .collapsed {  background:  url(images/expand.png)  center right no-repeat;  }
.content .open .expanded {  background: url(images/collapse.png) center right no-repeat; }
.content .newscontent { margin-top: 40px; width: 100%; float:left;  }
.content .fileby { width: 100%; display: block }
.content .fileby label { float:right; padding: 5px; }
.content .fileby select { padding: 3px; border: 1px solid #eee; font-family: 'Open Sans', arial, sans-serif;  }
.content .newsitem { width: 100%; float:left; margin-bottom: 20px;     box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);   position: relative; padding-top: 10px   }
.content .newsitem p a.newstitle { padding-bottom: 15px  }
.content .newsexcerpt { margin-left: 15px; float:left; position: relative;  }
.content .newsitem .newsimage { width: 300px; float:left; position: relative   }
.content .newsitem p a { text-decoration: none; font-size: 18px; font-weight: bold;  width: 100%; display: block   }
.content .newsitem p a.readmore { font-size: 14px; font-weight: normal; color: #000 !important;  width: 100%; display: block  }
.content .newsitem p.label { 
    background: #226f8f;
    color: #ffffff;
    padding: 4px 10px ; line-height:1; 
    font-weight: normal;
    letter-spacing: 3px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 0;
    display: inline-block;
    margin-bottom: 0;
    word-wrap: break-word;
    white-space: normal;
    text-align: left; 
}
.content .newsitem .date {
	position: absolute;
    top: 0;
    right: 10px;
    background: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 10px 8px;
    max-width: 55px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    font-weight: bold;
	margin-bottom: 10px
	
}
.content .newsitem .date span { font-size: 11px }
.content .newsitem p a:hover { color: #666 !important }
.nav-below  {  width: 100%; float:left } 
.nav-previous { float:left; }
 .nav-next { float:right; }
#canvas-mask { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 200%; background: rgba(0, 0, 0, 0.3); cursor: pointer;  z-index: 4; }
.content .future li { width: 48%; float:left; }
.mobilenav { padding: 300px 20px 0 20px; text-align: right }
.mobilenav ul li { margin-bottom: 30px }
.mobilenav ul li a { color:#fff !important; text-decoration:none;  line-height: 40px; display:block; font-family: 'Open Sans', sans-serif;  cursor: pointer;   }
.mobilenav ul li a:hover { color: #fff!important }
.mobilenav li ul {
    display: none; 
}
.mobilenav li ul li a {
    padding: 10px 0;
   font-size:11px;

}

body .mobilemenuarea  { z-index: 8; background-color: #41a62a !important ; width: 180px  }
.closemenu { z-index: 99999999; width: 100px; height: 80px; margin: 10px;  right: 0; position: absolute; display:none  }
.pagination { width: 100%; float:left; display: block;  }
.pagination a { text-decoration: none }
.contact  { width: 50%; float:right }
.page-id-17 .entry-text { width: 50%; float:left }
.contact .wpcf7-text,  .contact .wpcf7-textarea {     
	display: block;
    width: 90%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc; }
.contact .wpcf7-submit  { background-color: #999; display: block; color: #fff !important; margin-right: 30px; padding: 10px 15px ; border:none; font-family: 'Open Sans', arial, sans-serif;  }
.contact .wpcf7-submit:hover { background-color:#666; }
.contact div.wpcf7-validation-errors, .contact div.wpcf7-mail-sent-ok { border: none; color:#666 }
footer { background-color: #4c4d4f; color:#fff;  padding: 30px 0; float: left; font-family: 'Open Sans', arial, sans-serif;  width: 100%; overflow-x:hidden; margin-top: 40px  }
footer .copy { font-size: .7em; text-align: right; }
footer .copy a { color:#fff !important }
footer .footerlogo { width: 100%; text-align: right; margin-bottom: 20px }
.pdf_download { display:inline; border: 1px solid #000; padding: 10px; text-align: center; color:#000 !important; text-transform: uppercase; width:240px; text-decoration:none }
.pdf_download:hover { color:#fff !important; background:#41a62a  }
.sidenav { float:left; width: 20%;}
.sidenav a {  padding:10px; border:  1px solid #eee; text-transform: uppercase; font-size: 11px; margin-bottom: 10px; display: block;
width: 100%; text-decoration:none  } 
.sidenav a:hover { color:#fff !important; background:#41a62a  }
.single-entry-content { width: 70%; float:right }
@media only screen and (max-width: 1200px) {

#mainnav { display:none }

.mobilenav { padding-top: 80px }
.sitename  { z-index: 2 }

}
@media only screen and (max-width: 880px) { 
.contact  { width: 100%; float:right }
.page-id-17 .entry-text { width: 100%; float:left }
	.top h1 { font-size: 40px }
	.top h2 { font-size: 30px }
	
	footer  .copy, footer .footerlogo  { text-align: center }

}
@media only screen and (max-width: 520px) {
	.top h1 {
    font-size: 35px; line-height: 40px 
}
	.sidenav, .single-entry-content { width: 90%; float: left; margin: 2% }
.sitetitle { font-size: 30px;  }
.content img { width: 100% }

	.content .newsitem .newsimage { width: 100%; margin-bottom: 10px  }
	.content .newsexcerpt { margin-left: 0; float:none; width: 98%; margin: 1%   }
	.alignleft { float:none; margin: auto 0; position: relative   }
.alignright { float:none; margin: auto 0; position: relative   }
		.content .newsitem p a.newstitle { max-width: 220px;  }
	
}

/* Nav Icon */

.mobilemenutoggle { display:none; 
  width: 30px;
  height: 20px;
  position: absolute;
  top: 20px;
  right: 20px;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
 z-index: 99
}

.mobilemenutoggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

.mobilemenutoggle {
  text-decoration: none;
  color: #000;
 
}

.mobilemenutoggle:after {
  margin-left: 40px; display:none; 
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 0.95em;
}

.mobilemenutoggle span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.mobilemenutoggle span:nth-child(2) {
  top: 8px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

.mobilemenutoggle span:nth-child(3) {
  top: 16px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

/* Icon Animation */

.mobilemenutoggle.active span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

.mobilemenutoggle.active span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

.mobilemenutoggle.active  span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 19px;
  left: 8px;
}
@media only screen and (max-width: 1200px) { 
.mobilemenutoggle { display: block }
.mobilemenutoggle:after {  display:block }
} 
