/* Fonts */
@font-face {
    font-family: 'Montserrat Medium';
    src: url(/css/webfonts/Montserrat-Medium.ttf);
}
@font-face {
    font-family: 'Montserrat Regular';
    src: url(/css/webfonts/Montserrat-Regular.ttf);
}
@font-face {
    font-family: 'Montserrat Semibold';
    src: url(/css/webfonts/Montserrat-SemiBold.ttf);
}
@font-face {
    font-family: 'Montserrat Bold';
    src: url(/css/webfonts/Montserrat-Bold.ttf);
}



/* Variables */
:root {
    --sidebar-width-px: 245px;
    --site-max-width: 100%;
}
@media (max-width: 1200px) {
    :root {
        --sidebar-width-px: 205px;
    }
}

html {
    font-size: 14px;
    height: 100%;
    margin: 0;
}
body {
    height: 100%;
    margin: 0;
    background-color: #F1F3F9;
    color: #172B4D;
    font-family: 'Montserrat Regular', sans-serif;
}
@media (min-width: 768px) {
    body {
        margin-left: 0px; /* sidebar width */
    }
}


/* Sidebar */
div#sidebar {
    display: none;
    background-color: #fff;
    text-align: center;
}
@media (min-width: 768px) {
    div#sidebar {
        position: fixed;
        left: 0px;
        width: var(--sidebar-width-px); /* sidebar width */
        right: auto;
        bottom: 0px;
        top: 0px;
        z-index: 1000;
        display: block;
    }
}
div#sidebar-logo {
    width: var(--sidebar-width-px); /* sidebar width */
    height: 80px;
    background: #fff;
    vertical-align: middle;
    display: table-cell;
    text-align: left;
    padding-left: 20px;
    font-family: 'Montserrat Bold';
}
div#sidebar-logo img {
    width: 40px;
}
div#sidebar-logo a {
    color: #172B4D;
    text-decoration: none;
}
div#sidebar ul li.nav-item a.nav-link span {
    vertical-align: bottom;
    display: inline-block;
    margin-left: 6px;
}
div#sidebar ul.nav li a.nav-link {
    color: #172B4D;
    font-size: 1em;
    border-radius: 0.4em;
    transition: background-color .2s;
}
div#sidebar ul.nav li a.nav-link.active {
    font-weight: bold;
}
div#sidebar ul.nav li a.nav-link.active,
div#sidebar ul.nav li a.nav-link:hover {
    color: #172B4D;
    background-color: #F6F9FC;
}


/* Background extension */
div#background-extension {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 420px;
    background: #162b4d;
    z-index: -1;
}
div#background-extension-main-container {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 329px;
    background: #162b4d;
    z-index: -1;
}

/* Container */
div#main-container {
    max-width: var(--site-max-width);
    position: relative;
}


/* Header */
header#header-medium {
    background: #172B4D;
    max-width: var(--site-max-width);
}
header#header-medium div#user-avatar-header {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    color: #172B4D;
    font-size: 20px;
    vertical-align: middle;
    background: #48d8f2;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
header#header-small {
    background: #172B4D;
}

/* Navbar */
nav.navbar {
    background-color: #fff !important;
}
nav.navbar ul.navbar-nav {
    font-size: 1em;
    font-weight: bold;
}
nav.navbar ul.navbar-nav li.nav-item.active {
    background-color: #F6F9FC;
}
div#navigation-user-menu {
    min-width: 230px;
    box-shadow: 0px 2px 6px #2C28281C;
}
div#navigation-user-menu i.fas {
    display: inline-block;
    width: 30px;
}
header#header-medium button#navigation-user-menu-button {
    background-color: #162b4d;
    border: 0;
}


/* Breadcrumb */
div#breadcrumb-container {
    color: #fff;
    padding: 0 1.5rem;
    height: 30px;
}
div#breadcrumb-container a {
    color: #fff;
}
div#breadcrumb-container-small {
    background-color: #162b4d;
    color: #fff;
}
div#breadcrumb-container-small a {
    color: #fff;
}

#wrapper {
    min-height: 100%;
    margin-bottom: -300px;
}
@media (min-width: 768px) {
    #wrapper {
        margin-left: var(--sidebar-width-px); /* sidebar width */
    }
}


/* footer */
.push,
footer {
    height: 300px;
}
footer {
    background: #009AA6;
    color: #fff;
}
footer > div {
    max-width: var(--site-max-width);
}
@media (min-width: 768px) {
    footer {
        margin-left: var(--sidebar-width-px); /* sidebar width */
    }
}
footer a,
footer a:hover{
    color: #fff;
}



/* Page loading indicator */
div.loading-indicator-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 99999;
    background: rgba(255,255,255,0.8);
}
div.loading-indicator-spinner {
    position: absolute;
    width: 100%;
    top: 40%;
    font-size: 4em;
    text-align: center;
    color: #cc52c2;
}
.f-blur-2px {
    filter: blur(2px);
}



