﻿/* PROMENNE HODNOT
použití:
	color: var(--promena);
var(--color-primary-dark);
var(--color-primary-light);
 */
:root {
    --color-primary-light: 	#009999; /* světlá  */
    --color-primary-dark: 	#005C5C; /* tmavá modrá */
    --color-second-light: 	#E6FFFF; /* červená */
    --color-second-dark: 	#66FFFF; /* červená */
    --color-third-light: 	#009900; /* zelená */
    --color-third-dark: 	dark green;
    --color-light: 			white;
    --color-dark: 			black;

}
.main-content{
    padding-bottom: 40px;
}


input[type=text].search {
    width: 140px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 14px;
    background-color: white;
    background-image: url('/www/img/searchicon.png');
    background-position: 7px 3px;
    background-repeat: no-repeat;
    padding: 4px 20px 4px 35px;
    margin: 10px 5px 8px 20px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

input[type=text].search:focus {
    width: 100%;
}
input[type=checkbox] {
  	transform: scale(1.5);
}

.line{
  	background-color:#CCC;
  	text-align:center;
    padding: 8px;
	font-weight:bold;
	
}
div.line{
	margin:0px 15px;
	border-radius: 4px;
}

.checkbox-inline{
	margin-right:10px;
	margin-left:0px !important;
}
div.unimportant{
	font-size:smaller;
	color:#CCC;
}
div.smaller{
	font-size:smaller;
}

div.smaller h2{
	font-size:small;
	font-weight:bold;
	display:inline;
}

div#fg_addOnEnable div.col-sm-9 label.checkbox-inline{
	display:block;
}


#whispererbox {
	position:absolute;
	/*width:320px;*/
	/*background:#0F0;*/
	margin-left:20px;
	display:block;
}
.whispererList {
	width: 450px;
	padding: 3px;
	border-radius: 4px;
	border-color: grey;
	border-width: 1px;
	border-style: solid;
	font-size: 18px;
}
.whispererList .icon{
	padding-right:20px;
	font-size: 19px;
}
.filter {
	display:none;
    position: absolute;
    background-color: #e3eef7;/* lightgrey */
	padding: 0px 9px 9px 9px;
	border-radius: 4px;
	border-color: #6ea6d6;/* grey */
	border-width: 1px;
	border-style: solid; 
}
.filter .checkbox label:hover{
    background-color: #d9edf7;
}
.filterBt{
    cursor:pointer;
	padding: 3px;
}

.subItemsGroup{
    margin-left:15px;
}

.orderActive{
    color:red;
}
.preview{
    margin-right: 5px;
	margin-bottom: 5px;
}
.tocenter {
	margin:0 auto;
    display: inline;
}
.pointer{
	cursor:pointer;
}
.logFileHead{
	font-weight: bold;
	margin: 10px;
	padding: 10px;
	background-color: #95DF9E;
}
.logFileErrors{
	font-family: "Courier New", Courier, monospace;
	margin: 10px;
	padding: 10px;
	background-color: #EEE;
}


/**** točící kolečno pro importy ****/

#bannerbox{
	position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1200;
    display: none;
}
#bannerbox-image{
	position: relative;
	margin:10% auto; 
}
#bannerbox-admin-waiting{
	display: none; 
	padding:20px 20px 20px 20px;
	background-color:white;
	text-align:center;

}
#bannerbox-admin-waiting-img{
	height:32px;
	background-image:url('/www/img/inputLoading.gif');
	background-position:center;
	background-repeat:no-repeat;
	margin-bottom:10px;
}

#bannerbox-shadow{
	position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #000;
    z-index: 1100;
    display: none;}
/**** Konec - točící kolečno pro importy ****/


/* The side navigation menu */
.sidenav {
	color: #31708f;
	height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    left: 0;
    background-color: #d9edf7; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
	border: 1px solid #bce8f1;
	padding-left:40px;
	overflow-y:hidden;
}
.sidenavfilter {
	padding-left:0px;	
}

.sidenavfilter div.group {
	padding-left:10px;	
	max-height: 300px;
    overflow-y: auto;
}
.filter div.group {	
	max-height: 300px;
    overflow-y: auto;
	padding-left: 5px;
	margin: 10px 0px; 
}
.sidenavfilter .groupTitle{
	font-weight:bold;	
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: white;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 40px;
    right: 10px;
    font-size: 36px;
    margin-left: 50px;
	display:none;
}
.sidenav .filterbtn {
    position: absolute;
    top: 70px;
    right: 3px;
    font-size: 36px;
    margin-left: 50px;
	display:block;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    /*padding: 20px;*/
}
/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
	.JTC{font-size: 8px;}
}
@media (min-width: 600px) {
	.JTC{font-size: inherit;}
}

@media (min-width: 1350px){
	.container {
    	width: 1350px;
	}
	
}

