
/*code to mobile*/

#wrapper {
	width:100%;
	margin:0 auto;
	position:relative;
}

#slider, #login-box, #logout-box {
	display: none;
}

#slider.alternate {
	width:100%;
	height:420px;
	background:#fff;
	border:1px solid #dbdbdb;
	margin-top:25px;
	-moz-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
	box-shadow: 0px 0px 3px rgba(0,0,0,.2);
	position:relative;
	/*float:left;*/
}


.white-box {
	padding:15px;
	background:#fff;
	border:1px solid #dbdbdb;
	/*width:100%;*/	
	/*margin-top:25px;*/
	-moz-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
	-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
	box-shadow: 0px 0px 3px rgba(0,0,0,.2);
	overflow: hidden;
	display: inline-block;
	display: block;
}

.column {
	float:none;	
	color:#555;
	font-size:12px;
	line-height:1.5em;
}

footer {
	clear:both;
	/*height:235px;
	width:900px;*/
	padding:75px 50px 0;
	background:#326cab url(../images/bg-footer.png) 0 0 repeat;
	/*position:relative;*/
	overflow: hidden;
	display: inline-block;
	display: block;
}


article.divider-left:before {
	width:10px;
	height:200px;
	position:absolute;
	left:0;
	top:-15px;
	display:block;
	z-index:3;	
	/*background:url(../images/divider-top-alt.png) left top no-repeat;*/
	content:"";	
}

.column-divider-left-alt:before {
	background: none;
}

.nav-menu {
	position: fixed;
	height: 95px;
	width: 100%;
	margin-top: -5px;
	background-color: #fff;
	z-index: 110;
	border-bottom: #ddd 1px solid;
}

.nav-menu.compact {
	height: 60px;
}

.nav-menu #nav-menu-icon {
	width: 35px;
	height: 35px;
	margin-bottom: 15px;
	float: right;
	margin-top: 15px;
	margin-right: 30px;
	transform: rotate(0deg);
	transition: .5s ease-in-out;
	cursor: pointer;
	background-image: url('https://s3-us-west-2.amazonaws.com/ergontn-public/common/images/nav-menu-icon.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 0);
	border: none;
	border-radius: 3px;
}

.nav-menu .nav-menu-content {
	display: none;
	background-color: white;
	margin-top: 93px;
	clear: both;
}

.nav-menu.compact .nav-menu-content {
	clear: none;
	margin-top: 60px;
}


.nav-menu .nav-menu-content .dropdown {
	position:absolute;
	top:42px;
	padding:3px 10px 3px;
	background:#fff;
	border:1px solid #ccc;
	-moz-box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);
	-webkit-box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);
	box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);
	z-index:99;
	display:none;
}


.nav-menu .nav-menu-content a {
	text-decoration:none;
	color:#326CAB;
	font-size: 2em;
	padding: 5px 10px;
	border:0;
	display: block;
	height: 26px;
	line-height: 26px;
	border-bottom: 1px solid #ccc;
}

.nav-menu .nav-menu-content .dropdown:hover, .nav-menu .nav-menu-content a:hover + .dropdown {
	display: none;	
}

form[name=dept-login] {
	display:none;
}


.column-divider-right-alt {
	min-height:300px;
	padding-right:30px;
	margin-right:30px;
	background:none;;
}

#continue.right {
	float: none; 
	margin: 10px 0px;
}

.mobile-button {
	display: block;
}

#rvwSelected {
	visibility: hidden;
}

.column-divider-left:before {
    width: 0px;	
}

.location {
	float: none;
}

.ui-dialog {
	max-width: 100%;
}

.slide-title {
	display: none;
}

.slide-content {
    width: 100% !important;
}

.slide-part-narrow {
    display: none;
}

.column-divider-left-alt:before {
	background: none;
}

.column-divider-right:before {
    background: none;	
}

.column-divider-right-alt:before {
    background: none;
}

#logo img {
	position: fixed;
	z-index: 115;
}

#logo img.compact {
	height: 45px;
}

