html, body {
height: auto;
}

body {
margin: 0;
padding: 0px;
background: #FFF url(https://sman.gastromach.cz/skin/mtj/css/../images/background.png) repeat-x;
font-family: Helvetica, "Trebuchet MS", Arial, sans-serif;
}

.text-align-right{text-align: right;}
.width-0-per{width: 0;}
.width-10-per{width: 10%;}
.width-20-per{width: 20%;}
.width-30-per{width: 30%;}
.width-40-per{width: 40%;}
.width-50-per{width: 50%;}
.width-60-per{width: 60%;}
.width-70-per{width: 70%;}
.width-80-per{width: 80%;}
.width-90-per{width: 90%;}
.width-100-per{width: 100%;}

.width-25-per{width: 25%;}
.width-33-per{width: 33%;}
.width-66-per{width: 66%;}
.width-75-per{width: 75%;}
.float-left{float: left;}
.float-right{float: right;}
.text-bold{font-weight: bold;}

.not-exists
{
color: #000;
background-color: #F00;
border-color: #800;
}

.not-exists .clickThrough
{
color: transparent;
}



label
{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}


.cleaner
{
clear: both;
margin: 0;
padding: 0;
border-width: 0;
height: 0 !important;
}

/** FOOTER */

#footer
{
background: #6B1109;
text-align: center;
padding: 30px 0px;
}

#footer span
{
display: inline-block;
color: ivory;
white-space: nowrap;
margin: 0 5px;
}

#footer a{color: ivory;}

#footer-menu ul {
display: table-row;
}
#footer-menu, #footer-menu ul {
left: auto;
list-style: none outside none;
margin: 0;
padding: 0;
}
#footer-menu li {
display: table-cell;
float: none;
padding: 11px 16px 0 0;
width: 10%;
}
#footer-menu li {
background: none repeat scroll 0 50% transparent;
display: inline;
float: left;
font-weight: bold;
list-style-type: none;
margin: 15px 10px 0 0;
padding: 0;
position: relative;
width: 115px;
}
#footer-menu li a, #footer-menu li a:link, #footer-menu li a:visited, #footer #lang_form label {
color: #FFFFFF;
font-family: MetaBlack,"Trebuchet MS",sans-serif;
font-size: 14px;
font-weight: bold;
text-transform: uppercase;
}
#footer-menu ul li ul {
margin: 4px 0 15px;
}
#footer-menu ul {
display: table-row;
}
#footer-menu ul ul li {
display: block;
line-height: 13px;
float: none;
font-weight: normal;
margin: 0;
padding: 0 0 0.3em;
width: auto;
}
#footer li li a:link, #footer li li a:visited {
/*color: #669BE1;*/
/*color:DimGray;*/
font-family: Georgia,serif;
font-size: 13px;
font-weight: normal;
text-transform: none;
}
#footer li li a:hover{
color:white;
}
#footer .bottom_main_menu
{
clear:both;
list-style: none;
padding:15px;
text-align:center;
}
#footer ul.bottom_main_menu li
{
display: inline;
font-size: 160%;
line-height: 13px;
list-style: none inside none;
padding: 7px;
text-align: center;
width: 111px;
}


.ui-jqgrid {
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
opacity: 1;
}
}


.ui-jqgrid {
.ui-pg-selbox, .ui-pg-input {
width: inherit;
border: none;
padding: 1px;
}
}

.ui-search-table
{
width: 100%;
}

.ui-jqdialog .first
{
padding-left: 10px;
}

#searchmodfbox_Preview /* .ui-jqdialog */
{
position: fixed !important;
z-index: 2000 !important;
-webkit-box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.5);
-moz-box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.5);
box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.5);
}


.ui-pg-button
{
border: 1px solid transparent;
}


.widget-content
{
height: calc(100% - 17px);
overflow-y: auto;
overflow-x: hidden;
padding-left: 1px;
padding-top: 3px;
text-overflow: ellipsis;
background-color: #f2f2f2;
}

