 CSS General */
body.admin  { margin-top: 0px;
        padding-top: 0px;}
body.wait *, body.wait {
  cursor: progress !important;
}
#admin_tool * { margin: 0px; padding: 0px;}
#admin_tool {
        width:100%;
        height: 41px;
        background-color: #1D75BD;
        }
#admin_menu { margin-left: auto;
        margin-right: 2.5%;
        display: block;
        width: 90%;
        height: 40px;
        font-family: arial;
        font-size: 13px;
        margin-top: 0px;
        padding-top: 0px;}
#admin_menu ul  {
          display: block;
          text-align: right;
          height: 40px;
          margin-top: 0px;
          padding-top: 10px;
          position: relative;
          width: auto;
}
#admin_menu ul li { display: inline;
            padding-top: 0px;
            margin-top: 0px;}
#admin_menu ul li.menu_item:hover .v3-dropdown{display: table;}
#admin_menu ul li a { padding: 12px 15px 11px 15px;
            margin: 0px;
            border: 0px;
            outline: none;
            margin-left: 2px;
            color: #FFF;
            display: inline;
            text-decoration: none;}
#admin_menu ul li a span {  margin-top: 0px;
              padding-top: 0px;}
#admin_menu ul li:hover a,
#admin_menu ul li a.tento {
  background: #CFE4F0;
	color: black;
  border-top: 3px solid white;}
#admin_menu ul li a.selected {
  background-color: #C7E1ED;
}
#admin_menu a.logo  { float: left;
            background: #368ECD url('/images/unition_admin.png')
                  4px center no-repeat;
            display: block;
            color: white;
            text-decoration: none;
            font-size: 12px;
            text-align: left;
            height: 24px;
            line-height: 100%;
            padding: 7px 4px 31px 32px;
            vertical-align: middle;}

#admin_menu a.logo span { font-size: 10px;}
#admin_menu a.zakaznik  { background: #368ECD url('/images/logo_zakaznik_65_32.png')
                    4px center no-repeat;
              width: 37px;}
#admin_menu a.logo:hover  { color: #414143;}
#admin_menu ul li.user  { padding-left: 15px;
              padding-right: 15px;
              margin-right: 2px;
              margin-left: 2px;}

/* Admin Menu */
#admin_menu #burger {
 position: absolute;
 right: 100px;
 display: none;
}
.show_icon  { display: block;
              float: left;
              text-align: center;
              width: 8em;
              height: 8em;
              padding: 0px;
              margin: 6px;
              padding-bottom: 20px;
              margin-bottom: 30px;}
