/************************************************/
/**************** MARTIN JEDLICKA ***************/
/************************************************/

/** HEADER **/
/*
aside#left-panel {
	background: linear-gradient(to right,#2c3d4c 93%,#2c3d4c 100%) !important;
}

nav ul li a {
	color: #f4f6fa !important;
}

.menu-on-top li.active {
	background-color: lightgrey;
	font-weight: 700 !important;
}

.menu-on-top li.active a {
	color: #2c3d4c !important;
}

.menu-on-top li ul a {
	color: #2c3d4c !important;
}

.menu-on-top nav ul ul li a:hover, .menu-on-top nav ul ul li:hover>a, .menu-on-top nav ul ul ul li a:hover {
	color: #fff !important;
	background-color: #4C4F53;
}
*/

/** **/

html, body {
	background: none;
	font-family: "Open Sans",Arial,Helvetica,Sans-Serif;
}

.form-control {
	font-size: 13px;
	height: 33px;
}

/** zmena barvy labelu u formu v tabulce */
form table td:first-child label, form section label {
	font-weight: 600;
	color: #15155b;
}

.jarviswidget-color-green>header {
	border-color: #356e35 !important;
	background: #356e35;
	color: #fff;
}

/** Header - language switcher */
.dropbtn { /*background-color: #4CAF50;*/ color: black; /*padding: 6px;*/ font-size: 16px; border: none; cursor: pointer; }
.dropbtn:hover, .dropbtn:focus { background-color: #f9f9f9;}
.language-widget { top: 8px; float: right; position: relative; display: inline-block; }
.language-content { display: none; position: absolute; background-color: white; /*min-width: 160px;*/ overflow: auto; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); right: 0; z-index: 2000; }
.language-content a { color: black; padding: 5px 40px; text-decoration: none; display: block; }
.language-widget a:hover { background-color: #f1f1f1 }
.show {display:block;}
.icon-cz-default { background: url("../images/lang/czech.png") 0px 5px no-repeat; width: 24px;	height: 24px; }
.icon-cz { background: url("../images/lang/czech.png") 5px 5px no-repeat; }
.icon-sk-default { background: url("../images/lang/slovakia.png") 0px 5px no-repeat; width: 24px; height: 24px; }
.icon-sk { background: url("../images/lang/slovakia.png") 5px 5px no-repeat; }

#eso-navbar {  }

.navbar-inverse .navbar-nav > .active > a { background: #28A828; }

/** modalni okna */
iframe { overflow: scroll; /*width: 100%; height: 500px;*/ border: 0px solid white; }
.form-actions { display: block; padding: 13px 14px 15px; border-top: none; background: white; margin-top: 0px; margin-left: -13px; margin-right: -13px; margin-bottom: -13px; text-align: right; }

/** Calendar */
.fc-toolbar.fc-header-toolbar {padding-left: 10px;}

.bg-color-darken { color: white; background-color: #404040 !important; }
.bg-color-blue { color: white; background-color: #57889C !important; }
.bg-color-orange { color: white; background-color: #C79121 !important; }
.bg-color-greenLight { color: white; background-color: #71843F !important; }
.bg-color-blueLight { color: white; background-color: #92A2A8 !important; }
.bg-color-red { color: white; background-color: #A90329 !important; }

#calendar .fc-event { font-size: 15px;}

.fc-scroller { height: auto !important; }

input.datepicker {
	padding-left: 10px !important;
}

/*#calendar .fc-sat, .fc-sun { background-color: whitesmoke !important; }*/

#btn-today, #btn-prev, #btn-next { font-size: 12px; padding: 3px 10px 3px 10px; }

/** Stavy zakazek */
.circle_state_contracts { width: 20px; height: 20px; border-radius: 50%; }
.circle_state_customer { font-size: 13px; display: inline-block; width: 20px; height: 20px; border-radius: 50%; margin: 5px; }
.circle_state_customer a, .circle_state_contracts a { color: white; font-weight: bold; position: relative; float: left; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.circle_yellow a { color: black; font-weight: bold; }

/** Panely u zakazek - hledani a filtr */
#table-search {	padding:10px 10px 5px 10px; border-width: 0 0 0 1px; }
#table-filter { padding:5px 10px 0 10px; border-width: 0 1px 0 0; }

.panel-title { font-size: 15px; font-weight: 500; background-color: #f9f9f9; border-top: 1px solid #ddd; }

.label-item { text-align: center; color: black !important; border: none; opacity: unset; font-weight: 600; }
.label-item:focus { outline: 0; box-shadow: none; }

/** disable input */
.disable-input { pointer-events:none! important; color:#AAA !important; background:#F5F5F5 !important; }

/** modal */
.modal-header { background-color: #356e35; color: white; }
.modal-header .close { font-size: 25px; color: white; opacity: 0.8; }

/** - start - h2 v hlavicce jarviswidget */
@media only screen and (max-width: 479px) and (min-width: 320px) {
	.jarviswidget header h2 {
		width: auto;
	}
}
/** - konec -  */

/** Mobil */
@media (max-width: 768px) {
	table#sortfaktury { display: block; overflow-x:scroll; }

	#warehouse-search { width:100%; border-width: 0px 1px 0px 1px; }
	#warehouse-actions { width:100%; border-width: 0px 1px 0px 1px;}
}

/* notification */
#notifications span#activity {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	cursor: default!important;
	display: inline-block;
	font-weight: 700;
	height: 24px;
	width: 24px;
	padding: 2px;
	text-align: center;
	text-decoration: none!important;
	-moz-user-select: none;
	-webkit-user-select: none;
	background-color: #f8f8f8;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#f8f8f8),to(#f1f1f1));
	background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -moz-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -ms-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: -o-linear-gradient(top,#f8f8f8,#f1f1f1);
	background-image: linear-gradient(top,#f8f8f8,#f1f1f1);
	border: 1px solid #bfbfbf;
	color: #6D6A69;
	font-size: 16px;
	margin: 10px 0 0;
	position: relative;
}

#notifications span#activity:hover {
	border: 1px solid #bfbfbf;
	transition: all 0s;
	cursor: pointer!important;
	-webkit-box-shadow: inset 0 0 4px 1px rgba(0,0,0,.08);
	box-shadow: inset 0 0 4px 1px rgba(0,0,0,.08);
}

#notifications * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

nav>ul>li>a>i>em {
	font-size: 14px;
	display: block;
	padding: 3px;
	position: absolute;
	top: -5px;
	right: -5px;
	text-decoration: none;
	font-style: normal;
	background: #ED1C24;
	color: #fff;
	min-width: 18px;
	border-radius: 50%;
	max-height: 18px;
	line-height: 11px;
	font-weight: 700;
	vertical-align: baseline;
	white-space: nowrap;
	text-align: center;
	border: 1px solid rgba(255,255,255,.1);
}

/* header */
#logout .btn-sudo {
	background-image: none;
	background-color: #c79121;
	border-color: #b1811d;
	color: #fff;
}

#logout .btn-sudo:hover {
	background-color: #9b711a;
	border-color: #7d5b15;
}

#logout .btn-header-eso, #fullscreen .btn-header-eso {
	color: black;
	background-color: #f8f8f8;
	background-image: none;
	border-radius: 3px;
}

#logout .btn-header-eso:hover, #fullscreen .btn-header-eso:hover {
	border: 1px solid #bfbfbf;
	color: #222;
	transition: all 0s;
	cursor: pointer;
	-webkit-box-shadow: inset 0 0 4px 1px rgba(0,0,0,.08);
	box-shadow: inset 0 0 4px 1px rgba(0,0,0,.08);
}

#table-toolbar #label-search, #contracts-search #label-search {
	margin-bottom: 0px;
	display:inline-block; 
	vertical-align:middle;
}

/** autocomplete vyberu polozky ze skladu v zakazce */ 
.ui-menu .ui-menu-item a.ui-corner-all {
	color: black	
} 

.ui-menu .ui-menu-item a.ui-corner-all:hover {
	color: blue;
}
 
/** tlacitka */ 


/***/  
.filter-select {
 	width: 100%;
 	/*font-weight: initial;*/
 }

/** vetsi pismo v divu widgetu jarviswidget */
.jarviswidget div {
	font-size: 13px;
}

/** odkaz vymazat filtry na homepage */
.delete-filters {
	color: white;
	text-decoration: underline;
}

.delete-filters:hover {
	/*font-weight: bold;*/
    color: lightskyblue;
}

/** Nastaveni sparks */
#sparks .sparks-info h5 {
	margin-top: 3px;
}

/** Barva pozadi soboty a nedele v kalendari */
/* .fc-sat, .fc-sun {
    background-color: #fff4f4!important;
} 
*/

/** Max sirka polozky menu */
.menu-on-top .menu-item-parent {
	max-width: 120px;
}

#logout .btn-logout {
	padding-left: 10px;
	padding-right: 10px;
}
 
#logout .logout-name {
	padding-left: 5px;
	font: menu;
    font-size: 14px;
} 
 
.smart-style-4 #header>:first-child {
	background: white;
}

.widget-toolbar .btn-group {
	margin-top: -5px;
}

.flash {
	text-align: center;
	margin: auto;
	width: 40%;
}

/*alert styling*/
#flash.alert-success {
	border-color: #e6e6e6;
	border-left: 5px solid #00986a;
	background-color: #F8F8F8;
	color: #888;
}

#flash.alert-info {
	border-color: #e6e6e6;
	border-left: 5px solid #00b3c8;
	background-color: #F8F8F8;
	color: #888;
}

#flash.alert-warning {
	border-color: #e6e6e6;
	border-left: 5px solid #f9af2c;
	background-color: #F8F8F8;
	color: #888;
}

