/* #### Generated By: http://font.download #### 

@font-face {
    font-family: 'Ageya Regular';
    font-style: normal;
    font-weight: normal;
    src: local('Ageya Regular'), url('AgeyaRegular-2O2YK.woff') format('woff');
    }*/
* {
    box-sizing: border-box;
}

* a:focus {
    text-decoration: underline;
}

html,
body {
    display: flex;
    height: 100vh;
    font-family: "Raleway", sans-serif;
    color: rgb(65, 90, 119);
    flex-direction: column;
    position: relative;
    min-width: 0;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    /* align-items: center;*/
    transition: all 0.3s ease-in-out;
}

button {
    position: relative;
    z-index: 1000;
    /*ensure c-t-a buttons are useable and in top layer on ALL screens sizes*/
}

.header,
.footer,
.navbar-logo {
    /*allow to shrink and grow*/
    flex: 0 1 auto;
}

main {
    /*takes remainder or space avaible*/
    flex: 1 1 auto;
    /*makes content scrollable if it overflows
    overflow-y:auto;*/
}

@media (max-width:768px) {

    .container,
    .col-8,
    .col-10 {
        width: 100%;
        margin-left: 5;
        margin-right: 5;
    }
}

.navbar-logo {
    display: flex;
    flex-wrap: wrap;
    margin: 0px;
    padding-left: 15px;
    padding-bottom: 10px;
    max-width: 15%;
}

.navbar-collapse {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /*min-height: 40px;*/
    height: auto;
    width: 100%;
    justify-content: space-between;
    margin: 0;
    margin-top: auto;
    background-color: rgb(65, 90, 119, 0.65);
    border: 1px solid rgb(65, 90, 119);
    border-radius: 5px;
    flex: 1 1 auto;
}

.navbar-nav {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5em;
    font-stretch: extra-expanded;
    justify-content: space-evenly;
    width: 800px;
}

.navbar-nav a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px;
    margin: 10px;
    text-transform: uppercase;
    color: rgb(213, 215, 209);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    border-radius: 5px;
    color: rgb(65, 90, 119) !important;

}

.navbar-nav a:visited {
    color: rgb(194, 186, 165);
}

.navbar-nav a:hover {
    background-color: rgb(170, 62, 5, 0.75);
    color: rgb(194, 186, 165);
    border-radius: 5px;
    text-decoration: none;
}

.navbar-nav a:focus {
    text-decoration: underline;
}

.navbar-nav a:active {
    background-color: rgb(65, 90, 119);

}

.navbar-toggler {
    background-color: rgb(156, 133, 103);
}


@media (max-width: 768px) {
    .navbar-logo {
        max-width: 30%;
    }

    .navbar-nav {
        font-size: 1.2em;
        width: 100%;
        flex: 0 0 100%;

    }

    .nabar-nav a {
        padding: 15px;
        margin: 5px;
    }
}

@media(max-width: 412px) {

    .navbar-collapse,
    .footer {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .navbar-nav {
        font-size: 1em;
    }

    .navbar-nav a {
        padding: 10px;
        margin: 5px;
    }
}

body {
    flex-grow: 1;

}


.spacer {
    height: 60px;
}

.spacer2 {
    height: 100px;
}


.spacer3 {
    height: 180px;
    display: block;
    width: 100%;
}

.spacer4 {
    height: 20px;
}


#contact,
#main-article {
    font-family: "Raleway", sans-serif;
    color: rgb(65, 90, 119);
    font-weight: 400;
    font-size: 1.2em;
    background: rgba(213, 215, 209, 0.65);
    padding: 25px;
    margin: 15px;
    border-radius: 10px;
    text-align: justify;
}

#main-article p {
    padding-left: 25px;
    padding-right: 25px;

}

