/* @import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700"; */
@import "https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700";
body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    background: #fafafa;
}
body.modal-open {
    overflow: hidden;
    position:fixed;
    width: 100%;
    height: 100%;
}
p {
    font-family: 'Roboto', 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;
}
a.noclick       {
  pointer-events: none;
}
canvas {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;

}
.tooltip-inner {
    white-space: pre-wrap;
}

input[type=date]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    display: none;
}

.navbar {
    padding: 5px 10px;
    border: none;
    border-radius: 0;

    background-color: rgb(53,65,66) !important;
    margin-bottom: 0px;
    color: rgb(235,214,159);
    /*
    background: #fff;
    margin-bottom: 10px;
    */
}

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

 .badge-circle {
    height: 40px;
    min-width: 40px;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    -webkit-border-radius: 50%;
    border-radius: 50%
}
.badge-circle-sm {
    height: 28px;
    min-width: 28px;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    -webkit-border-radius: 50%;
    border-radius: 50%
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}
.filterItemSelect {
    background-color: #98FB98 !important;
}

.headerSortDown,
.headerSortUp {
  padding-right: 10px;
}
.headerSortDown:after,
.headerSortUp:after {
  content: ' ';
  position: relative;
  left: 0.5rem;
  border: 6px solid transparent;
    display: inline-flex;
}
.headerSortDown:after {
  bottom: 0.8rem; /* 1.4rem;*/
  border-bottom-color: rgba(0,0,0,0.7);
    clear: right;
}

.headerSortUp:after {
    top: 0; /* 1.3rem;*/
    border-top-color: rgba(0,0,0,0.7);
    clear: right;
}


/*---------- OPTILON specifics ---------*/
.dropdown-toggle[aria-expanded="true"]:after {
  transform: rotate(180deg);
}
button, .btn {
    border-radius: 0px !important;
}
button {
    border-style: solid !important;
}

.stdcolor {
    color: rgb(241,213,162) !important;
    border-color: rgb(241,213,162) !important;
}
#charttooltip{
        background: cornsilk;
        border: 1px solid black;
        border-radius: 5px;
        padding: 5px;
}
.h2rem {
    /* for bootsrap toggles */
    height: 2.0rem !important;
}

.bg-primary, .btn-primary, .badge-primary
{
    background-color: #004E78;
    border-color: #004E78;
    color: white;
}
.btn-primary:hover {
    background-color: #00679F;
}
.text-primary, .border-primary, .color-blue {
    color: #004E78;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #004E78;
}

.bg-success, .btn-success, .badge-success
{
    /*
    background-color: #005446;
    border-color: #005446;
    */
    background-color: #007E69; /* 10% of #005446 */
    border-color: #007e69;
/*
    background-color: #9BCABB;
    border-color: #9BCABB;
  */
/*
    background-color: #C3EFC3;
    border-color: #C3EFC3;
*/

    color: white;
}
.btn-success:hover {
    /*
    background-color: #A5CFC1;
    */
/*
    background-color: #C9F0C9;
    */
    background-color: #00A488; /* 10% of #007E69 */
}
.text-success, .border-success, .color-green {
    color: #007E69 !important;
}


.bg-optsuccess, .btn-optsuccess, .badge-optsuccess {
    background-color: #C3EFC3;
    /* background-color: #9BCABB; */
    color: #fff;
    border-color: #C3EFC3;
    /* border-color: #9BCABB; */
}
.btn-optsuccess:hover {
    /*lighten 10% */
    background-color: #C9F0C9;
    /* background-color: #A5CFC1; */
}

.bg-optdanger, .btn-optdanger, .badge-optdanger {
    background-color: #991F23;
    color: #fff;
    border-color: #991F23;
}
.btn-optdanger:hover {
    /*lighten 10% */
    background-color: #B42429;
}
.bg-danger, .btn-danger, .badge-danger {
    background-color: #991F23;
    color: #fff;
    border-color: #991F23;
}

.btn-danger:hover {
    /*lighten 10% */
    background-color: #B42429;
}

.colorred, .text-danger {
    color: #991F23 !important;
}

