/* HEADER */

.socialbox {
  display: inline-block;
}
.socialbox i {
  margin-right: 15px;
}
.header-nav-box {
  border-top: solid 1px #e9eaea;
  border-bottom: solid 1px #e9eaea;
}
.header-detail span {
    font-size: 14px;
    font-weight: 300;
}
.logo h1{
  font-size: 20px;
}

/* STICKY HEADER */

.stickynavbar {
  background-color: #fff !important;
  z-index: 9999999999999;
  padding-top: 0 !important;
  box-shadow: 0 0 8px grey;
}
.sticky {
  position: fixed!important;
  top: 0;
  width: 100%;
  padding-bottom: 0 !important;
}

/* MENU BAR */

@keyframes smoothScroll {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0px);
  }
}
ul.list_nav {
  margin: 0 auto;
  display: block;
}
.main-navigation li{
  position: relative;
  display: inline-block;
}
.main-navigation ul.sub-menu li:after{
  display: none;
}
.main-navigation a{
  display: block;
  font-size: 15px;
  padding: 5px 25px;
}
.main-navigation ul ul{
  display: none;
  position: absolute;
  left: 0;
  top: 100% ;
  background: #fff;
  min-width: 215px;
  z-index: 9999;
}
.main-navigation ul ul ul{
  left: 100%;
  top: 0;
}
.main-navigation ul ul li,
.menubar.scrolled .main-navigation ul ul li{
  float: none;
  display: block;
  text-align: left;
  border-bottom: 1px solid #e9eaea;
}
.main-navigation ul ul li:last-child{
  border-bottom: 0;
}
.main-navigation ul li:hover > ul{
  display: block;
}
.main-navigation .menu > ul > li.highlight{
  background-color: #ffffff;
}
.main-navigation .menu > ul > li.highlight:hover{
  background: transparent;
}
.menubar.scrolled .menu > ul > li:hover > a:after,
.menubar.scrolled .menu > ul > li.current_page_item > a:after,
.menubar.scrolled .menu > ul > li.current-menu-item > a:after{
  height: 2px;
}
.menu > ul > li.exoplanet-search:after{
  background: transparent !important;
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation{
  margin: 0 0 15px;
  overflow: hidden;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous{
  float: left;
  width: 50%;
}
.comment-navigation .nav-next, .posts-navigation .nav-next, .post-navigation .nav-next {
  float: right;
  text-align: right;
  width: auto;
}

/*---------------- Footer Section ----------------------*/

.footer-cols{
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer_hide{
  display:none;
}
div#footer_box p ,#footer input[type=submit]{
    color: #ffffff;
}
#footer input[type="email"] {
    padding: 8px;
    color: #858c92;
    border: none;
}
#footer h3 {
  padding: 10px 0;
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}
#footer input[type=submit] {
    border: none;
    border-radius: 20px;
    padding: 10px 30px;
}
#footer_box .footer-social-icons i {
    background-color: #ffffff;
    padding: 7px 0px;
    border-radius: 50px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.footer-about p,.footer-service p {
    position: relative;
    top: -20px;
    left: 35px;
}
#footer ul li{
  color: #ffffff;
}
#footer ul li a {
  font-size: 15px;
  color: #ffffff;
  /*font-weight: 600;*/
}
#nav_menu-2 .menu-footer-link-container ul {
    list-style: none;
    margin-left: 0px;
}
ul#menu-footer-link li:before {
    content: '\9B';
    font-size: 25px;
    font-weight: 900;
    color: #80AD9C;
    margin-right: 8px;
  }
#footer #gallery-1 .gallery-item {
  width: 30%;
  margin: 4px;
}
.widget_recent_entries img,table {
  width: 100px;
}
.copyright{
  background-color: #ffffff;  
}
.copyright p{
  color: #858c92 !important;
}
#footer .textwidget input[type="email"]{
  border-radius: 40px;
  border:2px solid #9b9b9b;
}
#footer .textwidget input[type="submit"]{
  background-color: transparent;
  border-radius: 40px;
  padding: 10px 20px;
  border:2px solid #9b9b9b;
  display: inline-block;
  margin-top: 10px;
  color: #9b9b9b;
}
#footer .widget td {
  padding-top: 0px !important;
}
#footer #site-navigation ul li a{
  font-size: 15px;
  letter-spacing: 1px;
  color: #919191;
  font-weight: 500;
}
#footer #site-navigation ul li{
  margin-right: 20px;
}
#footer #site-navigation{
  text-align: center;
  border-bottom: 1px solid #292929;
  margin-bottom: 20px;
  padding-bottom: 20px;
  padding-top: 65px;
}
#footer .main-navigation li.current_page_item{
  background-color: transparent;
}

