﻿html, body {
    font-family: Avenir Next, Helvetica Neue, helvetica, arial, sans-serif!important;
}

html {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    overflow: auto;
}

body {
    box-sizing:border-box;
    position:relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 0px;
    padding-top:60px;
    margin: 0px;
}

#headerDiv {
    position: fixed;
    top:0px;
    left:0px;
    width: 100%;
    height:60px;
    line-height:60px;
    color: #f8f8f8;
    background: rgb(0,86,87);
    z-index: 1;
    vertical-align:middle;
}

#logoDiv {
    display:inline-block;
    position:relative;
    background-image: url('../Images/rma-white-lockup.svg');
    background-size: contain;
    background-color: transparent;
    background-repeat: no-repeat;
    width: 20em;
    height: 60px;
    box-shadow: none;
    margin-left: 10px;
    margin-top: 10px;
}

#navDiv {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    width:auto;
    height: 60px;
    line-height: 60px;
    color: whitesmoke;
    font-size: 16px;
    font-weight: bold;
    text-align: right;
    padding: 0px !important;
    margin-right: 10px;
}

#aboutDiv {
    position: relative;
    width: 100%;
    height: 25px;
    padding-top: 60px;
    text-align: right;
}

#indexDiv {
    padding-bottom: 30px;    
    background-color: white;
}

.card {
    background-color: #eef0f1;
    border-radius: 0.375em !important;
    max-width: 30%;
    margin-top: 10px;
    padding: 1rem 1rem 3rem 1rem;
}

.hide {
    display: none;
}

.endo-btn {
    padding:10px;
    border-radius:5px;
    text-decoration:none;
    font-size:16px;
    font-weight:normal;

}

.endo-btn:visited {
    text-decoration: none;
    padding: 10px 10px;
    display: inline-block;
    border-radius: 5px;
    transition: all .2s;
    position: absolute;
    font-size: 12px;
}

.endo-btn:hover {
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.endo-btn:active {
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.endo-btn::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.endo-btn-usda {
    background-color: #005657;
    color: #ffff;
}

.endo-btn-usda::after {
    background-color: #005657;
}

.endo-list {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 15px;
}

.flex-wrapper {
    position:relative;
}

.flex-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background-color:white;
}

/* Responsive layout */
@media screen and (max-width: 800px) {
    .card {
        max-width: 100%;
        margin: 15px;
    }
}