/* =COLOR PALETTE
-----------------------------------------------
link color on Mayusha: #4c9bd0
link color on Apptimator: #2373b9
headers: #13486c
text: #484848
blue: #2384c5
lighter blue: #3498db
green: #53a54b
*/

/* =FONTS 
-----------------------------------------------*/

/*OPEN SANS*/
@font-face {
    font-family: 'open_sansbold';
    src: url('../fonts/open-sans/bold/OpenSans-Bold-webfont.eot');
    src: url('../fonts/open-sans/bold/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/bold/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/open-sans/bold/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/bold/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansitalic';
    src: url('../fonts/open-sans/italic/OpenSans-Italic-webfont.eot');
    src: url('../fonts/open-sans/italicOpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/italicOpenSans-Italic-webfont.woff') format('woff'),
         url('../fonts/open-sans/italicOpenSans-Italic-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/italicOpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'open_sanslight';
    src: url('../fonts/open-sans/light/OpenSans-Light-webfont.eot');
    src: url('../fonts/open-sans/light/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/light/OpenSans-Light-webfont.woff') format('woff'),
         url('../fonts/open-sans/light/OpenSans-Light-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/light/OpenSans-Light-webfont.svg#open_sanslight') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/open-sans/regular/OpenSans-Regular-webfont.eot');
    src: url('../fonts/open-sans/regular/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/regular/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/open-sans/regular/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/regular/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open_sanssemibold';
    src: url('../fonts/open-sans/semibold/OpenSans-Semibold-webfont.eot');
    src: url('../fonts/open-sans/semibold/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/open-sans/semibold/OpenSans-Semibold-webfont.woff') format('woff'),
         url('../fonts/open-sans/semibold/OpenSans-Semibold-webfont.ttf') format('truetype'),
         url('../fonts/open-sans/semibold/OpenSans-Semibold-webfont.svg#open_sanssemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*MUSEO SLAB*/
/*
 * Web Fonts from fontspring.com
 *
 * All OpenType features and all extended glyphs have been removed.
 * Fully installable fonts can be purchased at http://www.fontspring.com
 *
 * The fonts included in this stylesheet are subject to the End User License you purchased
 * from Fontspring. The fonts are protected under domestic and international trademark and 
 * copyright law. You are prohibited from modifying, reverse engineering, duplicating, or
 * distributing this font software.
 *
 * (c) 2010-2013 Fontspring
 *
 * The fonts included are copyrighted by the vendor listed below.
 *
 * Vendor:      exljbris Font Foundry
 * License URL: http://www.fontspring.com/fflicense/exljbris
 */

@font-face {
    font-family: 'museo_slab500';
    src: url('../fonts/museo/Museo_Slab_500_2-webfont.eot');
    src: url('../fonts/museo/Museo_Slab_500_2-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/museo/Museo_Slab_500_2-webfont.woff') format('woff'),
         url('../fonts/museo/Museo_Slab_500_2-webfont.ttf') format('truetype'),
         url('../fonts/museo/Museo_Slab_500_2-webfont.svg#museo_slab500') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	background: url('../images/pattern-bg-slashes.png') repeat;
	font-family: 'open_sansregular', Arial, Verdana, sans-serif;
	color: #484848;
}

/* =GENERAL 
-----------------------------------------------*/
h1, h2, h3, h4 {
	color: #13486c;
	font-weight: normal;
}

h1 {
	text-transform: uppercase;
	font-size: 24px;
}

h2 {
	color: #2384c5;
	font-size: 18px;
}

p {
	line-height: 1.65em;
}

a {
	color: #4c9bd0;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/* =LAYOUT 
-----------------------------------------------*/

/* apply a natural box layout model to all elements */
*, *:before, *:after {
  -moz-box-sizing: border-box; 
  -webkit-box-sizing: border-box; 
  box-sizing: border-box;
 }

 /**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

.main-wrap {
	width: 1200px;
	margin: 0 auto;
}

.content-container {
	width: 100%;
	min-height: 800px;
	background-color: #fff;
	padding-bottom: 50px;
	border: 1px solid #e5e5e5;
	border-bottom: 1px solid #d9d8d8;
	border-top: 0;
	/*-webkit-box-shadow:  0px 0px 0px 10px rgba(0, 0, 0, .15);
    box-shadow:  0px 0px 0px 10px rgba(0, 0, 0, .15);
    margin-top: 10px;*/
}

/* =HEADER 
-----------------------------------------------*/
.header {
	height: 110px;
	-webkit-box-shadow:  0px 1px 0px 0px rgba(0, 0, 0, .15);
    box-shadow:  0px 1px 0px 0px rgba(0, 0, 0, .15);
    border-bottom: 1px solid #d9d8d8;
    background-color: #fff;
    position: relative;
    z-index: 5;
}

.logo {
	display: block;
	width: 273px;
	height: 62px;
	float: left;
	margin: 30px 0 0 44px;
	background: url('../images/mayushaLogo-large.png') no-repeat;
	font: 0/0 a;
    text-shadow: none;
    color: transparent;
}

/* =NAVIGATION 
-----------------------------------------------*/
ul.nav li, ul.nav ul.sub-menu li{
	list-style-type: none;
}

ul.nav {
	display: block;
	float: right;
	margin: 50px 44px 0 0;
	
}

ul.nav li {
	display: block;
	float: left;
	text-transform: uppercase;
	font-family: 'open_sanssemibold', Arial, Verdana, sans-serif;
	padding: 7px 20px;
	position: relative;
	z-index: 99;
}

ul.nav li a {
	color: #484848;
	text-decoration: none;
}

ul.nav li:hover {
	background: #2384c5;
	color: #fff;
	cursor: default;
	position: relative;
	z-index: 99;
}

ul.nav li:hover a {
	color: #fff;
}

ul.nav li ul.sub-menu li {
	display: none;
}

ul.nav li:hover > ul.sub-menu li {
	display: block;
	background: #3498db;
	position: absolute;
	top: 35px;
	left: 0px;
	border-top: 2px solid #fff;
}

/* =HERO 
-----------------------------------------------*/
.hero {
	width: 100%;
	height: 400px;
	position: relative;
	z-index: 1;
	margin: -4px 0 20px 0;
	background: url('../images/hero-image.jpg') no-repeat;
	padding: 50px 0 0 44px;
}

.slogan {
	width: 573px;
	height: 277px;
	padding: 20px;
	background: rgb(35, 132, 197);
	background: rgba(35, 132, 197, 0.75);
	color: #fff;
	font-family: 'open_sanslight', Arial, Verdana, sans-serif;
	font-size: 56px;
}

/* =FOOTER 
-----------------------------------------------*/
.footer {
	font-family: 'open_sanssemibold', Arial, Verdana, sans-serif;
	font-size: 12px;
	color: #878787;
	text-align: right;
	padding: 10px 44px 10px 0;
}

/* =CONTENT 
-----------------------------------------------*/
.content {
	width: 1024px;
	margin: 0 auto;

}

.left-col,
.right-col {
	width: 49%;
	float: left;
}

.right-col {
	margin-left: 2%;
}

/* =ABOUT US 
-----------------------------------------------*/
.content.about-us {
	padding-top: 25px;
}

.about-us .left-col {
	width: 45%;
}

.about-us .right-col {
	margin-left: 6%;
}

.stacked-content {
	margin-bottom: 40px;
}

.about-us .stacked-content p img {
	float: left;
	margin: 25px 20px 45px 0;
}

.news {
	margin: 25px 0;
}

ul.news-feed {
	margin: 0;
	padding: 0;
}

ul.news-feed li {
	list-style-type: none;
	padding: 20px 0;
	border-bottom: 1px solid #e9e8e8;
}

ul.news-feed li:last-child {
	border: 0;
}

/* =CONTACT US 
-----------------------------------------------*/
.content.contact-us {
	padding-top: 25px;
}

ul.contact-info {
	margin: 0;
	padding: 0;
}

ul.contact-info li {
	list-style-type: none;
	padding: 7px 0;
}

ul.contact-info li img {
	display: block; 
	float: left;
	margin: 2px 10px 0 0;
}

/* =LATEST NEWS 
-----------------------------------------------*/
ul.latest-news {
	margin: 0;
	padding: 0;
	display: block;
	width: 95%;
}

ul.latest-news li {
	list-style-type: none;
	padding: 20px 0;
	border-bottom: 1px solid #e9e8e8;

}

ul.latest-news li:first-child {
	padding-top: 1em;
}

ul.latest-news li:last-child {
	border: 0;
}

ul.latest-news li a {
	font-size: 14px;
	text-transform: uppercase;
}





/* Scoped fix: only apply submenu fix on homepage */
body.homepage nav ul.sub-menu {
  z-index: 9999;
  position: absolute;
  background: white;
}


/* Ensure submenu displays above hero image or any overlapping content */
body.homepage nav ul.sub-menu {
  z-index: 9999;
  position: absolute;
  background: white;
  display: none;
  top: 100%;
  left: 0;
}

body.homepage nav li:hover > ul.sub-menu {
  display: block;
}


/* FINAL submenu fix for homepage to stay above all elements */
body.homepage nav ul.sub-menu {
  position: absolute;
  background: white;
  z-index: 99999 !important;
  display: none;
  top: 100%;
  left: 0;
}

body.homepage nav li:hover > ul.sub-menu {
  display: block;
}


