/* CSS Document */

* {
	border:none;
	margin:0;
	padding:0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Regular.eot'),
         url('../fonts/OpenSans-Regular.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Bold.eot'),
         url('../fonts/OpenSans-Bold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Italic.eot'),
         url('../fonts/OpenSans-Italic.ttf') format("truetype");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-BoldItalic.eot'),
         url('../fonts/OpenSans-BoldItalic.ttf') format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-Light.eot'),
         url('../fonts/OpenSans-Light.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-Semibold.eot'),
         url('../fonts/OpenSans-Semibold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-LightItalic.eot'),
         url('../fonts/OpenSans-LightItalic.ttf') format("truetype");
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'OpenSansLight';
    src: url('../fonts/OpenSans-SemiboldItalic.eot'),
         url('../fonts/OpenSans-SemiboldItalic.ttf') format("truetype");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'OpenSansCond';
    src: url('../fonts/OpenSans-CondLight.eot'),
         url('../fonts/OpenSans-CondLight.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-CondBold.eot'),
         url('../fonts/OpenSans-CondBold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-CondLightItalic.eot'),
         url('../fonts/OpenSans-CondLightItalic.ttf') format("truetype");
    font-weight: normal;
    font-style: italic;
}


body {
    font-family:'OpenSansLight', Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    color: #333;
}

optgroup
{
    padding-top:3px;
    padding-bottom:3px;
}
    
table {
    border-collapse:collapse;
}
td, th {
    border: #fff groove 2px;
    padding:0 3px;
    vertical-align:top;
    text-align:left;
    white-space:nowrap;
}
td:hover {
    background-color:#ff0;
}
tr:hover {
    background-color:#ffe;
}
tr {
    background:#f5f5f5;
}
th {
    background:#345;
    color:#31404f;
    font-size:11px;
    color:#fff;
}
main, header {
    display: block;
}
main {
}

#header {
    background: #333;
    position: relative;
}
.subheader {
    background: #ccc;
    padding: 0px 20px;
    box-sizing: border-box;
    width: 100%;
    z-index: 999;
    top: 30px;
}

/** Titles */
h1,
h2,
h3,
h4,
h5 {
    color:#444;
    font-weight:bold;
    font-style:normal;
    font-size:14px;
    line-height:18px;
    font-family: 'Open Sans', sans-serif;
    }

h1,h2 {
    padding: 10px 7px;
    font-size: 22px;
    line-height: 40px;
    background: #333;
    color: white;
    font-weight: normal;
    }
h3,h4,h5 {
    margin:10px 0px 8px 0px;
    padding:0px;
    }
h3 {
    font-size: 18px;
    line-height: 22px;
    margin-top: 15px;
}
h4,h5 {
    margin:3px 0 1px 0;
    }
h4 {
    background-color: #fab400;
    padding: 2px 6px;
    font-weight: bold;
    font-family:'Open Sans', Arial, Helvetica, sans-serif;
    color: #000;
}
main h2 {
    display: inline-table;
    letter-spacing: 1px;
    position: relative;
}
main h2:after {
    content: '';
    border-bottom: 4px solid rgb(250,182,0);
    display: table-caption;
    caption-side: bottom;
    position: relative;
}
a {
    text-decoration: none;
}
textarea.code {
    width: calc(100% - 20px);
    height: 20vh;
    margin: 5px 10px 20px;
    padding: 10px;
    background: #eee;
    border: 1px solid #999;
}

#cal, .cal {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1000;
}
#cal1 {
    right: 170px;
}
.cal span {
    color: white;
    font-size: 22px;
    font-family: OpenSans;
    padding: 0px 20px;
    top: -8px;
    position: relative;
}
#datepicker, .datepicker {
    width: 5px;
    height: 5px;
    position: absolute;
    opacity: 0;
}
div#kspicker_wrap {
    position: absolute;
    right: 430px;
    top: 14px;
}
select#kspicker {
    padding: 7px;
    font-size: 18px;
    color: #333;
    background-color: #ddd;
    border-radius: 6px;
}
img.ui-datepicker-trigger {
    width: 40px;
    height: 40px;

}
div#ui-datepicker-div {
    box-shadow: 0 0 65px black, 0 0 30px black;
}
#ch {
    position: absolute;
    right: 400px;
    top: 4px;
}
#west, #ost {
    display: inline-block;
    width: 40px;
    height: 50px;
}

