body {

padding-top: 70px;

padding-bottom: 70px;

background-color: #3f5973;

color: white;
}


.container-fluid {min-width: 1220px;}
.modal{
	color: rgb(32, 45, 58);
}
.rotate {

/* margin-bottom: -10px; */

/* padding: 20px; */

position: absolute;

left: 50%;

top: 50%;

transform: translate(-50%, -50%) rotate(-90deg);

height: 22px;

}
.navbar-brand{
    padding-left: 50px;
    background-image: url(../img/logo_bez_napisu.png);
    background-repeat: no-repeat;
    background-position: 10px 0px;
}
.debug{
    /* position: fixed; */
    /* bottom: 0; */
    background-color: rgba(0, 0, 0, 0.33);
    /* white-space: pre-wrap; */
    font-size: 15px;
    padding: 5px;
}
#topbar-place-select .topbar-place-name{font-size:19px}
#topbar-place-select .dropdown{
    min-width: 160px;
}

#topbar-date-container{
	float: left;
	/* margin: 0; */
	color: white;
	/* line-height: 100%; */
	/* width: 200px; */
	padding-top: 5px;
}
#topbar-date-container #date{float: left;position: relative;text-transform: lowercase;}
#topbar-date-container #date-input{/* float: left; *//* position: relative; */width: 0;height: 0;display: none;}
#topbar-date-container .date-left{
	display:inline-block;
	font-size: 60px;
	line-height: 60px;
	width: 73px;
	margin-left: 0px;
}
#topbar-date-container .date-right{
	display:inline-block;
	font-size: 18px;
	line-height: 18px;
	width: 115px;
}
#topbar-date-container .day{
    text-align: right;
}
#topbar-date-container .month{
    font-weight: bold;
}
#topbar-date-container .year{font-size: 14px;}
#topbar-date-container .dow{font-weight: bold;}
#topbar-date-container .date-button{
	width: 24px;
	float: left;
	margin: 2px;
	border: 1px solid white;
	height: 54px;
	text-align: center;
	/* line-height: 54px; */
	font-size: 12px;
	/* border-radius: 4px; */
	display: flex;
	flex-direction: column;
	justify-content: center;
	cursor: pointer;
	}

#topbar-date-container .date-button:hover{background-color: rgb(249, 249, 249);color: rgb(63, 89, 115);}
#topbar-date-container .date-button:active{background-color: rgb(63, 89, 115);color: rgb(255, 255, 255);}
#topbar-date-container .date-button span{display: block;}


#date .ui-datepicker{position:absolute;/* display: none; */}

#reservations-table-pseudo-container{margin-left: 10px;margin-top: 45px;}
#reservations-table-message-container{margin-top: 25px;padding: 0 10px;/* padding-top: 3px; */}
#reservations-table-message-container .alert{
    padding: 3px 70px;
    /* margin-bottom: 2px; */
    /* margin-top: 1px; */
    border-left: 1px solid #fff;
    border-right: 1px solid rgb(255, 255, 255);
    border-top: 1px solid #fff;
    border-radius: 0;
    line-height: 16px;
}
#reservations-table-container{margin-left: 10px;/* margin-right:15px; */position: relative;/* height: 681px; *//* margin-top: 30px; */width: 100%;}
#reservations-table{/* width: 100%; *//* border-collapse: collapse; *//* table-layout: fixed; */}
#reservations-table th{/* width: 44px; */}
#reservations-table tr{}
#reservations-table td{
    text-align: center;
    vertical-align: middle;
    color: #000;
    
   
}

