.chat-with-manager {

	position: relative;

	opacity: 0;

	width: 120px;
	position: fixed;
	bottom: 30px;
	right: 30px;
	text-align: center;
	z-index: 10002;

	cursor: pointer;
}

.dialog-title {
	
	font-family: "Arial";
}

.chat-with-manager p {

		margin: 0;
		margin-top: 30px;
		font-size: 22px;
		line-height: 25px;
		font-weight: normal;
		text-indent: 0;
		
		font-family: "Arial";
}

.dialog p {

		margin: 0;
		font-size: 14px;
		line-height: 20px;
		font-weight: normal;
		text-indent: 0;
}

@-webkit-keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.bounceIn {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;

  opacity: 1!important;
}

.opacity0 {

	opacity: 0;
}

.chat-title {

	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;

	color: #fff;

	font-size: 25px;
	font-weight: bold;
	line-height: 90px;

	font-family: 'Roboto';
}

.get-chat {
	
	width: 100%;
	max-width: 120px;
	cursor: pointer;
}

.dialog {

	display: none;

	position: relative;

	width: 354px;
	min-height: 100px;
	position: fixed;
	bottom: 30px;
	right: 30px;
	z-index: 10002;

	font-family: 'Roboto';

	background: #fff;

	-webkit-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .7);
	-moz-box-shadow: 0 0 50px 0 rgba(0, 0, 0, .7);
	box-shadow: 0 0 50px 0 rgba(0, 0, 0, .7);
}

.dialog:before {
    position: absolute;
    top: -98px;
    left: 0;
    right: 0;
    margin: auto;
    content: '';
    display: block;
    width: 260px;
    height: 122px;
    background-image: url('../img/newyear-deer-snake.png');
    background-size: cover;
    z-index: 101;
}

.dialog:after {
    position: absolute;
    top: 45%;
    left: -35px;
    right: 0;
    content: '';
    display: block;
    width: 56px;
    height: 177px;
    background-image: url('../img/hvost-zmey.png');
    background-size: contain;
    z-index: 101;
}

.dialog-body-inside {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: rgba(255, 255, 255, .3);
}

.dialog-title {

	position: relative;

	background: #D5070B;
	padding: 15px 30px 9px 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	
    background-image: url('/img/pattern.jpg');
    background-size: 30px;
    background-repeat: repeat-x;
}

.dialog-text {

	color: #fff;
	font-size: 16px;
	line-height: 20px;
}

.dialog-close {

	position: absolute;
	top: 15px;
	right: 9px;

	width: 100%;
	max-width: 21px;

	cursor: pointer;
}

.dialog-body {

	position: relative;

	height: 440px;
	background: transparent;
	overflow: hidden;
	padding: 0;
	
    background-image: url('../img/elki.png');
    background-repeat: no-repeat;
    background-position: bottom;
}

.dialog-step{
	position: relative;
}

.dialog-step:before {
    position: absolute;
    top: -18px;
    left: 47px;
    margin: auto;
    content: '';
    width: 29px;
    height: 22px;
    background-image: url('/img/vetka.png');
    background-size: cover;
}

#step-4:before {
	display: none;
}

.isWritting {

	display: none;

	position: absolute;
	bottom: 5px;
	left: 5px;
	color: #000;
	font-size: 14px;
	font-style: italic;
	z-index: 9;
	background: transparent;
}

.writting-dot {

	font-size: 30px;	
}

.dialog-wrapper {

	position: absolute;
	padding: 10px 20px 0 20px;
	height: 440px;
	background: transparent;
	overflow: auto;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}

.dialog-wrapper::-webkit-scrollbar {width: 0};
.dialog-wrapper {-ms-overflow-style: none;}

/* Специально для firefox, где нельзя полосу прокрутки стилизовать */

@-moz-document url-prefix() {

.dialog {

	width: 374px;
}

.dialog-wrapper {

	width: 334px;
}
}

