/* --------------------------Header---------------------------- */
.stickynavbar {
  background-color: #fff !important;
  z-index: 99;
  padding-top: 0 !important;
  box-shadow: 0 0 8px grey;
}
.sticky {
  position: fixed!important;
  top: 20px;
  width: 100%;
  padding-bottom: 0 !important;
}
.menubar {
  -webkit-transition: all 0.5s ease;
  -moz-transition: position 10s;
  -ms-transition: position 10s;
  -o-transition: position 10s;
  transition: all 0.5s ease;
}
#header .logo, #footer .logo{
  margin:0;
  text-align: center;
}
#header .logo a {
  font-weight:700;
  padding:0;
  font-size:30px;
  font-weight:bold;
  margin-top: 0;
}
.logo a.custom-logo-link {
  color:#000000;
}
.logo a {
  color: #000;
  font-size: 19px;
  letter-spacing: 1px;
  font-weight: 400;
  font-family: "Lobster";
}
.logo p {
  color: #000;
  margin-bottom: 0;
  font-size: 14px;
}
.scrolled {
  position: fixed !important;
  top: 0;
  width: 100%;
  z-index: 9999999;
  background:#fff;
}
#masthead.scrolled {
  background: #ccc;
}
div#mySidenav {
  display: block;
}
/* ------------- Topbar ---------------- */
.main-navigation .current_page_item > a,.main-navigation .current-menu-item a{
  color: #CB0020;
}
p.tobr-para {
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}
.search-icon i {
    color: #1D1D1D;
    cursor: pointer;
    font-size: 16px;
}
.header-search {
  float: right;
  position: relative;
}
.search-icon {
  display: block;
    line-height: 40px;
    cursor: pointer;
}
.header-search .search-input-wrapper {
    background: #fff none repeat scroll 0 0;
    -webkit-box-shadow: 1px 1px 7px rgba(0,0,0,.15);
    box-shadow: 1px 1px 7px rgba(0,0,0,.15);
    border-top: 2px solid #408c40;
    padding: 15px;
    position: absolute;
    right: -24px;
    top: 124%;
    width: 300px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
}
.search-input button {
    background: #CB0020;
    color: #ffffff;
    border: none;
    padding: 6px 4px;
    border-radius: 5px;
    margin-left: 5px;
}
.search-input-wrapper.active-search {
    opacity: 1;
    visibility: visible;
}
.header-search .search-input-wrapper {
    border: 5px double #CB0020;
}
.header-search .search-input-wrapper:before {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 15px solid #408c40;
    content: "";
    position: absolute;
    right: 15px;
    top: -18px;
}
.header-search .search-input-wrapper:before {
    border-bottom-color: #CB0020;
}
.header-search .search-input-wrapper .search-field {
    border-radius: 0;
    padding: 4px 10px;
    width: 75%;
    float: left;
}
.header-search .search-input-wrapper .search-submit {
    border: medium none;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    float: left;
    padding: 10px 0 10px;
    width: 25%;
    height: 36px;
    background: #CB0020;
}
/*----------------Menu bar-----------*/
@keyframes smoothScroll {
  0% {
    transform: translateY(-40px);
  }
  100% {
    transform: translateY(0px);
  }
}
ul.list_nav {
  margin: 0 auto;
  text-align: center;
  display: block;
  text-align: right;
}
.main-navigation ul{
  list-style: none;
  margin: 0;
}
.main-navigation li{
  position: relative;
  padding: 0px 15px;
  display: inline-block;
}
.main-navigation li:last-child{
  border-right: none;
}
.main-navigation a {
    display: block;
    text-decoration: none;
    text-transform: none;
    padding: 0;
    color: #1D1D1D;
    font: 400 16px Montserrat;
}
.main-navigation a:hover{
  color: #CB0020;
}
.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 .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: #CB0020;
} */
.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;
}
/*dd*/
.cat-dropdown-menu {
  display: none;
    position: absolute;
    background-color: #fafbff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    z-index: 999;
    left: 0;
    right: 0;
    width: 80%;
    border-radius: 0px 0px 7px 7px;
    margin: auto;
    text-align: left;  
}
.head_category {
    position: relative;
}
/* Style the dropdown button */
.cat-dropdown-toggle {
  text-decoration: none;
    color: #ffffff;
    display: inline-block;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    border: none;
}
a#dropdownMenuLink-cat i {
    color: #CB0020;
}
a#dropdownMenuLink-cat:hover,a#dropdownMenuLink-cat:focus {
    color: #000;
}
a#dropdownMenuLink-cat:after {
    content: '\f078';
    color: #fff;
    font-family: fontawesome;
    font-weight: 100;
    font-size: 15px;
    margin-left: 50px;
}
/* Style the bars icon inside the button */
.cat-bars {
  margin-left: 5px;
}
.cat-dropdown-menu.show {
  display: block;
}
.cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
li.cat-inn:after {
    content: '\f105';
    position: absolute;
    right: 30px;
    font-family: fontawesome;
    color: #AEAEAE;
}
li.cat-inn a {
    color: #333E48;
}
.cat-inn {
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 14px;
  font-weight: 400;
  color: #333E48;
  text-transform: capitalize;
}
section#slider-banner{
  position: relative;
}
body.home.page-template.page-template-page-template.page-template-home-page .nav_wrap {
    clear: both;
    background-color: transparent;
    z-index: 99;
    position: absolute;
    left: 0;
    right: 0;
}
.border-line {
    border-left: 2px solid #858583;
}
/*---------------- Footer Section ----------------------*/
span.ftr-loc-hd,a.page-address,span.ftr-con-icon,a.phone-ftr,span.ftr-mil-icon,a.mail-ftr,#footer ul li a {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Cormorant';
    font-style: italic;
    color: #fff;
}
.footer-info a {
  color: #fff;
}

