/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css";

body {
    font-family: 'Poppins', sans-serif;
    background: #fafafa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.btn {
    color: #fff;
    background-color: #444D58;
    border-color: #444D58;
}

/* ---------------------------------------------------
    NAVBAR STYLE
----------------------------------------------------- */

.navbar {
    padding: 15px 10px;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #444D58;
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 230px;
    max-width: 230px;
    background: #444D58;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

#sidebar.active {
    margin-left: -230px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #444D58;
}

#sidebar ul.components {
    padding: 20px 0;
}

#sidebar ul p {
    color: #fff;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #444D58;
    background: #fff;
}

#sidebar ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #007bff;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    /*background: #f8f9fa;*/
    cursor: pointer;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}

#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}

#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}

#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}

#navbarLogo {
    float: right;
    max-width: 300px;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #444D58;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #444D58;
}

a.article, a.article:hover {
    background: #444D58 !important;
    color: #fff !important;
}

.logout:hover {
    cursor: pointer;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    background-color: white;
    transition: all 0.3s;
}

.pageCard {
    margin-bottom: 1.5rem;
    padding: 30px 30px 10px 30px;
}

input[type=date] {
    height: calc(2.25rem + 2px); 
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.required:after {
    content: "*";
    position: relative;
    font-size: inherit;
    color: #f64e60;
    padding-left: .25rem;
    font-weight: 700;
}

.btn-row {
    justify-content: space-between;
    padding: 0 15px;
}

.submit-btn {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.delete-btn {
    color: #fff;
    background-color: #f64e60;
    border-color: #f64e60;
}

#loginContainer {
    padding-top: 15%;
}

#loginInput {
    font-family: "Roboto", sans-serif;
    outline: 0;
    margin: 0 0 10px;
    padding: 20px;
    box-sizing: border-box;
    font-size: 30px;
}

#minuteInfoSection .form-check-label {
    display: inline;
}

textarea {
    min-width: 100%;
}

.white-bg {
    background-color: #fff;
}

/* ---------------------------------------------------
    DATATABLES
----------------------------------------------------- */

th, td {
    font-size: 12px;
}

td {
    word-wrap: break-word;
    max-width: 400px;
    vertical-align: middle !important;
}

.dt-buttons {
    display: inline-block !important;
}

.dataTables_filter {
    float: right;
}

.table-dropdown {
    position: relative;
    float: right;
    height: 30px;
    width: 100px;
    margin-bottom: -25px;
    z-index: 999 !important;
}

table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting {
    padding-right: 20px !important;
}

/* ---------------------------------------------------
    BACK TO TOP BUTTON
----------------------------------------------------- */

#backToTop {
    display: inline-block;
    background-color: #999;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    top: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    visibility: hidden;
    z-index: 1000;
    opacity: 0.8;
}

#backToTop::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #fff;
}

#backToTop:hover {
    cursor: pointer;
    background-color: #333;
}

#backToTop:active {
    background-color: #555;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

/* ---------------------------------------------------
    MEDIA QUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar {
        margin-left: -230px;
        transform: rotateY(90deg);
    }
    #sidebar.active {
        margin-left: 0;
        transform: none;
    }
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }
}
