@font-face {
    font-family: "CircularStd";
    font-style: normal;
    font-weight: 400;
    src: local("Circular Std Book"), url("../fonts/CircularStd-Book.woff") format("woff");
}

@font-face {
    font-family: "CircularStd";
    font-style: italic;
    font-weight: 400;
    src: local("Circular Std Book Italic"), url("../fonts/CircularStd-BookItalic.woff") format("woff");
}

@font-face {
    font-family: "CircularStd";
    font-style: normal;
    font-weight: 500;
    src: local("Circular Std Medium"), url("../fonts/CircularStd-Medium.woff") format("woff");
}

@font-face {
    font-family: "CircularStd";
    font-style: italic;
    font-weight: 500;
    src: local("Circular Std Medium Italic"), url("../fonts/CircularStd-MediumItalic.woff") format("woff");
}

@font-face {
    font-family: "CircularStd";
    font-style: normal;
    font-weight: 600;
    src: local("Circular Std Bold"), url("../fonts/CircularStd-Bold.woff") format("woff");
}

@font-face {
    font-family: "CircularStd";
    font-style: italic;
    font-weight: 600;
    src: local("Circular Std Bold Italic"), url("../fonts/CircularStd-BoldItalic.woff") format("woff");
}

@font-face {
    font-family: "CircularStd";
    font-style: normal;
    font-weight: 800;
    src: local("Circular Std Black"), url("../fonts/CircularStd-Black.woff") format("woff");
}

@font-face {
    font-family: "CircularStd";
    font-style: italic;
    font-weight: 800;
    src: local("Circular Std Black Italic"), url("../fonts/CircularStd-BlackItalic.woff") format("woff");
}

@font-face {
    font-family: "Material Icons";
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/MaterialIcons-Regular.eot);
    /* For IE6-8 */
    src: local("Material Icons"), local("MaterialIcons-Regular"), url(../fonts/MaterialIcons-Regular.woff2) format("woff2"), url(../fonts/MaterialIcons-Regular.woff) format("woff"), url(../fonts/MaterialIcons-Regular.ttf) format("truetype");
}

html {
    height: 100%;
}

body {
    background-color: #e4f2ea !important;
    color: #455560;
    height: 100%;
    line-height: 1.5;
    overflow-x: hidden;
}

.img-contain {
    object-fit: contain;
}

.img-cover {
    object-fit: cover;
}

.btn-primary {
    background-color: #194A2C !important;
    border-color: #194A2C !important;
}

.bg-med-green {
    background-color: #77B536;
}

.bg-dark-green {
    background-color: #194A2C;
}

.messages {
    margin-right: -5rem !important;
}

.top-nav-search {
    margin-left: 25rem;
}

.logo-small .img-contain {
    width: 32px !important;
    height: 32px;
}

.hero img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.member-profile-cards .card img {
    height: 320px;
    width: 320px;
    object-fit: cover;
}

.glider-track {
    gap: 12px;
}

.add-member-container {
    --d: 5em;
    /* image size */
    --rel: 1;
    /* how much extra space we want between images, 1 = one image size */
    --r: calc(.5 * (1 + var(--rel)) * var(--d) / var(--tan));
    /* circle radius */
    --s: calc(2 * var(--r) + var(--d));
    /* container size */
    position: relative;
    width: 100%;
    height: var(--s);
    padding-top: 1rem;
}

.add-member-container a {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: calc(-.5 * var(--d));
    width: var(--d);
    height: var(--d);
    --az: calc(var(--i) * 1turn / var(--m));
    --ay: calc(-1 * var(--az));
    transform: rotate(var(--az)) translate(var(--r)) rotate(var(--ay));
}

.add-member-container a[data-toggle="modal"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*background-color: lightgrey;*/
    color: black;
    border-radius: 50%;
    text-align: center;
}

.add-member-container a img {
    object-fit: cover;
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.add-member-container a[data-toggle="modal"] p {
    display: inline-block;
    font-size: small;
}

img {
    max-width: 100%;
}

.photos-container img {
    width: 240px;
    height: 240px;
}

/*pic holder*/
.profile-pic-wrapper {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.profile-pic-wrapper .edit-icon {
    position: absolute;
    bottom: 20%;
    right: 40%;
    background: none;
    box-shadow: var(--bs-shadow);
    padding: 4px;
    border-radius: 4px;
    color: white !important;
}

.profile-pic-wrapper .edit-icon-alt {
    position: absolute;
    bottom: 20%;
    right: 25%;
    background: white;
    box-shadow: var(--bs-shadow);
    padding: 4px;
    border-radius: 4px;
}

.pic-holder {
    text-align: center;
    position: relative;
    border-radius: 50%;
    width: 108px;
    height: 108px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: var(--bs-shadow);
}

.pic-holder .pic {
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.pic-holder .upload-file-block, .pic-holder .upload-loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(90, 92, 105, 0.7);
    color: #f8f9fc;
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
}

.pic-holder:hover .upload-file-block, .pic-holder .uploadProfileInput:focus ~ .upload-file-block {
    opacity: 1;
}

.pic-holder:hover {
    cursor: pointer;
}

.pic-holder .uploadInProgress .upload-file-block {
    display: none;
}

.pic-holder .uploadInProgress .upload-loader {
    opacity: 1;
}

.early-life-card .list-group-item:hover, .early-life-card .list-group-item:focus {
    background-color: #e4f2ea !important;
}

.form-control, .form-select {
    border-bottom: 2.5px solid #194A2C;
}

.form-check-input:checked {
    background-color: #194A2C;
    border-color: #194A2C;
}

.fc-button {
    background-color: #77B536 !important;
}

.btn, .nav-link {
    text-transform: capitalize;
}

.nav-tabs .active {
    background-color: #194A2C !important;
    color: white !important;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .member-profile-cards .card img {
        height: 160px;
    }

    .add-member-container {
        --d: 4em;
        padding-top: 0;
        margin-top: -2em;
    }

    .add-member-container a {
        height: 27%;
    }

    .add-member-container a img {
        width: 48px;
        height: 48px;
    }

    .stats-container .card {
        text-align: center;
    }

    .stats-container .fs-5 {
        font-size: .65rem !important;
    }

    .photos-container img {
        width: 100%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .top-nav-search {
        margin-left: 10rem;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .top-nav-search {
        margin-left: 25rem;
    }

    .mini-sidebar .top-nav-search {
        margin-left: 30rem;
    }
}

@media only screen and (min-width: 1600px) {
    .top-nav-search {
        margin-left: 30rem;
    }

    .mini-sidebar .top-nav-search {
        margin-left: 35rem;
    }
}
