/* 
    Document   : accordion
    Created on : 13/07/2012, 9:58:52 PM
    Author     : tabithatwitchit
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/

root { 
    display: block;
}
button:focus, input:focus, select:focus, textarea:focus {
    outline: none;
}
div.content {
  height: 20px;
  overflow: hidden;
  /*white-space: pre-wrap;*/
}
/*---------------------------------------------------------------------------------------------------------
STYLE FROM REDIPS DRAG FOLLOWS*/

body {
    font-family: "Lucida Grande",Helvetica,Arial,Verdana,sans-serif;
}
.scrollcontainer{
    height: 540px;
    overflow: auto;
    position: relative;    
}
#heading_container{
    margin: auto;
    width: 960px;
}
#column_headings{
    width: 948px;
}
/* drag container (contains two tables) */
#drag{
/*    margin: auto;*/
    display: none;
    float: left;
    width: 960px;
}
/* drag objects (DIV inside table cells) */
.drag{
/*    cursor: move;*/
/*    background-color: steelblue;*/
    width: 100%;
    height: 0px;
    margin-top: -5px;
    padding-top: 2px;
	/*padding-right: 10px;*/
    border: 1px solid;
    -moz-border-radius: 2px 2px 0px 0px;
    -webkit-border-radius: 2px 2px 0px 0px;
    border-radius: 2px 2px 0px 0px;
}
.drag_box{
/*    width: 100%;*/
    cursor: pointer;
    position: absolute;
    border: 1px solid;
    border-top: 11px solid;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background-color: #f0f0f0;
    text-align: left;
    overflow: hidden;
}
.drag_box.priority{
    background: linear-gradient(to bottom, #fefefe, #fdaf21a3);
}
div.drag_box.cancelled {
    filter: contrast(0.3) opacity(0.3) grayscale(0.6);
}
.drag_box div{
    float: left;
    font-size: 11px;
}
.drag_box .StreetAddr{
    width: 24em;
}
.drag_box .JobNumber{
    width: 6em;
}
.drag_box .TimePref{
    width: 5em;
}
.drag_box .categoryName {
	padding: 0 1em;
}
.drag_box .inspectionName{
    width: 12em;
}
.drag_box .Comment{
    width: 28em;
    overflow: hidden;
}
.drag_box .FixedTime{
/*    position: absolute;*/
    width: 16px;
    height: 16px;
/*    margin-top: -11px;*/
}
.pinion {    
/*    cursor: move;*/
/*    background-color: steelblue;*/
    width: 0px;
    height: 0px;
/*    padding-top: 1px;*/
}
.dragbody {    
/*    cursor: pointer;    */
    position: relative;
    margin-left: -1px;
/*	margin: 2px auto; */
    z-index: 10;
    background-color: #f0f0f0;
    text-align: left;
/*	padding: 5px;*/
    width: 100%;
/*        height: 30px;*/
/*        inner-border: 1px solid steelblue;*/
/*	border-width: 8px 1px 1px 1px;*/
    border-style: solid;
    -moz-border-radius: 0px 0px 2px 2px;
    -webkit-border-radius: 0px 0px 2px 2px;
    border-radius: 0px 0px 2px 2px;
    overflow: hidden;
}
/* drag objects border for the first table */
.t1 {
/*	border: 1px solid #9B9EA2;*/
    border: 1px solid steelblue;
}
.greycol{
    float: left;
    width:32px;
    height: 572px;
}
.table_column{
/*    display: table-column;*/
    float: left;
/*    position: absolute;*/
    width: 32px;
/*    left: 200px;*/
    background-color: white;
/*    border-top: 1px solid #000000;*/
}
.slide{
    box-shadow: -3px -3px 16px 3px #666;
    border-left: 2px solid steelblue;
}
#calendar .slide.blocked {
    filter: invert(0.3);
}
#calendar .slide.blocked .cell{
    pointer-events: none;
}
#calendar .slide.active.blocked::before {
    content: 'NON-WORKING DAY';    
    font-size: 4em;
    filter: contrast(0);
    position: absolute;
    width: 100%;
    text-align: center;
}
/* tables */
#table{
    display: inline-block;
    overflow: hidden;
    user-select: none;
