@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
@font-face {
    font-family: diebel;
    src: url(../fonts/diebel.woff);
}
html, body {
    background: #f2f3f8;
    color: #3d5170;
    font-size: 13px;
    font-family: 'Poppins', sans-serif;
    height: 100%;
}

.bg-gray {
    background: #f2f3f8;
}

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

/* ---------------------------------------------------
    ICONS STYLE
----------------------------------------------------- */
.feather {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.feather-sm {
  width: 13px;
  height: 13px;
}

.feather-md {
  width: 16px;
  height: 16px;
  vertical-align: text-top;
}

.feather-lg {
  width: 18px;
  height: 18px;
  vertical-align: text-top;
}

.feather-spin {
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

/* ---------------------------------------------------
    LOADER STYLE
----------------------------------------------------- */
/*#loader {*/
/*  border: 3px solid #f3f3f3;*/
/*  border-radius: 50%;*/
/*  border-top: 3px solid #17a2b8;*/
/*  width: 50px;*/
/*  height: 50px;*/
/*  -webkit-animation: spin 1.5s linear infinite;*/
/*  animation: spin 1.5s linear infinite;*/
/*}*/

/*@-webkit-keyframes spin {*/
/*  0% { -webkit-transform: rotate(0deg); }*/
/*  100% { -webkit-transform: rotate(360deg); }*/
/*}*/

/*@keyframes spin {*/
/*  0% { transform: rotate(0deg); }*/
/*  100% { transform: rotate(360deg); }*/
/*}*/

#loader-overlay {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0; 
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.3); /* Black background with opacity */
  z-index: 1200; /* Specify a stack order in case you're using a different order for other elements */
}

.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1201;
  margin: -40px 0 0 -40px;
  border: 10px solid #f3f3f3;
  border-radius: 50%;
  border-top: 10px solid #17a2b8;
  width: 80px;
  height: 80px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}


@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ---------------------------------------------------
    ALERT STYLE
----------------------------------------------------- */
.alert-messages{
    z-index: 1070;
}
.msg{
    display: none;
    height: 70px;
    line-height: 55px;
    vertical-align: middle;
}

/* ---------------------------------------------------
    LOGIN STYLE
----------------------------------------------------- */

.form-signin {
  width: 100%;
  max-width: 400px;
  padding: 15px;
  margin: 0 auto;
}

/* ---------------------------------------------------
    NAVBAR STYLE
----------------------------------------------------- */ 

.navbar {
    padding: 0;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.5);
}

.navbar-brand {
    height: 70px;
    width: 250px;
    padding: 4px 0 0 30px;
    background: #282a3c;
    color: #cfd2da;
    font-family: Diebel;
    font-size: 1.1rem;
    outline: none;
}
.navbar-brand:hover, .navbar-brand:focus {
    color: #fff;
}
.navbar-brand-logo {
    margin-right: 10px;
    margin-bottom: 5px;
}

.navbar-nav .dropdown-menu {
    position: absolute;
}

#navbarDropdown {
    font-size: 1.1rem;
    color: #3d5170;
    padding: 0 20px;
    height: 70px;
    outline: none;
}

#navbarDropdown:hover, #navbarDropdown:focus {
    color: #282a3c;
}

#navbarDropdown::after {
    display:none;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 250px;
    position: fixed;
    top: 70px;
    left: 0;
    bottom: 0;
    height: auto !important;
    z-index: 999;
    background: #2c2e3e;
}

#sidebar .sidebar-nav {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;

}

#sidebar.active {
    margin-left: 0;
}

#sidebar .sidebar-header {
    margin-top: 30px;
    padding: 12px 30px;
    font-style: italic;
    color: #9EA5B7;
}

#sidebar .nav {
    min-height: 100%;
    padding: 0;
}

#sidebar .nav-item {
    position: relative;
    margin: 0;
}

#sidebar .nav-title {
    margin: 20px 0 0 0;
    padding: 12px 30px;
    color: #51586a;
    font-size: .8rem;
}

#sidebar .nav-link {
    padding: 12px 30px;
    color: #9EA5B7;
    outline: none;
    font-size: 1.02rem;
}

