/*!  | MIT License |  */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none
}

::selection {
    background: #b3d4fc;
    text-shadow: none
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0
}

textarea {
    resize: vertical
}

.browserupgrade {
    margin: .2em 0;
    background: #ccc;
    color: #000;
    padding: .2em 0
}

.hidden {
    display: none !important
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto
}

.invisible {
    visibility: hidden
}

.clearfix:after,
.clearfix:before {
    content: " ";
    display: table
}

.clearfix:after {
    clear: both
}

@media print {

    blockquote,
    img,
    pre,
    tr {
        page-break-inside: avoid
    }

    *,
    :after,
    :before,
    :first-letter,
    :first-line {
        background: 0 0 !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important
    }

    a,
    a:visited {
        text-decoration: underline
    }

    a[href]:after {
        content: " (" attr(href) ")"
    }

    abbr[title]:after {
        content: " (" attr(title) ")"
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: ""
    }

    blockquote,
    pre {
        border: 1px solid #999
    }

    thead {
        display: table-header-group
    }

    img {
        max-width: 100% !important
    }

    h2,
    h3,
    p {
        orphans: 3;
        widows: 3
    }

    h2,
    h3 {
        page-break-after: avoid
    }
}


/* ===============================
   NEWS 4 PANCHAYAT NOTICE BOARD
================================= */

.notice-board {
    background: #fff;
    /* border-radius:12px; */
    overflow: hidden;
    /* border:2px solid #d4a017; */
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
    height: 100%;
}

.notice-header {
    background: linear-gradient(90deg, #d8001d, #a50016);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 3px solid #d4a017;
    letter-spacing: 1px;
}

.notice-header i {
    color: #ffd700;
    margin-right: 8px;
}

.notice-content {
    height: 347px;
    overflow: hidden;
    background: #111;
    position: relative;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list li {
    display: flex;
    align-items: flex-start;
    padding: 14px 15px;
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: .3s;
}

.news-list li a {
    display: flex;
    align-items: flex-start;
    color: #fff;
    font-size: 15px;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: .3s;
}

.news-list li:hover {
    background: #1c1c1c;
    padding-left: 22px;
}

.news-icon {
    color: #d4a017;
    margin-right: 10px;
    margin-top: 5px;
    min-width: 15px;
}


/* Smooth Animation */

.scroll-news {
    animation: scrollNews 30s linear infinite;
}

@keyframes scrollNews {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}


/* Hover Stop */

.notice-content:hover .scroll-news {
    animation-play-state: paused;
}


/***********Menu CSS******/
.whatsapp a {
    background: #25D366 !important;
}

.whatsapp a:hover {
    background: #1ea952 !important;
}





/***********MEGA MENU CSSS***************/
.mega-parent {
    position: relative;
    padding: 13px;
}

.mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 1045px;
    height: 650px;

    background: #fff;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .15);

    display: none;
    z-index: 99999;

    grid-template-columns:
        25% 25% 25% 25%;
}


.nagarparishad-mega-menu {

    width: 975px;
    grid-template-columns:
        33% 33% 34% !important;
}


.mega-parent:hover .mega-menu {
    display: grid;
}

.mega-parent a {
    color: white;
}

.mega-column {
    border-right: 1px solid #ddd;
    overflow-y: auto;
}

.mega-column:last-child {
    border-right: none;
}

.mega-column h4 {
    position: sticky;
    top: 0;
    background: #e63935;
    color: #fff;
    margin: 0;
    padding: 12px;
    font-size: 16px;
}

.mega-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mega-column li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f2f2f2;
    transition: all 0.3s ease;
}

.mega-column li:hover {
    background: #f5f5f5;
    padding-left: 20px;
}

.mega-column li.active {
    background: #e63935;
    color: #fff;
    font-weight: bold;
}

.mega-column li.active:hover {
    background: #d32f2f;
}

.mega-column li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.mega-column li a:hover {
    color: inherit;
}

.mega-column::-webkit-scrollbar {
    width: 6px;
}

.mega-column::-webkit-scrollbar-thumb {
    background: #e63935;
}

/****************Ticker News**/
.breaking-news-wrapper {
    background: #ffffff;
  border-top: 3px solid #fff;
  border-bottom: 3px solid #fff;
}

.breaking-news {
   display: flex;
  align-items: center;
  height: 48px;
  max-width: 1111px;
  overflow-x: hidden;
}

.breaking-title {
    background: #e30613;
    color: #fff;
    padding: 0 22px;
    font-size: 15px;
    font-weight: 700;
    height: 48px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.breaking-title i {
    margin-right: 8px;
}

.breaking-content {
    flex: 1;
  background: #fff;
  color: #fff;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.breaking-content marquee {
    width: 100%;
    line-height: 48px;
}

.breaking-content a {
    color: #fff;
    transition: .3s;
}

.breaking-content a:hover {
    color: #ffd200;
}

@media(max-width:768px) {

    .breaking-news {
        height: 40px;
    }

    .breaking-title {
        height: 40px;
        padding: 0 12px;
        font-size: 12px;
    }

    .breaking-content marquee {
        line-height: 40px;
        font-size: 13px;
    }

}

/* ===========================
   News4Panchayat Ticker
=========================== */

.n4p-ticker-wrapper{
    width:100%;
    overflow:hidden;
    position:relative;
    height:46px;
    display:flex;
    align-items:center;
}

.n4p-ticker-track{
    display:flex;
    align-items:center;
    white-space:nowrap;
    width:max-content;
    animation:n4pTickerMove 45s linear infinite;
}

.n4p-ticker-wrapper:hover .n4p-ticker-track{
    animation-play-state:paused;
}

.n4p-ticker-item{
    display:flex;
    align-items:center;
    margin-right:60px;
    flex-shrink:0;
}

.n4p-dot{
    margin-right:8px;
    font-size:14px;
}

.n4p-ticker-item a{
    color:#e63935;
    text-decoration:none;
    font-weight:600;
    font-size:15px;
    transition:.3s;
}

.n4p-ticker-item a:hover{
    color:#000;
}

@keyframes n4pTickerMove{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

@media(max-width:768px){

    .n4p-ticker-wrapper{
        height:40px;
    }

    .n4p-ticker-item{
        margin-right:40px;
    }

    .n4p-ticker-item a{
        font-size:13px;
    }

}