nav#main-menu ul {
    margin: 0px;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav#main-menu li a {
    font-weight: 400;
    font-size: 14px;
    padding-bottom: 5px;
    line-height: 160%;
    color: #000;
    text-decoration: none;
}

nav#main-menu li {
    padding: 0px 15px;
}

nav#main-menu li a.btn-primary {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    padding: 5px 12px;
}

#main-menu ul>li:hover>a,
ul.main-menu>li.active>a {
    border-bottom: 5px solid #153a8a;
}


#main-menu ul li ul {
    list-style: none;
    margin: 0;
    background: #153a8a;
    position: absolute;
    text-align: left;
    padding: 0px 5px;
    top: 34px;
    opacity: 0;
    display: none;
    transition: opacity 1s ease-out;
    width: 200px;
    z-index: 99;
}

#main-menu ul li:hover ul {
    animation: fade_in_show 0.5s;
    opacity: 1;
    display: block;
}

#main-menu ul li ul li {
    border-bottom: 1px solid #fff;
    padding: 0;
}

#main-menu ul li ul li a {
    text-align: left;
    color: #fff;
    text-transform: capitalize;
    width: 100%;
    padding: 8px 10px;
    border: none !important;
    display: inline-block;
}

.rulesregul-contents ul {
    margin: 0;
    padding: 0px 0px 0px 20px;
}

.rulesregul-contents ul li {
    margin-bottom: 10px;
    line-height: 2;
}

.lightbox {
    display: none;
}

.lightbox.active {
    display: block;
}



@keyframes fade_in_show {
    0% {
        opacity: 0;
        transform: fade(0)
    }

    100% {
        opacity: 1;
        transform: fade(1)
    }
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited {
    background: #153A8A;
    border-radius: 42px;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0.04em;
    color: #FFFFFF;
    border: 1px solid #153A8A;
    padding: 10px 25px;
}

.btn-primary:hover,
.btn-primary:focus,
nav#main-menu li a.btn-primary:hover,
nav#main-menu li a.btn-primary:focus {
    background: transparent;
    border: 1px solid #153A8A;
    color: #153A8A;
}

.owl-carousel.twocolowl .owl-item .item img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;

}

.owl-carousel.singlecolowl .owl-item .item img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;

}

.owl-carousel.twocolowl .owl-nav,
.owl-carousel.singlecolowl .owl-nav {
    text-align: right;
}

.owl-carousel.owl-theme.twocolowl::before {
    background: url(../images/Klogo.png) 60px 100% no-repeat;
    content: "";
    display: block;
    position: absolute;
    bottom: -40px;
    width: 210px;
    height: 170px;
    z-index: 2;
}

.owl-carousel.twocolowl .owl-nav button.owl-next,
.owl-carousel.twocolowl .owl-nav button.owl-prev,
.owl-carousel.singlecolowl .owl-nav button.owl-next,
.owl-carousel.singlecolowl .owl-nav button.owl-prev {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    background: #29B355;
    color: #fff;
    font-size: 28px;
    text-align: center;
    outline: none;
}

