﻿@import "../shared.css";
@import "lightslider.css";

.content-item img {
    max-width: 100%;
}

.card-img-top {
    width: 100%;
    height: 15vw;
    object-fit: cover;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
}

.content-item-group .card {
    margin-right: 8px;
    border-left-width: 1px !important;
    border-left-style: solid !important;
    border-left-color: rgba(0, 0, 0, 0.125) !important;
    border-radius: 4px !important;
}

.content-item-group .card:last-child {
    margin-right: 0px;
}

.accordion-item {
    margin-bottom: 15px !important;
    border-top-width: 1px !important;
    border-top-style: solid !important;
    border-top-color: rgba(0, 0, 0, 0.125) !important;
    border-radius: 4px !important;
}

.accordion-button:not(.collapsed) {
    color: var(--main-color) !important;
    background-color: #bfbad5 !important;
}

.accordion-button {
    font-weight: bold;
}

.accordion-button:focus {
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 0.25rem rgb(85 69 150 / 25%) !important;
}

.document-bg-image {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.height-250 {
    height: 250px;
}

.height-300 {
    height: 300px;
}

.height-350 {
    height: 350px;
}

.height-400 {
    height: 400px;
}

.height-450 {
    height: 450px;
}

.height-500 {
    height: 500px;
}

.centered {
    position: relative;
}

.centered > div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.content-item-group img {
    max-width: 100%;
}


.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.8); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content-div h3 {
    padding: 10px;
}

.modal-content-div {
    position: relative;
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    outline: 0;
    width: 100%;
    max-width: 700px;
    margin: auto;
    display: block;
}

.modal-content-carouselBtns {
    position: relative; 
    width: 100%;
    top:45px;
    max-width: 700px;
    margin: auto;

}

.pop-out-image img:hover {
    cursor: pointer;
}

/* The flip box container - set the width and height to whatever you want. (remove perspective if you don't want the 3D effect) */
.flip-box {
    background-color: transparent;
    width: 100%;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
    padding-bottom: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;

}

/* This container is needed to position the front and back side */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    border: 1px solid rgba(0,0,0,.125);
}

.flip-box-back {
    transform: rotateY(180deg);
}

/* this is the gap between cards */
.content-item-group .flip-box {
    margin-right: 30px;
}

.flip-box-group{
    height:100%;
}

@media (min-width: 576px) {
    .flip-box-group {
        display: flex;
    }
}

@media (max-width:980px) {
    .flip-box-group {
        display: block !important;
    }
}