.article-img {
    padding: 1px;
    margin: 1px;
    float: inline-end;
    width: 30%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.card {
    background-color: rgb(213, 215, 209);
}

.card-title {
    font-family: "Lora", sans-serif;
    font-size: 1.8em;
    min-height: 100px;
    text-align: center;
    padding: 15px;
    /*margin: 1px;*/
    color: rgb(156, 133, 103);
    text-transform: capitalize;
    width: 100%;

}

.card-body {
    font-family: "Raleway", sans-serif;
    color: rgb(65, 90, 119);
}

h1 {
    font-family: "Ageya Regular", sans-serif;
    color: rgb(156, 133, 103);
    text-shadow: 0.5px 1px 1px rgb(156, 133, 103);
    font-size: 1.8rem;
    text-transform: capitalize;
    text-align: center;

}

h2 {
    font-family: "Ageya Regular", sans-serif;
    color: rgb(213, 215, 209);
    text-shadow: 2px 1px 1px rgb(156, 133, 103);
    font-size: 2em;
    text-align: center;
    background-color: rgb(65, 90, 119, 0.5);
    border-top: 2px solid rgb(156, 133, 103);
    border-right: 2px solid rgb(156, 133, 103);
    padding-bottom: 10px;

}

h3 {
    color: rgba(65, 90, 119);
    font-family: "Ageya", sans-serif;
    text-shadow: 0.5px 1px 1px rgba(65, 90, 119);
    background-color: transparent;
    text-align: center;

}

.fa {
    color: rgba(65, 90, 119);
    text-shadow: 0.5px 1px 1px rgba(213, 215, 209, 0.75);
    background-color: transparent;
}

h4,
legend {
    color: rgb(65, 90, 119);
    font-family: "Raleway", sans-serif;
    font-size: 1.8em;
    text-shadow: 0.5px 1px 1px rgba(213, 215, 209, 0.75);
    background-color: transparent;
    text-align: center;
}

h5 {
    color: rgba(170, 62, 5);
    font-family: "Raleway", sans-serif;
    font-size: 1.8em;
    text-shadow: 0.5px 1px 1px rgba(213, 215, 209, 0.75);
    background-color: transparent;
    text-align: center;
}

h6 {
    text-align: center;
    font-family: "Lora", sans-serif;
    font-style: italic;
}

.sign-in a {
    color: rgb(156, 133, 103);
}

.sign-in a:hover {
    background-color: rgb(156, 133, 103);
    text-decoration: none;
    color: rgb(213, 215, 209);
    padding: 3px;

}

.sign-in a:focus {
    text-decoration: underline;
}

.forgot-password-msg {
    /*font-style: italic;*/
    color: rgb(170, 62, 5)
}

.footer {
    font-family: "Raleway", sans-serif;
    color: rgb(213, 215, 209);
    padding-left: 13px;
    padding-right: 13px;
    padding-bottom: 15px;
    border-radius: 5px;
    position: relative;
    width: 100%;
    max-width: 100vw;
    margin-top: auto;
    margin-right: 10px;
    background: rgba(65, 90, 119, 0.65);
    justify-content: space-between;
    align-items: center;
    flex: 1 1 100%;
}

.slogan {
    color: rgb(213, 215, 209);
    font-family: 'Raleway', sans-serif;
    text-align: center;
    text-transform: capitalize;
    font-size: 1rem;
    align-items: flex-end;
    padding-left: 25px;
    padding-top: 10px;

}

.legal {
    color: rgb(213, 215, 209);
    font-family: 'Raleway', sans-serif;
    text-transform: capitalize;
    font-size: 0.8rem;
    padding-top: 5px;
    padding-left: 15px;

}

.social {

    display: flex;
    flex-direction: row;
    color: rgb(213, 215, 209);
    justify-content: right;
    padding-right: 5px;
}

.foot-item,
.legal,
a {
    color: rgb(213, 215, 209);

}

.foot-item,
.legal,
a:visited {
    color: rgb(213, 215, 209);
}

.foot-item,
.legal,
a:hover {
    color: rgb(170, 62, 5, 0.75);
    border-radius: 5px;
    text-decoration: none;
}

.fa-brands {
    padding: 5px;
    align-content: flex-end;
}

@media (max-width: 768px) {
    /*.card-img {
        max-width: 30%;
    }*/

    #main-article,
    .card-text {
        font-size: 0.8rem;
    }

    .footer,.legal, .slogan  {
        font-size: 0.8rem;
        flex-grow: 1;
    }

    .card-title {
        font-size: 1rem;
    }

}
@media (max-width: 540px) {
    .footer, .legal {
        font-size: 0.5rem;
        flex-grow: 1;
    }

}

@media (max-width: 768px) {
    .social {
        flex: 1 1 100%;
        flex-direction: column;
        font-size: 0.5rem;
    }
}

#FirstName_error,
#LastName_error,
#UserName_error,
#Email_error,
#PasswordHash_error,
#PasswordHash1_error {
    color: rgb(170, 62, 5);
}

