/* #Mobile (Landscape)
================================================== */
/* Note: Design for a width of 480px */

@media only screen and (min-width: 480px) and (max-width: 767px) {

.container {
	width:420px !important;
	}
html, body {
  min-width: 420px;
}

.main_container {
  width: 460px;
  margin: 140px auto 0;
}

/* Header
---------------------------------------- */
.top {
  height: 120px;
}
#top-header {
	height:150px;
	}
.car_right, .car_left {
  display: none;
}
.home #header {
  height: 319px;
   z-index: 1;
}
#bg_road {
  height: 125px;
  display: none;
}
#header-widget {
  padding-top: 37px;
  float: right;
  margin-top: 0;
}

/* Navigations
---------------------------------------- */

/* Primary navigation */
nav.primary {
  /* background: url("../images/nav.png") repeat-x scroll left top transparent; */
  height: 35px;
  margin: 0px 126px 0;
  padding: 18px 0 0;
  text-align: center;
  width: 39%;
  top: 122px;
}

nav.primary .responds{
	display: block;
	height: 35px;
	text-align: center;
	font-size: 26px;
	cursor:pointer;
	color: #c2c2c2;
	font-family: 'Dosis';
	text-transform: uppercase;
	}
	.sf-menu {
	  line-height: 1;
	  width: 100%;
	  margin-top: 0px;
	  padding-right: 0;
	  background: none
	}
	#topnav{
		display: none;
		position: absolute;
		height: 260px;
		width: 420px;
	    z-index: 9999;
	    left: -126px;
	}

	.sf-menu > li {
	  margin: 0;
	  text-align: center;
	  width: 100%;
	  height: 35px;
	  padding-left: 0;
	}
	.sf-menu > li > a:hover, 
	.sf-menu > li.sfHover > a, 
	.sf-menu > li.current-menu-item > a {
	  background: #a50000;
	  color: #fff;
	}
	.sf-menu > li > a {
		font: 500 16px/37px "Dosis";
		margin-left: 0;
		text-align: center;
		padding: 0;
		background: #fff;
		height: 36px;
	}
		.sf-menu > li > a > span {
			color: #282828;
		}
		.sf-menu > li.current-menu-item > a > span{
		  	color: #fff;
		}
		.sf-menu > li:hover > a > span {
			color: #fff;
		}
	.sf-menu > li > a:hover {
	  background: #a50000;
	  color: #fff;
	}
		.sf-menu > li > a:hover > span {
		   color: #fff;
		}
	.sf-menu ul {
	  background: #fff;
	  min-width: 113px;
	  right: 0px;
	}
		.sf-menu ul li li {
		  min-width: 113px
		}
		.sf-menu ul li a{
			text-align: center;
			min-width: 113px;
			font-size: 16px
		}
	.sf-menu li:hover ul,
	.sf-menu li.sfHover ul {
		left:			0%;
		top:			35px; /* match top ul list item height */
		z-index:		99;
	}
	
/* Logo */
.logo {
	}
.logo h1,
.logo h2 {
	font-size:30px;
	text-align:center;
	}
.logo img{
	width: 100%;
	height:auto;
	}
	.logo .tagline {
		display:block;
		}
.logo h6 {
  line-height: 14px;
  margin-top: 5px;
  margin-left: 0; 
}		
/* Slider
---------------------------------------- */
.flexslider-holder {
  margin-left: 0;
  width: 400px;
  top: 53px;
}
	.flex-control-nav {
	  top: 85%;
	  left: 2%;
	}
	.flex-caption {
	  display: none;
	}
.es-nav span.es-nav-prev {
  left: 333px;
  margin-top: 52px;
}
.es-nav span.es-nav-next {
  margin-top: 48px;
  right: 15px;
}
.es-carousel ul {
  height: 47px;
}
.es-carousel ul li {
  padding: 25px 1px 0 0;
}
	.es-carousel ul li .thumbnail {
	  margin-left: 13px;
	}


/* Before Content */
#before_content, .primary_content_wrap {
  margin-top: -90px;
}

/*========== Content =========*/
#content {
  padding-top: 0px;
}
.blog #content {
  padding-bottom: 0px;
}
#content h1 {
  margin-top: 30px;
}
#content ul.principles li img {
  margin: 0 20px 15px 0;
 }
#content .about {
  margin: 0;
}
.recent-posts.team li:last-child {
  margin: 0;
}

#content a.more_button {
   margin-bottom: 40px;
}
.padcontent {
display: none;
}
.cources_list {
  margin-bottom: 10px;
}
#content .indent {
  margin-bottom: 0px;
}


/* Left Home Area */
.center_home_area, .left_home_area {
  padding-bottom: 25px;
}

.left_home_area img{
	max-width: 98%;
}
.post-thumb {
	width:150px;
	height:110px;
	float:left;
	margin-right:20px;
	}

/* Post */
.extra-wrap {
  overflow: visible;
}
.featured-thumbnail {
	float:left;
	margin:0 20px 0 0;
	}
	.featured-thumbnail img {
		width:auto;
		height:auto;
		}
.featured-thumbnail .fright {
	float:none;
	clear:left;
	}
.featured-thumbnail.large {
	width:auto;
	height:auto;
	margin:0 0 10px 0;
	}
.post-holder footer {
	
	}
	.post-holder footer .button {
		padding:0 10px;
		margin-right:6px;
		}
	.post-holder footer .link {
		margin-right:6px;
		}