/*-------------------------- Calendar widget --------------------------*/
.widget.widget_calendar table {
  margin: 0;
}
.widget.widget_calendar td, .widget.widget_calendar tr, .widget.widget_calendar th {
  border: 1px solid #fff;
}
#footer .widget.widget_calendar td, #footer .widget.widget_calendar tr, #footer .widget.widget_calendar th {
  padding: 2px;
}
.widget_calendar td,
.widget_calendar th {
  line-height: 1.5625;
  padding: 0;
  text-align: center;
}
.widget th,
.widget td {
  padding: 0.5384615385em;
}

/* ---------- Return to Top ------------ */

#return-to-top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  -webkit-border-radius: 35px;
  -moz-border-radius: 35px;
  border-radius: 35px;
  display: none;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 99;
}
#return-to-top i {
  color: #fff;
  position: relative;
  top: 13px;
  font-size: 19px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 3px 18px;
}
#return-to-top:hover {
  background: rgb(0 0 0 / 32%);
}
#return-to-top:hover i {
  top: 5px;
}

/* ============================================
   MOBILE MENU STYLES
   ============================================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  background: none !important;
  border: none !important;
  font-size: 24px;
  color: #02314f;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-toggle:hover {
  color: #80AD9C;
}

.mobile-menu-toggle:focus {
  outline: 2px solid #80AD9C;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Logo Responsive */
.logo img {
  max-height: 50px;
  width: auto;
  height: auto;
}

@media (max-width: 767px) {
  .logo img {
    max-height: 40px;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Side Navigation (Mobile Menu) */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  transition: 0.5s;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  padding-top: 60px;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  color: #02314f;
  text-decoration: none;
  display: block;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.sidenav .closebtn:hover {
  color: #80AD9C;
}

.mobile-navigation {
  padding: 20px 0;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid #e9eaea;
}

.mobile-menu-list li:last-child {
  border-bottom: none;
}

.mobile-menu-list a {
  display: block;
  padding: 15px 30px;
  color: #02314f;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu-list a:hover {
  background-color: #f3f4f9;
  color: #80AD9C;
  padding-left: 35px;
}

.mobile-menu-list a:focus {
  outline: 2px solid #80AD9C;
  outline-offset: -2px;
}

/* Hide Desktop Menu on Mobile */
@media (max-width: 991px) {
  .header-nav {
    display: none !important;
  }
  
  .main-navigation {
    display: none !important;
  }
}

/* Show Desktop Menu on Large Screens */
@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .sidenav {
    display: none !important;
  }
}

/* Search Icon Responsive */
@media (max-width: 767px) {
  .search-icon {
    font-size: 18px;
    padding-right: 10px !important;
  }
  
  .search-icon a {
    color: #02314f;
    transition: color 0.3s ease;
  }
  
  .search-icon a:hover {
    color: #80AD9C;
  }
}

/* Navigation Box Responsive */
@media (max-width: 767px) {
  .header-nav-box {
    padding: 10px 0;
  }
  
  #nav-box .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .logo h1 {
    margin: 0;
    padding: 0;
  }
}

/* ============================================
   NEWSLETTER FORM STYLES
   ============================================ */
.newsletter-form {
    margin-top: 20px;
}

.newsletter-field {
    margin-bottom: 15px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #02314f;
    background: #ffffff;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: #80AD9C;
    box-shadow: 0 0 0 0.2rem rgba(128, 173, 156, 0.25);
}

.newsletter-input::placeholder {
    color: #858d92;
}

.newsletter-submit {
    margin: 0;
}

.newsletter-btn {
    width: 100%;
    padding: 12px 24px;
    background: #80AD9C;
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: #6a9a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 173, 156, 0.3);
}

.newsletter-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.newsletter-btn i {
    font-size: 14px;
}

.newsletter-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.newsletter-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.newsletter-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.newsletter-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
    border-color: currentColor transparent currentColor currentColor;
    animation: spinner-border 0.75s linear infinite;
    display: inline-block;
    vertical-align: text-bottom;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* Newsletter Form Responsive */
@media (max-width: 767px) {
    .newsletter-input {
        font-size: 15px;
        padding: 10px 14px;
    }
    
    .newsletter-btn {
        font-size: 15px;
        padding: 10px 20px;
    }
}