/* --------------------------Header---------------------------- */

.stickynavbar {
  background-color: #131313 !important;
  z-index: 9999999999999;
  padding-top: 0 !important;
  box-shadow: 0 0 8px grey;
}
.sticky {
  position: fixed;
  top: 0px;
  width: 100%;
  padding-bottom: 0 !important;
}
.nav_wrap {
  clear:both;
  margin-bottom: 0em;
  z-index: 99;
  
}
.home.page-template .sticky .nav_wrap {
  padding-bottom: 0px;
}
#header,.header-wrap {
  background-color:#131313;
/*   padding: 5px 0; */
  padding: 0;
}

#header .logo img{
  max-height: 123px;
  width: auto;
}

.menubar {
  -webkit-transition: all 0.5s ease;
  -moz-transition: position 10s;
  -ms-transition: position 10s;
  -o-transition: position 10s;
  transition: all 0.5s ease;
}
.neseted-inner {
  top: 0;
  position: absolute;
}
.continnerbox {
  background-size: 100% 100%;
  color: #fff;
  border-top: 40px solid #435061;
  border-left: 60px solid transparent;
}
#header .logo, #footer .logo{
  margin:0; 
  text-align: center;
}
#header .logo {
  font-size: 37px;
  color: #FFFFFF;
  font-weight: 700;
  font-family: "Playfair Display";
  text-align: center;
}
#header .logo-text {
  text-align: left;
}
.sticky .logo
{
  top: -63px !important;
}
#header .logo span a{ 
  font-size: 37px;
  color: #FFFFFF;
  font-weight: 700;
  font-family: "Playfair Display";
  text-align: center;
}
.logo a.custom-logo-link{ 
  color:#FFFFFF;
}
#header .logo p{ 
  color: #FFFFFF;
  margin-bottom: 0;
  font-size: 14px;
  text-align: left;
}
#header .top-contact{
  padding:12px 0; 
  font-size:15px;
}
.scrolled {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999999;
  background:#fff;
}
#masthead.scrolled {
  background: #ccc;
}
#site-navigation {
    width: 100%;
}
#header .socialbox
{
  text-align: right;
}
#header .socialbox i {
  color: #FFFFFF;
  padding-right: 20px;
  font-size: 15px;
}

/* --------------- Search -------------- */

#header .search {
  width: 100%;
}
#header .searchTerm {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-right: none;
  padding: 8px;
  border-right: none;
  color: #8A7D6A;
}
#header .searchTerm:focus{
  color: #8A7D6A;
}
#header .searchButton {
  width: 42px;
  height: 40px;
  border: 1px solid #8A7D6A;
  background: #8A7D6A;
  text-align: center;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  top: 0;
}
#header .wrap{
  /* margin-top: 25px; */
  width: 100%;
}
#header input#term::placeholder {
  font-size: 20px;
  color: #646464;
  font-weight: 400;
  font-family: "Open Sans";
}

/*----------------Menu bar-----------*/
@keyframes smoothScroll {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0px);
  }
}
.main-navigation ul{
  list-style: none;
  margin: 0;
  text-align: left;
}
.main-navigation li{
  position: relative;
  padding:25px 25px;
  display: inline-block;
}
.main-navigation li:last-child{
  border-right: none;
}
.main-navigation a{
  display: block;
  text-decoration: none!important;
  text-transform: none;
  padding: 0;
  font-size: 15px;
  letter-spacing: 0px;
  color: #FFFFFF;
  font-weight: 600;
  font-family: "Open Sans";
}
.main-navigation a:hover{
  color: #8A7D6A;
}
.main-navigation ul ul{
  display: none;
  position: absolute;
  left: 0;
  top: 100% ;
  background: #F6F6F6;
  min-width: 215px;
  z-index: 9999;
}

.main-navigation ul ul ul{
  left: 100%;
  top: 0;
}

.main-navigation ul ul a{
  text-transform: none;
  font-weight: 400;
  color: #1e1d1c;
  font-size: 14px;
  line-height: 1.5;
}

.main-navigation ul ul li,
.menubar.scrolled .main-navigation ul ul li{
  float: none;
  display: block;
  text-align: left;
  border-bottom: 1px solid #cccccc;
}

.main-navigation ul ul li:last-child{
  border-bottom: 0;
}

.main-navigation ul li:hover > ul{
  display: block;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a{
  color: #8A7D6A;
}

.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;
}

.main-navigation ul ul li:hover > a{
  color: #8A7D6A;
}

.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;
}
.top_bar_btn a.theme_button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/*---------------- Footer Section ----------------------*/