/*    border: 1px solid grey;*/
}
#calendar{
    display: table;
    margin: 1em auto 0px;
}
#calendar_head{
    width: 1028px;
    margin: 0px auto;
}
.cell{
/*    width: 100%;*/
    height: 12px;
/*    border-left: 2px solid steelblue;*/
/*    border-right: 1px solid darkgrey;*/
/*    padding-right: 4px;*/
    overflow: visible;        
    padding:1px 2px 0px 0px;
}
.major{
    border-top: 1px solid darkslategrey;
}
.minor{
    border-top: 1px dotted darkslategrey;    
}
.table_column :last-child.minor{
    border-bottom: 1px solid darkslategrey;    
}
.height_10px{
    height: 10px;    
}
/* message cell (marked as forbidden) */
td.mark.dark {
    color: white;
    font-size: 12px;
    background-color: #336699;
    border: 2px solid white;
    border-left: 2px solid white;
    vertical-align: text-top;
}
.hour{
    width: 44px;
    height: 54px;
    color: white;
    font-size: 12px;
    background-color: #336699;
    border: 1px solid white;
    border-left: 2px solid white;
    vertical-align: text-top;
}
.page_tab{
    box-shadow: -3px -3px 8px 1px #515151;
    cursor: pointer;    
    position: absolute;
    margin-left: -1px;
    z-index: 1;
    background-color: steelblue;
    text-align: center;
    padding: 5px;
    font-size: 14px;
    color: white;
    width: 200px;
    height: 16px;
/*        border: 1px solid steelblue;*/
    -moz-border-radius: 5px 5px 0px 0px;
    -webkit-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px; 

    -webkit-transform-origin: 94px 120px;
    -moz-transform-origin:    94px 120px;
    -ms-transform-origin:     94px 120px;
    -o-transform-origin:      94px 120px;

    /* Safari */
    -webkit-transform: rotate(-90deg);
    /* Firefox */
    -moz-transform: rotate(-90deg);
    /* IE */
    -ms-transform: rotate(-90deg);
    /* Opera */
    -o-transform: rotate(-90deg);
    /* Internet Explorer */
/*	filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);*/

}
.tab_menu{
    display: none;
}
div.active div.tab_menu{
    display: inherit;
    position: absolute;
    /* Safari */
    -webkit-transform: rotate(90deg);
    /* Firefox */
    -moz-transform: rotate(90deg);
    /* IE */
    -ms-transform: rotate(90deg);
    /* Opera */
    -o-transform: rotate(90deg);
    -webkit-transform-origin: 15px 0px;
    -moz-transform-origin:    15px 0px;
    -ms-transform-origin:     15px 0px;
    -o-transform-origin:      15px 0px;
}
#left_col{
    float: left;
/*    border: 1px solid red;*/
    width: 70px;
/*    padding-top: 5px;*/
}
#right_col{
    float: left;
/*    border: 1px solid red;*/
    width: 50px;
/*    padding-top: 5px;*/
}
.hidden {
    visibility: hidden;
}
#topbar{
/*    width: 1100px;*/
    height: 64px;
/*    border: 1px solid red;    */
}
#today{
/*    display: inline;
    position: relative;*/
/*    height: 30px;*/
    vertical-align: middle;
    float: left;
    margin-left: 30px;
    margin-right: 30px;
/*    margin-top: 12px;*/
    color: #444444;
}
#today strong{
}
ul#daynav{
    clear: left;
    display: table;
    table-layout: fixed;
    text-align: center;
    padding: 0;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
/*    width: 960px;*/
    list-style: none outside none;
/*    background-color: black;*/
}
#daynav li{
    cursor: pointer;
    display: table-cell;
    vertical-align:middle;
    height: 11px;
    width: 23px;
    color: white;
    background-image: url('../img/shinygrad.png');
    background-repeat: repeat-x;    
}
#daynav li:hover{
    opacity: 0.9;
}
#printout{
    position: relative;
    left: 20px;
    cursor: pointer;
    width: 28px;
    color: white;
    background-image: url('../img/shinygrad.png');
    background-repeat: repeat-x;    
}
#daynav li span{
    display: block;
    margin: 0px auto;
    vertical-align: text-top;
    font-size: 12px;
    color: white;
    text-shadow: 0px -1px 1px #222,
                 0px 1px 1px lightcyan;
}
ul#table_list{
    display: table;
    table-layout: fixed;
/*    width: 960px;*/
    list-style: none outside none;
/*    background-color: black;*/
}
#table_list li{
    cursor: pointer;
    display: table-row;
    height: 16px;
    width: 1016px;
    color: white;
    background-image: url("../img/shinygrad.png");
    background-repeat: repeat-x;    
}
#table_list li span{
    display: block;
    color: white;
    padding: 0px 1em 0px 1em;
}
#table_list li:hover{
    opacity: 0.9;
}
#booking-form{
/*    display: block;*/
    position: relative;
