@import url('./room.css');
@import url('./gest.css');
@import url('./grid.css');

button {
	outline: none;
}

html, body {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	padding: 0;
	margin: 0;
}
body {
	font: 12px sans-serif;
	font-family: 'GothamProRegular';
}
a:link,
a:visited {
	color: dodgerblue
}
body > div {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	outline: 1px solid gray;
}

#ranger {
	margin-top: 32px;
}

button {
	cursor: pointer;
}

input[type='range'] {
	-webkit-appearance: none;
	background-color: #c6c6c6;
	width: 160px;
	height: 1px;
	border-radius: 10px;
	cursor: pointer;
	outline: none;
}
input[type='range']::-webkit-slider-thumb {
	-webkit-appearance: none;
	background-color: #474747;
	width: 16px;
	height: 8px;
	border-radius: 2px;
	cursor: pointer;
}

section > h6 {
	display: none
}
section.heder {
	height: 100px;
	background: #eee;
}
section.clndr {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 100px;
	overflow: hidden;
	border-top: 1px solid #e2e2e2;
}
section.clndr > div {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	top: 0px;
}
section.clndr-xxx > div {
	position: static;
	width: calc(100% + 17px);
	height: 100%;
}
section.clndr ol,
section.clndr li {
	padding: 0;
	margin: 0;
	list-style: none;
	cursor: pointer;
}
section.clndr ol.rumz {
	position: absolute;
	left: 0;
	top: 40px;
	width: 220px;
}
section.clndr ol.rumz li {
	height: 40px;
	line-height: 40px;
}

section.clndr ol.dayz {
	background: rgba(255, 255, 255, .75);
	border-bottom: 1px solid rgb(142, 204, 243);
	position: absolute;
	margin-left: 220px;
	left: 0;
	right: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
	overflow: hidden;
	overflow-y: scroll;
}
section.clndr ol.dayz li {
	height: 40px;
	width: 100%;
	line-height: 40px;
	min-width: 24px;
	text-align: center;
	border-left: 1px solid rgb(226, 226, 226);
}

section.clndr ol.grid {
	margin: 40px 0 0 220px;
	overflow: hidden;
}
section.clndr ol.grid li {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
}
section.clndr ol.grid li > b {
	display: block;
	height: 40px;
	line-height: 40px;
	text-align: center;
	font-weight: normal;
	width: 100%;
	min-width: 24px;
	text-align: center;
	font-weight: normal;
	border-left: 1px solid rgb(226, 226, 226);
}

a.amons {
	text-decoration: none;
	float: left;
	padding: 0 .5em;
	margin: 0 .5em;
	color: #c6c6c6;
	cursor: pointer;
}

a.active {
	color: #474747;
	cursor: pointer;
}

a.month:link,
a.month:visited {
}

header {
	width: 100%;
	background-color: #f6f6f6;
	padding: 15px 0 0 15px;
	height: 100px;
}

header .left_header_column {
	margin-left: 10px;
}

header .left_header_column, header .right_header_column, header .center_header_column {
	display: inline-block;
	vertical-align: top;
}

header .center_header_column {
	margin-left: 27px;
}

header .left_header_column .choise_number p {
	margin-top: 10px;
	margin-bottom: 0;
}

header .right_header_column {
	position: absolute;
	right: 21px;
}

header .logo {
	margin-top: 3px;
	margin-left: 15px;
}

header .logo a {
	color: #2d93d5;
	font-size: 18px;
	text-decoration: none;
	font-family: "GothamProBlack";
}

header .logo a span {
	color: #474747;
}

header .mnu {
	display: inline-block;
}

header .mnu ul {
	list-style-type: none;
	padding: 0;
	margin-top: 5px;
}

header .mnu ul li {
	display: inline-block;
	margin-right: 25px;
	font-size: 14px;
}

header .mnu ul li a {
	text-decoration: none;
	color: #474747;
}

header .mnu ul li a:hover {
	color: #2d93d5;
}

header .mnu ul li a span {
	width: 12px;
	height: 12px;
	display: inline-block;
	margin-right: 7px;
	background: url(assets/sprite.png) no-repeat;
}