.bg-warning, .btn-warning, .badge-warning
{
    color: #212529;
    background-color: #F1D5A2;
    border-color: #F1D5A2;
}
.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    /*background-color: rgba(0,0,0,.03); */
    border-bottom: 1px solid rgba(0,0,0,.125);
    background-color: rgba(239, 233, 223, 0.3);
    /*background-color: #EFE9DF !important; */
}

.form-control.is-valid, .was-validated .form-control:valid {
    border-color: #C3EFC3;
    background-image: none;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #991F23;
}

/*----- THEMES -----*/
.bgtheme1 {
    background-color: rgb(53,65,66) !important;
    background: rgb(53,65,66) !important;
}
.bgspan1 {
    background-color: rgb(241,213,162) !important;
}
.color1 {
    color: rgb(241,213,162) !important;
}
.bgtheme2 {
    background-color: rgb(29,69,76) !important;
    background: rgb(29,69,76) !important;
}
.color2 {
    color: rgb(167,192,188) !important;
}
.bgspan2 {
    background-color: rgb(167,192,188) !important;
}
.bgtheme3 {
    background-color: rgb(33,82,70) !important;
    background: rgb(33,82,70) !important;
}
.color3 {
    color: rgb(143,195,184) !important;
}
.bgspan3 {
    background-color: rgb(143,195,184) !important;
}
.bgtheme4 {
    background-color: rgb(241,235,225) !important;
    background: rgb(241,235,225) !important;
}
.color4 {
    color: rgb(5,3,0) !important;
}
.bgspan4 {
    background-color: rgb(5,3,0) !important;
}
.bgtheme5 {
    background-color: rgb(202,210,209) !important;
    background: rgb(202,210,209) !important;
}
.color5 {
    color: rgb(5,3,0) !important;
}
.bgspan5 {
    background-color: rgb(5,3,0) !important;
}
.bgtheme6 {
    background-color: rgb(50,46,41) !important;
    background: rgb(50,46,41) !important;
}
.color6 {
    color: rgb(247,242,242) !important;
}
.bgspan6 {
    background-color: rgb(247,242,242) !important;
}
.bgtheme7 {
    background-color: rgb(29,69,76) !important;
    background-color: rgb(29,69,76) !important;
}
.color7 {
    color: rgb(241,235,225) !important;
}
.bgspan7 {
    background-color: rgb(241,235,225) !important;
}
.bgtheme8 {
    background-color: rgb(29,69,76) !important;
    background-color: rgb(29,69,76) !important;
}
.color8 {
    /*color: rgb(241,235,225) !important;*/
    color: rgb(241,213,162) !important;
}
.bgspan8 {
    /* background-color: rgb(241,235,225) !important; */
    background-color: rgb(241,213,162) !important;
}

