/* CSS for EWNY Hosting */

html {
	background: #fff; /*#b19744; #c90;*/
	line-height: 1.4;
}

body {
	font-family: merriweather, times new roman, serif;
	color: #000;
	font-weight: 300;
}

.header {
	/*background-color: #00a3e0;
	background-image: url("http://www.ewnyhosting.org/uploads/ewnyhosting/bg_header.png");
	background-position: center top;
	background-repeat: no-repeat;*/
	padding: 1em 0;
	background: #00a3e0 url("../images/dioshield_transbg_overlay-sm.png") no-repeat 70% top;
}

.sitelogo {
	position: relative;
}
	.sitelogo img {
		position: absolute;
		max-height: 175px;
	}

.sitename {
	display: inline-block;
	color: #fff;
	font-family: merriweather;
	font-size: 10em;
	font-weight: 300;
	letter-spacing: -10px;
	line-height: 1;
	text-shadow: 1px 1px 1px #666;
}

.slogan {
	color: #fff;
	font-family: merriweather;
	font-weight: 300;
	font-size: 2em;
	text-align: center;
	text-shadow: 1px 1px 1px #666;
}
.main-content {
	padding: 2em 0;
}

.footer {
	padding: 1em 0;
	margin-top: 2em;
	font-size: 90%;
	line-height: 1.6em;
	clear: both;
	/*background: #fff url("http://ewnyhosting.org/uploads/ewnyhosting/bg_footer.png") repeat-x;*/
	background: #00a3e0 url("../images/dioshield_transbg_overlay-sm.png") no-repeat scroll 70% center;
	text-align: center;
	font-family: 'roboto';
	color: #fff;
	font-weight: 400;
}
	.footer a { color: #fff; }

.footer span { display: inline-block; }
	.footer span::after { content: '\00a0\007c\00a0'; }
	.footer span:last-of-type::after { content: ''; }

/* sticky footer */

.site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}

.content-wrap {
	flex: 1;
	-ms-flex: 1 1 auto;
}

/* ---------- */

/* ==========
	HTML
========== */

a { color: #00A3E0; }
	a:hover { color: #F04C57; }

.footer a,
.footer a:hover { color: #fff; }

h1,h2,h3,h4,h5,h6 {
	color: #b19744;
	font-family: 'roboto', helvetica, arial, sans-serif;
	font-weight: 400;
}

h2 {
	border-bottom: 1px solid;
}


.clr { clear: both; }


/* ==========
	NAVIGATION
========== */

/* === Navigation === */

a[href="#"] { /*when menu item is a 'heading' */
  cursor: default;
}

.main-nav {
	background: #c93c96;
}

ul.menu {
  padding-left: 0;
}

.menu li {
  color: #fff;
  display: inline-block;
  float: left;
  font-family: 'roboto', sans-serif;
  font-weight: 400;
  position: relative;
}

.menu li a {
  color: #fff;
  display: block;
  padding: 10px .5em;
  text-decoration: none;
}
	.menu li a:hover {
		background: #b23183;
		transition: background-color 0.5s ease 0s;
	}

/* second level */

ul.sub-menu {
  background: #666 none repeat scroll 0 0 padding-box;
  border-top: 5px solid transparent;
  border-left: 5px solid #000;
  margin-left: 0;
  opacity: 0;
  padding: 0;
  position: absolute;
  transition: opacity 0.2s ease 0s;
  visibility: hidden;
  z-index: 100;
}

.sub-menu li {
  /*border-left: 5px solid #000;*/
  padding: 0 5px;
  white-space: nowrap;
  width: 100%;
}

.sub-menu .parent > a::after {
  content: "\f0da";
  font-family: fontawesome;
  padding-left: 1em;
}

li:hover > ul {
  left: 0;
  opacity: 1;
  transition: opacity 0.2s ease 0s;
  visibility: visible;
}

/* third+ level */

li > ul > li:hover ul {
  left: 100%;
  top: 0;
}


/* SlickNav (http://slicknav.com) - Responsive Menu */

.slicknav_menu { 
	display: none;
	background: #c93c96 !important;
}

.slicknav_nav {
	font-size: 1em;
}
.slicknav_btn {
	background-color: #444 !important;
}

.slicknav_nav ul.sub-menu {
	background: transparent;
	border-left: 0px;
	margin-left: inherit;
	margin-top: inherit;
	opacity: 1;
	visibility: visible;
	padding: inherit;
	position: inherit;
	width: 100%;
	z-index: 100;
	transition: none;
}

.slicknav_nav a {
	color: #1047a9;
}

.slicknav_nav .sub-menu .menu-item-has-children > a::after { display: none; }

@media (max-width: 991px) {

	#main-menu { display: none; }
	.slicknav_menu { display: block; }
	
	ul.sub-menu {
		border-top: 0;
	}
	ul.sub-menu li {
		border-left: 0;
	}

	.sub-menu .parent > a::after {
	  content: none;
	  padding-left: 0;
	}
	
}


/* ==========
	IMAGES
========== */

.align_left {
	float: left;
	padding-right: 1em;
}

.align_right {
	float: right;
	padding-left: 1em;
}



/* ==========
	RESPONSIVE
========== */


/* Mini - phone portrait */
@media (max-width:479px) {

	/*testing
	.header{ background-color: lime; }*/

	.sitelogo img { max-height: 140px; }
	.sitename,
	.slogan {
		padding-left: 135px;
		text-align: left;
	}
	.sitename {
		font-size: 3em;
		letter-spacing: -4px;
	}
	.slogan {
		font-size: 1em;
	}

}

/* Small - phones landscape */

@media (min-width:480px) and (max-width:767px) {

	/*testing
	.header{ background-color: orange; }*/

	.sitelogo img { max-height: 150px; }
	.sitename,
	.slogan {
		padding-left: 140px;
		text-align: left;
	}
	.sitename {
		font-size: 6em;
		letter-spacing: -5px;
	}
	.slogan {
		font-size: 1.1em;
	}

}

/* Small & Medium */

@media (max-width: 959px) {

	.footer span { display: block; }
	.footer span::after { content: ''; }
}


/* Medium - tablets portrait */

@media (min-width: 768px) and (max-width:959px) {

	/*testing
	.header{ background-color: rebeccapurple; }*/

	.sitelogo img { max-height: 155px; }
	.sitename {
		font-size: 7em;
		letter-spacing: -6px;
		padding-left: 175px;
		text-align: left;
	}
	.slogan {
		font-size: 1.3em;
		padding-left: 175px;
		text-align: left;
	}

}

/* Large - desktop & tablets landscape */

@media (min-width:960px) and (max-width:1199px) {

	/*testing
	.header{ background-color: yellow; }*/

	.sitelogo img { max-height: 160px; }
	.sitename {
		font-size: 9em;
	}
	.slogan {
		font-size: 1.6em;
		padding-top: .6em;
	}

}

/* XLarge - large desktops */

@media (min-width:1200px) {

	/*testing
	.header{ background-color: red; }*/

}