@media only screen and (max-width:1200px){

	.content, #page .content{
		width: 100%;
		padding-left: 15px !important;
		padding-right: 15px !important;
	}
	#footer{
		width: 100%;
		display: block;
		padding-left: 15px;
		padding-right: 15px;
	}
	#header .menu-container .pncustommenumenu li{
		display: block;
		margin-top: 0;
		
	}
	.ctr_ntr {
		width: calc(100% - 420px);
		position: relative;
	}
	#header .menu-container{
		margin-top: 20px !important;
		float: none;
	}
	#header .menu-container .pncustommenumenu li:hover:after {
		content: '';
	}
	#header .menu-container .pncustommenumenu li{
		width: 100%;
		display: block;
	}
	#header .menu-container .pncustommenumenu li a{
		display: block;
		width: 100%;
	}
	
}
@media only screen and (max-width:895px){
	.hive {
		height: 202px;
		width: 170px;
		font-size: 17px;
	}
	#site-cover{
		/*height: 260px;*/
		position: relative;
	}
	#site-cover .hivectr{
		height: 260px;
	}
	.hive:last-child{
		margin-left: 2.5px;
	}
	.hive:not(:first-child):not(:last-child) {
		margin-left: 2.5px !important;
		margin-right: 2.5px !important;
	}
	.hive:first-child {
		margin-right: 2.5px !important;
	}
	.services_bar{
		width: 1280px;
		height: 320px;
	}
	.form .halfwidth:first-child{
		padding-left: 0;
	}
}

@media only screen and (max-width:770px){
	.hive {
		height: 202px;
		width: 170px;
		font-size: 17px;
	}
	#site-cover .hivectr{
		height: 230px;
	}
	.hive:last-child{
		margin-left: 5px;
	}
	.hive:not(:first-child):not(:last-child) {
		margin-left: 2px !important;
		margin-right: 2px !important;
	}
	.hive:first-child {
		margin-right: 2px !important;
	}
	.hive_cnt.row2 {
		top: -35px;
	}
	#footer .foot_menu, #footer .foot_text{
		float: none;
		display: block;
		width: 100%;
	}
	#footer .foot_menu .pncustommenumenu{
		padding-left: 0;
	}
}
@media only screen and (max-width:770px){
	.hive {
		height: 172px;
		width: 140px;
		font-size: 15px;
	}
	#site-cover .hivectr{
		height: 250px;
	}	
	.services_bar{
		width: 1020px;
		height: 320px;
	}
}
@media only screen and (max-width:570px){

	table{
		width: 100%;
	}
	table tr td{
		display: block;
		width: 100%;
	}
	
}


@media only screen and (max-width:705px){
	.menu-container{
		display: none;
	}
	.mobile_menu_button{
		position: fixed;
		top: 45px;
		right: 20px;
		cursor: pointer;
		height: 38px;
		width: 38px;
		background-image: url('/parameters/pharmaplant.patronet/templates/_img/mobile_menu_button.png');
		background-size: 100% 100%;
		background-repeat: no-repeat;
		background-position: center center;
		z-index: 99999;
		-webkit-box-shadow: 5px 5px 4px 0px rgba(0,0,0,0.3);
		-moz-box-shadow: 5px 5px 4px 0px rgba(0,0,0,0.3);
		box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.3);
	
	}
	#header .logo-container {
/*		float: none;
		margin-left: 0 !important;
		display: inline-block;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		display: flex;
		order: 2;
*/
		float: none;
		margin-left: 0 !important;
		display: inline-block;
		width: 190px;
	}
	#d_mobile {
		display: none;
		position: fixed;
		right: 0;
		top: 0;
		height: 100%;
		width: 75%;
		background: rgba(255,255,255,0.85);
		z-index: 900;
		-webkit-box-shadow: 5px 5px 4px 0px rgba(0,0,0,0.3);
		-moz-box-shadow: 5px 5px 4px 0px rgba(0,0,0,0.3);
		box-shadow: -5px -5px 5px 0px rgba(0,0,0,0.3);
	}
	
	#d_mobile .menu-container{
		display: block;
		float: none;
		list-style-type: none;
		padding-top: 35px !important;
	}
	#d_mobile .menu-container ul{
		list-style-type: none;
		font-size: 21px;
		padding-left: 20px;
	}
	#d_mobile .menu-container ul li{
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.ctr_ntr{
/*		display: flex;
		order: 1;
		float: none;
*/
		right: 60px;
	}
}

@media only screen and (max-width:615px){
	
	.hives_rows_cntr{
		overflow: hidden;
		margin: 0 auto !important;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		-moz-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-o-transform: translateX(-50%);
		width: 615px;
		height: 400px;
	}
	#site-cover{
		position: relative;
		overflow: hidden;
	}
	
}
@media only screen and (max-width:490px){
	#header{
		height: 105px;
	}
	.logo-container > div{
		text-align: center;
	}
	.logo-container img{
		width: 183px;
		height: 46px;
	}
	#header .logo-container{
		margin-top: 30px !important;
	}
	#header .langselect-container {
		margin-top: 35px !important;
	}
	.mobile_menu_button{
		top: 35px;
	}
	#footer-container{
		height: 160px;
	}
	#site{
		padding-bottom: 180px;
	}
	.form .halfwidth{
		padding-left: 0;
	}
	.form .halfwidth{
		display: block;
		width: 100%;
	}
	.field_control textarea{
		height: 200px !important;
	}
	.checkbox_container{
		margin-bottom: 7.5px;
		margin-top: 7.5px;
	}
}
@media only screen and (max-width:460px){
	.hive {
		height: 142px;
		width: 110px;
		font-size: 11px;
	}
	#site-cover .hivectr{
		height: 200px;
	}
	.services_bar{
		width: 100%;
		height: 270px;
		text-align: center;
	}
	.hive.n{
		display: none;
	}
}
@media only screen and (max-width:460px){
	.services_bar{
		width: 350px;
	}		
}
.dimmer{
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(0,0,0,0.7);
	z-index: 850;
}