@media only screen and (max-width:1200px), screen and (max-device-width:1200px) {
	.portfolio-projects-item { width: 33.3%; }

	.portfolio-item-caption p { width: 80%; }
}

@media only screen and (max-width:1199px), screen and (max-device-width:1199px) {
	.services-block .span4
	{
		width: 460px;
		margin-bottom: 0;
	}

	.servisec-item-wrap:nth-of-type(3) { margin-top: 40px; }
}

@media only screen and (max-width:1199px) and (min-width: 640px), screen and (max-device-width:1199px) and (max-device-width: 640px) {
	[data-sizey="1"][data-sizex="2"],
	[data-sizey="1"][data-sizex="3"]
	{ width: 100%; }
}

@media only screen and (max-width:1199px) and (min-width: 979px), screen and (max-device-width:1199px) and (max-device-width: 979px) {
	[data-sizey="2"][data-sizex="3"],
	[data-sizey="2"][data-sizex="3"] + [data-sizey="1"][data-sizex="3"]
	{ width: 647px; }
}/*480*/

@media only screen and (max-width:979px) and (min-width: 768px), screen and (max-device-width:979px) and (max-device-width: 768px) {
	.services-block .span4 { width: 352px; }

	[data-sizey="2"][data-sizex="3"] { width: 431px; }

	.portfolio-projects-caption
	{
		padding: 45px 10px 0;
		height: 135px;
	}.opacity-box {opacity: 1;}
}

@media only screen and (max-width:979px), screen and (max-device-width:979px) {
	[data-sizey="2"][data-sizex="3"]
	{
		height: 930px;
		padding-left: 0;
		padding-bottom: 310px;
	}

	[data-sizey="2"][data-sizex="3"][data-img-position="right"] .event-description,
	[data-sizey="2"][data-sizex="3"][data-img-position="left"] .event-description
	{
		top: auto;
		bottom: 0;
		height: 310px;
		width: 100%;
	}

	[data-sizey="2"][data-sizex="3"][data-img-position="right"] .event-description:after,
	[data-sizey="2"][data-sizex="3"][data-img-position="left"] .event-description:after
	{
		top: auto;
		bottom: 100%;
		left: 50%;
		margin-left: -4px;
		border-bottom-color: #ffffff; 
	}

	.dark-layout [data-sizey="2"][data-sizex="3"][data-img-position="right"] .event-description:after,
	.dark-layout [data-sizey="2"][data-sizex="3"][data-img-position="left"] .event-description:after
	{ border-bottom-color: #313131; }.opacity-box {opacity: 1;}
}

@media only screen and (max-width:768px) , screen and (max-device-width:768px) {
	header { padding: 0; }

	header .container { width: 100%; }

	#menu_link { display: block; }

	header nav
	{
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		padding-bottom: 6px;
	}

	#header-navigation
	{
		text-align: left;
		background-color: #f9f9f9;
		z-index: 1;
		position: relative;
		padding: 0 50px;
	}

	.dark-layout #header-navigation { background-color: #3e3e3e; }

	#header-navigation:after
	{
		content:'';
		height:6px;
		display:block;
		width:100%;
		position:absolute;
		top: 100%;
		left: 0;
		background:url(../images/fon/header_shadow.png) repeat-x left top;
	}

	#header-navigation li
	{
		display: block;
		width: 100%;
		text-align: left;
	}

	#header-navigation a
	{
		display: block;
		border-top: 1px solid #e2e2e2;
		padding: 15px 0 15px 30px;
	}

	.dark-layout #header-navigation a { border-top: 1px solid #4e4e4e; }

	#header-navigation li:first-child a { border-top: 1px solid transparent; }

	#header-navigation a:before
	{
		bottom: 0;
		padding-top: 18px;
		width: auto;
	}

	#header-navigation .description { display: none; }


	.portfolio-projects-item { width: 49.89%; }

	.portfolio-item-caption p { width: 90%; }.opacity-box {opacity: 1;}
}

@media only screen and (max-width:767px) , screen and (max-device-width:767px) {
	header .container { padding: 0; }

	.container
	{
		padding-left: 20px;
		padding-right: 20px;
	}

	.services-block.row { margin-left: -20px; }

	.services-block .span4
	{
		padding-left: 20px;
		padding-top: 68px;
		width: 50%;
		float: left;
		text-align: center;
	}

	.servisec-item { padding: 90px 20px 79px 20px; }

	.servisec-preview
	{
		left: 50%;
		top: 0;
	}

	.servisec-item h4.with-border.border-left:before
	{
		margin-left: auto;
		margin-right: auto;
	}

	.servisec-item .btn-more-wrap
	{
		left: 20px;
		right: 20px;
	}

	[data-sizey="2"][data-sizex="3"]
	{
		width: -webkit-calc(100% - 293px);
		width: -moz-calc(100% - 293px);
		width: calc(100% - 293px);
	}

	.cont-info
	{
		display: inline-block;
		width: 33%;
		vertical-align: top;
		text-align: center;
	}.opacity-box {opacity: 1;}
}

@media only screen and (max-width: 650px) , screen and (max-device-width: 650px) {
	.portfolio-item-caption,
	.portfolio-projects-item { width: 100%; }

	.cont-info
	{
		width: 100%;
		margin-top: 20px;
	}

	.cont-info:first-child { margin-top: 0; }.opacity-box {opacity: 1;}
}

@media only screen and (max-width: 600px) , screen and (max-device-width: 600px) {
	#logo
	{
		padding-top: 44.5%;
		height: auto;
	}.opacity-box {opacity: 1;}
}

@media only screen and (max-width: 540px) , screen and (max-device-width: 540px) {
	.services-block .span4 { width: 100%; }

	.servisec-item-wrap:nth-of-type(2) { margin-top: 40px; }

	.portfolio-item-caption p
	{
		max-height: 95px;
		overflow: hidden;
	}.opacity-box {opacity: 1;}
}

@media only screen and (max-width: 480px) , screen and (max-device-width: 480px) {
	#menu_link { margin-right: 0px; }

	#header-navigation { padding: 0 30px; }

	.event-item
	{
		width: 100% !important;
		padding-left: 0;
		padding-right: 0;
		padding-bottom: 310px;
	}

	.event-item[data-sizey="1"] { height: 620px; }

	.event-item .event-description
	{
		top: auto;
		bottom: 0;
		height: 310px;
		width: 100%;
	}

	.event-item .event-description:after
	{
		top: auto;
		bottom: 100%;
		left: 50%;
		right: auto;
		margin-left: -4px;
		border-left-color: transparent;
		border-right-color: transparent;
		border-bottom-color: #ffffff; 
	}

	.dark-layout .event-item .event-description:after
	{
		border-left-color: transparent;
		border-right-color: transparent;
		border-bottom-color: #313131; 
	}

	.event-item:hover .event-description:after
	{
		border-left-color: transparent !important;
		border-right-color: transparent !important;
	}.opacity-box {opacity: 1;}

}

@media only screen and (max-width: 480px) , screen and (max-device-width: 480px) {
	.container
	{
		padding-left: 10px;
		padding-right: 10px;
	}.opacity-box {opacity: 1;}
}