#create * {
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none; 
}

#create {
	display: none;
}

/* Стили для прелоадера */
#preloaderWrapper {
	background: #ECF0F1;
	z-index: 9998;
	position: absolute;
	width: 100%;
	height: 100%;
}

#preloader{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	
	/*change these sizes to fit into your project*/
	width:100px;
	height:100px;
}

#preloader hr {
	border:0;
	width:40%;
	height:40%;
	position:absolute;
	border-radius:50%;
	animation:spin 2s ease infinite;
}

#preloader :first-child {background:#19A68C; animation-delay:-1.5s}
#preloader :nth-child(2) {background:#F63D3A; animation-delay:-1s}
#preloader :nth-child(3) {background:#FDA543; animation-delay:-0.5s}
#preloader :last-child {background:#193B48}

@keyframes spin {
	0%,100%{transform:translate(0)}
	25%{transform:translate(160%)}
	50%{transform:translate(160%, 160%)}
	75%{transform:translate(0, 160%)}
}

/* Стили для прелоадера конец */

.clr {
	clear: both;
}

/* Стили для левой панели добавления объектов */
.btn {
	text-align: center;
	border-radius: 5px;
	font-size: 1.2em;
	line-height: 150%;
	background: #e57e7e;
	color: white;
	-webkit-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	-moz-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	cursor: pointer;
	border: 2px solid #d66969;
}

.btn:hover {
	background: #d66969;
	border-color: #c65757;
}

.btn:active {
	background: #c65757;
	border-color: #b34444;
}

#btn_add {
	position: fixed;
	top: 30px;
	left: 50px;
	width: 50px;
	height: 50px;
	line-height: 50px!important;
	border-radius: 50%!important;
	font-size: 1.1em!important;
	z-index: 1000;
}

@media (min-width: 1501px) {
	#add_items {
		width: 270px;
	}
	
	#styles {
		width: 280px;
		padding-bottom: 60px;
	}
}

@media (max-width: 1500px) {
	#add_items {
		width: 220px;
	}
	
	#styles {
		width: 230px;
		padding-bottom: 30px;
	}
}

#add_items, #styles {
	display: none;
	position: fixed;
	padding: 1%;
	float: left;
	box-sizing: border-box;
	background: #fafafa;
	z-index: 1000;
	
	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	user-select: none; 
}

/* Стили для всплывающего блока с изображениями готовых блоков */
@media (min-width: 1501px) {
	#show_object {
		left: 290px;
	}
}

@media (max-width: 1500px) {
	#show_object {
		left: 240px;
	}
}

#show_object {
	display: none;
	position: fixed;
    z-index: 500;
}

#show_object > img {
	border: 2px solid #ebebeb;
	-webkit-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	-moz-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
}

/* Стили для полосы прокручивания */
.scrollbar {overflow-y: scroll; overflow-x: hidden}

.scrollbar::-webkit-scrollbar-track {
	background: inherit;
}

.scrollbar::-webkit-scrollbar {
	width: 6px;
}

.scrollbar::-webkit-scrollbar-thumb {
	background-color: #d66969;
}
/* Конец стилей для полосы прокручивания */

#add_items {
	left: 10px;
	top: 10px;
	border: 2px solid #d4d4d4;
	height: auto;
	max-height: 85%;
	border-radius: 5px;
}

#add_items>.fa-times-circle, #styles>.fa-times-circle {
	float: right;
	color: #e57e7e;
	cursor: pointer;
	font-size: 2em;
}

#add_items>.fa-times-circle:hover, #styles>.fa-times-circle:hover {
	color: #d66969;
}

#add_items h2, #styles h2 {
	 color: #474747; 
	 font-family: 'Inder', sans-serif; 
	 font-weight: normal;
}

#add_items ul:not(.hidden) {
	list-style: none;
	display: block;
	width: 100%;
	box-sizing: padding-box;
}

#add_items ul>li {
	font-family: 'Inder', sans-serif; 
	color: #666;
	cursor: pointer;
	box-sizing: padding-box;
	padding: 5%;
}

#add_items ul>li:hover {
	background: #ededed;
}

#add_items ul>li:active {
	background: #e0e0e0;
}

