﻿/*
    From Tailwind palette: https://tailwindcolor.com/
    Primary colour: Green 700 = #15803D
    Secondary colour: Green 600 = #16A34A

    Body: Teal 400 - #2DD4BF 
*/


body {
    padding: 0;
    margin: 0;
    background-color: #2DD4BF; /* Teal 400 */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
}

/* Loading screen ***********************************************************************/

.loading {
    background-color: white;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    
    display: flex;
    justify-content: center;
    align-items: center;
}


    .loading .loading-text i {
        /*background-color: lightcoral;*/
        font-size: 36pt;
        color: #BDBDBD;
        position: absolute;
        top: 140px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .loading img {
        width: 30%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        align-items: center;
    }

    .loading .title-text span {
        /*background-color: lightcoral;*/
        position: absolute;
        bottom: 40px;
        left: 0;
        right: 0;
        font-size: 16pt;
        display: flex;
        justify-content: center;
        align-items: center;
    }

/* Main Content ***********************************************************************/

/* Note - this must come before media queries*/
main {
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

/*  Common banner *********************************************************************/

.smt-banner .e-appbar {
    height: 60px;
}

.smt-banner .fa-solid {
    font-size: 20px;
    color: #eeecec;
}

.smt-banner-text {
    font-size: 20px;
    font-weight: 400;
    padding-left: 6px;
}

.smt-alert-banner {
    color: White;
    background-color: red;
    width: 100%;
    padding: 6px;
    font-weight: bold;
}

.smt-footer .fa-solid {
    font-size: 20px;
    padding-top: 12px;
    padding-bottom: 0;
    display: block;
}


.smt-appbar-text {
    padding-top: 0px;
    font-size: 12px;
    display: block;
}

.smt-login-container {
    display: flex;
}

.e-fab.e-btn.smt-login-button {
    left: 0;
    top: 0;
    bottom: unset;
    right: unset;
    position: relative;
    background-color: #16A34A;
}

.smt-appbar-menu {
    left: 0;
    top: 6px;
    bottom: unset;
    right: unset;
    position: relative;
}
/*  Common footer/appbar *********************************************************************/

/* Note - this must come before media queries*/
.smt-appbar-end {
    width: 0 !important;
}

.smt-footer .e-appbar {
    height: 60px;
    background-color: #CCFBF1 !important; /* Teal 100 */
}

.e-horizontal-bottom .smt-appbar-buttons .e-inherit {
    background-color: #CCFBF1 !important; /* Teal 100 */
    color: #BDBDBD;
    width: 250px;
}

    .e-horizontal-bottom .smt-appbar-buttons .e-inherit:hover, .e-inherit:active, .e-inherit:focus {
        color: #15803D;
    }

.e-horizontal-bottom .smt-appbar-buttons .trip-selected {
    color: #15803D;
}


/* File uploader ****************************************************************************/

.smt-load-files-label {
    padding: 6px 12px;
    background-color: #15803d;
    color: white;
    border-radius: 16px;
    cursor: pointer;
    margin-top: 8px;
    margin-left: 8px;
    display: inline-block;
}

.smt-upload-progress {
    padding: 4px;
    margin-top: 12px;
    margin-left: 8px;
    display: inline-block;
}

.smt-file-id-label {
    padding: 4px;
    margin-top: 9px;
    margin-left: 8px;
    display: inline-block;
}

.smt-file-upload-error {
    padding: 4px;
    color: red;
    font-weight: bold;
    margin-top: 9px;
    margin-left: 8px;
    display: inline-block;
}

/* Forms *************************************************************************************/

fieldset {
    border: 0;
}

/* Progress ****************************************************************************/

.show-progress {
    display: block;
}

.hide-progress {
    display: none;
}

/* Responsiveness ****************************************************************************/

@media screen and (min-width: 200px) {
    .smt-appbar-end {
        width: 15% !important;
    }

    main {
        padding-top: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .smt-trip-sticky-header {
        /*background-color: yellow;*/
        position: absolute;
        top: 70px;
        right: 20px;
        left: 20px;
    }

    .smt-trip-list {
        /*background-color: yellow;*/
        position: absolute;
        top: 120px;
        bottom: 65px;
        right: 20px;
        left: 20px;
        overflow-y: auto;
    }

    .smt-catches-grid {
        /*background-color: yellow;*/
        position: absolute;
        top: 120px;
        bottom: 65px;
        right: 20px;
        left: 20px;
        overflow-y: auto;
    }

    .smt-view {
        max-width: 500px;
        width: 300px;
        display: block;
    }
}

@media screen and (min-width: 900px) {
    .smt-appbar-end {
        width: 30% !important;
    }

    main {
        padding-top: 10px;
        padding-left: 200px;
        padding-right: 200px;
    }

    .smt-trip-sticky-header {
        /*background-color: yellow;*/
        position: absolute;
        top: 70px;
        right: 200px;
        left: 200px;
    }

    .smt-trip-list {
        /*background-color: yellow;*/
        position: absolute;
        top: 120px;
        bottom: 65px;
        right: 200px;
        left: 200px;
        overflow-y: auto;
    }

    .smt-catches-grid {
        /*background-color: yellow;*/
        position: absolute;
        top: 120px;
        bottom: 65px;
        right: 200px;
        left: 200px;
        overflow-y: auto;
    }

    .smt-view {
        max-width: 700px;
        width: 700px;
        display: block;
    }

}

/* Lists and Cards **************************************************************************/

.e-listview {
    border: 0 !important;
}

.e-listview .e-list-item {
    border-bottom: 0;
    padding-bottom: 8px;
}

.e-listview .e-list-item .e-hover {
    background-color: rgba(255, 0, 0, 0.0);
}

.e-card-header-title {
    display: block !important;
    font-size: 16px !important;
    font-weight: bold !important;
}

.e-card-sub-title {
    display: block !important;
    font-size: 14px !important;
    font-weight: bold !important;
}

.e-card-content {
    display: block !important;
    font-size: 12px !important;
}

.e-card-content p {
    padding: 0;
    margin: 0;
}

.e-card {
    -webkit-tap-highlight-color: rgba(0, 0, 255, 0.0) !important;
}

/* Fishing trip toobar **************************************************************************/

.smt-trip-toolbar .e-input-group {
    width: 200px !important;
}

.smt-trip-toolbar {
    display: flex;
    width: 100%;
    /*background-color: yellow;*/
    margin-bottom: 6px;
    justify-content: end;
}

.smt-row {
    display: flex;
}


.smt-left-aligned {
    flex: 100%;
}

.smt-left-half {
    flex: 45%;
}

.smt-right-half {
    flex: 45%;
    text-align: end;
    align-self: end;
    margin-left: 10px;
}

.smt-left-qtr {
    flex: 30%;
}

.smt-right-3qtr {
    flex: 60%;
    margin-left: 10px;
}

.smt-right-aligned {
    flex: 0;
    text-align: end;
    align-self: end;
    margin-left: 10px;
}

.smt-inset {
    border-color: #15803D;
    border-radius: 10px;
    border-width: thin;
    border-style: solid;
    padding: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.smt-space-above {
    margin-top: 8px;
}

.smt-space-below {
    margin-bottom: 8px;
}

.smt-space-before {
    margin-left: 8px;
}

.smt-space-after {
    margin-right: 8px;
}

.smt-table td {
    font-size: 14px;
    vertical-align: top;
}

.smt-table td p {
    font-size: 14px;
    vertical-align: top;
}

.smt-table-label {
    font-weight: bold;
    vertical-align: top;
}

.smt-align-bottom {
    align-items: flex-end;
}

.smt-section-title {
    margin-bottom: 0;
}

.smt-row-label {
    font-weight: bold;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
}

.smt-row-value {
    font-weight: normal;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 6px;
}

.smt-multiline-value {
    white-space: pre-wrap;
}

.smt-details {
}

.smt-button-row {
    margin-top: 20px;
    display: flex;
}

.smt-submit {
    margin-top: 20px;
    display: flex;
}

.smt-full-width {
    width: 100%;
}

.smt-half-button {
/*    display: inline-block;
    width: calc(50% - 44px);
    margin: 0 auto;*/
}

.smt-left-align {
    display: flex;
    width: calc(50% - 10px);
    /*margin: 0 auto;*/
    justify-content: start;
    margin-right: auto;
    /*background-color: yellow;*/
}

.smt-right-align {
    display: flex;
    width: calc(50% - 10px);
    /*margin: 0 auto;*/
    justify-content: end;
    margin-left: auto;
    /*background-color: orange;*/
}

.smt-button {
    border-radius: 18px !important;
    /*margin-left: 10px !important;*/
}


.smt-add-item {
    display: block;
}

fieldset {
    /*background-color: yellow;*/
    max-width: 500px;
    width: 300px;
    display: block;
}

/* Checkbox */
.smt-e-customsize.e-checkbox-wrapper
{
    padding-top: 8px;
}

.smt-e-customsize.e-checkbox-wrapper .e-frame {
    height: 30px;
    width: 30px;
    padding: 8px 0;
}

.smt-e-customsize.e-checkbox-wrapper .e-check {
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
}

.smt-e-customsize.e-checkbox-wrapper .e-ripple-container {
    height: 52px;
    top: -11px;
    width: 47px;
}

.smt-e-customsize.e-checkbox-wrapper .e-label {
    line-height: 30px;
    font-size: 12px;
    font-weight: 500;
    font-style: normal;
}

.e-card .e-card-header-caption .e-card-sub-title {
    width: 350px;
    white-space: normal !important;
    text-overflow: unset !important; 
}

.e-card .e-card-content {
    padding-top: 4px !important;
}

.smt-custom-sub-title {
    width: 350px;
    white-space: normal !important;
    text-overflow: unset !important;
    border: 0 !important;
    margin-bottom: 6px !important;
    font-size: 14px !important;
    color: #495057 !important; 
}


.smt-catches-label {
    align-content: center;
    padding: 0 8px;
}

.smt-catches-details {
    /*background-color: yellow;*/
    white-space: normal;
    width: 100%;
}

    .smt-catches-details span {
        padding-right: 6px;
    }
