/**
  Theme Name: Space International Hotel Design
  Theme URI: http://www.hotelspaceonline.com
  Version: 1.0
  Author: Dental Design
  Author URI: http://www.dental-design.co.uk
  Description: A theme created for Space International Hotel Design by Dental Design.
*/

body {
  font-size: 13px;
  font-weight: 400;
  color: #121212;
  width: 100%;
  height: 100%;
  background: url(images/concrete_seamless.png) #f6f6f6;
}

body.rfwbs-active {
  background: #000;
  padding-bottom: 0!important;
}

body,
#button-yellow {
  font-family: 'Raleway', sans-serif;
}

h1,
h2,
h3 {
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.1em;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

.bg-homepage {
  background: #000;
}

/* gdpr check box */

.gdpr {
    border-left: 0;
    border-right: 0;
    padding: 0;
    margin: -10px 0 0 0;
}

.gdpr p {
    font-size: 12px;
    margin: 10px 0;
    line-height: 18px;
}

.gdpr input[type="checkbox"] {
    width: auto !important;
    margin-left: 10px !important;
    height:auto !important;
}

.gdpr-small {
    font-size: 11px;
    clear: both;
    float: left;
    line-height: 16px;
    margin: -11px 0 10px 0;
}

.newsletter-signup .gdpr p {
    font-size: 12px;
    margin: -10px 0 10px 0;
    line-height: 18px;
    text-transform: none;
}

.newsletter-signup .gdpr-small {
    font-size: 10px;
    clear: both;
    float: left;
    line-height: 0;
    text-align: center;
    width: 100%;
    margin-bottom: 14px;
    text-transform: none;
}

.newsletter-signup .gdpr input[type="checkbox"] {
    width: auto !important;
    margin-left: 3px !important;
    margin-right: 4px !important;
    height: auto !important;
}

/* sidebar */


.sidebar-ad img {
    width: 100%;
    margin-top: 16px;
}



/* END gdpr check box */

header,
footer {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

section {
  width:96%;
  max-width: 1290px;
  margin: 0 auto;
  position: relative;
}

a {
  font-weight: 700;
  text-decoration: none;
  color: #4260A8;
}

a:hover {
  color: #a7b8d0;
}

p {
  margin: 15px 0;
}

p, ul, ol {
  line-height: 24px;
}

hr, hr.trans {
  border: 0;
  height: 1px;
  margin:30px 0;
  background: #eee;
  clear: both;
}

hr.trans {
  height: 1px;
  background: rgba(255,255,255,0);
}

/* .wp-caption img {
  width: 100%;
  height: auto;
} */

.content-holder img {
  /*width: 100%;*/
  height: auto;
}

.advert-left {
    margin-top: 10px;
    background-color: #2a2a2a;
    position: absolute;
    left: 0;
    width: 160px;
    padding: 10px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advert-right {
    margin-top: 10px;
    background-color: #2a2a2a;
    position: absolute;
    right: 0;
    width: 160px;
    padding: 10px;
    height: 600px;
    display: flex;
    align-items: center;
}


@media (max-width: 988px){
  .wp-caption {
    /* Force the box to be 100% */
    width: 100% !important;
  }
  #content .wp-caption a img {
    /* Scale down if too big */
    max-width: 99.03225806%; /* 614/620 */
    height: auto;
  }
}

.wp-caption-text {
  text-align: center;
}

.index-title {
  float: left;
  margin-top: 0;
}

/* blog */


.post-slide-image img {
    display: block;
    text-align: center;
    max-width: 700px !important;
    height: auto !important;
    text-align: center !important;
    left: 0;
    right: 0;
    margin: 0 auto;
}



/* font awesome */

.fa-1 {
  font-size: 1.3em !important;
}


/* header */

header {
  width: 100%;
  background-color: #2a2a2a;
  background-size: cover;
}

.homepage {
  padding: 10% 0;
  background: none;
}

/* logo */

.logo {
  width:78%;
  max-width: 480px;
  margin: 0 auto;
  padding: 4% 0;
}
.inner-pages-logo {
    /* background-image: url(https://hotelspaceonline.com/wp-content/uploads/2022/04/page-header-1.png); */
    max-width: 100%;
    background-position: center;
    width: 100%;
background-color: #2a2a2a;}

.logo-home {
  /* width:90%; */
  /* max-width: 480px; */
  /* top: 50%; */
  margin:0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  background-color: #2a2a2a;
  flex-wrap: wrap;
  width: 100%;
}
.inner-pages-logo .logo-home {
  background-color:transparent;
}
.logo img, .logo-home img {
  width: 40%;
  height: auto;
  margin-bottom: 20px;
  max-width: 450px;
  margin: 0 5%;
}
.logo img{
  width: 80%;
}

a.subscribe {
    background: rgba(0,0,0,0.55);
    color: white;
    padding: 10px;
    font-size: 13px;
    font-weight: 400;
    /* border: 1px solid white; */
    display: inline-block;
    margin-bottom: 20px;
}

/* buttons */

a.all-btn {
  display: inline-block;
  border: 2px solid #a2195b;
  padding: 10px 25px;
  position: relative;
  font-size: 14px;
  color: #a2195b;
  text-decoration: none;
  text-transform: uppercase;
}

a.all-btn:hover {
  background: #a2195b;
  border: 2px solid #a2195b;
  text-decoration: none;
  color: #fff;
}

/* Navigation */

nav {
  background:#2C302E;
  /* background: rgba(0,0,0,0.4); */
  width: 100%;
  position: relative;
  z-index: 9;
  text-align: center;
}
.landing-page nav {
    background: rgba(0,0,0,0.4); 
}

.scroll-fix {
  background: #2C302E;
  background: rgba(0,0,0,0.8);
}

.nav {
  width:96%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0;
  clear: both;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.nav ul li {
  position: relative;
  /* float: left; */
  line-height: 16px;
  border-left: 1px solid #333;
  display: inline-block;
}

.nav ul li:last-child {
  border-right: 1px solid #333;
}

.nav a {
  display: block;
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.15em;
  color: #fff;
  width: 123px;
  height: 17px;
  /* height: 100%; */
  padding: 18px 0 16px;
  background: url(images/nav-arrow.png) center -50px no-repeat;
}

.nav ul li.nav-icon a {
  width: 44px;
}

.nav li:hover a, .nav a:hover {
  background: url(images/nav-arrow-hover.png) center bottom no-repeat #a2195b;
  padding: 16px 0 18px;
}

.inner-nav .nav li.current-menu-item>a,
.inner-nav .nav li.current-post-ancestor>a,
.inner-nav .nav li.current-menu-ancestor>a {
  background-color: #a2195b;
}

.nav ul ul {
  list-style:none;
  position:absolute;
  left:-9999px;
  /* width: 100%; */
  display: block;
}

.nav ul ul li a {
  width: auto;
  text-align: left;
}

.homepage .nav ul ul {
  bottom:100%;
}

.nav ul ul li {
  padding-top:0px;
  float:none;
}

.nav ul ul a{
  white-space:nowrap;
}

.nav ul li:hover ul {
  left:0;
}

.nav ul li:hover ul li a {
  background: #444444;
  background: rgba(50,50,50,0.95);
  -webkit-border-radius: 0;
  border-radius: 0;
  border-top: 1px solid #333;
  color: #fff;
  padding: 10px 15px;
  width: auto;
}

.nav ul li:hover ul a {
  text-decoration:none;
}

.nav ul li:hover ul li a:hover {
  background:#C9C80B;
  color: #000;
}

.nav ul ul li,
.nav ul ul li:last-of-type {
  border:none;
  display: block;
}

.nav .mega ul {
  width: 520px;
}

.nav .mega ul li {
  width: 50%;
  float: left;
}

/* NEWS PAGMINATION */

.pagination {
  background: none;
  clear: both;
}

.pagination ul {
  margin: 0;
  padding: 0;
}

.pagination ul li {
  list-style: none;
  width: 45%;
  display: inline-block;
  margin: 0 2%;

}

.pagination ul li a {
  color: #a2195b;
  display: block;
  font-size: 14px;
  text-align: center;
  border: 2px solid #a2195b;
  padding: 10px 25px;
  text-transform: uppercase;
  background: #fff;
}

.pagination ul li a:hover {
  color: #fff;
  display: block;
  background: #a2195b;
}

/* promo */

.top-promo {
  margin: 30px auto;
}

.billboard,
.promo,
.promo-small {
  background: #eee;
}

.promo {
  width: 23.5%;
  float: left;
  margin: 0 0 0;
}

.advert-slider {
    max-height: 253px;
    overflow: hidden;
}

.billboard {
  width: 74.75%;
  float: right;
  margin: 0 0 0;
}

.promo img, .billboard img {
  width: 100%;
  height: auto;
}

/*Main Wrapper */

.main {
  float: left;
  width: calc(97.5% - 460px);
}

.adverts-inner {
    float: left;
    margin-right: 10px;
}
@media(max-width: 1080px){
  .adverts-inner {
    display: flex;
    justify-content: center;
    width: 100%;
    order: 2;
  }
  section.main-content{
    display: flex;
    flex-wrap: wrap;
  }
  main
}

.bcfa {
  display: block;
  float: right;
  max-width: 140px;
  width: 30%;
  margin: 0 0 10px 10px;
}

.bcfa-side {
  width: 100%;
  max-width: 150px;
  width: 100%;
  padding-top: 20px;
  margin: 10px auto;
  display: block;
}

/* Sidebar */

.sidebar {
  float: right;
  width: 300px;
}
.sidebar img{
  width: 100%;
}
/* Search */

.search-box {
  background: #FFF;
  width: 90%;
  padding: 5%;
  position: relative;
}

.search-box h3 {
  margin: 0 0 10px;
}

.search-box input {
  width: 75%;
  padding: 3%;
  float: left;
  background: #FFF;
  outline:none;
  border:1px solid #969696;
  border-radius: 0;
  -webkit-border-radius: 0;
  -webkit-appearance:none;
}

.search-box input:focus,
.search-box input:hover {
  background: #fff;
  border:1px solid #a2195b;
}

#searchsubmit {
  padding: 2.5% 4%;
  font-size: 19px;
  float: left;
  margin-left: 2%;
  background: #a2195b;
  color: #FFF;
  border:none;
}

.twitter-feed {
  width: 100%;
  margin: 8% 0 0;
  position: relative;
}

.twitter-feed iframe {
  width: 100%!important;
}

.promo-side {
  width: 100%;
  margin-bottom: 10px;
}

.promo-side img {
  width: 100%;
  height: auto;
}


/* news */

.featured-box,
.news-box {
  background: #fff;
  float: left;
  position: relative;
}

.featured-box {
  width: 95%;
  margin: 0 0 3%;
  padding: 2.5%;
}

.featured-box img {
  width: 40%;
  height: auto;
  float: left;
  border: 3px solid #fff;
  margin: -3px 30px -3px -3px;
}

.featured-title {
  background: #333;
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 7px 0;
  text-indent: 2px;
}

.featured-title .fa-star {
  color: #dddc00;
}

.featured-box .all-btn {
  float: right;
}

.featured-box a.all-btn .fa {
  padding-left: 3px;
}

.news-box-holder {
  float: left;
  width: 104%;
}

p.eventp {
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 500;
}

.events {
    position: relative;
    width: 25.15%;
    margin: -6px 2.75% 2.75% 0;
    padding: 2.5%;
    float: left;
    border: solid 1px #a7a7a7;
    padding-top: 4px;
    padding-bottom: 4px;
    min-height: 215px;
}

img.minilogo {
    float: right;
    margin-top: -38px;
    margin-bottom: 17px;
}


.news-box {
  position: relative;
  width: 25.15%;
  margin: 0 2.75% 2.75% 0;
  padding: 2.5%;
  text-align: center;
  height: 450px;
}

.news-box img {
  width: 100%;
  height: auto;
  border: 3px solid #fff;
  margin: -3px;
}

.news-box img:hover,
.featured-box img:hover {
  border: 3px solid #a2195b;
}

.excerpt {
  font-size: 18px;
  font-weight: 400;
}

.meta {
  font-size: 11px;
  margin: 0;
  text-transform: uppercase;
  line-height: 18px;
}

.news-box h2 a, .news-box h3 a {
  color: #000;
}

.featured-box h2, .news-box h3 {
  margin-bottom: 0;
}

.news-box h3 {
  font-size:18px;
  max-height:123px;
  overflow: hidden;
  margin-bottom:5px;
}

.news-box .all-btn {
  position: absolute;
  bottom: 6%;
  left: 25%;
  width: 50%;
  padding: 10px 0;
}

/* content */

.content-holder {
  float: left;
  width: 95%;
  padding: 2.5%;
  background: #FFF;
  min-height:150px;
}

.content-holder h1 {
  margin: 0 0 15px;
}

/*Contact Box */

.contact-box {
  float: left;
  width: 42%;
  padding: 1% 2%;
  margin: 1.5%;
  text-align: center;
  border: 1px dashed #eee;
}

/*Mailing List Form */

.mailing-form {
  max-width: 600px;
}

.mailing-form ul {
  margin: 20px 3%;
  padding: 0;
  list-style: none;
}

.mailing-form input,
.mailing-form textarea {
  width:100%;
  height:45px;
  margin-bottom: 10px;
  padding:10px 10px 10px 40px;
  background: #f9f9f9;
  border:1px dashed #dadada;
  font-size:1em;
  outline: none;
  border-radius:0;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}

.mailing-form textarea {
  height: 185px;
  overflow: auto;
  vertical-align: top;
}

.mailing-form li {
  position: relative;
}

.mailing-form li i {
  position: absolute;
  top:14px;
  left: 10px;
  color: #911A52;
}

.mailing-form .submit {
  background: #911A52;
  border: none;
  color: #FFF;
  height: 45px;
  font-size: 17px;
  text-transform: uppercase;
  width: 100%;
  padding: 0;
}

.mailing-form .submit:hover {
  background: #6d133d;
  cursor:pointer;
}

/* Related Posts */

.related-posts {
  width: 104%;
  float: left;
  margin: 3% 0 0;
}

.related-posts h2 {
  margin: 0 0 1%;
}

.related-posts .news-box:last-of-type {
  margin-right:0;
}

/* contact section */

.contact-area {
  width: 100%;
  background: url(images/newsletter.jpg);
  background-size: cover;
  color: #fff;
  padding: 45px 0;
  margin: 30px 0 0;
  text-align: center;
}

.contact-area hr {
  margin: 50px 0 30px;
  background: #000;
}

.contact-area h3 {
  color: #f6f6f6;
  font-size: 32px;
  line-height: 1;
  letter-spacing: 0;
  padding: 0 0 10px;
  margin: 12px 0 0;
  border-bottom: 1px solid #ccc;
}

.contact-area a,
.contact-area a:focus,
.contact-area a:hover {
  color: #fff;
}

#button-yellow {
  float:left;
  width: 100%;
  border: 2px solid #dddc00;
  cursor:pointer;
  background: rgba(255,255,255,0);
  color:#dddc00;
  font-size:16px;
  text-transform: uppercase;
  padding:14px 0;
  margin-top:15px;
  letter-spacing: 0.02em;
}

#button-yellow:hover {
  background: #dddc00;
  border: 2px solid #dddc00;
  color: #000;
}

.two-column {
  width: 90%;
  max-width: 480px;
  padding: 3%;
  display: inline-block;
}



/* footer homepage */

footer {
  position: absolute;
  bottom: 0;
}

/* footer wrapper */

.footer-wrapper {
  background: #fff;
  width: 100%;
  height: auto;
}

.footer {
  background: #fff;
  margin: 0 auto;
  padding: 2%;
}

/*Mailing List Button */

#mailing-list-button {
  position: fixed;
  z-index:10;
  right: -116px;
  top:44%;
  padding:17px 25px 25px;
  color: #000;
  font-size:17px;
  font-weight: normal;
  text-transform: uppercase;
  background: #dddc00;
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
}

