.navbar-brand,
li.dropdown {
    align-items: center;
    display: flex
}

.navbar,
.navbar-toggle {
    border: none
}

.contact-form-wrapper-title:after,
.footer-section-heading:after {
    content: "";
    background-color: #c50;
    border-radius: 999px;
    display: block
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

* {
    font-family: Inter, sans-serif
}

body,
html {
    overflow-x: hidden
}

.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    padding: .8rem 5%
}

.navbar-brand {
    padding: 0
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform .3s
}

.logo-img:hover {
    transform: scale(1.05)
}

.navbar-nav>li>a {
    color: #333 !important;
    font-weight: 500;
    font-size: 1.6rem;
    transition: color .3s;
    padding: 15px 24px
}

.navbar-nav>li>a:hover {
    color: #21409a !important
}

.navbar-toggle .icon-bar {
    background-color: #333
}

.navbar-nav .dropdown-menu {
    background-color: #fff;
    border: 1px solid #cce0ff;
    border-radius: 4px;
    min-width: 230px;
    padding: 5px 0
}

li.dropdown>.parent-link {
    padding: 15px 1px 15px 15px
}

li.dropdown>.submenu-caret {
    border: none;
    background: 0 0;
    min-width: 38px;
    min-height: 38px;
    margin-left: 3px;
    cursor: pointer
}

li.dropdown>.submenu-caret .caret {
    border-top-width: 6px;
    border-right-width: 6px;
    border-left-width: 6px
}

li.dropdown ul.dropdown-menu li:not(:last-child) {
    margin-bottom: 1px
}

li.dropdown ul.dropdown-menu li {
    padding: 5px 1px;
    font-size: 1.5rem
}

.dropdown-submenu {
    position: relative
}

.dropdown-submenu>.submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #000;
    padding: 8px 16px;
    font-weight: 500;
    text-decoration: none;
    user-select: none;
    cursor: pointer
}

.dropdown-submenu>.submenu-link:hover {
    color: #000
}

.submenu-text {
    display: inline-block
}

.sub-icon {
    width: 12px;
    height: auto;
    margin-left: 8px;
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), opacity 180ms;
    transform-origin: 50% 50%
}

.dropdown-submenu.open>.submenu-link .sub-icon,
.dropdown-submenu:hover>.submenu-link .sub-icon {
    transform: rotate(90deg)
}

.dropdown-submenu>.dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #fff;
    border: 1px solid #cce0ff;
    min-width: 200px;
    padding: 5px 0;
    z-index: 1050
}

.dropdown-menu>li>a,
.navbar-default .navbar-nav .open .dropdown-menu>li>a {
    font-weight: 500
}

.mw-submenu {
    padding: 3px 17.5px !important
}

@media (min-width:768px) {

    .dropdown-submenu:hover>.dropdown-menu,
    .dropdown:hover>.dropdown-menu {
        display: block
    }
}

.navbar-nav .dropdown-menu>li>a:hover {
    background: #dddcdcdd;
    color: #000
}

@media (max-width:767px) {
    .navbar-nav {
        text-align: center
    }

    .navbar-nav>li {
        margin: 5px 0
    }

    .dropdown-menu>li>a {
        font-weight: 500
    }

    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        text-align: center;
        font-weight: 500
    }

    li.dropdown {
        display: block
    }

    li.dropdown>.parent-link,
    li.dropdown>.submenu-caret {
        display: inline-block
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        width: 100%;
        border: none;
        box-sizing: border-box
    }

    .dropdown-submenu>.submenu-link {
        display: block;
        position: relative;
        text-align: center;
        padding: 10px 44px 10px 16px;
        box-sizing: border-box;
        color: #666
    }

    .dropdown-submenu>.submenu-link .submenu-text {
        margin: 0 auto
    }

    .dropdown-submenu>.submenu-link .sub-icon {
        transform: translateY(-50%);
        margin-left: 4px;
        margin-top: 0;
        transform: rotate(90deg)
    }

    .dropdown-submenu>.dropdown-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100%;
        margin-top: 6px;
        padding-left: 12px;
        border: none;
        display: none;
        box-sizing: border-box
    }

    .dropdown-submenu.open>.submenu-link {
        background: #fff;
        color: #000
    }
}

.dropdown-menu>.active>a,
.dropdown-submenu.active>.submenu-link,
.navbar-nav>li.active>a {
    background-color: #fff !important;
    color: #21409a !important;
    font-weight: 600
}

