/* Global Styling */

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,300i,400,400i,500,500i,600,600i,700,700i&display=swap');

@import url('../fonts/segoeui.css');
body {
    font-family: 'Segoe UI Regular' !important;
    font-weight: 500;
}

:root {
    --dark: #707070;
    --green: #2ecc71;
}
/* Fonts */

.ft-w-600 {
    font-weight: 600 !important;
}

.ft-24 {
    font-size: 24px !important;
}

.ft-14 {
    font-size: 14px;
}

.ft-15 {
    font-size: 15px;
}

.ft-16 {
    font-size: 16px;
}

.ft-17 {
    font-size: 17px;
}

.ft-20 {
    font-size: 20px;
}

.ft-18 {
    font-size: 18px !important;
}

.lh-1 {
    line-height: 1;
}

.user_name{
    width: 160px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat' !important;
    font-weight: bold !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
}
.swal2-icon.swal2-info, .swal2-icon.swal2-warning {
    color: var(--theme) !important;
    border-color: var(--theme) !important;
}
.swal2-styled.swal2-confirm {
    background-color: var(--theme) !important;
    border: 1px solid var(--theme) !important;
}
.swal2-actions:not(.swal2-loading) .swal2-styled:hover {
    color: var(--theme) !important;
    background-color: #fff !important;
    background: #fff !important;
    border: 1px solid var(--theme) !important;
}

/* Containerization for mac */

@media (min-width: 1200px) {
    .select {
        padding-left: 15px !important;
        max-width: 100% !important;
    }
}

@media only screen and (max-width:991px) {
    .header {
        height: unset !Important;
    }
    .sidebar {
        margin-left: -380px;
        transition: margin-left 1s ease-in-out;
        float: left;
        margin-top: unset !important;
        padding-top: 200px;
        margin-top: unset !important;
        padding-top: 50px;
        position: absolute !important;
        border-right: 1px solid rgba(112, 112, 112, 0.49);
    }
    .main-content {
        width: 100% !important;
    }
    #toggle-sidebar {
        position: absolute;
        top: 70px;
        right: 15px;
        z-index: 100;
        padding: 14px 16px;
        border-radius: 50%;
        line-height: 1;
        background: var(--theme);
    }
    .logo {
        content: url("../img/mobile-logo.png");
        display: inline !important;
        /*width: 70px !important;*/
    }
    #toggle-sidebar {
        top: 30px;
    }
    .header::after {
        content: unset !important;
    }
    .car-status-bar {
        position: relative !important;
        top: 0px !important;
        margin-bottom: 20px !important;
    }
    .feather-search {
        left: 30px !important;
    }
    .select {
        max-width: 100% !important;
    }
    .last-activity {
        transition: left 0.5s ease-in-out;
        left: -360px !important;
    }
}

@media only screen and (max-width:420px) {
    h1 {
        font-size: 1.5rem !important;
    }
    .d-sm-block {
        display: block;
    }
    input[type='submit'] {
        width: 200px !Important;
        height: 50px;
    }
}

a:hover,
input[type='submit'] {
    color: var(--theme) !important;
    text-decoration: none !important;
    cursor: pointer;
}

select:hover {
    cursor: pointer;
}

button:hover {
    color: white;
    background-color: var(--theme) !important;
    cursor: pointer;
}


/* Header */

.logo {
    height: 40px !important;
    position: relative;
}

.header {
    height: 70px;
}

.header.border-logo::after {
    content: "";
    width: 19%;
    position: relative;
    margin-left: 27px;
    padding-right: 20px;
    border-bottom: 1px solid rgba(112, 112, 112, 0.38);
    padding-left: 20px;
}

.header.border-full::after {
    content: "";
    width: 96%;
    position: relative;
    margin: 0 auto;
    padding-right: 20px;
    border-bottom: 1px solid rgba(112, 112, 112, 0.38);
    padding-left: 20px;
}


/* UI  */

.button {
    width: 160px;
    height: 40px;
    background: #FFFFFF;
    border: 2px solid var(--theme);
    border-radius: 5px;
    font-size: 15px;
    opacity: 1;
}

.search {
    height: 40px;
    background: #E4E4E4 0% 0% no-repeat padding-box;
    border-radius: 43px;
    opacity: 1;
    font-size: 15px;
    border: none;
    color: #707070 !important;
}

.feather {
    width: 20px;
    height: 20px;
}

.feather-search {
    background-image: url('../icon/Icon\ feather-search.svg');
    background-size: contain;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    position: absolute;
    top: 10px;
    left: 20px !important;
}


/* Forms */

input:focus,
select,
button {
    outline: none;
}

.has-search .search {
    padding-left: 3.375rem;
    color: rgba(54, 54, 54, 1);
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    appearance: none;
}

.select {
    max-width: 250px;
}

