/* Custom CSS Media Queries for Responsive - Tablets & Mobile */
@media (min-width: 992px) {

#uid54_0 { margin-left: 130px;}

.box p.tx_powermail_pi1_fieldwrap_html_checkbox_title { margin: 0; float:left;}

fieldset.tx-powermail-pi1_fieldset .powermail_check_inner_uid54_0 label
{
float: right;
width: calc(100% - 155px);
}

}

@media (max-width: 991px) {

#uid54_0 { margin-left: 0px}

.box p.tx_powermail_pi1_fieldwrap_html_checkbox_title { margin: 0; float:left;}

fieldset.tx-powermail-pi1_fieldset .powermail_check_inner_uid54_0 label
{
float: right;
width: 100%;
}

}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }
#header { padding: 10px 20px 0; position: relative; }
#header img.headImg1 { float: left; left: inherit; position: static; top: inherit; }
#header_element { padding: 0; z-index: 1; right: 20px; height: 36px; top: 10px; position: absolute; }
img { max-width: 100%;/* width: auto !important; height: auto !important;*/ }
#header_element img { height: 100% !important; }
#nav_main, #nav_main .current, #nav_main li { height: auto; }
#nav_main li, #nav_main li.first { padding: 0; }
#nav_main li a { padding: 8px 20px; }
div.flexi div.left { width: 41.6667% !important; margin: 0; padding-right: 40px; .width: 280px !important; .margin: 0 5px 0 0; .padding: 0; }
div.flexi div.right { width: 58.3333% !important; margin: 0; .width: 400px !important; .margin: 0 0 0 5px; }
.rgsgnest359, .rgsgnest367, .rgsgnest374, #myGallery374, #myGallery359, #myGallery367, .csc-default iframe { width: 100% !important; .width: 249px !important; }
div.csc-textpic-left div.csc-textpic-imagewrap { float: left; width: 100%;}
div.csc-textpic img { width: 100% !important; }
.c50r, .c25r, .c33r, .c38r, .c66r, .c75r, .c62r { margin-left: 0; .margin-left: -5px; }
#footer { padding: 15px 0px; .padding: 15px 20px; }
#footerRow1, #footerRow2, #footerRow3, #footerRow4 { margin-right: 0px; .margin-right: 30px; width: 25%; .width: 23%; padding: 0px 23px; .padding: 0; }
#footerRow4 { .padding: 0; .margin-right: 0px; }
#overlay { height: 100% !important; left: 0px !important; position: fixed; top: 0px !important; bottom: -2px !important; right: 0px !important; width: 100% !important; z-index: 90; }
.jdGallery a.open {
		  border: 0 !important;
		  outline:0 none !important;
	}
