﻿/**
    Default styles on ALT CRM 
    created date: 31.12.19
    table of contents
    1. Common
    2. Login
    3. Index pages
    4. Responsive
*/

:root {
    --linear-bg-color: linear-gradient(45deg, rgba(190,28,45,1) 0%, rgba(222,65,80,1) 100%);
    --linear-bg-color-hover: linear-gradient(45deg, rgb(212 41 59) 0%, rgb(247 95 109) 100%);
    --linear-button-color: linear-gradient(45deg, rgba(0,138,176,1) 0%, rgba(0,175,224,1) 100%);
    --common-box-shadow: 0 4px 10px 0 rgba(0,0,0,.14), 0 5px 5px -5px rgb(232, 232, 232);
    --common-red: #BE1C2D;
}
/*#region 1.Common*/
.flex-box {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    margin: 10px auto;
}
.flex-box .input-group {
    margin: 5px 10px 0px;
}
.class-management .btn-primary:not(.btn-send-message) {
    border: none;
    background: var(--linear-button-color);
    box-shadow: var(--common-box-shadow);
}
.class-management .btn-filter {
    border: none;
    background: #ddd;
    color: #333;
    margin-left: 5px;
}
.active-filter {
    background: var(--linear-button-color)!important;
    color: #fff!important;
    transition: .3s ease;
}
.class-management .tab-content {
    padding: 10px 0;
}
.scrollable-table {
    position: relative;
    margin: auto;
    width: 100%;
    overflow: auto;
}
.btn-linear-red, .btn-linear-red:active, .btn-linear-red:focus, .btn-linear-red:active:focus {
    border: none;
    color: #fff;
    background: var(--linear-bg-color);
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(244,67,54,.4);
    padding: 8px;
    text-transform: uppercase;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    outline: none;
}
    .btn-linear-red:hover {
        background: var(--linear-bg-color-hover);
    }
.btn-linear-gray {
    border: none;
    color: #fff;
    background: #989898;
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(0,0,0,.14);
    padding: 8px;
    text-transform: uppercase;
}
/*#endregion*/
/*#region 2. Login*/
.checkbox input[type=checkbox] {
    position: initial !important;
    margin-top: 0px;
    margin-left: 0px !important;
    vertical-align: middle;
    height: 16px;
}
.checkbox label, .radio label {
    min-height: 20px;
    padding-left: 5px!important;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 14px!important;
}
/*#endregion*/
/*#region 3. Index pages*/

/*#region Scheduling - Class Management*/
.class-management .nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #fff;
    background: var(--linear-bg-color);
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(244,67,54,.4);
    margin-right: 5px;
}
.class-management .nav-pills > li > a {
    border-radius: 3px;
    box-shadow: var(--common-box-shadow);
    margin-right: 5px;
    color: #333;
}
#table-classes .table-learner .table-child{
    border: none;
}
    #table-classes .table-learner .table-child {
        background: #f0fcff;
        width: auto;
    }
#table-classes .table-learner .table-child tbody {
    padding: 10px;
}
        #table-classes .table-learner .table-child tr td, #table-classes .table-learner .table-child tr th {
            padding: 3px;
        }
.class-arrange-button {
    padding-top:10px;
    padding-left: 10px;
}
.btn-remove-learner {
    padding: 4px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.428571429;
    text-align: center;
    width: 130px;
    min-width: 30px;
}
.btn-solid-danger {
    background-color: #ef4437;
    background-image: none;
    border-color: #ef4437;
    color: #fff;
}
/*#endregion*/
/*#region QC - Issue Support */
.issue-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.issue-content-done {
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}
@media screen and (max-width: 1024px){
    .page-header-section {
        margin-top: 5rem;
    }
}
@media screen and (max-width: 768px){
    .page-header-section h2 {
        margin: 1rem 0;
    }
    .issue-related-btn {
        margin: 10px 15px;
        text-align: right;
    }
        .issue-related-btn .float-right {
            float: none !important;
        }
    .dataTable {
        position: relative;
        display: block;
        width: 100%;
        height: 400px;
        overflow-x: scroll;
        overflow-y: hidden;
    }

        .dataTable tbody {
            position: relative;
            display: inline-block;
            height: 345px;
            overflow-y: scroll;
        }

        .dataTable tr th {
            width: 100% !important;
            min-width: 100px;
        }

        .dataTable tr td {
            width: 100% !important;
            min-width: 110px;
        }

        .dataTable .issue-content {
            max-width: 100px;
        }

    .issue-tab .table-responsive > .table > thead > tr > th {
        white-space: nowrap;
        max-width: 150px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    .tribe_combatant .tab-content {
        width: calc(100vw - 55px);
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
}

/*#endregion*/
/*#region 4. Responsive*/
@media screen and (max-width: 640px) {
    .page-header-section {
        margin-top: 0rem;
    }

    .scrollable-table {
        max-height: 500px;
        overflow:auto;
    }
    table#table-classes {
        position: relative;
        display: block;
        width: 100%;
        height: 400px;
        overflow-x: scroll;
        overflow-y: hidden;
    }

        table#table-classes tbody {
            position: relative;
            display: inline-block;
            height: 345px;
            overflow-y: scroll;
        }

        table#table-classes td, table#table-classes th {
            min-width: 100px;
        }
    #table-classes .td-learner{
        padding: 0px!important;
    }
    h2 {
        font-size: 24px;
    }
    .tabs-x ul.nav.nav-tabs {
        display: flex;
        /* justify-content: center; */
        width: 100%;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;
        padding: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/*#endregion*/