.navbarbg8 {
    background: url(../images/Optilon-Linkedin-Cover-1536x768.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
}

.navbarbg {
    /*
    background: url(../images/Optilon-Linkedin-Cover-1536x768.png);
    */
    background: url(../images/BG_pattern2.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
}

.mainstamp {
    height: 7em;
    border-radius: 80px;
    width: 7em;
    margin-right: auto;
    margin-left: 3.5em;
    background: url(../images/Optilon-Linkedin-Logo-600x600_new.png);
    background-size: contain;
    background-repeat: no-repeat;
    content: '';
}

/*
.mainstamp {
    width: 21.3125rem;
    height: 23.3538rem;
    position: absolute;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
}
.mainstamp:after {
            width: 100%;
            height: 100%;
            position: absolute;
            background: url(/images/Optilon_Mark_POS.svg) no-repeat center center;
            content: '';
        }
.mainstamp .spin:after {
    -webkit-animation: spinY 5s infinite;
    animation: spinY 5s infinite;
}
*/
.logostamp {
    /*
    width: 30.3125rem;
    */
    width: 21.3125rem; /* Same as SideBar width */
    height: 23.3538rem; /*15.8125rem; */
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    right: 0;
    margin: auto;
}
.logostamp:after {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url(/images/Optilon_POS_logo.svg) no-repeat center center;
    /* background-size: cover; */
    content: '';
    -webkit-animation: spinY 5s infinite;
    animation: spinY 5s infinite;
}

@-webkit-keyframes spinX
{
            0%   {-webkit-transform: rotateX(0deg); -webkit-transform-origin: 0% 50% 0;}
            100% {-webkit-transform: rotateX(360deg); -webkit-transform-origin: 0% 50% 0;}
        }
@keyframes spinX
{
    0%   {transform: rotateX(0deg); transform-origin: 0% 50% 0;}
    100% {transform: rotateX(360deg); transform-origin: 0% 50% 0;}
}
@-webkit-keyframes spinY
{
    0% { -webkit-transform: rotateY(0deg); }
    100% { -webkit-transform: rotateY(360deg); }
    /*
    0%   {-webkit-transform: rotateY(0deg); -webkit-transform-origin: 0% 50% 0;}
    100% {-webkit-transform: rotateY(360deg); -webkit-transform-origin: 0% 50% 0;}
    */
}
@keyframes spinY
{
            0% { -webkit-transform: rotateY(0deg); }
            100% { -webkit-transform: rotateY(360deg); }
            /*
            0%   {transform: rotateY(0deg); transform-origin: 0% 50% 0;}
            100% {transform: rotateY(360deg); transform-origin: 0% 50% 0;}
            */
        }


/* -----------
    SPINNER
-----------------*/

lds-spinner {
  color: official;
  display: inline-block;
  /* position: relative; */
/*    float: right; */
  width: 16px;
  height: 16px;
}
.lds-spinner div {
  transform-origin: 12px 12px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 0px;
  left: 11px;
  width: 2px;
  height: 6px;
  border-radius: 20%;
  background: #000;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

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

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

#sidebar {
    width: 210px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 999;
    /* background: #7386D5;
    color: #fff; */
    transition: all 0.3s;
    background-color: rgb(53,65,66);
    overflow-y: hidden;
    overflow-x: hidden
    /*
    background-color: #ddd;
    background-image: linear-gradient(300deg, #ddd, #000);
    border-right: 1px solid #e4cdcd;
    */


    cursor: default;

}

    #sidebar.active {
        margin-left: -210px;
    }

    #sidebar .sidebar-header {
        padding: 20px;
        /* background: #6d7fcc; */
    }

    #sidebar ul.components {
        padding: 20px 0;
        /* border-bottom: 1px solid #47748b; */
    }
#sidemenu{
    height: -webkit-fill-available;
    overflow-x: hidden;
    overflow-y: overlay;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

#sidemenu::-webkit-scrollbar {
    width: 0px;  /* Remove scrollbar space */
    background: transparent;  /* Optional: just make scrollbar invisible */
}
#sidebar ul li, #sidebar ul li ul li {
    opacity: 0.9; background: inherit;

}
    #sidebar ul p {
        color: #fff;
        padding: 10px;
    }

    #sidebar ul li a, #sidebar ul li ul li a  {
        padding: 10px;
        font-size: 1.1em;
        display: block;
        /*
        color: #fff;
        */
        color: rgb(235,214,159);
        text-decoration: none;
    }

        #sidebar ul li a:hover {
            color: white;
            /* color: #7386D5; */
        }
        #sidebar ul li ul li a:hover {
            color: white;
            /* color: #7386D5; */
        }

    #sidebar ul li.active > a, #sidebar ul li ul li.active > a,
    a[aria-expanded="true"] {
        color: white;
            /* color: #7386D5; */

    }
.textoverlay {
    opacity: 0.7; background: inherit;
}
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: 1.0em !important;
    padding-left: 30px !important;
    background: inherit;
}

ul.CTAs {
    padding: 20px;
}

    ul.CTAs a {
        text-align: center;
        font-size: 1.0em !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;
}

