/* Brand variables */
:root {
    --green: #3c7b41;
    --greenheader: #3c7b41e1;
    --greenhighlight: #3c7b41;
    --darkgreen: #274b2a;
    --softyellow: #f4f0b2;
    --whitecard: rgba(255, 255, 255, 0.95);
    --transparent-off-white: rgba(255, 255, 255, 0.7);
    --off-white: #eee;
    --white: #fff;
    --charcoal: #333;
    --black: #000;
    --transparent-charcoal: rgba(92, 90, 90, 0.4);
    --lightgrey: #bbb;
    --main-bg: #f0e8db;

    /* --bs-card-bg:  rgba(255, 255, 255, 0.7) !important; */
    /* --greenhover: #f0e8db; */
}


html, body {
    background-color: var(--main-bg) !important;
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    transition: opacity 0.7s ease-in;
  }

  body.fade-out {
    opacity: 0;
  }

  #progress-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--off-white);
    z-index: 9999;
  }

  #progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--green);
    transition: width 2.5s linear;
  }


.logocontainer {
    position: relative;
    width: 100%;
    height: 100vh;
}


@media (max-width: 768px) {
    .logo {
        position: absolute;
        width: 60%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@media (min-width: 769px) {
    .logo {
        position: absolute;
        width: 35%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

p {
    font-size: 16px;
}

.card,
.card-body,
.card-header {
    background-color: transparent !important;
}

@media (max-width: 800px) {
    .over-card {
        width: 100%;
        margin: -35px auto 0px auto !important;
    }
    .actionbutton {
        margin-top: 25px;
    }
}

@media (min-width: 801px) {
    .over-card {
        width: 100%;
        margin-top: clamp(-55px, -5vw, -180px);
        margin-left: auto  !important;
        margin-right: auto  !important;
    }
    .actionbutton {
        margin-top: -2px;
    }
}

.whitecard {
    background-color: var(--whitecard) !important;
}

.greenheader {
    background-color: var(--greenheader) !important;
}

.headerimage, .header, .card {
    width: 100%;
    border: solid 1px var(--lightgrey);
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative;
}

.hover-button {
    background-color: var(--white) !important;
    /* White */
    color: var(--darkgreen) !important;
    border: 1px solid var(--white) !important;
}

.hover-button:hover {
    background-color: var(--darkgreen) !important;
    /* Darker shade of green */
    color: var(--white) !important;
    transition: all 0.3s ease;
    /* Smooth transition */
}

nav {
    background-color: var(--main-bg) !important;
    color: var(--white) !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid var(--transparent-charcoal);
}

nav img {
 height: 70px !important;
 margin: -5px; 
}

@media (max-width: 800px) {
    nav .nav-item {
        width: 100% !important;
        border-right: 0;
        border-right: none;
        border-left: 0;
        border-left: none;
        border-bottom: solid 1px var(--charcoal);
    }
}

.small_banner {
    max-width: 50vw !important;
}

.lft1 {
    border-left: solid 1px var(--charcoal);
    height: 70px;
}

.lft {
    width: 150px !important;
    border-right: solid 1px var(--charcoal);
    height: 70px;
    padding-top: 15px;
    background-color: var(--main-bg);
    color: var(--black)!important;
    text-align: center;
}

.lft:hover,
.rhs:hover {
    background-color: var(--whitecard);
}

.rhs {
    width: 150px !important;
    border-right: solid 1px var(--charcoal);
    border-left: solid 1px var(--charcoal);
    height: 70px;
    padding-top: 15px;
    color: var(--white) !important;
    background-color: var(--main-bg);
    text-align: center;
}

.active {
    background: var(--transparent-off-white);
    font-weight: 800 !important;
}

@media (min-width: 1000px) {
    .overbanner {
        position: absolute;
        width: 300px;
        left: 5px;
        top: 5px;
        border: solid 2px var(--green) !important;
        font-size: 18px !important;
    }
}

@media (max-width: 999px) {
    .overbanner {
        display: none !important;
    }
}

/* ===================== Contact form rules =================== */
.contact_form {
    width: 80%;
    padding: 20px;
    background: var(--greenheader);
    color: var(--white) !important;
    font-family: sans-serif;
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 60px 60px var(--transparent-charcoal);
}

.contact_form .label {
    font-size: 16px;
    font-weight: 300;
    color: var(--white) !important;
    padding-top: 20px;
}

.field {
    width: 100%;
    line-height: 25px;
    font-size: 16px;
    font-weight: 300;
}

.texta {
    width: 100%;
    height: 200px;
    font-size: 16px;
    font-weight: 300;
}

.butn {
    font-size: 18px;
    background: var(--charcoal);
    color: var(--off-white);
    margin-top: 20px;
    padding: 5px;
}


/* ===================== Video rules =================== */
.header_title {
    padding: 5px 20px ;
    margin-bottom: 20px;
    background-color: var(--greenheader);
    color: var(--off-white);
    border-radius: 10px;
}

.video-container {
    position: relative;
    width: 100% !important;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
  }
  
  .video-container iframe {
    position: absolute;
    padding: 5px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .video_title {
    padding: 10px;
    border-top: 1px solid var(--charcoal);
    border-bottom: 1px solid var(--charcoal);
  }

/* =================== Admin rules ======================== */
div .art_cnt1, div .art_cnt2, div .art_cnt3{
	white-space: pre-wrap;
	text-align: left;
	height: 350px;
	width: 100%;
	overflow-y: scroll;
	border: solid var(--black) 1px;
	padding: 10px;
}

/* =================== Keyboard access ======================== */
 /* .item {
    display: inline-block;
    margin: 3px;
    cursor: pointer;
  }  */

.item:focus-visible , input.item:focus-visible   {
    outline: none !important; /* Remove default blue border */
    outline: 2px solid var(--lightgrey) !important; /* highlights the focused link */
    background-color: var(--softyellow);  /* optional: soft yellow background */
    border-radius: 4px;         /* optional: just makes it look nice */
}

.nav-link.item {
    padding: 21px 0px 20px 0px !important;
    margin-top: -12px !important;
}

.dropdown:hover, .dropdown .dropdown-item:hover {
    background-color: var(--lightgrey) !important;  
}

.dropdown:active, .dropdown .dropdown-item:active {
    background-color: var(--lightgrey) !important;  
}

 /* ========= USER MESSAGES ===========  */
 .message_bar{
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0px;
    z-index: 99;

    animation:message_bar 5s 1;
    -webkit-animation:message_bar 5s 1;
    animation-fill-mode: forwards;

    animation-delay:5.5s;
    -webkit-animation-delay:5.5s; /* Safari and Chrome */
    -webkit-animation-fill-mode: forwards;

  }

  @keyframes message_bar{
        from {opacity :1;}
        to {opacity :0;}
  }

  @-webkit-keyframes message_bar{
        from {opacity :1;}
        to {opacity :0;}
  }