/* Custom checkboxes */
/* Customize the label (the container) */
.cb-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 1em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 27px;
    padding-top: 4px;
}

/* Hide the browser's default checkbox */
.cb-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    /*height: 0;*/
    /*width: 0;*/
    left: 8px;
    top: 14px;
}

/* Create a custom checkbox */
.cb-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 27px;
    width: 27px;
    background-color: #fff;
    box-shadow: 0px 3px 8px #00000021;
    border-radius: 0.35rem;
}

/* On mouse-over, add a grey background color */
.cb-container.focus input ~ .cb-checkmark,
.cb-container:hover input ~ .cb-checkmark {
    background-color: #fff;
    border: solid 2px #3B86FF;
}

/* When the checkbox is checked, add a blue background */
.cb-container input:checked ~ .cb-checkmark {
    background-color: #ffffff;
    border: solid 2px #3B86FF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.cb-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.cb-container input:checked ~ .cb-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.cb-container .cb-checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #3B86FF;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Sticky alert top */
div.sticky-alert-top {
    position: sticky;
    top: 20px;
    z-index: 10;
}

/* Fix for datatable header when narrow screen */
div.datatable-card {
    margin-bottom: -46px;
}

/* Login form inputs white background color */
form#user-login-form .form-control,
form#user-register-form .form-control {
    background-color: #fff;
}


/* Status tags */
span.statustag div.status-circle {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 5px;
    margin-right: 10px;
}
@media (max-width: 1200px) {
    span.statustag div.status-circle {
        margin-right: 5px;
    }
}
span.statustag.status-reserved div.status-circle {
    background: #F53C56;
}
span.statustag.status-available div.status-circle {
    background: #2DCE98;
}
span.statustag.status-service div.status-circle {
    background: #11CDEF;
}
span.statustag.status-removed div.status-circle {
    background: #707070;
}


/* File drag & drop */
#bootstrap-override-1 div.file-input .btn {
    padding: .375rem .75rem;
}
#bootstrap-override-1 div.file-input .form-control {
    padding: .375rem .75rem;
}


/* Userinfo container */
div#user-settings-userinfo-container,
div#environment-settings-environmentsettings-container {
    border-right: 1px solid #dee2e6;
    height: 100%;
    text-align: center;
}
@media (max-width: 991px) {
    div#user-settings-userinfo-container,
    div#environment-settings-environmentsettings-container {
        border-right: 0;
        border-bottom: 1px solid #dee2e6;
    }
}
div#user-settings-userinfo-container div[data-user-name],
div#environment-settings-environmentsettings-container div[data-environment-name] {
    font-size: 2em;
    font-weight: bold;
}
div#user-settings-userinfo-container div[data-user-title],
div#environment-settings-environmentsettings-container div[data-user-title] {
    font-size: 1.3em;
    font-weight: bold;
}
div#user-settings-userinfo-container div[data-user-avatar],
div#environment-settings-environmentsettings-container div[data-environment-avatar] {
    width: 150px;
    height: 150px;
    border-radius: 75px;
    border: solid 2px #fff;
    margin: auto;
    box-shadow: 0px 3px 6px -1px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
div#user-settings-userinfo-container div[data-user-avatar] > div,
div#environment-settings-environmentsettings-container div[data-environment-avatar] > div {
    width: 150px;
    height: 150px;
    border-radius: 75px;
    background: rgba(255,255,255,0.9);
    position: absolute;
    top: -2px;
    left: -2px;
    line-height: 150px;
    font-weight: bold;
    opacity: 0;
    transition: opacity .3s;
}
div#user-settings-userinfo-container div[data-user-avatar]:hover > div,
div#environment-settings-environmentsettings-container div[data-environment-avatar]:hover > div {
    opacity: 1;
}
div#user-settings-userinfo-container div[data-user-avatar] > img,
div#environment-settings-environmentsettings-container div[data-environment-avatar] > img {
    max-width: 150px;
}


/* Hide templates */
.template {
    display: none!important;
}

/* Make text non selectable */
.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/* Make element non clickable */
.no-pointer-events {
    pointer-events: none;
}



/* Loading animations */
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #172B4D;
}
.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;
    }
}


.tool-image-thumbnail {
    max-width: 100%;
    max-height: 180px;
}


.info-box {
    background: #fff;
    border-radius: 0.75em;
    box-shadow: 0px 3px 17px #2C28281C;
}
.info-box-title {
    text-transform: uppercase;
    color: #8898AA;
    font-weight: bold;
    font-size: 0.9em;
}
.info-box-value {
    font-size: 1.4em;
}
.info-box-icon {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    text-align: center;
}
.info-box-icon.tools,
.info-box-icon.users {
    background-color: #2DCE98;
}
.info-box-icon.service {
    background-color: #7764E4;
}
.info-box-icon.usage {
    background-color: #11CDEF;
}
.info-box-icon svg {
    position: absolute;
    left: 12px;
    top: 12px;
    stroke: #fff;
}
.info-box .percentage {
    color: #2DCE98;
}