#add_items ul>li.shopDisabled {
	background: #f7eed9;
}

.hidden {display: none}

#add_items ul {
	list-style: none;
}

#add_items ul>li>i {
	margin-right: 5px;
	font-size: 0.9em;
}

#add_items ul>li:hover i {
	color: #d66262;
}

#add_items ul .back:hover {
	background: #f0eede;
}

#add_items .save_complete {background: #e5f0dd!important}

/* Стили для кнопки удалить страницу */
#add_items .deletePage {
	color: #d94646;
	padding: 5px 10px;
	border-radius: 5px;
	border: 2px solid transparent;
}

#add_items .deletePage:hover {
	background: #e3e3e3;
	border-color: grey;
}

#add_items .deletePage:active {
	-webkit-box-shadow: inset 0px 0px 4px 0px rgba(92,92,92,0.75);
	-moz-box-shadow: inset 0px 0px 4px 0px rgba(92,92,92,0.75);
	box-shadow: inset 0px 0px 4px 0px rgba(92,92,92,0.75);
}


/* Стиль для места установки блока */
.place_here {
	background: rgba(194, 224, 243, 0.96);
	width: 50%;
	min-width: 120px;
	float: left;
	box-sizing: border-box;
	text-align: center;
	font-family: 'Signika', sans-serif; 
	color: #656565;
	font-size: 1.1em;
	line-height: 50px;
	margin: 10px 25%;
	border: 3px dashed #85c7ef;
	min-height: 50px;
}

.colums-block>div>.place_here {
	width: 100%!important;
	margin: 10px 0!important;
}

/* Для разделителей */
.place_here + .divider-triangles {
	margin-top: 100px;
}

.place_here + .divider-diagonal {
	margin-top: 50px;
}

.place_here + .divider-rounded {
	margin-top: 80px;
}

.place_here + .divider-roundedsplit {
	margin-top: 50px;
}

.divider-ears {
	padding-bottom: 16em;
}

/* Конец стилей для разделителей */

/* Стили для правой панели добавления стилей к объектам */
#styles {
	border-left: 2px solid #eaeaea;
	right: 0!important;
	top: 0;
	height: 100%;
}

#nowWorkingWith {
	padding: 2px 5%;
	width: 90%;
	background: #ece9d0;
	color: #535363;
}

#styles label:not(.checkbox) {
	float: left;
	margin-top: 20px;
	font-family: 'Signika', sans-serif; 
	color: #898989;
	font-size: 1.1em;
}

#styles span {
	font-family: 'Signika', sans-serif; 
	font-size: 0.9em;
}

#styles .helpText {
	color: #5a5757;
	font-weight: bold;
}

#styles .helpText>ul {
	list-style: circle;
	width: 80%!important;
	margin-left: 10%!important;
}

#styles .helpText>ul>li {
	color: #656464;
	margin-top: 5px;
	font-weight: lighter;
}

#styles hr {
	border-color: #e5e5e5;
}

#styles>.deleteBlock {
	margin-left: 25%;
	width: 50%;
	float: left;
	margin-top: 20px;
}

#styles>.moveBlockUp, #styles>.moveBlockDown {
	margin-left: 5%;
	width: 40%;
	float: left;
	margin-top: 20px;
}

#styles .colorpickerHolder {
	width: 88%;
	margin-left: 2%;
	border: 2px solid #bfbfbf;
	background: #eaeaea;
	color: #727272;
	padding: 4%;
	font-size: 1.2em;
	border-radius: 4px;
	float: left;
	cursor: pointer;
}

#styles .colorpickerHolder>.nowColor {
	float: left;
	width: 30px;
	height: 30px;
	border-radius: 5px;
	border: 1px solid #696969;
}

#styles .colorpickerHolder>span {
	float: left;
	margin-top: 5px;
	margin-left: 5%;
}

#styles .colorpickerHolder:hover {
	border: 2px solid #a18989;
}

#styles .tabs {
	text-align: center;
	width: 98%;
}

#styles .tabs>span {
	color: #3e3e3e;
	padding: 4px 8px;
	margin-right: 8px;
	cursor: pointer;
	border-radius: 4px;
	display: inline-block;
	margin-bottom: 8px;
	border: 1px solid #bdbdbd;
}