.show_icon img  {
        padding: 10px;
        border: 1px solid gray;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        -o-border-radius: 8px;
        -ms-border-radius: 8px;
        border-radius: 8px;
        background-image: -webkit-gradient(
          linear,
          left top,
          left bottom,
          color-stop(0.06, #FFFFFF),
          color-stop(1, #B8B2B8)
        );
        background-image: -o-linear-gradient(bottom, #FFFFFF 6%, #B8B2B8 100%);
        background-image: -moz-linear-gradient(bottom, #FFFFFF 6%, #B8B2B8 100%);
        background-image: -webkit-linear-gradient(bottom, #FFFFFF 6%, #B8B2B8 100%);
        background-image: -ms-linear-gradient(bottom, #FFFFFF 6%, #B8B2B8 100%);
        background-image: linear-gradient(to bottom, #FFFFFF 6%, #B8B2B8 100%);
        }
/*make footer stick to bottom*/
body.adminx {
  min-height: 100vh;
  position: relative;
}
section.main {
  padding-bottom: 2.5rem;
}
div.dolghi {
  height: 2.5rem;
}
/**/
body.adminx img.es-orders {
  width: 36px;
}
.butt_objednavka_dalej  { display: block;
                          float: right;}
.butt_objednavka_spat  { display: block;
                         float: left;}
.objednavka_list  { list-style: none;
                    margin-left: 10px;
                    padding-left: 0px;}
.objednavka_list li select {  margin-left: 20px;}


div.ui-state-default,
div.ui-widget-content .ui-state-default,
div.ui-widget-header .ui-state-default,
div.ui-button,
html div.ui-button.ui-state-disabled:hover,
html div.ui-button.ui-state-disabled:active {
  border-radius: 0px;
}

body.adminx .container{
  max-width: 95%!important;
  padding: 0!important;
}
body.adminx .content{
  overflow-x: unset;
}

body.adminx .guzik {
    background-color: #1D75BD;
    border: none;
    color: white;
    padding: 10px;
    margin: 10px;
    margin-bottom: 30px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Arial;
}
body.adminx .guzik:hover {
    background-color: #368ecd;
    color: black;
}
body.adminx .faktura {
    background-color: #1D75BD;
    border: none;
    color: white;
    padding: 10px;
    margin: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Arial;
}
body.adminx .faktura:hover {
    cursor: pointer;
    background-color: #368ecd;
    color: black;
}

body.adminx .tg{
  margin-top: 50px;
  width: 100%;
  margin-bottom: 20px;
}

body.adminx .tg td{
  font-family: inherit;
  font-size: 14px;
  padding: 8px 30px;
  border-style: solid;
  border-width: 0px;
  overflow: hidden;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-color: #ccc;
  background-color: #fff;
  color: #43494D;
}

body.adminx .tg td.theader{
  background-color: #c0c0c03d;
  font-weight: bold;
}

body.adminx .tg th{
  font-family: inherit;
  font-size: 16px;
  padding: 8px 25px;
  border-width: 0px;
  overflow: hidden;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-color: #ccc;
  color: #43494D;
  background-color: #cfe4f0;
  border-top: 2px solid #0078B6;
}

.theader{
  background-color: #8a8a8a;
}

table{
  border-spacing: 0px;
}
table.objednavkaZakaznik  { width: 100%;
                            background: white;
                            font-size: 16px;
                            text-align: left;
                            overflow-x: auto;
                            min-width: 840px;
                          }
table.objednavkaZakaznik_0  { font-size: 18px;}
table.objednavkaZakaznik tr:nth-child(even) {background-color: #f2f2f2; }
table.objednavkaZakaznik td,
table.objednavkaZakaznik th {padding:  10px;}


/*table.objednavkaZakaznik tr th  { border: 1px solid #CBD2D8;
                                  background-color: #CBD2D8;}
table.objednavkaZakaznik tr td  { border: 1px solid #CBD2D8;
                                  padding: 2px;
                                  font-size: 12px;}*/
table.objednavkaZakaznik tr td.warning  { background: url('/images/icon/es-icon-warning.png')
                                                      center center no-repeat;
                                          background-size: 14px 14px;}
table.objednavkaZakaznik tr td.warning:hover  { background: url('/images/icon/es-icon-warning.png')
                                                            center center no-repeat;
                                                background-size: 16px 16px;}

body.adminx table.objednavkaZakaznik tr:first-child th{
  border: none;
}

/* zaciatok admin #20180702 */

body.adminx  { background-color: #368ECD;
              background-image: none;}
body.adminx div#clear{
  clear: both;
  width: 100%;
  }
body.adminx div.header,
body.adminx div.header * { visibility: hidden;
                        width: 0px;
                        height: 0px;}
body.adminx div#detail { padding-top: 0px;
                          width: 100%;
                          max-width: 1920px;
                          margin: auto}

body.adminx div#left   { visibility: hidden;
                        width: 0px;
                        height: 0px;}
body.adminx div#right_bar{ display: none; }
body.adminx div#right {width: 80%;
                        margin: auto;}
body.adminx div#right .content {  padding: 15px;
                                  background-color: white;
                                  margin: auto;
}

body.adminx div#right .show_icon img { padding: 10px;
                                      border: 1px solid #368ECD;
                                      -webkit-border-radius: 1px;
                                      -moz-border-radius: 1px;
                                      -o-border-radius: 1px;
                                      -ms-border-radius: 1px;
                                      border-radius: 1px;
                                      background-image: none !important;
                                      background-color: rgba(255,255,255,0.5);}
body.adminx div#right .show_icon img:hover   { background-color: rgba(255,255,255,0.7);}
body.adminx .dolghi a {color: white;
                      text-decoration: none;}
body.adminx div#right div.show_icon a  { font-size: 1em;
                                          color: white;}
body.adminx div#right div.show_icon a:link   {  color: #1D75BD;
                                                text-decoration: none;}
body.adminx div#right div.show_icon a:active   {  color: #1D75BD;
                                                  text-decoration: none;}
body.adminx div#right div.show_icon a:visited  {  color: #1D75BD;
                                                  text-decoration: none;}
body.adminx div#right div.show_icon a:hover  {  color: #666666;
                                                text-decoration: underline;}

body.adminx footer .newsletter{
  display: none;
}

body.adminx footer .container{
  display: none;
}

body.adminx footer div.dolghi {
  visibility: visible;
  width: 80%;
  max-width: 1555px;
  height: 43px;
  clear: both;
  margin-left: 10%;
  background-color: white;
  color: black;
  text-align: center;
}

body.adminx footer div.dolghi p  {
  padding: 0px;
  margin: 0px;
  font-weight: normal;
  font-size: 12px;
  padding-bottom: 0px;
  padding-right: 30px;
  text-align: center;
}

body.adminx footer div.dolghi a img  {
  position: relative;
  top: 4px;
  padding-top: 5px;
}

body.adminx footer div.dolghi *{
  color: black;
  padding: 15px 0px;
}

/*body.adminx h1,
body.adminx h2,
body.adminx h3
body.adminx h4 { font-family: Verdana;
                text-decoration: none;
                font-style: normal;
                background: none;
                margin-bottom: 0px;}
                  */
/* koniec admin #20180702 */

