body{
	background-color: #eee;
}

.row{
	margin-left: 0;
	margin-right: 0;
}

.main-container{
	margin-top: 10px;
}

.nav-item-wrapper{
	padding: 10px;
	text-decoration: none;
}

.nav-item-wrapper:hover, .nav-item-wrapper:focus{
	text-decoration: none;
}

.nav-item{
	background-color: #fff;
	/*box-shadow: 0 0 10px rgba(0,0,0,0.125);*/
	border-radius: 3px;
	padding: 10px;
	cursor: pointer;
	transition-duration: 0.2s;
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	flex-flow: column;
	justify-content: center;
}
/*
.nav-item:hover, .nav-item:focus{
	background-color: #eee;
}

.nav-item:hover .nav-item-title, .nav-item:focus .nav-item-title{
	text-shadow: none;
}
*/

.nav-item-title{
	position: relative;
	text-transform: uppercase;
	text-align: center;
	font-weight: 600;
	font-size: 1.4rem;
	line-height: 1.4rem;
	color: #333;
	width: 100%;
}

.nav-item-icon{
	font-size: 2.8rem;
	color: #eee;
	z-index: 0;
	transition-duration: 0.2s;
	width: 100%;
	text-align: center;
	margin-bottom: 10px;
}

.nav-item:hover .nav-item-icon, .nav-item:focus .nav-item-icon{
	color: #333;
}

.nav-row{
	margin-bottom: 10px;
}

.title-menu-group{
	font-size: 1.6rem;
	text-transform: uppercase;
	color: #000;
	letter-spacing: 0.3rem;
}

/* Хэдер */

.header{
	padding: 5px;
	padding-top: 0;
}

.header-wrapper{
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0,0,0,0.125);
}

.header-org-info{
	font-size: 8pt;
	display: grid;
}

.header-logo-wrapper{
	padding-left: 0;
	padding-right: 0;
	display: grid;
	align-items: center;
}

.header-logo{
	padding-top: 4px;
	max-height: 65px;
}

.header-user-info-wrapper{
	padding: 0;
	padding-left: 5px;
}

.header-user-info{
	padding-left: 0;
	padding-right: 0;
}

.header-user-info-title{
	padding-top: 5px;
	font-weight: bold;
	line-height: 16px;
	display: grid;
}

.menu-logout{
	font-size: 20pt;
	cursor: pointer;
	color: #333;
	transition-duration: 0.2s;
}

.menu-logout:hover, .menu-logout:focus{
	color: #555;
}

.menu-logout-wrap{
	display: grid;
	align-items: center;
}

/* Свитчи */

.tgl {
    display: none;
}
.tgl, .tgl:after, .tgl:before, .tgl *, .tgl *:after, .tgl *:before, .tgl + .tgl-btn {
    box-sizing: border-box;
}
.tgl::selection, .tgl:after::selection, .tgl:before::selection, .tgl *::selection, .tgl *:after::selection, .tgl *:before::selection, .tgl + .tgl-btn::selection {
    background: none;
}
.tgl + .tgl-btn {
    outline: 0;
    display: block;
    width: 3em;
    height: 1.5em;
    position: relative;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
    flex-shrink: 0;
}
.tgl + .tgl-btn:after, .tgl + .tgl-btn:before {
    position: relative;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
}
.tgl + .tgl-btn:after {
    left: 0;
}
.tgl + .tgl-btn:before {
    display: none;
}
.tgl:checked + .tgl-btn:after {
    left: 50%;
}
.tgl-light + .tgl-btn {
    background: #f0f0f0;
    border-radius: 2em;
    padding: 2px;
    transition: all 0.4s ease;
}
.tgl-light + .tgl-btn:after {
    border-radius: 50%;
    background: #fff;
    transition: all 0.2s ease;
}
.tgl-light:checked + .tgl-btn {
    background: #007bff;
}

.tgl-light:disabled + .cb-label{
	color: #eee;
}

.cb-label{
	margin-left: 10px;
	margin-bottom: 0;
}

.row-without-col{
	padding-left: 15px; 
	padding-right: 15px; 
}

.cb-wrapper{
	padding-top: 5px;
	padding-bottom: 5px;
	display: flex;
	flex-flow: row;
	align-items: center;
}