.managers-question {

	font-size: 0;
	line-height: 0;
	letter-spacing: 0;

	text-align: left;

	min-height: 50px;
	padding-bottom: 20px;
	padding-left: 2px;
	padding-right: 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
}

.step-1 {

	margin-top: 10px;
}

.clients-answer {

	padding-bottom: 15px;

	padding-left: 2px;
	padding-right: 2px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;

	font-size: 0;
	line-height: 0;
	letter-spacing: 0;

	text-align: right;

	min-height: 50px;
}

.managers-photo {

	display: inline-block;
	vertical-align: top;

	margin-right: 10px;
	
	width: 45px;
	height: 45px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;
}

.question-text {

	font-size: 14px;
	line-height: 20px;
	letter-spacing: normal;

	max-width: 255px;

	padding: 5px 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	
	display: inline-block;
	vertical-align: top;

	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .4);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	-ms-border-radius: 10px;
	border-radius: 10px;
	background: #fff;
}


.clients-photo {

	display: inline-block;
	vertical-align: middle;

	margin-left: 10px;

	width: 42px;
	height: 42px;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-o-border-radius: 50%;
	-ms-border-radius: 50%;
	border-radius: 50%;

	background: rgb(0, 114, 184);
	color: #fff;
	text-align: center;
}

.clients-name {

	color: #fff;
	font-size: 14px;
	line-height: 42px;
}

.answer-text {

	font-size: 14px;
	line-height: 20px;
	letter-spacing: normal;

	max-width: 255px;

	padding: 5px 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	
	display: inline-block;
	vertical-align: middle;

	box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .4);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	-ms-border-radius: 10px;
	border-radius: 10px;

	text-align: left;
	background: #fff;
}

.dialog-adult {

	display: inline-block;
	vertical-align: middle;

	padding-right: 5px;
	color: rgb(23, 120, 197);
	font-weight: bold;
}

#step-5 .question-text {

	width: 100%;
}

.dialog-order-place {
	
	display: inline-block;
	
	background: #2a6496;
	
	padding: 5px 10px;
	
	margin: 5px;
	border-radius: 5px;

    color: #fff!important;
    text-decoration: none;
    cursor: pointer;
	
	transition: background .2s;
}

.dialog-order-place.selected {
	color: #fff!important;
		background: #269B25;
}

.dialog-order-place:hover {
	
	transition: background .2s;
	
	background: #269B25;
	
    color: #fff;
    text-decoration: none;	
}

.dialog-adult-input,
.dialog-children-input,
.dialog-rooms-input {

	display: inline-block;

	display: none;

	vertical-align: middle;
	width: 36px;
	margin-left: 5px;
	padding: 1px;
	box-sizing: border-box;

	font-family: pfdindisplaypro-light, tahoma, arial, verdana, sans-serif;
	font-size: 14px;
	line-height: 14px;

	color: rgb(23, 120, 197);
	font-weight: bold;
	text-align: center;

	border: 1px solid #e0e0e0;

	border-radius: 5px;

	-webkit-box-shadow: inset 0px 0px 5px -1.5px rgba(0, 0, 0, .5);
	-moz-box-shadow: inset 0px 0px 5px -1.5px rgba(0, 0, 0, .5);
	box-shadow: inset 0px 0px 5px -1.5px rgba(0, 0, 0, .5);
}

.dialog-adult-submit,
.dialog-children-submit,
.dialog-rooms-submit {

	display: inline-block;

	display: none;

	vertical-align: middle;
	height: 22px;

	border: 0;
	outline: 0;

	font-size: 14px;
	line-height: 28px;

	color: #0072B8;
	font-weight: bold;
	text-align: center;
	cursor: pointer;

	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	transition: all .3s;

	text-decoration: underline;

	padding-left: 5px;

	user-select: none;
}

.dialog-children {

	padding-right: 5px;
	color: rgb(23, 120, 197);
	font-weight: bold;	
}

.dialog-rooms {

	padding-right: 5px;
	color: rgb(23, 120, 197);
	font-weight: bold;		
}

.dialog-phone {
	
	width: 100%;
	max-width: 192px;

	padding: 4px 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;

	border: 1px solid rgb(199, 199, 199);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
}