/* Media Queries css start =============================== */
@media only screen and (max-width:1023px) {
	#page_margins { max-width: inherit; min-width: inherit; }	
	.jdGallery a.open {
		  border: 0 !important;
		  outline:0 none !important;
	}
	#nav_main li a {
  		padding: 8px 6px;
	}
}
@media only screen and (max-width:979px) {
	.c50l, .c25l, .c33l, .c38l, .c66l, .c75l, .c62l { width: 100%; }
	.c50r, .c25r, .c33r, .c38r, .c66r, .c75r, .c62r { width: 100%; }
	.subcr { padding: 0; }
	.subcl { margin-bottom: 15px; }
	#footerRow1, #footerRow2, #footerRow3, #footerRow4 { width: 50%; margin-bottom: 25px; }
	#footerRow3:before, #footerRow4:before { display: block; border-top: 1px solid #cccccc; content: ''; margin-top: -15px; margin-bottom: 15px; }
	#footerRow2 { border-right: none; }
	#footerRow3, #footerRow4 { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
	.jdGallery a.open {
		  border: 0 !important;
		  outline:0 none !important;
	}
}
@media only screen and (max-width:767px) {
	.subcl { padding: 0; }
	div.flexi div.left { width: 100% !important; padding: 0; margin-bottom: 30px; }
	div.flexi div.right { width: 100% !important; margin-bottom: 20px; }
	#header { height: auto; padding-bottom: 10px; }
	#header img.headImg1 { float: none; padding-top:20px;}
	#header_element { height: 20px; }
	#nav { position: relative; }
	#navigation { cursor: pointer; position: absolute; z-index: 1; top: -40px; right: 10px; width: 30px; height: 30px; background-color: #cccccc; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; transition: all ease 0.5s;}
	#navigation:before { position: absolute; z-index: 1; left: 7px; top: 6px; width: 16px; height: 17px; content:''; border-top: 3px solid #ffffff; border-bottom: 3px solid #ffffff;}
	#navigation:after { position: absolute; z-index: 1; left: 7px; top: 13px; width: 16px; height: 3px; content:''; border-top: 3px solid #ffffff; }
	#navigation:hover, #navigation.active { background-color: #484848; }
	#nav_main { position: relative;display: none;  }
	#nav_main ul { position: absolute; z-index: 10; top: 0px; left: 0; width: 100%; box-shadow: 0 1px 3px rgba(0,0,0,0.5); background: #ffffff; }
	#nav_main li { float: none; display: block; }
	#sbCenter, #sbBottomContainer { width: 90% !important; left: 5% !important; margin: 0px !important;  }
	#sbImage { width: 100% !important; position: static; background-size: 100%;  }
	#sbBottom { width: 100% !important;  }
	/*.jdGallery .slideElement { background-size: 100%; }*/
	.jdGallery a.open {
		  border: 0 !important;
		  outline:0 none !important;
	}
	#rglbImage {
  		width: 100% !important;
		z-index: 25;
  		background-size: 100% 100%;
  		background-repeat: no-repeat;
	}
	#rglbCenter, #rglbBottom {
		background-color: #000;
  		border: 1px solid #666;
  		left: 135px;
	  	overflow: hidden;
  		position: absolute;
  		z-index: 20;
  		width: 96% !important;
  		margin-left: -129px !important;
	}
	.rgsgcontent {
  		width: 100%;
	}
	.rgsgnest3027 {	
  		height: 345px;
  		width: 100%;
	}
	#myGallery3027 {
  		height: 345px;
  		width:100%;
	}
	.rgsgnest3013 {	
  		height: 345px;
  		width: 100%;
	}
	#myGallery3013 {
  		height: 345px;
  		width:100%;
	}
	.rgsgnest3005 {	
  		height: 345px;
  		width: 100%;
	}
	#myGallery3005 {
  		height: 345px;
  		width:100%;
	}
	.rgsgnest549 {	
  		height: 345px;
  		width: 100%;
	}
	#myGallery549 {
  		height: 345px;
  		width:100%;
	}
	.rgsgnest3029 {	
  		height: 345px;
  		width: 100%;
	}
	#myGallery3029 {
  		height: 345px;
  		width:100%;
	}
}
@media only screen and (max-width:479px) {
	#header { padding: 20px 50px 10px; }
	.news-single-item h1 { float: none; }
	.news-single-backlink { margin-bottom: 15px;}
	.news-single-img { float: none; display: block; margin: 0 0 15px; }
	.news-single-img img { width: 100% !important; height: auto !important; margin-right: 0px;}
	#footerRow1, #footerRow2, #footerRow3, #footerRow4 { width: 100%; border: none; height: auto; }
	#footerRow3 { margin-bottom: 25px; }
	#footerRow2:before, #footerRow3:before, #footerRow4:before { display: block; border-top: 1px solid #cccccc; content: ''; margin-top: -15px; margin-bottom: 15px; }
	fieldset.tx-powermail-pi1_fieldset label { float: none; width: inherit; }
	fieldset.tx-powermail-pi1_fieldset input.css_input, fieldset.tx-powermail-pi1_fieldset textarea.powermail_textarea, fieldset.tx-powermail-pi1_fieldset select.powermail_select { width: 100%;  margin: 0;}
	div.tx_powermail_pi1_fieldwrap_html_submit { text-align: center; margin: 30px 0 20px; }
  fieldset.tx-powermail-pi1_fieldset input.powermail_submit { margin: 0; display: inline-block; }
  .jdGallery a.open {
		  border: 0 !important;
		  outline:0 none !important;
	}
}


/* Media Queries css end ================================= */
#responsiveDiv{
		display: none;	
}
@media(max-width:767px){
	#responsiveDiv{
		display: block;	
		text-align:center;
		font-size:15px;

	}
	#responsiveDiv a {
	  display: inline-block;
	  font-family: Verdana,Arial,Helvetica,sans-serif;
	  font-size: 14px;
	  letter-spacing: 0.5px;
	  margin-left: 21px;
	  padding-bottom: 8px;
	  padding-right: 0;
	  padding-top: 6px;
	  position: relative;
	  text-decoration: none;
	}
	#responsiveDiv a:before{
		background-image: url("../img/contact.png");
	    background-repeat: no-repeat;
	    background-size: 46% auto;
	    content: "";
	    display: block;
	    height: 35px;
	    left: -23px;
	    position: absolute;
	    /*top: 8.6px;*/
	    top: 7px;
	    width: 35px;
	}
	#header{
	  padding-bottom: 17px !important;
	}
}