#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: transparent;
    /*
    background: #f5f5f5;
    */
}

    #sidebarCollapse span {
        width: 80%;
        height: 2px;
        margin: 0 auto;
        display: block;
        background: rgb(235,214,159);
        /*
        background: #555;
        */
        transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    }
        #sidebarCollapse span:first-of-type {
            /* rotate first one */
            transform: rotate(45deg) translate(2px, 2px);
        }

        #sidebarCollapse span:nth-of-type(2) {
            /* second one is not visible */
            opacity: 0;
        }

        #sidebarCollapse span:last-of-type {
            /* rotate third one */
            transform: rotate(-45deg) translate(1px, -1px);
        }
    #sidebarCollapse.active span {
        /* no rotation */
        transform: none;
        /* all bars are visible */
        opacity: 1;
        margin: 5px auto;
    }
.form-control {
    font-size: 16px;
}
.select2-results__options{
        font-size:14px !important;
 }
.select2-selection_rendered {
  font-size: 14px;
}
.iContainer {
  overflow: scroll !important; -webkit-overflow-scrolling:touch !important;
}
.spanentrydate {
    width: 50px;
}
/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#content {
    width: calc(100% - 210px);
    padding: 0px 0px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0px;
    right: 0;
}

    #content.active {
        width: 100%;
    }


.inputHour {
    height: 35px;
    /*
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
    */
    font-size: 12px;
    font-weight: 500;
    /*width: 28px; */
    width: 36px; /*56px; */
    padding: 2px;
    padding-right: 2px;
    display: inline;
    text-align: center;
}

.inputMinute {
    height: 35px;
    font-weight: 500;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
    font-size: 12px;
    width: 28px;
    padding: 1px;
    padding-left: 2px;
    display: inline;
    text-align: left
}
.tdtimes {
    text-align: center;
}
#pills a{
    background: inherit;
    border-radius:  5px;
    -webkit-border-radius: 5 !important;
    -moz-border-radius: 5 !important;
    color: black;
    margin-right: 12px;
    padding-left: 5px;
    padding-right: 0px;
}
#pills a.active{
    background: inherit;
    border-bottom: 2px solid green !important;
    border-radius:  5px;
    -webkit-border-radius: 5 !important;
    -moz-border-radius: 5 !important
}
#imbrand {
    display: none;
    /*transform: translateX(-50%); */
    left: 20%;
    position: absolute;
}
#navstat {
    display: none;
    left: 40%;
    position: absolute;
}

.box:nth-child(odd) {
    background: rgb(248,248,248);
}
.box:nth-child(even) {
    background: rgb(255,255,255);
}
#logoheader {
        width: 160px;
        padding-top: 2.8em;
        margin-left: 1.2em;
    }


/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media (min-width: 768px){
    .inputHour {
        width: 56px;
    }
    .spanentrydate {
        width: 75px;
    }
    #logo {
        top: 5rem;
        position: relative;
    }
    #logoheader {
        width: 180px; padding-top: 0.7em;
        margin-left: 0px;
    }

}
@media (max-width: 768px) {
    body{
        font-size: 10px;
    }
    .form-control {
        font-size: 14px;
    }
    #logo { display: none;}

    .day { font-size: 18px !important;}
    .dayname { font-size: 12px !important;}
    .project{ padding: 6px !important;}
    .project span {font-size: 12px !important;}
    .weekmonthtable tr:first-child td:first-child{ min-width: 190px !important;}
    /*
    .table tr:first-child td:first-child{ min-width: 190px !important;}
    */

    #sidebar {
        margin-left: -210px;
        overflow-y: overlay;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* Internet Explorer 10+ */
    }

    #sidebar::-webkit-scrollbar {
        width: 0px;  /* Remove scrollbar space */
        background: transparent;  /* Optional: just make scrollbar invisible */
    }


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

    #content {
        width: 100%;
    }
    .badge-circle{ font-size: 1.3em !important;}


    #content.active {
        width: calc(100% - 210px);
    }

    /* Reversing the behavior of the bars:
       Removing the rotation from the first,
       last bars and reappear the second bar on default state,
       and giving them a vertical margin */
    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }

    #imbrand, #navstat {
        display: block;
    }

    /* Removing the vertical margin and make the first and last bars rotate again when the sidebar is open, hiding the second bar */
    #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);
        }
}