.icon-question{
	cursor: pointer;
	position: relative;
}

.pop-up-info{
	position: absolute;
	left: -17px;
	top: 0;
	width: 50vmin;
	border: 2px black;
	background-color: #eee;
	padding: 5px 10px;
	padding-right: 20px;
	display: none;
}

.pop-up-info::after {
    content: ''; 
    position: absolute;
    left: 20px; bottom: -25px;
    border: 10px solid transparent;
	border-top: 15px solid #eee; 
}

.pop-up-info-close{
	position: absolute;
	right: 7px;
	top: 5px;
	color: #333;
	transition-duration: 0.2s;
	cursor: pointer;
	font-size: 9pt;
}

.pop-up-info-close:hover, .pop-up-info-close:focus{
	color: #555;
}

.pop-up-info-body{
	word-wrap: break-word;
	font-size: 13pt;
	text-align: left;
	font-weight: normal;
}

.pop-up-info-wrapper{
	display: inline-block;
	position: relative;
}

.mobile{
	position: absolute;
}

@media (orientation: portrait) {
	.mobile{
		display: none;
	}
}

.loader-wrapper{
	display: none;
	align-items: center;
	position: fixed;
	margin: auto;
	width: 20rem;
	height: 10rem;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 3000;
	justify-content: center;
	flex-direction: column;
}

.loader-image{
	display: block;
	margin: 0 auto;
	width: 100%;
}

@keyframes load {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0.5;
	}
}

#loader-text{
	margin: 0 auto;
	text-align: center;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16pt;
	animation: 1s linear 1s infinite alternate load;
}

#steps-fivepercent-slider .ui-slider-tip {
    visibility: visible;
    opacity: 1;
    top: -30px;
}

#back-page{
	font-weight: bold;
	font-size: 20px;
	margin: 10px auto;
	cursor: pointer;
	text-transform: uppercase;
	color: #333;
	transition-duration: 0.2s;
	margin-bottom: 5px;
}

#back-page:hover, #back-page:focus{
	color: #666;	
}

.blocked-item{
	position: absolute;
	background-color: rgba(238, 238, 238, 0.5);
	z-index: 5;
	cursor: not-allowed;
	width: calc(100% - 20px);
	height: calc(100% - 20px);
}

.blocked-item-icon{
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 15pt;
}

.footer .col-sm a{
	color: #333 !important;
}

.footer{
	padding-top: 4px;
	padding-bottom: 4px;
}
.footer .col-sm{
	text-align: center;
}

.footer-img{
	height: 25px;
}

.footer-wrapper{
	background-color: #f7f7f7;
	box-shadow: 0 0 10px rgba(0,0,0,0.125);
	min-height: 20px;
	position: fixed;
	bottom: 0;
	width: 100%;
	left: 0;
}

.footer-offset{
	height: 50px;
}

@media (orientation: portrait) {
	.box2{
		order: 1;
	}
	.box3{
		order: 2;
	}
	.box4{
		order: 3;
	}
	.footer{
		height: auto;
	}
	.footer-wrapper{
		position: relative;
		margin-top: 5px;
	}
	.footer-offset{
		display: none;
	}
	.footer-img{
		height: 18px;
	}
}

.filter-option{
	height: auto !important;
}

.badge{
	text-align: left;
	white-space: break-spaces;
	line-height: 1.1;
}

.popup-buttons{
	margin-left: 5px;
}

.custom-file-label::after{
	content: "Выбрать" !important;
}

.custom-file-label{
	text-align: left;
}

.popup-row{
	border-top: 1px solid #eee;
	min-height: 35px;
	display: flex;
	align-items: center;
	flex-flow: row;
}

.popup-stamp{
	margin: 0 auto;
}

.popup-field{
	font-weight: bold;
	text-align: left;
	padding-left: 0;
}

.popup-field-value{
	text-align: right;
	width: 100%;
}

.popup-stamp_url{
	margin-top: 10px;
}

@media (orientation: portrait) {
	.popup-buttons{
		display: inline !important;
		margin-top: 5px;
	}

	.table-controls{
		margin-bottom: 10px !important;
	}
}

/* Анимации */

.animate__animated.animate__slideInRight {
  --animate-duration: 0.3s;
}