.widget-content a.widget-content-row
{
text-overflow: ellipsis;
white-space: nowrap;
}

.widget-content a.btn
{
display: inline-block;
}


.progress-small
{
height: 5px;
margin-bottom: 0;
}

.fileinput-button + .progress-small
{
margin-top: -9px;
}

#calendar{
/* width: 900px; */
}
.calendar
{
margin-bottom: 20px;
margin-top: 10px;
}

.timeline {
position: absolute;
left: 59px;
border: none;
border-top: 1px solid red;
width: 100%;
margin: 0;
padding: 0;
z-index: 999;
}

#loading {
position: absolute;
top: 5px;
right: 5px;
}


#ui-datepicker-div
{
z-index: 100000 !important;
}

ul.info-review
{
list-style: none;
margin: 0 !important;
padding: 0 !important;

}
ul.info-review .ui-widget-header
{
text-align: center;
border-radius: 2px;
}


ul.info-review li i
{
padding: 2px;
}

ul.info-review li i.glyphicon
{
vertical-align: text-bottom;
}
label.checkbox input.checkbox
{
min-height: 14px !important;
}

label input.checkbox
{
margin-left: 5px;
margin-right: 12px;
margin-top: -1px;
vertical-align: middle;
}

#LiveCyklusDiv .switch label
{
margin-bottom: 0;
}

#LiveCyklusDiv .btn
{
padding: 6px !important;
}

.reconnect-blink
{
font-weight: bold;
color: #000 !important;
}

.ui-jqgrid tr.jqgrow td
{
padding: 0 5px !important;
}


span.clickThrough
{
background-color: transparent !important;
color: #aaaaaa;
margin-top: 0;
padding-left: 3px;
position: absolute;
right: 24px;
top: calc(50% + 2px);
vertical-align: middle;
}

button.clickThrough
{
color: #aaaaaa;
position: absolute;
right: 15px;
top: 30px;
vertical-align: middle;
}



.select2 span.clickThrough {
margin-right: 2px !important;
top: calc(50% - 7px);
}

.select2HasClickThrough .select2 .select2-selection__arrow
{
right: 46px !important;
}



.select2-container.select2-container-disabled
{
background-color: #eeeeee !important;
}
.select2-container.select2-container-disabled .select2-choice .select2-arrow
{
background-color: #eeeeee !important;
}
.select2-container.select2-container-multi.form-control
{
height: auto;
}


.glyphicon-move
{
cursor: move;
}

.glyphicon-white
{
color: #FFFFFF;
}

.dropdown-header
{
font-variant: small-caps;
font-weight: bold;
}

.navbar-nav > li > .dropdown-menu
{
border-radius: 4px;
margin-top: -3px;
}

.navbar .nav > li > .dropdown-menu::before
{
position: absolute;
top: -7px;
left: 9px;
display: inline-block;
border-right: 7px solid transparent;
border-bottom: 7px solid #CCC;
border-left: 7px solid transparent;
border-bottom-color: rgba(0, 0, 0, 0.2);
content: '';
}
.navbar .nav > li > .dropdown-menu::after
{
position: absolute;
top: -6px;
left: 10px;
display: inline-block;
border-right: 6px solid transparent;
border-bottom: 6px solid white;
border-left: 6px solid transparent;
content: '';
}

.navbar
{
border-radius: 0 0 4px 4px !important;
}

#timetologout-collapsed
{
line-height: 100%;
}


.input-group > .input-group-addon + .input-group-addon
{
text-align: left;
}

.special-input-group
{
margin-bottom: 12px;
}

.special-input-group > .input-group-addon + .input-group-addon
{
width: 100px;
text-align: left;
}

.special-input-group.special-input-group-first > .input-group-addon:first-child
{
width: 100px;
text-align: left;
}


.special-input-group .form-control/* .input-group .form-control */
{
z-index: auto;
}

span.form-control.fullspace
{
background-color: transparent;
box-shadow: none;
}

