.contact-row { display: flex; justify-content: space-between; }
.contact-row-item { width: 32%; }
.contact-row-item h3 {font-size: 20px;}
.contact-row-item a {  margin-right: 10px;}
.contact-row-item-social { width: 100px; display: flex; flex-direction: row !important; }
.active-header {display: block !important; }
.expand {display: block !important; }
.wrap-calc-sendform { margin: 30px 110px 30px 50px; }
#modalAction-1 { width: 950px; }

#modalAction-1 input[type="submit"] { top:0; }

@media screen and (max-width: 1000px) {
header {width: 700px;}
.content {width: 700px; display: flex; flex-direction: column;}
.outer {width: 700px;}
.newsblock { width: 700px; }
.bottombaner { width: 700px; }
.newsblock:last-child {display: none;}
.topheader { position: absolute; width: 700px; z-index: 5000; top: 420px;  left: 50%; margin-left: -350px; height: 180px; display: none;}
.logo { width: 196px; height: 87px; background: url(http://xtens.ru/img/logomobile.png) no-repeat 0 0;}
.menu>ul  { display: none; }
.sub_title { display: none; }
.topheader ul li a span { font-size: 18px; padding-left: 5px;}
.menu { width: 700px; margin: 0 auto; display: flex; justify-content: space-between; pointer-events: none; background: none !important;}
.menu:before { display: block; width: 33px; height: 33px; content: ''; background: url(menu.png); position: relative; top: 6px; left: 6px; pointer-events: all; cursor: pointer; }
.active-menu:before { display: block; width: 33px; height: 33px; content: ''; background: url(cancel.png) !important; position: relative; top: 6px; left: 6px; pointer-events: all; cursor: pointer; }
.menu:after { content: "НАТЯЖНЫЕ ПОТОЛКИ ЭКСТЕНС"; font-size: 24px; color: #fff; padding-top: 5px;  padding-right: 5px;}
.active-menu ul { position: absolute; background: #07a7db; top: 140px; width: 700px; display: flex;  flex-direction: column; z-index: 999; }
.active-menu li { height: 30px !important; padding: 0 5px !important; pointer-events: all; }
header:after {display: block;  height: 43px; background: #05b8f2; content: ''; position: absolute; top: 97px; z-index: -5; width: 5000px; left: -2500px;}
.top_calck_block .wrap-calc:before { display: none; }
.top_calck_block .wrap-calc form { margin-left: 0 !important; }
.full_block div { display: flex; flex-direction: column; }
.greensideform {margin-left: 0;}
.calck_block .wrap-calc-sendform { margin-left: 0 !important; margin-right: 0 !important; }
.text-content p {text-align: left;}
.topbaner { margin-top:-3px; }
/**new**/
.menu { }
.menu ul { width:1000px; }
.menu ul li { width: 1000px; border-top:1px dashed #fff; line-height: 10px; }
.menu ul:firdt-child { border-top:0 !important; }
.menu ul li a { width:1000px; }
.menu ul li a span { width:1000px; text-align: center; }

.topheader { width:1000px; }
.topheader ul { width:1000px; }
.topheader ul li { width:1000px; line-height: 12px; border-top: 1px dashed #999; }
.topheader ul li a { width:1000px; text-align: center; }
.topheader ul li a span { width:1000px; }
/**end of new**/


#send-me   { width: 700px !important;  top: -25px !important;}

.sendform form { display: flex; flex-direction: column;  align-items: flex-start; height: 260px;}
.sendform.blueform {  background-image: none;}
.wrap-calc-sendform input[type="text"] { width: 90%;  margin-bottom: 20px;}
.sendbutton {left: 0 !important; margin: 0 !important; width: 90%; }
div.uploader {  width: 700px;  margin-bottom: 30px;}
.bottombanerback {  height: 440px !important;}
.greensideform { margin-left: 0 !important; width: 660px !important; height: 200px !important;}
.greensideform input[name="name"] {width: 250px !important;  margin-right: 30px !important;  margin-bottom: 30px !important;}
.greensideform input[type="submit"] { width: 643px !important; }
.greensideform p { margin: 0 !important; }
.map {  position: relative;	left: -90%;}
.bluesideform span 	{font-size: 20px !important;    width: 100% !important; word-wrap: break-word !important; white-space: normal !important;}
.babyform_wrapp .bluesideform { display: flex; flex-direction: column;}
.bluesideform input[type="text"] { max-width: 700px; width: 100%!important;  box-sizing: border-box; }
.wrap-newbottommenu .newbottommenu { float: none !important;  width: 100% !important;  text-align: center !important; }
.footer-text p { text-align: center !important; }
.left-block  { width: 100%;}
.leftmenu { width: 100%;}
.text-content { border-left-width: 0px !important;  padding-left: 0px !important;  }
.menuindent {width: 700px;}
.text-content h3 {  text-align: left !important; }
.content table td p { text-align: left !important; }
.text-content div { flex-direction: column; max-width: 100%; }
.yellowprice { display: inline-block !important;  }
.wrap-bgbxslider { right: 0 !important; }
.textinside table { max-width: 100% !important; width: 100% !important; }
.textinside img { max-width: 100%; }
.actionblock { width: 670px; display: flex;}
.bluesideform textarea { width: 700px !important; }
.form div.uploader span.filename { display: none; }
#gallery { flex-direction: row; flex-wrap: wrap; }
.gal-pic { width: 320px !important; margin-bottom: 10px;}
.fancybox-wrap { width: 700px !important; }
.fancybox-inner {  width: 670px !important; height: auto !important; }
.contact-row { flex-direction: column; }
.contact-row-item { width: 100%; }
.wrap-maincatalog { display: inline-block !important; }
.wrap-calc form div {  margin-bottom: 20px; display: flex !important;  flex-direction: row !important; }
.sendform { height: 400px;}
.slick-slide {height: auto !important;}
.topheader>ul { padding: 0; max-width: 1000px; display: flex; flex-direction: column;}
.sendform input[type="text"] {  margin-bottom: 30px;}
form div.uploader span.filename {left: 0;}
form div.uploader span.action { display: none; }

#modalBoss .sendform { margin: 0 ;width: auto; height: auto; }
#modalBoss .sendform input[type="text"] { width: 630px !important;   box-sizing: border-box; }
#modalBoss .sendform form { height: auto;	 }
#modalBoss .sendform input[type="submit"] { width: 630px; margin-bottom: 20px; width: 250px !important;}
#modalBoss .sendform.linedheader h2 { background: transparent; color: #fff; }

#modalBoss .feedbackwrap { width: 670px !important; }
#modalCallback .sendform input[type="text"] { width: 630px;  box-sizing: border-box; }
#modalCallback .sendform input[type="submit"] { width: 630px !important; margin-bottom: 20px;}




}
@media screen and (max-width: 700px) {
header {width: 320px;}
.content {width: 320px; display: flex; flex-direction: column;}
.outer {width: 320px;}
.newsblock { width: 320px; }
.bottombaner { width: 320px; height:440px !important;}
.menu { width: 320px; background: none !important; line-height: 22px !important; }
/**new**/

.menu ul { width:1000; box-shadow: 0 0 2px 0 rgba(0,0,0,.5);}
.menu ul li { width: 310px; border-top:1px dashed #fff; line-height: 10px; }
.menu ul:first-child { border-top:0 !important; }
.menu ul li a { width:310px; }
.menu ul li a span { width:320px; text-align: center; }

.topheader { width:320px; box-shadow: 0 1px 3px 0 rgba(0,0,0,.5); border-radius: 0 0 10px 10px; }
.topheader ul { width:320px; }
.topheader ul li { width:320px; line-height: 12px; border-top: 1px dashed #999; }
.topheader ul li a { width:320px; text-align: center; }
.topheader ul li a span { width:320px; }
/**end of new**/
.logo {  width: 120px;  height: 50px; background-size: contain; background: url(http://xtens.ru/img/logomobile.png) no-repeat 0 0;  background-size: cover; margin-top: 15px;}
.phones {width: 180px;}
.phones p {     margin-top: 10px; font-size: 18px;  font-weight: bold;}
.phonesimage { position: relative;  top: 10px !important; left: 10px !important; }
.menu:after {display: none;}
header:after { top: 87px;}
.active-menu ul { top: 142px !important; width: 320px;}
.topbanerimage {display: none;}
.topbaner { margin-top:-3px; }
.topbaner { width: 320px;}
.babyform_wrapp .bluesideform { padding: 85px 0px 0;}
.topbanerback .topbaner .babyform_wrapp .bluesideform input[type="submit"] { margin: 0 !important; width: 320px;      box-sizing: border-box;}
.bluesideform input[type="text"] { width: 320px !important;      box-sizing: border-box;}
.topbanerback { height: 360px;}
.wrap-calc form div { margin-bottom: 0px; display: flex !important; flex-direction: column !important; width: 320px;}
.top_calck_block .wrap-calc form label { width: 320px; margin-bottom: 10px;}
.top_calck_block .wrap-calc div.selector { width: 320px; }
.top_calck_block .wrap-calc div.selector span { width: 310px;}
.selector select {min-width: 320px;}
.highlight_title {width: 320px !important; font-size: 24px !important;}
.top_calck_block .wrap-calc form input[type="text"] { width: 300px;}
.wrap-calc form input[type="text"]+span {position: relative !important; top: -30px !important;  left: 260px !important; }
.top_calck_block .wrap-calc .finalprice input[type="submit"] { margin-left: 0; width: 320px;}
.calck_block .wrap-calc-sendform { padding: 0!important;     width: 320px;   margin-left: 0 !important; margin-right: 0 !important; margin: 0 !important; position: relative;  left: 0 !important;}
.wrap-calc-sendform .finalprice .price { font-size: 18px !important;  height: 30px; line-height: 20px; text-align: center; }
.wrap-calc-sendform .calck_rez h2 { margin-right: 0px; font-size: 24px; padding-top: 5px;}
.wrap-calc-sendform input[type="text"] { width: 220px;}
.sendform input[type="submit"] {width: 275px; }
.topheader { width: 320px; z-index: 5000;  top: 420px !important;  left: 50%; margin-left: -160px; height: 180px !important;}
.topbanerback .topbaner .babyform_wrapp {width: 320px;}
.reklama_wrapp table { width: 320px; display: block; }
.greensideform input[type="submit"] {     width: 250px !important;  box-sizing: border-box;}
.greensideform {margin-left: 0 !important; width: 320px !important; height: 300px !important; box-sizing: border-box;     position: relative;  top: 70px;}
.block_stack tr {display: flex; flex-direction: column; max-width: 100%;}
.block_stack td { width: 320px; }
.gallerylinck { top: -33px;}
.bottombanerback {  height: 440px !important;}
.map {left: -260%;}
iframe { width: 320px; height: 160px; }
#phone { box-sizing: border-box; width: 320px; }
.bluesideform input[type="submit"] { width: 320px;}
.kroshki { padding-right: 0 !important; }
.wrap-bigtabs { margin-left: 0;}
.nvtable  tr {  display: flex; flex-direction: column; max-width: 320px;}
.nvtable  td { width: 320px !important; }
a.catalogblock { width: 320px; height: 650px;}
.catalogblock .catalogblock-right { float: none; width: 250px; height: 450px;}
a.catalogblock { width: 320px; box-sizing: border-box;     height: auto; min-height: 800px;}
.catalogblock .catalogblock-right .yellowprice { font-size: 14px !important; position: relative !important; top: 20px; }
.catalogblock .catalogblock-right h3 {font-size: 24px !important;}
.textinside img { max-width: 100%; height: auto !important;}
.text-content p img { margin-right: 0px;  height: auto !important;  max-width: 100%;}
.content table td {  display: flex;  flex-direction: column;  max-width: 320px;  box-sizing: border-box; width: 320px; align-items: flex-start;}
.content table tr:first-child th, .content table tr:first-child td { padding: 0 !important; font-weight: normal; font-size: 18px; padding: 10px 15px;  border-right: 1px solid #000; display: flex; font-size: 0px;     overflow: hidden; height: auto !important;}
.content table td { overflow: hidden;}
.content table { width: 320px !important; }
.greensideform input[name="name"] {  box-sizing: border-box;}
.h3_style {  font-size: 27px;}
h2 {  margin: 50px 0;}
.actionblock-right a { left: 0 !important; width: 250px; margin-bottom: -15px !important; }
.bluesideform textarea {  box-sizing: border-box;  width: 320px !important; top: -45px !important;}
form div.uploader { box-sizing: border-box;position: relative; top: -15px; width: 320px;}
ul.paginator {  width: 300px;}
#send-me { width: 320px !important;  position: relative !important; top: -15px !important; }
#gallery {  flex-direction: row;  flex-wrap: wrap;  width: 300px;}
h3 {margin: 60px 0 0 0  !important;}
.nvtable h3  {margin: 0  !important;}
.content table td p { margin-bottom: 50px;}


.menu:after { content: "НАТЯЖНЫЕ ПОТОЛКИ ЭКСТЕНС";  font-size: 16px; color: #fff; padding-top: 12px; display: block;}
.content table td {  height: auto !important;}
.fancybox-wrap { width: 320px !important;}
.fancybox-inner { width: 290px !important; height: auto !important;}
.fancybox-opened { left: 50%;  margin-left: -160px; }
.easyprice {font-size: 18px; line-height: 39px;  padding-left: 0; text-align: center;}
.finalprice { min-width: 85px;}
.wrap-calc-sendform .finalprice { display: flex;}
.actionblock { width: 320px; box-sizing: border-box;}
.sendform { width: 100%;  height: 400px;}
.text-content ol, .text-content ul {  margin-bottom: 5px;}
.news div {display: flex;}
.nwPrv2 img { width: 320px;}
.text-content {  width: 320px !important; }
.wrap-lightpics a:nth-child(3n+3) { margin-right: 40px;}
.slick-arrow { width: 30px; height: 60px;}



/* 29.12.2017 */

#modalCallback .sendform { margin: 0 ;width: 250px; height: auto; }
#modalCallback .sendform input[type="text"] { width: 250px;  box-sizing: border-box; }
#modalCallback .sendform form { height: auto;	 }
#modalCallback .sendform input[type="submit"] { width: 275px; margin-bottom: 20px; width: 250px !important;}
#modalCallback .sendform.linedheader h2 { background: transparent; color: #fff; }

#modalBoss .sendform { margin: 0 ;width: 250px; height: auto; }
#modalBoss .sendform input[type="text"] { width: 250px !important;   box-sizing: border-box; }
#modalBoss .sendform form { height: auto;	 }
#modalBoss .sendform input[type="submit"] { width: 275px; margin-bottom: 20px; width: 250px !important;}
#modalBoss .sendform.linedheader h2 { background: transparent; color: #fff; }

#modalBoss .feedbackwrap { width: 250px !important; }

#modalAction-1  { margin: 0 ;width: 250px; height: auto; }
#actionForm-1 input[type="text"] { width: 250px !important;   box-sizing: border-box; }
#actionForm-1  form { height: auto;	 }
#actionForm-1  input[type="submit"] { width: 275px; margin-bottom: 20px; width: 250px !important;}
#actionForm-1  h2 { background: transparent; color: #fff; }

}

@media screen and (min-width: 700px) {

#modalCallback .sendform { width: auto; height: auto; margin: 0 !important; }
#modalCallback .sendform input[type="submit"] { top: 0; }

}