.animate__animated.animate__slideOutRight {
  --animate-duration: 0.3s;
}

/* CRM */

#service-form-title{ 
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-weight: 600;
}

.form-services{
	margin-left: -9px;
	margin-right: -9px;
	padding: 18px 0;
}

.services-menu-item{
	cursor: pointer;
	transition-duration: 0.2s;
}

.services-menu-item:hover{
	background-color: #eee;
}

.col-low{
	padding-left: 1px;
	padding-right: 1px;
}

.swal2-actions{
	z-index: 0 !important;
}

.tabulator-tableHolder{
	-ms-overflow-style: none;
    scrollbar-width: none;
}

.tabulator-tableHolder::-webkit-scrollbar {
    width: 0px;  
    background: transparent;
}

.tabulator .tabulator-tableHolder{
	padding-bottom: 20px;	
}

.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark{
	right: 30px !important;
}

@media (min-width: 700px) and (max-width: 1300px) {
    .tabulator{
    	font-size: 12px !important;
    }
    .btn{
    	font-size: 0.9rem !important;	
    }
    .swal2-content{
    	font-size: 0.9rem !important;	
    }
    .swal2-title{
    	font-size: 1.5rem !important;	
    }
    body{
    	font-size: 0.9rem !important;
    }
}

@media (min-width:1900px) {
 .col-xxl {
  -ms-flex-preferred-size:0;
  flex-basis:0;
  -ms-flex-positive:1;
  flex-grow:1;
  max-width:100%
 }
 .row-cols-xxl-1>* {
  -ms-flex:0 0 100%;
  flex:0 0 100%;
  max-width:100%
 }
 .row-cols-xxl-2>* {
  -ms-flex:0 0 50%;
  flex:0 0 50%;
  max-width:50%
 }
 .row-cols-xxl-3>* {
  -ms-flex:0 0 33.333333%;
  flex:0 0 33.333333%;
  max-width:33.333333%
 }
 .row-cols-xxl-4>* {
  -ms-flex:0 0 25%;
  flex:0 0 25%;
  max-width:25%
 }
 .row-cols-xxl-5>* {
  -ms-flex:0 0 20%;
  flex:0 0 20%;
  max-width:20%
 }
 .row-cols-xxl-6>* {
  -ms-flex:0 0 16.666667%;
  flex:0 0 16.666667%;
  max-width:16.666667%
 }
 .col-xxl-auto {
  -ms-flex:0 0 auto;
  flex:0 0 auto;
  width:auto;
  max-width:100%
 }
 .col-xxl-1 {
  -ms-flex:0 0 8.333333%;
  flex:0 0 8.333333%;
  max-width:8.333333%
 }
 .col-xxl-2 {
  -ms-flex:0 0 16.666667%;
  flex:0 0 16.666667%;
  max-width:16.666667%
 }
 .col-xxl-3 {
  -ms-flex:0 0 25%;
  flex:0 0 25%;
  max-width:25%
 }
 .col-xxl-4 {
  -ms-flex:0 0 33.333333%;
  flex:0 0 33.333333%;
  max-width:33.333333%
 }
 .col-xxl-5 {
  -ms-flex:0 0 41.666667%;
  flex:0 0 41.666667%;
  max-width:41.666667%
 }
 .col-xxl-6 {
  -ms-flex:0 0 50%;
  flex:0 0 50%;
  max-width:50%
 }
 .col-xxl-7 {
  -ms-flex:0 0 58.333333%;
  flex:0 0 58.333333%;
  max-width:58.333333%
 }
 .col-xxl-8 {
  -ms-flex:0 0 66.666667%;
  flex:0 0 66.666667%;
  max-width:66.666667%
 }
 .col-xxl-9 {
  -ms-flex:0 0 75%;
  flex:0 0 75%;
  max-width:75%
 }
 .col-xxl-10 {
  -ms-flex:0 0 83.333333%;
  flex:0 0 83.333333%;
  max-width:83.333333%
 }
 .col-xxl-11 {
  -ms-flex:0 0 91.666667%;
  flex:0 0 91.666667%;
  max-width:91.666667%
 }
 .col-xxl-12 {
  -ms-flex:0 0 100%;
  flex:0 0 100%;
  max-width:100%
 }
}