/* ---------------------------------------------------
    GENERAL
----------------------------------------------------- */
@media print {
    html, body * {
        display: none !important;
    }
}

.has-icon .form-control {
    padding-left: 2.375rem;
}

.has-icon .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #9E9C9C;
}

.modal-full {
    min-width: 95%;
}

#debug-status {
  font-size: 0.7em;
  text-align: center;
  color: green;
  display: none;
}

.modal-backdrop {
    display: none;
}

.modal {
    background: rgba(0, 0, 0, 0.5);
}

.site {
	display: flex;
	min-height: 100vh;
	flex-direction: column;
}
.site-content {
	flex: 1;
}

/* General */
#navbar-logo {
	width: 150px !important;
	height: auto;
}

.dropdown:not(.nav-item):not(.static-dropdown)>.dropdown-menu {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: 0.3s all ease-in-out;
}
.dropdown:not(.nav-item):not(.static-dropdown):hover>.dropdown-menu {
    margin-top: -1px;
    display: block;
}

.dropdown:not(.nav-item):not(.static-dropdown)>.dropdown-toggle:active {
    pointer-events: none;
}

#navbarDropdown::first-letter {
    text-transform: uppercase;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #d5f0dc !important;
    color: #16181B !important;
}

.slogan {
	font-size: 14px;
	color: #fff;
	font-weight: normal;
	margin-bottom: 0;
	padding-top: 1px;
	padding-bottom: 1px;
}

.nopadding {
    padding: 0 !important;
}

.clear {
    clear: both;
}

.not-allowed {
    cursor: not-allowed;
}

.hidden, #menu-toggle {
    display: none;
}

#main a:link:not(.buttons-columnVisibility),
#main a:active:not(.buttons-columnVisibility),
#main a:visited:not(.buttons-columnVisibility) {
    color: #0F5BA1;
    text-decoration: none;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
/*
img a:focus {
	color: transparent;
	outline: 0;
	border: none;
	-moz-outline-style: none;
}

a:hover, a.text-primary:hover, a.text-primary:focus {
    color: #ef4e4a !important;
} */

.fa-size-140 {
	font-size: 140%;
}

.fa-rotate-90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
}

.red {
	color: #C9302C;
}

.red-bg {
	background: #C9302C;
}

.green {
    color: #4CAF50;
}

.green-bg {
    background: #4CAF50;
}

.navbar-custom {
	padding-top: 20px;
	padding-bottom: 20px;
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #888888;
    /*background-color: rgba(0,0,0,0.5);*/
    z-index: 2;
    cursor: pointer;
}

#spinner-holder {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

#spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

/* ---------------------------------------------------
    SIDEBAR
----------------------------------------------------- */
body {
    overflow-x: hidden;
}

.modal-open{overflow:auto;padding-right:0 !important;}

#wrapper {
    /*display: none;*/
    width: 100%;
    height: 100%;
    position: relative;
}

.navbar-z {
    z-index: 10;
}

#sidebar-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    /*min-height: 100vh;*/
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: -15rem;
    -webkit-transition: margin .25s ease-out;
    -moz-transition: margin .25s ease-out;
    -o-transition: margin .25s ease-out;
    transition: margin .25s ease-out;
}

#sidebar-wrapper .sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 1.2rem;
}

#sidebar-wrapper .list-group {
    width: 15rem;
}

#page-content-wrapper {
    width: calc(100% - 240px) !important;
    position: absolute;
    top: 0;
    right: 0;
    transition: all 0.3s;
}

#page-content-wrapper.active {
    width: 100% !important;
}

#wrapper.toggled #sidebar-wrapper {
    margin-left: 0;
}

#sidebar-inner ul.active {
    display: block;
}

#sidebar-inner ul {
    display: none;
    margin: 0;
}

/*#sidebar-inner ul li a:hover {
    background: #DAE0E5 !important;
}*/

#sidebar-inner ul li a:hover:not(.bg-active) {
    background: #f0f2f4 !important;
}

