@media (max-width:991.98px)
{
	.mainmenu {width: 120px!important;}
	.lang {width: 60px!important; margin-left: 0!important;}
	.mod-languages {margin-top: 8px;}
	div.mod-languages ul.lang-inline li.lang-active {display: none;}
	div.mod-languages ul.lang-inline li a {font-size: 24px; line-height: 40px; border-radius: 0!important; width: 43px; height: 43px; padding: 0!important; text-align: center; border: none!important;}

	.slick-prev
	{
		border-top: 25px solid transparent;
		border-right: 20px solid #fff;
		border-bottom: 25px solid transparent;
		left: 25px;
	}
	.slick-next
	{
		border-top: 25px solid transparent;
		border-left: 20px solid #fff;
		border-bottom: 25px solid transparent;
		right: 25px;
	}
	.mainpage .logos .row-fluid div.span4 {margin: 0;}
	.mainpage .logos .row-fluid div.span3 {margin: 0;}
	.mainpage .logos .row-fluid div.span2 {margin: 0;}
	.logos img {width: 100%; max-width: 280px;}
}
@media (min-width:768px) and (max-width:991.98px)
{
}
@media (max-width:767.98px)
{
	.footer {background: url(../images/footer.png) no-repeat center top,  url(../images/footer_pattern.png) repeat-y center; background-size: 1300px; height: auto; padding-top: 300px; margin-top: 50px;}
	.footer .row > div {margin-bottom: 20px;}
	.footer .fb {width: 47px; margin-top: 0; margin-left: 0;}
	.footer .org {width: 100px; margin-top: 0; margin-left: 20px;}
	.mainpage {
		background: url(../images/mainpage_city.svg) no-repeat center 200px, linear-gradient(to bottom, #e8fbff 447px, #a1475e 447px, #a1475e 450px, #fff 450px); 
		background-size: 1000px; 
		margin-top: 60px; padding-top: 51px;
	}
	.mainpage main {background: linear-gradient(to bottom, #af4758, rgba(68,65,118,.9)); padding: 24px 0; margin-bottom: 24px;}
	.mainpage .row.second {height: auto;}
	.mainpage h3 {font-size: 40px;}
/*	.mainpage h4 {font-size: 28px;}*/
	.mainpage .logos .row-fluid div.span3 {margin: 0;}
	.mainpage .logos .row-fluid div.span2 {margin: 0;}
	
	.carousel {width: auto; padding: 0 10px;}
	/*Скачать pdf*/
	.pdf a {display: block; width: auto; height: auto; margin: auto; text-align: center; background: url(../images/pdf_s.jpg) no-repeat center top;}
	.pdf a > span {width: auto; height: 30px; margin: 0px; border-radius: 0px; display: inline-block;}
	.pdf a > span > span {width: auto; height: 30px; text-align: center; border-radius: 0px; font-size:24px; line-height: 30px;}
	.pdf a:hover > span {background: none; opacity: .7;}
	
	.why {
		height: auto; 
		background: -webkit-linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 3%), -webkit-linear-gradient(#f0675f 0%, #f0675f 682px, #fff 682px, #fff 100%);
		background: -o-linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 3%), -o-linear-gradient(#f0675f 0%, #f0675f 682px, #fff 682px, #fff 100%);
		background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 3%), linear-gradient(#f0675f 0%, #f0675f 682px, #fff 682px, #fff 100%);
	}
	.why .newsflash > div {display: block; margin-left: 0; height: 100px;}
	.why .newsflash > div.clearfix {height: 80px;}
	.whitecity {background: url(../images/white_city.svg) no-repeat center bottom; background-size: 1800px; height: auto;}
	.why [class*="why-item"] {width: auto; display: block; height: 80px;
		-webkit-border-image: -webkit-linear-gradient(left, rgba(56,69,128,.8) 0%, rgba(225,63,57,.8) 80%, rgba(249,172,48,.8) 100%);
		-o-border-image: -o-linear-gradient(left, rgba(56,69,128,.8) 0%, rgba(225,63,57,.8) 80%, rgba(249,172,48,.8) 100%);
		border-image: linear-gradient(to right, rgba(56,69,128,.8) 0%, rgba(225,63,57,.8) 80%, rgba(249,172,48,.8) 100%);
		border-image-slice: 1;
	}
	.why [class*="shadow"] {display: none;}
	.why h3 {font-size: 36px; margin-bottom: 26px;}
	.why h4 {font-size: 22px; line-height: 28px; height: 10px; padding: 10px 50px 0 10px;}
	.why p.num {font-size: 60px; line-height: 60px; padding-right: 6px;}
	
	
	
	/*Список новостей*/
	.blog.news .items-row > div {
		margin-bottom: 30px;
		border:10px solid #fff; 
		-webkit-border-image: -webkit-linear-gradient(left, rgba(56,69,128,.3) 0%, rgba(225,63,57,.3) 80%, rgba(249,172,48,.3) 100%); 
		-o-border-image: -o-linear-gradient(left, rgba(56,69,128,.3) 0%, rgba(225,63,57,.3) 80%, rgba(249,172,48,.3) 100%); 
		border-image: linear-gradient(to right, rgba(56,69,128,.3) 0%, rgba(225,63,57,.3) 80%, rgba(249,172,48,.3) 100%); 
		border-image-slice: 1;
	}
	.blog.news .span12-sm > div {padding: 0; border: none; height: auto;}
	.blog.news .item-image {width: 100%; height: auto; margin: 0; float: none;}
	.blog.news .item-image img {width: 100%; height: auto; margin: 0; background: none;}
	.blog.news .span9 {margin: 0; padding: 15px;} 
	.blog.news h4 {font-size: 22px; line-height: 26px;}
	.more a {margin-top: 0px; margin-bottom: 0;}

	/*Новость, текстовая страница*/
	.page .header {height: 300px; background: url(../images/color_city.svg) no-repeat center bottom, linear-gradient(to bottom, #ef4b41 0%, #3d4d83 301px, #fff 301px,#fff 100%), #fff; background-size: 1159px; margin-top: 60px; padding-top: 34px;}
	.page h1 {font-size: 35px; line-height: 43px;}
	.page [class*="item-page"] h2 {font-size: 35px; line-height: 43px;}
	.page [class*="item-page"] .content {padding: 0; margin-bottom: 20px;}
	.page [class*="item-page"] .text,
	.page [class*="item-page"] .content > div:first-of-type {width: auto; padding: 15px;}
	.page [class*="item-page"] .pull-left.item-image {width: auto; margin: 0; float: none; text-align: center;}
	.page [class*="item-page"] .pull-none.item-image {width: auto; margin: 0; float: none; text-align: center;}
	.page [class*="item-page"] .text.left {width: auto;}
	.page [class*="item-page"] .date {text-align: left; width: auto; padding: 0 15px 15px;}
	
	/*Формы*/
	.well {padding: 15px;}
	.well fieldset {width: auto;}
	.form-horizontal .control-label {width: 100%; text-align: left;}
	.form-horizontal .field-spacer .control-label {text-align: right;}
	.form-horizontal .controls {width: 100%; margin-left: 0;}
	.form-horizontal .controls input[type="text"], 
	.form-horizontal .controls input[type="email"], 
	.form-horizontal .controls input[type="password"],
	.form-horizontal .controls textarea {width: calc(100% - 14px); }
	.form-horizontal .controls select {width: 100%;}
	#member-registration fieldset:nth-child(3) .control-group:last-of-type .control-label {width: calc(100% - 35px); margin-left: 0; text-align: left; height: auto; float: right;}
	#member-registration fieldset:nth-child(3) .control-group:last-of-type .controls {width: 25px; margin-left: 0; text-align: right; line-height: 20px;}
	.btn-gradient {width: 220px; height: 81px; font-size: 30px;}
	
	/*Бейдж в ЛК*/
	.userbage {padding: 57px 19px 0; width:242px; height:381px; background: url(/images/2019/designe/bage2019_s.png) no-repeat center top; background-size: cover; margin: 0 auto 40px; color: #fff; font-weight: bold;}
	.userbage .qrcode {height: 84px; padding: 0; text-align: right;}
	.userbage .userinfo {height: 200px; margin: 20px 0 0; overflow: hidden;}
	.userbage .userinfo img {width: 84px; float: left; margin-right: 10px;}
	.userbage .userinfo p.name {font: 600 22px/30px 'Akrobat'; text-transform: uppercase; margin-bottom: 0px; display: inline-block; height: 90px;}
	.userbage .userinfo .name span {display: block;}
	.userbage .userinfo p.org {font: 400 16px/23px 'Akrobat'; margin-bottom: 0px; text-align: center;}
	.userbage .usergroup {text-transform: uppercase; text-align: center; font: 900 30px/30px 'Akrobat'; padding: 0;}
	.userbage .usergroup .nogroup {font: 900 20px/20px 'Akrobat';}
	
	
	/*Дни российских вин*/
	.drv1 {height: auto; background: linear-gradient(to bottom, #edebe4 1050px, #fff 1050px);}
	.drv1 > div {height: auto; background: url(../images/v_top.png) no-repeat 36% top; background-size: 1800px; }
	.drv1 > div > div {height: auto; background: none;} 
	.drv1 > div > div > div {height: auto; background: url(../images/v_city.svg) no-repeat center bottom; background-size: 1159px; padding-bottom: 300px;}
	.drv1 a.brand {margin-right: 0;  margin-bottom: 48px;}
	.drv1 .brand img {max-width: 270px;}
	.drv2 .moduletable.video {padding: 0;}
	.drv2 .pull-left.item-image {max-width:40%;}
	.drv2 p {font-size:20px; line-height: 27px;}
	.drv2 h1 {font-size: 40px;}


}

@media (min-width:576px) and (max-width:767.98px)
{
/*		body {min-width: 768px; padding: 0; margin: 0;}
	.container,
	.navbar-static-top .container,
	.navbar-fixed-top .container,
	.navbar-fixed-bottom .container {
		width: auto;
		max-width: 100%;

	}*/
/*	.row {margin-left: -2.127659574%;}*/
	[class*="span"] {margin-left: 2.127659574%;}
	[class*="span12"] {margin-left: 0;}
	.row [class*="span"]:first-child {margin-left: 0;}
	
	.row-fluid .span12-sm, .span12-sm {
		width: 99.99999999%;
		*width: 99.946808500638%;
		margin-left: 0;
	}
	.row-fluid .span11-sm, .span11-sm {
		width: 91.489361693%;
		*width: 91.436170203638%;
		float: left;
	}
	.row-fluid .span10-sm, .span10-sm {
		width: 82.978723396%;
		*width: 82.925531906638%;
		float: left;
	}
	.row-fluid .span9-sm, .span9-sm {
		width: 74.468085099%;
		*width: 74.414893609638%;
		float: left;
	}
	.row-fluid .span8-sm, .span8-sm {
		width: 65.957446802%;
		*width: 65.904255312638%;
		float: left;
	}
	.row-fluid .span7-sm, .span7-sm {
		width: 57.446808505%;
		*width: 57.393617015638%;
		float: left;
	}
	.row-fluid .span6-sm, .span6-sm {
		width: 48.936170208%;
		*width: 48.882978718638%;
		float: left;
	}
	.row-fluid .span5-sm, .span5-sm {
		width: 40.425531911%;
		*width: 40.372340421638%;
		float: left;
	}
	.row-fluid .span4-sm, .span4-sm {
		width: 31.914893614%;
		*width: 31.861702124638%;
		float: left;
	}
	.row-fluid .span3-sm, .span3-sm {
		width: 23.404255317%;
		*width: 23.351063827638%;
		float: left;
	}
	.row-fluid .span2-sm, .span2-sm {
		width: 14.89361702%;
		*width: 14.840425530638%;
		float: left;
	}
	.row-fluid .span1-sm, .span1-sm {
		width: 6.382978723%;
		*width: 6.3297872336383%;
		float: left;
	}
	.body .container {padding: 0 20px;}


/*
	.mainpage {
		background: url(../images/mainpage_city.svg) no-repeat center 200px, linear-gradient(to bottom, #e8fbff 447px, #a1475e 447px, #a1475e 450px, rgba(68,65,118,.9) 800px, #fff 800px); 
		background-size: 1000px; 
		margin-top: 60px; padding-top: 51px;
	}
*/
	.mainpage .row.first {height: 375px;}
	.mainpage .reg a {
		display: block;
		float: right;
		width: auto;
		height: auto;
		padding: 0 30px;
		margin-top: 23px;
		line-height: 62px;
		background: #e64c46; border-radius: 6px;
	}
	
	.mainpage main {font-size: 18px; line-height: 24px; /*padding-top: 24px;*/}
	.mainpage main .address {font-size:25px; line-height: 32px; margin-top: 20px; }
	.fon1 {background: none;}
	
	[class*="news-item"] {
		border: none;
		width: 100%;
		height: 288px;
		margin-left: 0;
	}
	[class*="news-item"] a {width: 100%; box-sizing: border-box; height: 288px; border: 10px solid transparent; border-image: linear-gradient(90deg, rgba(56,69,128,.6) 0%, rgba(225,63,57,.6) 80%, rgba(249,172,48,.6) 100%); border-image-slice: 1;}
	.news-item_1, .news-item_1 a {height: auto;}
	.pdf a {padding-top: 300px; background-size: 510px;}
	.carousel {width: auto;}
	.carousel .speaker {height: 380px; margin: 0 10px;}
	
	.page h1 {font-size: 60px; line-height: 70px;}
	
	/*Спикеры*/
	.speakers .span6-sm {text-align: center;}
	.speakers .span6-sm:nth-of-type(3n+1) {clear: none;}
	.speakers .span6-sm:nth-of-type(2n+1) {clear: left; margin-left: 0;}

}

@media (max-width:575.98px) {
	[class*="span"] {margin-left: 2.127659574%;}
	[class*="span12"] {margin-left: 0;}
	.row [class*="span"]:first-child {margin-left: 0;}
	
	.row-fluid .span12-xs, .span12-xs {
		width: 99.99999999%;
		*width: 99.946808500638%;
		margin-left: 0;
	}
	.row-fluid .span11-xs, .span11-xs {
		width: 91.489361693%;
		*width: 91.436170203638%;
		float: left;
	}
	.row-fluid .span10-xs, .span10-xs {
		width: 82.978723396%;
		*width: 82.925531906638%;
		float: left;
	}
	.row-fluid .span9-xs, .span9-xs {
		width: 74.468085099%;
		*width: 74.414893609638%;
		float: left;
	}
	.row-fluid .span8-xs, .span8-xs {
		width: 65.957446802%;
		*width: 65.904255312638%;
		float: left;
	}
	.row-fluid .span7-xs, .span7-xs {
		width: 57.446808505%;
		*width: 57.393617015638%;
		float: left;
	}
	.row-fluid .span6-xs, .span6-xs {
		width: 48.936170208%;
		*width: 48.882978718638%;
		float: left;
	}
	.row-fluid .span5-xs, .span5-xs {
		width: 40.425531911%;
		*width: 40.372340421638%;
		float: left;
	}
	.row-fluid .span4-xs, .span4-xs {
		width: 31.914893614%;
		*width: 31.861702124638%;
		float: left;
	}
	.row-fluid .span3-xs, .span3-xs {
		width: 23.404255317%;
		*width: 23.351063827638%;
		float: left;
	}
	.row-fluid .span2-xs, .span2-xs {
		width: 14.89361702%;
		*width: 14.840425530638%;
		float: left;
	}
	.row-fluid .span1-xs, .span1-xs {
		width: 6.382978723%;
		*width: 6.3297872336383%;
		float: left;
	}
	.body .container {padding: 0 20px;}
	
	.mainmenu {width: 100px!important;}
	a.home {margin-right: 15px;}
	.user {width: 100px;}
	
	.mainpage {
/*		background: url(../images/mainpage_city.svg) no-repeat center 200px, linear-gradient(to bottom, #e8fbff 447px, #a1475e 447px, #a1475e 450px, rgba(68,65,118,.9) 800px, #fff 800px); */
		background-size: 1000px; margin-top: 60px; /*padding-top: 31px;*/}
	.mainpage .row.first {height: 375px;}
	.mainpage .brand img {max-width: 220px;}
/*	.mainpage .brand img {width: 170px;}*/
	.mainpage .reg a {
		display: block;
		float: right;
		width: auto;
		height: auto;
		padding: 0 20px;
		margin-top: 23px;
		line-height: 62px;
		background: #e64c46; border-radius: 6px;
	}
/*	.mainpage .row.second {height: 380px;}*/
	.mainpage main {font-size: 18px; line-height: 24px; padding-top: 24px;}
	.mainpage main .dates {font-size:24px; line-height: 30px; background-size: 22px; background-position: 10px 4px; padding-left: 44px;}
	.mainpage main .address {font-size:20px; line-height: 26px; margin-top: 20px; background-size: 22px; background-position: 10px 4px; padding-left: 44px;}
	.fon1 {background: none;}
	
	[class*="news-item"] {
		border: none;
		width: 100%;
		height: 288px;
		margin-left: 0;
	}
	[class*="news-item"] a {width: 100%; box-sizing: border-box; height: 288px; border: 10px solid transparent; 
		-webkit-border-image: -webkit-linear-gradient(left, rgba(56,69,128,.6) 0%, rgba(225,63,57,.6) 80%, rgba(249,172,48,.6) 100%);
		-o-border-image: -o-linear-gradient(left, rgba(56,69,128,.6) 0%, rgba(225,63,57,.6) 80%, rgba(249,172,48,.6) 100%);
		border-image: linear-gradient(to right, rgba(56,69,128,.6) 0%, rgba(225,63,57,.6) 80%, rgba(249,172,48,.6) 100%); 
		border-image-slice: 1;
	}
	.news-item_1, .news-item_1 a {height: auto;}
	
	.why {
		background: -webkit-linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 3%), -webkit-linear-gradient(#f0675f 0%, #f0675f 725px, #fff 725px, #fff 100%);
		background: -o-linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 3%), -o-linear-gradient(#f0675f 0%, #f0675f 725px, #fff 725px, #fff 100%);
		background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 3%), linear-gradient(#f0675f 0%, #f0675f 725px, #fff 725px, #fff 100%);
	}
	.why h4 {font-size: 19px; line-height: 22px; height: 15px; padding: 5px 30px 0 10px;}
	
	.pdf a {padding-top: 220px; background-size:360px;}
	.reg2 a {width: 280px; height: 81px; font-size: 30px;}

	
	.carousel .speaker {height: 380px; margin: 0 10px;}
	
	.page h1 {font-size: 40px; line-height: 50px;}
	
		/*Спикеры*/
	.speakers .span6-xs:nth-of-type(3n+1) {clear: none;}
	.speakers .span6-xs:nth-of-type(2n+1) {clear: left; margin-left: 0;}
	
	.drv2 .loza {background:none;}
	.drv2 .pull-left.item-image {display: none;}
	.drv2 h1 {font-size: 36px;}
}
@media (max-width:399.98px) {
/*		.mainpage {background: url(../images/mainpage_city.svg) no-repeat center 200px, linear-gradient(to bottom, #e8fbff 447px, #a1475e 447px, #a1475e 450px, rgba(68,65,118,.9) 920px, #fff 920px); }*/
/*	.mainpage .row.second {height: 500px;}*/
	.pdf a {padding-top: 170px; background-size:280px;}
	
	/*Спикеры*/
	.speakers [class*="span"] {clear: none; margin-left: 0; width: 100%; text-align: center;}
}
/*.pull-right {float: right!important;}*/