ul.listitem {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

ul.listitem li {
    padding: 0px 15px;
    /* display: inline; */
    margin-bottom: 15px;
}


ul.listicoinfo li img {
    width: 60px;
    margin-right: 40px;
}

ul.listicoinfo {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 15px;
    display: flex;
    flex-direction: column;
}


ul.activelistitem {
    margin: 0;
    padding: 0px;
    list-style: none;

}

ul.activelistitem li {
    padding-bottom: 30px;
    position: relative;
    padding-left: 40px;
    border-left: 2px dotted #c9c9c9;
}

ul.activelistitem li:before {
    height: 25px;
    width: 25px;
    background-color: #ecf7fd;
    border-radius: 50%;
    content: "";
    display: inline-block;
    position: absolute;
    left: -14px;
    top: 0px;
    border: 1px solid #153A8A;
}

ul.activelistitem li h5 {
    margin-bottom: 5px;
}

ul.activelistitem li:last-child {
    border: none;
}

section.kannammasuccesswrap .owl-carousel.singlecolowl .owl-nav {
    text-align: left;
}

.footermenu ul.no-list li {
    padding-bottom: 20px;
}

.card_slot .row {
    width: calc(100% - 150px);
    min-height: 350px;
}

.card_slot_right {
    position: absolute;
    right: -150px;
    left: auto;
    top: -80px;
    width: 300px;
    padding: 0;

}

.gallerywrap .item .text {
    position: absolute;
    bottom: 0;
    background: #fff;
    left: 0;
    right: 0;
    text-align: center;
}

.row.gallerywrap {
    margin: 0px;
}

.row.gallerywrap .item {
    padding: 0;
    margin: 0px 0px 20px 0px;
}

.gallerywrap .item .text h6 {
    font-weight: bold;
    padding: 10px 0px;
    margin-bottom: 0;
}

.albumwrap .item .text {
    display: flex;
    padding: 10px 0px;
    align-items: center;
}

.albumwrap .item .text h6 {
    margin-bottom: 0px;
    color: #000000;
}

.albumwrap .item .text .btn-secondary {
    margin-left: auto;
}

.albumwrap .item {
    margin-bottom: 30px;
}

/* .animate-transition {
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
}

.animate-transition.active {
    opacity: 1;
} */
.transitionwidth {
    transition: width 0.5s;
}


.videocontainer {
    height: 100%;
    margin: 0 auto;
    width: 1024px;
    transform-origin: center center;
    transform: scale(0.75);
    transition: transform 0.5s ease-out;

    /* transform: scale(0.7957) translateX(-50%); */
    /*   transform-origin: top left;
    transform: scale(0.7957, 0.795732) translateX(-50%) translateY(-50%); */


}

.videocontainer.w-100 {
    width: 100%;
    max-width: 100%;
}

.videorow {

    width: 100%;
    /* Set the initial section width */
    transition: width 0.5s ease;
    /* Add transition for smooth animation */
}


#youtubevideo {
    height: 100vh;
}

.animatedImage,
.animatedContent {
    opacity: 0;
}

.animated-div {
    opacity: 0;
    transform: translateX(0%);

}

.animated-div2 {
    opacity: 0;
    transform: translateX(0%);


}



ul.wkimages {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

ul.wkimages li,
ul.wkimages li img {
    width: 300px;
    min-height: 200px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}



section.homebanner:after {
    position: absolute;
    content: "";
    bottom: 50px;
    right: 0;
    background: url("../images/linerigt.png") no-repeat;
    background-size: contain;
    display: block;
    z-index: 1;
    width: 130px;
    height: 170px;
}

section.videosectionhome:after {
    position: absolute;
    content: "";
    top: 20%;
    left: 0;
    background: url("../images/lineleft.png") no-repeat;
    background-size: contain;
    display: block;
    width: 130px;
    height: 170px;
    z-index: -1;
}

.footer .btn.btn-secondary {
    color: #fff;
    border: 1px solid #fff;
}

.footer .btn.btn-secondary:hover,
.footer .btn.btn-secondary:focus {
    background: #fff;
    color: #153A8A;
}

a.back-to-top {
    position: fixed;
    display: none;
    right: 20px;
    bottom: 20px;
    z-index: 99;
    line-height: 1;
    width: 48px;
    height: 48px;
    padding: 0;
    text-align: center;
    line-height: 48px;
    font-weight: 400;
    background: #29b355;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: .5s;
}

section.aboutintro {
    position: relative;
}

section.aboutintro::before {
    position: absolute;
    content: "";
    top: 50px;
    right: 0;
    background: url(../images/linerigt.png) no-repeat;
    background-size: contain;
    display: block;
    z-index: 1;
    width: 130px;
    height: 170px;
    background-size: contain;
}


section.aboutintro:after {
    position: absolute;
    content: "";
    bottom: 50px;
    left: 0;
    background: url(../images/lineleft.png) no-repeat;
    background-size: contain;
    display: block;
    z-index: 1;
    width: 130px;
    height: 170px;
    background-size: contain;
}

section.aboutintro.mgmtintro::before {
    background: url(../images/management/leftfling.png) no-repeat;
    left: 0;
    background-size: contain;

}

section.aboutintro.mgmtintro::after {
    background: url(../images/management/fingright.png) no-repeat;
    right: 0;
    left: auto;
    bottom: 50%;
    background-size: contain;
}



@keyframes count {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media (min-width:1600px) {

    .waykannammal .item {
        padding: 0px 40px;
    }
}

@media (min-width: 992px) and (max-width:1599px) {
    nav#main-menu li {
        padding: 0px 10px;
    }
}

@media (min-width: 992px) and (max-width:1200px) {
    nav#main-menu li {
        padding: 0px 8px;


    }

    nav#main-menu li a {
        font-size: 12px;
    }

    section.aboutintro::before,
    section.aboutintro::after {
        display: none;
    }

}

