/* 
==========================================================================
   W4 Content Management System
   v7.00
   author: n4k.eu
========================================================================== 
*/

/*336CA6 blue*/
/*B80646 red*/

html,
body {
  height: 100%;
}


body {
	font-family: 'Exo 2', sans-serif;
	font-weight: 400;
	/*background-color: #336CA6;*/
}


a{
	text-decoration: none;
}


.btn {
	padding: .25rem .75rem;
}

.link-help{
	cursor:help !important;
}


@media (max-width: 767px) {
	#lang , #lang ul li {
	width: 120px;
	color: #222;
	text-decoration: none;
	display: block;
	margin-left: 20px;
	margin-bottom: 5px;
	font-size: 14px;
}
}



body.login {
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	-ms-flex-align: center;
	-ms-flex-pack: center;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	padding-top: 40px;
	padding-bottom: 40px;
	background-color: #f5f5f5;
	text-align: center;
	position: relative;
}


body.login::after {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: url(../img/bg_patern.png);
    background-repeat: repeat;
    min-height: 100%;
    width: 100%;
    z-index: 1;
}
body.login::before {
    content: '';
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    background: #fcfcfc url(../img/bg.jpg) repeat center center;
    min-height: 100%;
    width: 100%;
    z-index: 1;
}

@media (min-width: 1921px) {
	body.login::before {
		background: #fcfcfc url(../img/bg2520.jpg) repeat center center;
	}
}




#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999; 
	background-color: #FFF;
}

#status {
    width:60px;
    height:60px;
    position: absolute;
    left:50%; 
    top:50%; 
    margin:-30px 0 0 -30px; 

}



/*** LOGIN ***/

.form-signin {
	width: 100%;
	max-width: 330px;
	padding: 60px 30px 30px;
	margin: 0 auto;
	border-radius: 10px;
	background-color: #444;
	background-color: rgba(15, 37, 51, 0.8);
	position: relative;
	z-index: 100;
}


.form-signin h1 {
	color: #FFF;
	font-size: 14px;
	margin: 0 0 20px;
	padding: 0px;
}

.form-signin .input-group{
	margin-bottom: 10px;
}

.form-signin .input-group .form-control {
  position: relative;
  box-sizing: border-box;
  height: auto;
  padding: 10px;
  font-size: 16px;
}
.form-signin .input-group .form-control:focus {
  z-index: 2;
}

.form-signin .input-group input{
  margin-bottom: 0px;
}

.form-signin .input-group .material-icons{
	font-size: 24px;
}

.customer-logo{
	position: relative;
	top: 50px;
	border-radius: 10px;
	display: block;
	overflow: hidden;
	z-index: 1000;
	margin: 0 auto;
	padding: 0px;
	width: 100px;
	height: 100px;
}
.customer-logo::before{
	content: '';
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 1000;
	border: 6px solid rgba(255,255,255,0.3);
	border-radius: 10px;

}


.customer-logo img{
	display: block;
	width: 100px;
	height: 100px;
}


#header{
	display: block;
	height: 50px;
	background-color: #333;
	color: #FFF;
	position: relative;
	z-index: 3;
}


#header #logo {
	margin: 0;
	text-align: left;
	float: left;
	font-weight: 900;
}

#logo a {
	color: #fff;
	display: block;
	padding: 0;
	position: relative;
	width: 150px;
	height: 50px;
	z-index: 2;
	transition: all 0.3s ease;
	text-decoration: none;
}

#header #logo a {
	background-color: #c6044a;
	color: #f4dce5;
	padding: 0 0 0 15px;
	width: 250px;
	height: 50px;
}


#header  #logo a:hover {
	background-color: #b80646;
	color: #ffffff;
	text-decoration: none;
}

#logo a strong {
	font-size: 40px;
	line-height: 44px;
}
#logo a em {
	display: inline-block;
	font-size: 10px;
	text-align: left;
	width: 80px;
	font-weight: 300;
	font-style: normal;
	line-height: 10px;
}