#search {
    position: absolute;
    right: 80px;
    top: 14px;
    z-index: 1000;
}
#searchterm {
    width: 180px;
    height: 35px;
    box-shadow: 2px 2px 15px #666 inset;
    font-size: 16px;
    font-family: Verdana, Arial, sans-serif;
    padding: 5px;
    border-radius: 8px;
}
.ui-autocomplete-loading {
    background: url('../img/loader.gif') right center no-repeat;
}
li.ui-menu-item {
    padding: 5px;
    white-space: nowrap;
    position: relative;
    background: white;
    color: black;
}
li.ui-menu-item:hover {
    background: rgb(255, 207, 88);
}
ul.ui-autocomplete {
    box-shadow: 0 0 65px black;
}

.vis-label.ctp {
    background: linear-gradient(rgb(253,220,170), rgb(250,160,20));
}
.vis-label.print {
    background: linear-gradient(rgb(168,213,160), rgb(84,150,68));
}
.vis-label.cut {
    background: linear-gradient(rgb(246,246,246), rgb(170,170,170));
}
.vis-label.fold{
    background: linear-gradient(rgb(238,150,225), rgb(195,33,170));
}
.vis-label.stitch {
    background: linear-gradient(rgb(136,173,232), rgb(33,86,174));
}
.vis-label.glue {
    background: linear-gradient(rgb(235,126,126), rgb(174,27,27));
}
.vis-label.dispatch {
    background: linear-gradient(rgb(252,252,101), rgb(183,183,3));
}

.vis-group.ctp {
    background: linear-gradient(rgba(253,220,170,0.1), rgba(250,160,20,0.1));
}
.vis-group.print {
    background: linear-gradient(rgba(168,213,160,0.1), rgba(84,150,68,0.1));
}
.vis-group.cut {
    background: linear-gradient(rgba(246,246,246,0.1), rgba(170,170,170,0.1));
}
.vis-group.fold {
    background: linear-gradient(rgba(238,150,225,0.1), rgba(195,33,170,0.1));
}
.vis-group.stitch {
    background: linear-gradient(rgba(136,173,232,0.1), rgba(33,86,174,0.1));
}
.vis-group.glue {
    background: linear-gradient(rgba(235,126,126,0.1), rgba(174,27,27,0.1));
}
.vis-group.dispatch {
    background: linear-gradient(rgba(252,252,101,0.1), rgba(183,183,3,0.1));
}