#mailing-list-button:hover {
  right:-110px;
}

/* return to top */

#return-to-top {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,.5);
  width: 40px;
  height: 40px;
  text-align: center;
  display: block;
  text-decoration: none;
  z-index: 9999;
  display: none;
}

#return-to-top i {
  color: #fff;
  margin: 0;
  position: relative;
  top: 11px;
  font-size: 19px;
}

#return-to-top:hover {
  background: rgba(0,0,0,1);
}

#return-to-top:hover i {
  color: #fff;
  top: 6px;
}

/*WP Styles*/

.alignright {
  float: right;
  margin: 0 0 10px 20px;
}

.alignleft {
  float: left;
  margin: 0 20px 10px 0;
}


/* Push Nav */

/**
 * Menu overview.
 */
.c-menu {
  position: fixed;
  z-index: 9999999999999999999;
  background-color: rgb(0 0 0);
  transition: transform 0.3s;
}

.c-menu__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

/**
 * Close button resets.
 */
.c-menu__close {
  color: #fff;
  background-color: #3184a1;
  font-size: 14px;
  border: none;
  box-shadow: none;
  border-radius: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  position: absolute;
  right: 0;
}

/**
 * Close button resets.
 */
.c-menu__close:focus {
  outline: none;
}

/**
 * Body states.
 *
 * When a menu is active, we want to hide the overflows on the body to prevent
 * awkward document scrolling.
 */