/* zaciatok grid jQuery UI */
table.ui-jqgrid-htable thead tr.ui-search-toolbar { border: none;}
table.ui-jqgrid-htable thead tr.ui-search-toolbar th,
table.ui-jqgrid-htable thead tr.ui-jqgrid-labels th { padding-top: 5px;}
div.ui-widget-header { background: #5c9ccc url();}
div.ui-state-default,
div.ui-widget-content .ui-state-default,
div.ui-widget-header .ui-state-default,
div.ui-button,
a.ui-button,
a.ui-button:hover,
html div.ui-button.ui-state-disabled:hover,
html div.ui-button.ui-state-disabled:active {
    background: #dfeffc url();}


html div.ui-dialog-buttonset button.ui-button,
html div.ui-dialog-buttonset button.ui-button.ui-state-disabled:active { background: #dfeffc url();}
/* koniec grid jQuery UI */


.box-shadow-menu {
  position: relative;
  padding-left: 1.25em;
}
.box-shadow-menu:before {
    content: "";
    position: absolute;
    left: 0;
    border-radius: 5px;
    width: 4em;
    height: 0.7em;
    background: white;
    box-shadow: 0 1.25em 0 0 white, 0 2.5em 0 0 white;
}

#clear  { clear: both;}
.clear  { clear: both;}
.left {text-align: left;}
.left_float { float: left;}
.right_float { float: right; }
.img_left_float { float: left;
                  margin-right: 5px;
                  border: 1px solid #C0C0C0;}
.img_right_float { float: right;
                  margin-left: 15px;
                  border: 1px solid #C0C0C0;}
.right {text-align: right;}
.center {text-align: center;}

.italic { font-style: italic;}
.bold  {  font-weight: bold;}

.brown {color: brown;}
.green  {color: #1B700E;}
.rose {color: #C75451;}
.red {color: red;}
a.white  { color: #F8EEE5;}
.kod  { font-size: 11px;}

ul.none li  { list-style: none;
              margin-left: 0px;
              line-height: 150%;}
ol.alfa     { list-style-type: lower-alpha;
              line-height: 150%;
              margin-left: 30px;}
ol.numeric  { list-style-type: decimal;
              line-height: 150%;
              margin-left: 30px;}
ul.text     { list-style-type: square;
            color: #0274B3;
              margin-left: 30px;}
ul.text li span { color: #43494D;}

#objEditFrm table input[type=checkbox]
{
  /* Double-sized Checkboxes */
  -ms-transform: scale(1.5); /* IE */
  -moz-transform: scale(1.5); /* FF */
  -webkit-transform: scale(1.5); /* Safari and Chrome */
  -o-transform: scale(1.5); /* Opera */
  padding: 5px;
  border-radius: 0px;
}
#objEditFrm table td {
  padding: 15px;
}
#objEditFrm table th {
  padding: 20px;
}

table .pocetKusov {
  text-align: right;
  border: 1px solid gray;
  font-size: 12px;
}
input[type=number].pocetKusov{
  width: 60px;
}
/*#objEditFrm table in.pocetKusov{
  width: 60px;
}
*/

.v3-right-button{
  float: right;
  width: 200px;
  padding: 5px !important;
  color: white!important;
  background-color: #0078B6!important;
}
.v3-right-button:hover{
  cursor: pointer;
  color: #0078B6!important;
  background-color: #CFE4F0!important;
}

.v3-cancel{
  color: white!important;
  background-color: #A8011A!important;
  border: none;
  margin: 10px;
}

.v3-cancel:hover{
  color: #A8011A!important;
  background-color: #E1B3BE!important;
}

.v3-order-detail-form{
  height: auto;
}


body.adminx{
  font-family: "Open Sans";
  background-color: white;
}
.v3-detail-sub-header{
  text-transform: uppercase;
  background-color: #CFE4F0;
  border-top: 2px solid #0078B6;
  margin-right: -15px;
  margin-left: -15px;
  margin-top: 50px;
  padding: 20px;
}
.v3-dashboard-header{
  text-transform: uppercase;
  background-color: #CFE4F0;
  border-top: 2px solid #0078B6;
  overflow: auto;
}

.v3-dashboard-header select{
   background: #1D75BD;
  color: white;
  margin-right: 10px;
}

body.adminx table.v3-detail-table {
  font-size: 15px;
}
body.adminx table.v3-detail-table th{
  color: #0078B6;
}


body.adminx table.v3-detail-table tr:first-child,
body.adminx table.v3-detail-table tr:last-child{
  border-bottom: 2px solid #CFE4F0;
}

body.adminx .v3-sumtable {
  width: 30%;
  margin: 30px 0px
}
body.adminx .v3-sumtable table{
  width: 100%;
}

body.adminx .v3-sumtable table tr:last-child{
  font-weight: bold;
  color: #0078B6;
}
.inactiveLink{
  pointer-events: none;
  cursor: default;
  background-color: grey!important;
  color: black!important;
}

body.adminx .v3-dashboard-header input.hasDatepicker{
  width: 90px;
  text-align: center;
  background: transparent;
  border: none;
  border-bottom: 3px solid white
}
body.adminx .FltOrdersBetween label{
  text-transform: lowercase;
  color: #1D75BD;
}

.FltOrdersBetween{
  padding: 5px;
  margin: 0;
  width: auto;
  height: auto;
  text-align: right;
  background: transparent;
}

body.adminx .FltOrdersBetween .guzik{
  padding: 5px 10px;
  margin: 0px 5px;
}

input:not([type=checkbox]):not([type=radio]) {
  display: inline;
}

.v3-wide-btn{
  color: black;
  width: 100%;
  height: 70px;
}
.v3-wide-btn:hover,
.v3-wide-btn.selected{
  background-color: #F2F2F2;
  text-decoration: none;
  color: #0078B6;
}
.v3-wide-btn:hover #v3-new-img,
.v3-wide-btn.selected #v3-new-img{
  background-image: url(/images/icon/es-new-orders-selected.png);
}
.v3-wide-btn:hover #v3-in-progress-img,
.v3-wide-btn.selected #v3-in-progress-img{
  background-image: url(/images/icon/es-in-progress-orders-selected.png);
}
.v3-wide-btn:hover #v3-ended-img,
.v3-wide-btn.selected #v3-ended-img{
  background-image: url(/images/icon/es-ended-orders-selected.png);
}
.v3-wide-btn:hover #v3-cancelled-img,
.v3-wide-btn.selected #v3-cancelled-img{
  background-image: url(/images/icon/es-cancelled-orders-selected.png);
}
.v3-wide-btn:hover #v3-chitted-img,
.v3-wide-btn.selected #v3-chitted-img{
  background-image: url(/images/icon/es-chitted-orders-selected.png);
}

.v3-phases {
  display: inline-flex;
}
.v3-phases a{
  text-decoration: none!important;
}
.v3-phases div#v3-phase-tiles {
	padding: 0px;
  max-width: 132px;
}
.v3-phases div#v3-phase-orders {
	padding: 0px;
	border-left: 2px solid #F2F2F2;
}
.v3-phases-count{
  float: right;
  background-color: #66D845;
  padding: 0px 12px 0px 12px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}