@media (max-width: 765px) {
	
#header #logo a {
	padding: 0 0 0 15px;
	width: 95px;
}	

#header #logo a em,
#header #logo a span{
	display: none;
}
}


#header #logo a span {
	color: #FFF;
	position: absolute;
	right: 5px;
	bottom: 5px;
	font-size: 14px;
	font-weight: 300;
	opacity: 0.7;
}


#site{
	color: #fff;
	opacity: 0.6;
	padding: 0;
	font-size: 18px;
	top: 10px;
	position: absolute;
	left: 270px;
	vertical-align: middle;
	text-decoration: none;
	border-bottom: 1px dotted #333333;
	transition: all 0.3s ease;
	
}

#site .material-icons{
	font-size: 22px;
}

#site:hover{
	/*border-bottom: 1px dotted #fff;*/
	opacity: 1;
}




#top_menu .nav-link {
	padding: .4rem .3rem 0rem .3rem;
	color: #fff;
	opacity: 0.6;
	transition: all 0.3s ease;
}

#top_menu .nav-link .material-icons{
	font-size: 32px;
	line-height: 36px;
}

#top_menu .nav-link:hover {
	opacity: 1;
}


#bars{
	color: #fff;
	background-color: transparent;
	background-image: none;
	border: none !important;
	box-shadow:  !important;
	padding: .05rem .05rem;
	line-height: 1em;
	margin-top: 5px;
	margin-left: 10px;
	margin-right: 10px;
	opacity: 1;
	float: right;
	display:none;
	transition: all 0.3s ease;
}
#bars:hover {
	box-shadow: none;
	opacity: 0.6;
	
}

#bars:focus {
	box-shadow: none;
}





#menu {
	width: 250px;
	background-color: #336CA6;
	min-height: calc(100vh - 50px);
	transition: all 0.4s ease-in-out;
}




@media (max-width: 767px) {	
	#menu {
		width: 100%;
		position: absolute;
		left: -110%;
		top: 50px;
		z-index: 2000;
	}
	
	.menu_show #menu {
		left: 0px;
		/*display:none;*/
	}
		
	#bars{
		display: inline-block;
	}	
}


#main {
	width: calc(100% - 250px);
	/*background-color: #9C0;*/
	position: relative;
	/*z-index: 2;*/
	transition: all 0.3s ease;
	padding: 0px 40px 40px 40px;
}

@media (max-width: 767px) {
	#main {
		width: 100%;
		padding: 0px 30px 30px 30px;
	}
}


.badge-table{
	padding: .5em .8em;
	font-size: 85%;
	font-weight: normal;
	display: block;
}




/* MENU SIDEBAR*/

#menu_sidebar a {
	display: block;
	color: #FFF;
	box-shadow: 0 -1px rgba(0, 0, 0, 0.2) inset;
	color: rgba(255,255,255,0.8);
	display: block;
	font-size: 16px;
	font-weight: normal;
	outline: medium none;
	padding: 0.7em 0.8em;
	position: relative;
	text-decoration: none;
	transition: all 0.3s ease;
}

#menu_sidebar > a .material-icons {
	font-size: 20px;
	display: inline-block;
	margin-right: 5px;
}

#menu_sidebar > div {
	background: #2b5c8d; 
}
#menu_sidebar > div a {
	display: block;
	color: #FFF;
	color: rgba(255,255,255,0.8);
	font-size: 14px;
	padding: 0.6em 0.8em 0.6em 1.6em;
}

#menu_sidebar > div a .material-icons {
	color: rgba(255,255,255,0.5);
	font-size: 18px;
	display: inline-block;
	margin-right: 5px;

}

/*
#menu_sidebar a .icosvg {
	width: 25px;
	opacity: 0.5;
	display: inline-block;
	 -webkit-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
#menu_sidebar a.activ .icosvg,
#menu_sidebar a:hover .icosvg {
	opacity: 1;
}
*/

