﻿.grid-view-user {
    padding-top: 20px;
    padding-bottom: 40px;
    overflow: visible;
    height: auto;
}

.table-user th, .table-user td {
    padding: 8px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top:1px solid #dddddd;
}

.table-user tbody tr.highlight td {
    background-color: #eeeeee;
}

.table-user th a {
    font-family: 'poppins';
}

.table-user td div {
    padding: 0;
}

.table-user td div input {
    margin-bottom: 0;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    transition: border linear .2s, box-shadow linear .2s;
    display: inline-block;
    height: 30px;
    padding: 4px 6px;
    font-size: 14px;
    line-height: 30px;
    color: #555555;
    border-radius: 4px;
    vertical-align: middle;
    font-family: 'poppins';
}

.table-user td div input:focus {
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(82 168 236 / 60%);
}

.table-user td div select {
    margin-bottom: 0;
    width: 100%;
    border: 1px solid #cccccc;
    background-color: #fff;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #555555;
    border-radius: 4px;
    vertical-align: middle;
}

.table-user td div select option {
    font-family: 'poppins';
}

.table-user td div select:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.grid-view-user table th {
    font-weight: bold;
    border-top: 0;
    border-bottom: 1px solid #dddddd !important;
}

.grid-view-user table th a {
    display: block;
    position: relative;
    color: #0088cc !important;
    text-decoration: none;
}

.grid-view-user table th a:hover {
    color: #005580 !important;
    text-decoration: underline;
}

.grid-view-user table th:hover a::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -10px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url('../images/glyphicons-halflings.png');
    background-position: -312px -96px;
    background-repeat: no-repeat;
}

.grid-view-user table th:hover a.asc::after {
    background-position: -289px -96px;
}

.grid-view-user table th a .caret {
    display: block;
    position: absolute;
    right: 5px;
    top: 7px;
}

.grid-view-user table th a.asc .caret {
    display: block;
}

.grid-view-user table th a.desc .caret {
    border-bottom: 4px solid #000000;
    border-top: none;
    display: block;
}

.caret {
    width: 0;
    height: 0;
    vertical-align: top;
    border-top: 4px solid #000000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    content: "";
}

.table-user tbody tr td {
    color: #333333;
    font-family: 'poppins';
}

.table-user tbody tr td:last-child {
    width: 75px;
}

.table-user tbody tr td a {
    color: #0088cc !important;
    font-family: 'poppins';
    text-decoration: none !important;
}

.table-user tbody tr td a i {
    background-position: -96px -120px;
    display: inline-block;
    width: 14px;
    height: 14px;
    line-height: 14px;
    vertical-align: text-top;
    margin-top: 1px;
    color: #333333;
}

.table-user tbody tr td a.delete:hover {
    cursor: pointer;
}

.table-user tbody tr td a:first-child {
    margin-right: 1px;
}

.table-user tbody tr td a:nth-child(2) {
    margin-left: 1.5px;
    margin-right: 1.5px;
}

.table-user tbody tr td a:last-child {
    margin-left: 1px;
}