.v3-phase{
  padding: 10%;
  text-align: center;
}
.v3-phase #v3-new-img{
  background-image: url(/images/icon/es-new-orders.png);
}
.v3-phase #v3-in-progress-img{
  background-image: url(/images/icon/es-in-progress-orders.png);
}
.v3-phase #v3-ended-img{
  background-image: url(/images/icon/es-ended-orders.png);
}
.v3-phase #v3-cancelled-img{
  background-image: url(/images/icon/es-cancelled-orders.png);
}
.v3-phase #v3-chitted-img{
  background-image: url(/images/icon/es-chitted-orders.png);
}
.v3-phase .v3-icon{
  background-repeat: no-repeat;
  height: 25px;
  width: 25px;
  margin: 0px auto;
}
div.centered{
  margin: 0 auto;
  width: 50%;
  height: 50%;
}

#v3-phase-orders{
  width: 80%;
}
#v3-phase-orders div.table-responsive{
  padding: 0px 10px;
}

.v3-dropdown{
  border-left: 2px solid;
  border-right: 2px solid;
  border-bottom: 2px solid;
  border-color: white;
  position: absolute;
  z-index: 999;
  color: black;
  background: #CFE4F0;
  width: 90em;
  right: 9%;
  display: none;
  top: 38px;
  text-align: left!important;
}
.v3-dropdown h2{
  margin-top: 13px!important;
  margin-left: 13px!important;
}
.display-table{
  display: table;
}
 .v3-dropdown ul{
  margin: 0px!important;
  width: 100%!important;
  display: table!important;
  padding-bottom: 4px!important;
  text-align: left!important;

}
.v3-dropdown ul li{
  display: block!important;
  padding: 5px;
}
.v3-dropdown ul li *{
  color: black!important;
}
.v3-dropdown ul li a{
  display: block!important;
  /*color: white!important;*/
  border: none!important;
  }
.v3-dropdown ul li:hover {
  border: none!important;
  color: black!important;
  background: #F2F2F2!important;
}
.v3-dropdown ul li:hover a{
   color: black!important;
  background: #F2F2F2!important;
}

.clickable:hover{
  cursor: pointer;
}

#adminAttendanceFilterUser{
  background: #1D75BD;
  color: white;
}

#adminHrTaskFilterSetUser{
  background: #1D75BD;
  color: white;
}

.adminAttendanceFilter{
    width: 90px;
    text-align: center;
    background: transparent;
    border: none;
    border-bottom: 3px solid white;
}

.v3-sum{
    border: 2px solid #1D75BD;
    margin: 1%;
    padding: 10px;
    font-size: 15px;
    display: inline-block;
    width: 14.5%;
}


a.disabled,
input.disabled{
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}
input.invalid{
  border: 2px solid red;
}
.alert.warning,
.v3-phases-count.warning{
  background-color: red;
  color: white;
}

.success{
  color: white;
  background-color: #66D845;
}
.alert{
  padding: 10px;
  text-align: center;
}

.status{
  text-transform: uppercase;
}

.status .submitted{
  color: orange;
}

.status .rejected{
  color: red;
}

.status .approved{
  color: #66D845;

}



/*media query google this stuff*/
@media only screen and (max-width: 992px) {
  .show_icon {padding: 0px;
              margin: 0px;}
  body.adminx div#right {width: 100%;}
  body.adminx div#right .content {
    padding: 10px;
  }
  body.adminx footer div.dolghi {width: 100%;
                                    margin: 0px;
  }
  body.adminx div#admin_menu li{
    display: none;
  }
  body.adminx #admin_menu #burger{
    display: block;
    top: 1em;
    right: 40px;
    height: 3.4em;
    width: 4.2em;
  }
  body.adminx div#admin_menu .show{
    z-index: 10;
    position: absolute;
    text-align: left;
    font-size: 1.5em;
    right: 0em;
    top: 70px;
    width: 70%;
    background: #1D75BD;
    height: auto;
    border: 3px solid white;
    transition: 0.2s;
    border-radius: 2px;
  }

  body.adminx div#admin_menu h2{
    font-size: 1em;
  }
