* {box-sizing: border-box; -moz-box-sizing: border-box; -o-box-sizing: border-box; -webkit-box-sizing: border-box; padding: 0px; margin: 0px;}
body {
	background: #eee;
	font-family: "PT Sans Narrow", "Open Sans", Arial;
}
html,
body {
	height: 100%;
}
.left {
	float: left;
	display: inline-block;
}
.right {
	float: right;
	display: inline-block;
}
.clear:after {
	content: '.';
	display: block;
	height: 0;
	visibility: hidden;
	clear: both;
}
.hide {
	display: none;
}
.block-text {
	background: #fefefe;
	border-radius: 2px;
	border:1px solid #ccc;
	padding:5px 10px;
	margin: 3px 0 10px 0;
	box-shadow: 0 2px 5px rgba(50,50,50,.5);
}
.form-login {
	text-align: left;
	display: inline-block;
	width: 250px;
	padding: 10px 20px;
	border-radius: 2px;
	box-shadow: 0 2px 5px rgba(50,50,50,.5);
}
.form-login .buttons {text-align: right;}
.wrapper {
	position: relative;
	width: 1000px;
	/* padding-bottom: 100px; */
	margin: 0 auto;
	display: table;
	height: 100%;
}
.container {
	text-align: center;
	display: table-row;
	height: 100%;
}
.header {
	padding: 20px 20px 0 20px;
	border-radius: 0;
	position: relative;
	min-height: 130px;
}
.header img {
	max-width: 200px;
	max-height: 120px;
	float: left;
	margin-right: 15px;
}
.header h1 {
	display: inline-block;
	float: left;
	font-weight: normal;
	max-width: 370px;
	text-align: left;
}
.header .mainmenu {
	text-align: right;
	padding: 10px 0;
}
.mainmenu ul {
	display: inline-block;
	list-style: none;
	width: 100%;
}
.mainmenu ul li {
	position: relative;
	text-decoration: none;
	display: inline-block;
}
.mainmenu a:link, .mainmenu a:visited {
	padding: 5px 15px;
	display: inline-block;
	border-radius: 2px;
	text-decoration: none;
	font-size: 130%;
	transition: all 0.5s ease-in-out;
	box-shadow: 0 2px 2px rgba(50,50,50,.3);
	margin-left: 3px;
}
.sub-menu {
	margin-top: 10px;
	font-size: 80%;
}
.sub-menu a:link, .sub-menu a:visited {
	padding: 2px 6px;
	box-shadow: 0 1px 1px rgba(50,50,50,.3);
}
.level2 {margin-top: 20px;}

.grid-view .button-column {width: 65px !important;}

.arcticmodal-container_i2 {padding: 6px;}
.box-modal#callback {
	min-width: 400px;
	max-width: 400px;
	margin: 0 auto;
	background: #fff;
	padding: 40px 20px;
	border-radius: 10px;
	position: relative;
	text-align: center;
	box-shadow: none;
	font-family: "PT Sans Narrow", "Open Sans", Arial;
}
.box-modal#callback p {
	font-size: 17px;
	font-weight: bolder;
	color: #000;
	margin-bottom: 10px;
}
.box-modal#callback input[type="text"] {
	width: 63%;
	font-size: 14px;
	color: #000;
	background: #fff;
	padding: 12px 0 12px 2%;
	border: 1px solid #ccc;
	border-radius: 5px;
	margin-bottom: 10px;
}
.box-modal#callback .share_close {
	color: #fff;
	font-size: 30px;
	position: absolute;
	top: -40px;
	right: -40px;
	cursor: pointer;
}
.box-modal#callback input[type="submit"] {
	width: 65%;
	background: #d63799;
	font-size: 17px;
	color: #fff;
	border: none;
	padding: 12px 0;
	cursor: pointer;
	text-shadow: 1px 1px 0px #000;
}

.breadcrumbs {
	padding: 10px 20px;
	font-size: 120%;
	text-align: left;
}

.block-info {
	font-size: 110%;
	padding: 20px;
	text-align: justify;
}
.block-info li {
	margin-left: 40px;
}
.block-info p {
	text-indent: 40px;
}

