/** Custom Mad Hat Media stylesheet. */

/************************************************
 *	CONTENT
 ***********************************************/

body, h1, h2, h2 a, h2 a:visited, h3, h4, h5, h6, p, select, textarea {
	color: #2B2E34;
}

h1, h2, h3, h4, h5, h6 {
	text-transform: uppercase;
	font-weight: 600;
}

h1 {	
	font-size: 26px;
}

h1.mega {
	font-size: 32px;
	padding: 40px 0;
	background-color: #E8E7E6;
}

h2 {
	color: #006DA4;
	font-size: 18px;
}

h3 {
	color: #878380;
	font-size: 16px;
	margin-bottom: 0;
}

#inner .blue-bar h1 {
	background-color: #006EBD;
	color: white;
	font-size: 16px;
	font-weight: 600;
	padding: 18px 80px 15px 10px;
	margin: 0;
}

#inner .blue-bar > div {
	background-color: #E8E7E6;
	padding: 10px;
}

#inner .blue-bar > div > p {
	clear: both;
	margin: 0;
	font-size: 0;
}

#inner .blue-bar > img {
	margin-bottom: -40px;
	margin-left: 90%;
	margin-left: calc(100% - 70px);
	width: 50px;
}

#inner .wrap {
	margin: 0 auto;
}

#content {
	margin-top: 20px;
}

/************************************************
 *	WIDTH
 ***********************************************/

@media only screen and (min-width: 1200px) {
	#header,
	#nav .wrap,
	.welcome-inner,
	#home-feature-wrap,
	#home-middle,
	.home-middle-wide,
	#footer-widgets .wrap,
	#footer .wrap,
	#inner,
	#inner .wrap,
	.full-width-content #content,
	.pre-footer-inner,
	#home-bottom-wide .wrap {
		width: 1200px;
	}

	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.footer-widgets-4 {
		width: 280px;
	}

	.home-feature-1,
	.home-feature-2,
	.home-feature-3 {
		width: 380px;
	}

	#home-bottom-wide .widget {
		width: 395px;
		display: inline-block;
		vertical-align: top;
	}
	
	#home-bottom-wide .widget .widget-wrap {
		padding: 10px 20px 0 20px;
		margin: 0 10px;
		background-color: #e8e7e6;
	}

	#home-bottom-wide .widget:first-child .widget-wrap {
		margin-left: 0;
	}

	#home-bottom-wide .widget:last-child .widget-wrap {
		margin-right: 0;
	}
}

/************************************************
 *	HEADER
 ***********************************************/

#head-wrap {
	background-color: black;
	margin: 0;
}

#head-wrap a {
	display: inline-block;
}

#head-wrap p {
	color: white;
}

#head-wrap #nav {
	display: inline-block;
}

#head-wrap #nav .wrap {
	width: auto;
}

#head-wrap #header {
	border-bottom: 0;
	margin: 0 auto;
}

#head-wrap #header .menu {
	margin-top: 20px;
}

#head-wrap #header .menu a {
	color: white;
	font-size: 16px;
	font-weight: 800;
	padding: 10px 20px 10px 0;
}

#head-wrap #header .menu a:hover {
	text-decoration: underline;
	color: #0d72c7;
}

#head-wrap #header-right {
	text-align: right;
	margin-bottom: 20px;
}

#head-wrap #header-right a,
#head-wrap #header-right a:visited {
	margin: 0;
	color: white;
	font-weight: 300;
}

#header-left {
  text-align: center;
  display: inline-block;
}

#header-left p {
	margin-top: 4px;
	font-weight: 400;
}

/*
#head-wrap #header .menu li:nth-of-type(1) a:hover { color: #aaa; }
#head-wrap #header .menu li:nth-of-type(2) a:hover { color: #AFE7CF; }
#head-wrap #header .menu li:nth-of-type(3) a:hover { color: #FFB97B; }
#head-wrap #header .menu li:nth-of-type(4) a:hover { color: #78B6E6; }
#head-wrap #header .menu li:nth-of-type(5) a:hover { color: #AAD88E; }
#head-wrap #header .menu li:nth-of-type(6) a:hover { color: #B1A4D6; }
#head-wrap #header .menu li:nth-of-type(7) a:hover { color: #D2787C; }
#head-wrap #header .menu li:nth-of-type(8) a:hover { color: #78B6E6; }
#head-wrap #header .menu li:nth-of-type(9) a:hover { color: #C5D86A; }
*/