#menu_sidebar a::before {
	content: "\e315";
	font-family: "Material Icons";
	text-rendering: optimizelegibility;
	font-feature-settings: "liga";
	font-style: normal;
	text-transform: none;
	line-height: 1;
	font-size: 24px;
	width: 24px;
	height: 24px;
	overflow: hidden;	
	color: rgba(0, 0, 0, 0.2);
	display: inline-block;
	font-size: 30px;
	position: absolute;
	right: 12px;
	margin-top: -15px;
	top: 50%;
	z-index: 1;	
}

#menu_sidebar a[data-toggle="collapse"]::before {
	content: "\e316";
}

#menu_sidebar a.collapsed::before {
	content: "\e313";
}



#menu_sidebar a.coll {
	background: #1e3f61; 
}

#menu_sidebar a.collapsed {
	background: none!important;
}


#menu_sidebar a.activ
 {
	color: #FFF!important;
    background: #A4043D!important; 
    box-shadow: 0 -1px rgba(0, 0, 0, 0) inset;
}

#menu_sidebar a:hover
 {
	color: #FFF;
    background: #1e3f61!important; 
    box-shadow: 0 -1px rgba(0, 0, 0, 0) inset;
}




#menu #nav-log {
	color: #FED3E2;
	padding: 5px 10px;
	font-size: 12px;
	cursor: pointer;
	position: relative;
	z-index: 10;
	transition: all 0.3s ease;
	background: #7B022D;
}

#menu #nav-set{
	display: none;
	position: relative;
	z-index: 100;
	transition: all 0.3s ease;
}


#menu #nav-set ul > li > a{
	color: #FEDEEA;
	background-color: #82022F;
}

#menu #nav-set ul li a:hover,
#menu #nav-set ul li.activ a{
	color: #fff;
	background-color: #6C0227;
}








/*** PAGE ***/


.page-header {
	border-bottom: 1px solid #eee;
	margin: 0 0 10px;
	padding: 0px;
}

.page-header h1 {
	margin: 0 0 0 0;
	padding: 14px 0;
	font-size: 36px;
	color: #336CA6;
}

.page-header h1 small {
	font-size: 16px;
	font-weight: 300;
	margin-left: 20px;
	color: #336CA6;
}

@media (max-width: 767px) {
	.page-header h2 {
	margin: 0 0 10px;
	font-size: 26px;
	padding-left: 40px;
	position: relative;
	}
	
	.page-header h2 .fa {
	position: absolute;
	left: 0px;
	top: 0px;
	}
}


.nav-pills .btn,
.nav-pills .nav-link {
	border: 1px solid transparent;
	padding: .30rem .75rem;
	font-size: 0.9rem;
}

.nav-pills .nav-item {
	margin-right: 10px;
}



.section-header {
	margin: 0 0 0 0;
	padding: 20px 0 0 0;
	font-size: 26px;
	color: #336CA6;
	border-bottom: 1px dashed #A6C5E3;
}



/*** FORM ***/

#MainForm{
	margin-top: 30px;
}

fieldset{
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: 1px dashed #A6C5E3;
}

legend {
	border: none;
	color: #87B0DA;
}

.form-group .col-form-label {
	font-weight: 400;
	font-size: 0.9rem;
	color: #336CA6;
	text-align: right;
	margin-bottom: 0;
	padding-top: 7px;
}

.col-form-label.req::after {
	color: #A4043D;
	content: "*";
	right: 5px;
	top: 0;
	margin-left: 2px;
	position: absolute;
}

@media (max-width: 1199px) {
	.form-group .col-form-label {
		text-align: left;
	}
	.col-form-label.req::after {
	color: #A4043D;
	content: "*";
	display: inline-block;
	margin-left: 5px;
	position: relative;
	left: auto;
	top: auto;
	right: auto;
	bottom: auto;
	}
}


.form-control{
	font-size: 0.9rem;
	color: #000;
}

.form-control::placeholder {
    color: #A7B1BA;

}
	


.input-langs .input-group-prepend .input-group-text{
	padding: 7px;
	width: 40px;
}

