﻿/* Sticky footer styles
-------------------------------------------------- */
html {
	position: relative;
	min-height: 100%;
}
body {
	/* Margin bottom by footer height */
	margin-bottom: 60px;
}
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: 60px;
	background-color: #f5f5f5;
}
.news a,
p {
	word-wrap: break-word;
}


/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

body > .container {
	padding: 60px 15px 0;
}
.container .text-muted {
	margin: 20px 0;
}

.footer > .container {
	padding-right: 15px;
	padding-left: 15px;
}

code {
	font-size: 80%;
}


/*body {*/
/*margin-top: 80px;*/
/*}*/
.jumbotron {
	margin-top: 1rem;
}
.jumbotron p {
	margin: 1rem 0;
	font-size: 14px;
	font-weight: 400;
}
.jumbotron .h1, .jumbotron h1 {
	font-size: 36px;
	margin-top: 0;
}
.row.article {
	display: block;
	background: white;
	margin: 1.25rem 0;
	padding: 2rem 1rem;
	border-radius: 3px;
	-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
	-moz-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16), 0 2px 10px 0 rgba(0, 0, 0, .12);
}

.click-area {
	cursor: pointer;
}

.btn-block-right {
	text-align: right;
}

.row.article .hidden-block {}

.row.article .hidden-block .wrapper {
	background: whitesmoke;
	border: 1px solid #cccccc;
	border-radius: 5px;
	padding: 1rem;
	margin: 1rem 0;
}

.row.article .inf {
	text-align: right;
}

.row.article .send-form-block {
	text-align: right;
}

/* Framework colors */
.color-swatch.gray-darker {
	background-color: #222;
}
.color-swatch.gray-dark {
	background-color: #333;
}
.color-swatch.gray {
	background-color: #555;
}
.color-swatch.gray-light {
	background-color: #999;
}
.color-swatch.gray-lighter {
	background-color: #eee;
}
.color-swatch.brand-primary {
	background-color: #337ab7;
}
.color-swatch.brand-success {
	background-color: #5cb85c;
	color: white;
}
.row.article.color-swatch.brand-success .hidden-block .wrapper {
	background-color: #376e37;
}
.color-swatch.brand-warning {
	background-color: #f0ad4e;
}
.color-swatch.brand-danger {
	background-color: #d9534f;
}
.color-swatch.brand-info {
	background-color: #5bc0de;
	color: white;
}

.row.article.color-swatch.brand-info .hidden-block .wrapper {
	background-color: #395c72;
}

/* Docs colors */
.color-swatch.bs-purple {
	background-color: #563d7c;
}
.color-swatch.bs-purple-light {
	background-color: #c7bfd3;
}
.color-swatch.bs-purple-lighter {
	background-color: #e5e1ea;
}
.color-swatch.bs-gray {
	background-color: #f9f9f9;
}


.news {
	display: block;
	position: fixed;

	background: #d2d8ff;
	top: 20%;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	right: -300px;
}

.news a {
	display: block;
	width: 300px;
	white-space: pre-wrap;      /* CSS3 */
	white-space: -moz-pre-wrap; /* Firefox */
	white-space: -pre-wrap;     /* Opera <7 */
	white-space: -o-pre-wrap;   /* Opera 7 */
	word-wrap: break-word;      /* IE */
	/* float: left; */
	line-height: 21px
}
.news .container_news {
	width: 300px;
	height: 200px;
	/* max-height: 30%; */
	overflow-y: auto;
	overflow-x: hidden;
}

div.am-overlay{
	margin-top: 3rem;
}

.news:hover,
.news:active {
	right: 0px;
}
.news:after {
	content: 'Новости';
	display: block;
	position: absolute;
	width: 80px;
	height: 41px;
	text-align: center;
	line-height: 22px;
	left: -60px;
	top: 19px;
	background: #d2d8ff;
	padding: 10px;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
}

div.am-back.am-expanded {
	padding-bottom: 5rem;
}

.alert-danger {
	word-break: break-all;
}

div#files-float {
	display: block!important;
	position: fixed;
	background: #d2d8ff;
	width: 300px;
	/* max-height: 200px; */
	/* overflow-x: auto; */
	top: 50%;
	/* left: 0; */
	right: 0;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	z-index: 5;
}
div#files-float.hide-bl {
	right: -300px;
}

div#files-float .head {
	display: block;
	position: absolute;
	width: 80px;
	height: 41px;
	text-align: center;
	line-height: 22px;
	left: -60px;
	top: 19px;
	background: #d2d8ff;
	padding: 10px;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	-moz-transform: rotate(-90deg);
	-o-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	cursor: pointer;
}

div#files-float div#filesmount {
	max-height:  200px;
	padding-left: 1rem;
	padding-bottom: 1rem;
	overflow:  auto;
	box-sizing:  border-box;
}

div#files-float div#filesmount .file {
	position: relative;
	margin: 0.5rem 0;
	padding-right: 2rem;
	box-sizing: border-box;
}

div#files-float div#filesmount .file span.delete {
	display: block;
	position: absolute;
	width: 15px;
	height: 15px;

	top: 3px;
	right: 6px;

	background: red;

	font-size: 10px;
	line-height: 15px;
	text-align: center;



	color: white;

	cursor: pointer;
	border-radius: 5px;
}
div#files-float.no-admin span.delete,
div#files-float.no-admin #file{
	display: none!important;
}

div#files-float input[type=file] {
	margin: 0 auto;
	padding: 1rem;
}