﻿/*
    COLOURS:

    LIGHT GREEN: #6CAB5A
    DARKER GREEN: #019B81 (RGB(1, 155, 129)
*/

html {
    background-color: #F6F6F6;
    height: 100%;
}
body {
    color: #019B81;
    background-color: #F6F6F6;
    height: 100%;
    font-family: "open sans", sans-serif;
}
form{
    width: 100%;
    max-width: 1000px;
}

.ls-logo{
    display: block;
    background-image: url('../img/logo.jpg');
    background-repeat: no-repeat;
    width: 241px;
    height: 111px;
    margin-bottom: 1rem;
}

.ls-content-container{
    height: 100%;
}

.ls-login{
    margin-left: 1rem;
    margin-right: 1rem;
}

.ls-content{
    margin-left: 270px;
    margin-right: 1rem;
}

.ls-padding-top{
    padding-top: 1rem;
}

.ls-padding-top\+ {
    padding-top: 2rem;
}

.ls-padding-bottom{
    padding-bottom: 1rem;
}

.ls-padding-sides{
    padding-left: 1rem;
    padding-right: 1rem;
}

.ls-padding-sides\+ {
    padding-left: 2rem;
    padding-right: 2rem;
}

.ls-align-right{
    /*float: right;*/	
    text-align: right;
}

.ls-align-centre {
    /*float: right;*/
    text-align: center;
}

.ls-italic{
    font-style: italic;
}

.ls-bold{
	font-weight: bold;
}

