body {
    -webkit-font-smoothing: antialiased;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Fira Sans', sans-serif;
}

.banner {
    background: url(./Images/gandhi.jpg) no-repeat center center /cover;
    height: 100vh;
}

.header .toggler {
    display: none;
}

/* .header #headline{
    border-right: 1px solid rgb(255 255 255 / 38%);
    padding-right: 54px;
    padding-top: 22px;
    padding-bottom: 20px;

} */

.header #headline {
    max-width: 100%;
    padding-right: 54px;
    padding-top: 22px;
    padding-bottom: 20px;
}

#contents {
    border-left: 1px solid rgb(255 255 255 / 38%);
    padding: 15px 0px;
}

.header .more-events a {
    color: #891212;
    background-color: white;
    padding: 9px 12px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 13px;
    text-decoration: none;
    transition: all linear .3s;
    font-weight: 500;
    border: 1px solid transparent;
}

.header .more-events a:hover {
    color: white;
    background-color: #891212;
    border: 1px solid white;
    font-weight: 500 !important;
}

.header p {
    margin: 0;
    line-height: 16px;
}

.header p a {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.header p a:hover {
    text-decoration: none;
}

/*...........navbar Start............*/

/* added sub menu css */

#navbar li:hover .dropdown-submenu:hover .dropdown-menu {
    display: block !important;
}

#navbar li:hover>.dropdown-menu {
    display: block;
}

#navbar li .dropdown-item a {
    color: #891212 !important;
}

/* #navbar li:hover .dropdown-menu{
            display: block;
        } */

.dropdown,
.dropup {
    position: relative;
}

#navbar .dropdown-submenu,
#navbar .dropdown-topsubmenu {
    position: relative;
}

#navbar .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    /* display: block; */
    margin-top: -1px;
}

/* @media (min-width: 1200px) and (max-width: 3000px)
        {
            .dropdown:hover .dropdown-menu, .btn-group:hover .dropdown-menu {
                display: block;
            }
        } */

/* @media (min-width: 992px)
        {
            .navbar-expand-lg .navbar-nav .dropdown-menu {
                position: absolute;
            }
        } */

/* end */

#navbar .nav-link {
    font-size: 14px;
    text-transform: uppercase;
    padding: 20px 16px 20px 16px !important;
    transition: all .5s;
    color: #891212e0;
    margin-right: 3px;
    border-bottom: 3px solid transparent;
    font-weight: 500;
    outline: 0;
    box-shadow: none;
    pointer-events: none;
}

.dropdown i {
    transform: rotate(-50deg);
    margin-left: 3px;
}

.dropdown-item {
    color: #002e5d !important;
}

#navbar li {
    cursor: pointer !important;
}

#navbar li:hover .nav-link,
#navbar .nav-link:hover {
    border-radius: -10px;
    border-bottom: 3px solid #730000;
    color: #730000;
    /* font-weight: 800; */
}

#navbar li .dropdown-item {
    padding: 9px 20px;
    color: #891212 !important;
}

#navbar li .dropdown-menu {
    border-radius: 0;
    padding: 12px 0;
}

#navbar li .dropdown-item:focus,
#navbar li .dropdown-item:hover {
    color: #16181b;
    text-decoration: none;
    background-color: #89121214;
}

.dropdown-item {
    font-size: 13px;
}

#navbar .toggler,
.line4,
.line5,
.line2 {
    height: 2px;
    color: white;
    background: white;
    width: 23px;
    margin-bottom: 3.5px;
    transition: all .5s;
}

.click .line2 {
    display: none;
}

.click .line4 {
    transform: rotate(130deg) translate(4px, -3px);
}

.click .line5 {
    transform: rotate(-130deg);
}

/* #s{
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    position:absolute;
    top:22px;
    padding-bottom:20px;
} */

#navbar .circle {
    height: 59px;
    z-index: 999;
    width: 30px;
}

/* #navbar input{
    padding:10px 10px;
    top:8px;
    right: -7px;
    position: absolute;
    cursor: text;
    width:40px;
    background: white;
    border-radius: 30px;
    background-color:transparent;
    transition:all 1s;
    color:white;
    outline: 0;
    box-shadow: none;
    font-size: 14px;
    border:0;
}

#navbar .input{
    display: flex;
    width:300px;
    animation: anim 1s;
    background-color: rgba(78, 77, 77, 0.87);
}

.s #s{
    color:yellow;
} */

@keyframes anim {
    0% {
        width: 50px;
    }
    100% {
        width: 300px;
    }
}

@keyframes anim1 {
    0% {
        width: 50px;
    }
    100% {
        width: 176px;
    }
}

/*...........End of navbar............*/