/*set z-index, so footer won't be over .show class*/
  body.adminx div#footer div.dolghi{z-index: -1;}
  body.adminx div#admin_menu .show li{
    display: block;
    position: relative;
  }
  body.adminx div#admin_menu .show li a{
    display: block;
  }

  body.adminx #admin_tool {
  height: 70px;
  top: 0px;
  left: 0px;
  }
  body.adminx #admin_menu a.logo {
  height: 35px;
  padding-top: 20px;
  font-size: 1.2em;
  }

  body.adminx img.es-orders {
    width: 72px;
    margin-right: 20px;
  }
  .v3-phases {
    margin-left: 0px;
    margin-right: 0px;
  }

  body.admix .v3-sumtable{
    width: 100%;
  }

  #v3-phase-tiles {
    max-width: none!important;
  }
  .v3-phases a{
    display: inline-flex;
    width: 20%;
  }
  .v3-phase span{
    display: none;
  }

  .v3-wide-btn{
    height: 100%;
  }

  body.adminx .v3-phase-tile{
        font-size: 2vw;
        margin-top: -5px;
  }
  body
  body.adminx{
  margin-top: 80px;
  }

  body.adminx #v3-phase-orders{
    width: 100%;
  }

  .v3-dropdown{
    width: 100%!important;
    max-width: 100%!important;
    top: 0px!important;
    right: 0px!important;
  }

}



@media screen and (max-width: 640px) {
   body.adminx .tile{
  width: 100%;
 }
}

/*jqgrid*/
.ui-jqgrid tr.jqgrow td {
    white-space: normal !important;
    height:auto;
    vertical-align:text-top;
}
.ui-jqgrid .ui-jqgrid-htable th div {
    white-space:normal !important;
    height:auto;
    vertical-align:text-top;
    position:relative;
    overflow:hidden;
}

/* jqgrid - collapse/expand cell overflow */
td[role="gridcell"] div.cell-collapse {
  max-height: 200px;
}
td[role="gridcell"] div.cell-collapse:before {
  font-family: 'FontAwesome';
  content: "\f077";
  float: right;
  transition: all 0.5s;
}
td[role="gridcell"] div.cell-collapsed {
  max-height: 20px;
}
td[role="gridcell"] div.cell-collapsed:before {
  font-family: 'FontAwesome';
  content: "\f078";
  float: right;
  transition: all 0.5s;
}

.hr_comments_wrapper {
  padding-top: 3em;
  padding-bottom: : 3em;
}
#list .cbox {vertical-align: middle;}

/* PRE RS-TIMELINE START */

table.objednavkaRezervacia {
  width: 100%;
  background: white;
  font-size: 16px;
  text-align: left;
  overflow-x: auto;
  min-width: 840px;
}

table.objednavkaRezervacia_0 {
  font-size: 18px;
}

table.objednavkaRezervacia tr:nth-child(even) {
  background-color: #f2f2f2;

}
table.objednavkaRezervacia td,
table.objednavkaRezervacia th {
  padding:  10px;
}

table.objednavkaRezervacia tr td.warning  {
  background: url('/images/icon/es-icon-warning.png') center center no-repeat;
  background-size: 14px 14px;
}

table.objednavkaRezervacia tr td.warning:hover {
  background: url('/images/icon/es-icon-warning.png') center center no-repeat;
  background-size: 16px 16px;
}

body.adminx table.objednavkaRezervacia tr:first-child th {
  border: none;
}

body.adminx .FltOrdersDateRange label{
  text-transform: lowercase;
  color: #1D75BD;
}

.FltOrdersDateRange{
  padding: 5px;
  margin: 0;
  width: auto;
  height: auto;
  text-align: right;
  background: transparent;
}

body.adminx .FltOrdersDateRange .guzik{
  padding: 5px 10px;
  margin: 0px 5px;
}

/* PRE RS-TIMELINE END */

.gridform-disabled {
  background: rgb(221, 221, 221);
}

/* PRE UNITION ACADEMY - START */

/* formular na pridavanie odznakov */

.ac-container-form {
  text-align: center;
  text-transform: uppercase;
  overflow: auto;
  margin-top: 10px;
  padding: 5px 0;
}

.ac-container-form .content {
  width: 100%;
}

.ac-container-form .content table {
  margin: auto;
  padding: 10px;
  width: 400px;
}

.ac-container-form .content tbody {
  display: table-row-group;
  vertical-align: middle;
  border-color: inherit;
}

.ac-container-form tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit;
}

.ac-container-form td {
  text-align: left;
  display: table-cell;
  vertical-align: inherit;
}

.ac-container-form td p {
  margin-top: 15px;
}

.ac-container-form input,
.ac-container-form textarea,
.ac-container-form select {
  margin-top: 15px;
  float: right;
  width: 200px;
}

.ac-container-form textarea {
  height: 100px;
}

.ac-container-form input[type=submit] {
  background-color: white;
  border: 1px black solid;
  text-align: right;
  display: inline-block;
  margin-top: 25px;
  padding-left: 5px;
  padding-right: 5px;
  width: auto;
}

.ac-container-form input[type=submit]:hover {
  background-color: #1D75BD;
  color: white;
}

/* zobrazenie certifikatov v gride */

.certificate-div {

}

.certificate-grid {
  padding: 2rem;
}

.certificate-grid > ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 1rem;
  list-style: none;
}