header .mnu .active {
	color: #2d93d5;
	font-family: 'GothamProBold';
} 

header .mnu .active span {
	background-position-y: -29px !important;
}

header .mnu ul li a:hover span {
	background-position-y: -29px !important;
}

#calendar {
	background-position: -21px 0px;
}

#order {
	background-position: -39px 0px;
}

#reports {
	background-position: -56px 0px;
	width: 14px;
}

#mail {
	background-position: -75px 0px;
	width: 13px;
}

#work {
	background-position: -93px 0px;
}

#settings {
	background-position: -109px 0px;
}

.item_settings {
	width: 120px;
	height: 25px;
	border: none;
	box-shadow: 0px 1px 2px 0px #ccc;
	outline: none;
	border-radius: 3px;
	display: inline-block;
	font-size: 12px;
	margin-right: 3px;
	background-position: 1px 1px;
	background-size: 12px;
	line-height: 25px;
	cursor: pointer;
	background-color: #fff;
	-webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.item_only_icon {
	background-color: #fff !important;
	height: 25px;
	width: 24px;
	background: url(assets/sprite.png) no-repeat;
	background-position: -122px 6px;

}

.item_only_icon div {
	display: inline-block;
	width: 14px;
	height: 14px;

}

#groups:hover {
	background-position: -122px -23px;
}


.table_settings .item_settings span.icon {
	display: inline-block;
    height: 16px;
    width: 14px;
    background: url(assets/sprite.png) no-repeat;
    background-position: -211px 7px;
    float: right;
    margin-right: 7px;
    margin-top: 4px;
}

.table_settings select option {
	outline: none;
}

.right_header_column form {
	display: inline-block;
	vertical-align: middle;
}

.right_header_column .item_settings {
	width: 140px;
	text-align: center;
	vertical-align: top;
}

.right_header_column .item_only_icon {
	width: 24px;
	right: 1px;
	position: absolute;
	top: 39px;
	background-position: -236px 5px;
}

.right_header_column .item_settings span.icon {
	display: inline-block;
	height: 16px;
	width: 12px;
	background: url(assets/sprite.png) no-repeat;
	background-position-y: 7px;
	margin-left: 0px;
	vertical-align: sub;
}

.right_header_column .item_only_icon:hover {
	background-position-y: -21px;
}

.table_setting_cell {
	padding-left: 10px;
	border-radius: 3px;
}

.table_setting_cell .value_table_cell {
	color: #999999;
}

.search_header input {
	width: 95px;
	height: 23px;
	border: none;
	box-shadow: 0px 1px 2px 0px #ccc;
	outline: none;
	border-radius: 3px;
	padding-left: 25px;
	display: inline-block;
	color: #999999;
	font-size: 12px;
}

.search_header span {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    background: url(assets/sprite.png) no-repeat;
    background-position: -144px 1px;
    top: 5px;
    margin-left: 5px;
    opacity: 0.5
}

.username_popup div {
	font-size: 12px;
	padding: 1px 1px 1px 1px;
}

.username_popup .objects {
	text-align: center;
}

.username_popup .objects span {
	font-size: 12px;
}

.username_popup .buttons {
	margin: 5px 0px 20px 10px;
}

.username_popup .buttons a {
	display: inline-block;
	color: #000;
	text-decoration: none;
	margin-top: 5px;
}

.username_popup .buttons a:hover {
	color: #2d93d5;
}

.username_popup .buttons span {
	width: 16px;
	height: 16px;
	display: inline-block;
	background-image: url(assets/sprite.png);
	background-repeat: no-repeat;
	margin-right: 5px; 
}


/* попапы */

#username_popup {
	width: 138px;
	position: absolute;
	right: 4px;
	top: 25px;
	background-color: #fff;
	box-shadow: 0px 1px 0px 1px #dcdcdc;
	outline: none;
	border-radius: 0 0 3px 3px;
	z-index: 100;
	transition-duration: 0.1s;
}