.carousel,
.carousel-inner {
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.carousel .carousel-caption {
    top: 30%;
    left: -10%;
}

.carousel p {
    z-index: 1;
    color: white;
    /* font-family: 'merriweather'; */
    font-weight: lighter;
    font-size: 55px;
    text-transform: uppercase;
    font-weight: 900;
}

.indicon {
    top: 83%;
    left: 20%;
    position: absolute;
    color: white;
}

.carousel .carousel-control-prev {
    top: 70%;
    left: 10%;
}

.carousel .carousel-control-next {
    top: 70%;
    left: 18%;
}

/*...........Footer Start..........*/

.footer .footer-top .nav-link {
    color: white;
    font-size: 15px;
    margin-right: 25px;
    transition: all linear .3s;
}

.footer .footer-top .nav-link:hover {
    color: #891212e0;
}

.footer .footer-top #icons {
    display: flex;
    justify-content: flex-end;
}

.footer .footer-top #icons1 {
    display: none;
}

.footer .footer-top #icons1 div {
    margin-top: -31px;
}

.footer .nav-link:active,
.nav-link:hover {
    border-radius: 0px;
    border-bottom: 0;
}

.footer .footer-bottom h6 {
    font-size: 13px;
    line-height: 20px;
    color: white;
    max-height: 37px;
    height: 37px;
}

.footer .footer-bottom a {
    font-size: 10px;
    text-decoration: none;
    color: white;
    transition: all linear .3s;
}

.footer .footer-bottom a:hover {
    color: #891212;
}

.Copyright p a {
    font-size: 8px;
    color: white;
}

.Copyright p span {
    text-decoration: underline;
}

.social-list {
    position: fixed;
    top: 50%;
    left: -100%;
    background-color: #FFFFFFA6;
    border: solid 2px #891212;
    opacity: .9;
    border-radius: 30px;
    display: inline-block;
    padding: 10px;
    z-index: 999999;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.social-media:hover .social-list {
    left: 70px;
}

i.far.fa-share-square {
    font-size: 22px;
}

ul.social-list li {
    display: inline-block;
}

button.btn.btn-primary.social-media-btn {
    position: fixed;
    top: 50%;
    left: 0;
    background: #891212;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

@media (min-width:1200px) and (max-width:3000px) {
    .footer .footer-top #icons1 {
        display: none;
    }
}

@media (min-width:1025px) and (max-width:1200px) {
    .header .more-events a {
        padding: 6px 5px;
        font-size: 10px;
    }
    /* #navbar .nav-link{
        font-size: 11px;
        padding:20px 5px 20px 5px!important;
    } */
    .dropdown i {
        margin-left: 2px;
    }
    .header #headline {
        padding-right: 13px;
    }
    .carousel .carousel-control-prev {
        top: 70%;
        left: 10%;
    }
    .carousel .carousel-control-next {
        top: 70%;
        left: 18%;
    }
    .footer .footer-top #icons1 {
        display: none;
    }
}

@media (min-width:992px) and (max-width:1024px) {
    .header h5 {
        font-size: 16px;
    }
    .header p {
        font-size: 10px;
    }
    .header .more-events a {
        padding: 6px 5px;
        font-size: 10px;
    }
    .header #headline {
        padding-right: 11px;
        padding-top: 22px;
        padding-bottom: 20px;
    }
    #navbar .nav-link {
        /* font-size: 11px; */
        padding: 20px 5px 20px 5px !important;
    }
    .dropdown i {
        margin-left: 1px;
    }
    .carousel p {
        font-size: 45px;
    }
    .carousel-control-prev {
        top: 70%;
        left: 10%;
    }
    .carousel-control-next {
        top: 70%;
        left: 17%;
    }
    .links address {
        font-size: 10px;
    }
    .links {
        background-color: #002e5d;
        background-image: linear-gradient(90deg, rgba(252, 252, 252, 1)0%, rgba(252, 252, 252, 1)38%, transparent 30%)
    }
    .footer .footer-top .nav-link {
        font-size: 13px;
        margin-right: 10px;
    }
}

@media (min-width:768px) and (max-width:992px) {
    .header #contents {
        display: none;
    }
    .header .toggler {
        display: flex;
    }
    .header .name h5 {
        font-size: 26px;
        font-style: italic;
    }
    .header #headline {
        padding-top: 15px;
        padding-bottom: 14px;
        margin-left: -30px;
        border: 0;
    }
    .carousel p {
        font-size: 40px;
    }
    .carousel .carousel-control-prev {
        top: 70%;
        left: 9%;
    }
    .carousel .carousel-control-next {
        top: 70%;
        left: 20%;
    }
    /* #navbar input{
        padding:10px 10px;
        top:8px;
        right: -300px;
    } */
    .footer .footer-top .nav-link {
        font-size: 12px;
        margin-right: 5px;
    }
    .contact input {
        width: 350px;
    }
    .contact h2 {
        font-size: 22px;
    }
    .contact h6 {
        font-size: 12px;
    }
    .links {
        background-color: #002e5d;
        background-image: linear-gradient(90deg, rgba(252, 252, 252, 1)0%, rgba(252, 252, 252, 1)33%, transparent 30%)
    }
}

