/*
Free Html5 Responsive Templates
Author: Kimmy Tran
Author URI: http://www.zerotheme.com/
*/
html {
   -webkit-text-size-adjust: none;
}
.video embed,
.video object,
.video iframe {
   width: 100%;
   height: auto;
}
img{
	max-width:100%;
	height: auto;
   	width: auto\9; /* ie8 */
}

/*------------------------*/

@media only screen and (max-width: 949px) {
	header{text-align: center;}
	h1 {background:none; margin-left: 0; padding-left: 0; width: auto;}
	ul.menu li:first-child a { width:124px !important;}
	ul.menu li a { width:125px; font-size:18px; line-height:24px;  padding: 14px 0 19px 0; }
	.box-4 h4 {font-size:16px; line-height:28px;}
	#form {width:210px; }
	#form input {width: 118px;}
	#form textarea {width: 128px;}
	.btns {width:210px;}
}

@media only screen and (max-width: 767px){
	nav {border:none;}
	ul.menu li {border:#d3d3d3 1px solid; border-left:none; }
	.box-4 h4 {font-size:24px; line-height:38px;}	
}
@media only screen and (max-width: 600px) {
	#form {width:310px; }
	#form input {width: 218px;}
	#form textarea {width: 228px;}
	.btns {width:310px;}
}
@media only screen and (max-width: 420px) {
	#form {width:210px; }
	#form input {width: 118px;}
	#form textarea {width: 128px;}
	.btns {width:210px;}
	
}

/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
	padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
	top: 0;
	bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
	padding: 0;
}


/* 

for zoom animation 
uncomment this part if you haven't added this code anywhere else

*/
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
	opacity: 0;
	-webkit-backface-visibility: hidden;
	-webkit-transition: all 0.3s ease-out; 
	-moz-transition: all 0.3s ease-out; 
	-o-transition: all 0.3s ease-out; 
	transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
		opacity: 1;
}
.mfp-with-zoom.mfp-ready.mfp-bg {
		opacity: 0.8;
}

.mfp-with-zoom.mfp-removing .mfp-container, 
.mfp-with-zoom.mfp-removing.mfp-bg {
	opacity: 0;
}