/*    float: left;*/
    width: 978px;
}
div.form-move-day input{
    background-color: transparent;
    color: black;
    padding: 3px;
    margin: 5px;
    box-shadow: none;
}
div.form-move-day input.selected{
    background-color: #57A5DD;
    color: white;
}
div.form-move-day input.selected{
    box-shadow: none;
}
.ui-autocomplete-loading { background: white url('../img/ui-anim_basic_16x16.gif') right center no-repeat; }
ul.ui-autocomplete.ui-menu li.ui-menu-item.projectDets {
    width: 100%;
}
#address {
    width: 100%;
    margin: auto;
}
#TimePref{
    width: 5em;
    height: 13px;
    margin-top: 3px;
}
#Comment{
    height:4em;
    width:95%;
}
#rh_hour{
    display: inline-block;
    width: 44px;
}
#lh_hour{
    margin-left: 2px;
    width: 44px;
}
/*select.text{
    height: 13px;
    border: 2px;
    border-style: inset;
    background-color: #ffffff;
    border-radius: 7px 7px 7px 7px;
    margin-top: 4px;
}*/
/*#inspectiontype_id, #inspectiontypeid, #inspectiontype, #Duration{
    margin-top: 6px;
    height: 20px;
}
#inspectiontype{
    float: left;
    margin-bottom: 6px;
}*/
#contact_id{
    
}
.warning{
	-webkit-box-shadow: 0px 0px 2px 2px #ff0000;
	   -moz-box-shadow: 0px 0px 2px 2px #ff0000;
	        box-shadow: 0px 0px 2px 2px #ff0000;
}
#clear_input{
    float: right;
    margin-top: 6px;
}
div.cell.droppable:hover{
    background-color: wheat;
}
.not_competent div.cell.droppable:hover{
    background-color: darkgrey;
}
input.text { margin-bottom:12px; width:95%; padding: .4em; }
#warn_not_competetent{
    height: 1em;
    display: inline-block;
    min-width: 44em;
}
.display_none{
    display: none;
}
#printout span, #button_lh span, #button_rh span, #date_picker span {
    width: 16px;
    height: 16px;
}

#calendar span.paper-alert {
    background-color: red;
    color: white;
    position: absolute;
    width: auto;
    font-size: 0.8em;
    z-index: 1;
    right: 0;
}
span.button.more{
    width: auto;
    color: #2694e8;
    font-size: medium;
    margin: auto;
    padding: 6px 6px 4px 6px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: none;
    background-image: none;
}
/*span.button.more:hover{
    border: 1px solid #CCC;
    box-shadow: 0px 2px 2px 1px #CCC;
    background:#fefefe;
    background: linear-gradient(to bottom,  #fefefe, #f3f3f3);
}*/
.dropdown{
    display: none;
}
.inspection_history:hover .dropdown{
    visibility: visible;
    display: inline-table;
    table-layout: fixed;
    position: absolute;
    margin: 4px 0 0 0;
    padding: 1em;
    background-color: #feffef;
    border-radius: 4px;
    overflow: hidden;
    z-index: 9999;
}
body div.modal:not(.display_none) {
    display: block;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
    /* background-color: #AAA; */
    /* opacity: 0.4; */
    background-image: url('../img/grey_mask_1x1.png');
    background-repeat: repeat;
    z-index: 9999;
}
body div.modal .control-group {
    position: relative;
    background-color: #F9F8F8;
    border-radius: 3px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    z-index: 1001;
    color: #000;
    width: 60vw;
    min-width: 40em;
    padding: 0.6em;
    font-size: 1.2em;
}

div#custom-alert div.control-group table.bar_bottom button {
    /* width: 33%; */
    white-space: nowrap;
    font-size: 1.1em;
    margin: auto;
}

div#custom-alert table.bar_bottom td {
    text-align: center;
}

div#custom-alert div.control-group table.bar_bottom {
    width: 100%;
    display: table;
    background-color: #515151;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    margin: 0;
}

div.control-group table.bar_bottom td {
    margin: 0;
}

div.modal a {
    text-align: center;
}

div.modal div {
    display: block;
    margin: 0;
}
body div.modal#custom-alert .control-group {
    display: table;
    width: 24em;
    margin-top: 1em;
    min-width: 0;
    background-color: #F9F8F8;
}