﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.modal-footer {
    border-top: none !important;
}

#preloader {
    background-color: rgba(0,0,0,0.3) !important;
}

.modal .modal-header .btn-close {
    margin: 0 !important;
}

.datatable-icon {
    font-size: 1.5rem !important;
    font-weight: bolder !important;
}

.form-control,
input[type=checkbox]{
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important; 
}

input[disabled] {
    background-color: rgba(0,0,0,0.1) !important;
    cursor: not-allowed !important;
}

.choices[data-type="select-one"] .choices__list.choices__list--dropdown {
    /*height: calc(100vh - 500px);*/
}

    .choices[data-type="select-one"] .choices__list.choices__list--dropdown .choices__item {
        padding-right: 0px !important;
        padding-left: 20px !important;
    }

#modal-edit-ip .choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {
    max-height: 250px !important;
}

.jstree-icon.jstree-checkbox {
    background-image: none !important;
}

/*.jstree-anchor > .jstree-icon.jstree-checkbox::before {
    content: "\f146";
    font-family: "Line Awesome Free";
    font-size: 1.5em;
}

.jstree-anchor.jstree-clicked > .jstree-icon.jstree-checkbox::before {
    content: "\f14a";
    font-family: "Line Awesome Free";
    font-size: 1.5em;
}*/

.jstree-anchor > .jstree-icon.jstree-checkbox::before {
    content: "\f0c8";
    font-family: "Font Awesome 5 Free";
    font-size: 1.5em;
    font-style: normal;
}

.jstree-anchor.jstree-clicked > .jstree-icon.jstree-checkbox::before {
    content: "\f14a";
    font-family: "Font Awesome 5 Free";
    font-size: 1.5em;
    font-style: normal;
    color: forestgreen;
}

.jstree-icon.jstree-ocl {
    background-image: none !important;
}

.jstree-node.jstree-open > .jstree-icon.jstree-ocl::before {
    content: "\f0d9";
    font-family: "FontAwesome";
    font-size: 1em;
    font-style: normal;
}

.jstree-node.jstree-closed > .jstree-icon.jstree-ocl::before {
    content: "\f0d7";
    font-family: "FontAwesome";
    font-size: 1em;
    font-style: normal;
}

#dns-sync-list-modal .nav-link {
    text-align: left !important;
}

.dns-zone-sync-card.card.border,
.dns-sync-card.card.border {
    border-width: 2px !important;
    border-left-width: 8px !important;
}
    .dns-zone-sync-card.card.border input[type="checkbox"],
    .dns-sync-card.card.border input[type="checkbox"] {
        border: 2px solid rgba(0,0,0,0.2) !important;
    }

.dns-zone-sync-item {

}

    .dns-zone-sync-item button.nav-link {
        border-radius: 0 0.25rem 0.25rem 0;
    }

    #modal-sync-dns-account .nav-pills .nav-link.active,
    #modal-sync-dns-account .nav-pills .show > .nav-link {
        background-color: rgb(225 225 225) !important;
        color: #000 !important;
    }

    .dns-zone-sync-card.active {
        /*.dns-zone-sync-item.active .dns-zone-sync-item-checkbox-div {*/
        /*background-color: #438a7a;*/
        background-color: rgb(225 225 225) !important;
    }

    .dns-zone-sync-card /*.dns-zone-sync-item-checkbox-div,*/
    .dns-zone-sync-item .dns-zone-sync-item-checkbox-div {
        display: flex;
        background-color: transparent;
        height: 40px;
        align-items: center;
        justify-content: center;
        padding-left: 10px;
        margin-right: 10px;
        border-radius: 0.25rem 0 0 0.25rem;
    }
    
    .dns-zone-sync-item-checkbox-div input {
        margin: 0;
    }

.dns-sync-depos {
    max-height: calc(100vh - 320px);
    overflow-y: auto;
}

.dns-sync-card {
    cursor: pointer;
}

.logo.logo-dark img,
.logo-lg img {
    height: 100px;
}

.logo .logo-sm img {
    height: 70px !important;
}

.swal2-container .swal2-icon .swal2-success-line-tip {
    background-color: rgb(165,220,134) !important;
}

.swal2-container .swal2-icon .swal2-success-line-long {
    background-color: rgb(165,220,134) !important;
}

.swal2-container .swal2-icon .swal2-success-ring {
    border-color: rgb(165,220,134) !important;
}

div.validation-error input,
div.validation-error select {
    border: 2px solid firebrick;
    transition-duration: 0.2s;
}

div.validation-error::after {
    content: "This field is required!";
    font-size: .85rem;
    color: firebrick;
}

/*div.choices__inner {
    position: relative !important;
}

    div.choices__inner::before {
        content: "\f057";
        font-family: 'Line Awesome Free';
        position: absolute;
        right: 25px;
        top: 5px;
        font-size: 1.1rem;
    }*/

.clear-select {
    vertical-align: middle;
}
    .clear-select i {
        font-size: 1.1rem;
    }

#layout-wrapper .btn:focus {
    box-shadow: none !important;
}

.bg-white {
    background-color: #fff !important;
}

.bg-gray {
    background-color: #f5f5f5 !important;
}

#dashboard-content {
    display: grid;
    background-color: #fff;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 175px);
    align-items: center;
    grid-template-columns: auto;
    /*grid-template-rows: 10em 10em 10em 10em;*/
    grid-template-rows: minmax(35%, auto) 1fr;
    grid-auto-flow: row;
    column-gap: 0;
    row-gap: 7px;
}

.modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
}

.modal .select2-container--default .select2-selection--single {
    height: 42px !important;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
    border: 1px solid #e9ebec !important;
}

.modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px !important;
}

#modal-sync-external-dns-account #zones-list {
    overflow-y: auto;
    max-height: calc(100vh - 13rem);
}