@media (min-width: 1200px) {


    .kannammasuccesswrap a.btn.btn-primary {
        float: right;
        top: -70px;
        position: relative;
        z-index: 2;
    }

    .kannammasuccesswrap .owl-carousel.owl-theme.singlecolowl:before {
        content: "";
        position: absolute;
        right: 30px;
        top: -160px;
        width: 200px;
        height: 380px;
        background: url(../images/Greenbgslider.png) no-repeat;
        background-size: contain;
        z-index: 3;
    }

    .footermenu ul.no-list {
        margin-top: 60px;
    }




}

@media (min-width: 992px) {

    .menuicon {
        display: none;
    }


    section.homebanner {
        height: calc(100vh - 180px);
    }

    .windowheight {
        height: 100vh;
    }

    .fullsection {
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .centerImage img {
        margin-top: 100px;
        margin-bottom: 40px;
    }

    .overlayimageAbout {
        width: 380px;
        position: absolute;
        right: 15px;
        top: 0px;
    }

    .aboutintro .boxwrap {
        width: calc(100% - 200px);
        padding-right: 250px !important;
    }

    .w-md-75 {
        width: 75%;
    }

    .w-md-60 {
        width: 60%;
    }


    .w-nd-50 {
        width: 50%;
    }

    nav#main-menu {
        display: block !important;
    }

    .wkimg2 img {
        position: absolute;
        top: 150px;
        right: 0;
    }

    .wkimg3 img {
        position: absolute;
        top: 400px;
    }

    body {
        overflow-x: hidden;
    }

}