#flash.alert-danger {
	border-color: #e6e6e6;
	border-left: 5px solid #c82630;
	background-color: #F8F8F8;
	color: #888;
}

@media (min-width: 768px) {
	#flash.alert {
		border-radius: 6px;
		display: table;
		/*width: 100%;*/
		padding-left: 78px;
		/*position: relative;*/
		padding-right: 60px;
		border: 1px solid #e6e6e6;
	}

	#flash.alert .close {
		color: #888;
		opacity: 1;
		float: none;
		position: absolute;
		right: 18px;
		top: 50%;
		margin-top: -12px;
		font-size: 25px;
	}

	#flash.alert .icon {
		text-align: center;
		width: 58px;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
		border: 1px solid #bdbdbd;
		padding-top: 15px;
		border-radius: 6px 0 0 6px;
	}

	#flash.alert .icon i {
		font-size: 20px;
		color: #fff;
		left: 21px;
		margin-top: -10px;
		position: absolute;
		top: 50%;
	}

	#flash.alert .icon img {
		font-size: 20px;
		color: #fff;
		left: 18px;
		margin-top: -10px;
		position: absolute;
		top: 50%;
	}
	/*============ colors ========*/
	#flash.alert.alert-success .icon,
	#flash.alert.alert-success .icon:after {
		border-color: none;
		background: #00986a;
	}

	#flash.alert.alert-info .icon,
	#flash.alert.alert-info .icon:after {
		border-color: none;
		background: #00b3c8;
	}

	#flash.alert.alert-warning .icon,
	#flash.alert.alert-warning .icon:after {
		border: none;
		background: #f9af2c;
	}

	#flash.alert.alert-danger .icon,
	#flash.alert.alert-danger .icon:after {
		border-color: none;
		background: #c82630;
	}
}


