/* ============================================================ */
/* COMMON BASE                                                   */
/* ============================================================ */

body {
    background-image: url('../images/bg8.png');
    background-size: 100%;
    font-family: sans-serif, arial, Helvetica;
    color: white;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

.btn:focus,
button:focus {
    outline: none;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h2.page-heading {
    margin: 5px 0 30px;
    padding: 0 5px 10px;
    border-bottom: 2px solid #333;
    color: #000;
}

i.fa {
    color: #222;
}


/* ============================================================ */
/* LOGIN & REGISTER                                              */
/* ============================================================ */

#wrapper-admin {
    padding: 50px 0 0;
    color: white;
}

#wrapper-admin2 {
    padding: 150px 0 0;
    color: white;
}

.main-container {
    margin: auto;
    width: 450px;
    height: 420px;
    padding: 10px;
    background-color: #D3D3D3;
    position: relative;
    border-radius: 10px;
    color: black;
}

.main-container-reg {
    margin: auto;
    width: 450px;
    height: 650px;
    padding: 10px;
    background-color: #D3D3D3;
    position: relative;
    border-radius: 10px;
    color: black;
}

.logo-container {
    margin: auto;
    width: 420px;
    height: 60px;
    background-color: black;
    position: relative;
    border-radius: 10px;
    color: white;
}

.label-un {
    color: black;
}

img.logo {
    width: 400px;
    height: auto;
    display: block;
}


/* ============================================================ */
/* ADMIN PANEL                                                   */
/* ============================================================ */

/* Header */
#header-admin {
    background-color: #21201E;
    padding: 15px 0;
}

#header-admin .admin-logout {
    margin: 10px 0;
    color: black;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    background-color: white;
    border-radius: 5px;
    padding: 5px;
}

#header-admin .admin-logout:hover {
    color: white;
    background-color: #4D4A4F;
}

/* Menu Bar */
#admin-menubar {
    background-color: #2E3033;
}

#admin-menubar .admin-menu {
    font-size: 0;
}

#admin-menubar .admin-menu li {
    display: inline-block;
    margin: 0 5px 0 0;
}

#admin-menubar .admin-menu li a {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 7px 15px;
    display: block;
    transition: all 0.3s;
}

#admin-menubar .admin-menu li a:hover {
    color: black;
    background-color: white;
}

/* Content Area */
#admin-content {
    color: black;
    padding: 20px 0;
    min-height: 750px;
}

#admin-content .admin-heading {
    color: white;
    font-size: 35px;
    margin: 0 0 15px;
}

#admin-content .admin-settings-heading {
    color: white;
    text-align: center;
    font-size: 35px;
    margin: 0 0 15px;
}

#admin-content .add-new {
    color: #fff;
    background-color: green;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    padding: 7px 10px;
    display: block;
    transition: all 0.3s;
}

#admin-content .add-new:hover {
    text-shadow: 0 0 3px #000;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

/* Data Table */
#admin-content .content-table {
    border: 1px solid #000;
    width: 100%;
    margin: 0 0 20px;
}

#admin-content .content-table thead {
    color: #fff;
    background-color: #333;
}

#admin-content .content-table th {
    padding: 10px;
    border: 1px solid #fff;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}

#admin-content .content-table tbody {
    color: #333;
}

#admin-content .content-table tbody tr:nth-child(odd) {
    color: black;
    background-color: #e7e7e7;
}

#admin-content .content-table tbody tr:nth-child(even) {
    color: black;
    background-color: white;
}

#admin-content .content-table tbody td {
    padding: 10px;
    border: 1px solid #fff;
    text-align: center;
}

#admin-content .content-table tbody td:nth-child(2) {
    text-align: left;
}

#admin-content .admin-pagination {
    margin: 0;
}

#admin-content .admin-pagination li a {
    display: block;
}

.id,
.edit,
.delete {
    text-align: center;
}

form {
    background: #fff;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
}


/* ============================================================ */
/* FRONTEND                                                      */
/* ============================================================ */

/* Header */
#header {
    background: gray;
    text-align: center;
    padding: 15px;
}

#logo {
    display: inline-block;
    width: 65%;
}

#logo img {
    width: 100%;
}

/* Menu Bar */
#menu-bar {
    background: #2E3033;
    text-align: center;
}

#menu-bar .menu > li {
    display: inline-block;
}

.menu > li > a {
    padding: 10px 20px;
    display: block;
    text-transform: uppercase;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.5s ease 0s;
}

#menu-bar .menu > li > a:hover,
#menu-bar .menu > li > a.active {
    color: black;
    background: white;
}

/* Main Content */
#main-content {
    padding: 30px 0;
    min-height: 750px;
}

#main-content .post-container {
    background-color: #fff;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
    border-radius: 10px;
    color: #000;
}

#main-content .post-content {
    border-bottom: 1px solid #d1d1d1;
    padding: 0 0 30px;
    margin-bottom: 30px;
}

#main-content .post-content img {
    width: 100%;
    height: 100%;
    margin: 0 0 10px;
}

#main-content .post-content .post-img {
    border: 3px solid #e7e7e7;
    display: block;
    height: 145px;
    overflow: hidden;
    transition: border .3s;
}

#main-content .post-content .post-img:hover {
    border: 3px solid #808080;
}

