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

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

.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 {
    cursor: pointer;
}

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

#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;
}

.ui-tooltip, .arrow:after {
    background: white;
    border: 2px solid white;
}

.ui-tooltip {
    max-width: 450px;
    padding: 10px 20px;
    color: black;
    border-radius: 5px;
    font-family: robotoregular, 'trebuchet ms', arial, sans-serif;
    font: bold 12px;
    box-shadow: 0 0 7px black;
    border: 1px solid lightgrey;
}

.arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
}

.arrow.top {
    top: -16px;
    bottom: auto;
}

.arrow.left {
    left: 20%;
}

.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.arrow.top:after {
    bottom: -20px;
    top: auto;
}

span.tmContactAuto span.hiddenAutocomplete {
    display: none;
}

span.tmContactAuto {
    line-height: 24px;
    white-space: nowrap;
}

span.tmContactAuto span {
    white-space: nowrap;

}

span.tmContactAuto .contactInput {
    width: 300px;
}

span.tmContactAuto .contactSubmit {
    width: 80px;
}

.filtredtable a.tooltip, .fixedHeaderTable a.tooltip, .gridTable a.tooltip {
    color: inherit;
}

.modal-dialog {
    display: none;
}

/* CKE invoice custom */
.cke_show_border p:first-of-type {
    margin-top: 0px;
}

.page input {
    margin-left: 5px;
}

#job_days_table input, 
#tools_table input, #tools_table select,
.out-of-town-table input, .out-of-town-table select,
.accomodation-table input, .accomodation-table select,
.contacts-table input, .contacts-table select,
.companies-table input {
    width: 100%;
    padding-right: 0px;
}

.contacts-table textarea,
.companies-table textarea
 {
    width: 100%;
    height: 70px;
    padding: 5px;
    display: block;
}

#tools_table input[type=number] {
    text-align: right;
}

.job-days-remove,
.tools-remove {
    color: red;
    cursor: pointer;
}

#tools_table tbody tr:not(:last-child) select:has(option:checked[value=""]),
#tools_table tbody tr:not(:last-child) input:placeholder-shown {
    border: 2px solid red; 
    background-color: #ffe6e6; 
}

.new-button-container {
    display: flex;
    margin-top: 5px;
}

.new-button {
    background-color: #068dcd;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    margin: auto;
}

.new-button:hover {
    background-color: #06aef1;
}

.new-button:active {
    background-color: #068dcd;
}

.out-of-town-table, 
.accommodation-table,
.rent-car-table,
.pocket-expenses-table {
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 5px;
}

.out-of-town-table:last-of-type,
.accommodation-table:last-of-type,
.rent-car-table:last-of-type,
.pocket-expenses-table:last-of-type {
    margin-bottom: 15px;
}

#contactsList {
    height: 300px;
    width: 100%;
    margin-left: 10px;
    margin-top: 20px;
    margin-right: 10px;
}

#contactInfoSaveButton, #contactInfoEditButton {
    visibility: hidden;
}

#companiesList {
    height: 50px;
    width: 100%;
    margin-left: 10px;
    margin-top: 20px;
    margin-right: 10px;
}

#companyInfoSaveButton, #companyInfoEditButton {
    visibility: hidden;
}

.cke_editable
{
	font-size: 13px;
	/*line-height: 1.6;*/
}