@media {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }
  body {
    background-color: #d8ffd8;
    background-position: center;
    background-size: cover;
    font-family: "Roboto Condensed", sans-serif;
    color: #fff;
  }
  hr#breakage {
    border: none;
  }
  .logo1 {
    padding: 0;
    z-index: 2;
    background-color: rgba(255, 204, 0, 0.8);
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 0 5px 0px #757575;
  }
  .logo1 img {
    height: 105px;
    width: auto;
    margin: 5px;
  }
  .title1 {
    background-color: #55801f;
    min-height: 80px;
    box-shadow: 1px 1px 5px 1px #757575;
  }
  .til_sm {
    font-size: 14px;
    font-weight: bolder;
    color: rgba(255, 204, 0, 1);
  }
  h1 {
    font-weight: bolder;
    margin: 0px;
  }
  .tile_lg {
    font-weight: bolder;
    color: #fff;
  }
  .nopadding {
    margin: 0;
    padding: 0;
  }
  .nopadding2 {
    padding: 0;
  }
  .nopadding3 {
    margin: 0;
  }
}

@media {
  .con_pad {
    padding: 0px 30px;
  }
  .ver_nav {
    height: 85px;
  }

  .ver_nav_pub {
    height: 120px;
  }

  .ver_nav1 {
    height: 165px;
  }

  .event {
    font-size: 16px;
  }

  .no_pad {
    padding: 0px 10px 0px 0px;
    margin-top: 10px;
  }
  .col-pad {
    padding: 5px 10px;
  }
  .last_pad {
    padding: 0px 0px 0px 0px;
    margin-top: 10px;
  }
  .card {
    padding: 10px;
    border-radius: 15px;
    margin-bottom: 8px;
    background-color: #55801f;
  }
  .card:hover {
    box-shadow: 1px 1px 5px 1px #757575;
  }
  .icon {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 10px 15px;
  }
  .social_icon {
    padding: 5px 0px 0px;
    margin: 0px 10px;
    color: #fff;
  }
  h4 {
    padding: 0;
    margin: 0;
  }

  .pubtext {
    line-height: 1.5em;
  }

  #owl_1 .item {
    width: 100%;
    max-height: 350px;
    margin: 0px;
  }
  #owl_2 {
    text-align: right;
  }
  .card hr {
    color: #fff;
    padding: 0;
    margin: 5px 0;
  }
  a {
    text-decoration: none;
    color: #fff;
  }
  a:hover {
    text-decoration: none;
    color: #fff;
  }
  /*------district Profile-----*/
  .df {
    color: #55801f;
  }
  h2 {
    color: #55801f;
    font-weight: bolder;
  }
  .under {
    border-bottom: 3px solid #ffcc00;
    width: 10%;
    margin: auto;
  }
  .df p {
    font-size: 16px;
    font-weight: 400;
  }
  #map {
    border: 1px solid #ccc;
    min-height: 250px;
  }

  /*---- faculty ----*/
  .faculty {
    height: 315px;
    border: 2px solid #55801f;
    border-radius: 5px;
    padding: 10px 0px;
  }
  .faculty img {
    width: 100%;
    height: auto;
  }
  .faculty h4 {
    color: #55801f;
    font-weight: bolder;
  }
  .f_pad {
    margin: 8px 0px;
  }
  .line_height {
    line-height: 1.5em;
  }
  hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #55801f;
    margin: 1em 0;
    padding: 0;
  }
  .ss {
    color: #55801f;
  }
  .ss:hover {
    text-decoration: underline;
    color: #55801f;
  }
}

/*--- Footer ---*/
@media {
  footer {
    right: 0;
    left: 0;
    bottom: 0;
    position: fixed;
    z-index: 10;
  }
  .copyright {
    background: #55801f;
    width: 100%;
  }
  .copyright .ft-rights,
  .ft-devlp,
  .ft-visitors {
    color: #fff;
    font-size: 0.98em;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
  }
  .copyright .ft-devlp {
    float: right;
    right: 0;
  }
  .copyright .ft-devlp a {
    color: #fff;
    font-weight: bold;
  }
  .copyright .ft-rights {
    float: left;
  }
  .ft-visitors {
    font-size: 16px;
    border-color: #eee;
    border-radius: 3px;
  }
  .ft-visitors span {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-top: 1px solid #fff;
    border-radius: 3px;
  }

  @keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  @-moz-keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  @-webkit-keyframes spin {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  #heart {
    padding: 0;
    margin: 2px;
    position: relative;
    color: #000;
    -webkit-animation: spin 4000ms infinite linear;
    -moz-animation: spin 4000ms infinite linear;
    -ms-animation: spin 4000ms infinite linear;
    animation: spin 4000ms infinite linear;
  }
}