.certificate-grid > ul > li {
  width: max-content;
  margin-bottom: 2rem;
}

.certificate-grid > ul > li > figure {
  overflow: hidden;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
  /*border-bottom: 2px #1D75BD solid;*/
  position: relative;
}

.certificate-grid > ul > li > figure > a > img {
  width: 80%;
  height: 80%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.ua-badge-info {
  font-size: 1.3rem;
  line-height: 1.5;
  /*background-color: #1D75BD;*/
  margin-top: 1rem;
  padding: 0rem .75rem 1rem 0.75rem;
  color: #1D75BD;
}

.ua-badge-btn-group {
  float: none;
  text-align: center;
  margin-top: 1.5rem;
}

.ua-badge-btn-group > a {
  margin: 0 1rem;
}

.ua-detail-badge-div {
  width: 200px;
  height: 150px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 0;
}

.ua-detail-badge-div > table > tbody > tr > td > img {
  display: block;
  position: absolute;
  top: 50%;
  left: 93%;
  max-height: 80%;
  max-width: 80%;
  transform: translate(-50%, -50%);
}

.ua-out-of-date{
  color: #a9a9a9;
}

.ua-out-of-date > a:link,
.ua-out-of-date > a:visited{
  text-decoration: none;
  color: #a9a9a9;
}

.ua-out-of-date > a:hover,
.ua-out-of-date > a:active {
  text-decoration: none;
  color: #7c7a7a;
}

.ua-tag {
  border-radius: 5px;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1px 5px;
  margin-right: 5px;
}

.ua-workshop-tag {
  background: #83C30F;
  color: white;
}

.ua-rs-tag {
  background: #2F2F2C;
  color: white;
}

.ua-tags-select > td > h6 > select {
  display: block !important;
  width: 240px !important;
}

.ua-tags-select > td > h6 > span {
  display: none;
}

/* PRE UNITION ACADEMY - END */

/* PRE HR TASK DETAIL - START */

.hr-tag {
  border-radius: 5px;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 1px 5px;
  margin-right: 5px;
  margin-top: 5px;
}

.hr-priority-1-tag {
  background: #FF0000;
  color: white;
}

.hr-priority-2-tag {
  background: #FFFF00;
  color: white;
}

.hr-priority-3-tag {
  background: #008000;
  color: white;
}

.hr-tags-select > td > h6 > select {
  display: block !important;
  width: 240px !important;
}

.hr-tags-select > td > h6 > span {
  display: none;
}

.hr-semaphore {
  margin: 0 15px;
  float: right;
}

#team_meeting-button {
  display: none;
}

#team_meeting,
#team_meeting_heading {
  display: none;
}

/* PRE HR TASK DETAIL - END */

/* PRE WIKI - START */

.cofis-code {
  width: 100%;
  height: 150px;
  padding: 10px;
}

#wiki-main [class*='col-'] {
    transition: all 0.5s ease-in-out;
}

.wiki-edit-tr input,
.wiki-edit-tr textarea
 {
  width: 80vw;
}

.wiki-edit-tr #id_category-button {
  width: 80vw;
}

.wiki-edit-tr .tox-tinymce {
  height: 50vh !important;
}

.wiki-add-article {
  float: right;
  margin: 0 20px;
  background-color: #FFFFFF;
  color: #1D75BD;
  border: none;
  cursor: pointer;
}

.wiki-add-article:active,
.wiki-add-article:hover,
.wiki-add-article:visited {
  color: #1D75BD !important;
}

.wiki-add-article i {
  color: #1D75BD !important;
}

.wiki-toggle-full-screen {
  float: right;
  margin: 0 20px;
  background-color: #FFFFFF;
  color: #1D75BD;
  border: none;
  cursor: pointer;
}

#wiki-toggle-full-screen:active,
#wiki-toggle-full-screen:hover,
#wiki-toggle-full-screen:visited {
  color: #1D75BD !important;
}

#wiki-toggle-full-screen-icon {
  color: #1D75BD !important;
}

.wiki-article h1 {
  margin-top: 0px !important;
}

.wiki-article-buttons {
  float: right;
}

.wiki-article-buttons a {
  color: #1D75BD;
  margin: 0 -10px;
  padding: 10px;
  cursor: pointer;
  display: block;
}

.wiki-left-bar {
  padding-top: 20px;
  display: block;
  height: max-content;
  transition: visibility 1s, opacity 1s ease;
  z-index: 1;
  top: inherit;
}

.wiki-bars-hide{
  display: none;
}

.wiki-main-content-border {
  border-left: 2px #1D75BD solid;
  border-right: 2px #1D75BD solid;
}

.wiki-left-bar > ul {
  list-style-type: none;
}

.wiki-ul-1 {
  padding-left: 10px;
  list-style-type: none;
}

.wiki-ul-2 {
  padding-left: 20px;
  list-style-type: none;
}

.wiki-main-content {
  height: max-content;
  padding: 20px 20px 20px 20px;
  transition: margin-left .5s;
}

.wiki-main-content ul,
.wiki-main-content ol {
  margin-left: 50px;
}

.wiki-main-content img {
  max-width: 90%;
  height: auto;
  margin: 10px;
}

.wiki-article{
  float: left;
  width: 90%;
}

.wiki-right-bar {
  padding-top: 20px;
  height: max-content;
  z-index: 1;
}