#styles .tabs>span:hover, #styles .tabs>span.active {
	background: #e4e4e4;
}

#styles span.label {
	color: #484848;
	font-family: Verdana, sans-serif;
	display: inline-block;
	margin-bottom: 5px;
	margin-top: 3px;
}

/* Стили для чекбокса */

input[type="checkbox"] {
    left: 17px;
    position: absolute;
}

#styles .checkbox {
	width: 90%;
	vertical-align: top;
	margin: 0 3px 0 0;
	width: 17px;
	height: 17px;
}

#styles .checkbox + label {
  cursor: pointer;
}

/* Прячем оригинальный чекбокс. */
#styles .checkbox:not(checked) {
  position: absolute;
}

#styles .checkbox:not(checked) + label {
  position: relative; /* будем позиционировать псевдочекбокс относительно label */
  padding: 0 0 0 47px;
  line-height: 150%;
}

/* Оформление первой части чекбокса в выключенном состоянии (фон). */
#styles .checkbox:not(checked) + label:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 37px;
  height: 26px;
  border-radius: 13px;
  background: #CDD1DA;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}

/* Оформление второй части чекбокса в выключенном состоянии (переключатель). */
#styles .checkbox:not(checked) + label:after {
  content: '';
  position: absolute;
  top: -2px;
  left: 2px;
  width: 22px;
  height: 22px;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}

/* Меняем фон чекбокса, когда он включен. */
#styles .checkbox:checked + label:before {
  background: #68c3d4;
}

/* Сдвигаем переключатель чекбокса, когда он включен. */
#styles .checkbox:checked + label:after {
  left: 13px;
}

/* Показываем получение фокуса. */
#styles .checkbox:focus + label:before {
  box-shadow: 0 0 0 2px #39aec3;
}

/* Стили для чекбокса конец */

/* Необходимые стили для слайдеров Range */

#styles input[type=range] {
	height: 5px;
	-webkit-appearance: none;
	margin: 5px 0;
	width: 100%;
	background: inherit;
}

#styles input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 5px;
	cursor: pointer;
	animate: 0.2s;
	background: #E39896;
}

#styles input[type=range]::-webkit-slider-thumb {
	border: 1px solid #E34F4F;
	height: 18px;
	width: 18px;
	border-radius: 25px;
	background: #FF8787;
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -7px;
}

#styles input[type=range]:focus::-webkit-slider-runnable-track {
	background: #E39896;
}

#styles input[type=range]::-moz-range-track {
	width: 100%;
	height: 5px;
	cursor: pointer;
	animate: 0.2s;
	background: #E39896;
}

#styles input[type=range]::-moz-range-thumb {
	border: 1px solid #E34F4F;
	height: 18px;
	width: 18px;
	border-radius: 25px;
	background: #FF8787;
	cursor: pointer;
}

#styles input[type=range]::-ms-track {
	width: 100%;
	height: 5px;
	cursor: pointer;
	animate: 0.2s;
	background: transparent;
	border-color: transparent;
	color: transparent;
}

#styles input[type=range]::-ms-fill-lower {
	background: #E39896;
	border-radius: 2px;
}

#styles input[type=range]::-ms-fill-upper {
	background: #E39896;
	border-radius: 2px;
}

#styles input[type=range]::-ms-thumb {
	margin-top: 1px;
	border: 1px solid #E34F4F;
	height: 18px;
	width: 18px;
	border-radius: 25px;
	background: #FF8787;
	cursor: pointer;
}

#styles input[type=range]:focus::-ms-fill-lower {
	background: #E39896;
}

#styles input[type=range]:focus::-ms-fill-upper {
	background: #E39896;
}

#styles input[type=range] + span {
	font-size: 0.85em;
	margin-left: 4px;
	color: #464646;
	display: inline-block;
	position: relative;
	font-weight: bold;
	right: -155px;
}

/* Необходимые стили для слайдеров Range закончились */

#styles textarea, #styles input[type="text"] {
	width: 100%;
	height: 100px;
	resize: none;
	border: 2px solid #3B3D45;
	background: #3B3D45;
	color: white;
	padding: 4%;
	font-size: 1.05em;
	border-radius: 4px;
}

