@import url('http://fonts.googleapis.com/css?family=Roboto:400,300,100,700,100italic,300italic,400italic,700italic');
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    /* Default to light weight */
    font-size: 15px;
    line-height: 26px;
    color: #454545;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    /* Bold weight for headings */
    color: #454545;
}

.Light49 {
    font-family: "Roboto-thin";
    font-size: 49px;
}

a {
    color: #45aed6;
    transition: color 400ms, background-color 400ms;
}


/* Other modal styles... */


/* Other modal styles... */

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

a:hover,
a:focus {
    text-decoration: none;
    color: #2a95be;
}

hr {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #fff;
}

.gradiant {
    background-image: linear-gradient(90deg, #2caab3 0%, #2c8cb3 100%);
}

.gradiant-horizontal {
    background-image: linear-gradient(4deg, #2caab3 0%, #2c8cb3 100%);
}

.section-header {
    margin-bottom: 50px;
    margin-left: 15px;
}

.section-header .section-title {
    font-size: 36px;
    color: #454545;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
    margin: 0 0 20px;
    font-family: "Roboto-medium";
    font-weight: 500;
}

.section-header .section-title:before {
    content: "";
    position: absolute;
    width: 140px;
    bottom: 0;
    left: 50%;
    margin-left: -70px;
    height: 1px;
    background: #ff641b;
}

.section-header .section-title:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -11px;
    left: 50%;
    margin-left: -12px;
    border: 5px solid #fff;
    border-radius: 20px;
    background: #ff641b;
}

.btn {
    border-width: 0;
    border-bottom-width: 3px;
    border-radius: 3px;
}

.btn.btn-primary {
    background: #ff641b;
    border-color: #ff641b;
    border-radius: 25px;
    font-family: "Roboto-regular";
}

.btn.btn-primary:hover,
.btn.btn-primary:focus {
    background: #e84a00;
}

.column-title {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    position: relative;
}

.column-title:after {
    content: " ";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 40%;
    border-bottom: 1px solid #45aed6;
}

.video-container {
    position: relative;
    width: 100%;
    /* Full width */
    height: 50vh;
    /* 50% of the viewport height */
    overflow: hidden;
    /* Ensure that the video doesn't overflow the container */
}

.front-cover,
.back-cover {
    opacity: 1;
}

.modal-dialog {
    max-width: 90%;
    margin: 30px auto;
}

.modal-body {
    padding: 0;
}

.modal-body img {
    width: 100%;
    height: auto;
}

.book-cover {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.book-cover:hover {
    opacity: 0.8;
}


/* Make sure modal appears above everything */

.modal {
    z-index: 1050;
}


/* Center image in modal */

.modal-body {
    text-align: center;
}


/* Responsive image sizing */

#modalImage {
    max-height: 90vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

#new-release .entry-date {
    font-size: 14px;
    font-family: "Roboto-regular";
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #45aed6;
    text-align: left;
    /* Changed from center */
}

#new-release .entry-thumbnail {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#new-release .entry-title {
    font-size: 36px;
    color: #454545;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
    margin: 0 0 20px;
    font-family: "Roboto-medium";
    font-weight: 500;
    text-align: left;
    /* Changed from center */
}

#new-release .entry-title a {
    color: #454545;
    /* This matches your other title colors */
}

#new-release .entry-title a:hover {
    color: #45aed6;
    /* This matches your other title colors */
}

#new-release .book-cover {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

#new-release .entry-thumbnail img {
    aspect-ratio: 2/3;
}


/* General styles */

#new-release .entry-content {
    text-align: left;
    /* Changed from center */
    padding: 20px;
    margin: auto;
    width: 500px;
    /* Added fixed width */
    display: inline-block;
    /* Added */
}

#new-release .col-md-6:last-child {
    text-align: center;
    /* Added to center the content container */
}


/* iPad-specific styles */

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    #new-release .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #new-release .col-md-6 {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    #new-release .entry-content {
        margin-top: 20px;
        /* Added wider width for iPad */
    }
    #new-release .btn {
        margin: 20px auto;
        display: inline-block;
    }
}

