@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700,900);

body {
    font-family: 'MontSerrat', sans-serif;
    font-size: 0.95em;
    text-rendering: optimizeLegibility;
    background: #fafafa;
}

p {
    font-family: 'MontSerrat', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
}

.board-message {
    font-size: 0.95em;
    font-weight: 300;
    line-height: 1.5em;
}

.bg-third {
    background-color: #35425C !important;
}

.user-area {
    text-decoration: underline !important;
}

li > a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

a.btn {
    text-decoration: none;
}

th > a, a:hover, a:focus {
    text-decoration: none;
    color: inherit;
}

.gelatine {
    animation: gelatine 0.5s infinite;
}
@keyframes gelatine {
    from, to { transform: scale(2, 2); }
    25% { transform: scale(0.9, 1.1); }
    50% { transform: scale(1.1, 0.9); }
    75% { transform: scale(0.95, 1.05); }
}

.select2 {
    width: 100% !important;
}

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow,
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}

.select2-results span[has-rule="true"] {
    color: green;
}

.select2-results span[has-rule="false"] {
    color: red;
}

.navbar {
    padding: 15px 10px;
    background: #22242A;
    border: none;
    border-radius: 0;
    margin-bottom: 40px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.rounded-form {
    background: #E6E6E6;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, 0.15);
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */
.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}

#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #35425C;
    color: #fff;
    transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
    transform-origin: bottom left;
}

#logo {
    min-width: 250px;
    max-width: 250px;
    color: #fff;
}

#sidebar.active {
    margin-left: -250px;
    transform: rotateY(100deg);
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #22242A;
}

#sidebar ul.components {
    padding: 20px 0;
    /* border-bottom: 1px solid #47748b; */
}

#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: #7386D5;
    background: #fff;
}

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: #6d7fcc;
}

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: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

.content-wrapper {
    position: sticky;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.content-wrapper::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

.sticky-top {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    overflow-y: hidden;
}

.centered {
    left: 0;
    margin-top: -200px;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 100%;
}

.centered-form {
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
    height: auto;
    margin: 0;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    margin-bottom: 40px;
}

#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;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    /* Set the fixed height of the footer here */
    line-height: 40px;
    /* Vertically center the text there */
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media ( max-width: 768px) {
    #sidebar {
        margin-left: -250px;
        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);
    }

    #footer {
        transform: rotateY(-90deg);
    }
}

/* ---------------------------------------------------
    LOGIN PAGE
----------------------------------------------------- */
.form-login {
    max-width: 330px;
    margin: 200px auto 0;
    background: #fff;
    border-radius: 5px;
    -webkit-border-radius: 5px;
}

.form-login h2.form-login-heading {
    margin: 0;
    padding: 25px 20px;
    text-align: center;
    background: #2F323A;
    border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 300;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
}

.login-wrap {
    padding: 20px;
}

.login-wrap .registration {
    text-align: center;
}

/* ---------------------------------------------------
    TABLE
----------------------------------------------------- */
a {
    color: #0074D9;
    text-decoration: underline;
}

td.bg-success > a,
td.bg-danger > a {
    color: #ffffff;
    text-decoration: underline;
}

.link-a {
    color: #0074D9;
    text-decoration: underline;
}

.select2-selection {
    border: 1px solid #ced4da !important;
}

.blank_row {
    height: 10px !important; /* overwrites any other rules */
    background-color: #FFFFFF;
}

.trimText {
    overflow: hidden;
    text-overflow: ellipsis
}

.quarter-td {
    width: 25%;
}

table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child:before,
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child:before {
    top: 6px !important;
    line-height: 15px;
}

.table {
    margin-bottom: 0.5rem; !important;
}

.table-bordered td, .table-bordered th {
    vertical-align: middle;
}

/* ---------------------------------------------------
    JQUERY
----------------------------------------------------- */
.ui-autocomplete {
    max-height: 100px;
    overflow-y: auto;
    overflow-x: hidden;
}

.select2-container .select2-selection--single {
    height: 38px;
}

.select2-selection--single > .select2-selection__rendered {
    line-height: 38px !important;
}

.select2-selection--single > .select2-selection__arrow {
    height: 38px !important;
}

.select2-hidden-accessible {
    top: 70px;
}

/* ---------------------------------------------------
    BOOTSTRAP FILEINPUT
----------------------------------------------------- */
.theme-explorer .file-details-cell {
    margin-left: 5px;
}

.fileinput-remove {
    margin-top: 5px;
}

/* ---------------------------------------------------
    BUTTONS
----------------------------------------------------- */

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:visited {
    background-color: #6D7FCC !important;
    border-color: #6D7FCC !important;
}

.btn-secondary, .btn-secondary:hover, .btn-secondary:active, .btn-secondary:visited {
    background-color: #34445B !important;
    border-color: #34445B !important;
}

.btn-info, .btn-info:hover, .btn-info:active, .btn-info:visited {
    background-color: #5C677B !important;
    border-color: #5C677B !important;
}