footer {
    background: #183659;
    color: #fff;
    padding: 15px 5%;
    text-align: center
}

.footer-wrapper {
    margin-bottom: -1rem
}

.footer-content {
    max-width: 85%;
    margin: 0 auto 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    text-align: left
}

.footer-content img {
    margin-top: 2rem;
    width: 12rem;
    height: auto
}

.footer-section-heading {
    font-size: 2.5rem !important;
    margin-bottom: 1rem !important;
    color: #fff !important
}

.footer-section-heading:after {
    width: 24px;
    height: 2.5px;
    margin-top: 1px
}

.footer-section a,
.footer-section p {
    color: #bbb;
    text-decoration: none;
    display: block;
    margin-bottom: .5rem
}

.footer-section a:hover,
.line-block a {
    color: #fff
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 1rem;
    color: #bbb
}

.designed-by {
    text-align: center
}

.designed-by a,
.designed-by a:hover {
    color: #bbb
}

.giffy-logo {
    width: 2%
}

.btn-div {
    margin-bottom: 2rem;
    text-align: center
}

.amazon--book-btn {
    display: inline-block;
    background-color: #fff;
    padding: 10px 28px;
    border: none;
    border-radius: 50px;
    font-size: 1.5rem;
    color: #183659;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}

.amazon--book-btn:focus,
.amazon--book-btn:hover {
    color: #000;
    text-decoration: none;
}

.amazon--book-btn:hover {
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.amazon--book-btn .button-img {
    width: 25px;
    margin-right: 1rem;
}

@media (max-width:768px) {
    .giffy-logo {
        width: 5%
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
    }
}

.contact {
    padding: clamp(40px, 6vw, 80px) 5%;
    background: #f8f9fa;
    width: 100%;
    box-sizing: border-box
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: clamp(1rem, 3vw, 3rem);
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, .1)
}

.contact-form-wrapper,
.contact-info {
    padding: clamp(1rem, 4vw, 3rem);
    width: 100%;
    box-sizing: border-box
}

.contact-form-wrapper-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem
}

.contact-form-wrapper-title:after {
    width: 30px;
    height: 3px;
    margin-top: .5rem
}

