* {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
}

#top-nav {
  background-color: #045050;
}

#top-nav ul {
  margin: 0;
}

#top-nav ul li {
  display: inline-block;
  list-style: none;
  padding: 6px 0 10px 0;
}

#top-nav li a {
  text-decoration: none;
  color: #fff;
  padding: 12px;
  font-size: 12px;
}

#top-nav li a:hover {
  background-color: #033636;
}

hr {
  border-bottom: #045050;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  opacity: 0.2;
  margin: 0;
}

#logo h1 {
  display: inline;
  font-size: 26px;
  font-weight: bold;
  color: #045050;
  margin: 0 0 0 10px;
}

.search {
  float: right;
  margin-top: 25px;
}

.search input {
  border-radius: 20px 0 0 20px;
  border-color: #045050;
  padding: 4px 15px;
}

.search input:focus {
  outline: none;
}

.search button {
  padding: 6px 12px;
  margin-left: -5px;
  border-radius: 0 20px 20px 0;
  background-color: #045050;
  color: #fff;
  border: none;
}

#main-nav nav a {
  /* padding-right: 30px; */
  color: black;
}

marquee {
  padding: 8px;
  font-size: 14px;
  background-color: #045050;
  color: #fff;
}

.banner {
  margin-top: -8px;
}

.banner img {
  width: 100%;
  height: 450px;
}

@media screen and (max-width: 700px) {
  .banner img {
    width: 100%;
    height: 100%;
  }
}

#quaid-quote {
  background-color: #f9f9f9;
}

.quote-by {
  color: rgb(146, 146, 146);
}

.bg-primary {
  background-color: #045050 !important;
  color: #fff;
}

#head p {
  padding: 0 20px;
  font-size: 13px;
}
.bar {
  width: 15%;
  margin-bottom: 10px;
  border-top: 4px solid #045050;
  opacity: 1;
}

h3 {
  font-weight: bold;
}

.top-bar {
  color: #045050;
}

p.date {
  width: 60px;
  height: 60px;
  background-color: #045050;
  color: #d8d8d8;
  font-weight: bold;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}
.event {
  display: flex;
}

.event-title {
  margin-top: 10px;
}

.news-title {
  color: #707070;
  font-size: 12px;
  margin-top: 15px;
}

#news {
  text-align: center;
}

.news_urdu p{
/* font-family: 'Noto Nastaliq Urdu'; */
/*  line-height: 40px;  */
}

.news_urdu h1{
/* font-family: 'Noto Nastaliq Urdu'; */
/* line-height: 50px;  */
}

.title-seperator {
  border: 0.5px solid gray;
  width: 25%;
  opacity: 0.5;
  margin-left: 50%;
  transform: translateX(-50%);
  border-width: thin;
}

.title-seperator.w-40 {
  margin-top: 5px;
  width: 40%;
}
#newsfeed {
  background-color: #f9f9f9;
  color: #0c0c0c;
}

#highlights {
  background-color: #045050;
  color: #fff;
}
#mna .search {
  width: 100%;
  margin-top: 0;
}

#mna .search input {
  border-radius: 30px 0 0 30px;
  border-color: #045050;
  padding: 10px 15px;
  width: 80%;
}

#mna .search button {
  padding: 12px 15px;
  border-radius: 0 40px 40px 0;
}

.box {
  text-align: center;
  padding: 60px;
  background-color: #f9f9f9;

}

.box h5 {
  font-weight: bold;
  font-size: 1.6em;
}

.box-primary {
  background-color: #045050;
  color: #fff;
}

#committees {
  padding: 50px 0;
  background-color: #045050;
  color: #fff;
}

#gallery {
  padding: 50px 0;
}

#gallery .bar {
  width: 5%;
}

#friendship {
  padding: 50px 0;
  background-color: #045050;
  color: #fff;
}

#friendship .btn {
  border: 2px solid #fff;
}

.btn-primary {
  background-color: #045050;
  border-radius: 0;
  padding: 10px 25px;
}

.btn-primary:hover {
  background-color: #023535;
}

.btn-primary:focus,
.btn-primary:active {
  background-color: #073a3a !important;
}

#links {
  padding: 50px 0;
}

#links a {
  text-decoration: none;
  color: #0c0c0c;
}

.link-card {
  background-color: #f9f9f9;
  padding: 30px;
  display: flex;
  flex-basis: 50px;
}

.link-icon {
  display: flex;
  background-color: #fff;
  border-radius: 40px;
  width: 50px;
  height: 50px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.link-icon i {
  color: #045050;
  font-size: 24px;
}

footer {
  background-color: #333333;
  color: #d8d8d8;
}

footer a {
  color: #d8d8d8;
  text-decoration: none !important;
}

footer li {
  list-style: none;
}

.social-links li {
  float: left;
  margin-right: 10px;
}

#footer-bottom {
  background-color: #292929;
  color: #d8d8d8;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  -webkit-border-radius: 0 6px 6px 6px;
  -moz-border-radius: 0 6px 6px;
  border-radius: 0 6px 6px 6px;
}

.dropdown:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
}

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #ccc;
  margin-top: 5px;
  margin-right: -10px;
}

.dropdown-menu {
  padding: 0;
}

ul.dropdown-menu li:first-child {
  padding-top: 0.5em;
}

ul.dropdown-menu li:last-child {
  padding-bottom: 0.5em;
}

.dropdown-submenu:hover > a:after {
  border-left-color: #fff;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu a::after {
  /* transform: rotate(-90deg); */
  color: #0c0c0c;
  position: absolute;
  right: 25px;
  top: 0.5em;
}

.dropdown-submenu .dropdown-menu {
  top: 5px;
  left: 100%;
  margin-left: 0.1rem;
  margin-right: 0.1rem;
}

@media screen and (max-width: 990px) {
  #logo h1 {
    font-size: 14px;
  }
  #logo .search {
    margin-top: 35px;
  }
}

p {
  font-size: 12px im !important;
}

span.new {
  font-size: 0.7em;
  padding: 3px 8px;
  background: red;
  border-radius: 5px;
  margin-left: 8px;
  display: inline-block;
}

span.new:hover {
  text-decoration: none;
}

.address_seperator {
  display: block;
  height: 2px;
  border-top: 1px solid #dee2e6;
  margin-left: -10px;
  margin-top: 5px;
  margin-bottom: 5px;
  width: calc(100% + 20px);
}

.btn-flash {
  animation: flash 1s infinite;
}

a.btn-flash:visited {
  color: #045050;
}

@keyframes flash {
  0% {opacity: 1;}
  50% {opacity: 0.5;}
  100% {opacity: 1;}
}
