@font-face {
    font-family: primaryFont;
    src: url(OpenSans-SemiBold.ttf);
}

@font-face {
    font-family: secondaryfont;
    src: url(OpenSans-Regular.ttf);
}

* {
    margin: 0px;
    padding: 0;
}


/* global css */

:root {
    --main-bg-color: #3e4194;
    --secondary-bg-color: #d20921;
    --footer-bg-color: #341a6c;
    --para-font-size: 18px;
    --text-white: #fff;
    --text-black: #424242;
    --font-weight-600: 600;
}
table.dataTable{
    background: rgb(201 201 255 / 20%);
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.list li:before {
    content: "\f101";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    font-family: "FontAwesome";
    color: #000a3e;
}
.list-group-item{
    white-space: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: primaryFont;
    margin: 0px;
}

p {
    margin: 0px;
}
ul, ol{
    list-style: none;
}
p,
a,
span,
ul,
li,
ol,
b,
strong,
td {
    font-family: secondaryfont !important;
    font-size: var(--para-font-size);
}

a,
a:hover {
    text-decoration: none !important;
    cursor: pointer;
}
a:hover{
    color: var(--secondary-bg-color);
}
button {
    outline: none !important;
}
.sidebar{
    position: sticky;
    top: 97px;
}
#resetChartBtn{
    font-size: 18px;
}
.fa-file-pdf-o, a .fa-file-pdf-o{
    color: var(--secondary-bg-color);
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(207 207 207 / 20%) !important;
}
.table-bordered td, .table-bordered th{
    border: 1px solid #a4a6a9;
}
.text-right {
    text-align: right;
}

.btn-roadfafety, .btn-roadsafety {
    border: 1px solid #d20921;
    color: #fff;
    background-color: var(--secondary-bg-color);
}

.btn-roadfafety:hover {
    color: rgb(231, 229, 229);
}.btn-roadsafety:hover {
    color: rgb(231, 229, 229);
}

.f-left {
    float: left;
}

.text-white {
    color: var(--text-white);
}

.social a {
    color: var(--text-white);
}
.dropdown-item.active, .dropdown-item:active{
    background-color: #3b3b79;
}
.dropdown-toggle{
    outline: none;
}
.head-table{
    background: url(../img/texture.png) #12498a;
    color: var(--text-white);
}
.fa-arrow-circle-o-right{
    color: var(--secondary-bg-color);
}
.text-white{
    color: var(--text-white);
}
/* end of global css */
/**/
.head-area{
    padding: 6px;
    background: #3c3c7a;
    color: #fff !important;
}
/**/
/*home page online competition*/
    .home-online-competition{
       padding: 30px 0px;
       position: relative;
    }
    .home-online-competition h2 {
    text-align: center;
    margin-bottom: 17px;
}
.home-online-competition .card .card-body{
    padding: 0px !important;
}
.home-online-competition .card .card-body .card-details{
    margin-top: 10px;
    margin-bottom: 10px;
}
.home-online-competition .card .card-body .card-details h5{
    margin-bottom: 10px;
}
/*end of home page online competition*/
/*more or less text*/
.moretext {
  display: none;
}
.task-status-text{
    border-right: 1px solid #444c;
}
.total-task, .approved-task, .review-task{
    text-align: center;
}
.total-task p {
    font-weight: 600;
    color: #8b41cf;
}
.approved-task p{
     font-weight: 600;
     color: green;
}
.review-task p{
     font-weight: 600;
     color: red;
}
/*end of more or less text*/
/* header top */

#header-top {
    background: url(../img/texture.png) #12498a;
    color: var(--text-white);
    padding: 3px;
}

#header-top .hp-text span {
    font-size: 15px;
}

#header-top .text-zoom {
    font-size: 13px!important;
    min-width: 26px;
    float: right;
    margin: 1px 5px 0 8px;
    ;
    padding: 0px;
    min-height: 22px;
    text-align: center;
    line-height: 19px;
    border-radius: 4px;
    font-weight: bold;
    color: #fff !important;
    cursor: pointer;
}