.contact-info {
    background: linear-gradient(135deg, #0279d3 0, #61adf4 100%);
    color: #fff;
    display: flex;
    flex-direction: column
}

.contact-info p {
    margin-bottom: .6rem;
    word-wrap: break-word;
    word-break: break-word
}

.contact-info-title {
    font-size: 4rem
}

.contact-info-subtitle {
    margin-bottom: 1.2rem !important
}

.info-details-title {
    font-size: 2.5rem
}

.info-item {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(.8rem, 2vw, 1.5rem);
    align-items: flex-start;
    margin-bottom: 1.3rem
}

.info-icon {
    font-size: 2rem;
    width: clamp(40px, 8vw, 60px);
    height: clamp(40px, 8vw, 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    margin-top: .8rem
}

.info-icon img {
    width: 80%;
    height: auto
}

.info-details {
    margin-left: 1rem;
    flex: 1 1 auto;
    min-width: 0
}

.line-block {
    display: block;
    line-height: 1.4;
    word-break: break-word
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem
}

.social-icon {
    background: #fffbfbc2;
    padding: 1rem;
    border-radius: 68px;
    text-decoration: none;
    transition: background .3s
}

.social-icon:hover {
    background: rgba(255, 255, 255, .3)
}

.partner-referral-btn {
    font-size: 1.5rem;
    font-weight: 500;
    color: #000 !important;
    padding: 1rem 1.6rem
}

.partner-referral-btn:focus {
    color: #000 !important
}

.socialimg {
    width: 30px;
    height: auto
}

.contact-form,
.contact-form-wrapper,
.form-group,
.form-row,
.submit-btn {
    width: 100%
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(.8rem, 2vw, 1.5rem);
    box-sizing: border-box
}

.form-group label {
    display: block;
    margin-bottom: .4rem;
    font-size: 1.6rem
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: clamp(10px, 2vw, 12px);
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1.3rem;
    transition: border-color .3s;
    box-sizing: border-box
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 0;
    border-color: #0976c7
}

.form-group textarea {
    resize: vertical;
    min-height: 120px
}

.submit-btn {
    padding: clamp(12px, 2vw, 15px) clamp(20px, 4vw, 40px);
    border: none;
    border-radius: 50px;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #0279d3 0, #61adf4 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, .3)
}

.sms-text {
    font-size: 1.35rem;
    color: #6b7280;
    display: inline-block;
    line-height: 1.6rem;
    vertical-align: middle;
    margin-left: .6rem
}

@media (max-width:800px) {
    .contact-wrapper {
        grid-template-columns: 1fr
    }

    .contact-info-title {
        font-size: 3rem
    }

    .info-details-title {
        font-size: 2rem
    }

    .contact-form-wrapper-title {
        font-size: 2.1rem
    }

    .sms-text {
        font-size: 1.1rem
    }
}

@media (max-width:480px) {
    .contact {
        padding: 25px 4%
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
        border-radius: 10px
    }

    .contact-form-wrapper,
    .contact-info {
        padding: 1.2rem
    }

    .info-item {
        flex-direction: row;
        align-items: flex-start;
        gap: .8rem
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
        padding-left: 1rem
    }

    .info-icon img {
        width: 35px;
        height: auto
    }

    .contact-info-title {
        font-size: 2.6rem
    }

    .info-details-title {
        font-size: 1.7rem
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: .8rem
    }

    .submit-btn {
        padding: 10px 20px
    }

    .socialimg {
        width: 21px
    }

    .social-links {
        margin-bottom: 1.2rem
    }
}

@media (max-width:350px) {
    .contact {
        padding: 20px 3%
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: .6rem
    }

    .contact-info-title {
        font-size: 2.3rem
    }

    .info-details-title {
        font-size: 1.5rem
    }
}

@media (min-width:1790px) {
    .navbar {
        padding: 1.5rem 5%
    }

    .navbar-nav>li>a {
        font-size: 2rem;
        padding: 15px 30px
    }

    .navbar-nav .dropdown-menu {
        min-width: 280px
    }

    .dropdown-submenu>.dropdown-menu {
        min-width: 300px
    }

    .dropdown-menu>li>a,
    .dropdown-submenu>.submenu-link,
    li.dropdown ul.dropdown-menu li {
        font-size: 2rem
    }
}

.topRatedArticleholder,
.topViewedArticleholder {
    padding-left: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 1%;
    padding-right: 0 !important;
    border-radius: 20px;
    box-shadow: 1px 0 30px #00000026
}

.blog-banner {
    background-image: url("https://storage.googleapis.com/giffycms-konnectryx.appspot.com/5705333204844544");
    height: 50vh;
    background-position: center;
    background-size: cover;
    margin-bottom: 6rem;
    margin-top: 4rem;
    background-repeat: no-repeat
}

#allArticlesHolder,
#first-column,
#searchForm,
.column-header,
.story-upcoming,
.topicHolder {
    display: none
}

.column-one {
    background-color: #fff !important
}

.article-image-container img,
.article-mostViewd-image-container img {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px
}

.topRatedArticleholder {
    width: 97%;
    margin-bottom: 3rem
}

.topViewedArticleholder {
    width: 76%;
    margin: 21px 12% 3.5rem
}

#topViewedArticlesHolder {
    margin-right: 2em;
    margin-top: 0
}

#topRatedArticlesHolder {
    margin-right: 2em
}

.topViewedStoryholder {
    float: left;
    text-align: left;
    width: 92%;
    padding-left: 20px;
    background-color: #fff;
    padding-top: 3%;
    padding-bottom: 7%
}

.blog-inner-banner {
    margin-bottom: 6rem
}

.story-header-image,
.story-page-header,
.top-article-share {
    display: none !important
}

#relatedArticles {
    margin-top: -1em
}

#storytext {
    margin-bottom: 10rem !important
}

.carousel-inner>.item>a>img,
.carousel-inner>.item>img,
.img-responsive,
.thumbnail a>img,
.thumbnail>img {
    cursor: pointer
}

.footeroverlay #container {
    height: 53px
}

#uparrow img {
    width: 3% !important
}

.fbshareButton img,
.lkshareButton img,
.twshareButton img {
    width: 5% !important
}

#viewArticleDiv {
    width: 98% !important
}

/* new added code by Antora */

.navbar-right-icons img {
    width: 30px;
    cursor: pointer;
    position: relative
}