body.has-active-menu {
  overflow: hidden;
}

/**
 * Mask component
 */

.c-mask {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 0;
  height: 0;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.3s, width 0s 0.3s, height 0s 0.3s;
}

.c-mask.is-active {
  width: 100%;
  height: 100%;
  /* opacity: 0.7; */
  transition: opacity 0.3s;
}

.c-menu--slide-top,
.c-menu--slide-bottom,
.c-menu--push-top,
.c-menu--push-bottom {
  vertical-align: middle;
  width: 100%;
  height: 256px;
  text-align: center;
  /* overflow-x: scroll; */
}

.c-menu--slide-top .c-menu__items,
.c-menu--slide-bottom .c-menu__items,
.c-menu--push-top .c-menu__items,
.c-menu--push-bottom .c-menu__items {
  display: inline-block;
  text-align: center;
}

.c-menu--slide-top .c-menu__item,
.c-menu--slide-bottom .c-menu__item,
.c-menu--push-top .c-menu__item,
.c-menu--push-bottom .c-menu__item {
  display: inline-block;
  line-height: 60px;
}

.c-menu--slide-top .c-menu__link,
.c-menu--slide-bottom .c-menu__link,
.c-menu--push-top .c-menu__link,
.c-menu--push-bottom .c-menu__link {
  display: block;
  padding: 0 4px;
  color: #fff;
}

