/* LAYOUT */

body {
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
    color: #525a34;
}

section {
    position: relative;
}

section section {
    padding-top: 3em;
    padding-bottom: 3em;
}

p {
    line-height: 1.75;
    color: #525a34;
}

a {
    color: #55351e;
}

a:hover {
    color: #7a8833;
}

img {
    width: 100%;
}

/* table */

td,
th {
    padding: 1px 2px;
    border: solid #000 1px;
}

.small td,
.small th {
    padding: 0px 1px;
}

th {
    background: #2f6b87;
    color: #fff;
}

tr.summary td {
    background: #ffff00;
    color: #dd0000;
    font-family: Verdana;
    letter-spacing: -1px;
    padding: 0;
}

.vertical-divider {
    border-right-width: 2px;
}

.horizontal-divider {
    border-bottom-width: 2px;
}

.invisible {
    display: none;
}

#shifts {
    overflow-y: auto;
}

#shifts th,
#shifts td {
    padding: 1px 0;
    font-size: 0.75rem;
}

#shifts .summary td {
    font-size: 0.625rem;
    letter-spacing: -1px;
}

/* form */

form label {
    font-size: 0.75rem;
    color: #7f007f;
}

form th label {
    color: #fff;
}

form input,
select {
    font-size: 0.8rem;
    color: #171a1d;
}

form .btn-mini {
    font-size: 12px;
    line-height: 10px;
}

form .form-control-mini {
    font-size: 12px;
    line-height: 10px;
    height: 24px;
    padding: 0px 0.75rem;
}

form select.form-control-mini {
    padding: 0px 0 0 0.125rem;
}

form .radio {
    width: auto;
    margin-right: 2px;
}

form .input-radio-values label {
    line-height: 1.6rem;
}

form .input-radio-values label,
form .custom-control label {
    font-size: 0.85rem;
    padding-right: 0.5rem;
    color: #171a1d;
}

form .input-radio-values input {
    margin: 0 0.25rem 0 0;
}

#flashes {
    position: fixed;
    z-index: 2500;
    max-width: 90%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 76, 0.6);
    padding: 10px;
    border-radius: 5px;
}

div.flash {
    padding: 0.5em;
    margin: 10px 0;
    border: 2px solid #ddd;
    font-size: 0.9em;
}

div.flash.success {
    background: #ccff99;
    color: #006600;
    border-color: #006600;
}

div.flash.info {
    background: #ccccff;
    color: #000066;
    border-color: #000066;
}

div.flash.error {
    background: #ffcc99;
    color: #990000;
    border-color: #990000;
}

#snippet--flashes div.flash {
    margin: 0px;
    font-size: 1.2em;
}

p {
    text-align: justify;
    line-height: 1.5em;
}

h1,
h2,
h3,
h4 {
    font-weight: normal;
    color: #ee3039;
}

h2 {
    font-size: 1.8em;
    margin: 1em 0;
    color: #525a34;
}

h3 {
    font-size: 1.4em;
    margin: 1em auto;
    color: #7a8833;
    font-weight: bold;
}

h4 {
    font-size: 1.2em;
    color: #55351e;
}

/* FRONT */

.btn-icon {
    display: inline-block;
    font-size: 2em;
    width: 1.5em;
    height: 1.5em;
    padding: 3px 6px;
}

.btn-add {
    background: url("../images/icons/cat-add.svg") no-repeat;
}

.btn-delete {
    background: url("../images/icons/cat-delete.svg") no-repeat;
}

.btn-approve {
    background: url("../images/icons/cat-approve.svg") no-repeat;
}

ol {
    padding-left: 12px;
}

li {
    text-align: left;
}

.big {
    font-size: 1.6em;
}

/* navigation */

.adminPanel #adminMenu {
    margin-top: 20px;
    padding: 0;
}

.navbar-brand img {
    width: 100px;
}

#page-top .navbar-nav ul .dropdown-menu {
    position: relative;
    margin: 0 5px;
}

#mainNav {
    background-color: #525a34;
    color: #fff;
    height: 160px;
    padding: 0;
    padding-bottom: 0px;
    -webkit-transition: padding-top 0.3s, padding-bottom 0.3s;
    transition: padding-top 0.3s, padding-bottom 0.3s;
    border: none;
    background-color: #525a34;
}