#main-content .post-content h3 {
    font-size: 21px;
    line-height: 28px;
    font-weight: 600;
    margin: 0 0 7px;
}

#main-content .post-content h3 a {
    color: rgb(27, 27, 27);
    transition: all 0.3s;
}

#main-content .post-content h3 a:hover {
    color: gray;
}

#main-content .post-content .post-information span {
    color: #606060;
    font-size: 12px;
    text-transform: capitalize;
    margin: 0 5px 5px 0;
    display: inline-block;
}

#main-content .post-content .post-information i {
    color: #0f0d0d;
    margin-right: 1px;
}

#main-content .post-content .post-information a {
    color: #606060;
    text-decoration: none;
}

#main-content .post-content .post-information a:hover {
    color: #333;
    text-decoration: none;
}

#main-content .post-content p,
#main-content .single-post p {
    color: #666;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
}

#main-content .post-content a.read-more {
    color: #fff;
    background-color: #0f0d0d;
    font-size: 12px;
    text-transform: capitalize;
    padding: 3px 8px;
    border-radius: 2px;
    transition: all 0.3s;
}

#main-content .post-content a.read-more:hover {
    color: black;
    background-color: #d1d0d0;
}

/* Single Post */
#main-content .single-post {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#main-content .single-post h3 {
    color: black;
}

#main-content .single-post .post-information {
    margin: 0 0 10px;
}

#main-content .single-post p {
    text-align: justify;
}

#main-content .single-post img.single-feature-image {
    width: 70%;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid #e7e7e7;
}


/* ============================================================ */
/* PAGINATION                                                    */
/* ============================================================ */

.pagination {
    display: block;
    text-align: center;
    margin: 0;
}

.pagination li {
    display: inline-block;
    margin: 0 5px 0 0;
}

.pagination li a {
    border: none;
    background: #2d2d2d;
    color: #fff;
}

.pagination li a:hover,
.pagination > li > a:focus {
    color: black;
    background: #d1d0d0;
}

.pagination li.active a,
.pagination li.active a:hover,
.pagination li.active a:focus {
    background: #e84545;
    color: #fff;
    cursor: default;
    pointer-events: none;
}


/* ============================================================ */
/* FORMS                                                         */
/* ============================================================ */

.form-footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.form-footer input,
.form-footer p {
    width: 100%;
}

.form-footer p {
    text-align: center;
}


/* ============================================================ */
/* SIDEBAR                                                       */
/* ============================================================ */

#sidebar h4 {
    color: #1A1A1A;
    font-size: 17px;
    line-height: 27px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0 0 0 5px;
    margin: 0 0 21px;
    border-left: 3px solid gray;
}

#sidebar .search-box-container {
    background-color: #fff;
    padding: 20px;
    margin: 0 0 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
    border-radius: 10px;
}

#sidebar .search-post {
    padding: 0;
}

#sidebar .search-post input {
    color: #606060;
}

#sidebar .search-post input:focus {
    box-shadow: none;
    border-color: #999;
}

#sidebar .search-post .btn {
    font-weight: 600;
    text-transform: uppercase;
    padding: 6px 8px;
    background-color: #0f0d0d;
    border-color: #0f0d0d;
    outline: none;
}

#sidebar .search-post .btn:hover,
#sidebar .search-post .btn:focus {
    text-shadow: 0 0 3px #333;
}

#sidebar .search-post i.fa {
    font-size: 16px;
    color: #999999;
    line-height: 40px;
    float: right;
}

#sidebar .recent-post-container {
    padding: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
    border-radius: 10px;
}

#sidebar .recent-post {
    border-bottom: 1px solid #e7e7e7;
    padding: 0 0 15px;
    margin: 0 0 15px;
}

#sidebar .recent-post:last-child {
    margin: 0;
    padding: 0;
    border: none;
}

#sidebar .recent-post .post-img {
    display: inline-block;
    width: 33%;
    border: 3px solid rgba(0, 0, 0, 0.3);
    vertical-align: top;
    transition: border .3s;
}

#sidebar .recent-post .post-img:hover {
    border: 3px solid gray;
}

#sidebar .recent-post .post-img img {
    width: 100%;
}

#sidebar .recent-post .post-content {
    width: 65%;
    display: inline-block;
    border: none;
    padding: 0 0 0 7px;
    margin: 0;
}

#sidebar .recent-post h5 {
    font-size: 14px;
    line-height: 20px;
    margin: 0 0 5px;
}

#sidebar .recent-post h5 a {
    color: black;
}

#sidebar .recent-post span {
    color: #666;
    font-size: 11px;
    display: inline-block;
    margin: 0 5px 10px 0;
}

#sidebar .recent-post span a {
    color: #666;
}

#sidebar .recent-post span i {
    color: black;
}

#sidebar .recent-post a.read-more {
    color: #666;
    background-color: rgba(0, 0, 0, 0.09);
    width: 65px;
    font-size: 11px;
    text-align: center;
    padding: 0;
    display: block;
    transition: all 0.3s;
}

#sidebar .recent-post a.read-more:hover {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}


/* ============================================================ */
/* FOOTER                                                        */
/* ============================================================ */

#footer {
    color: #fff;
    padding: 15px 0;
    text-align: center;
    background-color: black;
}

#footer a {
    color: #fff;
}

#footer span a:hover {
    text-decoration: underline;
}
