/* Font family Face */
@font-face {
    font-family: 'TimesCustom';
    src: url('https://brickbybricknews.com/wp-content/themes/hello-theme-child/font/times.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    object-fit: cover;
    height: auto;
}

ul,
li,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--primary);
    color: var(--white);
}

:root {
    --primary: #01074b;
    --secondary: #54595F;
    --accent: #5F81DB;
    --hover-accent:#7fa4ff;
    --white: #fff;
    --text-color: #CCCCCC;
    --title-color: #EAEAEA;
    --para: #dcdcdc;
    --red: #FF0000D9;
    --font-Oswald: "Oswald", sans-serif;
    --font-times: "TimesCustom", sans-serif;
    --font-roboto: "Roboto", sans-serif;
    --font-400: 400;
    --font-500: 500;
    --font-600: 600;
}



/* ----------- Single post page ------------------ */

.top-bar{
    padding: 20px 10px 10px 10px;
}

.top-bar .top-bar-date{
    font-size: 14px;
    color: var(--title-color);
    font-family: var(--font-times);
    font-weight: var(--font-600);
}

.top-bar .top-post a{
    font-size: 14px;
    color: var(--accent);
    font-family: var(--font-times);
    font-weight: var(--font-600);
}

.main-header-logo{
    padding: 1rem 0;
}

header .navbar {
    background-color: var(--primary);
    border-top: 4px solid var(--accent);
    padding: 0 1rem 0 1rem;
}

header .navbar-nav li:first-child img{
    width: 30px;
    height: 30px;
}

header .navbar-nav li a{
    color: var(--white);
    font-size: 14px;
    font-weight: var(--font-600);
    text-transform: uppercase;
    font-family: var(--font-times);
    padding: 13px 10px;
    transition: all 0.3s ease;
    background-color: transparent;
}
header .navbar-nav li a:hover{
    color: var(--white);
    background-color: var(--accent);
}

/* ----------- Single post page ------------------ */





/* ------------- Single Page CSS ----------------- */


.single-page-section .row .col-12 {
    padding-left: 0;
    padding-right: 0;
}

.single-page-section .post-image-main {
    padding-bottom: 1rem;
}

.single-page-section .post-image {
    height: 100%;
    width: 100%;
    display: block;
}

.single-page-section .post-image img {
    height: 100px;
    width: 100%;
    display: block;
}

.single-page-section .post-content-box {
    padding: 1rem 0 2rem 0;
}

.single-page-section .date {
    font-size: 0.9rem;
    color: var(--text-color);
    font-family: var(--font-times);
    font-weight: var(--font-400);
    margin-bottom: 10px;
}

.single-page-section .post-content-box h1,
.single-page-section .post-content-box h2,
.single-page-section .post-content-box h3,
.single-page-section .post-content-box h4,
.single-page-section .post-content-box h5,
.single-page-section .post-content-box h6 {
    color: var(--title-color);
    font-weight: var(--font-500);
    margin: 1rem 0;
    font-family: var(--font-roboto);
}

.single-page-section .post-content-box h1 {
    font-size: 2.5rem
}

.single-page-section .post-content-box h2 {
    font-size: 2rem
}

.single-page-section .post-content-box h3 {
    font-size: 1.75rem
}

.single-page-section .post-content-box h4 {
    font-size: 1.5rem
}

.single-page-section .post-content-box h5 {
    font-size: 1.25rem
}

.single-page-section .post-content-box h6 {
    font-size: 1rem
}


.single-page-section .post-content-box p,
.single-page-section .post-content-box ul li,
.single-page-section .post-content-box ol li {
    color: var(--para);
    font-family: var(--font-roboto);
    font-size: 1rem;
    font-weight: var(--font-400);
}

.single-page-section .read-more-btn{
    margin-top: 30px;
}

.single-page-section .read-more-btn button{
    border: none;
    outline: none;
    background-color: var(--accent);
    color: var(--white);
    margin-top: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: var(--font-400);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.single-page-section .read-more-btn button:hover{
    background-color: var(--hover-accent);
}

.single-page-section .hidden-content{
    position: relative;
    overflow: hidden;
    max-height: 3em;
    margin-top: 10px;
}
.single-page-section .hidden-content::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 1.5em;
    background: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.single-page-section .hidden-content.expanded {
    max-height: 100%;
}

.single-page-section .hidden-content.expanded::before{
    display: none;
}

.footer-copyright {
    position: relative;
    padding: 10px;
}

.footer-copyright .copyright-text a {
    font-family: var(--font-roboto);
    font-size: 0.9rem;
    color: var(--white);
    font-weight: var(--font-400);
}

.footer-copyright .footer-nav-list li {
    padding: 0 8px;
    position: relative;
}

.footer-copyright .footer-nav-list li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ddd;
    height: 100%;
    width: 1px;
}

.footer-copyright .footer-nav-list li:last-child::after {
    display: none;
}

.footer-copyright .footer-nav-list li a {
    font-size: 14px;
    font-weight: var(--font-400);
    color: var(--white);
    font-family: var(--font-roboto);
}

@media (min-width:1025px) and (max-width:1139.98px){
    .container{
        max-width: 90%;
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .single-page-section .post-image-main {
        margin-right: 2rem;
    }

    .single-page-section {
        padding: 1rem;
    }

    .footer-copyright {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width:767px) {
    .single-page-section .post-image-main .container {
        padding-left: 0;
        padding-right: 0;
    }
    .single-page-section .post-content-box{
        padding: 1rem;
    }

    .footer-copyright>div.row {
        justify-content: center;
    }

    .footer-copyright {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-copyright .copyright-text {
        text-align: center;
    }

    .footer-copyright .footer-nav-list {
        justify-content: center;
    }
}

/* ------------- Single Page CSS ----------------- */