@media (min-width:600px) and (max-width:767px) {
    .header #contents {
        display: none;
    }
    .header .toggler {
        display: flex;
        position: absolute;
        right: 10PX;
    }
    .header img {
        width: 270px;
    }
    .header #headline {
        padding-top: 15px;
        padding-bottom: 14px;
        margin-left: -90px;
        border: 0;
    }
    /* #navbar input{
        padding:10px 10px;
        top:8px;
        right: -300px;
    } */
    .carousel p {
        font-size: 24px;
    }
    .carousel .carousel-control-prev {
        top: 70%;
        left: 9%;
    }
    .carousel .carousel-control-next {
        top: 70%;
        left: 20%;
    }
    .links {
        background-color: #002e5d;
        background-image: linear-gradient(180deg, rgba(252, 252, 252, 1)0%, rgba(252, 252, 252, 1)55%, transparent 30%)
    }
    .footer .footer-top #icons {
        display: none;
    }
    .footer .footer-top #icons1 {
        display: flex;
    }
}

@media (min-width:425px) and (max-width:599px) {
    .header #contents {
        display: none;
    }
    .header .toggler {
        display: flex;
        position: absolute;
        right: 10PX;
    }
    .header img {
        width: 270px;
    }
    /* #navbar input{
        padding:10px 20px  10px 46px;
        top:8px;
        right: -256px;
        width:300px;
    } */
    .header #headline {
        padding-top: 15px;
        padding-bottom: 14px;
        margin-left: -50px;
    }
    .carousel p {
        font-size: 24px;
    }
    .carousel .carousel-caption {
        top: 30%;
        left: 7%;
    }
    .carousel .carousel-control-prev {
        top: 70%;
        left: 7%;
    }
    .carousel .carousel-control-next {
        top: 70%;
        left: 24%;
    }
    .contact input {
        width: 400px;
    }
    .links {
        background-color: #002e5d;
        background-image: linear-gradient(180deg, rgba(252, 252, 252, 1)0%, rgba(252, 252, 252, 1)55%, transparent 30%)
    }
    .footer .footer-top #icons {
        display: none;
    }
    .footer .footer-top #icons1 {
        display: flex;
    }
    .Copyright p {
        font-size: 7px;
    }
}

@media (min-width:375px) and (max-width:424px) {
    .header .book,
    .header .rules,
    .header .cbse,
    .header .more-events,
    .header .pariksha {
        display: none;
    }
    .header .toggler {
        display: flex;
        position: absolute;
        right: 10PX;
    }
    .header img {
        width: 250px;
    }
    .header #headline {
        border: 0;
        padding-top: 15px;
        padding-bottom: 14px;
        margin-left: -30px;
    }
    #navbar .input {
        top: 5px;
        right: -139px;
        padding-left: 40px;
        width: 220px;
        animation: anim1 1s;
    }
    #navbar .dropdown-item {
        font-size: 12px;
    }
    .carousel p {
        font-size: 24px;
    }
    .carousel .carousel-caption {
        top: 30%;
        left: 5%;
    }
    .carousel .carousel-control-prev {
        top: 70%;
        left: 4%;
    }
    .carousel .carousel-control-next {
        top: 70%;
        left: 30%;
    }
    .footer .footer-top #icons {
        display: none;
    }
    .footer .footer-top #icons1 {
        display: flex;
    }
    .Copyright p {
        font-size: 5px;
    }
}

@media (min-width:300px) and (max-width:374px) {
    .header .book,
    .header .rules,
    .header .cbse,
    .header .more-events,
    .header .pariksha {
        display: none;
    }
    .header .toggler {
        display: flex;
        position: absolute;
        right: 10px;
    }
    .header img {
        width: 250px;
    }
    .header #headline {
        border: 0;
        padding-top: 15px;
        padding-bottom: 14px;
        margin-left: -30px;
    }
    #navbar .input {
        top: 5px;
        right: -139px;
        padding-left: 40px;
        width: 178px;
        animation: anim1 1s;
    }
    #navbar .dropdown-item {
        font-size: 12px;
    }
    .carousel p {
        font-size: 24px;
    }
    .carousel .carousel-caption {
        top: 30%;
        left: 0%;
    }
    .carousel .carousel-control-prev {
        top: 70%;
        left: 4%;
    }
    .carousel .carousel-control-next {
        top: 70%;
        left: 30%;
    }
    .footer .footer-top #icons {
        display: none;
    }
    .footer .footer-top #icons1 {
        display: flex;
    }
    .Copyright p {
        font-size: 5px;
    }
}

@media (min-height:1024px) {
    .indicon {
        top: 83.7%;
        left: 20%;
    }
}

@media (min-height:1366px) {
    .indicon {
        top: 84%;
        left: 20%;
    }
}

@media (max-width:991px) {
    button.owl-prev {
        top: auto !important;
        right: 60px !important;
        left: auto !important;
        bottom: -20px;
    }
    button.owl-next {
        right: 10px !important;
        top: auto !important;
        bottom: -20px;
    }
    .presence-list {
        margin-top: 1.5rem;
    }
}

@media (max-width:767px) {
    #contents {
        display: none;
    }
}