#fixed-row{
    margin-left: 10px;
    position: relative;
    /* margin-top: 30px; */
    position: fixed;
    width: 100%;
    background-color: rgb(63, 89, 115);
    top: 66px;
    z-index: 100;
    height: 49px;
    /* border-bottom: 1px solid rgb(255, 255, 255); */
}
.hours-container{
    position:absolute;
    height: 20px;
}
.hours-container.top-fixed{top: 29px;/* position: static; */border-bottom: 1px solid #ffffff;}
.hours-container.top{margin: 0 10px;margin-top: 3px;}

.hours{
    float: left;
    width: 42px;
    font-size: 14px;
    height: 20px;
}
.hours span{margin-left: -8px;}
.hours sup{
    font-size: 9px;
}

.sum-container{height: 20px;position: absolute;top: 6px;}
.sum{
    float: left;
    width: 42px;
    font-size: 14px;
    height: 20px;
    text-align: center;
    font-size: 12px;
    }
.sum span{
    display: block;
    background-color: rgb(152, 153, 154);
    padding: 1px;
    height: 20px;
    line-height: 20px;
    margin: 0 1px;
}
.chart-container{
	height: 250px;
    margin: 0 10px;

}
.chart{
	/* border-left: 1px solid #fff; */
	/* border-right: 1px solid #fff; */
	/* height: 250px; */
}
.chart-bg{
    float: left;
    /* display: inline-block; */
    width: 42px;
    font-size: 14px;
    height: 250px;
    text-align: center;
    font-size: 12px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #ccc;
    }
.chart-bg:first-child{ border-left: 1px solid #fff;}    
.chart-bg.o{ border-right: 1px solid #ffffff54; }
.chart-bg.p{ background-color: rgba(53, 53, 53, 0.8); }
.chart-bg.n{ background-color: rgba(214, 214, 214, 0.73); }
.chart-bar{background-color: #e96d23c4;position: relative;}
.chart-bar div{
	position:absolute;
	width:100%;
	bottom: 0px;
	font-size: 10px;
}
.chart-bar div.sm{ bottom: -14px; }
@keyframes pulse {
  0% {opacity:0.2}
  50% {opacity:0.8}
  100% {opacity: 0.2}
}
@keyframes blink {
 50% { opacity: 0.0; }
}
.reservation{position: absolute;background: rgba(191, 44, 44, 0.72);text-align: center;top:0;left:0;font-size: 9px;font-family: sans-serif;letter-spacing: .12em;/* overflow: hidden; */line-height: 10px;cursor: not-allowed;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
.reservation.ui-draggable{
    cursor: move;
}
.reservation .title{background: rgba(0, 0, 0, 0.22);/* border: 1px solid green; *//* border-bottom: none; *//* font-size: 8px; */height: 12px;line-height: 12px;overflow: hidden;position: absolute;width: 100%;z-index: 10;}
.reservation.status3 .title{background: rgba(255, 255, 255, 0.22);}

.reservation .content{
    /* border: 1px solid #008000; */
    /* border-top: none; */
    /* height: 100%; */
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    /* padding-top: 12px; */
    overflow: hidden;
    border: 1px solid rgba(255,251,251,0.5);
}
.reservation .description{
	position: absolute;
	width: 100%;
	overflow: hidden;
	top: 12px;
	bottom: 12px;
	z-index: 9;
	}
.reservation .owner{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 12px;
    max-height: calc(100% - 14px);
    line-height: 12px;
    font-style: italic;
    overflow: hidden;
    z-index: 8;
}
.reservation .status{
    background-color: rgba(255, 255, 255, 0.83);
    color: rgb(63, 89, 115);
    position: absolute;
    top: 0;
    right: 0;
    width: 13px;
    height: 12px;
    font-size: 11px;
    line-height: 12px;
    text-align: center;
}
.reservation.error{opacity:0.5}
.reservation.temporary{
		animation: pulse 1s infinite;
		/* opacity:0.3 */
	}
.reservation.highlight{animation: blink 0.2s infinite;}
.reservation.canceled{
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path d='M100 0 L0 100 ' stroke='white' stroke-width='1'/><path d='M0 0 L100 100 ' stroke='white' stroke-width='1'/></svg>");
	background-repeat:no-repeat;
	background-position:center center;
	background-size: 100% 100%, auto;
}
.reservation .np{
    background-image: url(../img/users.png);
    background-position: 2px center;
    padding: 2px 2px 2px 17px;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.26);
    display: inline-block;
    margin-top: 3px;
}

#reservations-table{
    /* display: inline-block; */
    position: absolute;
    top: 0;
    /* left: 65px; */
    border-top: 1px solid #fff;
    /* border-bottom: 1px solid #fff; */
}
#reservations-table-chest{height: 500px;border: 1px solid #ccc;}

.rc, .rr, .nc, .lc{height:25px}
.rr{
    border-bottom: 1px solid #cccccc4d;
    margin: 0;
    padding: 0;
    /* height: 20px; */
}
.rc{width: 20px;/* height: 20px; */float: left;border-right: 1px solid #ccc;font-size: 10px;line-height: 10px;text-align: center;overflow: hidden;}
.rc.o{border-right: 1px solid rgba(204, 204, 204, 0.23);}

.rc.p{background-color: rgba(53, 53, 53, 0.8);} /* past */
.rc.n{background-color: rgba(214, 214, 214, 0.73);} /* now */



.lm,.rm{
    position: absolute;
    top: 0;
    height: 100%;
    /* background-color: indianred; */
    opacity: .5;
    /* z-index: 90; */
    /* border: 2px solid #000; */
    /* display: block; */
}
.rm{
    background-image: url(../img/bufor_r.png);
    left: 100%;
}
.lm{
    background-image: url(../img/bufor_l.png);
}


#reservations-table-left-names{
    position: absolute;
    top: 0;
    left: 0;
    /* width: 75px; */
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin-top: 1px;
    display: flex;
    flex-direction: row;
}
#reservations-table-right-names{
    position: absolute;
    top: 0;
    right: 0;
    /* display: inline-block; */
    /* width: 30px; */
    /* height: 100px; */
    /* border-bottom: 1px solid #fff; */
}

#reservations-table .separator{/* background-color: #6f6f6f; */border-bottom: 3px solid rgb(255, 255, 255);}

.names-column{display: inline-block;margin: 0;padding: 0;overflow: hidden;font-size: 0;position: relative;}
#reservations-table-right-names .names-column{/* width: 100%; *//* border-top: 1px solid #fff; */border-bottom: 2px solid #fff;margin-top: 0px;}
.names-section{
    border-bottom: 1px solid #fff;
    position: relative;
    margin-top: -1px;
    /*! display: flex; */
    /*! flex-direction: column; */
    /*! justify-content: center; */
    white-space: nowrap;
}
.names-column-3{
    min-width: 20px;
    /* text-align: right; */
    border-top: 1px solid #fff;
    margin-top: -1px;
    /* margin-bottom: -5px; */
    background-color: rgb(167, 96, 0);
}
.names-column-2{
    min-width: 20px;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    margin-top: -1px;
    background-color: #e48607;
}
.names-column-1{
    background-color: #f89b1d;
    min-width: 30px;
    /* font-size: 0; */
    margin-top: -1px;
    border-bottom: 1px solid #fff;
}
.nc{
    /* height: 20px; */
    /* display: inline-block; */
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    font-size: 14px;
    /* line-height: 10px; */
    text-align: center;
    overflow: hidden;
    margin: 0;
    padding: 0 2px;
    /* width: 34px; */
    /* margin-top: -1px; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.names-column .sc{width: 20px;font-size: 14px;/* font-weight: bold; */position: absolute;height: 100%;/* display: flex; *//* flex-direction: column; *//* justify-content: center; *//* text-align: center; */}

.panel{
    margin-bottom: 21px;
    background-color: #fff;
    color: #3f5973;
    /* border: 1px solid rgba(0, 0, 0, 0); */
    border-radius: 0;
    /* -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); */
    /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); */
    border-color: #fff;
    }
.panel-default > .panel-heading {
    color: rgb(51, 73, 95);
    background-color: rgb(255, 255, 255);
    border-color: #ecf0f1;
}
.login{
    margin-top: 111px;
}


#sidebar{
    min-height: 500px;
    
}
#sidebar .nav > li > a {
	border:1px solid #fff;
	border-right: none;
	margin-bottom:-1px;
	color: rgb(253, 253, 253);
}
#sidebar .nav > li > a:hover,#sidebar .nav > li > a:focus {
    color: rgb(63, 89, 115);
}
#sidebar .nav .nav-header {
	