@media (max-width: 768px) {
    #new-release .entry-thumbnail {
        max-width: 300px;
    }
    #new-release .book-cover {
        max-height: 450px;
    }
    #new-release .entry-content {
        width: 280px;
        /* Added width for mobile */
    }
}


/* Button container styling */

.button-container {
    margin: 30px 0;
    padding-bottom: 20px;
}

.button-container .btn {
    margin: 10px;
    min-width: 120px;
}


/* Style the close button */

.btn.close-modal {
    background-color: #6c757d;
    color: white;
    border: none;
}

.btn.close-modal:hover {
    background-color: #5a6268;
}


/* Improve modal header close button */


/* Improve modal header close button */

.modal-header .close {
    position: absolute;
    right: -15px;
    top: -15px;
    width: 30px;
    height: 30px;
    background: #6c757d;
    border: 2px solid #fff;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
    text-align: center;
    opacity: 1;
    padding: 0;
    margin: 0;
    z-index: 1060;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.modal-header .close:hover {
    background: #5a6268;
    opacity: 1;
    color: white;
}

.modal-header .close:focus {
    outline: none;
}


/* Ensure proper spacing in modal body */

.modal-body {
    padding: 20px 20px 0 20px;
    text-align: center;
}


/* Desktop view specific styles for popup only */

@media (max-width: 991px) {
    #newReleaseModal .book-carousel-container .owl-carousel .item {
        width: 100%;
    }
}

@media (min-width: 992px) {
    #newReleaseModal .book-carousel-container .owl-carousel .item {
        width: 45%;
    }
}


/* Ensure proper spacing in modal body */

#newReleaseModal .modal-body {
    padding: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

#newReleaseModal .book-carousel-container .owl-carousel {
    display: flex;
    justify-content: center;
}

@media (min-width: 992px) {
    .book-carousel-container {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .book-carousel-container .owl-carousel .item {
        width: 45%;
        display: inline-block;
    }
}

@media (max-width: 991px) {
    .book-carousel-container .owl-carousel .item {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .entry-thumbnail {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        margin: 0 20px;
        /* Adjust this value to control the spacing between books */
    }
    .front-cover {
        /* Adjust this value to control the overlap */
        z-index: 2;
    }
    .back-cover {
        z-index: 1;
    }
    .entry-thumbnail img {
        margin: 0 0.2vw;
    }
}


/* For mobile devices */

@media (max-width: 767px) {
    .entry-thumbnail {
        position: relative;
        height: 250px;
        /* Adjust this value based on your image dimensions */
    }
    .front-cover {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        max-width: 50%;
        /* Adjust this value based on your image dimensions */
        max-height: 100%;
    }
    .back-cover {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        max-width: 50%;
        /* Adjust this value based on your image dimensions */
        max-height: 100%;
    }
}

ul.nostyle {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

ul.nostyle i {
    color: #45aed6;
}

.scaleIn {
    -webkit-animation-name: scaleIn;
    animation-name: scaleIn;
}

@media (min-width: 767px) {
    .navbar {
        padding: 20px 0;
        -webkit-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
        -moz-transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
        transition: background 0.5s ease-in-out, padding 0.5s ease-in-out;
    }
    .top-nav-collapse {
        padding: 0;
    }
}

@-webkit-keyframes scaleIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scaleIn {
    0% {
        opacity: 0;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}


/*************************
*******Header******
**************************/

.navbar.navbar-default {
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    background: #fff;
}

.navbar.navbar-default .navbar-toggle {
    margin-top: 16px;
}

.navbar.navbar-default .navbar-brand {
    height: auto;
    padding: 22px 15px 15px;
}

.navbar.navbar-default .navbar-brand img {
    height: auto;
    width: 250px;
}

@media only screen and (min-width: 768px) {
    #main-menu.navbar-default {
        background: rgba(255, 255, 255, 1);
        -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.1);
    }
    #main-menu.navbar-default .navbar-nav>li>a {
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 20px;
        font-family: "Roboto-regular";
        font-weight: normal;
    }
    #main-menu.navbar-default .navbar-nav>li.active>a,
    #main-menu.navbar-default .navbar-nav>li.open>a,
    #main-menu.navbar-default .navbar-nav>li:hover>a {
        background: transparent;
        border-top: 0px solid #ff6c00;
        color: #ff6c00;
    }
    #main-menu.navbar-default .dropdown-menu {
        padding: 0 20px;
        min-width: 220px;
        background-color: rgba(26, 28, 40, 0.9);
        border: 0;
        border-radius: 0;
        box-shadow: none;
        -webkit-box-shadow: none;
        background-clip: inherit;
    }
    #main-menu.navbar-default .dropdown-menu>li {
        border-left: 3px solid transparent;
        margin-left: -20px;
        padding-left: 17px;
        -webit-transition: border-color 400ms;
        transition: border-color 400ms;
    }
    #main-menu.navbar-default .dropdown-menu>li>a {
        border-top: 1px solid #404455;
        padding: 15px 0;
        color: #eeeeee;
    }
    #main-menu.navbar-default .dropdown-menu>li:first-child>a {
        border-top: 0;
    }
    #main-menu.navbar-default .dropdown-menu>li.active,
    #main-menu.navbar-default .dropdown-menu>li.open,
    #main-menu.navbar-default .dropdown-menu>li:hover {
        border-left-color: #45aed6;
    }
    #main-menu.navbar-default .dropdown-menu>li.active>a,
    #main-menu.navbar-default .dropdown-menu>li.open>a,
    #main-menu.navbar-default .dropdown-menu>li:hover>a {
        color: #45aed6;
        background-color: transparent;
    }
}