.bg-active {
    background: #DAE0E5 !important;
    border-left: 4px solid #889baa !important;
}

a.bg-light:hover {
    background: #f0f2f4 !important;
}

@media (min-width: 768px) {
    #sidebar-wrapper {
        margin-left: 0;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100%;
    }

    #wrapper.toggled #sidebar-wrapper {
        margin-left: -15rem;
    }
}

@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -240px;
    }

    #page-content-wrapper {
        min-width: 0;
        width: 100% !important;
    }

    #page-content-wrapper.active {
        width: calc(100% - 240px) !important;
    }
}

@media (max-width: 771px) {
    #menu-toggle {
        display: block;
    }
}

.sidebar-sub-icon {
    padding-right: 8px;
}

/* ---------------------------------------------------
    FOOTER
----------------------------------------------------- */
footer {
	margin-top: 20px;
	padding-top: 20px;
	background: #EAE6EC;
}

.footer-copyright {
	font-size: 12px;
	color: #43464f;
}

#footer-logo {
	width: 164px;
	height: 34px;
	margin-top: 10px;
}

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

::placeholder { /* Firefox, Chrome, Opera */
    color: #C8C8C8 !important;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #C8C8C8 !important;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #C8C8C8 !important;
}

.custom-card {
    border-top: none;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.my-form {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.my-form .row {
    margin-left: 0;
    margin-right: 0;
}

.login-form {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.login-form .row {
    margin-left: 0;
    margin-right: 0;
}

#select_customer_holder {
    padding-right: 10px;
}

#select_customer_holder #select_customer {
    width: 300px;
}


#select_customer_holder .select2-container {
    max-width: 300px !important;
}
/*

#select_customer {
    width:100%!important;
    margin-left: 20px;
}

#select_customer .select2-container {
    width:100%!important;
}
#select_customer .select2-container .select2-search input[type="text"] {
    padding:2px 4%!important;
    width:90%!important;
    margin:5px 2%;
}
#select_customer .select2-container .select2-drop {
    width: 100%!important;
}*/


.select2-container--bootstrap4 .select2-selection {
    font-size: 0.8rem;
}

.select2-container--bootstrap4 .select2-results__option {
    font-size: 0.8rem;
}

.select2-selection__choice {
    font-size: 100% !important;
    background-color: #e4e4e4 !important;
    border: 1px solid #aaa !important;
    border-radius: 4px !important;
    cursor: default !important;
    float: left !important;
    margin-right: 5px !important;
    padding: 5px 10px !important;
}
.select2-selection__choice__remove {
    color: #999 !important;
    cursor: pointer !important;
    display: inline-block !important;
    font-weight: bold !important;
    margin-right: 5px !important;
}
.select2-selection__choice__remove:hover {
      color: #333 !important;
}

.select2-container--bootstrap4 .select2-results__option[aria-selected=true]:not([id^="select2-select_customer-result"]) {
  background-color: #D3D3D3;
  color: #16181b;
  text-decoration: line-through;
}

#select2-select_customer-results {

}

#modalShowLicense, #modalEditGlobalPerson, #modalEditAttribute, #modalShowBackupCredential, #modalAddTemplate, #modalAddAttribute, #modalAddSubnet {
    z-index: 9999;
}

#modalAddLocation {
  z-index: 99999;
}

.swal2-container {
    z-index: 999999 !important;
}

.select2-container--open {
    z-index: 9999999
}

.select2-archived-selected {
    opacity:0.5;
}