.latestpost li .featured-thumbnail {
	width:140px;
	height:138px;
	margin:0 20px 0 0;
	float:left;
	}
	.latestpost li .featured-thumbnail img {
		width:auto;
		height:auto;
		}
#sidebar {
    padding-top: 0px;
	margin-bottom: 70px;  
}
/* Images */
.frame.alignleft,
.frame.alignright,
.frame.alignnone {
	margin-right:0;
	width:100%;
	height:auto;
	}

.offers img {
  width: auto!important;
}	

.tabs .tab {
	padding:20px 10px;
	background:#020202 url(../images/tab-bg-small.png) 50% -200px no-repeat;
}
.tabs .tab .entry {
	width:180px;
	height:auto;
	margin-bottom:20px;
	margin: 0 10px 20px 10px;
	}
	.tabs .tab .entry img {
		
		}
.primary_content_wrap img {
  width: 100%;
}		
.wpcf7 img{
	width: auto;
}
/* Comments */
.commentlist ul.children {
	margin-left:0;
	}

#commentform input[type="text"],
#commentform textarea {
	width:360px;
	max-width:360px;
	min-width:360px;
	}
.children #commentform input[type="text"],
.children #commentform textarea {
	width:360px;
	max-width:360px;
	min-width:360px;
	}
/*===================================================*/
.archive #content .extra-wrap a.button {
		background: none repeat scroll 0 0 #4E4E4E;
		color: #FFFFFF;
		display: block;
		float: left;
		font: 500 20px/15px "Dosis";
		margin-top: 19px;
		margin-bottom: 40px;
		margin-right: 50px;
		padding: 13px 10px;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
		width: 100px;
	}	
.archive .featured-thumbnail img {
    border: 3px solid #FFFFFF;
    float: left;
    height: auto;
    margin: 0 10px 5px 0;
    width: auto;
}
.archive #content .extra-wrap a.link {
  margin-right: 30px;
}	

.blog .featured-thumbnail img {
  border: 3px solid #FFFFFF;
  float: left;
  height: auto;
  margin: 0 5px 5px 0;
  width: auto;
}
/* page */
		.page .featured-thumbnail img {
			width:98%;
			height:auto;
			float:left;
			margin:0 75px 20px 0;
			border: 3px solid #FFFFFF;
		}	
		.page .extra-wrap a.link {
			margin-right: 65px;
		}	

/*============= Error page 404 ==============*/
#error404 {
  padding: 0 0 100px;
}
.error404-num {
  font-size: 100px;
}
#error404 strong {
  font-size: 20px;
  padding-top: 10px;
}
#error404 h4 {
  font-size: 15px;
  margin: 46px 0 20px;
  width: 300px;
}
#error404 #searchform .submit {
  right: -66px !important;
}


/* Portfolio
---------------------------------------- */

/* Default layout 3 columns */
#gallery .portfolio li {
	width:auto;
	float:none;
	margin-right:0;
	}
	#gallery .portfolio li a.image-wrap {
		width:418px;
		height:285px;
		border: none;
		background: none;
		}
	.zoom-icon {
		width:418px;
		height:285px;
		}
		#gallery .portfolio li img {
			width:100%;
			height:auto;
			}
#gallery .portfolio li a.image-wrap img {
  height: 97%;
  width: 98%;
  border: 3px solid #FFFFFF;
}
/* 1 column portfolio*/
#gallery.one_column .portfolio li a.image-wrap {
	width:410px;
	height:230px;
	float:none;
	}
#gallery.one_column .zoom-icon {
	width:410px;
	height:230px;
	}
	#gallery.one_column .folio-desc {
		width:100%;
		padding-top:15px;
		margin:0;
		}
			

		
/* Contact form */

.wpcf7-form p.field input {
	width:360px;
	}
.wpcf7-form textarea {
	  float: left;
	  max-width: 394px;
	  min-width: 355px;
	  width: 394px;
	}
.wpcf7-not-valid-tip {
	width:370px !important;
	position:absolute;
	left:0 !important;
	top:0 !important;
	padding:4px 0 4px 10px !important;
	background:#f3b7b7 !important;
	color:red !important;
	border:1px solid red !important;
	}
.wpcf7-form input[type="submit"] {
  	margin-bottom: 40px;
}
img.ajax-loader{
	width: auto;
}	
	
/* Sidebar
---------------------------------------- */
#searchform .searching {
	width:260px;
	}



/*======== Footer ========*/
#fullwidth-content .beforefooter_fullpage_area a {
  margin: 14px 80px 0;
  padding: 0 30px;
  width: 157px;
}
#firstfooter .callUs_atr {
  margin: 75px 0 0 120px;
}
#firstfooter .callUs_atr p {
  font: bold 21px/21px "Open Sans";
}
#firstfooter .callUs_atr p:first-child {
  margin: 0 0 0 0px;
  font: 13px/18px "Open Sans";
}
#firstfooter .callUs_atr span {
  font: 13px/18px "Open Sans";
}
.aligncenter_png {
  background-size: 71% auto;
  left: 46px;
  top: -38px;
  width: 357px;
}
.footer-first.grid_3{
	width: 310px;
}
.footer-second.grid_4 {
	width: 240px;
}
#lastfooter .footer-second, #lastfooter .footer-second:first-child {
    margin: 0;
}
#firstfooter .footer-first {
  float: left;
  margin: 10px 0 0 63px;
}
}