﻿/* VARIABLES */



:root {
    
    
    --apple: #15b03d;
    
    --primaryhover: #1b971d;
    
    --darkGreenBorder: rgb(95, 119, 63);
    --lightGreenBackground: #adda73;
    --menuItemHover: #c6fa84;
}

body {
    /*padding-top: 50px;
    padding-bottom: 20px;*/
    font-family: sans-serif;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    /*padding-left: 15px;
    padding-right: 15px;*/
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* bar hover*/
.collapse-bar:hover {
    background-color: #bbee73;
}

/* general text styling*/
div {
    text-shadow: 0px 1px 0px #ffffff;
}

#menu-ctn:hover {
    box-shadow: 0 0 6px rgba(35, 173, 255, 1);
    border:1px solid #808080;
}



/* DEFAULT PROPERTIES */
*, *::before, *::after {
    box-sizing: border-box;
    /*font: 500 16pt Lato;*/
    font: 500 16pt;
    color: var(--textprimary);
    transition: 0.3s all;
    cursor: default;
}

/* CONTAINER PROPERTIES */


/* menu widget*/
#menu-ctn {
    
    
    margin: 0 8px;
    height: 40px;
    background: var(--primaryhover);
    width: 44px;
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
}

a {
    cursor: pointer;
}

#menu-panel {
    opacity: 0;
    transform: translate(16px, -10px) scale(0.7);
    background: #FFF;
    box-shadow: 1px 2px 1px #808080;
    visibility: hidden;
    display: inline-block;
    border: solid 1px black;
}

/* ELEMENT PROPERTIES */
.menu-bars {
    height: 4px;
    width: 30px;
    list-style: none;
    background: var(--snow);
    margin: 0 7px;
    position: relative;
    top: 18px;
    transition: 0.4s all ease-in;
    cursor: pointer;
}

.menu-item {
    list-style: none;
    text-decoration: none;
    z-index: 1;
    background: transparent;
    width: 100%;
    display: inline-block;
    border-width: 1px;
    border-style: solid;
    border-color: black;
    padding: 10px 0px;
    box-sizing: content-box;
}

a.item-link {
    list-style: none;
    text-decoration: none;
    z-index: 1;
    background: transparent;
    width: 100%;
    display: inline-block;
    box-sizing: content-box;
}

.hidden {
    display: none !important;
}

a.soc-link {
    padding: 5px 0px;
    display: inline;
    width: 100%;
    text-decoration: none;
}



hr {
    border: 0.5px solid var(--header);
}

.crossed {
    background: var(--redish);
}

.dropped {
    opacity: 1 !important;
    transform: translate(16px, -10px) !important;
    visibility: visible !important;
}

.menu-bars::before, .menu-bars::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 30px;
    list-style: none;
    background: var(--snow);
}

.menu-bars::before {
    transform: translateY(-10px);
}

.menu-bars::after {
    transform: translateY(10px);
}

.crossed::before {
    animation: rotate-top-bar 0.4s forwards;
}

.crossed::after {
    animation: rotate-bottom-bar 0.4s forwards;
}

.hamburger::before {
    animation: rotate-top-bar-2 0.4s reverse;
}

.hamburger::after {
    animation: rotate-bottom-bar-2 0.4s reverse;
    
}

/* EVENT HANDLERS */
.menu-item:hover, a.item-link:hover {
    color: var(--header);
}

a.soc-link:hover {
    background: var(--snow);
    box-shadow: 4px 0 0 var(--darkGreenBorder);
}

/* ANIMATION KEYFRAMES */
@keyframes rotate-top-bar {
    40% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0) rotate(45deg);
    }
}

@keyframes rotate-bottom-bar {
    40% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0) rotate(-45deg);
    }
}

@keyframes rotate-top-bar-2 {
    40% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0) rotate(45deg);
    }
}

@keyframes rotate-bottom-bar-2 {
    40% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(0) rotate(-45deg);
    }
}

.chevron::before {
    border-style: solid;
    border-width: 0.25em 0.25em 0 0;
    content: '';
    display: inline-block;
    height: 0.8em;
    left: 0.15em;
    position: relative;
    top: 0.15em;
    transform: rotate(-45deg);
    vertical-align: baseline;
    width: 0.8em;
    float: right;
    color: #8c92ac;
}

.chevron.right:before {
    left: 0;
    transform: rotate(45deg);
}

.chevron.bottom:before {
    top: 0;
    transform: rotate(135deg);
}
/* Take 2 */


nav.menu2 > ul {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

nav.menu2 a {
    display: block;
    padding: 3px 16px;
    text-decoration: none;
    color: black !important;
    padding-right:8px;
    font-weight: 500;
    font-size: larger;
    background-color: var(--lightGreenBackground);
    border-bottom: solid;
    border-bottom-color: var(--darkGreenBorder);
    border-bottom-width: 1px;
}

nav.menu2 ul {
    min-width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
    background-color: black;
    display: block;
}




nav.menu2 li.nested > ul {
    border-top-style: solid;
    border-top-color: var(--darkGreenBorder);
    border-top-width: 3px;
}

nav.menu2 a:hover {
    background: var(--menuItemHover);
}
/*ICONS*/

.plusicon {
    content: '';
    vertical-align: bottom;
    cursor: pointer;
    float: right;
    background-image: url(../img/add.svg);
    width: 1.2rem;
    height: 1.2rem;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: 0.15rem;
    padding: 0px 0.5rem 0.25rem 1.0rem;
}

.minusicon {
    content: '';
    vertical-align: bottom;
    cursor: pointer;
    float: right;
    background-image: url(../img/add-minus.svg);
    width: 1.2rem;
    height: 1.2rem;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    top: 0.15rem;
    padding: 0px 0.5rem 0.25rem 1.0rem;
}

.plusicon:hover {
    background-image: url(../img/add-h.svg);
}

.minusicon:hover {
    background-image: url(../img/add-minus-h.svg);
}


nav.menu2 span.minusicon{
    top:0.3rem !important;
}

nav.menu2 span.plusicon {
    top: 0.3rem !important;
}



.lefty {
    float: left !important;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}
.menu2 {
    position: unset;
}


@media (min-width: 576px) {

    .menu2 {
        position: absolute;
    }

    nav.menu2 ul {
        min-width: 150px;
    }
}