#header-top .text-zoom {
    color: #ffffff !important;
    border: 1px solid #c30f24;
    background-color: var(--secondary-bg-color);
}


/* end of header top */

/*model z index*/
img.mfp-img{
    z-index: 999999999;
}
/*end of model z index*/
/* main navigation area */

.navbar {
    border-bottom: 2px solid #3b3b79;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 999;
}

nav .navbar-brand {
    display: contents;
}

nav .navbar-brand .roadsafety-logo {
    width: 11%;
}

nav .himachal-logo {
    width: 5%;
}

.dropdown-menu {
    color: #212529;
    margin: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border: 0 !important;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 7%), 0 4px 6px -2px rgb(0 0 0 / 5%);
    font-size: .875rem;
}

.dropdown-menu a {
    font-size: 14px;
    font-family: primaryFont !important;
    color: var(--main-bg-color);
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--secondary-bg-color);
}

.nav-link {
    color: rgb(59 59 121 / 85%) !important;
    font-family: primaryFont !important;
    font-size: 16px;
}

.nav-link:hover {
    color: var(--secondary-bg-color) !important;
}

.navbar-nav .active>.nav-link {
    color: var(--secondary-bg-color) !important;
}

.nav-link .fa-home {
    font-size: 19px;
}

.dropdown-menu>li:first-child,
.dropdown-menu>li:first-child .dropdown-item {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.navbar .dropdown-menu-end {
    right: 0;
    left: auto;
}

.navbar .nav-item .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    margin-top: 0;
}

.navbar .nav-item:hover .nav-link {
    color: #fff;
}

.navbar .dropdown-menu.fade-down {
    top: 80%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
}

.navbar .dropdown-menu.fade-up {
    top: 180%;
}

.navbar .nav-item:hover .dropdown-menu {
    transition: .3s;
    opacity: 1;
    visibility: visible;
    top: 100%;
    transform: rotateX(0deg);
}

.navbar-toggler i {
    color: var(--text-black);
}


/* end of main navigation area */

.carousel-inner .carousel-item {
  -webkit-transition-duration: 2s;
  -moz-transition-duration: 2s;
  -o-transition-duration: 2s;
  transition-duration: 2s;
}
/* main home page slider */


/* #main-slider .carousel {
    height: 100%;
}

#main-slider .carousel-inner {
    height: 547px;
}

#main-slider .carousel .carousel-inner .carousel-item .title {
    position: absolute;
    text-align: center;
    width: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

#main-slider .carousel .carousel-inner .carousel-item .title h1 {
    font-size: 5rem;
}

#main-slider .carousel .carousel-inner .carousel-item .title .animated {
    animation-duration: 1.3s;
    animation-delay: 0.5s;
}

#main-slider .carousel .carousel-inner .carousel-item img {
    width: 100%;
} */


/* end of main home page slider */


/* home page welsome */

.road-safety-welcome {
    background: url(../img/texture.png);
    /*padding: 40px 219px 22px 217px;*/
    padding: 12px 219px 22px 217px;
    text-align: center;
}

.road-safety-welcome .road-safety-tour {
    margin-top: -164px;
    box-shadow: 6px 10px 20px rgb(0 0 0 / 15%);
    -webkit-box-shadow: 6px 10px 20px rgb(0 0 0 / 15%);
}

.road-safety-welcome .road-safety-tour {
    position: relative;
    width: 100%;
    float: left;
    overflow: hidden;
    border-radius: 5px;
}

.road-safety-tour strong {
    position: absolute;
    left: -5px;
    top: 20px;
    color: var(--text-white);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 30px;
    padding: 0 15px;
    letter-spacing: 2px;
    border-radius: 3px;
    background: var(--main-bg-color);
}