#customer_overview tr > td:last-of-type, #customer_overview tr > td:nth-last-child(2), *[id*="location_overview"] tr > td:last-of-type,
*[id*="location_overview"] tr > td:nth-last-child(2), #activate_user_overview tr > td:last-of-type, *[id*="intern_contact_overview"] tr > td:last-of-type,
*[id*="intern_contact_overview"] tr > td:nth-last-child(2), #user_overview tr > td:last-of-type, #user_overview tr > td:nth-last-child(2), 
*[id*="extern_contact_overview"] tr > td:last-of-type, *[id*="extern_contact_overview"] tr > td:nth-last-child(2),
*[id*="extern_contact_overview"] tr > td:nth-last-child(3), #extern_contact_contacts_overview tr > td:last-of-type,
#extern_global_company_overview tr > td:last-of-type, #extern_global_company_overview tr > td:nth-last-child(2),
#extern_global_company_overview tr > td:nth-last-child(3), #extern_global_company_overview tr > td:nth-last-child(4),
#global_person_overview tr > td:last-of-type, #global_person_overview tr > td:nth-last-child(2),
*[id*="credentials_overview"] tr > td:last-of-type, *[id*="credentials_overview"] tr > td:nth-last-child(2), *[id*="credentials_overview"] tr > td:nth-last-child(4),
#template_overview tr > td:last-of-type, #template_overview tr > td:nth-last-child(2),
#attributes_overview tr > td:last-of-type, #attributes_overview tr > td:nth-last-child(2), #attribute_archive_overview tr > td:last-of-type,
*[id*="device_overview"] tr > td:last-of-type, *[id*="device_overview"] tr > td:nth-last-child(2),
*[id*="backup_overview"] tr > td:last-of-type, *[id*="backup_overview"] tr > td:nth-last-child(2),
*[id*="license_overview"] tr > td:last-of-type, *[id*="license_overview"] tr > td:nth-last-child(2),
*[id*="domain_overview"] tr > td:last-of-type, *[id*="domain_overview"] tr > td:nth-last-child(2),
#firewall_overview tr > td:last-of-type, #firewall_overview tr > td:nth-last-child(2),
*[id*="dsl_overview"] tr > td:last-of-type, *[id*="dsl_overview"] tr > td:nth-last-child(2),
*[id*="subnet_overview"] tr > td:last-of-type, *[id*="subnet_overview"] tr > td:nth-last-child(2),
#device_ip_overview tr > td:last-of-type, #device_ip_overview tr > td:nth-last-child(2), #device_ip_overview tr > td:nth-last-child(3),
*[id*="dhcp_overview"] tr > td:last-of-type, *[id*="dhcp_overview"] tr > td:nth-last-child(2),
*[id*="wifis_overview"] tr > td:last-of-type, *[id*="wifis_overview"] tr > td:nth-last-child(2),
*[id*="faq_overview"] tr > td:last-of-type, *[id*="faq_overview"] tr > td:nth-last-child(2),
#subfolder_overview tr > td:last-of-type, #search_files_overview tr > td:last-of-type, #modal_subfolder_overview tr > td:last-of-type,
#add_license_overview tr > td:last-of-type, #edit_license_overview tr > td:last-of-type 
/**[id^='search_device_overview_'] tr > td:last-of-type*/ {
    text-align: center;
    width: 60px !important;
}

.fixed-th-width {
    width: 60px !important;
}

#add_ip_mac, #edit_ip_mac {
    text-transform: uppercase;
}

.funkyradio div {
  clear: both;
  overflow: hidden;
}

.funkyradio label {
  width: 100%;
  border-radius: 3px;
  border: 1px solid #D1D3D4;
  font-weight: normal;
}

.funkyradio input[type="radio"]:empty,
.funkyradio input[type="checkbox"]:empty {
  display: none;
}