#successMessage {
    color: rgb(48, 129, 48);
}

#errorMessage {
    color: rgb(170, 62, 5);
}

/*dashboard.php*/
.view {
    position: relative;
    flex-shrink: 1;
    width: 100vw;
    height: auto;
    margin: 10px;
    float: left;

    overflow: hidden;
    text-align: center;
    cursor: pointer;

}

.view .view-img {
    display: block;
    width: 100%;
    height: auto;
    transition: all 0.4s ease-in-out;
}

.view .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-left: 5px;
    margin-left: 5px;
    padding-right: 15px;
    margin-right: 15px;
    margin-bottom: 5px;
    padding-bottom: 0px;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(156, 133, 103, 0.75);
}

.view .card-text {
    color: rgb(213, 215, 209);
    font-size: 1.2rem;
    padding: 45px;
}

.view .card-title {
    color: rgb(213, 215, 209);
    background-color: rgba(65, 90, 119);
    margin-top: 40px;

}

.view .card-body {
    background-color: rgba(65, 90, 119, 0.5);
}

.view:hover .card-overlay {
    opacity: 1;
}

.view .card {
    background-color: rgb(120, 102, 84, 0.35);
}

.view .card-title,
.view.card-text,
.view .btn {
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

.view:hover .card-title,
.view:hover .card-text,
.view:hover .btn {
    opacity: 1;
}

@media (max-width: 768px) {

    .view .view-img,
    .view .card {
        max-width: 100%;
    }

    .view .card-title {
        font-size: 0.8rem;
        padding-top: 5px;
        margin-top: 10px;
        max-height: 20px;
    }

    .view .card-text {
        font-size: 0.6rem;
        padding-top: 5px;
        max-height: 20px;
    }

    .card-overlay {
        flex: 1 1 100%;
    }

}

@media(max-width: 412px) {

    .view .view-img,
    .view .card {
        width: 100%;


    }

    .view .card-title {
        font-size: 0.5rem;
    }

    .view .card-text {
        font-size: 0.3rem;
    }

    .view {
        flex: 1 1 100%;
        height: fit-content;
    }
}

.carousel-box {
    justify-content: center;
    align-items: center;
    background-color: rgba(65, 90, 119, 0.25);
    padding: 15px;
    border-radius: 5px;
    flex: 0 0 auto;
}

.carousel-inner {
    display: flex;
    flex: wrap;
    flex: 1 1 auto;
    flex-shrink: 1;
    min-width: 300px;
}

.carousel-item img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}

.carousel-caption h3 {
    color: rgb(213, 215, 209);
    text-shadow: 0.5px 1px 1px rgb(65, 90, 119);
    font-family: "Lora", sans-serif;
    font-size: 3rem;
    text-align: left;
    border-radius: 5px;
    padding: 5px;

}

.carousel-text {
    background-color: rgba(213, 215, 209, 0.75);
    color: rgb(156, 133, 103);
    font-family: "Raleway", sans-serif;
    border-radius: 5px;
    padding: 5px;
}

@media (max-width: 768px) {
    .carousel-item {
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .carousel-item {
        min-width: 150px;
    }
}

.latest-articles,
#charities {
    display: flex;
    flex: wrap;
    justify-content: space-between;

    background-color: rgba(65, 90, 119, 0.25);
    padding: 15px;
    border-radius: 5px;
}