.goods-cat-block, .services-cat-block, .foto-cat-block {
	float: left;
	width: 280px;
	border-radius: 3px;
	padding: 20px;
	margin: 5px 0 20px 20px;
	text-align: left;
}
.goods-cat-block p:first-letter,
.services-cat-block p:first-letter,
.foto-cat-block p:first-letter,
.good:first-letter,
.service:first-letter,
.share:first-letter {
	text-transform: uppercase;
}
.goods-block, .services-block, .foto-block {
	float: right;
	width: 700px;
}
.good, .service, .share {
	padding: 5px 20px;
	padding-right: 100px;
	font-size: 120%;
	border-radius: 2px;
	position: relative;
	text-align: left;
	margin: 0 20px 10px 20px;
}
.good p, .service p, .share p {font-size: 80%;}
.good .count, .service .count, .share .count {
	position: absolute;
	top: 5px; right: 5px;
	border-radius: 2px;
	padding: 0 10px;
}

.foto {
	display: inline-block;
	width: 250px;
	margin: 15px;
	margin-top: 0;
	padding: 10px;
	border-radius: 2px;
}
.foto img {
	display: inline-block;
	width: 100%;
}
.foto .title {
	padding: 10px;
	padding-bottom: 0;
}

.schedule-block {
	padding: 0 20px;
	text-align: center;
}
.schedule {
	margin: 20px auto;
}
.schedule td {
	text-align: center;
	padding: 3px;
}
.schedule .head td {
	padding: 10px;
}
td.free {
	cursor: pointer;
}
.schedule tr:hover {
	background: #FFD9F7;
}
.cal {
	display: inline-block;
	margin-top: 20px;
}
.box-modal {
	position: relative;
	min-width: 500px;
	max-width: 600px;
	padding: 16px;
	background: #fff;
	color: #3c3c3c;
	font: 100% Arial, sans-serif;
	border-radius: 6px;
}

.entry {
	margin: 10px 0 !important;
	border-collapse: collapse;
	border: 1px solid gray;
}
.entry td {
	padding: 10px !important;
	border: 1px solid gray;
}
.selectize-control {
	margin-bottom: 10px;
}
.select-item span.beauty-info {
	font-size: 80%;
	color: gray;
	margin-right: 10px;
}