.vis-item.vis-range {
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
    background: rgba(147,211,255,0.8);
    border-radius: 6px 6px 0 0;
    height: 50px;
}
.vis-item.job {
    background: linear-gradient(#777,#111);
    border: 1px solid #333;
    color: white;
}
/* korrektur */
.vis-item.job.stat20 {
    background: #ffbbbb;
    color: #666;
}
/* reserviert */
.vis-item.job.stat25 {
    background: white;
    color: #666;
}
/* provisorisch */
.vis-item.job.stat30 {
    background: linear-gradient(#aaa,#666);
}
.vis-item .vis-item-content {
    padding: 0;
    width: 100%;
    transition: margin 0.5s ease, max-height 1s ease-in, box-shadow 0.3s linear;
    max-height: 49px;
    overflow: hidden;
}
.vis-item h6 {
    position: relative;
    padding: 3px;
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    color: white;
}
.vis-item.stat25 h6 {
    color: #666;
}
.vis-item-content h6 em {
    font-style: normal;
    font-size: 16px;
    padding-left: 4px;
}
.vis-item-content h6 a {
    display: none;
    width: 22px;
    height: 22px;
    position: absolute;
    background-image: url(../img/lauftasche.svg);
    background-repeat: no-repeat;
    background-size: contain;
    right: 0px;
    top: 2px;
}
.vis-item .vis-item-content > div {
    font-size: 12px;
    font-weight: normal;
    float: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(#fff, #bbb);
    color: black;
    border-left: 1px dotted black;
    opacity: 0;
    transition: opacity 1s linear;
}
.vis-item .vis-item-content > div:first-of-type {
    border-left: none;
}
.vis-item .vis-item-content > div em {
    font-style: normal;
    font-weight: bold;
    font-family: OpenSans;
    padding-left: 4px;
}
.vis-item.reservation .vis-item-content > div {
    display: none;
}

.vis-item.job.vis-selected {
    border-color: #ff9900;
    background: linear-gradient(#850, #520);
}
.vis-item.vis-selected .vis-item-overflow {
    overflow: visible;
}
.vis-item.job.vis-selected .vis-item-content {
    width: auto !important;
    min-width: 100%;
    max-height: 999px;
    margin-top: 26px;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.7);
}
.vis-item.job.vis-selected .vis-item-content h6 {
    background: rgba(0,0,0,0.9);
    padding-right: 40px;
    color: white !important;
}
.vis-item.job.vis-selected .vis-item-content h6 a {
    display: block;
}
.vis-item.job.vis-selected .vis-item-content > div {
    width: 100% !important;
    background: #ffb;
    border: 1px solid #ff9900;
    padding: 0 4px;
}




.vis-item.reservation{
    background: #ffbb88;
}
.jobcontainer {
    width: 100%;
    height: 20px;
    position: absolute;
    bottom: -2px;
}
.jobcontainer > div {
    font-size: 12px;
    font-weight: normal;
    float: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background: linear-gradient(#fff, #bbb);
    color: black;
    border-left: 1px dotted black;
    display: none;
}
.jobcontainer > div:first-of-type {
    border-left: none;
}
.jobcontainer > div em {
    font-style: normal;
    font-weight: bold;
    font-family: OpenSans;
    padding-left: 4px;
}
.vis-item.job.vis-selected, .vis-item.job.highlighted {
    border-color: orange;
    background: linear-gradient(#e50, #520);
}
.vis-item.job.vis-selected .vis-item-content h6, 
.vis-item.job.highlighted .vis-item-content h6 {
    color: white !important;
}
.vis-item.job.vis-selected .jobcontainer {
    width: auto !important;
    height: auto;
    top: 30px;
}
.vis-item.job.vis-selected .jobcontainer > div {
    width: 100% !important;
    background: #ffb;
    border: 1px solid orange;
    padding: 0 4px;
}



.vis-sunday {
    background: #fdd;
}
.vis-saturday {
    background: #fee;
}



.terminliste tr,
.papierliste tr {
    background: none;
}
.terminliste tr:nth-of-type(odd),
.papierliste tr:nth-of-type(odd) {
    background: #eee;
}
.terminliste td,
.papierliste td {
    padding: 2px 6px;
    border-bottom: 1px solid #ccc;
}
.terminliste tr.reservation {
    background: #ffbb88;
}

.termin-titel {
    margin-top: 20px;
}
.terminliste th,
.papierliste th {
    background: #ccc;
    font-weight: bold;
    color: black;
    font-size: 14px;
    padding: 3px 5px;
    border-top: 40px solid white;
}
tr.termin-titel.expand th {
    border-top-width: 10px;
    padding: 0 5px;
}
.searchwrap {
    margin: 50px 20px 50px;
}
.searchwrap label {
    display: block;
    transition-duration: 0.1s;
    transform-origin: bottom;
    transform: scale(1,0);
}
#papiersuche {
    width: 350px;
    height: 40px;
    box-shadow: 2px 2px 15px #666 inset;
    font-size: 16px;
    font-family: Verdana, Arial, sans-serif;
    padding: 7px;
    border-radius: 8px;
    display: block;
}

.pulse {
  animation: pulse 3s;
}
@keyframes pulse {
  from {
    transform: scale(1,1);
  }

  15%,45% {
    transform: scale(1.05,1.4);
  }

  30% {
    transform: scale(1,1);
  }

  to {
    transform: scale(1,1);
  }
}


@media print {

    body {
        color: black;
        font-family: 'OpenSans';
    }
    .terminliste tr:nth-of-type(odd) {
        background: #f4f4f4;
    }
    td, th {
        white-space: normal;
    }
    td.nowrap {
        white-space: nowrap;
    }
    .terminliste td {
        font-size: 10px;
        line-height: 12px;
        border-width: 0 0 1px 0;
    }
    table.terminliste {
        width: 100%;
    }
    tr.termin-titel.expand {
        display: none;
    }

}




/* absenzen */
#outer {
    clear: both;
}
#inner {
    position: relative;
}
#months {
    position: relative;
    clear:left;
    width:8000px;
    margin-left: 600px;
    z-index: 40;
}
#months div{
    float:left;
    height:22px;
    text-align:left;
    font-weight: bold;
    background: white;
    /*
    -moz-box-shadow:  inset 0 0 11px #ccc, inset -1px -1px 1px #333;
    -webkit-box-shadow: inset 0 0 11px #ccc, inset -1px -1px 1px #333;
    box-shadow:  inner 0 0 11px #ccc, inner -1px -1px 1px #333;
    */
    border-style: solid ;
    border-color: rgba(0,0,0,0.3);
    border-width: 1px 1px 1px 0;
    box-sizing: border-box;
}
#months div:first-child {
    border-width: 1px;
}
#months div p {
    padding-left:3px;
    font-size: 14px;
    line-height: 20px;
}
#weeks {
    position: relative;
    clear: left;
    width: 8000px;
    margin-left: 600px;
    z-index: 40;
}
#weeks div{
    float:left;
    height:22px;
    text-align:center;
    border-style: solid ;
    border-color: rgba(0,0,0,0.3);
    border-width: 0 1px 1px 0;
    background: white;
    box-sizing: border-box;
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
    font-weight: bold;
}
#weeks div:first-child {
    border-width: 0 1px 1px 1px;
}
#weeks div p {
    line-height: 20px;
}
#days, #daylegend {
    position: relative;
    clear:left;
    width:8000px;
    margin-left: 600px;
}
#daylegend {
    z-index: 40;
    height: 100px;
}
#days {
    height: 400px;
}
#days div, #daylegend div {
    float:left;
    width:24px;
    height:100%;
    text-align:center;
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
    /*
    -moz-box-shadow:  inset 0 0 11px #ccc, inset -1px -1px 1px #333;
    -webkit-box-shadow: inset 0 0 11px #ccc, inset -1px -1px 1px #333;
    box-shadow:  inner 0 0 11px #ccc, inner -1px -1px 1px #333;
    */
    border-style: dotted ;
    border-color: rgba(0,0,0,0.3);
    border-width: 0 1px 0 0;
    box-sizing: border-box;
}
#daylegend div {
    background: white;
}
#days div:first-child, #daylegend div:first-child {
    border-left-width: 1px;
}
#daylegend div em {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    display: block;
    font-style: normal;
    padding-left: 5px;
    white-space: nowrap;
}
#calgroups {
    position: absolute;
    top: 120px;
}
.calgroupinner {
    transform-origin: top center;
    /*
    transition: 1s;
    transform: scale(1,1);
    */
    display: inline-block;
}
/*
.calgroupouter:hover .calgroupinner {
    transform: scale(1,1);
    max-height: none;
}
*/
.calgroupouter {
    clear: left;
}
.calgroupouter p {
    position: relative;
    z-index: 40;
    padding-left: 5px;
    font-size: 12px;
    font-weight: bold;
    line-height: 24px;
    width: 600px;
    background: white;
}
div.event {
    position:absolute;
    overflow:hidden;
    box-sizing: border-box;
    white-space:nowrap;
    line-height:120%;
    z-index:20;
    font-size: 16px;
    line-height: 14px;
    text-overflow: ellipsis;
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
    color: #ffffff;
    padding: 2px 4px;
    height: 26px;
    background: linear-gradient(#999999,#333333);
    border-radius: 3px;
    border: 1px solid #333333;
    box-shadow:
        0px 1px 3px rgba(000,000,000,0.5),
        inset 0px 0px 1px rgba(255,255,255,1);
    text-shadow:
        0px -1px 0px rgba(000,000,000,0.7),
        0px 1px 0px rgba(255,255,255,0.3);
}
.event.status4 {
    border-top-width: 4px;
}
.event.type310 { /* ferien */
    background: linear-gradient(#cc0000, #660000);
    border-color: #660000;
    color: #ffffff;
}
.event.type320 { /* Militär */
    background: linear-gradient(#007F00, #005200);
    border-color: #005200;
    color: #ffffff;
}
.event.type325 { /* Mutterschaft */
    background: linear-gradient(#CC3384, #661942);
    border-color: #661942;
    color: #ffffff;
}
.event.type330 { /* Krank */
    background: linear-gradient(#002885, #001952);
    border-color: #001952;
    color: #ffffff;
}
.event.type331 { /* Betriebsunfall */
    background: linear-gradient(#006585, #003E52);
    border-color: #003E52;
    color: #ffffff;
}
.event.type332 { /* Nichtbetriebsunfall */
    background: linear-gradient(#006585, #003E52);
    border-color: #003E52;
    color: #ffffff;
}
.event.type349 { /* Ausbildung */
    background: linear-gradient(#FFDE00, #B8A000);
    border-color: #B8A000;
    color: #000000;
}
.event.type350 { /* Bez. Abwesenheit */
    background: linear-gradient(#FFDEC1, #B8A08B);
    border-color: #B8A08B;
    color: #000000;
}
.event.type351 { /* Komp 10% */
    background: linear-gradient(#cccccc, #aaaaaa);
    border-color: #aaaaaa;
    color: #000000;
}
.event.type355 { /* Kompensation */
    background: linear-gradient(#555555, #222222);
    border-color: #222222;
    color: #ffffff;
}
.event.type360 { /* Unbezahlter Urlaub */
    background: linear-gradient(#cc6600, #663300);
    border-color: #663300;
    color: #ffffff;
}

div.event em {
    text-shadow: none;
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 10px;
    font-family: OpenSans, Arial, Helvetica, sans-serif;
    color: rgba(255,255,255,0.8);
}
div.event.editable:hover {
    border-color:#fff;
    cursor: pointer;
}
div.event.overflow_left {
    border-radius: 3px 3px 3px 30px ;
}
div.event.overflow_right {
    border-radius: 3px 30px 3px 3px ;
}
div.event.overflow_right.overflow_left {
    border-radius: 3px 30px 3px 30px ;
}
body#eventtype .event {
    width: 150px;
    padding-top: 7px;
    display: inline-block;
}
.eventtype {
    height: 34px;
    margin: 20px 0;
}
div.calname, div.calentry {
    position: relative;
    -webkit-box-shadow: inset 0 0 11px rgba(0,0,0,0.1);
       -moz-box-shadow: inset 0 0 11px rgba(0,0,0,0.1);
            box-shadow: inset 0 0 11px rgba(0,0,0,0.1);
    background-color: rgba(50,15,0,0.1);
    margin-bottom: 4px;
}
div.calendar {
}
div.calname {
    height:55px;
    width:600px;
    background: white;
    float: left;
    padding-left: 5px;
    box-sizing: border-box;
    font-size: 16px;
    padding-top: 13px;
    z-index: 40;
}
.calname > div:first-of-type {
    float: left;
    display: inline-block;
}
.calname > div:last-of-type {
    display: inline-block;
    font-size: 12px;
    position: absolute;
    right: 3px;
    top: 3px;
}
.calname em {
    font-family: OpenSansCond, Arial, Helvetica, sans-serif;
    display: inline-block;
    width: 30px;
    height: 40px;
    text-align: center;
    font-style: normal;
    font-size: 12px;
    line-height: 40px;
    background: #ddd;
}
div.calname p {
    padding-top:15px;
}
.calentry {
    height: 55px;
    box-sizing: border-box;
    margin-left: 600px;
}
#cals p {
    position:absolute;
    border-top: 2px ridge #ccc;
    width:800px;
    z-index:10;
}
.today    {background-color:#bbddff !important; color:#00c; font-weight:bold;}
.holiday  {background-color:#ffeeee !important; color:#c00;}
.holiday.high {background-color:#ffcccc !important; font-weight:bold;}
.sunday   {background-color:#ffdada !important;}
.saturday {background-color:#ffeaea !important;}


.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: 100%;
    vertical-align: middle;
    margin: 3px;
}
.new-calgroup { background-image: url('../img/users_4_add.png');}
.edit-calgroup { background-image: url('../img/bullet_edit.png');}
.toggle-calgroup { background-image: url('../img/toggle.png');}
.toggle-calgroup.expand { background-image: url('../img/toggle_expand.png');}
.new-cal { background-image: url('../img/user_add.png');}
.edit-cal { background-image: url('../img/bullet_edit.png');}
.new-user { background-image: url('../img/user_add.png');}
.edit-user { background-image: url('../img/bullet_edit.png');}
.new-eventtype { background-image: url('../img/add.png');}
.edit-eventtype { background-image: url('../img/bullet_edit.png');}
.zoom-out { background-image: url('../img/zoom_out.png');}
.zoom-in { background-image: url('../img/zoom_in.png');}

#eventtype-legend {
    display: inline-block;
    float: right;
    margin-top: 4px;
}
#eventtype-legend .event {
  position: relative;
  display: inline-block;
  height: 21px;
  font-weight: normal;
  font-size: 14px;
}


