

/*
* === Html Elements ===
*/

a {
    text-decoration: none;
    color: inherit;
}

a.external-link {
    color: #0091EA;
    cursor: pointer;
}

p {
    font-size: 14px
}

input {
    border: 1px solid #d8d8d8;
    border-radius: 2px;
    font-size: 13px;
    color: #383838;
    padding-left: 10px;
    padding-right: 10px;
    outline: none;
    height: 40px;
}

input.search-input {
    height: 35px;
    width: 350px;
}

input.date-input {
    height: 25px;
}


input.ng-invalid, select.ng-invalid, textarea.ng-invalid {
    border: 1px #e57373 solid;
}

textarea {
    padding: 14px;
    border: 1px solid #D2D2D2;
    outline: none;
}

button.with-border {
    border: 1px solid #d8d8d8;
    border-radius: 2px;
}

select {
    height: 40px;
    border: 1px solid #d8d8d8;
    font-size: 13px;
    color: #383838;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 2px;
    background: #fff;
    outline: none;
}

.radio-label {
    font-size: 13px;
    color: #383838;
}

.container-padding {
    padding: 5px 5px;
}

/*
* === Properties Forcing
*/

.position-fixed {
    position: fixed;
}

.no-margin {
    margin: 0 !important;
}

.no-margin-bottom {
    margin-bottom: 0 !important;
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.font-weight-bold{
    font-weight: bold;
}

.padding-left-10 {
    padding-left: 10px;
}

.padding-right-10 {
    padding-right: 10px;
}

.padding-top-25 {
    padding-top: 25px;

}

.margin-top-bottom-10 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.margin-top-10 {
    margin-top: 10px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.margin-10 {
    margin: 10px;
}

.no-margin-right {
    margin-right: 0 !important;
}

.no-margin-left {
    margin-left: 0 !important;
}

.no-border {
    border: none !important;
}

.text-align-center {
    text-align: center;
}

.no-padding {
    padding: 0 !important;
}


/*
* === Company Identity ===
*/

.logo-img {
    height: 64px;
    max-height: 64px;
    width: auto;
}

/*
* === Angular Material Overriding ===
*/

md-radio-button {
    outline: none;
}

md-toolbar.md-default-theme:not(.md-menu-toolbar), md-toolbar:not(.md-menu-toolbar) {
    background-color: rgb(0,0,0);
    color: rgba(255,255,255,0.87);
}

.md-nav-bar{
    height: 44px;
}

md-nav-bar.md-default-theme md-nav-ink-bar, md-nav-bar md-nav-ink-bar {
    color: #000000;
    background: #000000;
}

md-nav-ink-bar {
    height: 3px;
    left: 0;
}

.md-button._md-nav-button{
    padding: 0;
    margin: 0;
}

.md-nav-bar .md-nav-item{
    padding-right: 25px;
}

md-menu-item.flex-height {
    height: 100%;
}

button.two-language {
    line-height: normal;
}

.md-button {
    text-transform: none;
}

.role-icon {
    background-color: #424242 !important;
}

.title {
    font-size: 13px;
}

.sub-title {
    font-size: 10px;
    color: #9e9e9e;
}

.line-height-1 {
    line-height: 1;
}

.text-transform-capitalize {
    text-transform: capitalize;
}

md-nav-bar .md-button.md-active .notification {
    background: #0091ea;
}

.notification {
    background: #82d4fa;
    color: #FFFFFF;
    border-radius: 10px;
    margin-left: 10px;
    min-height: 19px;
    min-width: 26px;
    font-size: 11px;
}

.no-notification{
    min-height: 19px;
    min-width: 26px;
}

.md-select-value{
    min-height: 25px !important;
    padding: 0 !important;
}

.custom-checkbox .md-label {
    margin-top: 3px;
}

th.custom-cell {
    color: rgba(0, 0, 0, 0.87);
    font-size: 13px !important;
    border-top: 1px rgba(0, 0, 0, 0.12) solid;
    padding: 0 5px 0 0;
    min-width: 100px;
}

td.custom-cell {
    color: rgba(0, 0, 0, 0.87);
    font-size: 12px !important;
    border-top: 1px rgba(0, 0, 0, 0.12) solid;
    padding: 0 5px 0 0;
}


/*-----------------------
GRID TABLE
-------------------------*/

.list-content-table {
    padding-top: 25px;
}

.btn-previous,
.btn-previous:hover,
.btn-previous.md-focused,
.btn-next,
.btn-next:hover,
.btn-next:focus{
    background-color: #000000 !important;
    color: #FFFFFF;
}

.grid-content-table {
    height: 819px;
    font-size: 13px;
    margin-top: 25px;
}

.ui-grid-header-cell-wrapper {
    height: auto !important;
}

.ui-grid-header-cell {
    border-right: none !important;
}

.ui-grid-row {
    height: 50px !important;
    border-bottom: 1px solid #EEEEEE;
}

.ui-grid-cell {
    height: 100% !important;
    border-right: none !important;
}

.ui-grid-header {
    border-bottom: 1px solid #EEEEEE !important;
}


.ui-grid-cell-contents {
    line-height: 3;
    outline: none;
}

.ui-grid-cell-contents:first-child{
    padding-left: 20px;
}

.ui-grid-top-panel{
    background: #f7f7f7 !important;
    font-weight: inherit !important;
}

.grid-content-table,
.ui-grid-row:nth-child(odd) .ui-grid-cell,
.ui-grid-row:nth-child(even) .ui-grid-cell{
    background: #FFFFFF !important;
}


/*-----------------------
BUTTON
-------------------------*/

.view-btn{
    border: 1px solid #03A9F4;
    color: #03A9F4;
    min-height: 25px;
    min-width: 60px;
    line-height: 25px;
    font-size: 12px;
    margin: 12px 5px 12px 20px;
}

.view-btn:hover,
.view-btn:focus,
.view-btn.md-focused{
    background-color: #03A9F4 !important;
    color: #FFFFFF;
}

.edit-btn{
    border: 1px solid #FFC107;
    color: #FFC107;
    min-height: 25px;
    min-width: 60px;
    line-height: 25px;
    font-size: 12px;
}

.edit-btn:hover,
.edit-btn:focus,
.edit-btn.md-focused{
    background-color: #FFC107 !important;
    color: #FFFFFF;
}

.navigate-icon{
    padding: 0 20px;
}

.tab-menu{
    line-height: 15px;
    color: #353535;
}


.action-button {
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
}

.action-button .icon-wrapper {
    padding-right: 6px;
    padding-left: 6px;
    margin-top: -4px;
    margin-bottom: -4px;
    margin-left: 10px;
    background-color: #444;
}

.action-button .label {
    padding-left: 8px;
    padding-right: 8px;
}

.action-button .language-2 {
    font-size: 10px;
}


.action-button.white, .action-button.white:hover {
    background-color: #fff;
    border: 1px solid #D4D4D4;
}

.action-button.white .language-1 {
    color: #353535;
}

.action-button.white .language-2 {
    color: #353535;
}

.action-button.blue, .action-button.blue:hover {
    background-color: #01579B;
}

.action-button.blue .language-1 {
    color: #fff;
}

.action-button.blue .language-2 {
    color: #629AC1;
}

.action-button.light-blue, .action-button.light-blue:hover {
    background-color: #0091EA;
}

.action-button.light-blue .language-1 {
    color: #fff;
}

.action-button.light-blue .language-2 {
    color: #fff;
}

.action-button.black, .action-button.black:hover{
    background-color: #353535;
}

.action-button.black .language-1 {
    color: #fff;
}

.action-button.black .language-2 {
    color: #fff;
}

.action-button.grey, .action-button.grey:hover {
    background-color: #D2D2D2;
}

.action-button.grey .language-1 {
    color: #353535;
}

.action-button.grey .language-2 {
    color: #353535;
}

.action-button.menu-button {
    padding-right: 0;
    padding-left: 15px;
}

.action-button.menu-button .caret-down {
    padding-right: 8px;
    padding-left: 8px;
    margin-top: -4px;
    padding-top: 4px;
    margin-bottom: -4px;
    background: #0067b9;
}

.label.multi-language .language-1 {
    font-size: 14px;
}

.label.black .language-1 {
    color: #353535;
}

.label.black .language-2 {
    color: #979797;
}

/*
 * Chips
 */

.badge {
    border-radius: 16px;
}

.badge.transparent {
    background: transparent;
}

.badge.grey {
    background: #A6A6A6;
}

.badge.yellow {
    background: #FFE237;
}

.badge.red {
    background: #D0021B;
}

.badge .label {
    padding: 3px 14px 3px 14px;
}

.badge .label.white {
    color: #fff;
}

/*
 * Custom Dialog
 */

.custom-dialog {
    width: 640px;
    padding: 30px;
}

.custom-dialog .title {
    font-size: 18px;
}

.custom-dialog .subtitle {
    font-size: 10px;
    color: #9e9e9e;
}

.custom-dialog .divider {
    border-bottom: 1px solid #E8E8E8;
    margin-top: 14px;
    margin-bottom: 14px;
}

.custom-dialog .content-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-dialog .content-header-wrapper {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 14px;
}

.content-wrapper .content-header {
    font-size: 14px;
    font-weight: bold;
}

.content-wrapper .content {
    font-size: 14px;
}

.content-wrapper .content-item {
    margin-top: 6px;
    margin-bottom: 6px;
}

/*
 * Font Colours
 */

.font-grey {
    color: #979797;
}

/*-----------------------
FORM VIEW
-------------------------*/


.form-view-header{
    font-size: 15px;
    border: 1px solid #E1F5FE;
    padding: 15px 35px;
    background-color: #E1F5FE;
}

.form-view-body{
    border: 1px solid #E5E5E5;
    border-top: none;
    padding: 30px 35px;
    background-color: #FFFFFF;
    font-size: 12px;
}

.form-view-body-xs{
    border: 1px solid #E5E5E5;
    border-top: none;
    padding: 0px 5px;
    background-color: #FFFFFF;
    font-size: 12px;
}

.form-view-body-left{
    padding-right: 30px;
}

.form-view-body-left-xs{
    padding-right: 0px;
}

.form-view-body-right{
    padding-left: 50px;
}

.files-upload-table-header{
    border: 1px solid #E5E5E5;
    border-top: none;
    border-bottom: none;
    padding: 30px 30px 0 35px;
    background-color: #FFFFFF;
    font-size: 12px;
}

.md-icon-button.remove-file-upload{
    padding-top: 0;
    padding-bottom: 0;
    height: auto;
    min-height: 24px;
    color: #D0011B;
}


/*-----------------------
UPLOAD FILE BUTTON
-------------------------*/

.choose-file-btn input[type="file"] {
    position: fixed;
    top: -1000px;
}

.choose-file-btn{
    background-color: #0091EA;
    width: 100px;
    border-radius: 3px;
    margin-left: 30px;
    padding: 2px;
    display: inline-block;
}

.choose-file-btn span{
    color: #FFFFFF;
    font-size: 11px;
}

.choose-file-btn .sub-title{
    font-size: 9px;
}


/*
 * ====== List View
 */

.list-container {
    background: #fff;
    margin-top: 24px;
    border: 1px solid #ddd;
    font-size: 13px;
    padding-bottom: 20px;
    /*height: 763px;*/
}

.list-container .header {
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eeeeee;
    background: #f7f7f7;
}



.list-container .header {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor:pointer;
}

.list-container .header div {
    outline: none;
}

.list-container .list-item:first-child {
    padding-right: 20px;
    padding-left: 0;
}

.list-container .list-item:last-child {
    padding-right: 0;
    padding-left: 0;
}

.list-container .list-item {
    padding-left: 20px;
    padding-right: 20px;
}



.rzslider .rz-pointer {
    outline: none;
    width: 18px !important;
    height: 18px !important;
    top: -8px !important;
    background-color: #009688 !important;
}

.rzslider .rz-pointer:after {
    top: 5px !important;
    left: 5px !important;
}

.rzslider .rz-selection {
    background: #009688 !important;
}

.rzslider .rz-pointer.rz-active:after {
    background-color: #fff !important;
}


/*-----------------------
FILES UPLOAD
-------------------------*/

.file-upload-dialog {
    padding: 20px;
    width: 100%;
    max-width: 640px;
}

.files-upload-table-header{
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
}

.files-upload-table-detail{
    padding: 20px 0;
}

.files-upload-input{
    border: none;
    color: #9e9e9e;
    padding: 0;
}

.files-upload-message{
    color: #FF0000;
    font-size: 12px;
}

.files-upload-input-container .item {
    margin-left: 10px;
    margin-right: 10px;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}


.list-container .file-type-container:not(:last-child) {
    border-bottom: 1px solid #E5E5E5;
}

.list-container .file-type-container {
    margin-top: 10px;
    margin-bottom: 10px;
}

.margin-top-25 {
    margin-top: 25px;
}


.md-toolbar-tools {
    height: 56px !important;
    max-height: 56px !important;
}


/*
* === Media Queries ===
*/

@media (max-width: 959px) and (min-width: 0) and (orientation: landscape) {
    
    .logo-img {
        height: 48px;
        max-height: 48px;
    }

}

@media (max-width: 959px) and (min-width: 0) and (orientation: portrait) {
    
    .logo-img {
        height: 56px;
        max-height: 56px;
    }

}

@media (max-width: 600px) {

    .custom-dialog {
        width: auto;
    }
}