.c-menu--slide-top .c-menu__close,
.c-menu--slide-bottom .c-menu__close,
.c-menu--push-top .c-menu__close,
.c-menu--push-bottom .c-menu__close {
  display: inline-block;
  margin-right: 12px;
  padding: 0 24px;
  height: 60px;
  line-height: 60px;
}

.c-menu--slide-bottom,
.c-menu--push-bottom {
  bottom: 0;
  left: 0;
  transform: translateY(256px);
}

.c-menu--slide-bottom.is-active,
.c-menu--push-bottom.is-active {
  transform: translateY(0);
}

.o-wrapper.has-push-top {
  transform: translateY(60px);
}

.o-wrapper.has-push-bottom {
  transform: translateY(-60px);
}

.push-menu-button {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: auto;
    width: 200px;
    -webkit-appearance: none;
    background: none;
    border: 0;
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    font-size: 40px;
}

.push-menu-button:hover {
    background: none;
    color: #eee;
}

.push-menu-button:focus {
    outline: none;
}

.push-menu-button i {
    display: block;
    /* margin-top: 4px; */
    /* margin-bottom: -3px; */
}

#o-wrapper {
    /* position: relative; */
    /* margin-top: 0; */
    /* transition: all 0.3s ease-in-out; */
    /* min-height: 100vh; */
}