#entry-bcrm input[type=text], #entry-bcrm textarea, #entry-bcrm select, #entry-bcrm label {
	display: inline-block;
	width: 100%;
	padding: 7px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	resize: none;
}
#entry-bcrm input[type=checkbox] {
	margin-right: 10px;
}
#entry-bcrm .buttons input[type=submit] {
	padding: 10px 20px !important;
}
#entry-bcrm p.required {
	position: relative;
}
#entry-bcrm p.required:after {
	position: absolute;
	content: '*';
	color: red;
	vertical-align: top;
	text-align: right;
}
#entry-bcrm .required-text span {
	color: red;
}
#entry-bcrm p.cancel, .required-text, legend {
	margin-bottom: 10px;
}
#entry-bcrm .buttons {text-align: right;}
#entry-bcrm {
	text-align: left;
}
#entry-bcrm .arcticmodal-close, #result-bcrm .arcticmodal-close {
	display: inline-block;
	padding: 10px 20px;
	background: #777 !important;
	border: 0 solid #fff;
	border-radius: 4px;
	font-size: 110%;
	cursor: pointer;
	color: #fff;
	margin: 0 10px;
	position: relative !important;
	width: auto;
	height: auto;
	float: none !important;
	top: auto;
	right: auto;
}
legend {
	font-size: 120%;
	font-weight: bolder;
}
input[type=text],
input[type=password],
input[type=number],
textarea, select {
	display: inline-block;
	width: 100%;
	padding: 7px;
	border: 1px solid #ccc;
	border-radius: 3px;
	margin-bottom: 10px;
	resize: none;
}
#group_edit, #group_edit .field {
	width: 100%;
}
#group_edit .label nobr, #group_edit .field input {
	display: inline-block;
	width: 100%;
	border: 1px solid #ccc;
	margin-bottom: 10px;
	font-size: 12pt;
	font-family: Arial;
	background: #fff;
	outline: none;
	margin: 0;
}
#group_edit .label nobr {
	border-right: 0px;
	padding: 7px 0 7px 7px;
	border-radius: 3px 0 0 3px;
	color: #aaa;
}
#group_edit .field input {
	border-left: 0px;
	padding: 7px 7px 7px 0;
	border-radius: 0 3px 3px 0;
}
p.required:after {
	position: absolute;
	top: 11px;
	right: 10px;
	content: '*';
	color: red;
	vertical-align: top;
	text-align: right;
	z-index: 2;
}
.buttons input[type=submit] {
	display: inline-block;
	padding: 10px 20px;
	border: 0 solid #fff;
	border-radius: 4px;
	font-size: 110%;
	cursor: pointer;
}
.message {color: #dd0000;font-weight: bolder;}
.entry-ok {color: #222; padding: 10px; margin-bottom: 10px;}

a.send-mail:link, a.send-mail:visited {
	display: inline-block;
	padding: 5px 20px;
	text-decoration: none;
	border-radius: 2px;
	transition: all 0.5s ease-in-out;
	box-shadow: 0 2px 2px rgba(50,50,50,.3);
	margin-bottom: 10px;
}

.contact-block {
	text-align: left;
	font-size: 120%;
}
.contact-block .right {
	margin: 0 10px;
	text-align: center;
}
.contact {
	display: block;
	padding: 20px;
}
.contact p#b {
	font-size: 130%;
}
#page .phone-block p {padding: 2px;}

.form {
	text-align: left;
	padding: 20px;
	font-size: 125%;
}
.form label {
	display: inline-block !important;
}

.grid-view {
	margin: 20px;
}

.footer {
	padding: 20px;
	text-align: center;
	/* position: absolute;
	left: 0;
	bottom: 0; */
	width: 100%;
	/* height: 160px; */
}
.footer .social {
	font-size: 150%;
}
.footer .social a {
	margin: 0 5px;
}
.footer-menu ul {
	list-style: none;
	margin: 15px 0;
}
.footer-menu li {
	display: inline-block;
	padding: 0 10px;
}

.pager {
	display: inline-block;
	margin: 10px !important;
}
.pager .page, .yiiPager {
	display: inline-block !important;
}
.pager a:link, .pager a:visited {
	font-family: "PT Sans Narrow", "Open Sans", Arial;
	display: inline-block;
	font-size: 150%;
	padding: 8px 10px;
	border-radius: 3px;
	border: none;
	text-decoration: none;
	transition: all 0.5s ease-in-out;
}
.mobile {
	display: none;
}

#ualert_cont {
	position:fixed;bottom:15px;right:15px;width:300px;
	transition: all 0.5s ease-in-out;
	animation: in_load .5s linear;
	-moz-animation: in_load .5s linear;
	-webkit-animation: in_load .5s linear;
	-o-animation: in_load .5s linear;
} 
.ualert {cursor:pointer;opacity:0;color:#fff;margin:10px 0;font-family: "PT Sans Narrow", "Open Sans", Arial,sans-serif;padding:15px; font-size: 100%;} 
.ualert.red {background:#cd4040;} 
.ualert.green {background:#629206;} 
.ualert.blue {
	background: #1a1a1b;
	color: #ccc;
} 
.ualert.violet {background:#9d40cd;} 
.ualert.yellow {background:#cd9d40;} 
.ualert.black {background: #1a1a1b;
	color: #ccc;}
	
.select-item {
	display: none;
}

.selectize-dropdown-content ul {
	padding-left: 0;
}

#recordForm .selectize-dropdown .optgroup-header {
	font-size: 1em;
}


@media screen and (max-width: 1000px){
	.wrapper {
		width: 100%;
	}
	.goods-block, .services-block, .foto-block {
		width: 100%;
		float: none;
	}
	.goods-cat-block, .services-cat-block, .foto-cat-block {
		width: calc(100% - 40px);
		float: none;
	}
	.header img {
		max-width: 80px;
		max-height: 50px;
		float: left;
		margin-right: 15px;
	}
	.contact-block, .contact-block div {
		float: none;
		text-align: center;
		margin: 20px;
		margin-top: 50px; 
	}
	.header .mainmenu {
		position: relative;
		right: 0;
		bottom: 0;
		text-align: center;
	}
	.box-modal#callback {
		min-width: 100%;
		padding: 25px 10px;
	}
	.box-modal#callback .share_close {
		top: -50px;
		right: 0px;
	}
	.mainmenu li, .mainmenu li a {
		display: block;
		width: 100%;
	}
	.mainmenu li {
		margin-bottom: 10px;
	}
	.mainmenu li a {
		padding: 10px !important;
	}

	.schedule-block .schedule {
		display: none;
	}
	.schedule-block .mobile {
		display: table;
	}
	.schedule-block .schedule td {
		padding: 10px;
	}
	.box-modal {
		min-width: 100%;
	}
	.schedule-block .free, .schedule-block .free a:link, .schedule-block .free a:visited {
		color: #fff !important;
	}
	a.photo .title, a.photo-albom-front .title {
		opacity: 1 !important;
	}
}