margin-top: 24px;
	
color: rgb(186, 188, 189);
}
#content{
    min-height: 700px;
    background-color: rgb(236, 240, 241);
    margin-left: -15px;
    padding-top: 30px;
    color: rgb(20, 46, 72);
}
#content .table{
    background-color: rgb(255, 255, 255);
}
.color-view{/* width:50px; */height: 30px;}
.settings-header{
    padding-top: 10px;
}
.settings-header .top-buttons{
    text-align: right;
    height: 70px;
    padding-top: 30px;
}
#settings .form-control{
    width: auto;
}
#settings input[type="checkbox"]{
    width: 20px;
}

table.dataTable thead th, table.dataTable tbody td {
    padding: 3px 5px;
    font-size: 12px;
}
table.dataTable tfoot th{padding: 3px;background-color: rgb(63, 89, 115);}
table.dataTable input{width: 100%;/* background-color: rgb(239, 239, 239); */}
.dataTables_wrapper .dataTables_length{float:right}
#items-list-place-select .btn{
    font-size: 24px;
    background-color: rgb(51, 73, 95);
    color: rgb(255, 255, 255);
}
#items-list-names{
    background-color: rgb(51, 73, 95);
    padding: 5px;
    margin: 10px -15px 0 0;
    border: 1px solid rgb(51, 73, 95);
    border-bottom: none;
    color: white;
    text-align: center;
}

