/*@media screen and (max-width: 1040px) {
     #parent_container {
         width: 100%;
         height: 100%;
     }
     .main_content {
         width: 100%;
         height: 50px;
         float: none;
     }
     .sideNac {
         float: none;
         width: 100%;
     }
 }*/
/************************************************************************************
smaller than 980
*************************************************************************************/
@media screen and (max-width: 980px) {

	ul.footer_content {
		width:auto;    
	}

	.ei-slider{
		width: auto;
	}

	.slides {
		width: auto;
	}
			
	/* pagewrap */
	div.pagewrap {
		width: 99%;
	}

	/* content */
	#content {
		width: auto;
		padding: 1% 1%;
	}

	/* sidebar */
	#sidebar {
		width: 30%;
	}
	#sidebar .widget {
		padding: 8% 7%;
		margin-bottom: 10px;
	}
	
	div.img
	{
	  
	  padding: 0;
	  
	}	
	div.img img
	{
	  
	  margin: 0;
	  
	}	
}

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


#wrapper-bullet div {
	width: 100%;
	height:auto;
    display: inline-block;
    

}

#bullet-left {
    margin-bottom: 10px;
    
}

}

@media screen and (max-width: 944px) {
	
	div.img
	{	  
	  padding: 1px;	  
	}	
	
	div.img img
	{
	  
	  margin: 1px;
	  width:350px; 
	  height:220px;
	}
	
	div.desc
	{
	  
	  width: 350px;
	  margin: 0 auto;
	}
}

/************************************************************************************
for slider
*************************************************************************************/
@media screen and (max-width: 700px) {
	/*.ei-title{
		position: absolute;
		right: 0px;
		margin-right: 0px;
		width: 100%;
		text-align: center;
		top: auto;
		bottom: 10px;
		background: #000;
		background: rgba(58,58,58,0.7);
		padding: 5px 0;	
		right: 30%;
		margin-right: 50%;	
	}*/
	
	/*.ei-title h2, .ei-title h3{
		text-align: center;
		text-shadow:none;
		
	}*/
	
	.ei-title h2{
		color: #fafafa;		
		font-size: 30px;
		/*line-height: 30px;*/
	}
	
	/*.ei-title h3{
		font-size: 12px;
		line-height: 12px;
		color:#555555;
	}*/
	
	/*.myButton{
		float:none;
		padding: 7px;
	}*/
}


/************************************************************************************
smaller than 768
*************************************************************************************/
@media screen and (max-width: 768px) {
	
	div.img
	{
	  /*margin: 5px;*/
	  padding: 2px;
	  /*position:relative;*/
	  /*border: 1px solid #0000ff;*/
	  height: 400px;
	  width: auto;
	  float: left;
	  /*text-align: center;*/
	}	
	
	div.img img
	{
	  display: inline-block;
	  margin: 5px;
	  width:320px; 
	  height:220px;
	}
	
	/*div.img a:hover img {border: 1px solid #e74e24;}*/
	
	div.desc
	{
	  text-align: left;
	  font-weight: normal;
	  width: 320px;
	  margin: 0 auto;
	}
}

@media screen and (max-width: 740px) {
	
	
	#contact-form #aligned {
		width: 100%;
		float: none;
		display: block;
	}
	
	#contact-form .txtinput, #contact-form textarea {
		width: 85%;
	}
	#prioritycase {
		float: left;
		display: block;
	}
	#recipientcase {
		float: left;
		display: block;
		margin-right: 55px;
	}
}

@media screen and (max-width: 715px) {
	
	.align_left{
		float:none;
	}
	.align_right {
		float:none;	
	}
	
}
/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 600px) {	
	  
	/*Slider*/
	.ei-title{
		right: 30%;
	}
	
	/* header */
	#header {
		height: auto;
	}

	/* search form */
	#searchform {
		position: absolute;
		top: 8px;
		right: -85%;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}

	/* main nav */
	#main-nav {
		position: static;
	}

	/* site logo */
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}

	/* site description */
	#site-description {
		margin: 0 0 15px;
		position: static;
	}

	/* content */
	#content {
		width: auto;
		float: none;
		margin: 20px 0;
	}

	/* sidebar */
	#sidebar {
		width: 100%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}


	div.img
	{
	  /*margin: 5px;*/
	  padding: 2px;
	  /*position:relative;*/
	  /*border: 1px solid #0000ff;*/
	  height: auto;
	  width: auto;
	  float: left;
	  /*text-align: center;*/
	}	
	div.img img
	{
	  display: inline-block;
	  margin: 1px;
	  width:250px; 
	  height:220px;
	}
	
	/*div.img a:hover img {border: 1px solid #e74e24;}*/
	
	div.desc
	{
	  text-align: justify;
	  font-weight: normal;
	  width: 250px;
	  margin: 0 auto;
	}
	
	
}