#o-wrapper.has-push-bottom {
    /* margin-top: -60px; */
}

#o-wrapper footer.homepage {
    position: relative;
}

.news-box-home {
    max-width: 500px;
    width: 96%;
    padding: 20px;
    box-sizing: border-box;
    margin: 20px auto;
    border: 1px solid #fff;
    color: #fff;
    font-family: 'open sans';
    background: rgba(255, 255, 255, 0.05);
}

.news-box-home h2 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 600;
}

.news-box-home a {
    color: inherit;
    font-weight: inherit;
}

.news-box-home small {
    display: block;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 20px;
}

a.read-more-btn {
    display: block;
    margin: 0px auto;
    padding: 10px;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 15px;
    border: 1px solid #fff;
    width: 160px;
}

a.read-more-btn:hover {
    background: #1e5669;
}

.magazine-archive br {
    display: none;
}

/* clear any elements that contain floated divs */

nav:after,
section:after,
.search-box:after,
.mailing-form ul:after {
  content: ".";
  clear: both;
  height: 0;
  display: block;
  visibility: hidden;
}

/* transitions */

a,
.news-box img,
.featured-box img,
.feedback-input,
input,
#mailing-list-button,
#button-yellow,
#return-to-top,
#return-to-top i {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

@-webkit-keyframes fadeIn { from { opacity:0.1; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0.1; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0.1; } to { opacity:1; } }

