@font-face {
    font-family: "Roboto";
    src: url('../fonts/roboto/Roboto-Light.eot?1407401834');
    src: url('../fonts/roboto/Roboto-Light.eot?&1407401834#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Light.ttf?1407401833') format('truetype'), url('../fonts/roboto/Roboto-Light.woff?1407401834') format('woff'), url('../fonts/roboto/Roboto-Light.svg?1407401834') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/roboto/Roboto-Regular.eot?1407401834');
    src: url('../fonts/roboto/Roboto-Regular.eot?&1407401834#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Regular.ttf?1407401833') format('truetype'), url('../fonts/roboto/Roboto-Regular.woff?1407401834') format('woff'), url('../fonts/roboto/Roboto-Regular.svg?1407401834') format('svg');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/roboto/Roboto-MediumItalic.eot?1407401834');
    src: url('../fonts/roboto/Roboto-MediumItalic.eot?&1407401834#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-MediumItalic.ttf?1407401833') format('truetype'), url('../fonts/roboto/Roboto-MediumItalic.woff?1407401834') format('woff'), url('../fonts/roboto/Roboto-MediumItalic.svg?1407401834') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Roboto";
    src: url('../fonts/roboto/Roboto-Bold.eot?1407401834');
    src: url('../fonts/roboto/Roboto-Bold.eot?&1407401834#iefix') format('embedded-opentype'), url('../fonts/roboto/Roboto-Bold.ttf?1407401833') format('truetype'), url('../fonts/roboto/Roboto-Bold.woff?1407401834') format('woff'), url('../fonts/roboto/Roboto-Bold.svg?1407401834') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'swinx';
    src: url('../fonts/swinx/swinx.eot?8hkqjo');
    src: url('../fonts/swinx/swinx.eot?8hkqjo#iefix') format('embedded-opentype'), url('../fonts/swinx/swinx.ttf?8hkqjo') format('truetype'), url('../fonts/swinx/swinx.woff?8hkqjo') format('woff'), url('../fonts/swinx/swinx.svg?8hkqjo#swinx') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'swinx' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* font-size: 1rem; */
}

.icon-arrowright:before {
    content: "\e42e";
}

.icon-arrowtop:before {
    content: "\e42f";
}

.icon-arrowdown:before {
    content: "\e430";
}

.icon-maximise:before {
    content: "\e603";
}

.icon-copy:before {
    content: "\e606";
}

.icon-user:before {
    content: "\e607";
}

.icon-settings:before {
    content: "\e609";
}

.icon-users:before {
    content: "\e60a";
}

.icon-delete:before {
    content: "\e60d";
}

.icon-User:before {
    content: "\e610";
}

.icon-filter:before {
    content: "\e611";
}

.icon-cancel:before {
    content: "\e612";
}

.icon-search:before {
    content: "\e613";
}

.icon-Task:before {
    content: "\e614";
}

.icon-add:before {
    content: "\e616";
}

.icon-reset:before {
    content: "\e621";
}

.icon-hold:before {
    content: "\e622";
}

.icon-validate:before {
    content: "\e623";
}

.icon-unregistered:before {
    content: "\e625";
}

.icon-menu:before {
    content: "\e626";
}

.icon-CounterSigned:before {
    content: "\e627";
}

.icon-Import:before {
    content: "\e628";
}

.icon-suppliers:before {
    content: "\e629";
}

.icon-notes:before {
    content: "\e62b";
}

.icon-save:before {
    content: "\e62c";
}

.icon-pad:before {
    content: "\e62e";
}

.icon-setting:before {
    content: "\e633";
}

.icon-diary:before {
    content: "\e634";
}

.icon-import:before {
    content: "\e635";
}

.icon-calendar:before {
    content: "\e647";
}

.icon-company:before {
    content: "\e64a";
}

.icon-saveas:before {
    content: "\e64c";
}

.icon-email:before {
    content: "\e659";
}

.icon-sort:before {
    content: "\e65b";
}

.icon-printer:before {
    content: "\e663";
}

.icon-listview:before {
    content: "\e906";
}

.icon-key:before {
    content: "\e98d";
}

.icon-lock:before {
    content: "\e98f";
}

.icon-unlocked:before {
    content: "\e990";
}

.icon-paste:before {
    content: "\e9b8";
}

.icon-upload:before {
    content: "\e9c8";
}

.icon-create:before {
    content: "\ea0a";
}

.icon-tick:before {
    content: "\ea10";
}

.icon-arrowleft:before {
    content: "\ea50";
}

.icon-logout:before {
    content: "\ea7d";
}

.icon-enlarge:before {
    content: "\1f4db";
}

.icon-clock:before {
  content: "\e94f";
}

.icon-briefcase:before {
  content: "\e9ae";
}

.icon-lg {
    font-size: 1.25em;
    vertical-align: middle;
}