.road-safety-tour a {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.road-safety-welcome .cm-name {
    display: block;
    color: var(--text-white);
}

.roadsafety-welcome h5 {
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 16px;
    font-size: 24px;
}

.roadsafety-welcome p {
    color: var(--text-white);
}


/* end of home page welsome */


/* district data */

.slick-slide {
    margin: 0px 20px;
}

.slick-slide img {
    width: 100%;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: none;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track {
    position: relative;
    top: 0;
    left: 0;
    display: block;
}

.slick-track:before,
.slick-track:after {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    height: 100%;
    min-height: 1px;
}

[dir='rtl'] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

.district-data {
    padding: 30px 0px;
    background: url(../img/bg-texture.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;
}

.district-data h2 {
    margin-bottom: 17px;
    text-align: center;
}
.district-data h2:after {
    content: "";
    margin: 4px auto 0px;
    display: block;
    width: 120px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient( 
25deg
 , #d20921, #30306e);
}
.home-online-competition h2:after{
    content: "";
    margin: 4px auto 0px;
    display: block;
    width: 120px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient( 
25deg
 , #d20921, #30306e);
}
.home-page-gallery h2:after{
    content: "";
    margin: 4px auto 0px;
    display: block;
    width: 120px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient( 
25deg
 , #d20921, #30306e);
}
.district-box {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    height: 97px;
    margin: 0 0 0;
    box-shadow: 0px 5px 15px 0 rgb(0 0 0 / 7%);
    padding: 7px;
    position: relative;
    display: grid;
    align-items: center;
    justify-content: center;
}

.district-box img {
    width: 75px;
    height: 75px;
    text-align: center;
}

.district-box h3,
h4 {
    font-size: 20px !important;
}

.dist-flex {
    display: flex;
    color: #fff;
}

.dist-baddi {
    background: #2942b3;
}

.dist-bilaspur {
    background: #2a9d8f;
}

.dist-chamba {
    background: #f4a261;
}

.dist-dharamshala {
    background: #474787;
}

.dist-hamirpur {
    background: #0077b6;
}

.dist-kaylang {
    background: #4f772d;
}

.dist-kinnaur {
    background: #1e3799;
}

.dist-Kullu {
    background: #079992;
}

.dist-mandi {
    background: #82589F;
}

.dist-nahan {
    background: #3B3B98;
}

.dist-shimla {
    background: #3B3B98;
}

.dist-solan {
    background: #ffb142;
}

.dist-una {
    background: #40407a;
}


/* end of district data */


/* chart data */

.chart-data {
    background: linear-gradient(rgb(59 59 121 / 95%), rgb(210 9 33 / 95%)), url(../img/bg_beforeFooter1.jpg);
    padding: 30px 175px;
    background-size: cover;
    background-position: center;
}

.chart-data .bg-white-area {
    background: rgb(255 255 255 / 80%);
    padding: 30px;
    border-radius: 5px;
}

.chart-data .bg-white-area img {
    text-align: center;
}

.chart-data .bg-white-area .chart-img {
    width: 73%;
}

.chart-data .himachal-map {
    width: 73%;
}


/* end of chart data */


/* importment links */

.imapotant-links {
    /*background-color: var(--main-bg-color);*/
    background: url(../img/texture.png);
    padding: 30px 0 15px;
    border-top: 1px solid #f4b41a;
}

.button {
    min-width: 150px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 15px;
    padding-right: 15px;
    text-align: center;
    color: #000;
    text-transform: uppercase;
    margin-left: 3px;
    margin-right: 3px;
    margin-bottom: 16px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
}

.button-1 {
    background-color: var(--secondary-bg-color);
    border: 1px solid #F4B41A;
    border-radius: 50px;
    -webkit-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
    color: var(--text-white);
    transition: .9s;
}

.button-1:hover {
    color: #F4B41A;
    background-color: transparent;
    box-shadow: 0px 15px 20px rgb(48 48 110);
}


/* end of importment links */


/* Gallery */

.home-page-gallery {
    padding: 30px 0px;
    background: url(../img/bg-texture.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom;
}

.home-page-gallery img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 3px 0 rgb(31 38 135 / 64%);
}
.home-page-gallery .img-thumbnail{
    height: 286px;
}

.home-page-gallery h2 {
    text-align: center;
    margin-bottom: 17px;
}
.home-page-gallery video{
    height: 289px;
    padding: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

/* end of Gallery */


/* our partner */

.our-partner {
    padding: 7px;
    background-color: #f1f1f1;
    -webkit-box-shadow: 0 2px 3px rgb(0 0 0 / 13%) !important;
    box-shadow: 0 2px 3px rgb(0 0 0 / 13%) !important;
    position: relative;
    width: 100%;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}


/* end of our partner */
/*org chart*/
.org-chart{
    width: 87%;
}
/*end of org chart*/
/*data table print button*/
#printBtn {
    text-align: center;
    padding-top: 16px;
}
#printBtn a{
    padding: 5px !important;
    border: 1px solid red;
    background: red;
    color: #fff;
    border-radius: 5px;
}
/*end of data table print button*/
/*home page notofication*/
/* home page notification */

.home-page-notification {
    padding: 10px 50px;
    /*border: 1px solid #fff;*/
    border-radius: 5px;
}


.home-page-notification marquee {
    height: 213px;
}

.home-page-notification marquee a {
    color: var(--text-black);
}

.border-card {
    background: #fff;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    font-family: "Roboto";
    font-size: 14px;
    padding: 5px 16px;
    cursor: pointer;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    box-shadow: 0px 2px 1px 0px rgb(0 0 0 / 10%);
    transition: all 0.25s ease;
}

.card-type-icon.with-border {
    color: #000;
    border: 1px solid #000;
}

.card-type-icon {
    flex-grow: 0;
    flex-shrink: 0;
    margin-right: 16px;
    font-weight: 400;
    color: #323232;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.content-wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    white-space: normal;
    overflow: hidden;
    transition: all 0.25s ease;
}
.home-page-notification .content-wrapper p{
    color: #000 !important;
}

.content-wrapper .label-group p {
    display: inline;
    font-size: 15px;
}


/* end of home page notification */

/*end of home page notofication*/
/* footer area */

#footer {
    background: var(--main-bg-color);
    color: var(--text-white);
    padding: 30px 0 0
}

#footer .contact-details img {
    width: 14%;
}

#footer .contact-details .contact-details-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

#footer .contact-details img {
    width: 14%;
}

#footer .contact-details .contact-details-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

#footer .contact-details a {
    color: var(--text-white);
    text-decoration: none;
}

#footer h5 {
    color: var(--text-white);
    font-weight: bold;
}