.table_settings_popup {
	display: inline-block;
    width: 120px;
    position: absolute;
    left: 220px;
    top: 72px;
    background-color: #fff;
    box-shadow: 0px 1px 0px 1px #e4e4e4;
    outline: none;
    border-radius: 0 0 3px 3px;
    z-index: 101;
    transition-duration: 0.1s;
    padding-top: 10px;
    padding-bottom: 5px;
	transition-duration: 0.2s;
}

.table_settings_popup span {
	height: 20px;
	margin-left: 5px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: block;
	z-index: 0;
	cursor: pointer;
	transition-duration: 0.2s;
}

.table_settings_popup span:hover {
	color: #2d93d5;
} 

#num-type-popup {
	left: 220px;
}

#dillers-popup {
	left: 346px;
}

#sections-popup {
	left: 473px;
}

/* спрайтовые иконки в username_popup */

#shift span {
	background-position: -163px 0px;
}

#shift:hover span {
	background-position-y: -28px; 
}

#log_out span {
	background-position: -182px 3px;
}

#log_out:hover span {
	background-position-y: -24px; 
}

span.icon_select {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: url(assets/sprite.png);
    background-repeat: no-repeat;
    background-position: -212px -25px;
    margin-right: 9px;
    vertical-align: sub;
}

.overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	background-color: #000;
	opacity: 0.8;
	z-index: 101;
}
.popup {
    background-color: #fff;
    margin: auto;
    position: absolute;
    box-shadow: 0 0 25px #171717;
    z-index: 101;
}

.popup h1 {
    color: #2d93d5;
    font-family: "GothamProBold";
    font-size: 18px;
    margin-left: 58px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.popup .close {
	display: block;
    position: absolute;
    top: 35px;
    right: 35px;
    color: #474747;
    font-family: "GothamProLight";
    font-size: 23px;
    height: 30px;
    line-height: 26px;
    cursor: pointer;
    width: 25px;
    text-align: center;
}

.popup .popup_body {
	width: 520px;
	height: 236px;
	margin: auto;
	border-top: 1px solid #c5c5c5;
	border-bottom: 1px solid #c5c5c5;
}

.popup .popup_body .date {
    display: inline-block;
    line-height: 20px;
    cursor: pointer;
    width: 100px;
    height: 20px;
    padding-top: 5px;
    padding-left: 20px;
    margin-left: -10px;
}

.popup .popup_body .icon {
	display: inline-block;
    width: 17px;
    height: 17px;
    background-image: url(assets/sprite.png);
    background-position: 0px 0px;
    margin-left: 5px;
    vertical-align: middle;
}

.popup .popup_body .date:hover .icon {
	background-position: 0px -29px;
}

.popup .popup_body span {
	font-size: 12px;
}

.popup form {
	margin-top: 30px;
}

.popup input {
	height: 24px;
	width: 190px;
	border: 1px solid #c5c5c5;
	border-radius: 3px;
	margin-bottom: 5px;
	font-size: 14px;
	color: #474747;
	padding-left: 10px;
}

.popup .popup_body .left {
    display: inline-block;
    width: 250px;
    margin-left: 10px;
}

.popup .popup_body .right {
    display: inline-block;
    width: 200px;
    margin-left: 40px;
}

.popup .popup_body .days_num {
    padding-left: 8px;
    width: 16px;
    height: 22px;
    font-weight: bold;
    color: #2d93d5;
    margin-left: 90px;
    margin-right: 76px;
}

.popup .popup_body .date {
    font-size: 18px;
    width: 140px;
    margin-top: 20px;
}

.popup .popup_body .descr {
	margin-left: 236px;
}

.popup .popup_body .select_outer {
	display: inline-block;
	cursor: pointer;
	margin-top: 10px;
}

.popup .popup_body .select_outer .select_list {
	position: absolute;
    background-color: #fff;
    width: 128px;
    border: 1px solid;
}

.popup .popup_body .select_outer .select_top_line {
	width: 128px;
    height: 24px;
    background-color: #fff;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    padding-left: 10px;
    padding-top: 0px;
    line-height: 24px;
	position: relative;
}

.popup .popup_body .select_outer .icon {
    background-position: -209px 5px;
    margin-left: 13px;
    margin-top: 4px;
    position: absolute;
}

.popup .popup_body .sum_cont {
	position: relative;
	right: -220px;
}

.popup .btn {
	display: inline-block;
    margin-top: 30px;
    height: 38px;
    width: 120px;
    background-color: #dadada;
    border-radius: 3px;
    box-shadow: 0px 3px 0px 0px #bababa;
    text-align: center;
    line-height: 38px;
    font-size: 14px;
    font-weight: bold;
    color: #474747;
    cursor: pointer;
}

.popup .cancel {
	margin-left: 135px;
}

.popup .cancel:hover {
	background-color: #bababa;
	box-shadow: 0px 3px 0px 0px #989898;
}

.popup .save {
	color: #fff;
	box-shadow: 0px 3px 0px 0px #1274b3;
	background-color: #2d93d5;
	margin-left: 80px;
}

.popup .save:hover {
	background-color: #1274b3;
	box-shadow: 0px 3px 0px 0px #00426c;
}

#new_order {
	height: 440px;
	width: 600px;
}