@media only screen and (max-width: 560px) {
 	#contact-form .txtinput, #contact-form textarea {
		width: 80%;
	}
	
	.align_left_lead {
		float:none;
	}
	.align_right_lead {
		float:none;	
	}
}

@media screen and (max-width: 485px) {
	#cssmenu > ul {
	    	width: 100%;
	  	}
  
	  #cssmenu > ul li#responsive-tab {
	    display: block;
	  }
	  #cssmenu > ul li#responsive-tab a {
	    background: url(../images/Menu/menu.png) no-repeat;
	    background-position: 95% -35%;
	  }
	  #cssmenu > ul li#responsive-tab a:hover {
	    
	    background-position: 95% 135%;
	  }
	  #cssmenu > ul li {
	    display: none;
	  }
	  #cssmenu > ul li.right {
	    float: none;
	  }
	  #cssmenu > ul li.has-sub {
	    position: relative;
	  }
	  #cssmenu > ul li.has-sub ul {
	    display: block;
	    position: static;
	    width: 100%;
	    background: #ffffff;
	    border: 0 none;
	  }
	  #cssmenu > ul li.has-sub ul li {
	    display: block !important;
	  }
	  #cssmenu > ul li.has-sub ul li a span {
	    display: block;
	    padding-left: 24px;
	  }
	  #cssmenu > ul li.has-sub > a {
	    background-image: none;
	  }
	  
	  #cssmenu ul li a:hover {
  		color: #006873;
  		text-decoration:underline;
  		
	  }

	  #cssmenu ul li a:before {
		  content: '';
		  display: block;
		  position: absolute;
		  left: 0;
		  bottom: 0;
		  height: 3px;
		  width: 0;
		  background: white;
		  transition: all 0.3s ease-in;
		 
		}
}

@media (min-width: 486px) {
  #cssmenu > ul > li.collapsed {
    display: inline-block !important;
    *display: inline;
    zoom: 1;
  }
  #cssmenu > ul ul li.collapsed {
    display: block !important;
  }
}
/************************************************************************************
smaller than 530
*************************************************************************************/
@media screen and (max-width: 530px) {	
	  
	nav {
		height:auto;
	}
	
	nav ul {
		width:100%;
		display:block;
		height:auto;
	}
	
	nav li {
		width:50%;
		float:left;
		position:relative;
	}
	
	/*nav li a {
		border-bottom:1px solid #576979;
		border-right: :1px solid #576979;
	}*/
	
	nav a{
		text-align:left;
		width: 100%;
		text-indent:30%;
	}
}
@media screen and (max-width: 480px) {
	 
	 /*Slider*/
	.ei-title{
		right: 20%;
	}
	
	div.img
	{
	  /*margin: 5px;*/
	  padding: 2px;
	  /*position:relative;*/
	  /*border: 1px solid #0000ff;*/
	  height: auto;
	  width: auto;
	  float: left;
	  /*text-align: center;*/
	}	
	div.img img
	{
	  display: inline-block;
	  margin: 1px;
	  width:100%; 
	  height:220px;
	}
	
	/*div.img a:hover img {border: 1px solid #e74e24;}*/
	
	div.desc
	{
	  text-align: justify;
	  font-weight: normal;
	  width: auto;
	  margin: 0 auto;
	}
	
/* search form */


	#searchform {
		position: absolute;
		top: 8px;
		right: 100%;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}
            
	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

}

@media screen and (max-width: 400px) {
	 
	 /*Slider*/
	.ei-title{
		right: 10%;
	}

}

@media only screen and (max-width: 515px) {
	#contact-form .txtinput, #contact-form textarea {
		width: 100%;
	}
	/*#contact-form #aligned {
		overflow: hidden;
	}*/
}

@media (max-width: 444px) {
    .recaptchatable #recaptcha_image {
        margin: 0 !important;
        width: 200px !important;
        float:left !important;
    }
    .recaptchatable #recaptcha_image img {
        max-width:100%;
    }
    .recaptchatable .recaptcha_r1_c1, .recaptchatable .recaptcha_r3_c1, .recaptchatable .recaptcha_r3_c2, .recaptchatable .recaptcha_r7_c1, .recaptchatable .recaptcha_r8_c1, .recaptchatable .recaptcha_r3_c3, .recaptchatable .recaptcha_r2_c1, .recaptchatable .recaptcha_r4_c1, .recaptchatable .recaptcha_r4_c2, .recaptchatable .recaptcha_r4_c4, .recaptchatable .recaptcha_image_cell, .recaptchatable .recaptcha_r2_c2 {
        background: none !important;
    }
}


@media screen and (max-width: 320px) {
	
	 /*Slider*/
	.ei-title{
		right: 0%;
	}
	
	/* search form */
	#searchform {
		position: absolute;
		top: 8px;
		right: 50px;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 130px;
	}
	 
	
}