a.phone-ftr,a.mail-ftr,#footer ul li a{
  color: #fff;
}
.footer-cols{
  padding-top: 60px;
  padding-bottom: 60px;
}
.ftr-socialbox a i {
    background: #ffffff;
    border-radius: 8px;
    color: #CB0020;
    font-size: 14px;
    margin: 5px;
    padding: 8px;
}
.ftr-socialbox a i:hover {
  background: #CB0020;
  color: #ffffff;
}
a.ftr-facebook i {
    padding: 8px;
}
a.ftr-twitter i {
    padding: 8px 7px;
}
a.ftr-pintrest i {
    padding: 8px 10px;
}
.ftr-socialbox i:hover,.row.ftr-contact i:hover{
  color: #CB0020;
}
.footer-cols a.wp-block-button__link.wp-element-button {
    background: none;
    font-size: 16px;
    font-weight: 400;
    text-decoration: underline;
    padding: 10px 0px;
}
.container.footer-cols h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    font-family: 'Cormorant';
    padding: 0px;
    margin: 0;
}
#footer .copyright p {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Montserrat';
}
#footer .copyright a {
  color: #fff;
  cursor: pointer;
}
#footer span.credit_link a {
  color: #CB0020!important;
}
.ftr-addr {
    display: flex;
}
.ftr-box4 div{
  margin: 20px 0px;
}
div#footer {
  background-size: 100% 100%;
}
#footer ul li{
  list-style:none;
  margin: 3px 0;
}
#footer ul {
    margin-left: 0;
    padding: 0;
}
.widget_recent_entries img {
  width: 100px;
}
#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;
  font-family: "Montserrat";
}
#footer .widget td{
  padding-top: 0px !important;
}
/*-------------------------- 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: #000;
    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: #000;
  padding-left: 15px;
  caption-side: top;
}
.widget_calendar tbody a {
  background-color: #bbb;
  color: #000;
  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: #CB0020;
  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 7px;
}
#return-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
  color: #fff;
  top: 5px;
}