#new_group_order {
	height: 470px;
	width: 600px;
}

#new_group_outer .popup_body .sum_cont {
	top: 304px;
}

#new_group_order .top_btn,
#new_group_order_group .top_btn {
	width: 120px;
	height: 29px;
    display: inline-block;
    margin-bottom: -3px;
    position: relative;
}

#new_group_order_group .top_btn {
	z-index: 0;
}

#new_group_order .main_btn,
#new_group_order_group .main_btn {
	margin-left: 58px;
	background-image: url('assets/main_btn_active.png');
	z-index: 1;
}

#new_group_order .group_btn,
#new_group_order_group .group_btn {
	background-image: url('assets/group_btn.png');
	margin-left: -10px;
}

#new_group_order_group .group_btn {
	z-index: 1;
}

#new_group_order_group {
	width: 600px;
	height: 670px;
}

#new_group_order_group .content_popup_body .info_group_popup .right_part,
#new_group_order_group .content_popup_body .bottom_info_group_popup .right_part {
    display: inline-block;
    margin-left: 105px;
    width: 140px;
}

#new_group_order_group .popup_body {
    height: 150px;
}

#new_group_order_group .content_body .info_group_popup,
#new_group_order_group .content_body .bottom_info_group_popup {
	padding-left: 20px;
}

#new_group_order_group .content_popup_body .info_group_popup .middle_part {
	margin-left: 36px;
}

#new_group_order_group .bottom_info_group_popup .right_part {
    margin-left: 55px !important;
}

.group_item {
	height: 90px;
	width: 520px;
	margin: auto;
	border-top: 1px solid #c5c5c5; 
}

.group_item .days_num {
	padding-left: 6px;
    width: 14px;
    height: 20px;
    font-weight: bold;
    color: #000;
    margin-left: 27px;
    margin-right: 0px;
    margin-top: 32px;
}

.group_item .descr {
	position: absolute;
    left: 273px;
    margin-top: 62px;
}

.group_item .place_cont {
	width: 180px;
    display: inline-block;
    font-size: 14px;
    vertical-align: middle;
    padding-top: 13px;
    margin-left: 30px;
}

.group_item .place_cont span {
	display: block;
}

.group_item .group_last_name {
	font-size: 14px;
    width: 190px;
    display: inline-block;
    vertical-align: middle;
    padding-left: 20px;
}

.group_item .delete {
	width: 15px;
    height: 25px;
    display: inline-block;
    background-image: url(icons/delete.png);
    vertical-align: middle;
    background-repeat: no-repeat;
    cursor: pointer;
}

.group_item .delete:hover {
	background-image: url(icons/delete_hover.png);
}

.group_item .delete:hover span {
	color: red;
}

/* попапы у "червячков" */

.lives_popup {
	width: 600px;
	height: 518px;
	background-color: #fff;

}

.lives_popup span {

}

.booked_popup {
	width: 600px;
	height: 518px;
	background-color: #fff;
}