#items-list .panel{
    margin-bottom: 0;
}
#items-list .details{
    padding: 10px;
    display:none;
    /* background-color: rgb(51, 73, 95); */
    border-bottom: 1px solid #ccc;
}
#items-list .panel .name{
    
background-color: rgb(248, 147, 30);
    
padding: 2px;
    
border: 1px solid #fff;
}
#items-list input[type="text"]{
    max-width: 100%;
}
#items-list .name input[type="text"]{
    background-color: rgb(248, 147, 30);
    color: white;
    border: none;
}
#items-list input.date {
    /* background-color: rgb(51, 73, 95); */
    /* color: white; */
    /* border: none; */
}
#items-list .item_info{
display: inline-block;
margin-bottom: 0;
font-weight: normal;
text-align: center;
vertical-align: middle;
border: 1px solid rgba(0, 0, 0, 0);
white-space: nowrap;
padding: 5px 10px;
font-size: 15px;
line-height: 1.42857143;
background-color: rgb(91, 192, 222);
}
#items-list .buttons{margin-top:10px;}
#items-list .buttons .btn{width:100%}
#items-list .delete{display:none;}
#items-list .alert {margin-bottom: 0;margin-top: 0;padding: 4px 10px;}
.btn.add{width:100%}

button.dt-button, div.dt-button, a.dt-button{
background-image: none;
border-radius: 0;
background-color: rgb(63, 89, 115);
color: rgb(255, 255, 255) !important;
}
button.dt-button:hover:not(.disabled), div.dt-button:hover:not(.disabled), a.dt-button:hover:not(.disabled){background-image: none;background-color: rgb(63, 89, 115);border-radius: 0;}

div.dt-button-collection button.dt-button:active:not(.disabled), div.dt-button-collection button.dt-button.active:not(.disabled), div.dt-button-collection div.dt-button:active:not(.disabled), div.dt-button-collection div.dt-button.active:not(.disabled), div.dt-button-collection a.dt-button:active:not(.disabled), div.dt-button-collection a.dt-button.active:not(.disabled){
background-image: none;
background-color: rgb(248, 154, 29);
border-radius: 0;	
}
button.dt-button:active:not(.disabled):hover:not(.disabled), button.dt-button.active:not(.disabled):hover:not(.disabled), div.dt-button:active:not(.disabled):hover:not(.disabled), div.dt-button.active:not(.disabled):hover:not(.disabled), a.dt-button:active:not(.disabled):hover:not(.disabled), a.dt-button.active:not(.disabled):hover:not(.disabled){background-image: none;border-radius: 0;background-color: rgb(248, 154, 29);color: rgb(255, 255, 255) !important;}
.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover{
	background-image: none;
	background-color: rgb(63, 89, 115);
	color: rgb(255, 255, 255) !important;
	border-radius: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover{
	background-image: none;
	background-color: rgb(248, 154, 29);
	border-radius: 0;
}
#reservations-log td,#reservations-log th,
#reservation-revisions td,#reservation-revisions th{
    padding: 3px 5px;
    font-size: 12px;
    text-align:center;
    vertical-align: middle;
}

#reservation-edit .margins select{
    width: 48%;
    display: inline-block;
}
.top-bar-search{
    padding: 7px;
    width: 165px;
    position: relative;
}
.top-bar-search .input-group-addon{
    background: white !important;
    padding: 0;
}
.top-bar-search .form-control{
	border-right:0; 
	box-shadow:0 0 0; 
	border-color:#ccc;
}
.top-bar-search .input-group-addon button{
    border:0;
    background:transparent;
}
.top-bar-search .results{
    position: absolute;
    right: 7px;
    top: 38px;
    width: 400px;
    background: #fff;
    display: none;
    font-size: 12px;
    z-index: 100;
}
.top-bar-search .results ul{
    padding: 1px;
    list-style: none;
}
.top-bar-search .results li{margin-bottom: 1px;}
.top-bar-search .results li.no-results,.top-bar-search .results li.loader{
    color: rgb(63, 89, 115);
    padding: 5px;
    text-align: center;
}
.top-bar-search .results li a{color: #fff;text-decoration: none;}
.top-bar-search .results .header{
	display: block;
	padding: 2px 5px;
	background: rgba(0, 0, 0, 0.22);
}
.top-bar-search .results .place{float:right}
.top-bar-search .results .title{display: block;padding: 0 5px;font-weight: bold;}
.top-bar-search .results .content{display: block; padding: 2px 5px;}
.top-bar-search .results .results-pagination{
    color: rgb(63, 89, 115);
    padding: 2px;
}
.top-bar-search .results .results-pagination span{
    display: inline-block;
}
.top-bar-search .results .prev{
    width: 100px;
}
.top-bar-search .results .next{
    width: 100px;
    text-align: right;
}
.top-bar-search .results .info{
    width: 194px;
    text-align: center;
}

#paste-container{padding: 2px;background-color: rgb(255, 255, 255);margin: 15px 0;display: none;}
#paste-container button.btn{
    padding: 2px 7px;
}
#paste-container #paste-clear{
    margin-left: -2px;
}

