﻿/* ========================== новый css ==========================*/

.object .objectTitle.act {
    margin: 20px auto;
    text-transform: none;
    font-family: NeoSansMed;
    font-weight: normal;
}
.cont-text.prise .object {
    background-color: var(--greyl);
    text-align: center;
}
.cont-text.prise .buttonSend {
    width: 100%;
    font-size: 12px;
}
.cont-text.prise .buttonSend.solid {
    margin-bottom: 8px;
    margin-top: 30px;
}
.block-webform {
	position: fixed;
	top: 0;
	right: -100%;
	z-index: 220;
	background: #fff;
	width: 100%;
	height: 100%;
	transition: .2s;
}
.block-webform.active {
	opacity: 1;
    transition: .4s ease;
    right: 0;
}

@media (min-width: 768px) {
	.block-webform {
		max-width: 643px;
	}
}
@media (min-width: 840px) {
	.block-webform {
		max-width: 800px;
	}
}
@media (min-width: 1334px) {
	.block-webform {
		max-width: 950px;
	}
}

img.close-panel {
    position: relative;
    float: right;
    right: 6%;
    top: 2%;
    cursor: pointer;
    transition: transform 1s;
    z-index: 250;
}

img.close-panel:hover {
	transform: rotate(180deg);
}

.owwerlay {
    display: none;
    position: fixed;
    top: 0;
    height: 100%;
    width: 100%;
    background: #000;
    opacity: .5;
    z-index: 1;
}


.owwerlay.active {
    display: block !important;
    z-index: 201;
    left: 0;
}

.panel_inn {
	padding: 80px 65px 35px 65px;
}

.panel_inn .objectNote {
/*
    overflow-x: hidden;
    overflow-y: auto;
*/
    height: calc(100vh - 200px);
}
 
/* ========================== новый css =========================*/

.flexColumn {
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}
.flexBetween {
    -webkit-justify-content: space-between;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
}
.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
}

.flexGrow {
    -webkit-flex: 1;
	-ms-flex: 1;
	-webkit-box-flex: 1;
	flex: 1;

}

.flexGr > * {
    -webkit-flex: 1;
	-ms-flex: 1;
	-webkit-box-flex: 1;
	flex: 1;

}

.mscallback .col-lg-2 > * {
    max-width: calc(50% - 15px);
    width: auto;
}

.mscallback .col-lg-3 > * {
    max-width: calc(100%/3 - 15px);
    width: 100%;
}


.minMargin > * {
    margin-top: 5px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
[data-adaptive~="flexcolumn-md"] {
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
}
.panel_inner {
    padding: 35px;
    margin: 0 auto;
    left: 0;
    right: 0;
    max-width: 440px;
}
}

@media (max-width: 700px) {

.col-sm > * {
    min-width: 100%;
} 

.InputBlock:first-child {
    margin-bottom: 10px;
}
#global0 .InputBlock:first-child {
    margin-bottom: 5px;
}
}

/* ========================== scroll css =========================*/

.ss-wrapper {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  float: left;
}

.ss-content {
  height: 100%;
  width: calc(100% + 18px);
  padding: 0 0 0 0;
  position: relative;
  overflow-x: auto;
  overflow-y: scroll;
  box-sizing: border-box;
}

.ss-content.rtl {
  width: calc(100% + 18px);
  right: auto;
}

.ss-scroll {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  width: 5px;
  border-radius: 4px;
  top: 0;
  z-index: 2;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s linear;
}

.ss-hidden {
  display: none;
}

.ss-container:hover .ss-scroll,
.ss-container:active .ss-scroll {
  opacity: 1;
}

.ss-grabbed {
  -o-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