.group_popup {
	width: 590px;
	padding: 35px 55px;
	height: 435px;
}

.group_popup h1 {
	font-family: "GothamProBold";
	font-size: 18px;
	color: #474747;
	display: inline-block;
	margin: 0 20px 0 0;
}

.group_popup h1 span {
	color: #2d93d5;
}

.group_popup .popup_body {
	border-top: none;
	width: 100%;
}

.group_popup .top_slide_group {
	margin-top: 30px;
	height: 31px;
	margin-left: 20px;
	position: relative;
	top: 3.3px;
}

.group_popup .top_slide_group ul {
	padding: 0;
	margin: 0;
}

.group_popup .top_slide_group ul li {
	list-style-type: none;
	background-image: url(assets/sprite_btn.png);
	float: left;
	cursor: pointer;
	width: 121px;
	position: relative;
	height: 31px;
}

#oplata_group {
	width: 645px;
    overflow-y: scroll;
}

.group_popup .top_slide_group ul li.osnovnoe.active {
	background-position: 0 0;
	z-index: 10000;
}

.group_popup .top_slide_group ul li.osnovnoe {
	background-position: 0 -32px;
	z-index
}

.group_popup .top_slide_group ul li.poselenie {
	background-position: -274px -32px;
	left: -6px;
	z-index: 10;
}

.group_popup .top_slide_group ul li.poselenie.active {
	background-position: -274px 0px;
	left: -6px;
	z-index: 10;
}


.group_popup .top_slide_group ul li.oplata {
	background-position: -137px -32px;
	left: -12px;
}

.group_popup .top_slide_group ul li.oplata.active {
	background-position: -137px 0px;
	left: -12px;
}

.content_popup_body .info_group_popup {
	margin-top: 30px;
}

.content_popup_body .info_group_popup p {
	margin: 0;
	line-height: 1.5;
	font-size: 14px;
}

.content_popup_body .info_group_popup .left_part {
	display: inline-block;
	width: 200px;
	vertical-align: top;
}

.content_popup_body .info_group_popup .middle_part {
	display: inline-block;
	width: 22px;
	height: 22px;
	border: 1px solid #dadada;
	vertical-align: top;
	margin-left: 20px;
	text-align: center;
	margin-top: 9px;
	border-radius: 3px;
}
.content_popup_body .info_group_popup .middle_part img {
	padding-top: 4px;
}

.content_popup_body .info_group_popup .right_part {
	display: inline-block;
	margin-left: 85px;
	width: 200px;
}

.content_popup_body .info_group_popup p span {
	font-size: 18px;
	font-family: "GothamProLight";
}

.content_popup_body .info_group_popup p span.bed_span {
	font-size: 14px;
	margin-left: 15px;
}

.content_popup_body .info_group_popup p img.calendar_icon {
	vertical-align: sub;
	margin-left: 4px;
	padding-bottom: 1px;
}

.content_popup_body .item_poselenie p {
	margin-bottom: 10px;
}

.info_group_popup .middle_part .number_days {
	color: #2d93d5;
	font-size: 14px;
	font-family: 'GothamProBold';
	margin-top: 3px;
	display: block;
}

.info_group_popup .middle_part.number_day_wrap {
	vertical-align: top;
	margin-top: 1px;
	position: relative;

}

.info_group_popup .middle_part.number_day_wrap p {
	font-size: 12px;
	left: -6px;
	position: absolute;
	bottom: -17px;
}

.bottom_info_group_popup {
	margin-top: 30px;
}

.bottom_info_group_popup p {
	font-size: 14px;
}

.bottom_info_group_popup .left_part, .bottom_info_group_popup .middle_part, .bottom_info_group_popup .right_part {
	display: inline-block;
	width: 125px;
}

.bottom_info_group_popup .usually_middle {
	display: inline-block !important;
	width: 125px !important;
	border: none !important;
	margin: 0 !important;
}

.bottom_info_group_popup .middle_part {
	margin-left: 58px;
}

.bottom_info_group_popup p span {
	font-size: 13px !important;
}

.bottom_info_group_popup .left_part {
	width: 155px !important;
}