.table-user tbody tr td:first-child a:hover {
    color: #005580 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.table-user tbody tr:nth-child(odd),
.table-detail-user tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.grid-view-user div.pagination,
div.pagination-user-app,
div.pagination-user-ip,
div.pagination-user-log {
    margin: 20px 0px;
}

.grid-view-user div.pagination ul li:first-child, 
.grid-view-user div.pagination ul li:last-child,
div.pagination-user-app ul li:first-child,
div.pagination-user-app ul li:last-child,
div.pagination-user-ip ul li:first-child,
div.pagination-user-ip ul li:last-child,
div.pagination-user-log ul li:first-child,
div.pagination-user-log ul li:last-child {
    width: 50px;
    text-align: center;
}

/*.grid-view-user div.pagination ul li:first-child a, 
.grid-view-user div.pagination ul li:last-child a {
    padding: 7.5px 12px;
}

div.pagination-user-app ul li:first-child a,
div.pagination-user-app ul li:last-child a {
    padding: 5.5px 12px;
}

div.pagination-user-app ul li:not(:first-child):not(:last-child) a {
    padding: 6px 12px;
}*/

div.pagination-user-app ul li a,
div.pagination-user-ip ul li a,
div.pagination-user-log ul li a {
    padding: 6px 12px;
}

.grid-view-user div.pagination ul li .page-link,
div.pagination-user-app ul li .page-link,
div.pagination-user-ip ul li .page-link,
div.pagination-user-log ul li .page-link {
    color: #0088cc;
}

.grid-view-user div.pagination ul li .page-link:hover,
div.pagination-user-app ul li .page-link:hover,
div.pagination-user-ip ul li .page-link:hover,
div.pagination-user-log ul li .page-link:hover {
    color: #005580 !important;
    cursor: pointer;
}

.grid-view-user div.pagination ul li.disabled .current-page,
div.pagination-user-app ul li.disabled .current-page,
div.pagination-user-ip ul li.disabled .current-page,
div.pagination-user-log ul li.disabled .current-page {
    color: #999999 !important;
    cursor: default !important;
    background-color: #f5f5f5;
    border: 1px solid #dddddd;
}

.grid-view-user div.pagination ul li .page-link:focus,
div.pagination-user-app ul li .page-link:focus,
div.pagination-user-ip ul li .page-link:focus,
div.pagination-user-log ul li .page-link:focus {
    box-shadow:none;
}

.grid-view-user div.pagination ul li .previous-page-none, 
.grid-view-user div.pagination ul li .next-page-none,
div.pagination-user-app ul li .previous-page-none,
div.pagination-user-app ul li .next-page-none,
div.pagination-user-ip ul li .previous-page-none,
div.pagination-user-ip ul li .next-page-none,
div.pagination-user-log ul li .previous-page-none,
div.pagination-user-log ul li .next-page-none {
    color: #999999 !important;
    cursor: default !important;
}

.grid-view-user div.pagination ul li .previous-page-none:hover, 
.grid-view-user div.pagination ul li .next-page-none:hover,
div.pagination-user-app ul li .previous-page-none:hover, 
div.pagination-user-app ul li .next-page-none:hover,
div.pagination-user-ip ul li .previous-page-none:hover, 
div.pagination-user-ip ul li .next-page-none:hover,
div.pagination-user-log ul li .previous-page-none:hover, 
div.pagination-user-log ul li .next-page-none:hover {
    color: #999999 !important;
    background-color: #fff !important;
}

.form-create-user,
.form-edit-user,
.form-manage-ip,
.form-change-password {
    margin: 0 0 20px;
    display: block;
}

.form-create-user form div label span.required,
.form-edit-user form div label span.required,
.form-change-password form div label span.required {
    color: #ff0000;
}

.form-create-user form div label.control-label,
.form-edit-user form div label.control-label,
.form-manage-ip form div label.control-label,
.form-change-password form div label.control-label {
    float: left;
    width: 170px;
    text-align: right;
    padding-top: 1px;
    display: block;
    margin-bottom: 5px;
}

.form-create-user form div div.controls,
.form-edit-user form div div.controls,
.form-manage-ip form div div.controls,
.form-change-password form div div.controls {
    margin-left: 190px;
}

.form-create-user form div.form-group div.controls input[type=text],
.form-create-user form div.form-group div.controls input[type=password],
.form-create-user form div.form-group div.controls input[type=email],
.form-create-user form div.form-group div.controls select,
.form-create-user form div.form-group div.controls textarea,
.form-edit-user form div.form-group div.controls input[type=text],
.form-edit-user form div.form-group div.controls input[type=password],
.form-edit-user form div.form-group div.controls input[type=email],
.form-edit-user form div.form-group div.controls select,
.form-edit-user form div.form-group div.controls textarea,
.form-manage-ip form div.form-group div.controls textarea,
.form-change-password form div.form-group div.controls input[type=password] {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    border: 1px solid #cccccc;
    font-size: 14px;
    color: #555555;
    border-radius: 4px;
}

.form-create-user form div.form-group div.controls input[type=text],
.form-create-user form div.form-group div.controls input[type=password],
.form-create-user form div.form-group div.controls input[type=email],
.form-edit-user form div.form-group div.controls input[type=text],
.form-edit-user form div.form-group div.controls input[type=password],
.form-edit-user form div.form-group div.controls input[type=email],
.form-change-password form div.form-group div.controls input[type=password] {
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
    transition: border linear .2s, box-shadow linear .2s;
    height: 27px;
    line-height: 20px;
    padding: 4px 6px;
}

.form-create-user form div.form-group div.controls select,
.form-edit-user form div.form-group div.controls select {
    margin: 0;
    padding: 2px 6px;
    height: 27px;
    line-height: 20px;
}

.form-create-user form div.form-group div.controls textarea,
.form-edit-user form div.form-group div.controls textarea,
.form-manage-ip form div.form-group div.controls textarea {
    height: auto;
    padding: 4px 6px;
}

.radio.inline input, .checkbok.inline input {
    height: 1rem;
    width: 1rem;
    margin-right: 0.2rem;
    padding-top: 20px;
    display: inline-block;
    margin-top: 10px;
}

.radio.inline input:hover, .checkbok.inline input:hover {
    cursor: pointer;
}

.radio.inline label, .checkbok.inline label {
    vertical-align: text-bottom;
    margin-bottom: 0;
}

.form-create-user .controls.car-inspection label.radio,
.form-edit-user .controls.car-inspection label.radio {
    display: block;
    margin-bottom: 5px;
}

.form-create-user .controls.car-inspection label input,
.form-edit-user .controls.car-inspection label input {
    height: 1rem;
    width: 1rem;
    margin-right: 0.2rem;
    padding-top: 20px;
    margin-top: 10px;
}

.form-create-user .controls.car-inspection label label,
.form-edit-user .controls.car-inspection label label {
    vertical-align: text-bottom;
    margin-bottom: 0;
}

.form-create-user .controls.car-inspection label input:hover,
.form-edit-user .controls.car-inspection label input:hover {
    cursor: pointer;
}

.form-create-user form div.form-group div.controls input[type=text]:focus,
.form-create-user form div.form-group div.controls input[type=password]:focus,
.form-create-user form div.form-group div.controls input[type=email]:focus,
.form-create-user form div.form-group div.controls select:focus,
.form-create-user form div.form-group div.controls textarea:focus,
.form-edit-user form div.form-group div.controls input[type=text]:focus,
.form-edit-user form div.form-group div.controls input[type=password]:focus,
.form-edit-user form div.form-group div.controls input[type=email]:focus,
.form-edit-user form div.form-group div.controls select:focus,
.form-edit-user form div.form-group div.controls textarea:focus,
.form-manage-ip form div.form-group div.controls textarea:focus,
.form-change-password form div.form-group div.controls input[type=password]:focus {
    border-color: rgba(82, 168, 236, 0.8) !important;
    outline: 0;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(82 168 236 / 60%);
}

.form-create-user form div.form-group div.controls select:hover,
.form-edit-user form div.form-group div.controls select:hover {
    cursor: pointer;
}

.form-create-user form div.form-group span.text-danger,
.form-edit-user form div.form-group span.text-danger,
.form-change-password form div.form-group span.text-danger {
    margin-left: 22px;
}

.form-create-user form div.form-group,
.form-edit-user form div.form-group,
.form-manage-ip form div.form-group,
.form-change-password form div.form-group {
    margin-bottom: 0;
}

#input-create-user-username,
#input-create-user-password,
#input-create-user-confirmpassword,
#input-edit-user-username,
#input-edit-user-password,
#input-edit-user-confirmpassword {
    width: 206px;
}

