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;
  /*font-family:Roboto,sans-serif;*/
}

/*tab navigation*/
.login-logout-card .card-header {
    padding: 0px 0px 12px 0px;
}

.login-logout-card ul.nav-tabs {
    margin: 0px 0px -12px 0px;
}

.login-logout-card li.nav-item {
    width: 50%;
}

.login-logout-card a.nav-link {
    font-size: 1rem;
    color: #495057;
    text-align: center;
    padding: 1rem;
}

.login-logout-card .card-body {
    padding: 10px 20px;
}


/*tabs*/
/*.columns {
    min-height: 60vh;
}*/

.tabs-wrapper {
    display: flex;
}

.tabs {
    flex-grow: 2;
    min-width: 30%;
    margin-right: 30px;
}

    .tabs ul {
        display: block;
        text-align: left;
        border-bottom-color: transparent !important;
    }

        .tabs ul li {
            display: block;
        }

            .tabs ul li.is-active a {
                border-right-color: #3273dc;
            }

            .tabs ul li a {
                display: block;
                border-bottom-color: transparent !important;
                border-right: 2px solid #dbdbdb;
            }

.content-wrap .tab-content {
    padding-top: 12px;
    display: none;
/*    animation: fadeInLeft 0.5s;*/
}

    .content-wrap .tab-content.is-active {
        display: block;
    }

@-webkit-keyframes fadeInLeft {
    from {
        -webkit-transform: translate3d(20px, 0, 0);
        transform: translate3d(20px, 0, 0);
        opacity: 0;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        -webkit-transform: translate3d(20px, 0, 0);
        transform: translate3d(20px, 0, 0);
        opacity: 0;
    }

    to {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.fadeInLeft {
    opacity: 0;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}


/*breadcrumb*/
nav.breadcrumb {
    padding: 0.8em 1em;
    border: 1px solid hsl(0deg 0% 90%);
    border-radius: 4px;
    background: hsl(300deg 14% 97%);
    width: 100%;
}

    nav.breadcrumb ol {
        margin: 0;
        padding-left: 0;
        list-style: none;
    }

    nav.breadcrumb li {
        display: flex;
    }

        nav.breadcrumb li + li::before {
            display: inline-block;
            margin: 0 0.25em;
            transform: rotate(15deg);
            border-right: 0.1em solid currentColor;
            height: 0.8em;
            content: "";
        }

    nav.breadcrumb [aria-current="page"] {
        color: #000;
        font-weight: 700;
        text-decoration: none;
    }

.showmore-button {
    cursor: pointer;
    background-color: #2d374b;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    padding: 7px 5px 5px 5px;
    margin-top: 5px;
    border-color: #2d374b;
}

/* custom button for crop selection*/
.btn-aof {
    color: #242C1B;
    background: url(/assets/img/patterns/breadcrumbsAOF.png) repeat;
    /*background: rgba(255, 218, 93, .97);*/
    border-color: #242C1B;
    border-radius: 5px;
}

    .btn-aof:focus,
    .btn-aof.focus {
        color: #242C1B;
        background-color: #ffda5d;
        border-color: #242C1B;
    }

    .btn-aof:hover {
        color: #242C1B;
        background-color: #ffda5d;
        border-color: #fff;
        transition: all 0.3s ease-in-out;
        border-radius: 5px;
    }

    .btn-aof:active,
    .btn-aof.active,
    .open > .dropdown-toggle.btn-aof {
        color: #242C1B;
        background-color: #ffda5d;
        border-color: #fff;
    }

        .btn-aof:active:hover,
        .btn-aof.active:hover,
        .open > .dropdown-toggle.btn-aof:hover,
        .btn-aof:active:focus,
        .btn-aof.active:focus,
        .open > .dropdown-toggle.btn-aof:focus,
        .btn-aof:active.focus,
        .btn-aof.active.focus,
        .open > .dropdown-toggle.btn-aof.focus {
            color: #242C1B;
            background-color: #204d74;
            border-color: #122b40;
        }

    .btn-aof:active,
    .open > .dropdown-toggle.btn-aof {
        background-image: none;
    }

    .btn-aof.disabled:hover,
    .btn-aof[disabled]:hover,
    fieldset[disabled] .btn-aof:hover,
    .btn-aof.disabled:focus,
    .btn-aof[disabled]:focus,
    fieldset[disabled] .btn-aof:focus,
    .btn-aof.disabled.focus,
    .btn-aof[disabled].focus,
    fieldset[disabled] .btn-aof.focus {
        background-color: rgba(255, 218, 93, .97);
        border-color: #2e6da4;
    }

    .btn-aof .badge {
        color: rgba(255, 218, 93, .97);
        background-color: #fff;
    }

p::selection {
    background-color: #ffda5d;
}


/* custom auto complete */


.ui-menu .ui-menu-item {
    margin: 0;
    cursor: pointer;
    color: black;
    list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
}

.ui-autocomplete > li {
    padding: 3px 20px;
}

.ui-widget-content {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #333333;
}

.ui-widget {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
}

.ui-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    outline: 0;
}

.ui-autocomplete {
    position: absolute;
    top: 0;
    left: 0;
    cursor: default;
}

.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: rgba(39, 39, 39, .97);
    /* background-color: #ffffff; */
    border: 1px solid #ccc -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.ui-widget-content {
    border: 1px solid #dddddd;
    background: #ffffff;
    color: #white;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #2d374b !important;
    font-weight: bold !important;
    color: #ffffff !important;
}


/* Container: Full width, height = 75% of video's aspect ratio height */
.video-container {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: calc(100vw * (9/16) * 0.75); /* For 16:9 video: 75% of (width * 9/16) */
    overflow: hidden;
    background: #000;
}

    /* Video: Covers entire container, preserves ratio, crops excess */
    .video-container video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* Key: Scales and crops to fill without distortion */
        object-position: center top; /* Adjust crop focus: top crops bottom, center for middle */
    }

/* Ensure no extra space below - force body to fit */
/*body {
    display: flex;
    flex-direction: column;
}*/

/* Mobile-specific tweaks */
@media (max-width: 768px) {
    .video-container {
        height: calc(100vw * (9/16) * 0.75); /* Reinforces for portrait */
    }
    /* Handle tall mobiles: Limit max height to avoid overflow gaps */
    .video-container {
        max-height: 75vh; /* Caps at 75% viewport height if needed */
    }
}

/* Overlay content */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
}

/* Wrapper that receives the negative padding */
.col--shrink {
    padding-left: 0.5rem; /* reduce left side */
    padding-right: 0.5rem; /* reduce right side */
}

/* Inner container that restores normal spacing for content */
.col--inner {
    background: inherit;
    padding: 1rem;
    margin-left: -0.5rem; /* counteract the outer negative left */
    margin-right: -0.5rem; /* counteract the outer negative right */
    border: inherit;
}


/*POPOVER*/
/*.popover {
    color: #242C1B;
    background: url(/assets/img/patterns/breadcrumbsAOF.png) repeat;
    border-color: #242C1B;
    border-radius: 5px;
}

.popover-header {
    background: #2d374b;
}

.popover-body {
    color: #2d374b;
}

.popover.bs-popover-top .popover-arrow:after {
    border-top-color: #2d374b;
}

.popover.bs-popover-end .popover-arrow:after {
    border-right-color: #2d374b;
}

.popover.bs-popover-bottom .popover-arrow:after {
    border-bottom-color: #2d374b;
}

.popover.bs-popover-start .popover-arrow:after {
    border-left-color: #2d374b;
}*/