.bottom_info_group_popup .right_part {
	width: 100px !important;
	margin-left: 30px !important;
}

.bottom_info_group_popup .right_part {
	margin-left: 12px;
	width: 155px;
	text-align: right;
}

.itogo_item_poselenie {
	padding-top: 15px;
}

.item_poselenie .poselen_btn {
	background-color: #9abb34 !important;
	box-shadow: 0px 2px 0px 0px #719014 !important;
}

.bottom_info_group_popup .green {
	color: #4d9e12;
}
.bottom_info_group_popup .red {
	color: #d52d2d;
}

.content_popup_body .btn_group_popup {
	text-align: center;
	margin-top: 35px;
	margin-bottom: 20px;
}
.content_popup_body .btn_group_popup button {
	font-size: 12px;
	font-family: 'GothamProBold';
	color: #474747;
	background-color: #dadada;
	border: none;
	border-radius: 3px;
	padding: 10px 1px;
	box-shadow: 0px 2px 0px 0px #bababa;
	margin: 0 40px;
	width: 105px;
}


.group_popup .popup_body {
	height: auto;
}

.main_button_group_popup {
	text-align: center;
	margin-top: 20px;
}

.main_button_group_popup button {
	font-size: 14px;
	font-family: 'GothamProBold';
	color: #474747;
	background-color: #dadada;
	width: 120px;
	border: none;
	border-radius: 3px;
	padding: 10px 1px;
	box-shadow: 0px 3px 0px 0px #bababa;
	margin: 0 40px;
}

.main_button_group_popup button.active {
	background-color: #2d93d5;
	box-shadow: 0px 3px 0px 0px #1274b3;
	color: #fff;
}

.repeal_popup_group {
	color: #d52d2d;
	font-family: 'GothamProBold';
	display: none;
}

.oplata_popup_group {
	display: none;
	font-family: 'GothamProBold';
	color: #4d9e12;
	text-align: center;
	margin-top: 15px;
	margin-bottom: -20px;
}

.oplata_popup_group p {
	display: inline-block;
}
.oplata_popup_group img {
    vertical-align: middle;
}

.poselen_popup_group {
	display: none;
	font-family: 'GothamProBold';
	color: #4d9e12;
	text-align: center;
	margin-top: 15px;
	margin-bottom: -20px;
}

.poselen_popup_group p {
	display: inline-block;
}
.poselen_popup_group img {
    vertical-align: middle;
}

.group_popup.repeal_active {
	height: 490px;
}

.oplata_popup_group.block {
	display: block;
}
.poselen_popup_group.block {
	display: block;
}
.repeal_popup_group.block {
	display: block;
}

.repeal_popup_group p {
	display: inline-block;
}

.repeal_popup_group img {
	vertical-align: sub;
	margin-right: 10px;
}

#osnovnoe_group {
	display: block;
}


#oplata_group {
	display: none;
}

#poselenie_group {
	display: none;
}

#poselenie_group .right_part {
	width: 285px;
	margin-left: 50px;
	position: relative;
}

.itogo_item_poselenie .number_day_wrap .number_days {
	color: #2d93d5 !important;
}

.content_popup_body .item_poselenie .left_part {
	width: 185px;
}

#poselenie_group .right_part p {
	display: inline-block;
}

.content_popup_body {
	border-bottom: 1px solid #e2e2e2;
	border-top: 1px solid #e2e2e2;
    margin-top: 30px;
}

.group_border_none {
	border-bottom: none !important;
}

#poselenie_group .right_part button {
	background-color: #2d93d5;
	box-shadow: 0px 3px 0px 0px #1274b3;
	color: #fff;
	font-size: 12px;
    font-family: 'GothamProBold';
    width: 80px;
    border: none;
    border-radius: 3px;
    padding: 9px 1px;
    position: absolute;
    right: 5px;
    bottom: 8px;
    margin-left: 50px;
}

#poselenie_group .right_part button:hover {
	background-color: #1274b3;
}

.content_popup_body .itogo_item_poselenie .right_part button {
	width: 105px !important;
}