#sidebar .nav-link .feather {
    margin-right: 10px;
    color: #51586a;
    width: 18px;
    height: 18px;
    vertical-align: text-top;
}

#sidebar .nav-link:hover {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    background-color: #292b3a;
}

#sidebar .nav-link:hover .feather {
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
    color: #9EA5B7;
}

#sidebar .nav-link.active {
    background-color: #292b3a;
    color: #fff;
}

#sidebar .nav-link.active .feather {
    color: #F6AA1C;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
}

#content {
    width: calc(100% - 250px);
    padding: 30px;
    min-height: calc(100% - 70px);
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 70px;
}

.card-small {
    box-shadow: 0 2px 0 rgba(90,97,105,.11),0 4px 8px rgba(90,97,105,.12),0 10px 10px rgba(90,97,105,.06),0 7px 70px rgba(90,97,105,.1);
    background-color: #fff;
    border: none;
    border-radius: 0;
}

.card-header {
    padding: 0 1.25rem;
    height: 4.1rem;
    border-bottom: 1px solid #ebedf2;
}

.card-title {
    font-size: 1.1rem;
    margin: 0;
}


/* ---------------------------------------------------
    DATATABLE
----------------------------------------------------- */
.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(163, 183, 214, 0.1);
}
.table-hover tbody tr:hover {
    background-color: rgba(163, 183, 214, 0.15);
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
}

/*.dataTables_wrapper .dataTable {*/
/*    width: 100% !important;*/
/*    border-collapse: initial !important;*/
/*    border-spacing: 0 !important;*/
/*    margin: 1rem 0 !important;*/
/*}*/

.dataTables_wrapper .dataTables_paginate .pagination .page-item {
    margin-left: 0.4rem;
}

.dataTables_wrapper .dataTables_paginate .pagination .page-item > .page-link {

    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -moz-justify-content: center;
    -ms-justify-content: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    vertical-align: middle;
    height: 2.25rem;
    min-width: 2.25rem;
    vertical-align: middle;
    padding: 0.5rem;
    text-align: center;
    position: relative;
    font-size: 1rem;
    line-height: 1rem;
    font-weight: 400;
    border: none;
}

.dataTables_wrapper .pagination .page-item > .page-link {
    color: #3d5170;
    border: 0;
}

.dataTables_paginate .pagination > li > .page-link:focus {
    box-shadow: none;
}

.dataTables_wrapper .pagination .page-item.active > .page-link {
    background: #17a2b8;
    color: #fff;
}

.dataTables_wrapper .text-right .dataTables_filter, .dataTables_wrapper .text-left .dataTables_filter {
    display: inline-block;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 180px !Important;
}

#departmentTable_info {
    padding-top: 0.50em;
}

.dataTables_wrapper .pagination .page-item.previous > .page-link, .dataTables_wrapper .pagination .page-item.next > .page-link, .dataTables_wrapper .pagination .page-item.last > .page-link, .dataTables_wrapper .pagination .page-item.first > .page-link {
    background: #ebe9f2;
}

.dataTables_wrapper .pagination .page-item.disabled > .page-link, .dataTables_wrapper .pagination .page-item.disabled:hover > .page-link {
    opacity: .6;
    filter: alpha(opacity=60);
}
.dataTables_wrapper .pagination .page-item:hover > .page-link {
    background: #17a2b8;
    color: #fff;
}

.dataTables_wrapper .dataTables_processing {
    background: none;
    border: none;
}

.table td {
    vertical-align: middle;
    font-weight: 300;
}

.feather-pill {
    line-height: 0;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 13px;
    height: 13px;
}

.btn-pill {
    border-radius: 60px;
}

.btn-icon {
    display: inline-block;
    position: relative;
    padding: 0 !important;
    width: 28px;
    height: 28px;
}

.update {
    color: #17a2b8 !important;
}

.update:hover {
    color: #fff !important;
    background-color: #17a2b8 !important;
}

.delete {
    color: #dc3545 !important;
}