.wiki-right-bar > ul {
  list-style-type: none;
}

.wiki-right-bar li {
  padding: 5px 10px;
}

.wiki-right-bar li:hover {
  border-left: 1px #1D75BD solid;
}

.wiki-right-bar-h1 {
  margin-left: 10px;
}

.wiki-right-bar-h2 {
  margin-left: 20px;
}

.wiki-right-bar-h3 {
  margin-left: 30px;
}

.wiki-right-bar-h4 {
  margin-left: 40px;
}

.wiki-right-bar-h5 {
  margin-left: 50px;
}

.wiki-right-bar-h6 {
  margin-left: 60px;
}

.wiki-no-content {
  display: flex;
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  height: 600px;
  width: 100%;
}

@media only screen and (max-width: 970px) {
  .wiki-left-bar{
    padding: 10px 20px;
    margin-bottom: 20px;
  }

  .wiki-main-content-border {
    border: 2px #1D75BD solid;
    border-radius: 5px;
    padding: 20px;
  }

  .wiki-right-bar{
    padding: 10px 10px;
    margin-top: 20px;
  }
}

#back-top-button {
  bottom: 45px;
  right: 3%;
  position: fixed;

}

#back-top-button img {
  width: 56px;
  opacity: 0.2;
  transition: 0.3s;
}

#back-top-button img:hover {
  opacity: 1;
}

/* PRE WIKI - END */

/* PRE CHARTS v PROJECT DETAIL - START */

#project_chart_supervision_div > img,
#project_chart_maintenance_seo_div > img {
  width: 240px;
  margin: 0 auto;
}

#project_chart_items_div > img {
  width: 570px;
  margin: 0 auto;
}

/* PRE CHARTS v PROJECT DETAIL - END */

/* PRE SZM DASHBOARD - START */

.szm-month-name {
  font-size: 13px;
  /*font-weight: 500;*/
}

/* PRE SZM DASHBOARD - END */

/* PRE HRT-TASK*/

.hr-add-task {
  float: right;
  margin: 0 20px;
  background-color: #FFFFFF;
  color: #1D75BD;
  border: none;
  cursor: pointer;
}

.hr-add-task:active,
.hr-add-task:hover,
.hr-add-task:visited {
  color: #1D75BD !important;
}

.hr-add-task i {
  color: #1D75BD !important;
}

.hr-add-form {
  width: 93%;
}

#id_id_task-button,
#id_adm_responsible-button,
#id_adm_tester-button {
  width: 93%;
}

#id_file_type-button,
#upload_file {
  width: 100%;
}

/* HR AGILE DASHBOARD - START */

div.btn-container{
    display: table-cell;
    /*vertical-align: middle;*/
    text-align: center;
    padding-left: 15px;
    float: right;
}

div.btn-container i{
    display: inline-block;
    position: relative;
    top: -9px;
}

.btn-container label {
    font-size: 13px;
    color: #424242;
    font-weight: 500;
}

.btn-hr-mode-switch{
    display: inline-block;
    margin: 0px;
    position: relative;
}

.btn-hr-mode-switch > label.btn-hr-mode-switch-inner{
    margin: 0px;
    width: 140px;
    height: 33px;
    background: #E0E0E0;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    /*box-shadow: 0px 0px 8px 0px rgba(17, 17, 17, 0.34) inset;*/
    display: block;
}

.btn-hr-mode-switch > label.btn-hr-mode-switch-inner:before{
    content: attr(data-on);
    position: absolute;
    font-size: 12px;
    font-weight: 500;
    top: 7px;
    right: 20px;

}

.btn-hr-mode-switch > label.btn-hr-mode-switch-inner:after{
    content: attr(data-off);
    width: 70px;
    /*height: 16px;*/
    background: #fff;
    border-radius: 26px;
    position: absolute;
    left: 2px;
    top: 2px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 6px -2px #111;
    padding: 5px 0px;
}

.btn-hr-mode-switch > .alert{
    display: none;
    background: #FF9800;
    border: none;
    color: #fff;
}

.btn-hr-mode-switch input[type="checkbox"]{
    cursor: pointer;
    width: 50px;
    height: 25px;
    opacity: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    margin: 0px;
}

.btn-hr-mode-switch input[type="checkbox"]:checked + label.btn-hr-mode-switch-inner{
    background: #1C75BD; 
    color: #000;
}

.btn-hr-mode-switch input[type="checkbox"]:checked + label.btn-hr-mode-switch-inner:after{
    content: attr(data-on);
    left: 68px;
    background: #CFE4F0;
}

.btn-hr-mode-switch input[type="checkbox"]:checked + label.btn-hr-mode-switch-inner:before{
    content: attr(data-off);
    right: auto;
    left: 20px;
}

.btn-hr-mode-switch input[type="checkbox"]:checked + label.btn-hr-mode-switch-inner{
    /*background: #66BB6A; */
    color: #fff;
}

.btn-hr-mode-switch input[type="checkbox"]:checked ~ .alert{
    display: block;
}

.kanban-container {
  padding-left: 0;
  padding-right: 0;
}

.content-heading {
  font-size: 24px;
  line-height: 1.1;
  color: #929292;
  margin: -15px;
  margin-bottom: 20px;
  padding: 0px;
  font-weight: 400;
  background-color: #fafbfc;
  border-bottom: 1px solid #cfdbe2;
}
        
