/* Special styles for small devices (smartphones, 480px and up) */
@media only screen and (max-width: 480px) {
	#navigation-logo {
		width: 175px;
		height: auto;
		z-index: 3;
		margin-left: 15px;
	}

}

/* Small devices (tablets, 768px and up) */
@media only screen and (max-width: 768px ) {

	#navigation-logo {
		width: 175px;
		height: auto;
		z-index: 3;
		margin-left: 15px;
	}

	#linkRow, #reviewRow {
		float:none;
		margin: 50px auto;
	}
	#reviewRow:first-child {
		margin-top: 50px;
	}
	#linkRow:last-child {
		margin-bottom: 50px;
	}
	.reviewOverview .reviewRow .reviewStats .reviewTable:nth-of-type(2) {
	  	margin: 0;
	}
	.reviewOverview .reviewForm .reviewTable:nth-of-type(2) {
		margin: 0;
	}
	.reviewOverview .reviewRow .reviewRight {
		float: left;
		width: 160px;
	  	padding: 30px 0 30px 0;
	}

	.reviewOverview .reviewForm .formRight {
		float: none;
	}

	

}

@media only screen and (min-width: 993px) {
	.custom-menu-level0 > li.has-children:hover {
		position: relative;
	}
	.custom-menu-level0 > li.has-children:hover > ul {
		display: block;
	}
	.custom-menu-level0 > li.has-children:hover > ul  > li > a {
		font-size: 14px;
		font-weight: normal;
		padding-bottom: 5px;
		border-bottom: 1px solid #afafaf;
		padding: 0px 0px 7px 0px !important;
		margin-left: 15px;
		margin-right: 15px;
		display: block;
		text-align: left;
		position: relative;
		color: #afafaf !important;
	}
	.custom-menu-level0 > li.has-children:hover > ul  > li > a:hover {
		color: #ab6528 !important;
	}
	.custom-menu-level0 > li.has-children:hover > ul > li.active > a {
		color: #ab6528 !important;
	}
	.custom-menu-level0 > li.has-children:hover > ul > li:nth-child(1) > a {
		padding-top: 45px;
	}
	.custom-menu-level0 > li.has-children:hover > ul  > li:last-child > a {
		border-bottom: 0;
	} 

}


/* Medium devices (desktops, 992px and up) */
@media only screen and (max-width: 992px ) { 

	#phone-button {
	  	right: 15px;
	}

	#linkRow {
		float: none;
	}

	.footer-stain {
		display: none;
	}
	#footer {	
	  	height: auto;
	}
	nav.horizontalNavigationBlock ul {
		width: 100%;
		margin-bottom: 0px;
		background: #FFF;
    	text-align: left;

	}
	nav.horizontalNavigationBlock ul li a {
		display: block;
		float: left;
		width: 100%;
		font-size: inherit;
		padding: 0;
	}

	#navigation-menu {
	  	top: 0px;
  	  	width: 100%;
	}
	#myNavbar > ul > li.active.has-children > ul {
		display: block;
		position: relative;
		background: #003465;
		border-radius:0;
	}
	.custom-menu-level0 > li.has-children:hover > ul > li > a {	
		font-weight: normal;
		border-bottom: 0;
		color: #002365 !important;
	}
	#myNavbar > ul > li.active.has-children > ul > li > a {
		font-weight: normal !important;
		font-size: inherit;
		color: #FFF !important;
	} 
	#navigation-menu > .horizontalNavigationBlock ul li {
	  	height: 35px;
	  	background:;
	}
  	#navigation-menu > .horizontalNavigationBlock ul {
  		margin-bottom: 0px !important;
	}
	.custom-menu-level1 {
		top: 0;
		padding-top: 0 !important; 
	}
	#navigation-menu > .horizontalNavigationBlock ul li.active > a {
		font-weight: bold;
		color: #FFF !important;
		background: #002365 !important;
	}
	#navigation-menu > .horizontalNavigationBlock > ul > li.active > a {
		font-weight: bold;
		color: red !important;
	}
	#myNavbar > ul > li.active.has-children > ul > li.active > a {
		color: #ab6528 !important;
		background: none !important;
	}
		
	#pathway {
		display: none;
	}

	.navbar-toggle {
		position: absolute;
		right: 15px;
		top: -40px;
	}

	.header-menu {
	  	position: inherit;
	}

	#navigation-menu > .horizontalNavigationBlock {
		margin-bottom: 0px !important;
		margin-top: 70px;
	  	width: 100%;
	}

	#footer-bottom .footer-item {
		text-align: center !important;
	}
	#footer-bottom .text-right {
		text-align: center !important;
	}
	.form-background {
	    position: relative
	}

	.last-item {
	 	float: none;
	}

	#menu {
		float: left;
		width: 100%;
	}
	.custom-menu-level0 {
		border-bottom: 7px solid #001132;
	}

	.has-children > a:after {
		content: '';
		border: 5px solid transparent;
		border-left: 5px solid #002365;
		margin-left: 5px;
		margin-bottom: 5px;
		display: inline-block;
		vertical-align: bottom;
	}
	.has-children.active > a:after {
		content: '';
		border: 5px solid transparent;
		border-top: 5px solid #FFFFFF;
		margin-left: 5px;
		margin-bottom: 3px;
		display: inline-block;
		vertical-align: bottom;
	}
	.navbar-toggle {
		display: block !important;
	}

	.goldButton {
		width: 100%!important;
	}

	.reviewOverview .reviewRow .reviewRight {
  		float: left;
  		padding: 30px 0 30px 0;
  	}


}