body {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

html, body, main {
    height: 100%;
}

a {
    cursor: pointer;
}

a[role="button"]:hover {
    text-decoration: none;
}

.date-group > .input-group-addon:hover {
    background-color: #fff;
}

.date-group > input[readonly] ~ .input-group-addon {
    background-color: #fff;
}

.date-group > input[readonly] ~ .input-group-addon:hover {
    background-color: #eee;
}

.flexy {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.flexy.row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}

.flexy1-1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.flexy.col-sm-7 {
    flex: 1 0 58.33333333%;
}

.flexy.col-sm-5 {
    flex: 1 0 41.66666667%;
}

.flexauto {
    flex: 0 1 50px;
}

.stretch {
    height: 100%;
}

.flexy2-1 {
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
    flex: 2;
}

.center-perfect {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.checkit {
    display: inline-block;
    vertical-align: middle;
}

.checkit input {
    display: none;
}

.checkit label {
    display: inline-block;
    vertical-align: middle;
    padding-left: 1.5em;
    position: relative;
    font-weight: 400;
}

.checkit label:before, .checkit label:after {
    content: "";
    position: absolute;
    font-family: 'Glyphicons Halflings';
}

.checkit label:before {
    left: 0;
    top: 50%;
    width: 1em;
    height: 1em;
    background-color: #FFFFFF;
    border: 0.05em solid #D3D3D3;
    transform: translateY(-50%);
}

.checkit label:after {
    top: 50%;
    left: 0.125em;
    font-size: .875em;
    transform: translateY(-50%);
}

.checkit input:checked + label::after {
    content: "\e013";
}

.loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    background-color: rgba(255, 255, 255, 0.6);
}

.loader > img {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -32px;
    margin-top: -32px;
    display: block;
}

main {
    background-color: #f9f9f9;
    -webkit-transition: background-color 0.75s ease-in-out;
    transition: background-color 0.75s ease-in-out;
    /*overflow: hidden;*/
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}

.content {
    min-height: 500px;
}

.navbar li > .form-control {
    margin-top: 4px;
    position: relative;
    right: 10px;
}

.form-control-disabled {
    background-color: white;
    color: #D3D3D3;
}

.panel-login {
    background-color: rgba(249, 249, 249, 0.8);
    padding: 1em;
}

.panel-login .tagline {
    color: #737373;
}

.panel-login form {
    margin-top: 3em;
}

.panel-login select {
    width: auto;
}

.panel-login .checkit {
    margin-top: 10px;
    color: #2D3389;
    font-size: 1em;
}

/* Slider menu Styles*/
.slider-back-drop {
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    display: none;
    z-index: 1;
}

.slider-menu {
    background-color: #354052;
    position: fixed;
    top: 0;
    bottom: 0;
    left: -256px;
    -webkit-transition: left 0.7s;
    transition: left 0.7s;
    width: 256px;
    z-index: 1;
}

.slider-menu a {
    text-decoration: none;
}

.slider-menu ul {
    list-style: none;
    padding: 0;
}

.slider-menu ul.second-level a {
    padding-left: 21px;
}

.slider-title {
    color: #fff;
    font-size: 21px;
    font-weight: bold;
    padding: 10px 0;
}

.slider-title .icon-menu {
    cursor: pointer;
    font-size: 24px;
    top: 3px;
}

.slider-menu a {
    color: #A0ACBF;
    border-left: 3px solid #354052;
    border-bottom: 1px solid #4A4A4A;
    padding: 7px 14px 7px 7px;
    display: block;
    white-space: nowrap;
    position: relative;
}

.slider-menu a:hover, .slider-menu a.active {
    border-left-color: #15C7FA;
    background-color: #F7A766;
    color: #000;
}

/* End of Slider menu Styles */
header .navbar-text {
    margin-left: 0;
}

header .navbar-text.navbar-right {
    margin-right: 0;
}

/*.action-bar > .btn:last-child {
    padding-right: 0;
}*/
.action-bar {
    margin-bottom: 1em;
}

.action-bar .btn + .btn {
    margin-left: 0.5em;
}

/* Table */
.table {
    font-size: 12px;
}

.table-container {
    /* width: 100%; */
    /* height: 100%; */
    position: relative;
    /* padding-top: 30px; */
}

.table-container .table {
    margin-bottom: 0;
        table-layout: fixed;
}

td[role="colgroup"] {
    padding: 0;
}

.table-container th .row,
.table-container td .row {
    margin: 0 -5px;
}
.table-container th .row > [class*="col-"],
.table-container td .row > [class*="col-"] {
    padding: 0 5px;
}

.table-inner {
    overflow-x: hidden;
    overflow-y: auto;
    /* max-height: 150px; */
    /* max-height: 40vh; */
}

.table-hover tr {
    cursor: pointer;
}

.table-inner.has-scroll {
    width: calc(100% + 17px);
}

.table-inner tbody>tr>td {
    vertical-align: middle;
}

.table-container thead>tr>th {
    text-transform: uppercase;
}

.table-multihead {
    margin-top: -5px;
}

.table-multihead>thead>tr>th:not(:first-child) {
    vertical-align: top;
    border-left: 1px solid #ddd;
}

.header-background {
    background-color: #fff;
    height: 30px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
}

.cell-input,
.cell-sm {
    min-width: 70px;
    width: 70px;
}

.cell-heading {
    margin-bottom: 10px;
    padding: 5px 0;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
}

.cell-day {
    width: 12.5%;
    height: 40px;
}

.table-container th [class*="col-"]:not(:first-child),
.table-container td [class*="col-"]:not(:first-child) {
    padding-left: 0;
}

.table-container .cell-actions {
    padding-left: 54px;
    position: relative;
}

.cell-actions {
    position: relative;
}

.cell-actions .actions {
    position: absolute;
    left: 7px;
    margin-top: 7px;
}

.table-inner thead>tr>th {
    padding: 0 5px;
}

.table-inner tbody .select2-choice {
    height: 30px;
    line-height: 30px;
}

.table-inner .input-group input:not([readonly]) {
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

/*.table-inner .input-group input:not([readonly]) + .glyphicon-comment {
    opacity: 0;
}

.table-inner .input-group input:not([readonly]):focus + .glyphicon-comment,
.table-inner .input-group input:not([readonly]) + .glyphicon-comment.showButton {
    opacity: 1;
}*/

.table-inner .input-group input:not([readonly]):focus,
.table-inner .input-group.showcomment input:not([readonly]) {
    padding-right: 20px;
}

.table-inner .input-group.hidecomment .glyphicon-comment {
    opacity: 0;
}

.table-inner .select2-container {
    display: block;
}

.table-inner thead th[role="colgroup"], .table-inner tbody td[role="colgroup"] {
    padding: 0;
    border: 0;
}

.table-inner tbody .col1 {
    position: relative;
    padding-left: 40px;
}

.week-total {
    padding: 5px 15px;
}

@media (max-width: 767px) {
    main {
        background-color: #F9F9F9;
    }
}

@media (max-width: 480px) {
    .panel-login .pull-left, .panel-login .pull-right {
        float: none !important;
        display: block;
    }

    .panel-login select, .panel-login .btn-login {
        width: 100%;
    }
}

@media (min-width: 480px) {
    .panel-login {
        width: 480px;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        box-shadow: rgba(0, 0, 0, 0.5) 0 0 3px;
    }

    .panel-login .btn {
        float: right;
    }
}

@media (min-width: 1440px) {
    .container {
        width: 1410px;
    }
}

@media (min-width: 2880px) {
    .container {
        width: 2850px;
    }
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    /* If you want dots under the hoverable text */
}

[title] {
    position: relative !important;
    width: inherit;
}

[title]:after {
    /*content:attr(title);*/
    color: #fff;
    background: #333;
    background: rgba(51, 51, 51, 0.75);
    padding: 2px;
    position: absolute !important;
    left: -9999px;
    opacity: 0;
    bottom: 0%;
    /* white-space:nowrap;*/
    -webkit-transition: 0.25s linear opacity;
    width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    /*margin-left: 25px;*/
}

[title]:hover:after {
    left: 5px;
    opacity: 1;
}

.glyph-align {
    top: 8px;
    right: 4px;
    border: none;
    padding: 0;
    pointer-events: all;
    position: absolute;
}

.addComment {
    color: #cccccc;
}

.truncate-uiSelect-choices {
    /*width: 140px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;*/
    width: 317px;
    white-space: nowrap;
}

/*.form-control.invoiced {
    background: #ffff00;
}*/

.invoiced, .invoiced .select2-choice {
    background-color: #eee !important;
}

.hascomment {
    color: #ff7043;
}

.flexy.collapse.in {
    display: flex;
}

.approvedOrInvoiced, .approvedOrInvoiced .select2-choice  {
    background-color: yellow !important;
}

@media (min-width: 768px) {
    .navbar-right~.navbar-right {
       margin-top: 0;
       margin-bottom: 0;
    }
}

/* Panel attestweekly styles */

#panel-attestweekly {
    overflow: auto;
}
.panel-nested .panel-title {
    line-height: 34px;
    font-size: 14px;
    font-weight: bold;
    background: #fafafa;
    padding: 0 15px;
}
.panel-nested .panel-heading,
.panel-nested .panel-collapse {
    border: 0;
    padding: 0;
}

.panel-nested input[type="checkbox"],
.panel-nested input[type="radio"] {
    vertical-align: middle;
}

.panel-nested .panel-heading+.panel-collapse>.panel-body {
    box-shadow: none;
}

.panel-nested > .panel-group {
    padding: 10px 15px 0;
}

.panel-group-heading {
    font-style: normal;
    font-weight: 300;
}

.panel-group-heading ~ .panel-group {
    margin-bottom: 0;
}

.panel-group-heading + .panel-group {
    margin-bottom: 5px;
}

.panel-nested .table {
    color: #29323f;
    margin: 0;
}

.panel-nested .table>thead>tr>th {
    text-transform: uppercase;
    border-bottom: 1px solid #29323f;
}
.panel-nested .table>tbody>tr>td {
    border-color: #f1f1f1;
    padding: 10px 5px;
    vertical-align: middle;
}

.panel-nested td input[type=checkbox],
.panel-nested td input[type=radio] {
    vertical-align: middle;
}

.login-actions .checkbox input[type=checkbox] {
	top: 3px;
    margin-left: 0;
}