/*--- Header ---*/
@media {
  header {
    background-color: rgba(216, 255, 216, 0.7);
    right: 0;
    left: 0;
    position: fixed;
    z-index: 10;
  }
  .header_inner {
    background-color: transparent;
  }
  nav #nav1 {
    z-index: 3;
  }
  nav #nav2 {
    z-index: 2;
  }
  nav.nav_c {
    margin-top: -43px;
    background: #55801f;
    padding: 0px 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }
  .menu {
    display: block;
    margin: 0;
    padding: 0;
    background-color: #55801f;
    width: 100%;
    border: none;
    border-bottom: 1px #55801f;
    box-shadow: 0 0 5px 0px #757575;
    text-justify: distribute;
  }
  .menu ul {
    width: 100%;
    visibility: hidden;
    opacity: 0;
    margin: 0;
    padding: 0;
    min-width: 170px;
    position: absolute;
    z-index: 4;
    transform: translate(0, 20px);
    transition: all 0.2s ease-in-out;
    text-align: left;
  }
  .menu ul:after {
    bottom: 100%;
    left: 25%;
    border: 1px solid rgba(255, 255, 255, 0);
    font-family: FontAwesome;
    content: "\f0d8";
    opacity: 0.7;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-bottom-color: #fff;
    border-width: 6px;
    margin-left: -6px;
  }
  /*Small Triangle*/
  .menu li {
    display: inline-block;
    position: relative;
    z-index: 9;
  }
  .menu li:first-child {
    margin-left: 0;
  }
  .menu li a {
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    padding: 5px 10px 3px;
    display: block;
    color: #fff;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease-in-out 0s;
  }
  .menu li a:hover,
  .menu li:hover > a {
    color: #fff;
    border-bottom: 3px solid rgba(214, 214, 0, 1);
  }
  .menu ul li {
    display: block;
    float: none;
    margin: 0;
    padding: 0;
  }
  .menu ul li a {
    font-size: 15px;
    font-weight: normal;
    display: block;
    color: #fff;
    background-color: #73ae2a;
    padding: 5px 15px;
  }
  .menu ul li a:hover,
  .menu ul li:hover > a {
    width: 100%;
    background: #73ae2a;
    color: #fff;
    border-radius: 0px;
    border-bottom: 3px solid #73ae2a;
    border-left: 4px solid yellow;
  }
  .menu li:hover > ul {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
  }
  .menu ul ul {
    top: 0px;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    transform: translate(20px, 20px);
    transition: all 0.2s ease-out;
  }
  .menu li > ul ul:hover {
    visibility: visible;
    opacity: 1;
    transform: translate(0, 0);
  }
  .responsive-menu {
    display: none;
    width: 100%;
    font-size: 16px;
    letter-spacing: 4px;
    padding: 5px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    background: #55801f;
    text-align: center;
    z-index: 10;
  }
  .responsive-menu:hover {
    background: #55801f;
    text-decoration: none;
  }
  .responsive-menu:focus {
    background: #55801f;
    color: #eee;
    text-decoration: none;
  }
  .sub-menu {
    width: 100%;
    box-shadow: 1px 1px 1px #222;
  }
  .sub-menu li:last-child {
    background-color: #929d26;
    padding-bottom: 3px;
  }

  .googlet {
    z-index: 999;
  }
  #google_translate_element {
    padding-right: 18px;
    overflow-y: hidden;
    background-color: #55801f;
    z-index: 10;
  }
  #google_translate_element img {
    display: none;
  }
  #google_translate_element .goog-te-gadget .goog-te-gadget-simple {
    padding-top: 5px;
    border: none;
    color: #fff;
    background-color: #55801f;
  }
  #google_translate_element a {
    padding: 0;
    background-color: #55801f;
  }
  #google_translate_element a span {
    display: none;
  }
  #google_translate_element a span:nth-child(1) {
    display: block;
    color: #fff;
  }

  label#togg {
    padding: 6px 6px;
  }
}