.group_popup.height_750 {
	height: 670px;
}

.content_popup_body .item_poselenie .number_day_wrap span {
	color: #474747;
}

.content_popup_body .item_poselenie .number_day_wrap {
	vertical-align: baseline;
}
.content_popup_body .item_poselenie .number_day_wrap p {
	bottom: -30px;
}

.content_popup_body .item_poselenie .number_day_wrap p.itogo_p {
    bottom: 20px;
    width: 125px;
    left: -48px;
}


.content_popup_body .item_poselenie {
	border-bottom: 1px solid #e2e2e2;
	padding-bottom: 18px;
}

.content_popup_body#poselenie_group {
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top: 0;
    width: 645px;
}
#group .content_popup_body {
	margin-top: 0;
}

#oplata_group .bottom_info_group_popup .right_part {
	width: 130px !important;
}

#oplata_group .right_part .left_to_pay_sum {
	margin: 0;
	margin-left: 10px;
}

#oplata_group .right_part .left_to_pay_span {
	line-height: 1.5;
    font-size: 14px;
}

.booked_lives_popup {
	width: 520px;
	padding-left: 40px;
    padding-right: 40px;
}

.booked_lives_popup .popup_body {
	width: 520px;
}

.booked_lives_popup .info_group_popup {
	margin-left: 20px;
}

.booked_lives_popup .bottom_info_group_popup {
	margin-left: 20px;
}

.booked_lives_popup .bottom_info_group_popup .left_part {
	width: 130px !important;
}     

.booked_lives_popup .info_group_popup .right_part {
	margin-left: 68px;
    width: 146px;
    float: right;
    margin-right: 20px;
}

.booked_lives_popup .btn_group_popup {
	margin-bottom: 30px;
}

.booked_lives_popup .btn_group_popup button {
	margin-left: 10px;
	margin-right: 10px;
}

.booked_lives_popup .bottom_info_booked_popup {
	margin-left: 20px;
}

.bottom_info_booked_popup .booked_date,
.bottom_info_lives_popup .booked_date {
	font-family: "GothamProLight";
    display: inline-block;
    border: 1px solid #c5c5c5;
    font-size: 18px;
    margin-top: 10px;
    vertical-align: bottom;
    height: 24px;
    line-height: 24px;
    border-radius: 3px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: 40px;
}

.bottom_info_booked_popup .icon
.bottom_info_lives_popup .icon {
	vertical-align: middle;
	margin-bottom: 6px;
}

.bottom_info_booked_popup .left_to_pay_sum,
.bottom_info_lives_popup .left_to_pay_sum,
.right_part .left_to_pay_sum {
	font-size: 14px !important;
    font-weight: bold;
    border: 1px solid #c5c5c5;
    border-radius: 3px;
    padding: 1px 7px;
    float: right;
    margin-right: 20px;
    display: inline-block;
    margin-top: 10px;
}

.right_part .left_to_pay_sum {
	font-size: 14px !important;
    font-weight: bold;
    border: 1px solid #d72d2d;
    color: #d72d2d;
    border-radius: 3px;
    padding: 1px 7px;
    float: right;
    margin-right: 20px;
    display: inline-block;
    margin-top: 12px;
}

#evicted .right_part {
	width: 130px !important;
}

#evicted .right_part .left_to_pay_span {
	line-height: 43px;
    font-size: 14px;
    margin-right: 7px;
}

.booked_lives_popup .bottom_info_group_popup .right_part,
.booked_lives_popup .bottom_info_group_popup .right_part {
	float: right;
	margin-right: 20px;
}

#evicted .content_popup_body .btn_group_popup button {
	margin: 0 40px;
}

.content_popup_body .red_btn {
	background-color: #d52d2d !important;
	box-shadow: 0px 2px 0px 0px #c41617 !important;
	color: #fff !important;
}

.content_popup_body .red_btn:hover {
	background-color: #bc2929 !important;
	box-shadow: 0px 2px 0px 0px #a91617 !important;
}