.content-heading h3 {
  font-size: 24px;
  line-height: 1.1;
  color: #656565;
  padding: 15px 0 0 20px;
  font-weight: 400; 
}
    
.content-heading h6 {
  font-size: 14px;
  margin-top: -5px;
  color: #777;
  padding: 0 0 0 35px;
  font-weight: 300; 
}
    
.bs-callout {
  padding: 10px;
  margin: 20px 0;
  border: 1px solid #eee;
  border-left-width: 5px;
  border-radius: 3px;
}

.bs-callout a {
  text-decoration: none;
  color: #656565;
}

.bs-callout h4 {
  margin-top: 0;
  margin-bottom: 5px;
}

.bs-callout p:last-child {
  margin-bottom: 0;
}

.bs-callout code {
  border-radius: 3px;
}

.bs-callout+.bs-callout {
  margin-top: -5px;
}

.bs-callout-default {
  border-left-color: #777;
}

.bs-callout-default h4 {
  color: #777;
}

.bs-callout-primary {
  border-left-color: #428bca;
}

.bs-callout-primary h4 {
  color: #428bca;
}

.bs-callout-success {
  border-left-color: #5cb85c;
}

.bs-callout-success h4 {
  color: #5cb85c;
}

.bs-callout-danger {
  border-left-color: #d9534f;
}

.bs-callout-danger h4 {
  color: #d9534f;
}

.bs-callout-warning {
  border-left-color: #f0ad4e;
}

.bs-callout-warning h4 {
  color: #f0ad4e;
}

.bs-callout-info {
  border-left-color: #5bc0de;
}

.bs-callout-info h4 {
  color: #5bc0de;
}
    
.panel-blue {
  border-top: 5px solid #29B6F6;
  /*border-radius: 10px 10px 0px;*/
}

.panel-yellow {
  border-top: 5px solid #FFB300;
  /*border-radius: 10px 10px 0px;*/
}

.panel-green {
  border-top: 5px solid #8BC34A;
  /*border-radius: 10px 10px 0px;*/
}

.panel-red {
  border-top: 5px solid #C70039;
  /*border-radius: 10px 10px 0px;*/
}

.panel-orange {
  border-top: 5px solid #FF5733;
  /*border-radius: 10px 10px 0px;*/
}
    
.kanban-container .panel-title {
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  color: #656565;
}

.kanban-container .panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
    
.kanban-container .panel-footer {
  padding: 10px 15px;
  background-color: #fff; 
  border-top: 1px solid #fff;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.kanban-container .fas:hover {
  color: #0178B6;
}

.btn {
  line-height: 1 !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.progress2 {
  margin-bottom: 20px;
  overflow: hidden;
  background-color: #fff;
  border-top: 1px solid #eee;
  
}

.task-detail {
  overflow: auto;
  transition: opacity 0.2s ease-out;
}

.task-detail-collapse-btn {
  float: right;
  line-height: 1.5 !important;
}

.task-tags {
  margin: 10px 0;
}

.task-description {
  margin: 10px 0; 
}

.task-team {
  display: flex;
}

.task-team p {
  margin-top: -5px;
}

.title-href:hover {
  text-decoration: underline;
}

.task-actions {
  float: right;
}

.task-actions a {
  color: #43494D;
  margin-right: 10px;
}

.task-actions .fa-redo {
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
}
  
.progress {
  background: #FFF;
  margin: 5px 10px 5px 10px;
  height: 2px;
  
}

.progress-bar {
  background-color: #29B6F6;
}
  
.modal-dialog {
  width: 200px;
  margin: 30px auto;
  font-size: 9px;
} 
    
.kanban{
  margin: 50px auto;
}

.actions-footer {
  color: #999;
}

.detail-header i {
  color: #368ecd;
  font-size: 3em;
  padding-right: 10px;
  float: left;
}

.detail-header i:hover {
  color: #CFE4F0;
}

#selectible #id_tags {
  display: block !important;
  border: 1px solid #79b7e7;
  width: 100%;
  overflow: auto;
  height: 50px;
}

#selectible #id_tags-button {
  display: none !important;
}

/* HR AGILE DASHBOARD - END */

/* TRUMBOWYG - START */

.trumbowyg-editor{
  font-size: 16px;
}

/* TRUMBOWYG - END */

/* CHIPS - START */

.list-inline {
  display: inline-block;
}

.chip {
  display: inline-block;
  padding: 0 25px;
  margin-top: 10px;
  height: 50px;
  font-size: 18px;
  line-height: 50px;
  border-radius: 25px;
  background-color: #f1f1f1;
}

.chip img {
  float: left;
  margin: 0 10px 0 -25px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.closebtn {
  padding-left: 10px;
  color: #888;
  font-weight: bold;
  float: right;
  font-size: 20px;
  cursor: pointer;
}

.closebtn:hover {
  color: #000;
}

/* CHIPS - END */

/* SUBGRID - START */

tr.details:hover {
  background-color: #FFF !important;
}

td.details {
  padding: 0 !important;
  padding-left: 60px !important;
}

td.details .table-header .desc {
  margin: 15px 0 !important;
}


td.details .table-footer {
  display: none;
}

ul.dtr-details {
  margin-left: 50px !important;
}

/* SUBGRID - END */