/*------------------------------------------------
*
*	Table of contents: 
*	1. Screen resolution 768px+
*	2. Screen resolution 992px+
*	3. Screen resolution 1200px+
*	4. Screen resolution between 768px and 991px
*	5. Screen resolution less than 991px
*	6. Screen resolution less than 767px
*	7. Screen resolution less than 480px
*
-------------------------------------------------*/

/*-------------------------------------------------
  1. Screen resolution 768px+
-------------------------------------------------*/
@media only screen and (min-width: 768px) {
	.menu-top {
		height: 60px;
	}
	.nav li {
		display: inline-block;
		margin: 0 10px;
		padding: 20px 0;
	}
	.middle-content {
		position: relative;
		top: 50%;
		-webkit-transform: translate(0,-50%);
	  -moz-transform: translate(0,-50%);
	  -ms-transform: translate(0,-50%);
	  -o-transform: translate(0,-50%);
	  transform: translate(0,-50%);
	}
	#portfolio .middle-content {
		position: absolute;
		padding-right: 60px;
	}
	.testimonial-box div:first-child {
		float: left;
		width: 100px;
		height: 100px;
	}
	.testimonial-box div:last-child {
		padding-left: 125px;
	}
	.clients-background .middle-content {
		width: 100%;
		padding: 0 40px;
	}
	.input-style {
		float: left;
		width: 50%;
	}
	.input-style:first-child {
		padding-right: 15px;
	}
	.input-style:last-child {
		padding-left: 15px;
	}
	.col-left p {
		line-height: 30px;
	}
}

/*-------------------------------------------------
  2. Screen resolution 992px+
-------------------------------------------------*/
@media only screen and (min-width: 992px) {
	.year {
		float: left;
		width: 140px;
		padding: 0 15px;
		border-right: 1px solid rgb(220, 220, 220);
		text-align: center;
	}
	.year div {
		position: relative;
		top: 50%;
		-webkit-transform: translate(0,-50%);
	  -moz-transform: translate(0,-50%);
	  -ms-transform: translate(0,-50%);
	  -o-transform: translate(0,-50%);
	  transform: translate(0,-50%);
	}
	.box-content {
		padding-left: 155px;
	}
	.skill-bar {
		display: inline-block;
		padding: 0 20px 20px;
	}
	.skill-bar:last-child {
		margin: 0;
	}
	.fact-box {
		display: inline-block;
	}
}

/*-------------------------------------------------
  3. Screen resolution 1200px+
-------------------------------------------------*/
@media only screen and (min-width: 1200px) {
	.service-box {
		float: left;
		width: 50%;
	}
	.service-box:nth-child(odd) {
		padding-left: 20px;
	}
	.service-box:nth-child(even) {
		clear: left;
		padding-right: 20px;
	}
	.service-box:nth-last-child(-n+2) {
		margin: 0;
	}
	.clients-background .middle-content {
		left: 50%;
		-webkit-transform: translate(-50%,-50%);
		-moz-transform: translate(-50%,-50%);
		-ms-transform: translate(-50%,-50%);
		-o-transform: translate(-50%,-50%);
		transform: translate(-50%,-50%);
		width: 540px;
	}
	.info li {
		display: inline-block;
		margin-right: 15px;
	}
	.info li:last-child {
		margin-right: 0;
	}
}

/*-------------------------------------------------
  4. Screen resolution between 768px and 991px
-------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 991px) {
	#portfolio .middle-content p {
		padding-top: 45px;
	}
	.skill-bar, 
	.fact-box {
		float: left;
		width: 33.3%;
	}
}

/*-------------------------------------------------
  5. Screen resolution less than 991px
-------------------------------------------------*/
@media only screen and (max-width: 991px) {
	.resume-box li {
		margin-bottom: 30px;
	}
	.year {
		padding-bottom: 5px;
		border-bottom: 1px solid rgb(220, 220, 220);
		text-align: left;
	}
	.year h4, 
	.resume-box span {
		display: inline-block;
	}
	.resume-box span:before {
		content: "@";
		padding: 0 2px 0 3px;
		font-size: 13px;
	}
	div.bg-none > .vc_column-inner {
		padding: 50px 30px!important
	}
	.sidebar{
		margin-top: 50px;
	}
}

/*-------------------------------------------------
  6. Screen resolution less than 767px
-------------------------------------------------*/
@media only screen and (max-width: 767px) {
	.menu-top {
		height: 100%;
		-webkit-transition: ease-out 0.3s;
		-moz-transition: ease-out 0.3s;
		-o-transition: ease-out 0.3s;
		transition: ease-out 0.3s;
	}
	.nav {
		position: relative;
		top: 50%;
		-webkit-transform: translate(0,-50%);
	  -moz-transform: translate(0,-50%);
	  -ms-transform: translate(0,-50%);
	  -o-transform: translate(0,-50%);
	  transform: translate(0,-50%);
	}
	.nav li {
		display: table;
		margin: 0 auto 15px auto;
	}
	.nav li:last-child {
		margin-bottom: 0;
	}
	.home-background {
		background-position: right top !important;
	}
	.social {
		bottom: 20px;
		left: 50%;
		-webkit-transform: translate(-50%,0);
	  -moz-transform: translate(-50%,0);
	  -ms-transform: translate(-50%,0);
	  -o-transform: translate(-50%,0);
	  transform: translate(-50%,0);
	}
	.white-layer, 
	.black-layer {
		padding: 80px 20px;
	}
	.portfolio-content .owl-controls {
		bottom: 20px;
	}
	.skill-bar {
		display: inline-block;
		padding: 0 20px 20px;
	}
	.skill-bar:last-child {
		margin: 0;
	}
	.fact-box {
		display: inline-block;
	}
	.testimonial-box {
		text-align: center;
	}
	.testimonial-box div:first-child {
		margin-bottom: 15px;
	}
	.testimonial-box p {
		padding: 0 15px;
	}
	.testimonial-box p:before {
		left: 0;
	}
	.clients-background .white-layer {
		padding: 80px 10px;
	}
	.input-style {
		width: 100%;
	}
	#map-canvas {
		height: 300px;
	}
	.footer-background {
		padding: 40px 20px;
	}
}

/*-------------------------------------------------
  7. Screen resolution less than 480px
-------------------------------------------------*/
@media only screen and (max-width: 480px) {
	.section-background {
		padding: 80px 20px;
	}
	.skill-bar {
		width: 100%;
	}
	.col-left, 
	.col-right {
		width: 100%;
		text-align: center;
	}
	.col-right {
		margin-top: 20px;
	}
	.fact-box {
		display: table;
		margin: 0 auto;
		padding: 20px 0;
		border-bottom: 1px solid #fff;
		border-right: none;
	}
	div.bg-none > .vc_column-inner{
		padding-left: 20px!important;
		padding-right: 20px!important;
	}
}