.ls-form-container{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.ls-form-label {
	padding-top: 32px;
	padding-bottom: 8px;
	color: rgba(0,0,0,.54);
}

.ls-form-field-error{
    font-size: small;
    color: #F44336;
}

.ls-form-subheader {
    padding-top: 32px;
}

.ls-subdued-text {
    color: #888;
    font-size: 14px;
}

.ls-uppercase-text {
    text-transform: uppercase;
}

.ls-breadcrumb-link {
    color: #019B81;
    text-decoration: none;
}

.ls-checkbox-form-field {
    padding-top: 32px;
    padding-bottom: 8px;
}

.ls-information {
    color: #888;
}

.ls-link{
    cursor: pointer;
}

.ls-small-link{
	cursor: pointer;
	font-size: small;
}

.ls-form-field-information, .ls-field-information {
	font-size: small;
}
/*
    LOADING
*/
.ls-loading {
	display: none;
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	z-index: 1100;
}

.ls-loading-background {
    position: fixed;
    left: -300px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background-color: #000000;
    opacity: 0.6;
    z-index: 1101;
}

.ls-loading-ring {
    display: block;
    position: fixed;
    background-size: 120px 120px;
    left: 50%;
    top: 50%;
    margin-left: -60px;
    margin-top: -60px;
    width: 120px;
    height: 120px;
    z-index: 1102;
}

/*
    NAV
*/
.ls-nav-container{
    height: 100%;
}

.ls-nav-header{
    display: none;
    position: fixed;
    width: 100%;
    z-index: 997;
}

.ls-toolbar{
    background-color: #019B81;
}

.ls-sidebar-logo-container{
    padding-top: 1rem;
    background-color: inherit;
    padding-bottom: 2rem;
}

.ls-sidebar-logo{
    display: block;
    background-image: url('../img/logo.jpg');
    background-repeat: no-repeat;
    width: 241px;
    height: 111px;
    margin-left: auto;
    margin-right: auto;
}

.ls-sidebar-overlay {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 998;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition-property: opacity;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}

.ls-sidebar-overlay.sidebar--shown {
    opacity: 1;
    pointer-events: auto;
}

.ls-sidebar {
    background-color: #019B81;
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: -260px;
    z-index: 999;
    width: 260px;
    border-right: 1px solid #DDD;
    transition-property: box-shadow, transform;
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    overflow: auto;
}

.ls-sidebar.sidebar--shown {
    transform: translateX(260px);
}

.ls-sidebar-menu {

}

.ls-sidebar-menu li > .btn{
    padding: .7rem;
    cursor: pointer;
    color: #fff;
    width: 100%;
}

.ls-sidebar-menu li > .btn:hover, .ls-sidebar-menu li > .btn:focus{
    background-color: #6CAB5A;
    color: #fff;
}

.ls-sidebar-menu li > .btn > i{
    -webkit-transition: -webkit-transform 0.5s; /* Safari */
    transition: transform 0.5s;
}

.ls-sidebar-menu li > .btn > i.active{
    -webkit-transform: rotate(180deg); /* Safari */
    transform: rotate(180deg);
}

.ls-sidebar-menu li.sidebar-sub-options {
    line-height: 0px;
}

.ls-sidebar-menu li.sidebar-sub-options > ul > li, .ls-sidebar-menu li.sidebar-sub-options > ul > li > .btn{
    height: 0px;
    padding: 0;
    -webkit-transition: height 0.5s, padding 0.5s; /* Safari */
    transition: height 0.5s, padding 0.5s;
}

.ls-sidebar-menu li.sidebar-sub-options.active > ul > li{
    height: 40px;
}

.ls-sidebar-menu li.sidebar-sub-options.active > ul > li > .btn{
    padding-left: .7rem;
    padding-right: .7rem;
    padding-top: .2rem;
    padding-bottom: .2rem;
    height: 100%;
}

.ls-button-container {

}

/*
    FIXED TOOLBAR
*/
.ls-fixed-toolbar-container{
    position: fixed; 
    bottom: 0; 
    right: 0px; 
    margin-bottom: 5px; 
    margin-right: 5px;
}

.ls-align-right{
    text-align: right;
}

@media (max-width: 1000px) {
    div.tabs .tabs__link span {
        display: none;
    }

    .ls-content{
        margin-left: 1rem;
        margin-right: 1rem;
        padding-top: 66px;
    }

    .ls-nav-header{
        display: block;
        background-color: #019B81;
        color: #fff;
    }
}

@media (min-width: 1001px) {
    div.tabs .tabs__link i {
        display: none;
    }

    .ls-sidebar {
        left: 0px;
    }
}

/*
    DATA TABLE
*/
.ls-data-table.data-table td {
    padding-top: 0;
    padding-bottom: 0;
}

.ls-data-table.data-table td div.lx-select.lx-select--default-style {
    padding-top: 8px;
}

.ls-data-table.data-table td div.lx-select.lx-select--default-style .lx-select-label {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
    transform: translateY(0px);
}

.ls-data-table-button-column {
    width: 10%;
}

.ls-multiple-details-table {
	display: block;
}

.ls-single-details-table {
	display: none;
}

@media(max-width: 650px) {
	.ls-single-details-table {
		display: block;
	}

	.ls-multiple-details-table {
		display: none;
	}
}

/*
    WIDTHS
*/
.w-5 {
    width: 5%
}

.w-10 {
    width: 10%
}

.w-15 {
    width: 15%
}

.w-20 {
    width: 20%
}

.w-25 {
    width: 25%
}

.w-30 {
    width: 30%
}

.w-40 {
    width: 40%
}

.w-50 {
    width: 50%
}

.w-60 {
    width: 60%
}

.w-65 {
    width: 65%
}

.w-70 {
    width: 70%
}

.w-75 {
    width: 75%
}

/*
    BUTTON OVERRIDES
*/

.btn--raised.btn--primary{
    background-color: #019B81;
}

.btn--icon.btn--primary, .btn--flat.btn--primary {
    color: #019B81;
}

.btn--icon.btn--primary:hover, .btn--flat.btn--primary:hover {
    background-color: rgba(1,155,129,.15);
}

.btn--icon.btn--primary .ripple, .btn--flat.btn--primary .ripple {
    background-color: #019B81;
}

.btn--icon.btn--green {
    color: #019B81;
}

.btn--fab.btn--green {
    color: #FFF;
    background-color: #019B81;
}

/*
    TEXT FIELD OVERRIDES
*/
.text-field--is-focus:not(.text-field--fixed-label) .text-field__label {
    color: #019B81;
}

.text-field:not(.text-field--error):not(.text-field--valid):after {
    background-color: #019B81;
}

.text-field:after {
    background-color: #019B81);
}

.text-field--error:after {
    background-color: #FF0000;
}

/*
    TAB OVERRIDES
*/
.tabs--theme-light.tabs--color-primary .tabs__link:not(.tabs__link--is-disabled).tabs__link--is-active, .tabs--theme-light.tabs--color-primary .tabs__link:not(.tabs__link--is-disabled):hover {
    color: #019B81;
}

.tabs--theme-dark.tabs--color-primary .tabs__links, .tabs--theme-light.tabs--color-primary .tabs__indicator, .tabs--theme-light.tabs--color-primary .tabs__link:not(.tabs__link--is-disabled) .ripple{
    background-color: #019B81;
}

/*
    CHECKBOX OVERRIDES
*/
.data-table.data-table--thumbnail .data-table__selectable-row--is-selected td:nth-child(2):before, .data-table.data-table--thumbnail .data-table__selectable-row--is-selected th:nth-child(2):before, .data-table:not(.data-table--thumbnail) .data-table__selectable-row--is-selected td:first-child:before, .data-table:not(.data-table--thumbnail) .data-table__selectable-row--is-selected th:first-child:before{
    color: #019B81;
}

.checkbox--accent .checkbox__input:checked + .checkbox__label:before {
    color: #019B81;
}

.checkbox__input:checked + .checkbox__label:before {
    content: "\F132";
    color: #019B81;
}

.checkbox__label a {
    color: #019B81;
}
/*
    RADIO BUTTON OVERRIDES
*/
.radio-button--accent .radio-button__input:checked + .radio-button__label:before {
    color: #019B81;
}

.radio-button__input:checked + .radio-button__label:before {
    content: "\F43E";
    color: #019B81;
}

.radio-group {
    padding-top: 32px;
    padding-bottom: 8px;
}

/*
    DATEPICKER OVERRIDES
*/
.lx-date-picker--primary .lx-date-picker__header {
    background-color: #019B81;
}

.lx-date-picker--primary .lx-date-picker__day a:hover, .lx-date-picker--primary .lx-date-picker__day--is-selected a {
    background-color: #019B81;
}

.lx-date-picker--primary .lx-date-picker__year--is-active, .lx-date-picker--primary .lx-date-picker__year:hover {
    color: #019B81;
}

.lx-date-picker--primary .lx-date-picker__day--is-today a {
    display: block;
    height: 40px;
    width: 40px;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 12px;
    font-size: .75rem;
    text-align: center;
    line-height: 40px;
    font-weight: 400;
    background-color: #019B81;
    color: #fff;
    opacity: 0.5;
}

/*
    FLEX OVERRIDES
*/
@media screen and (max-width:1023px) {
    [flex-gutter="24"] > [flex-item] {
        margin-bottom: 0;
    }
}

/*
    DIALOG OVERRIDES
*/
.bgc-primary {
    background-color: #019B81 !important;
}

/*
	INPUT FILE OVERRIDES
*/
.input-file:after {
	background-color: #019B81 !important;
}

.input-file--is-focus .input-file__label {
	color: #019B81 !important;
}