#mainNav .navbar-brand {
    display: block;
    float: left;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#mainNav .navbar-brand img {
    width: 150px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

#mainNav .navbar-nav .nav-item .nav-link {
    font-size: 1.25em;
    padding: 1.1em 1em !important;
}

#mainNav.navbar-shrink {
    border-top: solid 5px #525a34;
    border-bottom: solid 5px #525a34;
    height: 85px;
    padding-top: 0;
    padding-bottom: 0;
}

#mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 0;
}

#mainNav.navbar-shrink .navbar-brand img {
    width: 74px;
}

#mainNav li {
    margin: 0 0.5em;
    vertical-align: bottom;
}

#mainNav ul a {
    color: #fff;
    padding: 5px 0.5em;
    line-height: 1.1em;
}

#mainNav ul a:hover,
#mainNav a.active {
    background: #55351e;
    text-decoration: none;
}

#mainNav .container {
    position: relative;
}

#mainNav ul,
#collapsingNavbar {
    margin-top: auto;
    margin-bottom: 0.5em;
}

#mainNav.navbar-shrink ul,
#mainNav.navbar-shrink #collapsingNavbar {
    margin-bottom: 2px;
}

#mainNav ul ul li {
    margin: 0;
}

#mainNav ul ul a {
    color: #525a34;
    font-size: 0.9em;
    display: block;
}

#mainNav ul ul a:hover,
#mainNav ul ul a.active {
    background: #f5f5dc;
}

#mainNav .top-item {
    border-bottom: solid 1px #55351e;
}

#mainNav button {
    margin-top: 25px;
    pposition: absolute;
    right: 0;
}

.navbar-toggler-icon {
    height: 1.3em;
}

/*

#collapsingNavbar.show { background: #525a34; margin-top: -5px;}

#collapsingNavbar.show .navbar-nav a { display: block;}

#collapsingNavbar.show ul li {text-align: right;}





#header-top { position: absolute; top: 0; right: 0px;  color: #8fd19e; width: 100%; ppadding-left: 160px;}

#header-top .form-group { margin-bottom: 0;}

#header-top label, #header-top select, .header-contact { display: inline-block; font-size: 0.8em; padding: 0 2px; width: auto; height: auto;}

.adminPanel #header-top { top: 20px;}



.navSpace { height: 160px;}

.navHalfSpace { height: 80px;}

*/

#sidebar {
    background: #525a34;
    padding: 0;
}

#sidebar a {
    display: block;
    padding: 5px 10px;
    color: #fff;
}

#sidebar a:hover,
#sidebar a.active {
    background: #55351e;
    text-decoration: none;
}

#breadcrumb {
    background: #75c5ea;
    font-size: 0.9em;
}

.breadcrumb {
    background: none;
    padding: 0.6em 0;
}

.breadcrumb a {
    color: #fff;
}

/* header

header { position: relative; height: 100vh; min-height: 100vh; margin-top: -160px;}

header h2 { font-size: 2.5em; margin: 5% 12%;}

header .btn { margin-top: 5%;}

header .overlay { margin-top: 80px; background-color:#525a34; height:50%; left:0; z-index: -5; position:absolute; top:0; transition:background-color 300ms ease; width:100%;}

header .container { background-repeat: no-repeat; background-size: cover;}

.slogan { padding: 0.2em 5%; background-color: rgba(255, 255, 255, 0.5);}

#linksSocials li {margin-right: 0;}

*/

#page {
    padding-top: 0.25rem;
    padding-bottom: 3rem;
}

/* homepage */

/* katalog */

/* formulare */

ul.errors li {
    color: #cc0000;
    font-weight: bold;
}

#form-ab,
.form-aa {
    display: none;
}

label {
    margin-bottom: 0;
    font-size: 0.9em;
}

.form-group {
    margin-bottom: 0.25em;
}

table input {
    width: 100%;
}

.form-inner {
    display: inline-block;
    margin-right: 1em;
}

.custom-control {
    min-height: 1.2rem;
    padding: 0 0.5rem 0 1.8rem;
    float: left;
}

.custom-control label {
    font-size: 1em;
    padding-top: 3px;
    display: block;
    cursor: pointer;
}

/* patka */

.footer {
    padding: 25px 0;

    text-align: center;
}

/* ADMIN */

#adminNav {
    background: #339900;
}