#main-slider {
    overflow: hidden;
}

#main-slider .item {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Adjust the height as needed */
    overflow: hidden;
}

#main-slider .item video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#main-slider .slider-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
}

#main-slider .slider-inner h2 {
    margin-top: 247px;
    font-size: 6vw;
    line-height: 1;
    text-transform: uppercase;
    font-family: "Roboto-thin";
    color: #fff;
    text-shadow: 2px 2px black;
    text-align: center;
}

#main-slider .slider-inner p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 25px;
    text-transform: capitalize;
    font-family: "Roboto-regular";
    color: #fff;
    text-shadow: 2px 2px black;
    text-align: center;
}

#main-slider .slider-inner h2>span {
    color: #45aed6;
}

#main-slider .slider-inner .btn {
    margin-top: 20px;
    background: transparent;
    border: 3px solid #f26522;
    border-radius: 30px;
    text-shadow: 2px 2px black;
}

#main-slider .slider-inner .btn.btn-primary {
    padding: 10px 46px;
    font-size: 22px;
}

#main-slider .slider-inner .btn.btn-primary:hover {
    background: #f26522;
}

#main-slider .owl-prev,
#main-slider .owl-next {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 30px;
    display: inline-block;
    margin-top: -35px;
    height: 70px;
    width: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 100px;
    z-index: 5;
    -webkit-transition: background-color 400ms;
    transition: background-color 400ms;
}

#author {
    background-size: cover;
    padding: 87px 0 80px 0;
}

#author h4 {
    color: #fff;
    margin-bottom: 0;
}

#author small {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
}

#author .btns {
    margin-top: 10px;
}

#author .col-sm-6 {
    border-bottom: 1px solid #f4f4f4;
    border-right: 1px solid #f4f4f4;
    padding-bottom: 20px;
}

#author .col-sm-6:nth-child(2n+0) {
    border-right: 0px solid #f4f4f4;
}

#author .col-sm-6:nth-child(3),
#author .col-sm-6:nth-child(4) {
    border-bottom: 0px solid #06f;
}

#author .panel-one {
    padding-bottom: 20px;
    padding-top: 20px;
    float: left;
    height: 200px;
    overflow: hidden;
}

#author .user-img {
    width: 25%;
    margin-right: 15px;
    float: left;
}

#author .user-img img {
    border-radius: 50%;
    border: 4px solid #e5e5e5;
    width: 100%;
}

#author .testi-info {
    width: 66%;
    float: left;
}

#author .testi-info h4 {
    font-size: 18px;
    color: #454545;
    margin: 0px;
    padding-top: 15px;
}

#author .testi-info h5 {
    font-size: 14px;
    color: #454545;
    margin: 0px;
    padding-bottom: 10px;
    font-weight: normal;
}

