

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

body{
    font-family: "Josefin Sans", sans-serif;
    font-size: 16px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

img{
    max-width: 100%;
}

.btn-primary{
    background-color: #ec8f01;
    border-color: #ec8f01;
    color: #fff;
}

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

p{
    font-size: 18px;
    line-height: 1.5;
}

/* navigation */
.d-nav .nav .nav-link {
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effect */
    font-size: 18px;
}

.d-nav .nav .nav-link:hover, .d-nav .nav .nav-link:focus {
    background-color: #ec8f01; /* Example hover background color */
    color: #ffffff; /* Example hover text color */
    text-decoration: none; /* Removes underline from links on hover */
    border-radius: 7px;
}

.d-nav .nav .sub-menu {
    display: none; /* Initially hide the sub-menu */
}

.d-nav .nav .sub-menu .nav-link:hover, .d-nav .nav .sub-menu .nav-link:focus {
    background-color: #ec8f01; /* Darker shade for submenu items */
}
.d-nav .nav li{
    position: relative;
}

.d-nav .nav li:hover > .sub-menu {
    display: block;
    position: absolute;
    top: 100%;
    z-index: 99;
    background: #FFF;
    width: 200px;
}
/* Hero Section*/

.d-hero-layouts {
    position: relative;
    overflow: hidden;
    background-color: #f8f8f8;
    height: 500px;
    background-image: url(http://epaperscms.test/img/library.jpg);
    background-position: center 76%;
    background-repeat: no-repeat;
    background-size: cover;
}

.d-hero-layouts:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}

.d-hero-layouts .d-hero-content{
    position: relative;
    left: 0;
    right: 0;
    top: 160px;
    width: 60%;
    margin: 0 auto;
    z-index: 99;
    color: #FFFFFF;
}



.d-epapers-layouts img{
   width: 100%;
   height: 180px;
   object-fit: cover;
}


.associate-logo {
    width: 100%; /* Adjust the width as needed */
    max-width: 200px; /* Adjust the maximum width as needed */
    height: auto; /* This ensures the height adjusts to maintain the aspect ratio */
    object-fit: contain; /* This ensures the image fits within the dimensions without being cropped */
}

/* single article */
.article .article-img img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position:  top center;

}


/* Footer */
.footer .widget img{
    width: 233px;
    height: 165px;
    max-width: 100%;
    object-fit: contain;
    float: left;
    margin-bottom: 10px;
}
