@media only screen and (min-width: 1440px) {
    .insurance__card .details {
        width: 80%;
    }
    .container {
        max-width: 100% !important;
        padding-left: 80px !important;
        padding-right: 80px !important;
    }
}
@media only screen and (min-width: 1280px) {
    .headerimg {
        overflow: hidden;
        position: relative;
        height: 100vh;
    }
    .headerimg img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        -o-object-fit: cover;
        object-fit: cover;
    }
    .slider .carousel-item {
        /* height: 100vh; */
        overflow: hidden;
        position: relative;
    }
    .slider .carousel-item img {
        /* position: absolute; */
        width: 100%;
        height: auto;
        /* object-fit: contain; */
    }
    .insurance__card .details {
        width: 80%;
    }
}
@media only screen and (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: flex;
    }
    .dropdown-menu.show {
        display: flex;
    }
    .slider .carousel-caption {
        width: 60%;
    }
    .download-nav {
        flex-wrap: wrap;
    }
    li.nav-item.dropdown {
        position: inherit;
    }
}
@media only screen and (min-width: 768px) {
    .slider .carousel-caption {
        width: 80%;
    }
    .dropdown-menu ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .dropdown-menu ul li {
        margin-bottom: 20px;
        width: 50%;
    }
}
@media screen and (max-width: 1440px) {
    .insurance__card:hover .details {
        height: 230px;
    }
    #tamil .navbar li.nav-item a {
        font-size: 12px;
    }
    #tamil .lang-change,
    #tamil section.topbar a {
        font-size: 10px;
    }
    .slider__btn .inner img {
        width: 35px;
    }
}
@media only screen and (max-width: 1400px) {
    .slider__btn .inner img {
        width: 25px;
    }
    .slider__btn .inner p {
        font-size: 14px;
    }
    .slider__btn .inner.logo img {
        width: 70px;
    }
}
@media only screen and (max-width: 1280px) {
    .insurance__card {
        padding: 5px;
    }
    .insurance__card .details {
        width: 90%;
        right: 5px;
        padding: 5px;
    }
}
@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .float-box p {
        font-size: 44px;
    }
}
@media (max-width: 1199px) {
    .float-box p {
        font-size: 34px;
    }
}
@media only screen and (min-width: 1081px) and (max-width: 1280px) {
    #tamil .navbar li.nav-item a {
        font-size: 9px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    #tamil .qoute__inner {
        height: 50%;
        width: 80%;
    }
    #tamil .qoute__inner p {
        font-size: 28px;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1140px) {
    .dropdown:hover .dropdown-menu {
        width: 70vw;
        flex-wrap: wrap;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1080px) {
    .navbar li.nav-item a {
        font-size: 13px;
    }
    #tamil .navbar li.nav-item a {
        font-size: 8px;
    }
    #tamil .top-bar {
        justify-content: center;
    }
}
@media only screen and (max-width: 1024px) {
    body {
        font-size: 14px;
    }
    p {
        font-size: 16px;
    }
}
@media only screen and (max-width: 991px) {
    .dropdown-menu.show {
        flex-wrap: wrap;
        max-height: 350px;
        overflow-y: scroll;
    }
    .dropdown-menu::after {
        border-bottom: 19px solid rgba(255, 255, 255, 0);
        top: 10px;
    }
    .navbar-nav {
        background-color: var(--white-color);
    }
    .dropdown-menu {
        width: 100%;
        transform: none;
    }
    .dropdown-menu .magamenu-details h5 {
        font-size: 13px;
    }
    .dropdown-menu .magamenu-details p {
        line-height: 25px;
        font-size: 11px;
    }
    a.dropdown-item.imglink p.menu-t {
        font-size: 14px;
    }
    .dropdown-menu li .dropdown-item {
        padding: 0.5em 0;
    }
    a.dropdown-item.imglink p {
        padding-left: 40px;
    }
    a.dropdown-item.imglink img {
        width: 35px;
    }
    .topbar .container-fluid {
        padding: 0 2.5vw;
    }
    .top-bar {
        justify-content: center;
        flex-direction: column;
    }
    .top-header-right {
        margin-top: 10px;
    }
    .abtimg{
        width: 100%;
        margin-bottom: 40px;
    }
    .abtimg__inner {
        padding: 60px;
    }
    .abtimg__inner i {
        font-size: 3em;
    }
    .abtimg__inner p {
        font-size: 1rem;
    }
    .vacancies .pressrow {
        flex-direction: column;
    }
    .vacancies .pressrow .press-details {
        padding: 0;
        margin-top: 15px;
        word-break: break-all;
    }
    .newsevents .news-card {
        margin-bottom: 20px;
    }
    .sticky-header .navbar-nav {
        margin-left: unset;
    }
    .qoute__inner {
        position: relative;
        top: unset;
        margin-top: 30px;
        width: 100%;
        padding: 130px;
    }
    h3.topic {
        font-size: 36px;
    }
    .qoute__inner p {
        color: var(--white-color);
        font-size: 50px;
    }
    .qoute__inner i.fa-solid.fa-quote-left {
        font-size: 80px;
        top: 15px;
        left: 50px;
    }
    .qoute__inner i.fa-solid.fa-quote-right {
        font-size: 80px;
        bottom: 30px;
        right: 50px;
    }
    #tamil .upper-header {
        padding-left: unset;
        justify-content: center;
        flex-wrap: wrap;
    }
    .searchfilter .efilter__filter {
        margin-bottom: 10px;
    }
    .float-box {
        margin-top: 0;
    }
    .float-box p {
        font-size: 24px;
    }
    .float-box i,
    .float-box svg {
        font-size: 44px;
    }
    .navbar a.navbar-brand img {
        width: 120px;
    }
    .navbar a.navbar-brand {
        position: relative;
        right: 4vw;
        top: 0;
        padding-top: 0;
    }
    .navbar .stiky-nav {
        position: relative;
    }
    .navbar-collapse {
        position: absolute;
        top: 56px;
        background-color: var(--white-color);
        width: 100%;
        left: 0;
        height: 90vh;
    }
    .slider__btn {
        flex-flow: wrap;
        padding: unset;
        height: auto;
    }
    .slider__btn .inner {
        width: 20%;
        flex-flow: wrap;
        float: left;
        align-self: center;
    }
    .sticky-header {
        position: fixed;
        top: 70px !important;
    }
}
@media only screen and (max-width: 866px) {
    #tamil .top-header-right {
        margin-top: 10px;
    }
}
@media only screen and (max-width: 767px) {
    .top-header-right {
        margin-top: 10px;
    }
    .slider {
        font-size: 30px;
    }
    /* .slider .carousel-item {
        height: 65vh;
    } */
    .slider .carousel-item img {
        height: auto;
    }

    .slider__btn .inner {
        width: 25%;
        flex-flow: wrap;
        float: left;
        align-self: center;
    }
    .slider__btn .inner img {
        height: 60px;
        width: 55px;
    }
    .slider__btn .inner.hnbg-logo img,
    .slider__btn .inner.logo img {
        width: 90px;
        height: 90px;
    }
    .slider .carousel-caption {
        width: 80%;
        bottom: 10px;
    }
    .slider .carousel-caption h1 {
        font-size: 30px;
    }
    h3.topic {
        font-size: 35px;
    }
    .insurance__card {
        padding: 5px;
    }
    .insurance__card .details {
        width: 95%;
        right: 5px;
        padding: 5px;
    }
    .reports p {
        font-size: 25px;
    }
    .newsletter p {
        font-size: 25px;
    }
    .y-fill {
        padding: 10px 15px;
        background-color: var(--main-color-3);
        border-radius: 6px;
        color: var(--white-color);
        font-size: 15px;
        border: 2px solid var(--main-color-3);
    }
    .y-fill i {
        margin-left: 10px;
    }
    .b-fill {
        padding: 10px 15px;
        background-color: var(--main-color-3);
        border-radius: 6px;
        color: var(--white-color);
        font-size: 15px;
        border: 2px solid var(--main-color-3);
    }
    .b-fill:hover {
        color: var(--main-color-2);
    }
    .b-fill i {
        margin-left: 10px;
    }
    .w-fill {
        padding: 10px 15px;
        background-color: var(--white-color);
        border-radius: 6px;
        color: var(--main-color-2);
        font-size: 15px;
        border: 2px solid var(--white-color);
    }
    .w-fill i {
        margin-left: 10px;
    }
    .y-border {
        padding: 10px 15px;
        background-color: rgba(251, 172, 25, 0);
        border-radius: 6px;
        color: var(--main-color-2);
        font-size: 15px;
        border: 2px solid var(--main-color-2);
    }
    .y-border i {
        margin-left: 10px;
    }
    .y-border:hover {
        background-color: var(--main-color-2);
    }
    .vision .vm .icon {
        width: 30%;
    }
    .contactpage .imoji button.img-btn {
        width: 15%;
    }
    .contactpage .imoji button.img-btn img {
        width: 90%;
    }
    .pimg {
        overflow: hidden;
    }
    .insurance__card {
        margin-bottom: 50px;
    }
    .contact_dtails {
        text-align: center !important;
        justify-content: center !important;
        display: flex;
        flex-wrap: wrap;
    }

    .navbar.fixed-top {
        width: 100%;
        background-color: var(--main-color-3);
    }
    .newsevents .news-card {
        margin-bottom: 20px;
    }
    ol.breadcrumb.sub-topic {
        font-size: 12px;
    }
    .headerimg .pagetopic h1 {
        font-size: 30px;
    }
    .nav-vehicle .nav-item:last-child {
        width: 100% !important;
    }
    .nav-vehicle.insurance-you-bis .nav-item:last-child {
        width: 50% !important;
    }
    .nav-vehicle .nav-item {
        width: 50% !important;
    }
    .abt-nav .nav2 {
        margin-top: -70px;
    }
    .headerimg .pagetopic {
        padding: 15px 15px;
    }
    .searchfilter .efilter__filter {
        margin-bottom: 10px;
    }
    .efilter__submit {
        padding: 12px;
    }
    .abtimg__inner {
        bottom: -45px;
        left: -60px;
        width: 100%;
    }
    .navbar {
        position: absolute;
    }
    .sticky-header {
        position: fixed;
        top: 58px !important;
    }
    .cards-div {
        margin-bottom: 20px;
    }
    .annualreports .sinngle .year p {
        left: 86px;
    }
    #tamil .sticky-header {
        position: fixed;
        top: 55px !important;
    }
    .abt .abtimg {
        width: 100%;
        margin-bottom: 50px;
    }
    .insurance__card .details .text {
        padding-left: 30px;
        padding-right: 30px;
    }

    .insurance__row .owl-carousel .owl-nav button.owl-prev {
        left: 5px;
    }
    .insurance__row .owl-carousel .owl-nav button.owl-next {
        right: 5px;
    }
    .insurance__row .owl-carousel .owl-stage-outer {
        padding: 0;
    }
    .float-box {
        margin: 0 auto;
        float: unset;
        width: 66%;
        margin-bottom: 24px;
        max-height: 300px;
        height: 300px;
    }
    .float-box p {
        width: 42%;
    }
    h2.title,
    h2.title-white {
        font-size: 34px;
    }
    .section-title img {
        width: 44%;
        height: auto;
        margin-left: 12px;
    }
}
@media only screen and (max-width: 600px) {
    .sticky-container {
        top: 30%;
    }
    .slider {
        font-size: 30px;
    }
    /* .slider .carousel-item {
        height: 65vh;
    } */
    .slider .carousel-item img {
        height: auto;
    }
    .contact_dtails {
        padding: 5px 0;
    }
    .slider__btn {
        flex-flow: wrap;
        padding: inherit;
        height: auto;
    }
    .slider__btn .inner {
        width: 19%;
        flex-flow: wrap;
        float: left;
        align-self: flex-start;
        padding: 6px;
    }
    .slider__btn .inner img {
        height: 35px;
        width: 30px;
        margin-bottom: 0;
    }
    .slider__btn .inner.hnbg-logo img,
    .slider__btn .inner.logo img {
        width: 50px;
        height: 50px;
    }
    .slider__btn .inner p {
        font-size: 10px;
        margin-bottom: 0;
    }
    .navbar-nav {
        background-color: transparent;
    }
    h3.topic {
        font-size: 23px;
    }
    .navbar {
        position: relative;
        z-index: 1000;
        width: inherit;
        background-color: var(--main-color-3);
    }
    .footer .menu ul {
        display: block !important;
    }
    .qoute__inner {
        position: relative;
        top: 25px;
    }
    .eservices {
        margin-top: 20px;
    }
    .eservices .card {
        width: 100%;
    }
    .insurance__card {
        margin-bottom: 50px;
    }
    .insurance__card .details .icon p {
        min-height: 60px;
        margin: 0;
        padding: 20px 0;
    }
    .insurance__card .details .icon img {
        margin: 0;
        margin-right: 10px;
        margin-left: 10px;
    }
    .testimonials__inner {
        width: 100%;
    }
    .testimonials .carousel-inner {
        padding: 0;
    }
    .newsevents .news-card {
        margin-bottom: 20px;
    }
    .newsevents img.ellipse {
        position: absolute;
        right: -38%;
        width: 62%;
        top: -7%;
    }
    .newsletter p {
        margin-bottom: 20px;
    }
    .headerimg {
        position: relative;
        overflow: hidden;
    }
    .headerimg img {
        height: 70vh;
    }
    .headerimg .pagetopic {
        top: 45%;
    }
    .headerimg .pagetopic h1 {
        font-size: 30px;
    }
    ol.breadcrumb.sub-topic {
        font-size: 12px;
    }
    .abt-nav .nav2 .nav-item {
        width: 50%;
        border-bottom: 2px solid #f3f3f3;
    }
    .abt-nav .nav2 .nav-item .nav-link {
        height: 100%;
    }
    .abt .abtimg {
        width: 100%;
        margin-bottom: 50px;
    }
    .vision .img {
        margin-bottom: 30px;
    }
    .vision .vm .icon {
        width: 30%;
    }
    .contactpage .imoji button.img-btn {
        width: 19%;
        margin: 0;
    }
    .contactpage .imoji button.img-btn img {
        width: 100%;
    }
    .download-nav .nav-item {
        width: 50% !important;
    }
    .epay-nav {
        width: 100%;
    }
    .eMarine-nav {
        width: 100%;
    }
    .efilter__submit {
        padding: 8px;
    }
    .innerabtimg {
        width: 100%;
    }
    .innerabtimg img {
        margin: 0 !important;
    }
    .pressroom .pressrow img {
        position: relative;
        width: 100% !important;
    }
    .searchfilter .efilter__filter {
        margin-bottom: 10px;
    }
    .vacancies .pressrow {
        display: block !important;
    }
    .vacancies .pressrow .pimg img {
        position: relative;
        width: 100% !important;
    }
    .nav-vehicle .nav-item {
        width: 50% !important;
    }
    .nav-vehicle .nav-item:last-child {
        width: 100% !important;
    }
    .nav-vehicle.insurance-you-bis .nav-item:last-child {
        width: 50% !important;
    }
    /* .abt-nav .nav2 .nav-item:last-child {
        width: 100%;
    } */
    .tabber .tabdev {
        display: block !important;
    }
    .tabber .tabdev .nav {
        margin-bottom: 20px;
    }
    .footer .brand img {
        width: 200px;
    }
    section.topbar a {
        font-size: 12px;
    }
    .lang-change {
        font-size: 12px;
    }
    .top-header-right {
        margin-top: 0;
    }
    .cards-div {
        margin-bottom: 20px;
    }
    .values .card {
        margin-bottom: 0;
    }
    .qoute__inner p {
        color: var(--white-color);
        font-size: 42px;
    }
    .abtimg__inner {
        padding: 30px;
    }
    .abtimg__inner {
        bottom: -20px;
        left: 0;
    }
    .navbar a.navbar-brand img {
        border-radius: 0 0 10% 10%;
        width: 120px;
    }
    .insurance__row .owl-nav .owl-next {
        right: 10px;
    }
    .insurance__row .owl-nav .owl-prev {
        left: 10px;
    }
    .sticky-header {
        position: fixed;
        top: 54px !important;
    }
    #tamil .sticky-header {
        position: fixed;
        top: 78px !important;
    }
    .slider .carousel-indicators {
        display: none;
    }
}
@media screen and (max-width: 575px) {
    .annualreports .sinngle .year p {
        left: 30px;
    }
    .paginationrow nav li.page-item:nth-child(4),
    .paginationrow nav li.page-item:nth-child(5) {
        display: none;
    }
    .navbar a.navbar-brand {
        right: 2vw;
    }
}
@media screen and (max-width: 456px) {
    #sinhala .sticky-header {
        top: 70px !important;
    }
}
@media screen and (max-width: 428px) {
    .sticky-header {
        top: 82px !important;
    }
}
@media screen and (max-width: 399px) {
    .nav-vehicle.insurance-you-bis .nav-item:last-child {
        width: 100% !important;
    }
    .nav-vehicle.insurance-you-bis .nav-item {
        width: 100% !important;
    }
}