.input-langs .input-group-prepend .input-group-text img{
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 50%;
}

.nav-item-langs {
}
.nav-item-langs a{
	width: 40px;
	height: 40px;
	padding: 7px;
	border-color: #dee2e6 #dee2e6 #fff!important;
	opacity: 0.4;
	background-color: #E9ECEF;
}
.nav-item-langs a.show, .nav-item-langs a.active {
	opacity: 1;
	background-color: #E9ECEF!important;
	border-bottom-style: none;
}
.nav-item-langs a img{
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 50%;
}
.tab-textarea{
	border: 3px solid #e9ecef;
}


/*** CUSTOM RADIO AND CHECKBOX ***/

.custom-radio.custom-control-inline {
	margin-right: 2rem;
}

.custom-control-label {
	padding-left: 5px;
/*	font-size: 1rem !important;
	color: #333 ;
	text-align: left;
	margin-bottom: 0;
	padding-top: 0;	*/
}



.custom-control-label::before {
	top: 0;
	width: 1.4rem;
	height: 1.4rem;
}

.custom-control-label::after {
	top: 0;
	width: 1.4rem;
	height: 1.4rem;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label-danger::before,
.custom-control-input:checked ~ .custom-control-label-danger::before {
	background-color: #b80646;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label-success::before,
.custom-control-input:checked ~ .custom-control-label-success::before {
	background-color: #28a745;
}


/*** ALERTS ***/
.alert-absolute{
	position: absolute;
	left: 0px;
	top: 0px;
	right: 0px;
	z-index: 2001;
	min-height: 75px;
}

.alert-absolute button.close {
	position: absolute;
	top: 50%;
	right: 30px;
	margin-top: -24px;
}

@media (max-width: 767px) {
	.alert-absolute{
		left: 0px;
	}
}


/*** TAGSIMPUT ***/

.input-group > .bootstrap-tagsinput {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
	margin-bottom: 0;
}

/*** FILEIMPUTS ***/


.file-input .file-preview .fileinput-remove{
	display: none;
}




/*** REDACTOR ***/

.redactor-box.redactor-styles-on .redactor-toolbar {
	padding: 0 0 3px 0;
}

.redactor-toolbar{
	background-color: #E9ECEF;
	padding: 0;
}
.redactor-toolbar a.re-button-icon {
	border-radius: 0;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
	margin-right: 1px;
	margin-bottom: 0px;
	padding: 10px 12px;
}

  
.redactor-toolbar a.re-button-icon:hover {
	border-radius: 0;
	background: #222;
}






/*** DATATABLE ***/

#DataTable_wrapper{
	margin-top: 30px;
}

#DataTable > tbody > tr > td.buttons {
	vertical-align: middle;
	text-align: center;
	padding: 4px 0!important;
}

#DataTable > tbody > tr > td.buttons > .btn {
	padding: 0px;
	font-size: 18px;
	line-height: 38px;
	text-align: center;
	height: 38px;
	width: 38px;
	vertical-align: middle;
}


/*** DATATIMEPIKER ***/


@media (min-width: 361px) {
	.datetimepicker{
		width: 220px;
	}
}

.dp-time::after,
.dp-date::after,
.dp-up::after,
.dp-down::after,
.dp-previous::after,
.dp-next::after,
.dp-today::after,
.dp-clear::after,
.dp-close::after{
	content: "";
	font-family: "Material Icons";
	text-rendering: optimizelegibility;
	font-feature-settings: "liga";
	font-style: normal;
	text-transform: none;
	line-height: 1;
	font-size: 24px;
	width: 24px;
	height: 24px;
	display: inline-block;
	overflow: hidden;
}

.dp-time::after{content: "\E855";}
.dp-date::after{content: "\E916";}
.dp-up::after{content: "\E316";}
.dp-down::after{content: "\E313";}
.dp-previous::after{content: "\E314";}
.dp-next::after{content: "\E315";}
.dp-today::after{content: "\E1B4";}
.dp-clear::after{content: "\E92B";}
.dp-close::after{content: "\E5CD";}