#reservation-edit .rez_id,#reservation-revisions .rez_id{
    font-size: 60%;
}
#reservation-edit .modal-footer button,#reservation-view .modal-footer button{width:100%}
#reservation-edit input, #reservation-edit textarea, #reservation-edit select, #reservation-edit .value{font-weight:bold;color: rgb(86, 86, 86);/* padding: 5px 10px; *//* height: 33px; */}
#reservation-edit textarea{
    max-width: 100%;
    min-height: 80px;
}
#reservation-edit input.missing{
    /* background: rgb(251, 227, 224); */
    border-color: rgb(231, 76, 60);
}
#reservation-print .field, #reservation-view .field{margin-bottom:5px}
#reservation-edit .value, #reservation-print .value, #reservation-view .value{font-weight:bold;color: rgb(86, 86, 86);/* padding: 5px 10px; *//* height: 33px; */display: block;width: 100%;min-height: 30px;padding: 5px 10px;font-size: 15px;line-height: 1.42857143;color: rgb(63, 89, 115);background-color: #eee;background-image: none;border: 1px solid rgb(220, 228, 236);}

#reservation-edit .messages{margin-top:10px; text-align:center}
#reservation-edit .messages .alert{margin-bottom:5px;}
#reservation-edit .messages .alert a{color: rgb(63, 89, 115);font-weight: bold;}
#multiCopy_container{
    border: 1px solid #ccc;
    background: rgb(243, 243, 243);
    padding-left: 5px;
    padding-right: 5px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 5px;
    display: none;
    padding-bottom: 5px;
}
#multiCopy_container>div{
    padding-left: 2px;
    padding-right: 2px;
}
#reservation_multipleCopy{
    padding: 3px 10px;
    width: 100%;
}
.confirm-delete, .confirm-multiple{display:none;text-align: center;padding: 5px;margin-bottom: 7px;border: 1px solid #ccc;/* height: 100px; *//* margin-left: -10px; */margin-right: -10px;/* position: absolute; */}
.setList{
    max-height: 300px;
    overflow-y: auto;
}
.setList .current{
    background: rgb(236, 236, 236);
    padding: 0 2px;
}

body.readonly,.readonly .navbar-default,.readonly #fixed-row{background-color: rgb(150, 49, 49)}
body.dev,.dev .navbar-default,.dev #fixed-row{background-color: rgb(38 76 49);}
@media print{
	   body{background-color: rgb(255, 255, 255);color: #000;}
	    .navbar {display: block; }
	    .navbar-default {background-color: rgb(255, 255, 255);border-color: rgba(0, 0, 0, 0);}
	    #topbar-date-container .date-button{display:none;}
	    .navbar-right{display:none;}
		#reservations-table{border-top: 1px solid #000;}  
		.rr{border-bottom: 1px solid rgb(82, 82, 82);}
	   	.rc{border-right: 1px solid rgb(64, 63, 63);/* border-bottom: 1px solid rgb(82, 82, 82); *//* margin-bottom: -1px; */}
		.rc.o{border-right: 1px solid rgba(158, 158, 158, 0.93);}

		.rc.p{background-color: rgb(255, 255, 255)} /* past */
		.rc.n{background-color: rgb(255, 255, 255)} /* now */

		.nc{border-color:#000;}
		.names-column {background-color:#ccc;border-color: #000;}
		.names-section { border-bottom: 1px solid #000;}
		.reservation{}
		.reservation .title{}
		.reservation .content{border: 1px solid rgba(0, 0, 0, 0.5);}


		.reservation.canceled{
			background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 100 100'><path d='M100 0 L0 100 ' stroke='black' stroke-width='1'/><path d='M0 0 L100 100 ' stroke='black' stroke-width='1'/></svg>");
		}
		#reservations-table-chest{display:none;}
		.modal{position: static;top: 0;}
	}