@media screen and (max-width: 1200px) {
	#head-wrap a {
		display: block;
		text-align: center;
	}

	#head-wrap #nav {
		float: none;
		text-align: center;
		display: block;
		margin: 0 auto;
	}


	#header .menu, #header .menu li {
		display: inline-block;
		float: none;
		text-align: center;
	}

	#head-wrap #nav .wrap {
		margin: 0 auto;
	}    

	#head-wrap #header .wrap {
		text-align: center;
	}


	#head-wrap #header .menu {
		margin-top: 0;
		padding-bottom: 10px;
	}

	#head-wrap #header .menu a {
		padding: 0 10px;
		margin: 0;
	}

	#head-wrap #header-right {
		float:none;
		text-align: center;
		margin-top: 20px;
	}
}

/************************************************
 *	SLIDER
 ***********************************************/

.slider-inner {
	width: auto;
}

.slider-inner .textwidget > div {
	height: 350px;
	background-position: center center;
	background-size: cover;
}

@media only screen and (max-width: 960px) {
	.slider-inner .textwidget > div {
		height: 30vw;
	}
}

/************************************************
 *	WELCOME
 ***********************************************/

.welcome-inner {
	text-align: left;
}

/************************************************
 *	DOORWAYS
 ***********************************************/

#home-feature-wrap {
	padding: 0;
}

#home-feature-wrap .widget h4 {
	color: white;
	font-size: 15px;
	margin: 12px 14px;
	position: absolute;
	z-index: 999;
}

@media only screen and (max-width: 960px) {
	#home-feature-wrap .widget h4 {
		font-size: calc(2vw + 10px);
		margin: 2.5vw;
	}
}

#home-feature-wrap .widget {
	background-color: #E8E7E6;
}

#home-feature-wrap .widget p {
	padding: 20px;
	color: #2B2E34;
	font-size: 16px;
	text-align: justify;
}

#home-feature-wrap .widget a.doorway-button,
#home-bottom-wide .widget a {
	display: block;
	background-color: #878380;
	color: white;
	font-width: 600;
	text-align: center;
	padding: 20px 10px;
	font-size: 18px;
	text-transform: uppercase;
}

#home-bottom-wide .widget a  {
	margin-left: -20px;	
	margin-right: -20px;
}

#home-feature-wrap .widget a.doorway-button:hover,
#home-bottom-wide .widget a:hover {
	background-color: #006EBD;
	text-decoration: none;
}

#home-feature-wrap .widget a img {
	opacity: 0.99;
}

#home-feature-wrap .widget a:hover img {
	opacity: 0.8;
}

@media only screen and (min-width: 961px) {
	#home-feature-wrap .widget p {
		height: 200px;
		overflow-y: hidden;
	}
}

@media only screen and (min-width: 1200px) {
	#home-feature-wrap .widget p {
		height: 140px;
		overflow-y: hidden;
	}
}

@media only screen and (max-width: 960px) {
	.home-feature-1, .home-feature-2, .home-feature-3 {
		float: none;
		margin: 0 auto 40px;
		max-width: 500px;
		width: 100%;
	}
}

/************************************************
 *	HOME MIDDLE
 ***********************************************/

#home-middle {
  border-top: 0;
  padding: 20px 0 0 0;
}

.home-middle-wide {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0 none;
}

.home-middle-wide .widget {
	background-color: #878380;
	padding: 40px;
}

.home-middle-wide .widget img {
	float: left;
	display: inline-block;
	margin-right: 40px;
	padding: 20px 0;
}

.home-middle-wide .widget p {
	color: white;
	margin-bottom: 10px;
	font-size: 16px;
	text-align: justify;
}