.tab-pane
{

}

.tab-newline
{
width: 100%;
height: 5px;
}

/* řešení problému s tlačítkama (radio) v justified modu */
.btn-group.btn-group-justified > .btn-group input
{
display: none;
}


#PageContentOuter
{
margin-left: 15px;
margin-right: 15px;
}

#PageContent .container-fluid
{
padding-left: 0;
padding-right: 0;
}

.ui-jqgrid-titlebar a.ui-jqgrid-titlebar-close
{
display: none;
}

.tab-content .tab-pane .row div > h3
{
margin-top: 0;
overflow: hidden;
}

.tab-content .tab-pane .row .col
{
position: relative;
}
<!-- toto dělá problém na některých formech, kdy je proklikávací prvek posunut dolů, pod úrověň středu... -->
<!-- .tab-content .tab-pane .row .col span.clickThrough
{
top: calc(50% + 7px);
margin-right: 0 !important;
} -->

#datePickerButton
{
margin-left: 15px;
}

@media (max-width:992px)
{
.modal-dialog
{
margin: 10px;
position: relative;
width: auto;
}
}

.ui-jqgrid-titlebar .ui-jqgrid-title
{
font-size: 1.4em;
margin-bottom: 0;
margin-left: 7px !important;
margin-top: 3px;
}

<!--.input-group .bootstrap-select:not(:first-child):not(:last-child) > .btn {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}-->

.select2.select2-container--bootstrap
{
margin-bottom: 10px;
width: 100% !important;
}


/* KALENDÁŘ */
/* -------------------------------------------------------------------------- */

#calendarTitleClone
{
text-align: center;
margin-bottom: 10px;
}

#calendarTitleClone .ReportsButton
{
/* margin-right: 15px; */
float: right;
}

.fc-week-number div {
background-color: #cccccc;
font-weight: bold;
}


.navbar-fixed-top
{
position: relative;
/* margin-left: -15px;
margin-right: -15px; */
}

#s4s-menu-collapse
{
max-height: 1920px;
}

@media (max-width:768px)
{
.sman-header .btn-group a.btn
{
padding-left: 4px;
padding-right: 4px;
}
}


.ui-timepicker-div .ui-slider.ui-slider-horizontal
{
margin: 0 10px;
}


.ui-state-highlight
{
background-image: url(none) !important;
background-color: #DDD !important;
border: 1px solid #999999 !important;
color: #000 !important;
}

button .btn-width-fix
{
width: 75px;
display: inline-block;
}

.popover-content
{
text-align: center;
}

.popover-content button
{
margin: 0 7px;
}







.ui-pg-input
{
height: 18px !important;
}

.dtpicker-header .dtpicker-close
{
padding: 0.5em 0.7em !important;
top: -0.3em !important;
}


.select2-results .disabled
{
display: none;
}


i{font-style: normal;}
i.s4s-upper{text-transform: uppercase;}

/* .triggered-events {
float: right;
width: 500px;
height: 300px;
} */


.select2-results .select2-highlighted {
background: none repeat scroll 0 0 #3875d7 !important;
color: #fff;
}


li.select2-result:nth-child(2n) .select2-result-label
{
border-width: 1px 0;
border-style: solid;
border-color: #e3e3e3;
}


li.select2-result:last-child .select2-result-label
{
border-bottom-width: 0;
}