.funkyradio input[type="radio"]:empty ~ label,
.funkyradio input[type="checkbox"]:empty ~ label {
  position: relative;
  line-height: 2.5em;
  text-indent: 3.25em;
  margin-top: 1em;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.funkyradio input[type="radio"]:empty ~ label:before,
.funkyradio input[type="checkbox"]:empty ~ label:before {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  content: '';
  width: 2.5em;
  background: #D1D3D4;
  border-radius: 3px 0 0 3px;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label {
  color: #888;
}

.funkyradio input[type="radio"]:hover:not(:checked) ~ label:before,
.funkyradio input[type="checkbox"]:hover:not(:checked) ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #C2C2C2;
}

.funkyradio input[type="radio"]:checked ~ label,
.funkyradio input[type="checkbox"]:checked ~ label {
  color: #777;
}

.funkyradio input[type="radio"]:checked ~ label:before,
.funkyradio input[type="checkbox"]:checked ~ label:before {
  content: '\2714';
  text-indent: .9em;
  color: #333;
  background-color: #ccc;
}

.funkyradio input[type="radio"]:focus ~ label:before,
.funkyradio input[type="checkbox"]:focus ~ label:before {
  box-shadow: 0 0 0 3px #999;
}

.funkyradio-default input[type="radio"]:checked ~ label:before,
.funkyradio-default input[type="checkbox"]:checked ~ label:before {
  color: #333;
  background-color: #ccc;
}

.funkyradio-primary input[type="radio"]:checked ~ label:before,
.funkyradio-primary input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #337ab7;
}

.funkyradio-success input[type="radio"]:checked ~ label:before,
.funkyradio-success input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5cb85c;
}

.funkyradio-danger input[type="radio"]:checked ~ label:before,
.funkyradio-danger input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #d9534f;
}

.funkyradio-warning input[type="radio"]:checked ~ label:before,
.funkyradio-warning input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #f0ad4e;
}

.funkyradio-info input[type="radio"]:checked ~ label:before,
.funkyradio-info input[type="checkbox"]:checked ~ label:before {
  color: #fff;
  background-color: #5bc0de;
}


/* ---------------------------------------------------
    DATATABLES STYLE
----------------------------------------------------- */
table.dataTable tbody td {
    word-break: break-word;
    vertical-align: top;
    white-space: normal !important;
}
.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    color: #FFF !important;
    background-color: #C9302C !important;
    border-color: #C9302C !important;
}
.pagination > li > a, .pagination > li > span {
    color: #C9302C !important;
    border: 1px solid #ddd;
}

.add-device {
    font-size: 90% !important;
}

.border-right {
    border-right: 1px solid #ddd;
}

.btn-input {
    border: 1px solid #ced4da !important;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.valid {
    background: #218838;
    color: #fff;
}

.soon {
    background: #E0A800;
    color: #fff;
}

.expired {
    background: #C82333;
    color: #fff;
}

.default_warrenty {
    background: #fff;
    color: #495057;
}

/* ---------------------------------------------------
    Bootstrap Tabs
----------------------------------------------------- */
.list-group .list-netzteile a:focus {
    color: transparent;
    outline: 0;
    border: none;
    -moz-outline-style: none;
}

.list-netzteile .list-group-item {
    border: none;
    border-radius: 0;
    border-left: 3px solid #faeeed;
}

.list-netzteile .list-group-item.active {
    z-index: 2;
    color: #0F5BA1;
    background-color: #faeeed;
    border-left: 3px solid #C9302C;
}

/* ---------------------------------------------------
    File upload
----------------------------------------------------- */

#drop_file_zone {
    background-color: #EEE;
    border: #999 2px dashed;
    border-radius: 2px;
    width: 100%;
    height: 250px;
    padding: 8px;
    padding-top: 60px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}
#drag_upload_file {
    width:50%;
    margin:0 auto;
}
#drag_upload_file p {
    text-align: center;
}
#drag_upload_file #selectfile {
    display: none;
}

#drop_file_zone * {pointer-events: none;}

.change-preview, .dog, .image-upload, .document-upload {
    float: left;
    box-sizing: border-box;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 0;
    margin: 5px 3px;
    border: 1px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.change-preview:hover, .dog:hover, .image-upload:hover, .document-upload:hover {
    border: 1px solid #aaa;
    background-color: #fff;
}

.image-upload a, .document-upload a {
    color: #000 !important;
}

.notransition {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    -ms-transition: none !important;
    transition: none !important;
}