/*--Content--*/
.page-wrapper {
    min-height: 100vh;
    margin-top: -2em;
    background-color: rgba(219, 225, 226, 0.534);
}

.content {
    width: 90%;
    margin: 30px auto 30px;
    display: flex;
}

.content .main-content {
    width: 70%;
}

.content .main-content .page-title {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
}

.content .main-content .page-title a {
    position: absolute;
    right: 3%;
    bottom: -10px;
}

.content .main-content .page-title .latest-news-title .btn-login {
    position: absolute;
    height: 16px;
    bottom: 10px;
    right: 10px;
    padding-top: 4px;
    border: 1px solid #006669;
    background: transparent;
    border-radius: 0.1rem;
    color: #006669;    
}

.content .main-content .latest-news-title .btn-login:hover {
    background: #006669;
    color: white;
    border-radius: .25rem;
    transition: .3s;
}
/* .content .sidebar {
    width: 30%;
    border: 1px solid green;
} */


.content .main-content .post {
    width: 95%;
    height: 140px;
    margin: 10px auto;
    border: 1px solid darkgray;
    border-radius: 5px;
    background: white;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    margin-bottom: 20px;
}

.content .main-content .post .extra-space {
    margin-bottom: 40px;
}


.content .main-content .post .read-more {
    position: absolute;
    height: 16px;
    bottom: 10px;
    right: 10px;
    padding-top: 4px;
    border: 1px solid #006669;
    background: transparent;
    border-radius: 0.1rem;
    color: #006669;
}

.content .main-content .post .read-more:hover {
    background: #006669;
    color: white;
    border-radius: .25rem;
    transition: .3s;
}

.content .main-content .post .post-image {
    padding: 11%;
    max-width: 115px;
    height: 115px;
}

.content .main-content .post .post-image img {
    width: 100%;
    height: 100%;
}

.post .post-preview {
    padding: 1% 3%;
}
}

.content .main-content .post .post-preview .preview-text {
    margin-bottom: 1.5rem;
}

.content .main-content .post .post-preview a{
    text-decoration: none;
}

.content .main-content .latest-news-title{
    margin: 20px;
}

.content .sidebar {
    width: 30%;
    /* border: 1px dashed green; */
    height: 300px;
}

.post {
    display: flex;
    flex-direction: row;
}

.post h2 a {
    font-size: 20px;
    color: rgb(5, 167, 229);
}

.date {
    font-size: 11px;
    color: green;
}

/*--Solo news page--*/
.solo {
    margin-top: 15px;
    background: white;
    border: 1px solid darkgray;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.solo .news-title {
    margin: 15px auto;
    text-align: center;
}

.solo a {
    position: absolute;
    margin-top: 10px;
}

.solo .news-content p {
    margin: 15px;
    padding: 10px 35px;
}

/*--Text Area--*/
h1, h2, h3 {
    font-family: 'Candal', serif;
    color: rgb(80, 78, 78);
    margin: 5px;
}

.text-input {
    padding: .7rem 1rem;
    display: block;
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgb(10, 14, 37);
    outline: none;
    color: rgb(0, 0, 0);
    font-size: 1.2em;
    line-height: 1.5rem;
}

/*--Button--*/
.btn {
    padding: .5rem 1rem;
    margin-top: 5px;
    padding: .5rem 1rem;
    background: #006669;
    color: white;
    border: 1px solid transparent;
    border-radius: .25rem;
    font-size: 1.08em;
}

.btn-big {
    padding: .7rem 1.3rem;
    line-height: 1.3rem;
}

.btn:hover {
    color: white;
    background: #044042;
}

/*--MSG--*/
.msg {
    width: 80%;
    margin: 5px auto;
    padding: 8px;
    border-radius: 5px;
    list-style: none;
}

.success {
    color: darkgreen;
    border: 1px solid darkgreen;
    background: rgb(181, 233, 181);
}

.error {
    color: darkred;
    border: 1px solid darkred;
    background: rgb(243, 202, 195);
}


/*--Auth Pages--*/
.auth-content {
    width: 30%;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
}

.auth-content .form-title {
    text-align: center;
}

.auth-content form div {
    margin-bottom: 1.4em;
}


/*--Media Query--*/
@media only screen and (max-width: 940px) {
    .content {
        width: 100%;
        flex-direction: column;
    }

    .content .main-content {
        width: 100%;
    }
    
    .content .main-content .post {
    width: 95%;
    min-height: 320px;
    margin: 10px auto;
    border-radius: 5px;
    background: white;
    display: flex;
    flex-wrap: nowrap;
    position: relative;
    margin-bottom: 20px;
    font-size: 0.9rem;
    padding-right: 3px;
    }

    .content .main-content .post .extra-space {
        margin-bottom: 40px;
    }
    
    
}