/* SEARCH */
.searchObjectInfo {
    display: block;
    font-size: 10px;
	font-weight:normal;
}
.searchNameColumn{
    font-weight:bold;
}

/* Vyber firmy */
select.firm {
	width: 140px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 15px;
    font-size: 14px;
    background-color: white;
    background-image: url('/www/img/selectedfirm.png');
    background-position: 7px 3px;
    background-repeat: no-repeat;
    padding: 4px 20px 4px 35px;
    margin: 10px 5px 8px 20px;
    -webkit-transition: width 0.4s ease-in-out;
    transition: width 0.4s ease-in-out;
}

/* LOGO v Menu */
.brand-description{
 	font-size: 8px;
    margin-top:  0px;
    padding-top:  0px;
    position:  relative;
    top: -6px;
	letter-spacing:2px;
}
.navbar-brand{
 	    text-align: center;
		padding: 11px 15px !important;
}
/* FOOTER */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f3f2f2;
    color: grey;
	padding:2px 10px;
	font-size: 10px;
    font-weight: bold;
	border-top: 1px solid #d8d6d6;
	z-index: 100;
}
/* JTC */
div.JTC{
	position: fixed;
    right: -14px;
    bottom: 0px;
	z-index: 100;
	display:none;
}
div.JTC .box{
	 overflow: auto;
}
a.JTC{
	 cursor:pointer;
}

.JTCobject{
  float:left;
  /*background-color:#0FF;*/
  padding:5px;
  margin:5px;
  background-color: #f3f2f2;
  font-size: 10px;
  color: grey;
}
.JTCobject h4{
  font-weight:bold;
  text-align:center;
  padding:5px;
}
/* JTC */
.ViewHeaderLTemplate{
  	background-color: #666666;
	position:relative;
}
.ViewHeaderTVParam{
  border:solid 1px #999999;
  position:absolute;
}
.ViewHeaderTVParamText{
  display: inline-block;
}

.hhtColor{
  	padding: 5px 20px;
	width:20px;
}

input#color{
	width: 100px;
    height: 30px;
}

.news, .repairs{
	margin: 0px 10px 10px 10px;
}

h2.news, h2.repairs{
}
h3.modul{
	font-size: 18px;
    text-decoration: underline;
    font-style: italic;
}

.topButtons{
    float: left;
    margin: 20px 0;
}

/* CALENDAR */

table.calendar th:nth-last-child(even)/*, table.calendar td:nth-last-child(even)*/
{
    background-color:#ECEEEC;
}
table.calendar th:first-child, table.calendar td:first-child
{
    position:sticky;
    left:0px;
    background-color:var(--color-primary-light);
}

table.calendar th, table.calendar td {
    padding: .15rem;
}

table.calendar th, table.calendar td {
    border: 1px solid #afafaf !important;
}

.res-occupied {
    color: #fff;
    background-color: var(--color-primary-light);
    border-color: #005c5c;
}
.res-occupied_foreign {
    color: #fff;
    background-color: #005c5c;
    border-color: #005c5c;
}

.res-main {
    color: #fff !important;
    background-color: #00ffff !important;
    border-color: #ffffff !important;
}
.res-blocked {
    color: red;
    background-color: #ffb8c0;
    border-color: red;
    cursor: no-drop !important;
}
.res-empty {
    /*color: #fff;
    background-color: #fff;
    border-color: #fff;*/
    color: rgba(0,0,0,0.0);
}
.res-empty:hover, .res-none:hover  {
    color: #DBDADA;/* #ECEEEC */
    background-color: #fff;
    border-color: #DBDADA;/* #ECEEEC */
}
.res-none {
    /*color: #fff;
    background-color: #fff;
    border-color: #fff;*/
    cursor: default !important;
    color: rgba(0,0,0,0.0);
}

.reservation-item {
    border-width: 1px;
    border-style: solid;
    display: block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
    transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

#res-advanced-arrow{
    cursor: pointer;
}

.reservation-item .badge-warning {
    color: #fff;
    background-color: blue;
}

table.calendar {
    margin-top: 20px;
    border: 1px solid #ccc;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}
table.calendar td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.calendar .smallDate{
    font-size: x-small;
    color: #DBDADA;
}
table.calendar th{
    text-align: center;
}

.form-inline label{
    margin-bottom: .5rem !important;
}
.resCollectBlock input{
    min-width: 13rem;
}

table.calendar .forbiddenAll{
   background-color: #ffc4cb;
}
table.calendar .forbiddenEdit{
    background-color: #ffe4e7;
}




/* převzato z Bootstrap 3 */
@media (min-width: 576px){
    .form-horizontal .control-label {
        padding-top: 7px;
        margin-bottom: 0;
        text-align: right;
    }
}

.material-icons {
    vertical-align: middle;
    line-height: 0 !important;
    position: relative;
    top: -1px;
}

.modal-body h6 {
    display: inline-block;
}