#input-create-user-agentcode,
#input-create-user-name,
#input-create-user-email,
#select-create-user-usergroupid,
#input-create-user-inspectiontoemail,
#input-create-user-inspectionccemail,
#input-edit-user-agentcode,
#input-edit-user-name,
#input-edit-user-email,
#select-edit-user-usergroupid,
#input-edit-user-inspectiontoemail,
#input-edit-user-inspectionccemail {
    width: 300px;
}

.form-create-user form div.action,
.form-edit-user form div.action,
.form-manage-ip form div.action,
.form-change-password form div.action {
    padding: 19px 20px 20px;
    padding-left: 180px;
    margin-top: 20px;
    background-color: #f5f5f5;
    border-top: 1px solid #e5e5e5;
}

.form-create-user form div.action button,
.form-edit-user form div.action button,
.form-manage-ip form div.action button,
.form-change-password form div.action button {
    padding: 4px 12px;
    font-size: 15px;
    line-height: 22px;
    text-align: center;
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
}

.form-create-user form div.action button:first-child,
.form-edit-user form div.action button:first-child,
.form-manage-ip form div.action button:first-child,
.form-change-password form div.action button:first-child {
    text-shadow: 0 -1px 0 rgb(0 0 0 / 25%);
    background-color: #99cc00;
    background-image: linear-gradient(to bottom, #82cF00, #82aa00);
}

.form-create-user form div.action button:last-child,
.form-edit-user form div.action button:last-child,
.form-manage-ip form div.action button:last-child,
.form-change-password form div.action button:last-child {
    color: #333333;
    text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    border-bottom-color: #b3b3b3;
}

.form-create-user form div.action button:hover,
.form-edit-user form div.action button:hover,
.form-manage-ip form div.action button:hover,
.form-change-password form div.action button:hover {
    text-decoration: none;
    background-position: 0 -15px;
    transition: background-position 0.1s linear;
}

.form-create-user form div.action button:first-child:hover,
.form-edit-user form div.action button:first-child:hover,
.form-manage-ip form div.action button:first-child:hover,
.form-change-password form div.action button:first-child:hover {
    background-color: #82aa00;
}

.form-create-user form div.action button:last-child:hover,
.form-edit-user form div.action button:last-child:hover,
.form-manage-ip form div.action button:last-child:hover,
.form-change-password form div.action button:last-child:hover {
    background-color: #e6e6e6;
}

ul.ui-autocomplete li.ui-menu-item a:hover {
    background: none !important;
    background-color: #8ec447 !important;
}

.detail-user table.table-detail-user tbody tr th {
    width: 160px;
    font-weight: bold;
}

.detail-user table.table-detail-user tbody tr th,
.detail-user table.table-detail-user tbody tr td {
    padding: 4px 5px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #dddddd;
}

.detail-user table.table-detail-user-app tbody tr th,
.detail-user table.table-detail-user-app tbody tr td {
    padding: 8px;
    line-height: 20px;
    text-align: left;
    vertical-align: top;
    border-top: 1px solid #dddddd;
}

.user-app,
.user-ip,
.user-log {
    padding-top: 5px;
}

.user-log {
    margin-top: 10px;
}

.user-ip .view-ip {
    font-size: 14px;
    line-height: 20px;
    color: #333333;
    padding: 1.5px 0;
}

form.form-user-log-search {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
}

form.form-user-log-search div label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    cursor: pointer;
}