#styles textarea:focus, #styles input[type="text"]:focus {
	border-color: #33ADA9;
}

#styles input[type="text"] {
	height: 50px!important;
}

#styles textarea:disabled {
	background: #715959!important;
	border: 2px solid #ae3333!important;
}

#upload {
	padding: 10px;
	text-align: center;
	background: #f2f2f2;
	color: #e8622d;
	border: 1px solid #ccc;
	width: 100%;
	cursor: pointer;
	border-radius: 5px; 
	display: block;
}

#files {text-align: center}

#files:not(:empty) {
	margin-top: 20px;
}

#status, #files {
	font-size: 1em;
	color: #c47171;
}

#textfields {
	list-style: none;
	display: block;
	cursor: pointer;
}

#textfields>li:hover {
	color: #c27676;
}

/* Стили для различных блоков */
.simple-block:hover {
	cursor: pointer;
}

.text-block, .divider-block, .colums-block, .form-block, .button-block-clear, .social-buttons, .shop-button {
	border: 2px dotted rgba(255, 255, 255, 0);
}

.text-block:hover, .text-block.active,
.button-block-clear:hover, .button-block-clear.active,
.divider-block:hover, .divider-block.active,
.video-block:hover, .video-block.active, 
.colums-block:hover, .colums-block.active,
.image-block:hover, .image-block.active,
.form-block:hover, .form-block.active,
.social-buttons:hover, .social-buttons.active,
.shop-button:hover, .shop-button.active {
	border: 2px dotted #33ADA9!important;
} 

.block-inside:hover, .block-inside.active {
	-webkit-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	-moz-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
}

.video-block:not(:empty), .colums-block>div:not(:empty), .colums-block:not(:empty), .image-block:not(:empty) {
	border: 2px solid rgba(255, 255, 255, 0);
}

.video-block:empty, .image-block:empty {
	background-position: center;
	background-repeat: no-repeat;
	background-image: url("../img/video.png");
    padding: 5% 3%!important;
    border-radius: 15px;
    border: 2px solid #dddddd;
    display: block;
    margin-left: 20%;
    width: 60%;
    min-height: 100px;
}

.image-block img {
	transition: none!important;
}

.image-block:empty {
	border-radius: 15px!important;
	background-image: url("../img/image_view.png")!important;
}

.colums-block>div:empty:not(.video-block):not(.image-block) {
    padding: 5% 3%;
    width: 100%;
    background: #f9f9f9;
    border: 2px solid #e5caca;
    background-image: linear-gradient(45deg, #f0f0f0 25%, transparent 25%, transparent 50%, #f0f0f0 50%, #f0f0f0 75%, transparent 75%, transparent);
	background-size: 40px 40px;
	min-height: 70px;
}

#create {
	overflow-x: hidden;
}

/* Стили для селекторов */
#styles select {
   min-width: 87%;
   max-width: 100%;
   margin-left: 5px;
   padding: 5px 33px 5px 5px !important;
   font-size: 1em;
   color: #827272;
   border: 2px solid #c1c1c1;
   border-radius: 5px;
   height: 35px;
   -webkit-appearance: none;
   cursor: pointer;
   background: #f5f5f5 url(../img/down_arrow_select.jpg) no-repeat right;
}

#styles select:hover, #styles select:focus {
	border: 2px solid #a29f9f;
}

/* Стили для селекторов (конец) */

#textfields>li>strike {
	color: rgba(90, 88, 88, 0.64);
}

#add_new_column {
	width: 60%;
	margin-left: 20%;
	padding: 3px;
}

#add_new_column>i {
	font-size: 0.8em;
}

#all_column_blocks>div>i {
	color: #927171;
	margin-left: 10px;
	cursor: pointer;
}

#all_column_blocks>div>i:hover {
	color: #b76161;
}

/* Стили для панели настроеек сайта */
#styles .configureHelpText {
	color: #443a3a;
	font-size: 0.95em;
}

#styles .configureHelpText>a {
	color: #5e9dc1;
}

#styles .configureHelpText>a:hover {
	text-decoration: underline;
}

/* 	Стили для различных блоков, но их надо добавлять к общим стилям готового сайта */
.main-menu > div {
	margin-left: 3%;
}