.delete:hover {
    color: #fff !important;
    background-color: #dc3545 !important;
}

.view {
    color: #F6AA1C !important;
}

.view:hover {
    color: #fff !important;
    background-color: #F6AA1C !important;
}

.assoc {
    color: #3d5170 !important;
}

.assoc:hover {
    color: #fff !important;
    background-color: #3d5170 !important;
}

table.dataTable.dtr-column > tbody > tr > td.control::before, table.dataTable.dtr-column > tbody > tr > th.control::before {
    height: auto;
    width: auto;
    margin-top: 0;
    margin-left: 0;
    color: #3d5170;
    border: none;
    box-shadow: none;
    background-color: transparent;
    position: static;
    font-family: inherit;
    font-size: 20px;
    line-height: inherit;
}

.control {
    height: 28px;
    width: 28px;
}

table.dataTable.dtr-column > tbody > tr.parent td.control::before, table.dataTable.dtr-column > tbody > tr.parent th.control::before {
    content: '-';
    background-color: transparent;
}

.dot{
    margin-right: 10px;
    height: 10px;
    width: 10px;
    display: inline-block;
    border-radius: 100%;
}

.delete-field:hover, .delete-choice:hover {
    color: #dc3545 !important;
}

.delete-field:focus, .delete-choice:focus {
    box-shadow: none;
}

.dt-checkboxes{
    vertical-align: middle;
}

/* ---------------------------------------------------
    FORMS
----------------------------------------------------- */

#form .card:hover {
    /*box-shadow: 0 2px 0 rgba(90,97,105,.11),0 4px 8px rgba(90,97,105,.12),0 10px 10px rgba(90,97,105,.06),0 7px 70px rgba(90,97,105,.1);*/
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.30), 0 1px 3px 1px rgba(60,64,67,0.15);
    cursor: move;
}

#form .choices li:hover {
    background-color: rgba(163, 183, 214, 0.3) !important;
    cursor: move;
}

.field {
    /*box-shadow: 0px 1px 4px 0px rgba(0,0,0,0.3);*/
    /*border-radius: 0;*/
    border: 1px solid #dadce0;
}

#form .choices {
    background: #f2f3f8;
    border: 1px solid #ddd;
}

#form .choices li:nth-child(even) {
    background-color: rgba(163, 183, 214, 0.1);
}


/*Image form container*/
.img-form {
    object-fit: cover;
    width:100%;
    height: 5vw;
}

.img-form1 {
    
    width:100%;
}





/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    
    /*Navbar*/
    .navbar {
        background: #282a3c;
    }
    .navbar-brand {
        width: auto;
        padding: 0;
        margin: 0;
        background: transparent;
    }
    .navbar-brand img {
        display: none;
    }
    #navbarToggler {
        font-size: 1.1em;
        color: #cfd2da;
        padding: 0 20px;
        height: 70px;
        outline: none;
    }
    #navbarToggler:hover, #navbarToggler:focus {
        color: #fff;
    }
    
    #navbarDropdown {
        color: #cfd2da;
    }
    #navbarDropdown:hover, #navbarDropdown:focus {
        color: #fff;
    }
    
    /*Sidebar*/
    #sidebar {
        margin-left: -250px;
        transition: all 0.3s;
    }

    #sidebarCollapse span {
        display: none;
    }
    .overlay.active {
        display: block;
        opacity: 1;
    }
    
    /*Content*/
    #content {
    padding: 20px;
    width: 100%;
    }
    
    /*Datatable*/
    .dataTables_wrapper .dataTables_paginate .pagination {
        -moz-justify-content: center !important;
        -ms-justify-content: center !important;
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }
    
    div.dataTables_wrapper div.dataTables_length, div.dataTables_wrapper div.dataTables_filter, div.dataTables_wrapper div.dataTables_info, div.dataTables_wrapper div.dataTables_paginate {
        text-align: center;
    }
    
    .dataTables_wrapper .dataTables_paginate .pagination .page-item:first-child {
        margin-left: 0 !important;
    }
    
    /*Image form container*/
    .img-form {
        height: 10vw;
    }
}