#rfwbs_slider, .homepage nav {
  opacity:0.1;
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:2s;
  -moz-animation-duration:2s;
  animation-duration:2s;

  -webkit-animation-delay: 0.25s;
  -moz-animation-delay: 0.25s;
  animation-delay: 0.25s;
}

.flexnav, .enter-site, #search-button, .featured-thumb-mob {
  display: none;
}

/* bounce */
@-moz-keyframes bounce {
  0%,20%,50%,80%,100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -moz-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  60% {
    -moz-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@-webkit-keyframes bounce {
  0%,20%,50%,80%,100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }

  60% {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

@keyframes bounce {
  0%,20%,50%,80%,100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -moz-transform: translateY(-8px);
    -ms-transform: translateY(-8px);
    -webkit-transform: translateY(-8px);
    transform: translateY(-8px);
  }

  60% {
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
  }
}

.bounce-item {
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

.ihs-banner {
    margin-top: -6%;
    background: none;
}

.datesevents h3 {
    clear:  both;
}
.video-ad{
  margin-bottom: 8%;
}
.video-ad.credited{
  margin-bottom: 0;
}
.video-credit{
  margin-bottom: 8%;
  text-align: center;
}


.sidebar h4 {
    font-weight: 400;
    text-align: center;
    line-height: 26px;
    margin: 10px 0;
}

.magazine-archive a {
    vertical-align: top;
    height: 235px;
    display: inline-block;
    width: 260px;
}

.archive-links br {
    display: none;
}

.archive-links img {
    float: none;
    display: inline-block;
}

.archive-links a {
    display: inline-block;
    vertical-align: top;
}
.aligncenter {
    clear: both;
    margin: 0 auto;
    display: inherit;
}
.landing-page-content{
  /* position: absolute; */
  /* left: 0; */
  /* right: 0; */
  /* top: 40%; */
  /* transform: translateY(-50%); */
  /* text-align: center; */
  /* z-index: 99999; */
}
.landing-page{
  overflow-x: hidden;
}

@media only screen and (max-width: 1360px) {

  .top-promo {
    margin: 2% auto;
  }

  #mailing-list-button {
    padding-top:10px;
    right: -122px;
  }

  .nav>ul>li {
    width: 9.2%;
  }

  .nav>ul>li.nav-icon {
    width: 44px;
  }

  .nav>ul>li>a {
    width: auto;
  }

}

@media only screen and (max-width: 1080px) {

  #mailing-list-button {
    padding-top:7px;
    right: -128px;
  }

  .nav>ul>li, .nav>ul>li.nav-icon {
    width: auto;
  }

  .nav a, .nav ul li.nav-icon a,
  .nav li:hover a, .nav a:hover {
    width: auto;
    padding: 18px 11px 16px;
  }

  .main {
    width: 100%;
  }

  .sidebar {
    overflow: hidden;
    width: 100%;
    overflow: hidden;
    float: none;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 20px !important;
  }
  .sidebar img{
    width: 100%;
  }

  .news-box {
    width: 41.75%;
  }

  .news-box h3 {
    max-height: 85px;
  }

  .related-posts .news-box:last-of-type {
    display: none;
  }

}

@media only screen and (max-width: 1023px) {

  .inner-nav, .homepage nav {
    display: none;
  }

  .flexnav, .enter-site {
    display: block;
  }
  .logo-home img{
    order: -1;
    display: block;
    width: 80%;
    margin-bottom: 0;
  }
  a.subscribe{
    width: 50%;
    text-align: center;
    min-width: 300px;
  }
  .enter-site {
    color: #fff;
    border:1px solid #fff;
    background: rgba(0,0,0,0.5);
    padding: 10px 40px;
    font-size:2em;
    display: inline-block;
    font-weight: normal;
    margin: 50px auto;
    display: block;
    width: 42%;
    text-align: center;
    min-width: 300px;
  }
  .landing-page-content nav{
    display:none;
  }

  .enter-site:hover,
  .enter-site:focus {
    color: #fff;
  }

  .adverts-landing {
    display: flex;
    width: 100%;
    justify-content: center;
    }
    
    .advert-left {
        position: initial;
    }
    
    .advert-right {
        position: initial;
    }

}

@media only screen and (max-width: 880px) {

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 28px;
  }

  .excerpt {
    font-size: 16px;
  }

  .top-promo .promo {
    display: none;
  }

  #mailing-list-button {
    top:15px;
    right:0;
    padding:7px;
    -ms-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  #mailing-list-button span {
    display: none;
  }

  #mailing-list-button:hover {
    right: 0;
  }

  #search-button {
    display: block;
    position: fixed;
    top:52px;
    right:0;
    padding: 7px;
    background: #A2195B;
    color: #fff;
    font-size:17px;
    font-weight: normal;
  }

  .billboard {
    width: 100%;
    float: left;
  }

  .main, .sidebar {
    width: 100%;
    float: none;
    overflow:hidden;
    /* max-width: 500px; */
    margin: 0 auto 30px;
    order: 1;
  }

  .twitter-feed {
    /* display: none; */
  }

  .promo-side {
    float: left;
    width: 100%;
    margin: 3% 3% 3% 0;
  }

  .promo-side:nth-child(odd) {
    margin-right: 0;
  }

  .contact-area {
    margin-top:0;
    padding:25px 0;
  }

  .ihs-banner {
    margin: 0;
}
.video-ad{
  margin: 3% 0;
}

}