.simple-block {
	width: 100%;
	float: left;
	background: #f0f0f0;
	position: relative;
	padding: 4%;
	z-index: 0;
	text-align: center;
}

header.simple-block, footer.simple-block {
	padding: 1.5% 4%;
}

.simple-block::before, .simple-block::after {
	content: '';
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	position: absolute;
	content: '';
	pointer-events: none;
	z-index: -1;
}

@media (max-width: 800px) {
	.block-inside {
		width: 100%!important;
		margin-left: 0!important;
	}
}

.block-inside {
	width: 40%;
	margin: 15px 30%;
	box-sizing: padding-box;
	background-color: #ffffff;
	padding: 4%;
	display: inline-block;
}

.text-block {
	margin-left: 5%;
	width: 90%;
}

.divider-block {
	padding: 10px 0px;
}

.divider-block hr {
	margin: 0;
	padding: 0;
}

.video-block, .image-block {
	width: 100%;
}

.colums-block {
	align-items: center;
	justify-content: space-around;
	display: flex;
}

@media (max-width: 700px) {
	.colums-block.two {
		flex-wrap: wrap;
	}
	
	.colums-block.two * {
		text-align: center!important;
	}
	
	.colums-block.two>div {
		flex-basis: 100%!important;
		width: 100%!important;
	}
}

@media (max-width: 850px) {
	.colums-block.three {
		flex-wrap: wrap;
	}
	
	.colums-block.three * {
		text-align: center!important;
	}
	
	.colums-block.three>div {
		flex-basis: 100%!important;
		width: 100%!important;
	}
}

@media (max-width: 1100px) and (min-width: 700px) {
	.colums-block.four {
		flex-wrap: wrap;
	}
	
	.colums-block.four * {
		text-align: center!important;
	}
	
	.colums-block.four>div {
		flex-basis: 49.5%!important;
		width: 49.5%!important;
	}
}

@media (max-width: 699px) {
	.colums-block.four {
		flex-wrap: wrap;
	}
	
	.colums-block.four * {
		text-align: center!important;
	}
	
	.colums-block.four>div {
		flex-basis: 100%!important;
		width: 100%!important;
	}
}

.colums-block>div {
	margin-top: 5px;
	width: 100%;
	flex-basis: 49.5%;
	min-width: 0;
}

.button-block {
	padding: 10px 1%;
	border-radius: 5px;
	background: #e57e7e;
	color: white;
	max-width: 100%;
	cursor: pointer;
	border: 2px solid #d66969;
	-webkit-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	-moz-box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	box-shadow: 0px 2px 8px -3px rgba(71,71,71,0.98);
	font-size: 1em;
}

@media (max-width: 699px) {.button-block {padding-left: 1%!important;padding-right: 1%!important}}

.button-block-clear {width: 100%}

form {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	flex-direction: row;
	max-width: 90%;
	margin: 0 5%;
}

form input, form textarea, form button {
	padding: 10px;
	font-family: Trebuchet MS, Helvetica, sans-serif;
	font-size: 0.9em;
	margin-bottom: 10px;
	margin-left: 10px;
	border: 2px solid #d5d5d5;
	min-width: 150px;
}

form textarea {
	resize: none;
	border: 2px solid #d5d5d5;
}

form input:focus, form textarea:focus {
	border-color: #d88989!important;
}

.shop-button .radio {
	line-height: 120%;
	vertical-align: top;
	width: 17px;
	height: 17px;
	margin: 0px 3px 0px 0px;
}

.shop-button .radio + label {
  cursor: pointer;
}

.shop-button .radio:not(checked) {
  position: absolute;
  opacity: 0;
}

.shop-button .radio:not(checked) + label {
  position: relative;
  padding: 0 10px 10px 35px;
}

.shop-button .radio:not(checked) + label:before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #CDD1DA;
  border-radius: 50%;
  background: #FFF;
}

.shop-button .radio:not(checked) + label:after {
  content: '';
  position: absolute;
  top: 0px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d4b968;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.5);
  opacity: 0;
  transition: all .2s;
}

.shop-button .radio:checked + label:after {
  opacity: 1;
}

.shop-button .radio:focus + label:before {
  box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}