#author .testi-info p {
    font-size: 15px;
    color: #454545;
    line-height: 20px;
}

@media (max-width: 768px) {
    #author .row {
        margin-left: -35%;
    }
    .owl-item {
        max-width: 80% !important
    }
}

.divider {
    margin-top: 50px;
    margin-bottom: 50px;
    background-image: -moz-linear-gradient(180deg, #ffffff 0%, #e3e3e3 49%, #ffffff 100%);
    background-image: -webkit-linear-gradient(180deg, #ffffff 0%, #e3e3e3 49%, #ffffff 100%);
    background-image: -ms-linear-gradient(180deg, #ffffff 0%, #e3e3e3 49%, #ffffff 100%);
    width: 95%;
    height: 1px;
}

.nav.main-tab {
    background: #eee;
    border-bottom: 3px solid #222534;
    border-radius: 3px 3px 0 0;
}

.nav.main-tab>li>a {
    color: #272727;
}

.nav.main-tab>li.active>a {
    background: #222534;
    color: #45aed6;
}

.nav.main-tab>li:first-child>a {
    border-radius: 3px 0 0 0;
}

.nav.main-tab>li:last-child>a {
    border-radius: 0 3px 0 0;
}

.tab-content {
    border: 1px solid #eee;
    border-top: 0;
    padding: 20px 20px 10px;
    border-radius: 0 0 3px 3px;
}

.panel-default {
    border-color: #eee;
}

.panel-default>.panel-heading {
    background-color: #fff;
    border-color: #eee;
}

.panel-default>.panel-heading .panel-title {
    font-size: 14px;
    font-weight: normal;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #eee;
}

#animated-number {
    padding: 87px 0 87px;
    background: #132125 url(../images/bg.jpg) no-repeat 0 0;
    background-size: cover;
    color: #fff;
}

#get-in-touch {
    padding: 60px 0 50px;
    color: #454545;
    background: #f1f1f1;
}

#get-in-touch h1,
#get-in-touch h2 {
    color: #454545;
}

#get-in-touch .address {
    float: left;
    width: 100%;
    margin-bottom: 25px;
}

#get-in-touch .address h4 {
    font-size: 16px;
    color: #454545;
    margin: 0px;
    padding-bottom: 5px;
}

#get-in-touch .address p {
    font-size: 16px;
    color: #454545;
    margin: 0px;
    padding-bottom: 5px;
}

#get-in-touch .address a {
    color: #454545;
}

#get-in-touch .form-control {
    height: 40px;
    font-family: "Roboto-regular";
    color: #323232;
}

#get-in-touch textarea.form-control {
    height: 135px;
    color: #323232;
}

#get-in-touch .btn.btn-primary {
    font-family: "Roboto-medium";
    font-size: 22px;
    padding: 8px 40px;
}

#book {
    padding: 87px 0 87px 0;
    background: #f6f6f6;
    overflow: hidden;
}

#book .blog-post {
    padding: 15px;
    background: #fff;
}

#book .blog-post .item {
    height: 200px;
}

#owl-example .item {
    margin: 15px;
}

#owl-example p {
    text-align: left;
}

#book .blog-post .post-format {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 34px;
    text-align: center;
    color: #fff;
    background: #222534;
    border: 3px solid #fff;
    border-radius: 100px;
}

#book .blog-post.blog-large .entry-thumbnail {
    position: relative;
}

#book .blog-post.blog-large .entry-thumbnail img {
    max-width: 50%;
    #owl-example.owl-carousel {
        margin-left: auto;
        margin-right: auto;
        transform: translateX(-24.5%);
        /* Adjust the percentage as needed */
    }
    #owl-example.owl-carousel {
        margin-left: auto;
        margin-right: auto;
        transform: translateX(-24.5%);
        /* Adjust the percentage as needed */
    }
}

#book .blog-post.blog-large .post-format {
    width: 66px;
    height: 66px;
    line-height: 60px;
    position: absolute;
    right: 20px;
    bottom: -33px;
}

#book .blog-post.blog-large .post-format>i {
    font-size: 20px;
}