.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.quick-links li a {
    color: var(--text-white);
}

#footer .policy {
    border-top: 1px solid #fff;
    padding-top: 4px;
    text-align: center;
}

#footer .policy a {
    margin-right: 20px;
    color: var(--text-white);
    text-decoration: none;
}

.footer-copy {
    background-color: #31347e;
}


/* end of footer area */
/*inner-gallery-page*/
.selfie .card-body{
    padding: 0.25px;
}
.gallery-card{
    min-height: 473px;
}
.gallery-card h4{
    text-align: center;
}
  a.list-group-item span {
    font-size: 16px;
}
/*.list-group-item.active{
    background: url(../img/texture.png) #12498a;
    border: #12498a;
}*/
/*end of inner-gallery-page*/

.list-group-item.active {
    z-index: 2;
    color: #202020;
    background-color: transparent;
    border-color: rgba(0,0,0,.125);
}

.font-21{
    font-size: 21px;
}
.reset-button{
    position: absolute;bottom: 20px;
}
/* media query */
@media (min-width: 1200px){
.container, .container-lg, .container-md, .container-sm, .container-xl {
    max-width: 1284px;
}
}
@media only screen and (max-width: 1400px) {
    .road-safety-welcome {
        padding: 17px 0 60px 0;
    }
    .road-safety-tour img {
        width: 100%;
    }
    .road-safety-welcome .road-safety-tour {
        margin-top: -53px;
    }
    .chart-data {
        padding: 30px 110px;
    }
    .chart-data .himachal-map {
        width: 81%;
    }
    .chart-img {
        width: 81%;
    }
}

