/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {

	#pagewrap {
		width: 95%;
	}
	#content {
		width: 66%;
		padding: 0% 0%;
	}
	#sidebar {
		width: 32%;
	}
	#sidebar .widget {
		padding: 4% 4% 1% 4%;
		margin-bottom: 15px;
	}
	.video embed,
	.video object,
	.video iframe {
		width: 100%;
		height: auto;
		min-height: 300px;
	}

}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 650px) {

	body {
	background: #000000 url(../img/circles.png) no-repeat center top;
	border-top: 8px solid #3ab1e2;
	font: 13px/80% 'Open Sans', sans-serif;
	overflow-x: hidden;
	line-height: 16px;
	color: #333;
	}
	#pagewrap {
	margin: 10px auto;
	}
	#header {
		height: auto;
	}
	#site-logo {
		float: left;
		margin: 0 auto;
	}
	.social-media{
		position: absolute;
		top: 70px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
		width: 100%;
	}
	#site-description {
		margin: 0 0 15px;
		position: static;
	}
	#full {
		width: auto;
		float: none;
		margin: 0;
	}
	.full-div {
		padding: 3% 2% 1% 2%;
		margin: 0 0 13px 0;
	}
	#content {
		width: auto;
		float: none;
		margin: 0;
	}
	.content-div {
		padding: 3% 2% 1% 2%;
		margin: 0 0 13px 0;
	}
	.case {
		width: 100%;
		margin: 0 0 15px 0;
		float: none;
	}
	.case img {
		width: 100%;
		margin: 0;
		float: none;
	}
	.download {
		width: 100%;
		margin: 0 0 15px;
		float: none;
	}
	.downloa img {
		width: 100%;
		margin: 0;
		float: none;
	}
	.download-sticky {
		margin: 10px 0 5px 0px;
	}
	#sidebar {
		width: 100%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 2% 1% 2%;
		margin: 0 0 15px 0;
	}
	#footer {
		font-size: 80%;
	}
	#footer .credit {
		float: none;
	}
	.video embed,
	.video object,
	.video iframe {
		min-height: 250px;
	}

}

/************************************************************************************
smaller than 560
*************************************************************************************/
@media screen and (max-width: 480px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

}

/************************************************************************************
smaller than 320
*************************************************************************************/
@media screen and (max-width: 320px) {

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}
}

/************************************************************************************
Navigation
*************************************************************************************/

.toggleMenu {
	border-radius: 5px;
    text-transform: uppercase;
    display:  none;
    background: #333;
    padding: 10px 15px;
    margin: 0 0 12px 0;
    color: #fff;
}
.toggleMenu:hover {
	text-decoration: none;
    display:  none;
    background: #222;
    padding: 10px 15px;
    color: #fff;
}
.menu {
    font-family: 'Fjalla One', sans-serif;
    text-transform: uppercase;
    margin: 0px 0 0 0;
    list-style: none;
     *zoom: 1;
     border-bottom: 1px solid #333;
     border-top: 1px solid #333;
     font-size: 115%;
     background:#000 url(../img/nav-bar-bottom.jpg) no-repeat bottom;
}
.menu:before,
.menu:after {
    content: " "; 
    display: table; 
}
.menu:after {
    clear: both;
}
.menu ul {
    list-style: none;
    width: 9em;
}
.menu a {
    padding: 12px 10px 3px 10px;
    color:#fff;
}
.menu li {
	border-right: 0px dotted #333;
    position: relative;
}
.menu > li {
    float: left;
    border-top: 0px solid #ccc;
}
.menu > li > .parent {
    background-image: url("images/downArrow.png");
    background-repeat: no-repeat;
    background-position: right;
}
.menu > li > a {
    display: block;
}
.menu li  ul {
    position: absolute;
    left: -9999px;
}
.menu > li.hover > ul {
	text-decoration: none;
    left: 0;
}
.menu li li.hover ul {
	text-decoration: none;
    left: 100%;
    top: 0;
}
.menu li li a {
    display: block;
    background: #000;
    position: relative;
    z-index:100;
    border-top: 1px solid #cccccc;
    text-align: center;
}
.menu li li li a {
    background:#249578;
    z-index:200;
    border-top: 1px solid #1d7a62;
}

@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
    .menu {

    }
    .menu a {
    padding: 12px 10px 12px 10px;
    color:#fff;
	}
	.menu a:hover {
	text-decoration: none;
    padding: 12px 10px 12px 10px;
    color:#fff;
	}
    .menu > li {
    	text-align: center;
    	background: #222;
        float: none;
    }
    .menu > li:hover {
    	text-decoration: none;
    	text-align: center;
    	background: #e1bf2a;
        float: none;
    }
    .menu > li > .parent {
    }
    .menu li li .parent {
    }
    .menu ul {
        display: block;
        width: 100%;
    }
   .menu > li.hover > ul , .menu li li.hover ul {
   		text-decoration: none;
        position: static;
    }

}