/*-----------------------------------------------------------------------*/
body{
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	min-height: 100vh;
	background-color: #f9fafb;
	display: flex;
	flex-direction: column;

	padding: 0px;
	margin: 0px;

	color: #72777a;
}
a{
	color: inherit;
	text-decoration: none;
}
/*-----------------------------------------------------------------------*/
header{
	background: linear-gradient(76deg, #675879 0%, #bfa3ef 99%);
	border-bottom: 1px solid rgba(0, 0, 0, 0.0625);
	height: 65px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	color: white;
	padding-left: 40px;
	padding-right: calc(40px - 15px);
	box-sizing: border-box;
}
header .logo{

}
header .empty{
	flex-grow: 1;
}
/*--------- */
header .item{
	position: relative;
	padding: 15px;
	cursor: default;
}
header a.item{
    cursor: pointer;
}
header a.item:hover{
    background-color: rgba(0,0,0,0.1);
}
header .item i{
	font-size: 22px;
	line-height: 14px;
	vertical-align: middle;
}
header .item .submenu{
	box-shadow: 0 20px 40px 0 rgba(0,0,0,.3);
	background-color: white;
	position: absolute;
    right: 0px;
    width: 150px;
    top: 100%;
    border: var(--obvodka-color) 1px solid;
    display: flex;
    flex-direction: column;
    color: black;
    text-align: center;

    visibility: hidden;
	transition: .2s ease top, .2s ease opacity;
	top: calc(100% + 5px);

	opacity: 0;
	z-index: 10;
}
body.ready header .item .submenu{
	transition: .2s ease top, .2s ease opacity, .2s ease visibility;
}
header .item:hover .submenu{
	visibility: visible;
	top: 100%;
	z-index: 9;
	opacity: 1;
}
header .item .submenu > a{
	padding: 9px 0px;
	cursor: pointer;
	background-color: white;
	transition: .2s ease background-color;
}
header .item .submenu > a:hover{
	background-color: #f3f3f3;
}
header .item .submenu:after{
	content: "";
    margin: 0 0 20px 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid white;
    position: absolute;
    top: -6px;
    right: 19px;
}
header .user{

}
@media screen and (max-width: 950px) {
	header{
		padding-left: 20px;
    	padding-right: calc(20px - 15px);
	}
}
/*-----------------------------------------------------------------------*/
main{
	flex-grow: 1;

	padding-left: 40px;
	padding-right: 40px;
	box-sizing: border-box;
}
main.centrilized{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
}
main.centrilized{
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
@media screen and (max-width: 950px) {
	main{
		padding-left: 10px;
		padding-right: 10px;
	}
}
/*-----------------------------------------------------------------------*/
footer{
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7c8695;
}
footer a{
	color: #ab92d5;
	text-decoration: none;
}
/*-----------------------------------------------------------------------*/
.btn{
	display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    padding: 7px 15px;
    line-height: 1.5;
    user-select: none;
    cursor: pointer;
    min-width: 120px;
}
.btn-primary{
    background-color: #8b77a9;
    border-color: #000000;
    color: white;
}
.btn-primary:hover{
	background-color: #54466a;
    border-color: #000000;
}
.btn-secondary{
	color: #fff;
    background-color: #868e96;
    border-color: #868e96;
}
.btn-secondary:hover{
	background-color: #727b84;
    border-color: #6c757d;
}
.btn-red {
    color: #ffffff;
    background-color: #DF2A2A;
}
.btn-red:hover {
    background-color: #be2727;
}
/*-----------------------------------------------------------------------*/
.mB-25{
	margin-bottom: 25px !important;
}
.mB-20{
	margin-bottom: 20px !important;
}
.mB-15{
	margin-bottom: 15px !important;
}
.mB-10{
	margin-bottom: 10px !important;
}
.mT-15{
	margin-top: 25px !important;
}
.mT-10{
    margin-top: 10px !important;
}
.mT-15{
	margin-top: 15px !important;
}
.mT-20{
    margin-top: 20px !important;
}
/*-----------------------------------------------------------------------*/
.nav{
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #72777a;
}
.nav i{
	line-height: 14px;
	font-size: 22px;
}
.nav a{
	display: block;
	padding-left: 5px;
	padding-right: 5px;
}
.nav a.active{
	color: #ab92d5;
}

@media screen and (max-width: 950px) {
	.nav{
		flex-wrap: wrap;
		align-items: flex-end;
	}
	.nav > *{
		flex-shrink: 0;
	}
}
@media screen and (max-width: 500px) {
	.nav{
		font-size: 12px;
		height: 40px;
		margin-bottom: 10px;
	}
	.mask svg{
		max-width: 100%;
	    max-height: 100%;
	    object-fit: contain;
	}
}
/*-----------------------------------------------------------------------*/
.zagolovok{
	color: #313435;
	font-size: 22px;
	font-weight: 500;
}
/*-----------------------------------------------------------------------*/
.etap:not(.active){
	display: none;
}
/*-----------------------------------------------------------------------*/
.form-control{
	display: block;
    width: 100%;
    padding: 6px 12px;
    padding: 0.375rem 0.75rem;
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-image: none;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;

    margin: 0;
    font-family: inherit;
}
/*-----------------------------------------------------------------------*/
.modal{
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow: auto;
    display: none;
}
.modal.active{
    display: flex;
}
.modal > div{
    max-width: 400px;
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}
.modal-zagolovok{
    font-size: 18px;
    padding: 20px 20px;
    border-bottom: 1px solid lightgrey;
}
.modal-content{
    padding: 20px 20px;
    flex-grow: 1;
}
.modal-close{
    position: absolute;
    z-index: 21;
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 5px;
    font-size: 18px;
    color: gray;
    cursor: pointer;
}
.modal-close:hover{
    color: black;
}
/*-----------------------------------------------------------------------*/
.text{

}
.text a{
	text-decoration: underline;
}
/*-----------------------------------------------------------------------*/
b{
	font-weight: 500;
}
/*-----------------------------------------------------------------------*/
.submenu.chat{
	width: 300px !important;
    height: 250px;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    overflow: auto;
}
.submenu.chat > div{
    background-color: #f6f6f6;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    margin-bottom: 10px;
    text-align: left;
    display: flex;
    align-items: center;

}
.submenu.chat > div .icon{
    display: flex;
    align-items: center;
    justify-content: center;
}
.submenu.chat > div .icon img{
    height: 25px;
}
.submenu.chat > div .text{
    padding-left: 10px;
    font-size: 12px;
    line-height: 12px;
}
.submenu.chat > div .time{
    font-size: 10px;
    line-height: 10px;
    text-align: right;
    margin-top: 5px;
}
/*-----------------------------------------------------------------------*/
.oes-toast{
    position: fixed;
    top: 25px;
    right: 50px;
    width: 300px;
    height: 50px;
    border-radius: 5px;
    z-index: 999999;
    color: black;
    display: flex;

    background: white;
    box-shadow: 0 0 13px 7px #00000026;

    border-left: 7px solid #ff3a30;
    margin-top: 0px;
    transition: .5s ease margin-top, .5s ease right;

    right: -300px;

    font-size: 12px;
    line-height: 12px;

}
.oes-toast.oes-ready{
    right: 50px;
}
.oes-toast.oes-deleting{
    right: -300px;
}
.oes-toast .oes-toast-icon{
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 32px;
    color: #ff3a30;
}
.oes-toast .oes-toast-text{
    padding-left: 5px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: black;
}
/*-----------------------------------------------------------------------*/
.staticPage{
    background-color: white;
    padding: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
.staticPage p{
    margin-top: 0px;
    margin-bottom: 5px;
}
.staticPage b, .staticPage strong{
    font-weight: 600;
}
/*-----------------------------------------------------------------------*/
.help{
    max-width: 1200px;
    width: 100%;
}
.help-item{
    margin-bottom: 10px;
    position: relative;
}
.help-title{
    background-color: #ececec;
    color: #000000;
    text-align: left;
    padding: 10px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
}
.help-title:before {
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    line-height: 16px;
    font-size: 24px;
    padding-right: 15px;
    content: "\F0142";
}
.help-item.active .help-title:before {
    content: "\F0140";
}
.help-content{
    display: none;
    background-color: #ffffff;
    text-align: left;
    padding: 10px 10px 10px 50px;
}
.help-item.active .help-content{
    display: block;
}
/*-----------------------------------------------------------------------*/
header.mini{
    height: 20px;
}
/*-----------------------------------------------------------------------*/