/* Search Box */
@media {
  .search-container {
    max-width: 800px;
    margin: auto;
    border: none;
  }
  .search {
    border-radius: 5px;
    border: none;
    width: 0;
    z-index: 12;
    background-color: transparent;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }
  .search:focus {
    width: 100%;
    background-color: #fff;
    color: #000;
    border: 1px solid rgba(228, 198, 0, 0.8);
  }
}

/*###############################################*/
/* Responsive Code Start */

@media (min-width: 1367px) {
  nav.no_pad {
    padding-right: 100px;
  }
  .menu ul {
    min-width: 200px;
  }
  .menu li a {
    font-size: 17px;
  }
}

@media (min-width: 992px) and (max-width: 1170px) {
  .menu li a,
  .menu ul ul li a {
    font-size: 15px;
    padding: 10px 8px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .menu li a {
    padding: 10px 5px;
    font-size: 11px;
  }
  .menu ul li a {
    font-size: 12px;
    padding: 5px 10px;
  }
}

@media (min-width: 480px) and (max-height: 460px) and (orientation: landscape) {
  header,
  footer {
    position: static;
  }
  .menu ul,
  .menu ul li ul,
  .menu ul li ul li a {
    background-color: #80c12e;
  }
  .sub-menu li,
  .sub-menu li a {
    padding-left: 20px;
  }
  .sub-menu li a:before {
    padding-right: 10px;
    font-family: FontAwesome;
    content: "\f0da";
  }
}

@media (max-width: 800px) {
  .faculty {
    height: auto;
  }
  header {
    overflow-y: auto;
  }
  nav.nav_c {
    padding: 0;
    width: 100%;
    float: none;
  }
  /*important*/
  .menu {
    display: none;
    padding: 0;
    z-index: 999;
    background-color: rgba(87, 132, 31, 0.6);
    position: fixed;
    top: 122px;
    bottom: 0;
    left: 0;
    right: 0;
    overflow-y: auto;
  }
  /*important end*/

  .responsive-menu {
    display: block;
    border-bottom: 1px #55801f;
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2);
  }
  .menu ul {
    top: 0;
    width: 100% !important;
  }
  .menu ul:after {
    display: none;
  }
  .menu ul ul li {
    text-align: center;
  }
  .menu li {
    width: 100%;
    display: block;
    margin: 0;
  }
  .menu li a {
    background: #929d26;
    padding: 5px 8px;
  }
  .menu li a:hover,
  .menu li:hover > a {
    background: #929d26;
    border-radius: 0;
  }
  .menu li:hover > ul {
    position: relative;
  }
  .menu li a.expand,
  .menu li a.expand:after,
  .menu li a.expand:hover,
  .menu li a.expand:hover > a {
    font-family: FontAwesome;
    content: "\f138";
  }
  .menu li a.expand:after {
    float: right;
    right: 0px;
  }

  .sub-menu,
  .menu ul,
  .menu ul li ul li a {
    background-color: #929d26;
  }
  .sub-menu li,
  .sub-menu li a {
    padding-left: 20px;
  }
  .menu li .sub-menu {
    padding-bottom: 10px;
    position: absolute;
    display: block;
  }
  .menu ul {
    text-align: center;
  }
  #google_translate_element,
  #google_translate_element .goog-te-gadget .goog-te-gadget-simple,
  #google_translate_element a {
    background-color: #929d26;
  }
}

@media (max-width: 800px) {
  footer {
    position: static;
  }
  .copyright p.ft-rights,
  ft-devlp {
    color: #fff;
    font-size: 0.98em;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: center;
  }
  .copyright p.ft-devlp {
    float: none;
    text-align: center;
    margin-top: 10px;
    color: #fff;
  }
  .copyright p.ft-rights {
    float: none;
    text-align: center;
    color: #fff;
  }

  header #nav1 {
    width: 100%;
    overflow-x: hidden;
  }
  main {
    width: 100%;
    overflow-x: hidden;
    top: 100px;
  }
  .con_pad {
    padding: 0;
    margin: 0px 5px;
  }
  .con_pad h1 {
    font-size: 16px;
  }
  .logo1 {
    background-color: rgba(255, 255, 0, 0.9);
  }
  label#togg {
    text-align: center;
    background-color: #929d26;
    padding: 10px 30px 10px 30px;
  }
  .menu {
    top: 142px;
  }
}