#adminNav {
    padding: 0;
    font-size: 0.8em;
    top: 0 !important;
    height: 20px;
    min-height: 10px !important;
    overflow: hidden;
    z-index: 1200;
    position: fixed;
    width: 100%;
}

#adminNav ul {
    margin: 0;
    padding-left: 5px;
}

#adminNav ul li {
    display: inline-block;
    padding: 0 5px;
}

#adminNav li a {
    padding: 0;
}

#product-files {
    font-size: 0.8em;
}

#Admin {
    font-size: 0.8em;
}

#Admin .count {
    width: 4em;
}

#Admin hr {
    margin: 0;
}

#Admin .inactive {
    text-decoration: line-through;
}

#Admin .N {
    background: #339900;
    display: inline-block;
    padding: 0 3px;
    color: #fff;
    margin-left: 3px;
}

#adminImg {
    background-repeat: no-repeat;
    background-size: contain;
}

.status {
    clear: both;
}

.status1,
.status0 {
    width: 24px;
    height: 14px;
    line-height: 1.1em;
    float: left;
    background-position: center 0;
    background-repeat: no-repeat;
}

.status1 {
    background-image: url("../images/icons/green.png");
}

.status0 {
    background-image: url("../images/icons/grey.png");
}

a.active {
    color: red;
}

a.inactive {
    color: grey;
}

.t0 {
}

.t1 {
    background: #32cd32;
}

.t2 {
    background: #ff8c00;
}

.t3 {
    background: #ff0000;
}

.enum-0 {
    background: #ccff99;
}

.enum-1 {
    background: #ffff99;
}

.enum-2 {
    background: #abdde5;
}

#frm-timeSheetForm,
#frm-shiftsForm {
    -webkit-user-select: none;
    -moz-user-select: -moz-none;
    -ms-user-select: none;
    user-select: none;
}

.row.publicHoliday {
    background: #a6e1ec;
}

.row.weekend {
    background: #ffffcc;
}

#goPrev img,
#goNext img {
    max-width: 20px;
}

form.mini table {
    font-size: 8px;
}

form.mini .form-group {
    margin: 0;
}

form.mini .text-area {
    font-size: 10px;
    line-height: 1.2;
}

table.times {
    background: #fff;
}

td.addPacient:hover,
td.addPacient:active,
td.addPacient:focus {
    background: #122b40;
    cursor: pointer;
}

td.addPacient a {
    display: block;
}

#normal .d-normal {
    display: block;
}

#normal .d-mini {
    display: none;
}

#normal td.td-order {
    font-size: 0.75rem;
}

#minimal .d-normal {
    display: none;
}

#minimal .d-mini {
    display: block;
}

#minimal table .status-0 .status-inner,
#minimal table .status-2 .status-inner,
#minimal table .status-3 .status-inner {
    height: 5px;
    width: 5px;
}

#minimal table .tr-hide th span {
    display: none !important;
}

#minimal table td,
#minimal table th {
    padding: 0 2px;
    line-height: 8px;
}

#minimal table .tr-show {
    border-top: solid black 2px;
}

#minimal table .td-order a {
    display: none;
}

#minimal table .tr-show div span {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.6rem;
    font-family: verdana;
}

tr.highlightedRow,
tr.highlightedRow th {
    background: gray;
}

.arr-left img,
.arr-right img {
    width: 1rem;
}

.arr-left {
    position: absolute;
    top: 40%;
    left: 0;
}

.arr-right {
    position: absolute;
    top: 40%;
    right: 0;
}

form .btn-img {
    padding: 2px;
    line-height: 1.5rem;
    height: 2.25rem;
    width: 2.5rem;
}

form .btn-img img {
    width: 100%;
    height: 100%;
}

.btn-outline-success:hover {
    background: #ffff99;
}

.btn-outline-info,
.btn-outline-success {
    background: #fff;
}

a.select-user {
    display: block;
    line-height: 1rem;
    text-align: center;
    margin: 0.125rem 0;
}

a.select-user:hover,
a.select-user.active {
    background-color: rgba(255, 255, 255, 0.5);
}

a.select-status, a.expand-rows {
    display: block;
    float: left;
    width: 24px;
    height: 24px;
    border: solid #000 1px;
    overflow: hidden;
    background: #fff;
}

a .status-inner {
    display: block;
    height: 22px;
}