.select2-custom-item span
{
display: inline-block;
float: left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.select2-chosen .select2-custom-item *
{
display: none;
}

.select2-chosen .select2-custom-item *:first-child
{
clear: none;
margin-right: 4px;
width: auto;
display: inline-block;
}

/* TAG emailového kontaktu v plovoucím okně Emailu*/
#s2id_inp_TO .select2-choices div
{
line-height: normal;
font-size: 16px;
}

#s2id_inp_TO .select2-choices .select2-search-choice-close
{
left: 4px;
top: 5px;
}


#s2id_inp_TO .select2-choices .select2-search-choice
{
padding: 2px 5px 2px 18px;
}


.formWildcards > li
{
float: left;
list-style-type: none;
padding: 0 5px 5px 0;
/* width: 25%; */
}

@media (min-width:1200px)
{
.formWildcards > li
{
width: 25%;
}
}

@media (min-width:992px) and (max-width:1199px)
{
.formWildcards > li
{
width: 50%;
}
}

@media (min-width:768px) and (max-width:991px)
{
.formWildcards > li
{
width: 25%;
}
}


@media (max-width:767px)
{
.formWildcards > li
{
width: 25%;
}

.well
{
padding: 2px !important;
}
}


.formWildcards
{
margin-left: 0;
padding-left: 0;
}

.formWildcards a.btn
{
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}

.badEmail
{
border-color: #f00 !important;
color: #f00 !important;
}

.admin-icon
{
color: #f00;
float: left;
font-size: 19px;
margin-right: 6px;
}

.select2-container .label.label-special
{
margin-top: 5px;
}

.select2-results .label.label-special
{
margin-top: 2px;
}

.label.label-special
{
margin-right: 10px;
}

#docIsLocked
{
display: inline-block;
float: left;
font-size: 14px;
padding: 8px 12px 9px;
margin-left: 5px;
}

#docIsLocked:first-child
{
margin-left: 0;
}

#pager table
{
border-collapse: separate !important;
}


/* centered columns styles */
/* http://www.minimit.com/articles/solutions-tutorials/bootstrap-3-responsive-centered-columns */
.row-centered {
text-align:center;
}
.col-centered {
display:inline-block;
float:none;
/* reset the text-align */
text-align:left;
/* inline-block space fix */
margin-right:-4px;
}


#mobileLogoutButton
{
background-color: #d9534f;
padding-bottom: 6px;
padding-top: 7px;
}



.input-group .form-control:first-child
{
padding-right: 0;
}

#servis
{
border-top: 1px solid #ddd;
}
.tab-content > #servis
{
border-top-width: 0;
}



.s4smessage
{
position: fixed;
visibility: visible;
z-index: 10000000;
padding-right: 35px;
}
.s4smessage button
{
margin-right: -20px;
}

.s4smessage.left, .s4smessage.leftbottom, .s4smessage.bottom
{
left: 0px;
bottom: 0px;
}

.s4smessage.right, .s4smessage.rightbottom
{
right: 0px;
bottom: 0px;
}

.s4smessage.top, .s4smessage.lefttop
{
left: 0px;
top: 0px;
}

.s4smessage.righttop
{
right: 0px;
top: 0px;
}

.s4smessage.s4smessage-hidden
{
visibility: hidden;
}

.s4smessage strong
{
display: block;
margin-bottom: 15px;
white-space: nowrap;
}

.s4smessage strong.only
{
margin-bottom: 0;
}

#sopt_menu
{
position: absolute;
}

.soptclass
{
cursor: pointer;
}

#dialogObject > img
{
width: 100%;
}

.nopadding-left
{
padding-left: 0 !important;
margin-left: 0 !important;
}

.nopadding-right
{
padding-right: 0 !important;
margin-right: 0 !important;
}

.gridster .btn.btn-mini.dropdown-toggle
{
max-height: 20px;
padding: 0 2px !important;
}

.widget-selected
{
font-weight: bold !important;
}


#infopanel.do-blink .can-blink {
color: #ffffff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
background-color: #363636;
*background-color: #222222;
background-image: -moz-linear-gradient(top, #444444, #222222);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
background-image: -webkit-linear-gradient(top, #444444, #222222);
background-image: -o-linear-gradient(top, #444444, #222222);
background-image: linear-gradient(to bottom, #444444, #222222);
background-repeat: repeat-x;
border-color: #222222 #222222 #000000;
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 1px 1px rgba(0, 0, 0, .075);
}

#infopanel.do-blink .can-blink:hover,
#infopanel.do-blink .can-blink:focus,
#infopanel.do-blink .can-blink:active,
#infopanel.do-blink .can-blink.active,
#infopanel.do-blink .can-blink.disabled,
#infopanel.do-blink .can-blink[disabled] {
color: #ffffff;
background-color: #222222;
*background-color: #151515;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
}

#infopanel.do-blink .can-blink:active,
#infopanel.do-blink .can-blink.active {
background-color: #080808 \9;
}

#infopanel.do-blink .can-blink.active {
color: rgba(255, 255, 255, 0.75);
}

#infopanel.do-blink .can-blink .badge
{
background-color: #fff;
color: #363636;
}

#infopanel.do-blink .can-blink:active .badge,
#infopanel.do-blink .can-blink.active .badge
{
color: #222;
}

*/
@media (min-width:768px) and (max-width:992px)
{
.navbar .nav > li > a
{
padding-left: 5px;
padding-right: 5px;
}

#dropdownMenu-uzivatel
{
max-width: 100px;
}
}
#poiOrder li
{


padding: 6px 12px;
margin-bottom: 3px;
font-size: 14px;
font-weight: 400;
line-height: 1.42857143;

white-space: nowrap;
vertical-align: middle;
-ms-touch-action: manipulation;
touch-action: manipulation;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-image: none;
border: 1px solid transparent;
border-radius: 4px;
color: #333;

background-color: #fff;

border-color: #ccc;
}

#poiOrder .ui-sortable-placeholder {
visibility: visible !important;
border: 1px solid green;
background-color: white;
}