#book .blog-post.blog-large .entry-date {
    font-size: 12px;
    font-family: "Roboto-regular";
    display: block;
    margin-bottom: 5px;
    text-align: center;
    text-transform: uppercase;
    color: #45aed6;
}

#book .blog-post.blog-large .entry-title {
    margin-top: 0;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 15px;
}

#book .blog-post.blog-large .entry-title a {
    color: #64686d;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: normal;
    font-family: "Roboto-medium";
}

#book .blog-post.blog-large .entry-title a:hover {
    color: #45aed6;
}

#book .blog-post.blog-media {
    margin-bottom: 30px;
}

#book .blog-post.blog-media .entry-thumbnail {
    margin: -15px 15px -15px -15px;
    position: relative;
}

#book .blog-post.blog-media .post-format {
    position: absolute;
    top: 20px;
    right: -10px;
}

#book .blog-post.blog-media .entry-date {
    font-size: 12px;
    display: block;
    margin-bottom: 5px;
    text-transform: uppercase;
    color: #45aed6;
}

#book .blog-post.blog-media .entry-title {
    margin-top: 0;
    font-size: 18px;
    line-height: 1;
    margin-bottom: 15px;
}

#book .blog-post.blog-media .entry-title a {
    color: #64686d;
}

#book .blog-post.blog-media .entry-title a:hover {
    color: #45aed6;
}

#book .blog-post .entry-meta {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

#book .blog-post .entry-meta>span {
    display: inline-block;
    margin-right: 10px;
    color: #999;
}

#book .blog-post .entry-meta>span>a {
    color: #999;
}

#book .blog-post .entry-meta>span>a:hover {
    color: #45aed6;
}

#book .btn.btn-primary {
    font-family: "Roboto-regular";
    font-size: 15px;
    margin-top: 20px;
    padding: 10px 30px;
}

#book .owl-dots,
#book .owl-pagination {
    position: absolute;
    top: -30px;
    width: 100%;
    text-align: center;
}

#book .owl-dot,
#book .owl-page {
    display: inline-block;
    margin: 0 5px;
}

#book .owl-dot span,
#book .owl-page span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    display: block;
}

#book .owl-dot.active span,
#book .owl-page.active span {
    background: #45aed6;
}

@media (max-width: 1700px) {
    #book .row {
        margin-left: 0%;
    }
}

@media (max-width: 768px) {
    #book .row {
        margin-left: 0%;
    }
}

#contact {
    position: relative;
    overflow: hidden;
}

#contact .container-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(69, 174, 214, 0.3);
    z-index: 1;
}

#contact .contact-form {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    margin-top: 50px;
}

#contact .contact-form h3 {
    margin-top: 0;
}


/***********************
********* Footer ******
************************/

#form {
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    /* or any amount of space you want */
}

#footer {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
    background: #2e2e2e;
}

#footer a {
    color: #fff;
}

#footer a:hover {
    color: #45aed6;
}

#footer ul {
    list-style: none;
    padding: 0;
    margin: 0 -7.5px;
}

#footer ul>li {
    display: inline-block;
    margin: 0 7.5px;
}

@media only screen and (min-width: 768px) {
    #footer .social-icons {
        float: right;
    }
    .owl-item {
        max-width: 40% !important
    }
}

.form-control {
    box-shadow: none;
    -webkit-box-shadow: none;
}

@media (min-width: 768px) and (max-width: 999px) {
    #main-menu.navbar-default .navbar-nav>li>a {
        padding-left: 8px;
        padding-right: 8px;
        font-size: 15px;
    }
    #book .blog-post {
        margin-bottom: 20px;
    }
}

@media (max-width: 500px) {
    #book .blog-post.blog-large .entry-thumbnail img,
    .team-img img {
        width: 100%;
    }
    #book .blog-post.blog-large .entry-thumbnail {
        padding-top: 0px;
    }
}

.pulse {
    color: red;
    animation: pound 0.35s infinite alternate;
    -webkit-animation: pound 0.35s infinite alternate;
}

@-webkit-keyframes pound {
    to {
        transform: scale(1.1);
    }
}

@keyframes pound {
    to {
        transform: scale(1.1);
    }
}