/**** BASE *******************************************/

html {
	min-height: 100%;
	height: 100%;
}

body {
	position: relative;
	width: 100%;
	height: 100%;
	overflow-x: hidden;
	font: 400 16px/1.4 'Calibri', 'Arial', sans-serif;
	/* text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.45); */
	/* letter-spacing: 0.015em; */
	word-wrap: break-word;
	background: #fff;
	color: #1d1d1b;
}

a:hover {
	color: #00d791;
}

.content {
		min-height: calc(100% - 48px);
}

/**** HEADER *******************************************/

header {
	border-top: 4px solid #292d30;
	font-size: 14px;
	height: 48px;
}

/***/
.header__aside {
	width: 365px;
	color: #646b72;
}

.header__settings {
	width: 60px;
	background: #3e4145 url('/style/design/header_cogs.png') center center no-repeat;
	cursor: pointer;
}

.header__settings:hover {
	background-color: #00684e;
}

.header__calendar {
	width: 205px;
	padding: 12px 10px;
	text-align: center;
	background-color: #34373b;
	cursor: default;
}

.header__calendar:before {
	content: '';
	display: inline-block;
	margin-top: -1px;
	margin-right: 7px;
	height: 20px;
	width: 20px;
	background: url('/style/design/header_calendar.png') center center no-repeat;
}

.header__time {
	width: 100px;
	padding: 12px 10px;
	text-align: center;
	background-color: #3e4145;
	font-weight: 700;
	cursor: default;
}

.header__time:before {
	content: '';
	display: inline-block;
	margin-top: -1px;
	margin-right: 7px;
	height: 20px;
	width: 20px;
	background: url('/style/design/header_clock.png') center center no-repeat;
}

/***/
.header__main {
	width: calc(100% - 365px);
	background-color: #00684e;
	padding: 12px 0;
	color: #00d791;
}

.header__link {
	display: block;
	padding: 0 40px 0 25px;
	background-position: left center;
	background-repeat: no-repeat;
}

.header__link:hover {
	color: #fff;
}

.header__link.email { background-image: url('/style/design/header_email.png'); }
.header__link.tg { background-image: url('/style/design/header_tg.png'); }
.header__link.tel { background-image: url('/style/design/header_tel.png'); }

/**** FOOTER *******************************************/

footer {
	padding: 20px;
	text-align: center;
	color: #646b72;
	font-size: 14px;
}

.footer__company {
	border: 2px dotted #646b72;
	padding: 12px;
	line-height: 1;
}

/**** NAV *******************************************/

nav {
	background-color: #292d30;
}

.nav__item {
	display: inline-block;
	color: #fff;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 700;
	padding: 20px 30px;
	cursor: default;
}

a.nav__item {
	cursor: pointer;
}

.nav__item.active {
	color: #00d791;
}

.nav__item:hover {
	background-color: #00684e;
}

.nav__hover {
	display: none;
}

/**** WARNING *******************************************/

.warning__list {

}

.warning__item {
	position: relative;
	padding: 12px 40px 12px 55px;
	background: #e14054 url('/style/design/warning_alert.png') left 20px center no-repeat;
	color: #fff;
}

.warning__close {
	position: absolute;
	top: calc(50% - 11px);
	right: 12px;
	width: 20px;
	height: 20px;
	cursor: pointer;
	background: url('/style/design/warning_close.png') center center no-repeat;
}

.warning__close:hover {
	opacity: 0.7;
}

/**** TO TOP *******************************************/

#to-top {
	position: fixed;
	right: 75px;
	bottom: 30px;
	width: 48px;
	height: 48px;
	background: url('/style/design/to-top.png') center center no-repeat;
	background-size: contain;
	cursor: pointer;
	z-index: 10000;
}

#to-top:hover {
	opacity: 0.7;
}

/**** MODAL *******************************************/

.modal__overlay {
	display: none;
	opacity: 0;
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10000;
	background: rgba(0, 0, 0, 0.84);
}

.modal__overlay.active {
	display: block;
	opacity: 1;
}

.modal {
	display: none;
	opacity: 0;
	max-width: 400px;
	min-width: 320px;
	min-height: 40px;
	/* position: fixed; */
	position: absolute;
	left: 0;
	right: 0;
	/* top: 20%; */
	margin: auto;
	z-index: 11000;
	background-color: #fff;
	border: 1px solid #00d791;
	-webkit-box-shadow	: 3px 4px 10px 1px rgba(0, 0, 0, 0.35);
	-moz-box-shadow		: 3px 4px 10px 1px rgba(0, 0, 0, 0.35);
	box-shadow			: 3px 4px 10px 1px rgba(0, 0, 0, 0.35);
	-webkit-border-radius	: 4px;
	-moz-border-radius		: 4px;
	border-radius			: 4px;
	overflow: hidden;
}

.modal.active {
	display: block;
	opacity: 1;
}

.modal__title {
	font-size: 20px;
	text-transform: uppercase;
	/* letter-spacing: 0.1em; */
	padding: 10px 35px 8px;
	cursor: pointer;
	background-color: #00d791;
	color: #fff;
	position: relative;
}

.modal__close {
	width: 30px;
	height: 30px;
	position: absolute;
	overflow: hidden;
	top: 8px;
	right: 3px;
	cursor: pointer;
	background: url('/style/design/modal-close.png') left top no-repeat;
	background-size: contain;
	opacity: 0.7;
}

.modal__close:hover {
	opacity: 1;
}

/***/
.modal__content {
	background: #fff;
	padding-bottom: 20px;
}

.modal__group {
	background-color: #ececec;
	padding: 30px;
}

.modal__data {
	padding: 30px;
}

/***/

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

@media (max-width: 991px) {
	.modal {
		top: 10%;
		max-height: 80%;
		overflow-y: auto;
	}
}

/**** ALERT *******************************************/

#alert__list {
	position: fixed;
	right: 25px;
	top: 25px;
	z-index: 50000;
}

.alert__item {
	margin-top: 12px;
	width: 320px;
	padding: 12px;
	background-color: rgba(4, 28, 25, 0.75);
	border: 1px solid #00d791;
	-webkit-border-radius	: 4px;
	-moz-border-radius		: 4px;
	border-radius			: 4px;
	-webkit-box-shadow	: 1px 3px 8px 1px rgba(70, 50, 50, 0.25);
	-moz-box-shadow		: 1px 3px 8px 1px rgba(70, 50, 50, 0.25);
	box-shadow			: 1px 3px 8px 1px rgba(70, 50, 50, 0.25);
	position: relative;
	cursor: pointer;
}

.alert__item:hover {
	background-color: rgba(4, 28, 25, 0.65);
}

.alert__item:after {
	content: 'x';
	display: block;
	position: absolute;
	top: 0;
	right: 5px;
	font-size: 20px;
	line-height: 1;
	font-weight: 700;
	color: #00d791;
}

.alert__item:hover:after {
	opacity: 0.8;
}

.alert__title {
	font-weight: 700;
	margin-bottom: 5px;
	color: #00d791;
	font-size: 18px;
	text-align: center;
	text-shadow: none;
}

.alert__message {
	color: #fff;
	font-size: 16px;
	text-align: center;
}

/****  *******************************************/