.content_popup_body .red_active_btn {
	background-color: #ea9696 !important;
	box-shadow: 0px 2px 0px 0px #e28a89 !important;
}

.main_button_group_popup .cancel,
.main_button_group_popup .save {
	margin-left: 40px;
}

.btn_group_popup button:hover {
	background-color: #bababa;
	box-shadow: 0px 2px 0px 0px #989898;
}

#lives .repeal_popup_group {
	text-align: center;
}

#lives .repeal_popup_group span {
	margin-right: 110px;
}

.content_popup_body::-webkit-scrollbar {
	width: 8px;
}

.content_popup_body::-webkit-scrollbar-track {
	border-radius: 3px;
    width: 3px;
}

.content_popup_body::-webkit-scrollbar-thumb {
	background-color: #a7dcfc;
    border-radius: 3px;
}

.content_popup_body::-webkit-scrollbar-button {
    border: 1px solid #c1bfbf;
    width: 12px;
    height: 8px;
    border-radius: 1px;
    background-image: url(assets/sprite.png);
    background-position: -345px 2px;
    background-size: 200px;
}
/* Конец */


/* календарь */

#calendar3, #calendar4 {
	top: 235px;
}

#calendar5, #calendar6 {
	top: 265px;
}

#calendar4, #calendar6 {
    left: 400px;
}

.datepicker {
    width: 270px;
    font-family: "GothamProRegular";
    font-size: 14px;
    text-align: center;
    background-color: #fff;
    position: absolute;
    opacity: 0;
    z-index: 6;
    box-shadow: 3px 4px 12px -2px #9a9a9a;
    transition-duration: 0.2s;
    height: 260px;
    top: 40px;
}
.datepicker thead tr:last-child {
	font-size: small;
	color: rgb(85, 85, 85);
	margin-top: 10px;
}
.datepicker thead tr:nth-child(1) td:nth-child(2) {
	color: rgb(50, 50, 50);
	width: 180px;
	text-align: center;
	font-weight: bold;
	display: inline-block;
}
.datepicker thead tr:nth-child(1) td:nth-child(1):hover, .datepicker thead tr:nth-child(1) td:nth-child(3):hover {
	cursor: pointer;
}
.datepicker tbody td {
    color: rgb(44, 86, 122);
    cursor: pointer;
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    margin-left: 0px;
}
.datepicker tbody td:nth-child(n+6), .datepicker .holiday {
	color: #d72d2e;
	text-align: right;
}
.datepicker tbody td.calendar_today {
	background: #2d93d5;
	color: #fff;
	border-radius: 2px;
	text-align: center;
}

.datepicker tr {
	display: block;
	width: 230px;
	text-align: center;
	margin-left: -1px;
}

.datepicker tbody {
	display: block;
	width: 230px;
	margin: auto;
	margin-top: 6px;
	padding-top: 4px;
	border-top: 1px solid #cccccc;
	text-align: center;
}

.datepicker thead {
	display: block;
	width: 230px;
	margin: auto;
	text-align: center;
	margin-top: 12px;
}

.datepicker thead:first-child > :first-child :first-child {
	color: transparent;
    background: url(assets/sprite.png) no-repeat;
    background-position: -371px 5px;
    display: inline-block;
    background-size: 400px;
    height: 16px;
    width: 16px;
}

.datepicker thead:first-child > :first-child :last-child {
    color: transparent;
    background: url(assets/sprite.png) no-repeat;
    background-position: -351px 5px;
    display: inline-block;
    background-size: 400px;
    height: 16px;
    width: 16px;
}

.datepicker thead tr:last-child > td {
    color: #ababab;
    display: inline-block;
    width: 18px;
    margin-right: 12px;
} 

.datepicker thead tr:last-child > td:nth-child(n+6) {
	color: #d72d2e;
}

.datepicker thead tr:last-child > td:last-child {
	margin-right: -10px;
}

.datepicker thead:first-child > :first-child td:hover {
	background-position-y: -31px; 
}

.blue_line:before {
    position: absolute;
    content: '';
    width: 2px;
    height: 102%;
    top: 0;
    left: 49%;
    background-color: #96c9ea;
}