/* DESKTOP FIX */
.navbar-right-icons {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

/* MOBILE CART */
.mobile-cart {
    display: none;
}

.cart-badge {
    position: absolute;
    top: -13px;
    right: -5px;
    background: #ff5758;
    color: #fff;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 50%;
    font-weight: 700
}

.total-price-heading,
.total-price-value {
    font-weight: 600;
    font-size: 1.8rem
}

.cart-wrapper {
    position: relative
}

.cart-popup {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
    width: 300px;
    display: none;
    transform-origin: top;
    transition: transform .4s, opacity .4s;
    position: fixed;
    top: 40px;
    right: 25px;
    border-radius: 0;
    flex-direction: column;
    padding: 20px;
    z-index: 99999
}

.close-cart-popup {
    background: 0 0;
    color: #333;
    border: none;
    font-size: 2.5rem;
    position: absolute;
    right: 25px;
    top: 30px
}

.cart-footer,
.total-price-div {
    padding-top: 10px;
    border-top: 1px solid #ddd
}

.close-cart-popup:hover {
    color: #06c;
    cursor: pointer
}

.cart-popup h2 {
    font-size: 18px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 10px;
    user-select: none
}

#emptyMessage {
    text-align: left;
    color: #333;
    font-size: 16px;
    margin: 10px 0 15px;
    display: none;
    user-select: none
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    max-height: 200px;
    overflow-x: hidden;
}

.total-price-value {
    margin-left: 2rem
}

.cart-items li {
    list-style: none;
    border-bottom: 1px solid #ddd;
    margin: 1rem 0;
    padding-bottom: 1rem
}

.cart-items img {
    width: 60px;
    cursor: unset
}

.cart-footer {
    display: none;
    text-align: center;
}

.cart-footer button {
    display: inline-block;
    padding: 7px 23px;
    border: none;
    border-radius: 50px;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #0279d3 0, #61adf4 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    margin-top: 1.5rem;
    margin-bottom: 1.6rem;
}

.cart-footer button:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.item-controls button {
    background: 0 0;
    border: none;
    color: #333;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 5px
}


@media only screen and (max-width:498.98px) {
    .blog-banner {
        background-image: url("https://storage.googleapis.com/giffycms-konnectryx.appspot.com/5705333204844544");
        height: 35vh
    }

    /* show cart in header */
    .mobile-cart {
        display: inline-block;
        position: absolute;
        right: 92px;
        top: 20px;
        z-index: 1000;
    }

    /* hide desktop cart */
    .navbar-collapse .navbar-right-icons {
        display: none;
    }

    .mobile-cart img {
        width: 26px;
    }

    .cart-popup {
        width: auto;
        top: 45px;
        right: 10px;
    }
}

@media only screen and (min-width:499px) and (max-width:575.98px) {
    .blog-banner {
        height: 40vh;
        background-image: url("https://storage.googleapis.com/giffycms-konnectryx.appspot.com/5705333204844544")
    }

    /* show cart in header */
    .mobile-cart {
        display: inline-block;
        position: absolute;
        right: 92px;
        top: 20px;
        z-index: 1000;
    }

    /* hide desktop cart */
    .navbar-collapse .navbar-right-icons {
        display: none;
    }

    .mobile-cart img {
        width: 26px;
    }

    .cart-popup {
        width: auto;
        top: 45px;
        right: 10px;
    }
}

@media only screen and (min-width:576px) and (max-width:767.98px) {
    .blog-banner {
        height: 45vh
    }

    /* show cart in header */
    .mobile-cart {
        display: inline-block;
        position: absolute;
        right: 92px;
        top: 20px;
        z-index: 1000;
    }

    /* hide desktop cart */
    .navbar-collapse .navbar-right-icons {
        display: none;
    }

    .mobile-cart img {
        width: 26px;
    }

    .cart-popup {
        width: auto;
        top: 45px;
        right: 10px;
    }
}

@media only screen and (max-width:768px) {

    .fb-story-img,
    .lk-story-img,
    .tw-story-img {
        padding: 2px 1px 3px 2px !important;
        width: 20px !important;
        height: auto !important
    }

    .tw-story-img {
        margin-left: 7px !important
    }

    .lk-story-img {
        margin-top: 8px !important
    }

    .topViewedStorySocialIcon {
        display: block !important
    }

    .social-arrow-image:hover .footeroverlay {
        position: relative;
        bottom: 30px
    }

    #mobileHeaderTab {
        display: none
    }

    .topViewedArticleholder {
        margin: -25px auto 4rem
    }

    #second-column,
    #third-column {
        width: 100%;
        display: block
    }

    .trendyFooter {
        display: block
    }
}

@media only screen and (min-width:1700px) {
    .topViewedArticleholder {
        width: 100%;
        margin: 21px 0 3.5rem
    }
}