﻿/* FlyCRM custom styles */

html {
    font-size: 14px;
}

.app-sidebar {
    color: white;
    font-weight: 300;
    font-size: 1rem;
}

.mat-expansion-panel .mdc-list-item {
    font-size: 0.93rem;
}

.navbar {
    background-color: #fafafa !important;
    height: 70px !important;
    margin-left: 260px;
    padding-bottom: 0px;
    padding-top: 0px;
    /* position: fixed !important;*/
    margin-left: 260px;
}

#page-footer {
    background-color: #eeeeee !important;
    bottom: 0px;
    color: #333333;
    height: 50px !important;
    font-weight: 300 !important;
    padding-bottom: 0px !important;
    padding-top: 0px !important;
    position: fixed !important;
    margin-left: 0px;
    margin-bottom: 0px !important;
    margin-right: 0px !important;
    margin-top: 0px !important; 
    transition: 0.15s ease;
    z-index: 1030;
}

    #page-footer .container-fluid {
        padding-top: 3px !important;
    }

    #page-footer ul li a {
        font-weight: 300 !important;
    }

    #page-footer .container-fluid {
        height: 50px;
    }

    #page-footer .copyright {
        font-size: 12px;
    }

h3.title {
    text-align: center !important;
}

.sidebar-mini .navbar, .sidebar-mini .navbar, .sidebar-mini footer {
    margin-left: 80px;
    transition: 0.15s ease;
}


.sidebar .nav li .dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    font-size: 13px;
}

.sidebar, .sidebar-wrapper {
    overflow-x: hidden !important;
}


.sidebar {
    z-index: 1040;
}

.loading-container {
}

@media (max-width: 575.98px) {
}

@media (max-width: 767.98px) {
}

@media (max-width: 991.98px) {
    .navbar, .sidebar-mini .navbar, .sidebar-mini .navbar, footer, .sidebar-mini footer {
        margin-left: 0px;
    }
}

@media (max-width: 1199.98px) {
}

.swal2-container, sg-background {
    background-image: url(/images/SG_tlo.webp);
    background-position: center;
    background-size: cover;
    z-index: 0;
}

.swal2-popup {
    z-index: 50;
}

.background-mask {
    background-color: rgba(0,0,0,0.50);
    bottom: 0px;
    display: flex;
    height: 100vh;
    left: 0;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0px;
    z-index: 0;
}


input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    border: 1px solid white !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    transition: background-color 5000s ease-in-out 0s;
}

.btn-group > .btn-group:not(:first-child) > .btn-info:first-child:not(.active):not(:active):before, .btn-group > .btn-info:not(:first-child):not(.active):not(:active):before {
    background-color: rgba(255,255,255,0) !important;
}

.btn-group > .btn-group:not(:last-child) > .btn-info:last-child:not(.active):not(:active):not(.dropdown-toggle):after, .btn-group > .btn-info:not(:last-child):not(.active):not(:active):not(.dropdown-toggle):after {
    background-color: rgba(255,255,255,0) !important;
}

.btn.btn-secondary:focus, .btn.btn-secondary:active, .btn.btn-secondary:hover {
    box-shadow: none;
}


#SGPlatformIframe {
    border: none;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

.mdc-dialog__surface {
    max-height: 70vh !important;
}

.mdc-dialog__surface.medium {
    max-width: 60vw !important;
    width: 700px;
}

    .mdc-dialog__surface.large {
        min-height: 80vh;
        min-width: 70vw;
        height: 80vh !important;
        width: 70vw !important;
        overflow: hidden;
    }

        .mdc-dialog__surface.large .mat-tab-group-content {
            max-height: 500px;
            height: 500px;
        }
        .mdc-dialog__surface.large .mat-tab-group-content {
/*            max-height: 50vh;
            overflow: auto;
    */
        }

        .mdc-dialog__surface.large .ck-editor__editable {
/*            max-height: 400px;
            height: 400px;
    */
        }

.sidebar .logo {
    height: 70px;
    opacity: 0.9;
    text-align: left;
    -webkit-font-smoothing: never !important;
}

.sidebar .logo-normal {
    left: 25px;
    top: 16px;
    height: 35px;
    max-height: 35px;
    position: absolute;
    -webkit-font-smoothing: never !important;
}

.sidebar .logo-mini {
    left: 25px;
    top: 16px;
    max-width: 35px;
    max-height: 35px;
    position: absolute;
}

.sidebar .logo-normal, .sidebar.mini:hover .logo-normal {
    opacity: 1;
    transition: 0.3s ease-in-out;
}

.sidebar.mini .logo-normal {
    opacity: 0;
    transition: 0.3s ease-in-out;
}

.sidebar .logo-mini, .sidebar.mini:hover .logo-mini {
    opacity: 0;
    transition: 0.2s ease-in-out;
    transition-delay: 0.3s;
}

.sidebar.mini .logo-mini {
    opacity: 1;
    transition: 0.2s ease-in-out;
}