#poiOrder ul {
list-style: none;
padding-left: 0;

}

#poiOrder .ui-sortable-helper
{
-webkit-box-shadow: 0px 0px 10px #888;
-moz-box-shadow: 0px 0px 10px #888;
box-shadow: 0px 0px 10px #888;

}

td[aria-describedby$="_rowSelect"]
{
background: #92ee92;
}

.cycleLabel
{
display: block;
font-size: 0.8em;
width: 100%;
overflow: hidden;
white-space: normal;
height: 2em;
line-height: 1em;
margin-top: 3px;
text-align: center;
}

.modal-dialog .minimax
{
font-size: 13px;
line-height: 22px;
margin-right: 10px;
}

.modal-dialog.modal-maximize
{
min-width: 100%;
height: 100%;
margin: auto;
}

#buttonSendToSTD
{
position: absolute;
right: 15px;
top: 30px;
opacity: 0;
transition-duration: 0.5s;
}

#buttonSendToSTD:hover
{
opacity: 1;
}


.btnCalendarDay
{

width: 40px;

}

#docSignature
{
margin-left: -15px;
margin-right: -15px;
}

.tooltip-inner
{
max-width: 600px;
text-align: justify;
background-color: #444;
color: #FFF;
}

.tooltip-arrow
{
border-top-color: #444 !important;
}

.btn.btn-thickpoint
{
padding: 2px 3px;
min-width: 19px;
width: 75%;
}

.logo
{max-height:25px;}

span.select2-results > ul > li:empty {
background-color: #EEE;
font-style: italic;
}

span.select2-results > ul > li:empty:hover {
background-color: #007bff;
}


html[lang="cs"] span.select2-results > ul > li:empty:before {
content: '--- Prázdná hodnota ---';
}

html[lang="en"] span.select2-results > ul > li:empty:before {
content: '--- Empty value ---';
}

li.select2-selection__choice:not([title]){
display: none;
}


.lastSynchroDetail {
list-style-type: none;
display: inline-block;
position: absolute;
text-align: left;
font-size: 10px;
line-height: 8px;
margin-top: -3px;
margin-left: -35px;
}

#fastFindResult {
max-height: 500px;
overflow: auto;
}

/*
button{
transform: rotateY(0);
transition-duration: .1s;

}
label {
transform: rotateZ(0);
transition-duration: 1s;
}

label:hover{
transform: rotateZ(360deg);

}

button:hover {
transform: rotateY(360deg);

}
*/