.select:after {
    content: "\f107";
    font-family: FontAwesome;
    color: #707070;
    font-weight: 600;
    padding: 12px 8px;
    position: absolute;
    right: 30px;
    font-size: 20px;
    top: 0px;
    line-height: 1;
    z-index: 1;
    text-align: center;
    width: 10%;
    height: 100%;
    pointer-events: none;
    box-sizing: border-box;
}

.select-dropdown {
    height: 40px;
    border: 2px solid var(--theme);
    border-radius: 5px;
    opacity: 1;
    font-size: 15px;
    text-align: left;
    padding-left: 30px !important;
    background-color: white;
}

.input-control {
    background-color: #fff !important;
    border-bottom: 2px solid var(--theme) !important;
    font-family: inherit !important;
    padding-top: 0px !important;
    font-size: 18px !important;
    color: rgba(112, 112, 112, 0.56) !important;
    padding: 10px;
    width: 100%;
    font-size: 14px;
    font-family: inherit;
    line-height: 24px;
    color: #555;
    background-color: #f1f1f1;
    border: none;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
}


/* Sidebar */

.sidebar {
    width: 300px;
    height: calc(100vh - 80px);
    float: left;
    z-index: 10000;
    clear: right;
    top: 0px;
    padding-top: 20px;
    padding-left: 30px;
    position: -webkit-sticky;
    -webkit-transition: left .3s ease, width .3s ease;
    transition: left .3s ease, width .3s ease;
    -webkit-transition: display 0.5s ease-in-out;
    transition: display 0.5s ease-in-out;
    border-right: 1px solid rgba(112, 112, 112, 0.49);
}

.sidebar.border_right::after {
    content: "";
    top: 20px;
    right: 0px;
    height: 95%;
    position: absolute;
    margin: 0 auto;
    padding-right: 20px;
    border-right: 1px solid rgba(112, 112, 112, 0.38);
    padding-left: 20px;
}

.toggled-sidebar {
    transition: margin-left 1s;
    margin-left: 0px !important;
    top: 0px !important;
    overflow-y: scroll;
    padding-left: 30px;
    position: absolute;
    top: 0px;
    z-index: 10000;
    height: 100vh;
    bottom: 180px;
    background: white;
}

.toggled-sidebar .sidebar-close::after {
    font-family: FontAwesome;
    display: inline-block;
    content: "\f00d";
    position: absolute;
    top: 15px;
    color: white;
    right: 15px;
    z-index: 10000;
    padding: 2px 8px;
    background: var(--theme);
    border-radius: 30px;
}
.sidebar-menu ul li,
.last-activity ul li {
    list-style-type: none;
    line-height: 2.5;
    border-top: 1px solid rgba(112, 112, 112, 0.49);
    font-size: 14px;
}   
@media only screen and (min-width: 990px) and (max-width: 1400px) {
    .sidebar-menu ul li,
    .last-activity ul li {
        list-style-type: none;
        line-height: 2.5;
        border-top: 1px solid rgba(112, 112, 112, 0.49);
        font-size: 12px;
    }
}
.last-activity ul li span{
    font-size: 12px;
}

.sidebar-menu ul li a {
    color: #707070;
}

.sidebar-menu ul li a:hover,
.sidebar-menu ul li.active>a {
    color: var(--theme);
}

.toggled-sidebar+.main-content {
    margin-left: auto;
}

.sidebar-menu li.notification::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 10px;
    -moz-border-radius: 7.5px;
    -webkit-border-radius: 7.5px;
    border-radius: 7.5px;
    background-color: var(--theme);
}


/* Last activity */

.last-activity {
    transition: left 0.5s ease-in-out;
    left: calc(360px - 100vw);
}

.user_last_Activity:hover {
    cursor: pointer;
}

.rotate-down {
    transition: trasnform 0.5s ease-in-out;
    transform: rotateZ(90deg);
}

.toggled-last-activity {
    transition: left 0.5s ease-in-out;
    left: 0px !important;
}

.copyright {
    position: absolute;
    bottom: 7px;
    font-size: 12px;
}


/* Main Content */

.main-content {
    position: relative;
    top: 0px;
    overflow-x: scroll;
    -webkit-transition: padding-left .3s ease;
    transition: padding-left .3s ease;
    overflow-x: hidden;
}


/* Colors */

.bg-black {
    background-color: rgba(54, 54, 54, 1);
}

.text-black {
    color: #363636;
}

.bg-light-black {
    background-color: rgba(112, 112, 112, 0.56);
}

.text-light-black {
    color: #707070;
}

.bg-grey {
    background-color: rgba(167, 167, 167, 1);
}

.bg-light-grey {
    background-color: rgba(228, 228, 228, 1);
}

.bg-orange {
    background-color: var(--theme);
}

.text-orange {
    color: var(--theme);
}

.cursor-pointer{
    cursor:pointer;
}
.w-auto{
    width: auto;
}