@media only screen and (max-width: 800px) {
	.home-middle-wide .widget img {
		float: none;
		margin: 0 auto;
		display: block;
	}
}

/************************************************
 *	HOME BOTTOM WIDE (PRODUCTS)
 ***********************************************/

#home-bottom-wide {
	background-image: none;
}

#home-bottom-wide .wrap {
	padding: 0;
}

#home-bottom-wide .textwidget,
#home-bottom-wide .textwidget p {
	text-align: justify;
	font-size: 16px;	
}

#home-bottom-wide .textwidget p {
	margin-bottom: 1em;
}

#home-bottom-wide .textwidget ul {
	margin-left: 20px;	
}

/*
#home-bottom-wide .textwidget a {
	background-color: #878380;
	color: white;
	display: inline-block;
	margin: 20px auto;
	padding: 10px;
	text-align: center;
	text-transform: uppercase;	
	width: 160px;
	display: block;
}
*/

/*
@media only screen and (min-width: 1200px) {
	#home-bottom-wide .textwidget a {
		width: calc(100% + 20px);
		margin: 20px 0 -10px -20px;
	}
}
*/

/*
#home-bottom-wide .textwidget a:hover {
	background-color: #0d72c7;
	text-decoration: none;
}
*/

#home-bottom-wide .post {
	width: 25%;
	box-sizing: border-box;
	padding: 0 10px;
}

#home-bottom-wide .post h2 {
	text-align: left;	
	height: 80px;
	border-bottom: 2px solid #B7B4B3;
}

#home-bottom-wide .post img {
	opacity: 0.99;
}

#home-bottom-wide .post img:hover {
	opacity: 0.8;
}

/************************************************
 *	PRE-FOOTER
 ***********************************************/

.pre-footer-inner {
	margin: 40px auto 0;
	background-color: #006EBD;
}

.pre-footer-inner .widget {
	padding: 20px;
}

.pre-footer-inner .widget a {
	color: white;
}

.pre-footer-inner .widget p {
	color: white;
	font-size: 22px;
	text-align: center;
}

.pre-footer-inner .widget img.pre-footer-logo {
	display: block;
	margin: -65px auto 20px;
}

@media only screen and (min-width: 960px) and (max-width: 1199px) {
	.pre-footer-inner .widget p {
		font-size: 18px;
	}
}

@media only screen and (max-width: 1200px) {
	.pre-footer-inner {
		width: 960px;
	}
}

@media only screen and (max-width: 960px) {
	.pre-footer-inner {
		width: 96%;
	}
}

/************************************************
 *	FOOTER
 ***********************************************/

#footer-widgets,
#footer {
	background-color: #100D0F;
	border-top: 0;
}

#footer-widgets .widget .widget-title {
	color: #006EBD;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: 900;
	border-bottom: 1px solid white;
	margin-bottom: 18px;
	padding-bottom: 18px;
}

#footer-widgets,
#footer-widgets p {
	font-size: 16px;
	
}

#footer-widgets p {
	color: white;
}

#footer-widgets a,
#footer-widgets a:visited {
	color: white;
}

#footer-widgets a:hover {
	color: #006ebd;
	text-decoration: none;
}

#footer-widgets h2,
#footer-widgets h2 a {
	color: #4D4845;
	text-transform: uppercase;
	margin: 0;
	font-weight: 300;
}

#footer-widgets .widget-area ul li {
	margin: 0;
	padding: 0;
	background-image: none;
}

#footer-widgets .widget-area ul li a {
	font-weight: 300;
	text-transform: uppercase;
}

/*
#footer-widgets .widget-area ul li a:before {
	content: '-';
	margin-right: 30px;
	text-decoration: none !important;
}
*/

#footer-widgets p.post-info {
	border-bottom: 0;
	font-size: 14px;
	text-transform: uppercase;
}

#footer .gototop {
	margin-top: 7px;
}

#footer p {
	color: white;
}

#footer a:hover {
	color: #006ebd;
}