.card-article-body {
    background-color: rgba(213, 215, 203, 0.45);
    border-radius: 5px;

}

.card-article-title {
    font-family: "Lora", sans-serif;
    color: rgb(65, 90, 119);
    font-size: 2.2rem;
    font-weight: 600;
}

.card-article-image {
    border: 1px solid rgb(65, 90, 119, 0.45);
    border-radius: 5px;

}

.card-article-text {
    color: rgb(65, 90, 119);
    font-family: "Raleway", sans-serif;
    padding: 10px;
    text-align: justify;


}

.card-col {
    margin-bottom: 20px;
}

.col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;

}

.col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;

}

.col-10 {
    flex: 1 1 100%;
}

.card {
    height: 100%;
}

@media (max-width: 992px) {

    .col-lg-9,
    .col-lg-3,
    .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .col-10 {
        margin: 0px;
        padding: 0px;
    }
}

@media (max-width: 768px) {

    .col-md-6,
    .col-md-8 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {

    .col-md-6,
    .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#article-list {
    justify-content: center;
    background-color: rgba(65, 90, 119, 0.25);
    padding: 15px;
    border-radius: 5px;
}

#article-list ul {
    text-indent: -0.6em;
    list-style-position: inside;
    margin: 0px;
    padding: 2px;
}

#article-list ul li {
    text-indent: -5px;
    margin: 0px;
    list-style: none;
    padding-left: 5px;
    padding-right: 0.5em;
    padding-bottom: 6px;
}

#article-list .col-4 {
    background-color: rgba(213, 215, 209, 0.65);
    justify-content: space-between;
    padding: 15px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    #article-list h5 {
        font-size: 1.1rem;
    }

    #article-list li {
        font-size: 0.8rem;
    }

}

@media(max-width: 412px) {

    #article-list h5 {
        font-size: 0.8rem;
    }

    #article-list li {
        font-size: 0.5rem;
    }

}

#article-list .col-4 ul a {
    padding: 5px;
    text-decoration: none;
    color: rgb(65, 90, 119);

}

#article-list .col-4 ul a:hover {
    color: rgb(170, 62, 5);
    text-decoration: underline;

}

#article-list .col-4 ul a:focus {
    text-decoration: underline;
}

#article-list .col-4 a:visited {
    color: rgb(65, 90, 119);

}

.card-shop-price {
    color: rgb(65, 90, 119);
}

.card-shop-img .responsive-img {
    width: 100%;
    height: auto;
}

#charities {
    justify-content: space-between;
    background-color: rgba(213, 215, 209, 0.5);
    margin: 0px;
    border-radius: 5px;

}

.charities {
    justify-content: space-between;
    background-color: rgba(65, 90, 119, 0.25);
    margin: 0px;
    border-radius: 5px;

}

#articles-box{
    font-family: "Raleway", sans-serif;
    color: rgb(65, 90, 119);
    font-weight: 400;
    font-size: 1rem;
    background: rgba(213, 215, 209, 0.85);
    padding: 35px;
    border-radius: 10px;
    text-align: justify;

}
#comments-box {
    font-family: "Raleway", sans-serif;
    color: rgb(65, 90, 119);
    font-weight: 400;
    font-size: 1rem;
    background: rgba(213, 215, 209, 0.85);
    
    border-radius: 10px;
    text-align: justify;

}

#more-articles {
    justify-content: center;
    background-color: rgba(213, 215, 209, 0.85);
    padding: 15px;
    padding-top: 45px;
    border-radius: 5px;
    text-align: left;
    font-size: 0.9rem;

}

#more-articles ul {
    text-indent: -0.5px;
    list-style-position: inside;
    text-align: left;
    padding-left: 2px;
    margin-left: 0px;
}

#more-articles ul li {
    padding-left: 1.5em;
    padding-right: 0.5em;
    margin-left: 0px;
    text-align: left;
    list-style: none;
    text-indent: -1em;
    padding-bottom: 8px;
}

#more-articles h5 {
    text-align: center;
}