/*Open for screen*/
@media only screen and (min-width:800px){
    
    .slide-content {
	    width: 40% !important;
	}
	
	.slide-part-wide {
	    width: 60% !important;
	}
	
	.slide-part-narrow {
	    width: 40% !important;
	}
	
	.slide-title {
        display: block;
    }
    
	.mobile-button {
        display: none;
    }
	
	#wrapper {
		width:1150px;
		margin:0 auto;
		position:relative;
		min-height:500px;
	}
	
	#content-container .content#content-1 {
		background:url(../images/test-search.jpg) 0 0 no-repeat;	
	}
	
	#content-container .content#content-2 {
		background:url(../images/test-fire.jpg) 0 0 no-repeat;	
	}
	
	#content-container .content#content-3 {
		background:url(../images/test-cpat.jpg) 0 0 no-repeat;	
	}
	
	#content-container .content#content-4 {
		background:url(../images/test-police.jpg) 0 0 no-repeat;	
	}
	
	#content-container .content#content-5 {
		background:url(../images/test-orpat.png) 0 0 no-repeat;	
	}
	
	#content-container .content#content-6 {
		background:url(../images/ffm-tire-strike.jpg) 0 0 no-repeat;	
	}

	#content-container .content#content-7 {
		background:url(../images/mm-emt.jpg) 0 0 no-repeat;	
	}

	#content-container .content#content-8 {
		background:url(../images/test-department.jpg) 0 0 no-repeat;	
	}
	
	#content-container .content#content-9 {
		background:url(../images/test-professional.jpg) 0 0 no-repeat;
	}
	
	
	#selector-container {
		float:left;
		height:480px;
		width:280px;
		background:#fff;
		z-index:3;
		position:relative;	
	}
	
	#slider.alternate #content-container {
		display: block;
		width:720px;
		height:420px;
		position:relative;
		margin-top: 30px;
	}
	
	#slider, #login-box, #logout-box {
		display: block;
	}
	
	.column {
		float:left;	
		position:relative;
		padding:0 0 25px;
		color:#555;
		font-size:12px;
		line-height:1.5em;
	}
	
	.column-divider-left-alt {
		min-height:300px;
		padding-left:30px;
		margin-left:30px;
		background:url(../images/divider-bottom-alt.png) left bottom no-repeat;
	}
	
	.column-divider-left {
		min-height:300px;
		padding-left:30px;
		margin-left:30px;
		background:url(../images/divider-bottom.png) left bottom no-repeat;
	}
	
	footer {
		clear:both;
		height:235px;
		width:940px;
		padding:75px 50px 0;
		background:url(../images/flag.png) 870px 80px no-repeat;
		position:relative;
	}
	
	footer .col {
		float:left;
		width:25%;	
	}
	
	#footerbg {
		position:absolute;
		width:100%;
		height:265px;
		bottom:0;
		left:0;
		background:#326cab url(../images/bg-footer.png) 0 0 repeat;
		border-top:3px solid #1d4877;
		display:block;
		content:"";	
	}
	
	footer .half-col {
		float:left;
		width:48%;
		margin-right:1%;	
	}
	
	
	article {
		float:right;
		width:700px;
		padding:0 25px 25px 25px;
		position:relative;
	}
	
	
	.divider-left {
		background:url(../images/divider-bottom-alt.png) left bottom no-repeat;
		padding-left:50px;	
	}
	
	article.divider-left:before {
		width:10px;
		height:200px;
		position:absolute;
		left:0;
		top:-15px;
		display:block;
		z-index:3;	
		background:url(../images/divider-top-alt.png) left top no-repeat;
		content:"";	
	
	}
	
	#slider.alternate {
		width:1000px;
		height:480px;
		background:#fff;
		border:1px solid #dbdbdb;
		margin-top:25px;
		-moz-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
		box-shadow: 0px 0px 3px rgba(0,0,0,.2);
		position:relative;
		float:left;
		margin-bottom: 5px;
	}
	
	
	.white-box {
		padding:25px;
		background:#fff;
		border:1px solid #dbdbdb;
		width:1100px;	
		-moz-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
		box-shadow: 0px 0px 3px rgba(0,0,0,.2);
		position:relative;
		float:left;
	}
	
	
	.nav-menu {
		width: auto;
		margin-top: 0px;
		float:right;
		clear:right;
		position:relative;
		top:20px;	
		z-index:96;
		min-width:770px;
		left: 0;
		background-color: inherit;
		display: inline;
		border: none;
		padding: 0;
	}
	
	.nav-menu .nav-menu-content {
		display: block;
		margin-top: 0px;
	}
	
	.nav-menu .nav-menu-button {
		display: none;
	}
	
	.nav-menu .nav-menu-content .dropdown {
		position:absolute;
		top:42px;
		padding:3px 10px 3px;
		background:#fff;
		border:1px solid #ccc;
		-moz-box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);
		-webkit-box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);
		box-shadow:inset 0 2px 2px rgba(0,0,0,0.1);
		z-index:99;
		display:none;
	}
	
	
	.nav-menu .nav-menu-content a {
		text-decoration:none;
		/*color:#8f8f8f;*/
		color:#326CAB;
		font-size:20px;
		padding:10px 25px 15px;
		float:left;	
		position:relative;
		border:0;
	}
	
	.nav-menu .nav-menu-content .dropdown:hover, .nav-menu .nav-menu-content a:hover + .dropdown {
		display:block;	
	}
	
	
	form[name=dept-login] {
		display:block;
	}
	
	
	.column-divider-right-alt {
		min-height:300px;
		padding-right:30px;
		margin-right:30px;
		background:url(../images/divider-bottom.png) right bottom no-repeat;
	}
	
	#logo img {
		position: relative;
	}
	
	.desktop-hide {
        display: none;
    }
	
}

@media only screen and (max-width: 799px) {
    .mobile-hide {
      display: none;
    }
}


@media only screen and (min-width:1024px){
	
	
	
}

@media print {
  footer, .nav-menu, .midBanner, #latest-news {
    display: none;
  }
  .column {
    float: left;
    padding: 0 0 25px 30px;
  }
  table {
    width: auto;
  }
}