.badge-table{
	padding: .5em .8em;
	font-size: 85%;
	font-weight: normal;
}



/*** ADMIN RAPORT ***/
.admin_raport{
	padding: 30px;
	position: fixed;
	top: 0px;
	right: -50%;
	width: 50%;
	z-index: 2000;
	transition: all 0.4s ease-in-out;
	height: 100%;
	background-color: #333;
	color: #FFF;
}
@media (max-width: 767px) {
	.admin_raport{
		right: -90%;
		width: 90%;
	}
}

.admin_raport pre{
	overflow: auto;
	width: 100%;
	height: 25%;
	display: block;
	border: 1px solid #CCC;
	color: #FFF;
	font-size: 14px;
}

.admin_raport:hover{
	right: 0;
}

.admin_raport::before{
	content: "\E3E7";
	font-family: "Material Icons";
	text-rendering: optimizelegibility;
	font-feature-settings: "liga";
	font-style: normal;
	text-transform: none;
	display: inline-block;
	overflow: hidden;	
	background-color: #333;
	display: block;
	height: 30px;
	width: 30px;
	position: absolute;
	left: -30px;
	top: 125px;
	font-size: 22px;
	line-height: 30px;
	color: #FFF;
	text-align: center;
}



.list_gallery{
	margin: 0 -15px;
	padding: 0px;
	list-style: none;
}

.list_gallery:before,
.list_gallery:after {
  content: " ";
  display: table;
}

.list_gallery:after {
  clear: both;
}




.list_gallery .item{
	margin-bottom: 30px;
	flex: 0 0 16.6666666%;
	max-width: 16.6666666%;
}

@media (max-width: 1700px) {
	.list_gallery .item{
		flex: 0 0 20%;
		max-width: 20%;
	}
}
@media (max-width: 1500px) {
	.list_gallery .item{
		flex: 0 0 25%;
		max-width: 25%;
	}
}

@media (max-width: 1200px) {
	.list_gallery .item{
		flex: 0 0 33.3333333%;
		max-width: 33.3333333%;
	}
}

@media (max-width: 900px) {
	.list_gallery .item{
		flex: 0 0 50%;
		max-width: 50%;
	}
}
@media (max-width: 767px) {
	.list_gallery .item{
		flex: 0 0 33.3333333%;
		max-width: 33.3333333%;
	}
}

@media (max-width: 575px) {
	.list_gallery .item{
		flex: 0 0 50%;
		max-width: 50%;
	}
}
@media (max-width: 479px) {
	.list_gallery .item{
		flex: 0 0 100%;
		max-width: 260px;
	}
}


/*foto-del*/
.list_gallery .item .foto-del{
	height: 68px;
	width: 33px;
	position: absolute;
	top: 5px;
	right: 20px;
	background-color: rgba(0,0,0,0.4);
	padding: 7px 5px 5px 5px;
}


.list_gallery .item .foto-del .custom-control-label::before {
	background-color: #fff;
}

.list_gallery .item .foto-del .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #B80646;
}


.list_gallery .item .foto-del .material-icons{
	font-size: 32px;
	color: #FFF;
	position: absolute;
	left: -4px;
	top: 27px;
}

/*foto-front*/
.list_gallery .item .foto-front{
	height: 68px;
	width: 33px;
	position: absolute;
	top: 5px;
	left: 20px;
	background-color: rgba(0,0,0,0.4);
	padding: 7px 5px 5px 5px;
}


/*.list_gallery .item .foto-front .custom-control-label::before {
	background-color: #fff;
}

.list_gallery .item .foto-front .custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
	background-color: #B80646;
}
*/

.list_gallery .item .foto-front .material-icons{
	font-size: 28px;
	color: #FFF;
	position: absolute;
	left: -3px;
	top: 27px;
}






/*sortable*/

.sortable li {
    list-style: outside none none
	
}