#more-articles ul a {
    padding: 15px;
    text-decoration: none;
    color: rgb(65, 90, 119);

}

#more-articles li a:hover {
    color: rgb(170, 62, 5);
    text-decoration: underline;

}

#more-articles li a:focus {
    text-decoration: underline
}

#more-articles li a:visited {
    color: rgb(65, 90, 119);

}

#Title {
    font-family: "Lora", sans-serif;
    color: rgb(156, 133, 103);
    text-shadow: 0.5px 1px 1px rgb(213, 215, 209);

    text-transform: capitalize;
    padding: 5px;
}

#ArticleContent h2 {
    font-family: 'Lora', sans-serif;
    text-transform: capitalize;
    color: rgb(156, 133, 103);
    background-color: transparent;
    font-size: 1.6rem;
    text-shadow: none;
    text-align: left;
    border: none;

}

#ArticleContent h3 {
    font-family: 'Lora', sans-serif;
    text-transform: capitalize;
    color: rgb(156, 133, 103);
    background-color: transparent;
    text-shadow: none;
    font-size: 1.6rem;
    text-align: left;

}

#ArticleContent h4 {
    color: rgb(65, 90, 119);
    font-family: "Raleway", sans-serif;
    font-size: 1.8em;
    text-shadow: 0.5px 1px 1px rgba(213, 215, 209, 0.75);
    background-color: transparent;
    text-align: center;
}

#ArticleContent h5 {
    color: rgba(170, 62, 5);
    font-family: "Raleway", sans-serif;
    font-size: 1.8em;
    text-shadow: 0.5px 1px 1px rgba(213, 215, 209, 0.75);
    background-color: transparent;
    text-align: center;
}

#ArticleContent h6 {
    text-align: center;
    font-family: "Lora", sans-serif;
    font-style: italic;
}

#externalLinks {
    font-size: 1.2rem;
    text-align: center;
}

#externalLinks a {
    text-decoration: none;

}

#externalLinks a:hover {
    background-color: rgb(170, 62, 5, 0.75);
    color: rgb(213, 215, 209);
    padding: 1px;
    text-decoration: none;
}

#externalLinks a:focus {
    text-decoration: underline;
}

.article-content {
    padding-top: 20px;
}

.article-content a {
    color: rgb(170, 62, 5);

}

.article-content a:hover {
    color: rgb(170, 62, 5);
    text-decoration: none;

}

.article-content a:focus {
    text-decoration: underline;
}

.article-content a:visited {
    color: rgb(170, 62, 5);

}

.article-content {
    padding-top: 20px;
}

figcaption {
    font-family: "Lora", sans-serif;
    color: rgb(170, 62, 5);
}

.commentProfile {
    padding-left: 25px;
}

.user-activity {
    background-color: rgb(65, 90, 119, 0.25);
    border-radius: 5px;
}

.avatarSelection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 20px;
}

.avatarOption {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
}

.avatarOption img {
    cursor: pointer;
    height: auto;
}

.avatarOption input[type="radio"] {
    margin-top: 10px;
}

#share-box {
    font-family: "Raleway", sans-serif;
    color: rgb(65, 90, 119);
    font-weight: 400;
    font-size: 0.8rem;
    padding: 5px;
    padding-top: 0px;
    text-align: right;
    margin-top: 0px;
    max-height: 25px;
}

#share-box a {
    text-decoration: none;
}

.dropdown-menu li a:hover {
    color: rgb(213, 215, 209);
    background-color: rgb(170, 62, 5);
    border-radius: 5px;
    text-decoration: none;
}

.dropdown-menu li a:focus {
    text-decoration: underline;
}

#articleError {
    padding-bottom: 35px;
    padding-right: 35px;
    color: rgb(65, 90, 119);
    text-align: left;
    font-size: 1.8rem;
    border-radius: 5px;

}

@media (max-width:768px) {
    .h-captcha {
        flex: 1 1 100%;
    }
}
@media (max-width:412px){
    .h-captcha{
      flex: 1 1 70%;
      max-width: 50%;
    }
}