@media only screen and (max-width: 1366px) {
  
    nav .navbar-brand .roadsafety-logo {
        width: 15%;
    }
    nav .himachal-logo {
        width: 8%;
    }
    .district-box h3,
    h4 {
        font-size: 15px !important;
    }
    .chart-data {
        padding: 30px 73px;
    }
    .chart-data .himachal-map {
        width: 91%;
    }
    .chart-data .bg-white-area .chart-img {
        width: 91%;
    }
}

@media only screen and (max-width: 1024px) {
    .roadsafety-welcome p {
        font-size: 16px;
    }
    .roadsafety-welcome h5 {
        font-size: 23px;
        margin: 0 0 4px;
    }
    .road-safety-welcome {
        padding: 17px 0 34px 0;
    }
    .dist-flex {
        display: grid;
    }
    .district-box {
        height: 124px;
    }
}

@media only screen and (max-width: 990px) {
    .road-safety-welcome .road-safety-tour {
        margin-top: 0px;
    }
    .roadsafety-welcome p {
        font-size: 16px;
        text-align: justify;
    }
    .dist-flex {
        display: grid;
    }
    .district-box {
        height: 128px;
    }
    .road-safety-welcome .cm-name {
        display: block;
        color: #fff;
        text-align: center;
        position: relative;
        top: 4px;
    }
}

@media only screen and (max-width: 766px) {
    .road-safety-tour img {
        width: 100%;
    }
    .road-safety-tour a {
        right: -22px;
        bottom: 5px;
    }
    .road-safety-tour .play-icon {
        width: 48%;
    }
    .roadsafety-welcome h5 {
        font-size: 20px;
        margin: 0 0 1px;
    }
    .roadsafety-welcome p {
        font-size: 14px;
    }
    .himachal-logo {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    nav .navbar-brand .roadsafety-logo {
        width: 58%;
    }
    .roadsafety-welcome h5 {
        text-align: center;
    }
    .roadsafety-welcome {
        text-align: center;
    }
    .chart-data {
        padding: 14px 14px;
    }
    .chart-data .himachal-map {
        width: 100%;
    }
    .chart-data .bg-white-area .chart-img {
        width: 100%;
        margin-top: 25px;
    }
    .chart-data .bg-white-area {
        padding: 7px;
    }
    .district-box h3,
    h4 {
        font-size: 21px;
    }
    .inner-banner h2{
        font-size: 23px !important;
    }
    .head-area{
        font-size: 18px;
    }
    .font-21{
        font-size: 15px;
    }
    .reset-button{
        position: relative;
    }
}

@media only screen and (max-width: 575px) {
    .road-safety-welcome .cm-name {
        display: none;
    }
    .roadsafety-welcome h5 {
        margin-top: 12px !important;
        margin: 0 0 10px;
    }
    .roadsafety-welcome p {
        text-align: center;
    }
    .road-safety-tour a {
        right: 24px;
        bottom: 2px;
    }
    .road-safety-tour .play-icon {
        width: 75%;
    }
    .roadsafety-welcome p {
        font-size: 16px;
    }
    .road-safety-welcome .road-safety-tour {
        margin-top: 0px;
    }
    .roadsafety-welcome {
        margin-bottom: 12px;
    }
}

/* inner banner */

.inner-banner {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background: linear-gradient(rgb(59 59 121 / 70%), rgb(210 9 33 / 70%)), url(../img/banners/road-safety-himachal-slider-4.jpg);
    background-position: center;
    color: #fff;
}

.list-group {
    margin: auto;
}
.list-group .dropdown .dropdown-menu{
    position: relative;
    transition: .5s;
}
.list-group a:hover{
    background: url(../img/texture.png) #12498a;
    color: #fff;
}

.list-group-item {
    color: #000;
}

.lead {
    margin: auto;
    left: 0;
    right: 0;
    padding-top: 10%;
}

.inner-content-area {
    margin-bottom: 30px;
}


/* end of inner banner */