li.sortable-placeholder {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px dashed #ccc;
	display: inline-block;
	width: 25%;
}
@media (min-width: 992px) and (max-width: 1199px) {
	li.sortable-placeholder {
		width: 33.3333333333%;
	}
}
@media (min-width: 768px) and (max-width: 991px) {
	li.sortable-placeholder {
		width: 50%;
	}
}
@media (min-width: 576px) and (max-width: 767px) {
	li.sortable-placeholder {
		width: 33.3333333333%;
	}	
}
@media (max-width: 575px) {
	li.sortable-placeholder {
		width: 50%;
	}	
}

/*** TABLE **/


.table td,  th {
	line-height: 1em;
	vertical-align: middle;
}

/*** MODAL **/
.modal-header{
	background-color: #336CA6;
	color: #FFF;
}
.modal-header .close{
	color: #FFF;
	background-color: #c6044a;
	opacity: 1;
	transition: all 0.3s ease;
}

.modal-header .close:hover{
	color: #fff;
	background-color: #222;
}

.modal-body.modal-img{
	padding: 10px;
}


/*** FOOTER **/

#footer{
	background-color: #c6044a;
	position: fixed;
	right: -208px;
	bottom: 30px;
	color: #FFF;
	cursor: pointer;
	transition: all 0.4s ease-in-out;
	z-index: 2001;
}

#footer:hover{
	right: 0px;
	bottom: 30px;
}

#footer a{
	color: #FFF;
	padding: 5px 20px 5px 0px;
	display: inline-block;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}

#footer span{
	color: #FFF;
	background-color: #A4043D;
	margin-right: 10px;
	padding: 5px 10px;
	font-size: 16px;
}


#fitweird{
	z-index: 1000;
}



.testTJH::before{
	content: "\E859";
	font-family: "Material Icons";
	text-rendering: optimizelegibility;
	font-feature-settings: "liga";
	font-style: normal;
	text-transform: none;
	line-height: 1;
	font-size: 24px;
	width: 24px;
	height: 24px;
	display: inline-block;
	overflow: hidden;	
}





/*masses*/

#stage .ms-item:before,
#stage .ms-item:after {
  content: " ";
  display: table;
}

#stage .ms-item:after {
  clear: both;
}

#stage .ms-item{
	margin-bottom: 10px;
}

#stage .ms-item .mass_day,
#stage .ms-item .time,
#stage .ms-item .comments,
#stage .ms-item .del  {
			
}
#stage .ms-item .comments span {
	min-height: 30px;
}
@media (min-width: 576px) {

	#stage .ms-item .mass_day{
		width: 180px;
		margin-right: 5px;
	}
	
	#stage .ms-item .time {
		width: 120px;
		margin-right: 5px; 
	}			

	#stage .ms-item .comments {
		flex-basis: 0;
		flex-grow: 1;
		max-width: 100%;
		margin-right: 5px;
	}
	#stage .ms-item .comments span{
		text-align: left;
	}	
	#stage .ms-item .del {
		margin-left: auto !important;
	}
}

@media (max-width: 991px) {
	#stage .ms-item .mass_day{
		width: 140px;
	}
	
	#stage .ms-item .time {
		width: 80px;
	}			

}

@media (max-width: 575px) {
	#stage .ms-item{
	margin-bottom: 20px;
	text-align: center;
	}

	#stage .ms-item .mass_day,
	#stage .ms-item .time,
	#stage .ms-item .comments,
	#stage .ms-item .del{
	width: 100%;
	margin-bottom: 4px;
	}
	
}



.select100 .bootstrap-select {
	width: 100% !important;
}


/*
	#stage .ms-item .comments {
		min-height: 30px;
	}

@media (min-width: 576px) {

	#stage .ms-item .day {
		text-align: center;
		width: 180px; 
	}
	
	#stage .ms-item .time {
		text-align: center;
		width: 120px; 
	}
	
	#stage .ms-item .comments {
		text-align: left;
	}
	
	#stage .ms-item .del {
		float: right;
	}
}*/