.insert_your_phone {

	font-weight: bold;
}

.insert_your_name {

	font-weight: bold;
}

.dialog-phone:focus {

	border: 1px solid rgb(199, 199, 199);
	outline: 0;
}

.dialog-name {
	
	width: 100%;
	max-width: 192px;

	padding: 4px 10px;
	margin-bottom: 10px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;

	border: 1px solid rgb(199, 199, 199);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
	border-radius: 3px;
	outline: 0;
}

.selected {

	color: rgb(1, 116, 217);
}

.contact-text {

	display: none;
}

.required_phone {

	color: red;
}

.client-info_name {

	margin-top: 5px;
	font-weight: bold;
}

.client-info_phone {

	margin-top: 5px;
	margin-bottom: 5px;
	font-weight: bold;
}

.submit_clients_contacts {

	display: none;

	margin: 10px 10px 0 10px;
	min-width: 110px;

	color: #fff;
	background: #0072B8;
	padding: 5px 15px;
	text-align: center;
	outline: 0;
	border: 0;
	
	cursor: pointer;

	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	transition: all .3s;
}

.change_clients_contacts {

	margin-bottom: 10px;
}

.submit_clients_contacts:hover {

	background: #1D8FD5;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	transition: all .3s;
}

.bron-or-consult {

	font-size: 14px;
	line-height: 20px;

	color: rgb(23, 120, 197);
	font-weight: bold;
	cursor: pointer;

	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	transition: all .3s;

	text-decoration: underline;

	user-select: none;
}

.alarm-text {

	color: rgb(253, 60, 60);
}

.bold-text {

	font-weight: bold;
}

.orange-text {

	color: rgb(236, 126, 1);
}

.contact-text {

	padding-top: 5px;
	padding-bottom: 10px;
}

/* Календарь, отдельные стили */

#dialog-datepicker .ui-datepicker {

	width: 230px;
}

#dialog-datepicker .ui-datepicker-calendar {

	width: 230px;
}

#dialog-datepicker .ui-datepicker-calendar td {

	padding: 1px;
}

#dialog-datepicker .ui-datepicker-calendar td a {
	text-align: center;
	padding: 4px;
}

#dialog-datepicker .ui-widget-header {

	position: relative;
}

#dialog-datepicker .ui-datepicker-prev {

	top: 5px!important;
	left: 30px;
}

#dialog-datepicker .ui-datepicker-next {

	top: 5px!important;
	right: 30px;
}

#dialog-datepicker .ui-state-active {

	background: rgba(90, 197, 252, .3);
}

#dialog-datepicker .ui-datepicker-calendar .ui-state-disabled {

	text-decoration: line-through;
}

.ui-datepicker .selected-start:not(.selected-end) a,
.ui-datepicker .selected-end:not(.selected-start) a {
  background: #F3FDD5;
}

.ui-datepicker .selected.first-of-month:not(.selected-start) a {
  border-left: 2px dotted #D4E7F6;
  padding-left: 1px;
}

.ui-datepicker .selected.last-of-month:not(.selected-end) a {
  border-right: 2px dotted #D4E7F6;
  padding-right: 1px;
}

/* Календарь, отдельные стили, конец */

.choosen-value {

	color: rgb(0, 36, 106);
}

.dialog-step,
.step-x {

	display: none;
}

.adult-values {

	display: none;
	
	text-align: center;
}

.dialog-adult,
.dialog-children,
.dialog-rooms {

	display: none;
}

.final-phone {

	font-weight: bold;
	display: none;
}
.client-info_link {
	
	display: none;
}

.client-info_link_link {

	text-decoration: underline;
	color: #428BCA;
}

.empty-block {

	width: 100%;
	height: 175px;
	background: transparent;
}

.hidden-word {

	display: none;
}

.submit_corp {

	display: none;
	margin-left: 0;
}

.corporate-department-data .submit_corp {

	display: block;
}