@media (min-width: 0) and (max-width:991px) {
    .container {
        width: 100%;
    }

    header .container {
        width: 100%;
        position: relative;
        padding: 0px 15px;
    }

    .card_slot_right {
        position: relative;
        right: auto;
        margin-top: 30px;
        top: auto;
        display: table;
        margin: 15px auto;
        display: block;
        padding: 0px 15px;
    }

    .card_slot_Left {
        padding: 0px 15px;
    }

    .card_slot .row {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 20px 0px;
    }

    nav#main-menu {
        box-shadow: 0px 3px 3px rgb(0 0 0 / 10%);
        padding-top: 0;
        position: absolute;
        width: 100%;
        top: 83px;
        z-index: 11;
        right: 0;
        display: none;
    }

    nav#main-menu ul {
        background: #ffffff;
        padding: 30px 0;
        margin-bottom: 0;
        display: block;
    }

    nav#main-menu ul li {
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
    }

    nav#main-menu ul li a {
        color: #000;
        display: block;
        padding: 8px 30px;
        font-size: 16px;
        font-weight: 400;
    }

    a.menuicon {
        display: block;
        background: url(../images/menuicon.png) no-repeat;
        background-size: 32px;
        width: 32px;
        height: 32px;
        text-indent: -10000px;
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .menuwrap {
        position: static;
    }

    nav#main-menu>ul>li:last-child {
        padding: 10px 15px;
        display: inline-block;
    }

    #main-menu ul li ul {
        display: block;
        position: relative;
        top: 0;
        width: 100%;
        opacity: 1;
        background: transparent;
        padding-left: 35px;
    }

    #main-menu ul li ul li a {
        color: #000;
    }

    #main-menu ul li ul li {
        padding: 0px;
    }

    #main-menu ul>li:hover>a,
    ul.main-menu>li.active>a {
        border: none;
    }

    #main-menu ul li:hover ul {
        animation: none;
    }


    .waykannammal .item {
        text-align: center !important;
        transform: translate(0px, 0px) !important;
    }

    ul.wkimages li img {
        margin-bottom: 10px;
    }

    .footer h1 {
        font-size: 250%;
        line-height: 1.5;
    }

    /* .videocontainer {

        transform: translate3d(0px, 0px, 0px) scale(1, 1) !important;
        width: 100%;
    } */
    .videocontainer {
        max-width: 100%;
    }

    #youtubevideo {
        height: 500px;
    }


    section.aboutintro::before,
    section.aboutintro::after {
        display: none;
    }

    .padding-mid-top-sm {
        padding-top: 30px !important;
    }

    .padding-full-top-sm {
        padding-top: 60px !important;
    }

    .padding-mid-bottom-sm {
        padding-bottom: 30px !important;
    }

    .padding-full-bottom-sm {
        padding-bottom: 60px !important;
    }

    .margin-mid-top-sm {
        margin-top: 30px !important;
    }

    .margin-mid-bottom-sm {
        margin-bottom: 30px !important;
    }

    .wkimg2 img {
        top: -30px;
        right: -50px;
        position: relative;
    }

    .wkimg3 img {
        position: relative;
        top: -60px;
    }

    ul.wkimages {
        width: 200px;
        margin: 0px auto;
    }

    ul.wkimages li img {
        width: 200px;
    }



    .parentspeakcol3 {
        order: 2;
        margin-bottom: 30px;
    }

    .parentspeakcol2 {
        order: 3;
    }

    .parentspeakcol1 br {
        display: none;
    }

    .parentspeakcol1 h2 {
        margin-bottom: 30px;
        text-align: center;
    }

    ul.activelistitem {
        margin-top: 40px;
        margin-left: 10px;
    }

    .subpagebannerwrap {
        display: flex;
        flex-wrap: wrap;
    }

    .subpagebannerwrap .subbannerleft {
        order: 2;
    }



    .fullbannerwrap .container img.border-rad10 {
        border-radius: 0;
    }

    .no-padding-mobile {
        padding: 0 !important;
    }

    .no-padding-top-mobile {
        padding: 0 !important;
    }

    .no-margin-mobile {
        margin: 0 !important;
    }

    .margin-mid-top-mobile {
        margin-top: 30px !important;
    }

    .overlayimageAbout.subbannerright {
        margin: 20px auto 0px;
    }

    .text-center-mobile {
        text-align: center;
    }

    .row.gallerywrap .item {
        padding: 0;
        margin-bottom: 15px;
    }

    .albumwrap .item .text {
        padding: 10px;
    }

    .albumwrap .item {
        padding: 0;
    }
}

@media (min-width:768px) {}

@media (min-width: 0) and (max-width:767px) {

    .container {
        width: 100%;
    }

    h2 {
        font-size: 34px;
        line-height: 1.2;
    }

    .padding-all-max {
        padding: 30px !important;
    }

    section.TestimonialsWrap {
        margin-bottom: 30px;
        border-bottom: 1px solid #fff;
    }

    .footermenu {
        margin-top: 30px;
    }

    .logo img {
        width: 200px;
    }

    section.homebanner.padding-top-full {
        padding-top: 20px !important;
        padding-bottom: 60px !important;
    }

    .container {
        padding: 0px 20px;
    }

    section.homebanner:after {
        bottom: 0px;
    }

    .bannerLeftImg {
        left: -15px;
        position: relative;
    }

    .waykannammal .item img {
        max-width: 90px;
    }

    .waykannammalcenter .centerImage img {
        max-width: 100%;
    }

    .owl-carousel.owl-theme.twocolowl::before {
        background: url(../images/klogo.png) 10px 100% no-repeat;
        content: "";
        background-size: 80px;
        bottom: 0;
    }

    .wearebestwrap ul.listitem li {
        width: 50%;
        padding: 0px 20px 0px 0px;
    }

    ul.listicoinfo li img {
        margin-right: 5px;
    }

    .footermenu ul.no-list li {
        padding-bottom: 10px;
    }

    .footermenu ul.no-list {
        margin-bottom: 20px;
    }

    .footerbootom p {
        font-size: 12px;
        margin-bottom: 0px !important;
    }

    .klogofooter {
        width: 80px;
        margin: 10px 0px 10px;
    }

    .footer h1 {
        line-height: 1.22;
        font-size: 180%;
    }

    footer.footer {
        padding: 30px 0px;
    }

    .footer .container {
        padding: 0px 20px;
    }

    .row.gallerywrap .item {

        flex: 0 0 50%;
        max-width: 50%;
    }

}