@media only screen and (max-width: 600px) {

  .events {
    width: 90%;
    margin: 10px 0;
    float:  none;
    min-height: 180px;
}

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 23px;
  }

  .featured-box h2 {
    margin-top:3%;
  }

  h3, .news-box h3, h4 {
    font-size: 15px;
  }

  .news-box {
    height: 400px
  }

  .featured-box img {
    margin-right:3%;
  }

  .contact-box {
    width: 92%;
  }

}

@media only screen and (max-width: 568px) {

  h1 {
    font-size: 20px;
  }

  h2, .featured-box h2 {
    font-size: 18px;
  }

  h3, .news-box h3, h4 {
    font-size: 13px;
  }

  .excerpt {
    font-size: 13px;
  }

  p, ul, ol {
    font-size: 12px;
    line-height: 1.6;
    margin:10px 0;
  }

  .news-box-holder, .related-posts {
    width: 100%;
  }

  .news-box {
    width: 94%;
    padding: 3%;
    margin: 0 0 2.75% 0;
    height: auto;
  }

  .news-box h3 {
    max-height: none;
  }

  .news-box .all-btn {
    position: relative;
    bottom: auto;
    left: auto;
    width: 90%;
    max-width: 400px;
  }

  .contact-area {
    padding: 15px auto
  }

  .contact-area h3 {
    font-size: 24px;
  }

  #yellow-button {
    padding: 10px 0;
  }

}

@media only screen and (max-width: 440px) {

  .featured-thumb {
    display: none;
  }

  .featured-thumb-mob {
    display: block;
  }

  .featured-box {
    text-align: center;
  }

  .featured-box .all-btn {
    float: none;
    width: 90%;
    padding:10px 0;
    display: inline-block;
  }

  .featured-box img {
    width: 100%;
    margin: 0 0 5px;
    border:none;
  }

  .featured-box img:hover {
    border: none;
  }

  .featured-title {
    position: absolute;
    width: 90%;
    padding: 2.5%;
    z-index: 9999;
  }

}

@media only screen and (max-width: 400px) {

  .news-box-home small {
    display: none;
  }

}

@media only screen and (max-width: 360px) {

  .promo-side {
    float: none;
    width: 100%;
    margin: 3% 0;
  }

}

@media only screen and (max-height: 380px) {

  .homepage {
    padding: 6% 0;
  }

}

.archive-links p {
  display: inline-block;
}

.social-icons {
    display: flex;
}

.social-icons a {
    width: 100%;
    font-size: 23px;
    text-align: center;
    background-color: #eee;
    padding: 10px;
    margin-bottom: 10px;
    color: white;
}

a.instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
}

a.twitter {
    background-color:  #1DA1F2;
}

a.linkedin {
    background-color: #0077b5;
}

a.facebook {
    background-color:  #1877F2;
}

.advert-slide img {
    max-width: 100%;
}

.magazine-archive {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.magazine-archive a {
    margin: 1%;
    width: 31.33%;
    min-width: 250px;
}

.magazine-archive a img {
    width: 100%;
    height: auto;
}

.wp-caption {
    max-width: 100%;
}