@charset "utf-8";

div.navcalprnt 
{
    position:relative;
    left:   0px;
    height: auto;
    width:  138px;
    font-family: Verdana, Geneva, sans-serif ;
    font-size: 9px ;
/*    height:    130px; */
}

div.navcalprnt > div:nth-child(1) > div:only-child,
div.navcalprnt > div:nth-child(1) > div:nth-child(2)
{
    font-weight:normal ;
    border-bottom: solid 1px #9ac6ff ;
    cursor:default;
    text-align:center;
    text-transform: uppercase;
}    

div.navcalprnt > div:nth-child(1) { width: 100%;}
div.navcalprnt > div:nth-child(1) > div:only-child   { width: 100%;}
div.navcalprnt > div:nth-child(1) > div:nth-child(2) { width: calc(100% - 28px);}

div.navcalprnt > div:nth-child(1) > div:nth-child(3),
div.navcalprnt > div:nth-child(1) > div:nth-child(1):not(:only-child)
{
    cursor: pointer ;
    width:  14px ;
    height: 14px ;
}

div.navcalprnt > div:nth-child(1) > div:nth-child(1):not(:only-child)
{
    background-image: url(../img/prevarr.png)
}    

div.navcalprnt > div:nth-child(1) > div:nth-child(3)
{
    background-image: url(../img/nextarr.png)
}    

div.navcalprnt div { float: left; background: none;}
div.navcalprnt > div {                        clear: right;}
div.navcalprnt > div:nth-child(1) > div {     clear: none;}
div.navcalprnt > div:nth-child(2) {           clear: left;}
div.navcalprnt > div:not(.calweekrow):not(:first-child) > div { clear: both;}

div.navcalprnt > div.calweekrow 
{
    border-right: solid 1px #9ac6ff;    
    padding: 0px 0px 0px 1px;
}

div.navcalprnt > div.calweekrow > div.caldaysrow
{
    padding-bottom: 1px;
    border-bottom: solid 1px #9ac6ff;
}

div.navcalprnt > div > div.caldaysrow 
{
    border-bottom: solid 1px #9ac6ff;
}

div.navcalprnt > div.calweekrow > div 
{
    clear: both; 
    font-style: italic;
    cursor: pointer;
    color: #00a;
}
div.navcalprnt > div > div > div[holiday]
{
    color: #f00;
    
}

div.navcalprnt > div > div:not(.caldaysrow) > div
{ 
    cursor: pointer;
}

div.navcalprnt > div.calweekrow > div,
div.navcalprnt > div > div > div
{ 
    width: 16px;
    border: solid 1px #fff;
    padding-right: 1px;
    text-align: right;
}

div.navcalprnt > div > div > div[dtfmt="p"] { color: #888;}
div.navcalprnt > div > div > div[dtfmt="n"] { color: #888;}

/***** CAL ITEM HOVER AND SELECT STATES ******/

div.navcalprnt > div > div > div[marked][dtfmt="t"]
{
    background-color: #fbdbbf;
    border: solid 1px #fbdbbf;
}

div.navcalprnt > div > div > div[today], 
div.navcalprnt > div > div > div[hilite]:not([selected]) { 
    background-color: #bfdbff ;
}
div.navcalprnt > div > div > div[today]:not([selected])  { border: solid 1px #C00; }
div.navcalprnt > div > div > div[hilite]:not([selected]) { border: solid 1px #00C; }


div.navcalprnt:not([selmde]) > div.calweekrow > div:hover,
div.navcalprnt[selmde] > div.calweekrow > div[dtfmt="t"]:hover,
div.navcalprnt:not([selmde]) > div > div:not(.caldaysrow) > div:hover,
div.navcalprnt[selmde] > div > div:not(.caldaysrow) > div[dtfmt="t"]:hover
{ 
    border: solid 1px #bbb ; 
    background-color: #ddd ;
}

div.navcalprnt > div > div > div[dtfmt="t"][selected]:not([status]):not([today])
{ border: dotted 1px #0a0; background-color: #FEFFC9; color: #080; text-decoration: none; }
div.navcalprnt > div > div > div[dtfmt="t"][selected]:not([status])[today]
{ border: dotted 1px; background-color: #FEFFC9; color: #080; text-decoration: none; }

div.navcalprnt > div > div > div[dtfmt="t"][selected]:not([today])
{ border: dotted 1px #c00; background-color: #FFFFFF; color: #aaa; text-decoration: line-through; }
div.navcalprnt > div > div > div[dtfmt="t"][selected][today]
{ border: dotted 1px; background-color: #FFFFFF; color: #aaa; text-decoration: line-through; }

/*
div.navcalprnt > div > div > div[dtfmt="t"][selectable] { cursor:pointer; }
div.navcalprnt > div > div > div[dtfmt="t"][selectable="new"]:hover { border: dotted 1px #0a0 ; }
div.navcalprnt > div > div > div[dtfmt="t"][selectable="delete"]:hover { border: dotted 1px #c00 ; text-decoration: line-through; }

div.navcalprnt > div > div > div[dtfmt="t"][calmarked] { background-color: #fee17a; }
*/



div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="waiting"]       
{ 
    background-color: #dddddd; 
    border: solid 1px #b3b3b3;
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="ordered"]             
{ 
    background-color: #FEFFC9; 
    border: solid 1px #b0b18c;
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="partiallyordered"]    
{ 
    background-color: #FEFFC9; 
    border: solid 1px #b0b18c;
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="producing"]     
{ 
    background-color: #7baff5; 
    border: solid 1px #597fb2;
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="produced"],
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="done"]
{ 
    background-color: #aac413;
    border: solid 1px #80940e;
}


div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="waiting"][chosenTemplate="false"]
{ 
    background: rgba(221, 221, 221, 0.35);
    border: solid 1px rgba(179, 179, 179, 0.35);
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="ordered"][chosenTemplate="false"]
{ 
    background: rgba(254, 255, 201, 0.35);
    border: solid 1px rgba(176, 177, 140, 0.35);
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="partiallyordered"][chosenTemplate="false"]
{ 
    background: rgba(254, 255, 201, 0.35);
    border: solid 1px rgba(176, 177, 140, 0.35);
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="producing"][chosenTemplate="false"]
{ 
    background: rgba(123, 175, 245, 0.35);
    border: solid 1px rgba(89, 127, 78, 0.35);
}
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="produced"][chosenTemplate="false"],
div.navcalprnt > div > div > div:not([selected])[dtfmt="t"][status="done"][chosenTemplate="false"]
{ 
    background: rgba(170, 196, 19, 0.35);
    border: solid 1px rgba(128, 148, 14, 0.35);
}

/*
div.navcalprnt > div > div > div[dtfmt="t"][chosenTemplate="false"]
{ 
    opacity: 0.35;
}
*/

