*{
  font-family: "Times","Gabriola";
}
@media(min-width:300px){
    .logo_rea img{
        width: 150px;
        margin-bottom: -30px;
        margin-left: 10px;
    }
    .sidbar_btn {
        margin-top: 12px;
        margin-left: 12px;
    }
    .sidebar_container {
        background-color: #203c2ce3;
    }
    .search_box{
        position: relative;
        width: 270px;
        margin-left: 95px;
        margin-left: 70px;
        margin-bottom: 30px;
    }
    .search_icon svg{
        width: 25px;
        height: 25px;
        color: #203c2ce3;
    }
    .search_input[placeholder]{
        padding-top: 14px;
        font-size: 13px;
    }
    .search_input{
        border: 2px solid #203c2ce3;
    }
    .page_navigtion{
        margin-left: 50px;
    }
    .journal_cards_container{
        width: 260px;
        margin-top:50px;
        margin-bottom: 50px;
        margin-left: 80px;
    }
    .card-body{
        display:flex;
        flex-direction: column;
        justify-content: center;
        margin-top: -25px;
    }
    .card-img-top{
        width: 150px;
        height: 200px;
        border-radius: 5px !important;
        display: block;
        margin-top: -55px;
        margin-bottom: 0px;
        margin-left: 80px;
    }
    .journal_card{
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 220px;
        height: 290px;
        margin-bottom: 70px;
        margin-left: 25px;
        margin-right: 5px;
    }

    .journal_card img{
        max-width: 160px;
        max-height: 230px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media(min-width:576px){
    .logo_rea img{
        width: 150px;
        margin-bottom: -30px;
    }
    .main_content{
        margin-left: -97px;
    }
    .sidbar_btn {
        margin-top: 12px;
        margin-left: 12px;
    }
    .search_box{
        position: relative;
        width: 350px;
        margin-left: 150px;
        margin-top: -35px;
        margin-bottom: 30px;

    }
    .search_icon svg{
        width: 25px;
        height: 25px;
    }
    .search_input[placeholder]{
        padding-top: 10px;
        font-size: 16px;
    }
    .page_navigtion{
        margin-left: 100px;
    }
    .journal_cards_container{
        align-items: center;
        width: 500px;
        margin-top:50px;
        margin-bottom: 0px;
        margin-left: 80px;

        /* overflow: hidden; */
    }
    .card-body{
        display:flex;
        flex-direction: column;
        justify-content: center;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    .card-img-top{
        width: 150px;
        height: 200px;
        border-radius: 5px !important;
        display: block;
        margin-top: -50px;
        margin-bottom: 0px;
        margin-left: 80px;
    }
    .journal_card{
        display: flex;
        flex-direction: row;
        gap: 5px;
        width: 215px;
        height: 290px;
        margin-bottom: 70px;
        margin-left: 25px;
        margin-right: 5px;
    }

    .journal_card img{
        width: 150px;
        height: 200px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media(min-width:768px){
    .logo_rea img{
        width: 120px;
        margin-bottom: 8px;
    }
    .main_content {
        margin-left: 12px;
        margin-top: -10px;
    }
    .sidebar_container {
        color: white;
        height: 100vh;
        width: 180px;
        left: 0;
        top: 0;
        padding: 20px;
        margin-left: 0px;
        overflow-x:hidden;
        overflow-y:auto;
    }




.fot{
            margin-right:5px;
            align-items: center;
            justify-content: center;
        }
            .footer-sidebar {

               margin-top: 30px;
            /* background: #1d2b23; */
            /*   color: #ffffffb3;*/
             /*height: 350px; */
              }

              .footer-sidebar .footer-heading {
                font-size: 24px;
                font-weight: 700;
                color: #fff;
                margin-bottom: 20px;
                padding-top: 10px;

              }

              .footer-sidebar .menu {
                color: #f9ddb8;
                margin-right: 15px;
                text-decoration: none;
              }

              .footer-sidebar .menu a:hover {
                color: #fff;
              }

              .ftco-footer-social {
                list-style: none;
                padding: 0;
                margin-top: 60px;
                margin-bottom: 10px;
              }

              .ftco-footer-social li {
                display: inline-block;
                margin-right: 10px;
              }

              .ftco-footer-social a {
                color: rgba(255, 255, 255, 0.7);
                font-size: 18px;
                transition: 0.3s;
              }

              .ftco-footer-social a:hover {
                color: #fff;
              }

              hr {
                margin: 2rem;
                color: inherit;
                border: 0;
                border-top: var(--bs-border-width) solid;
                opacity: .25;
                width: 80%;
            }


              .copyright {
                font-size: 14px;
                color: rgb(152 155 126);
              }

              .logo {
                color: rgb(255 255 255);
                text-decoration: none;
            }



            .footer-sidebar .ftco-footer-social li a {
                background: #586858;
                color: #a2dcca;
                border: 1px solid #8c7f67;
            }

            .ftco-footer-social li a {
                height: 30px;
                width: 30px;
                display: block;
                background: #000000;
                border-radius: 50%;
                position: relative;
                align-items: center;
            }



    .search_box{
        position: relative;
        width: 380px;
        margin-top: 30px;
        margin-bottom: 30px;
        margin-left: 185px;

    }
    .page_navigtion{
        margin-left: 10px;
    }
    .journal_cards_container{
        width: 500px;
        margin-bottom: 0px;
        margin-left:150px;
    }
    .journal_card{
        margin-bottom: 70px;
        margin-left: 5px;
        margin-right: 5px;
        width: 100px;
        display: flex;
        flex-direction: row;
        width: 750px;
        height: 200px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        align-items: center;
        border: 1px solid #dedede;
        border-radius: 0px 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        -webkit-border-radius: 0px 15px 0;
        -moz-border-radius: 0px 15px 0;
        -ms-border-radius: 0px 15px 0;
        -o-border-radius: 0px 15px 0;
    }
    .card-img-top {
        width: 130px;
        height: auto;
        margin: 15px;
        border-radius: 5px !important;
        display: block;
        -webkit-border-radius: 5px !important;
        -moz-border-radius: 5px !important;
        -ms-border-radius: 5px !important;
        -o-border-radius: 5px !important;
}
    .journal_card img{
        width: 152px;
        height: 230px;
        margin-left: 30px;
    }
    .alphabet-list {
    list-style-type: none;
    display: flex;
    /*gap: 10px;*/
    justify-content: center;
    padding: 0;
    margin-left:150px;
}
}

@media(min-width:992px){
    .logo_rea img{
        width: 150px;
        margin-top: 5px;
    }
    .custom_button{
        display: none;
    }
    .main_content {
        padding: 20px;
        margin-left: 120px;
        margin-top: -30px;
    }
    .sidebar_container {
        color: white;
        height: 100vh;
        width: 240px;
        left: 0;
        top: 0;
        padding: 20px;
        margin-left: 0px;
    }
    .search_box{
        position: relative;
        width: 400px;
        margin-left: 210px;
        margin-bottom: 30px;
    }
    .page_navigtion{
        margin-left: 100px;
    }
    .journal_cards_container{
        width: 700px;
        margin-bottom: 0px;
        margin-left:80px;
    }
    .journal_card{
        margin-bottom: 70px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .card-img-top {
        width: 130px;
        height: auto;
        margin: 15px;
        border-radius: 5px !important;
        display: block;
    }
    .journal_card img{
        width: 172px;
        height: 250px;
        margin-left: 50px;
    }
    .alphabet-list {
    list-style-type: none;
    display: flex;
    /*gap: 10px;*/
    justify-content: center;
    padding: 0;
    margin-left:130px;
}
}
@media(min-width:1200px){
    .main_content {
        padding: 20px;
        margin-left: 150px;
        margin-top: -30px;
    }
    .search_box{
        margin-left: 250px;
        margin-bottom: 30px;
    }
    .journal_cards_container{
        width: 800px;
      margin-bottom: 0px;
      margin-left:0px;
    }
    .journal_card{
        margin-bottom: 70px;
        margin-left: 25px;
        margin-right: 5px;
        display: flex;
        flex-direction: row;
        width: 750px;
        height: 200px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        align-items: center;
        border: 1px solid #dedede;
        border-radius: 0px 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        -webkit-border-radius: 0px 15px 0;
        -moz-border-radius: 0px 15px 0;
        -ms-border-radius: 0px 15px 0;
        -o-border-radius: 0px 15px 0;
    }
    .card-img-top {
        width: 130px;
        height: auto;
        margin: 15px;
        border-radius: 5px !important;
        display: block;
    }
    .journal_card img{
        width: 172px;
        height: 250px;
        margin-left: 50px;
    }
        .alphabet-list {
    list-style-type: none;
    display: flex;
    /*gap: 10px;*/
    justify-content: center;
    padding: 0;
    margin-left:0px;
}
}
@media(min-width:1400px){
    .main_content {
        padding: 20px;
        margin-left: 200px;
    }
    .sidebar_container {
    color: white;
    height: 100vh;
    width: 300px;
    left: 0;
    top: 0;
    padding: 20px;
    margin-left: 0px;
}
    .page_navigtion{
        margin-left: -40px;
    }
    .journal_card{
        margin-bottom: 70px;
        display: flex;
        flex-direction: row;
        width: 750px;
        height: 200px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        align-items: center;
        border: 1px solid #dedede;
        border-radius: 0px 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        -webkit-border-radius: 0px 15px 0;
        -moz-border-radius: 0px 15px 0;
        -ms-border-radius: 0px 15px 0;
        -o-border-radius: 0px 15px 0;
    }
    .card-img-top {
        width: 130px;
        height: auto;
        margin: 15px;
        border-radius: 5px !important;
        display: block;
    }
    .journal_card img{
        width: 172px;
        height: 250px;
        margin-left: 50px;
    }
    .journal_cards_container{
        margin-left: 50px;
        margin-bottom: 0px !important;
    }
        .alphabet-list {
    list-style-type: none;
    display: flex;
    /*gap: 10px;*/
    justify-content: center;
    padding: 0;
    margin-left:0px;
}

}
.container-paginator{
    padding-top: 0px !important;
    margin-left: 310px;
}

/* Sidebar */
.p-3 {
    padding: 1rem !important;
}
.nav_sidebar{
  display:flex;
  flex-direction: column !important;
}
.sidebar_container a {
    color: white !important;
}
.container {
    padding: 40px;
}
/* Search Input */
.svg_icon{
    top: 10px;
}
.search_box input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 2px solid #3a3737;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease-in-out;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.search_box input:focus {
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(179, 180, 181, 0.5);
}





.search_input_container {
    display: inline-block;
    width: 100%;
    border-radius: 3px;
    padding: 4px 55px 4px 15px;
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    transition: all 200ms ease-in-out;
}

.search_input_container.hovered,
.search_input_container:hover,
.search_input_container:active {
    border: 1px solid #aaa;
}

.search_input_container input[type="text"] {
    border: none;
    box-shadow: none;
    display: inline-block;
    padding: 0;
    background: transparent;
    width: 100%;
}

.search_input_container input[type="text"]:hover,
.search_input_container input[type="text"]:focus,
.search_input_container input[type="text"]:active {
    box-shadow: none;
    outline: none;
}

.search_btn {
    position: absolute;
    right: 30px;
    top: 2px;
    color: #aaa;
    border-radius: 3px;
    font-size: 21px;
    padding: 5px 10px 1px;
    transition: all 200ms ease-in-out;
    border: none;
    background: transparent;
    cursor: pointer;
}

.search_btn:hover {
    color: #fff;
    background-color: #0092be;
}


/* Card */
.journal_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px #1d1d1d17;
}
.card-text {
    margin-left: 15px;
  margin-bottom: 2px;
}
.journal_card {
    background-color: #d3e5db;
    border: 2px solid #56685724;
    /*background-color: #ebf3ef;*/
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
    align-items: center;
    /*border: 1px solid #dedede;*/
    border-radius: 0px 20px 0;
    /*box-shadow: 0 2px 10px #3f3f3f17;*/
    -webkit-border-radius: 0px 20px 0;
    -moz-border-radius: 0px 20px 0;
    -ms-border-radius: 0px 20px 0;
    -o-border-radius: 0px 20px 0;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journal_card img{
  border: 1px solid #5a6c61;
}


        .custom_pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            list-style: none;
        }

        .custom_pagination li {
            margin: 0 5px;
        }

        .custom_pagination a {
            text-decoration: none;
            color: #203c2ce3;
            background: #fff;
            border: 2px solid #3c7d6d;
            padding: 10px 15px;
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
            transition: all 0.3s ease-in-out;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
}

        .custom_pagination a:hover {
            background: #3c7d6d;
            color: wheat;
            transform: scale(1.1);
        }
        .custom_pagination .active a {
            background: #203c2ce3;
            color: wheat;
            border:1px solid #203c2ce3;
            transform: scale(1.1);
        }
        .custom_pagination .prev a,
        .custom_pagination .next a {
            border-radius: 5px;
            padding: 10px 20px;
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            -ms-border-radius: 5px;
            -o-border-radius: 5px;
}
a{
  text-decoration: none;
}
.alphabet-list {
    list-style-type: none;
    display: flex;
    /*gap: 10px;*/
    justify-content: center;
    padding: 0;
}

.alphabet-link {
    text-decoration: none;
    font-size: 16px;
    color: black;
    padding: 5px;
    position: relative;
}

.alphabet-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease-in-out;
}

.alphabet-link:focus::after,
.alphabet-link:active::after {
    width: 100%;
}