form.form-user-log-search div select {
    width: 280px;
    height: 30px;
    line-height: 30px;
    padding: 4px 6px;
    margin-bottom: 10px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    font-size: 14px;
    color: #555555;
    border-radius: 4px;
    vertical-align: middle;
    font-weight: normal;
    cursor: pointer;
}

div.user-log div:nth-child(2) div {
    margin-bottom: 10px;
    padding: 0;
    display: inline-block;
}

div.user-log div div button {
    width: 100%;
    padding: 4px 12px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    color: #333333;
    text-shadow: 0 1px 1px rgb(255 255 255 / 75%);
    background-color: #f5f5f5;
    background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
    background-repeat: repeat-x;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border: 1px solid #cccccc;
    border-bottom-color: #b3b3b3;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 2px rgb(0 0 0 / 5%);
    font-weight: normal;
}

div.user-log div div button:hover {
    color: #333333;
    text-decoration: none;
    background-position: 0 -15px;
    transition: background-position 0.1s linear;
    background-color: #e6e6e6;
}

div.user-log div.view-log h5 {
    padding: 5px;
    cursor: pointer;
    background-color: #eee;
    font-size: 15px;
    margin-top: 10px;
    font-weight: bold;
    line-height: 20px;
    text-rendering: optimizelegibility;
    display: flex;
    justify-content: space-between;
}

div.user-log div.view-log h5 span {
    font-weight: normal;
    font-style: italic;
    float: right;
    padding-right: 10px;
}

div.user-log div.view-log pre {
    background-color: #dff0d8;
    padding: 8px 35px 8px 14px;
    font-size: 13px;
    line-height: 20px;
    word-break: break-all;
    word-wrap: break-word;
    white-space: pre-line;
}

#select-filters-active,
#select-create-user-usergroupid,
#select-edit-user-usergroupid {
    padding: 0px 0px 0px 10px !important;
    background-image: url('../images/caretdown.svg');
    background-size: 22px;
    background-repeat: no-repeat;
    background-position: calc(100% - 6px) center;
    appearance: none;
}

#textarea-ip,
#input-change-password,
#input-change-confirmpassword {
    width: 220px;
}

.alert-update-ip-complete,
.alert-change-password-complete {
    padding: 14px 35px 14px 14px;
    margin-bottom: 20px;
    background-color: #dff0d8;
    color: #468847;
    text-shadow: 0 1px 0 rgb(255 255 255 / 50%);
    border: 1px solid #d6e9c6;
    border-radius: 4px;
    transition: opacity 0.15s linear;
    opacity: 1;
}

.alert-update-ip-fail,
.alert-change-password-fail {
    padding: 14px 35px 14px 14px;
    margin-bottom: 20px;
    background-color: #f2dede;
    color: #b94a48;
    text-shadow: 0 1px 0 rgb(255 255 255 / 50%);
    border: 1px solid #eed3d7;
    border-radius: 4px;
    transition: opacity 0.15s linear;
    opacity: 1;
}

#close-alert-update-ip,
#close-alert-change-password {
    position: relative;
    top: 2px;
    right: -21px;
    line-height: 20px;
    float: right;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    text-decoration: none;
    cursor: pointer;
}

#logstartdate,
#logenddate,
#logstarttime,
#logendtime {
    width: 280px;
    height: 30px;
    line-height: 30px;
    appearance: none;
    font-size: 14px;
    color: #555555;
    border-radius: 4px;
    border: 1px solid #cccccc;
    padding: 0px 10px 0px 10px;
}

.display-inline {
    display: inline;
}
