/*---- CUSTOM STYLES ----*/

@import url(https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,latin-ext);

*{outline:none!important;text-shadow:none!important;box-shadow:none!important;}
*:focus{outline:none!important;}

input:focus,button:focus,textarea:focus,select:focus{outline:none!important;box-shadow:none;-webkit-box-shadow:none;}
input:focus,textarea:focus,select:focus{border-color:#999A9A!important;box-shadow:none;-webkit-box-shadow:none;}
input:not([type=checkbox]):not([type=radio]),input[type=text],input[type=password],input[type=search],textarea,select{border:1px solid #CCCCCC;border-radius:4px;padding:4px 0;font-size:12px;height:24px;
    line-height:normal;box-sizing:border-box;}
input[readonly]{border:1px solid #EFEFEF!important;}
input[type=file]{padding:0;vertical-align:middle;cursor:pointer;font-size:12px;border:none;margin:2px 0;}
input[type=radio]{height:auto;line-height:normal;}
input[type=file]::-webkit-file-upload-button {
    visibility: hidden;
}

.entryTable input[type=checkbox]{display:block;margin:5px 0;}

#searchInput td,#clientSelectorWrapper td  {
    font-size: 10pt;
}

input[type=file]::before {
    content: 'Upload file';
    display: inline-block;
    background:#068dcd!important;
    border:none;
    height:24px;
    line-height:24px;
    padding:0 5px 0 2px;
    border-radius: 4px;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor:pointer;
    font-weight:bold;
    font-size:11px;
    color:#FFFFFF;
    transition:background-color 0.25s  ease;
}

input[type=file]:hover::before {
    background-color:#06aef1!important;
}

select[multiple]{height:auto;line-height:normal!important;}
textarea{resize:none;border:1px solid #CCCCCC;border-radius:4px;padding:4px;font-size:12px;height:auto;max-height:100px;line-height:normal!important;}

#productTable input{border-radius:0!important;border:none!important;}

button{display:inline-block;width:auto;min-width:100px;height:36px;line-height:normal;text-align:center;cursor:pointer;padding:0 6px;border-radius:4px;
    color:#FFFFFF!important;border:none!important;transition:background-color 0.25s  ease;font-family:'Roboto',sans-serif}
button:not(.gridMoveUp):not(.gridMoveDown){background:#068dcd;}

button[class~=buttonSave]:not(.gridMoveUp):not(.gridMoveDown) {
 background-color: darkblue;
}
button[class~=buttonCancel]:not(.gridMoveUp):not(.gridMoveDown) {
 background-color: maroon;
}
button:disabled,
button[disabled]{
  border: 1px solid #999999 !important;
  background-color: #cccccc !important;
  color: #666666 !important;
  cursor: not-allowed;
  pointer-events: none;
}

button *{padding:0;}
button:not(.gridMoveUp):not(.gridMoveDown):hover{background-color:#06aef1;}
.formEditAddonButtonEmail{height:25px;line-height:25px;padding:0;width:26px;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;box-sizing:border-box;border:none;}
.formInputContainer{padding:0;height:26px!important;overflow:hidden;display:block;}
.formInputContainerEdit,.entryPrefix{vertical-align:middle;padding:0;height:26px;line-height:26px;}

/*---- LAYOUT SPECIFIC ---- */

.formName{text-shadow:none!important;text-transform:uppercase;font-size:17px!important;margin:12px auto;font-family:'Roboto',sans-serif!important;}

.CSWBack{background: #ffffff!important;}
.CSW{margin:0 auto;border:1px solid #CCCCCC!important;border-collapse: separate;border-radius:5px;box-shadow:none!important;color:#1e1f23!important;}
.CSW .htmleditor{color:#1e1f23!important;}
.CSW u{color:#515B71!important;}
.CSWBack > input {margin:2px 0!important;}
.CSW td[align=right]{text-align:right!important;}
.CSW td[align=right] input{margin:2px 0!important;}
.CSW td[align=right] b{display:inline-block;overflow:hidden;font-size:12px;}

.entryTable {
    box-sizing:border-box;
    border-color: #CCCCCC;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    width: auto;
    margin:0 auto;
    padding:16px;
    font-family:'Roboto',sans-serif;
    font-size:12px;
}

.entryTable td{line-height:normal;vertical-align:top;}

.entryTable .entryTableCaption{color:#999A9A;line-height:26px;height:26px;padding:0 4px 0 0;font-weight:bold;}
.entryTable .groupName{color:#515B71;margin-top:5px;display:inline-block;}
.entryTable hr{display:block;height:1px;border:none;clear:both;width:95%;margin:5px auto;background-color:#EFEFEF;}
.entryTable .fileShow{border:1px solid #CCCCCC;border-radius:4px;width:100%;box-sizing:border-box;}
.entryTable #productTable,.entryTable #productTable th,.entryTable #productTableSummary,.entryTable #productTableSummary th{border-radius:0;}

.space{display:none!important;}

/*---- JQUERY UI BUTTONS ----*/

.ui-datepicker-buttonpane button{background:#f6a828!important;color:#FFFFFF!important;border:none!important;font-weight:bold!important;}
.ui-datepicker-buttonpane button:hover{background-color:#f7b850!important;}

.inputTooltip {
    position: absolute;
    width: 250px;
    padding:2px;
    margin-left: 10px;
    background-color: rgba(0,0,0,0.75);
    color: #fff;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.inputTooltip:after {
    right: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(0,0,0,0);
    border-right-color: rgba(0,0,0,0.75);
    border-width: 5px;
    margin-top: -5px;
}

/*---- Nice radioButtons ----*/


.radioButtons {
    display:block;
    list-style-type:none;
    padding:2px 0 0 0;
    outline:0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    white-space: nowrap;
    height:10px;
}

.radioButtons li {
    display:inline-block;
    margin:0 3px 0 0;
    width:80px;
    height:23px;
    position:relative;
    text-align: center;
    background-color: #CCC;
    border-radius: 5px;
}

.radioButtons label, .radioButtons input {
    display:block;
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
}

.radioButtons input[type="radio"] {
    opacity:0.011;
    z-index:100;
}

.radioButtons input[type="radio"]:checked + label {
    background:#068dcd;
}

.radioButtons input[type="radio"]:checked.none + label {
    background: gray;
    color: white;
    font-weight: bold;
}

.radioButtons input[type="radio"]:checked.approved + label {
    background: green;
    color: white;
    font-weight: bold;
}

.radioButtons input[type="radio"]:checked.disapproved + label {
    background: red;
    color: white;
    font-weight: bold;
}

.radioButtons label {
    padding:4px 5px 5px 5px;
    cursor:pointer;
    z-index:90;
    border-radius: 5px;
}

.radioButtons label:hover {
    background:#DDD;
}


.ajaxPopupWindow{
    z-index: 100;
}

/* small screen support */

tbody tr.gridCellRowHigh.selected td
{
    background-color: #FFE8E8;
}
input[name="autoCheckbox"] {
    margin-top:2px;
    position: relative;
    top: 3px;
    margin-right:5px;
}

[tooltip]:before {
    /* needed - do not touch */
    content: attr(tooltip);
    position: absolute;
    opacity: 0;

    /* customizable */
    transition: all 0.15s ease;
    padding: 5px;
    color: #333;
    border-radius: 0px;
    border: 1px solid black;
    min-width:250px;
    box-shadow: 1px 1px 2px silver;
}
[tooltip]:hover {
    cursor: help;
}
[tooltip]:hover:before {
    /* needed - do not touch */
    opacity: 1;

    /* customizable */
    background: lightyellow;
    margin-top: -30px;
    margin-left: 10px;
}

[tooltip]:not([tooltip-persistent]):before {
    pointer-events: none;
}

.valueHighlight {
    background-color: #FFF8DD; /** #FFECDD; **/

}

.valueHighlightNone {
    /** background-color: #FFF8D1; /** #FFECDD; **/

}

.tooltip-inner {
    white-space: pre-line;
}


input[type="checkbox"] {
    vertical-align:middle;
}


.save-tabrow li.selected {
    background-color: brown;
    color: white;
}

.save-tabrow li.selected a {
    color: white;
}

.save-tabrow li.selected div a {
    color: black;
}

.filtredtable > thead > tr > th.orangecol {
    background: #EFEEDE; /* For browsers that do not support gradients */
    background: -webkit-linear-gradient(#FFFAF4, #EFEEDE); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#FFFAF4, #EFEEDE); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#FFFAF4, #EFEEDE); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#FFFAF4, #EFEEDE); /* Standard syntax */
}


/** hack to Alex's customizing CSS on AjaxPopup where I cant find the what he didi */ 
.ajaxPopupBackground {
  z-index:10;
}    

.save-tabrow  {
 padding-bottom: 10px;
}

.filtredtable tr.company-contact {
    background-color: rgba(253,247,223,0.5);
}

tr.company-contact td:first-child {
    padding-left: 30px;
    background-image: url(../images/contact.png);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 9px;
}

tr.company-contact:hover td:first-child {
    padding-left: 30px;
    background-image: url(../images/contact-inv.png);
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 9px;
}

a.button.showmap {
    height: 18px;
    padding-top: 7px;
    margin-bottom: 0px;
}

a.button.showmap img {
    display: inline;
    vertical-align: top;
    margin-top: -2px;
}

a.button.showmap span {
    display: inline;
    margin-left: 4px;
    vertical-align: middle;
    margin-top: -2px;
}

div.report-boxes {
    margin: 30px auto 0;
    position: fixed;
    width: 100%;
    z-index: 900;
    background: white;
    padding: 20px 0 20px 0;
}

div.report-boxes > div {
    display: inline-block;
    margin: 0 2px;
}

div.report-boxes button.jumpButton {
    font-size: 11px;
}

#filter {
    position: fixed;
    width: 100%;
    z-index: 1000;
    background: white;
    padding: 0;
    top: 74px;
    padding-top: 6px;
}

#report-totals {
    margin-top: 100px;
}

a.anchor {
    display: block;
    position: relative;
    top: -220px;
    visibility: hidden;
}

#filter > form > div {
    display: inline-block;
    text-align: left;
    font-weight: bold;
}

#createCSWButton {
    display: block;
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

#dateValues {
    margin: 4px 0;
}

#hamburger {
    width: 32px;
    cursor: pointer;
}

#hamburger img {
    padding: 9px 5px 3px 5px;
    margin: 0;
}

#hamburger-menu {
    z-index:5000;
    position:absolute;
    display:none;
    border: 3px solid #068dcd;
    -webkit-border-bottom-left-radius: 5px;
    -moz-border-bottom-left-radius: 5px;
    border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#hamburger-menu a {
    border: none;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: white;
}

#hamburger-menu a:hover {
    background-color: lightgray;
}

.hmActive {
    color: white !important;
    background-color: #90959a!important;
}

.tmContactPicker.ui-autocomplete-loading {
    background: white url('../../wfEngine/images/notify-loader.gif') 50% center no-repeat;
}

#settingsCard{
	background-color:#ececec;
}

.formTable {
    min-width: 800px;
    max-width: 1920px;    
    padding: 0px;  
    margin: 0 auto;  
    border-spacing: 0px;
    border-collapse: collapse;
    font-family: 'Roboto', sans-serif;
    margin-top: 15px;
}

.formTable:first-of-type {
    margin-top: 0px;
}

.header-row {
    background: linear-gradient(to bottom, #f7fcff 0%, #caeef7 100%);
    font-weight: bold;
} 

.item-row {
    background: #F0F0F0;
}  

.item-row.title td {
    border-bottom: none;
    padding-bottom: 0px;
}

.item-row:first-of-type td {
    border-top: none;     
}

.item-row:not(.title) td {
    border-top: none;
}

.item-row td {
    text-align: left;
    padding: 5px;
}  

.item-row input {
    width: 100%; 
    box-sizing: border-box;
}

.item-row input:read-only {
    background-color: #F0F0F0;
    border-color: #cccccc !important;
}

.item-row input.checkbox {
    width: auto; 
    box-sizing: border-box;
}

.item-row label {
    position: relative;
    top: 2px;
}

.item-row button {
    height: 24px;
}

.header-row td {
    padding: 8px;
    font-size: 13px;
}

.formTable td {
    border: solid 1px #ccc;
    font-size: 12px;
}