@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600&display=swap&subset=cyrillic');

body {
	background-color: #f9f9fa;
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
}

header {
	background: #df2424;
	height: 50px;
}

header .name {
	color:#fff;
	font-size: 24px;
	font-weight: 600;
	padding-left: 30px;
	line-height: 45px;
}

header .logout {
	padding: 11px;
	color:white;
	font-size: 18px;
}

header .logout > div > a, header .name a, header .logout > a{
	text-decoration: none;
	color: white;
}

.hide {
	display: none;
}

.padding {
	padding: 0 5px;
}

.page {
	max-width: 1000px;
	position: relative;
	margin: 0 auto;
}

.calend {
	margin-top: 70px;
	margin-bottom: 30px;
}

.calend select {
	width: 100%;
	height: 50px;
	font-size: 18px;
	display: block;
}

.calend button {
	margin: 50px auto;
	display: block;
}

.card-header p {
	color: #4d5895;
	font-size: 15px;
	/*margin-bottom: 5px;*/
	/*padding: 1em;*/
}

.task {
	border: 1px solid;
	margin: 5px auto;
}

.date {
	background: #282829;
	font-size: 20px;
	text-align: center;
	color: #fff;
	font-weight: 600;
	padding: 5px 0;
}

.note {
	margin: 5px 0px;
}

.author {
	background: #ff3535;
	font-weight: 600;
	color: #fff;
	text-align: center;
	padding: 2px;
}

textarea {
	display: block;
	width: 100%;
	height: 80px;
}

.spoiler {
	border: 1px solid #e0e0e0;
	/*padding: 0 1em;*/
}

.spoiler details div{
	padding: 0 5px;
}

.spoiler details + details { 
	border-top: 1px solid #e0e0e0;
}

.spoiler summary {
	color: #4d5895;
	/*margin-bottom: 5px;*/
	padding: 1em;
}

.spoiler details div {
	overflow: hidden;
	/*padding: 1em 1em 0;*/
}

.spoiler summary .dateaddr{
	width: 100%;
}

.closed {
	background: #cecece;
}

.task_onway {
	background: #e6ccff;
}

.task_progress {
	background: #b3ffb3;
}

.task_no_access, .task_transfer {
	background: #e6bf00;
}

.task_cancel {
	background: #ffc299;
}

.task_spend_materials {
	background: #cecece;
}

.task_partially {
	background: #b3b3b3;
}

.task_another_department {
	background: #957b8d;
}

.done {
	background: #c5e8cf;
}

.noselect {
	text-decoration: none;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

a:focus {
	text-decoration: none;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.share .tooltiptext {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.share .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.custom-file-label::after {
    content: 'Обзор';
}