@media screen and (min-width: 480px){

.dialog {
    outline: 5px solid #D5070B;
}

}

@media screen and (max-width: 480px){

.chat-title {

	font-size: 18px;
	font-weight: bold;
	line-height: 60px;
}

.chat-with-manager {

	width: 65px;
	position: fixed;
	bottom: 50px;
	right: 30px;
	text-align: center;
	z-index: 9999;
}

.get-chat {

	display: block;

	width: 100%;
	max-width: 100px;
	cursor: pointer;
}



.dialog {

	display: none !important;
	width: auto;
	height: auto;

	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.dialog-body {

	height: 100vh;
    padding: 0;
}

.dialog-wrapper {
	
	height: 100vh;
	position: static;
	margin: 0 auto;
	max-width: 314px;
}

.dialog-title {

	padding: 10px 45px 10px 10px;
}

.dialog-text {

    color: #fff;
    font-size: 22px;
    line-height: 28px;
}

.dialog-close {
	
	top: 5px;
	max-width: 40px;
	cursor: pointer;
}

.empty-block {

	height: 300px;
}
}


@media screen and (max-width: 340px){

	.answer-text {

		font-size: 14px;
	}

	.question-text {

		font-size: 14px;
	}
}

.scroll-locked {

  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.go-to-chat-from-chat {
								
	background: #60B029;
	color: #fff;
								
	font-family: 'Arial';
								
	display: block;
	width: 130px;
	height: 32px;
	line-height: 32px;
	margin-top: 15px;
	margin-left: 30px;
	text-align: center;
								
	text-decoration: none;
	transition: .3s;

	border-radius: 3px;
	cursor: pointer;
}
							
.go-to-chat-from-chat:hover {
								
	transition: .3s;
								
	text-decoration: none;
	color: #fff;
								
	background: #7ACA43;
}

							.show-info-about-sale {
								
								display: none;
							}
							
							.show-info-buttons {
								
								text-align: center;
							}
							
							.get-calculation-in-chat {
								
								min-width: 90px;
								display: inline-block;
								color: #fff!important;
								background: #3EB5F1;
								font-size: 16px;
								font-family: Arial;
								padding: 5px 8px;
								border-radius: 5px;
								margin-right: 20px;
								margin-top: 10px;
								cursor: pointer;
								text-decoration: none!important;
							}
							
							.get-calculation-by-phone {
								
								min-width: 90px;
								display: inline-block;
								color: #fff!important;
								background: #3EB5F1;
								font-size: 16px;
								font-family: Arial;
								padding: 5px 8px;
								border-radius: 5px;
								margin-top: 10px;
								cursor: pointer;
								text-decoration: none!important;
							}
							
							.show-info-after-phone {
								
								text-align: center;
								margin-top: 15px;
							}
							
							.show-info-after-phone-par {
								
								margin-bottom: 10px;
							}
							
							.get-sms-phone-number {
								
								outline: 0!important;
								border-radius: 5px;
								max-width: 250px;
								padding: 5px;
							}
							
							.send-with-sale-to-db {
								
								min-width: 90px;
								display: inline-block;
								color: #fff;
								background: #3EB5F1;
								font-size: 16px;
								font-family: Arial;
								padding: 5px 8px;
								border-radius: 5px;
								margin-top: 10px;
								cursor: pointer;
								text-decoration: none;
								border: 0!important;
								outline: 0!important;
							}
							
							.show-info-after-phone {
								
								display: none;
							}
							
							.get-calculation-link-active {
								
								background: #5ED054;
							}
							
							#get-sms-phone-number {
								
								box-shadow: none;
							}
							
							.get-sms-phone-number {
								border-image-width: 0;
								border-width: 1px!important;
								border-color: #ccc;
								box-shadow: none;
								outline: 0!important;
								border-radius: 5px;
								max-width: 150px;
								padding: 5px;
							}


.count_price_btn {

	display: block;
	width: 100%;
	max-width: 760px;
	margin-bottom: 10px;
	cursor: pointer;
}



.centered-dialog {
	height: 485px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
}