/** MOBILE / TABLET */
@media only screen and (min-width:0) and (max-width:979px) {

	/** Tlacitka v headeru */
	#logout .btn-header-eso, #fullscreen .btn-header-eso {
		color: #6D6A69;
	 	background-color: white;
	 	background-image: -webkit-linear-gradient(top,#f8f8f8,#f1f1f1);
	 	border-radius: 3px;
	}
	
	.radio-inline {
		padding-left: 5px
	}
	
	/** skryti vyhledavani podle ICO, Rezim zobrazeni  */
	#ico, #show-regime-label {
		/* display: none */
	}
	
	/** Skryti filtru na mobilu */
	.filter_hide {
		display: none
	}
	
	#logout .logout-name {
		display: none;
	}

	#notifications {
		margin-right: 15px;
	}

	#show-regime {
		float: unset !important;
	}

	.flash {
		text-align: center;
		width: 100%;
	}
}

.spz {
    display: inline-flex;
    align-items: center;
    border: 3px solid black;
    border-radius: 6px;
    background: white;
    overflow: hidden;
    height: 30px;
    /*width:320px;*/
}

/* modrý pruh vlevo */
.spz::before {
    content: "RZ";
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl; /* otočení textu, aby CZ bylo svisle */
    transform: rotate(180deg);
    font-weight: bold;
    font-size: 12px;
    color: white;
    background: #0b5fd7;
    width: 25px;
    height: 100%;
}

/* samotný input */
.spz input {
    flex: 1;
    border: none;
    outline: none;
    font-family: "Arial Black", sans-serif; /* normální text */
    /*font-size:28px;*/
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 0 10px;
    /*height:100%;*/
    box-sizing: border-box;
}

.spz input::placeholder {
    font-family: "Open Sans"; /* jiný font jen pro placeholder */
    color: #888;
}

.spz-select {
    display:inline-flex;
    align-items:center;
    border:3px solid black;
    border-radius:6px;
    background:white;
    overflow:hidden;
    height:35px;
    width:100%;
}

/* modrý pruh vlevo */
.spz-select::before {
    content:"RZ";
    display:flex;
    align-items:center;
    justify-content:center;
    writing-mode:vertical-rl;
    transform: rotate(180deg);
    /*font-weight:bold;*/
    font-size:12px;
    color:white;
    background:#0b5fd7;
    width:25px;
    height:100%;
}

/* samotný select2 uvnitř */
.spz-select .select2-container {
    flex:1;
    height:100% !important;
}

.spz-select .select2-selection--single {
    height:100% !important;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    display:flex;
    align-items:center;
}

.spz-select .select2-selection__rendered {
    /*font-family:"Arial Black","Impact",sans-serif;*/
    /*font-size:28px;*/
    /*letter-spacing: 3px;*/
    text-transform:uppercase;
    padding-left:10px !important;
    color:#000 !important;
}

.spz-select .select2-selection__arrow {
    height:100% !important;
}