td.select-status {
    vertical-align: center;
    padding: 1px;
}

td .status-inner {
    display: block;
}


tr.night th, tr.night td {
    height: 4px;
    ooverflow: hidden;
}

tr.night td .status-inner {
    height: 100%;
}

#minimal table tr.night .status-inner {
    height: 100%;
}

tr.night td.addPacient a {
    display: none
}

tr.night th .position-relative span {
    position: absolute;
    top: -4px;
    right: -3px;
}

#normal tr.tr-hide.night th .position-relative span {
    display: none;
}

#normal tr.night th, #normal tr.night td {
    padding: 2px 5px;
}


.select-status.active,
.select-status:hover {
    color: #000;
    background-color: rgba(255, 255, 0, 0.5);
}

.status-0 span.status-inner {
}

.status-1,
.status-4 {
    position: relative;
}

.status-1 span.status-inner,
.status-4 span.status-inner {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: black;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.select-status.status-1.active span.status-inner,
.select-status.status-1:hover span.status-inner,
.select-status.status-4.active span.status-inner,
.select-status.status-4:hover span.status-inner {
    width: auto;
    height: auto;
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
}

.select-status.status-4 span.status-inner {
    background: url("../images/icons/sun.svg") no-repeat center center #fff;
    background-size: contain;
}

.status-2 span.status-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: black;
    margin: auto;
}

a.status-2 span.status-inner {
    margin-top: 4px;
}

.status-3 span.status-inner {
    background: url("../images/icons/close.svg") no-repeat center;
    background-size: contain;
    margin: auto;
}
td.status-3 span.status-inner {
    width: 1.125rem;
    height: 1.125rem;
}

a.expand-rows {
    background-color: #ffc107;
}

.expand-rows span {
    background: url("../images/icons/expand.svg") no-repeat center center;
    background-size: contain;
    display: block;
    height: 21px;
}

.expand-rows.expanded span {
    background: url("../images/icons/compress.svg") no-repeat center center;
    background-size: contain;
    display: block;
    height: 21px;
}

.order {
    display: block;
    font-size: 0.8em;
}

.spec-icon {
    background: url("../images/icons/heart.png") no-repeat center center;
    background-size: contain;
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    float: left;
}

.w-8 {
    width: 8%;
}

.w-15 {
    width: 15%;
    min-width: 18%;
}

/* ------- pluginy -------------------------------------------------------- */

/* bootstrap tooltip */

.tooltip.show {
    opacity: 1 !important;
    filter: alpha(opacity=100);
}

/* datepicker */

.ui-datepicker-inline {
    max-width: 100%;
    font-size: 0.9em;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background: lightgrey;
    border: solid black 1px;
}

.ui-datepicker-holidays .ui-state-default {
    border: solid #191970 1px;
    background: #87cefa;
}

.ui-widget-content .ui-datepicker-week-end {
    background: #ffff00;
}

.ui-widget-content .ui-datepicker-week-end .ui-state-default {
    background: #ffff99;
}

.ui-widget-content .ui-datepicker-week-end span {
    color: #000;
}

.ui-widget-content .ui-datepicker-current-day {
    background: black;
}

.ui-widget-content .ui-datepicker-current-day .ui-state-active {
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}

.ui-widget-content .ui-datepicker-today .ui-state-default {
    border: solid #c71585 1px;
    background: #ff69b4;
}

.ui-datepicker-calendar .ui-state-highlight a {
    border: solid red 1px;
}

/* responsive */

@media (min-width: 992px) {
}

@media (max-width: 768px) {
}

@media (max-width: 400px) {
    #minimal table .tr-show div span {
        font-size: 0.5rem;
    }

    #normal td.td-order a {
        display: none;
    }
}

/*

#mainNav .navbar-toggler {

  font-size: 12px;

  right: 0;

  padding: 13px;

  text-transform: uppercase;

  color: white;

  border: 0;

  background-color: #fed136;

}



#mainNav .navbar-brand {

  width: 50%; background: blue;

  color: #fed136;

}



#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {

  color: #fec503;

}



#mainNav .navbar-nav .nav-item .nav-link {

  font-size: 90%;

  font-weight: 400;

  padding: 0.75em 0;

  letter-spacing: 1px;

  color: white;

}



#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {

  color: #fed136;

}*/