#footer .recent-post-box .post-thumb {
  padding: 0;
}
#footer p.post-date {
  color: #7f8391;
  font-size: 11px !important;
}
#footer {
  background-color: #111111;
  background-repeat: no-repeat;
  background-size: cover;
}
.outer-footer {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.footer-social .socialbox a {
  border-right: none;
}
.footer-social .socialbox a i {
  color: #ffffff;
}
.footer-top {
  padding-bottom: 50px;
}
.footer-top-col h3 {
  font-size: 20px;
  font-weight: bold;
}
.outer-footer {
  background-size: 100% 100%;
}
#footer form.search-form{
  border: none;
  background: transparent;
  padding: 0;
}
#footer form.search-form input{
  float: none;
  border: 1px solid #fff;
  margin: 8px 0px;
}
#footer textarea{
  height: 100px;
}
#footer p.post-date {
    color: #ffffff;
    font-size: 11px !important;
}
.copyright p {
  font-size: 16px;
  letter-spacing: 1px;
  color: #ffffff;
  font-family: "Roboto";
  font-weight: 500;
  padding: 20px 0;
  margin-bottom: 0;
}
.main_sociobox {
    padding: 20px 0;
}
#footer{ 
  color:#fff;
  text-align:left;
}
.footer_hide{
  display:none;
}
#footer h3 {
  font-size: 24px;
  letter-spacing: 0px;
  color: #f7f7f7;
  font-family: "Poppins";
  font-weight: 700;
  padding:10px 0 17px 0;
}
.copyright p {
  font-size: 14px;
  text-align: center;
  color: #ffffff;
  padding: 29px;
  margin: 0;
  font-weight: 400;
  font-family: "Open Sans";
}
.copyright a {
  color: #fff;
  cursor: pointer;
}
#footer ul li{
  list-style:none;
  margin:0 0 5px 0;
  text-align:left;
  padding: 5px;
  list-style-image: url(../images/arrow.png);
}
#footer ul li a {
  font-size: 15px;
  letter-spacing: 0px;
  color: #fff;
  font-weight: 700;
  font-family: "Open Sans";
}
.footer_hr {
  border-bottom: 1px solid #464545;
  margin-bottom: 30px;
  padding-bottom: 30px;
}
#footer #gallery-1 .gallery-item {
  width: 30%;
  margin: 4px;
}
.widget_recent_entries img {
  width: 50px;
}
.copyright{
  text-align: center;
  background-color: #000;
}
#footer .textwidget input[type="email"]
{
  border:1px solid #9b9b9b;
  margin-top: 20px;
  color: #fff;
}
#footer .textwidget input[type="submit"]
{
  background-color: transparent;
  padding: 10px 20px;
  border:1px solid #9b9b9b;
  display: inline-block;
  margin-top: 10px;
  color: #9b9b9b;
  font-family: "Poppins"; 
}
#footer i {
  color: #fff;
  margin-right: 17px;
  font-size: 15px;
  margin-bottom: 20px;
}
#footer .widget td 
{
  padding-top: 0px !important;
}
#footer #site-navigation ul li a
{
  font-size: 15px;
  letter-spacing: 1px;
  color: #f3f3f3;
  font-family: "Open Sans";
  font-weight: 600;
}
#footer #site-navigation ul li
{
  margin-right: 20px;
}
#footer .main-navigation ul {
  text-align: center;
}
#footer .main-navigation li.current_page_item
{
  background-color: transparent;
}
#footer .footer-logo-box
{
  margin: 0 auto;
  display: block;
  padding: 20px 15px;
  max-width:180px;
  max-height: 180px;
  border-radius: 50%;
}
#footer_box {
  background: #000;
  opacity: 0.8;
}
#footer_box h1 {
  font-size: 27px;
  color: #dedbdb;
  font-weight: 700;
  font-family: "Playfair Display";
  text-align: center;
  margin-top: 45px;
}
#footer_box .footer-text {
  max-width: 673px;
  font-size: 14px;
  color: #f3f3f3;
  font-weight: 400;
  font-family: "Open Sans";
  margin: 20px auto;
  text-align: center;
}
span.credit_link a {
  color: #8A7D6A;
}

/*-------------------------- Calendar widget --------------------------*/
table {
  border-collapse: collapse;
  border-spacing: 0;
  border-width: 1px 0 0 1px;
  margin: 0 0 1.75em;
  table-layout: fixed;
  width: 100%;
}
.widget.widget_calendar table {
  margin: 0;
}
.widget.widget_calendar td, .widget.widget_calendar tr, .widget.widget_calendar th {
  border: 1px solid #fff;
  color: #000000;
}
#footer .widget.widget_calendar td, #footer .widget.widget_calendar tr, #footer .widget.widget_calendar th {
    color: #ffffff;
    padding: 2px;
}
.widget_calendar td,
.widget_calendar th {
  line-height: 1.5625;
  padding: 0;
  text-align: center;
}
.widget_calendar caption {
  font-weight: 900;
  margin-bottom: 0em;
  color: #fff;
  padding-left: 15px;
  caption-side: top;
}
.widget_calendar tbody a {
  background-color: #bbb;
  color: #fff;
  display: block;
  font-weight: 700;
}
.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus {
  background-color: #686868;
  color: #fff;
}
.widget th,
.widget td {
  padding: 0.5384615385em;
}

/* ---------- Return to Top ------------ */

#return-to-top {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background:#8A7D6A;
  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: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
  color: #fff;
  top: 5px;
}