/**
 * Theme Name:  EightyDays-Child-190429
 * Author:      The Right Click
 * Description: EightyDays Child Theme for handler.travel
 * Version:     1.1.190429
 * Text Domain: eightydays
 * Template:    eightydays
 * Tags:        two-columns, custom-menu, featured-images, post-formats, sticky-post, threaded-comments, translation-ready, editor-style
 */

.heateor_sss_sharing_title{display:none !important}
.entry-footer{display:none !important}
.entry-share{display:none !important}
#page{padding-bottom: 40px}

/* Hide auto-on ads */
.google-auto-placed{display: none !important}

.widget_search{display: none!important}

/* Hide auto-on ads */
@import url(../eightydays/style.css);

/**
 * Patching new postion of the share menu of each entry.
 */
.entry-share {
  text-align: right;
  margin: 15px -10px -15px 0;
}

@media (min-width: 480px) and (max-width: 767px) {
  .entry-share {
    margin-right: -20px;
  }
}


/**
 * Patching contents as class instead of ID, so they can be showed correctly
 */
.contents > .col-md-9 > .col-sm-6:nth-of-type(2n+1) {
  clear: left;
}

.page .contents > .col-md-9 {
  margin: 0 auto;
  float: none;
}


/**
 * For sticky sidebar and infinity scroll
 */
@media (max-width: 991px) {
  .sidebar {
    display: none;
  }
}
@media (min-width: 992px) {
  .sidebar {
    margin-top: 75px;
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
    flex-direction: column;
  }
  .site {
    overflow: initial;
  }
  #content > .row {
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex;
  }
  #content > .placeholder {
    display: block;
  }
  /* .sidebar .widget { */
    /* -webkit-flex: 1 1 auto;          /* Chrome */
    /* -ms-flex: 1 1 auto;              /* IE 10 */
    /* flex: 1 1 auto; */
  /* } */
  .sidebar .quads-ad1_widget,
  .sidebar .quads-ad2_widget,
  .sidebar .quads-ad3_widget,
  .sidebar .quads-ad4_widget {
    background: white;
    /* -webkit-flex: 2 2 100%;          /* Chrome */
    /* -ms-flex: 2 2 100%;              /* IE 10 */
    /* flex: 2 2 100%; */
  }
  /* .sidebar .quads-ad1_widget > div,
  .sidebar .quads-ad2_widget > div,
  .sidebar .quads-ad3_widget > div,
  .sidebar .quads-ad4_widget > div {
    position: -webkit-sticky;
    position: sticky;
    top: 40px;
  }*/
}

/*
 * New mobile sidebar
 *
@media (min-width: 768px) {
  .top-bar {
    border-bottom: 0;
  }
  .top-bar .site-branding,
  .top-bar-searchbar {
    display: none;
  }
}
@media (max-width: 767px) {
  .site-header,
  .top-bar-social-menu {
    display: none;
  }
}/**/

/*
 * old sidebar
 */
.top-bar {
  border-bottom: 0;
}
.mobile-sidebar {
  left: -320px;
}
.mobile-sidebar-open .mobile-sidebar {
  left: 0;
}


/**
 * Country aware content
 */
.handler_geocontent, .handler_geocontent_hide {
  display: none;
}


/**
 * Author header
 */
.page-header .author-avatar {
  margin-right: 0;
}

.page-header .author-avatar .avatar {
  border-radius: 50%;
}


/**
 * Top Subscirption 
 */
.top-bar >.container .subscription{
	display: inline-flex;
	float: right;
	margin-left: 50px;
	max-width: 375px;
}

.top-bar >.container .top-subscription label{
	margin-right: 20px;
	height: 42px;
}

.top-bar >.container .subscription span{
	line-height: 0;
}

.top-bar >.container .subscription span input{
	height: 42px;
	color: #000;
}


.top-bar >.container .subscription input[type=submit]{
	height: 42px;
	line-height: 0px;
}


.top-bar >.container .wpcf7-response-output{
	display: none;
}
.top-bar >.container .subscription span span{
	display: none !important;
}

.top-bar >.container .subscription .wpcf7-spinner{
	min-width: 24px;
	min-height: 24px;
}

/**
 * Footer Subscirption 
 */
.footer-subscription{
	padding: 15px 0;
	float: right;
	text-align: right;
}

.site-footer .container .wpcf7>form{
	float: right;
	margin-left: 25px;
}

.site-footer .container .subscription{
	display: inline-flex;
	padding: 35px 0;
}


.site-footer .container .subscription span input{
	height: 100%;
	color: #000;
}
@media screen and (max-width:991px)
{
.footer-subscription{
	float: unset;
	text-align: center;
	}
.footer-subscription .col{
	float: unset;
	width: unset;
	}
.site-footer .container .wpcf7>form{
	float: unset;
	margin-left: 25px;
}
.site-footer .container .subscription {
    padding: 20px 0;
}
}
/* The Modal (background) */
.popup-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 99999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
  transition: .15s ease-in-out;
}

/* Modal Content */
.popup-modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 12px;
  width: 600px;
  height: 400px;
  display: none;
  text-align: center;
  z-index: 999999;
  position: fixed;
  bottom: 0;
  right: 0;
}

/* The Close Button */
.popup-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.popup-close:hover,
.popup-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.popup-modal-content .subscription .wpcf7-spinner{
	display: block;
	margin-left: auto;
    margin-right: auto;
}
.popup-modal-content .subscription input[type=email]{
	padding: 10px;
}
    
.popup-modal-content .subscription input[type=submit]{
    margin: 5px 0;
    width: 100%;
}
.popup-modal-content .wpcf7 form .wpcf7-response-output{
	margin: 5px;
}
@media screen and (max-width:767px)
{
	.popup-modal-content  {
		width: 100%;
	}
	.top-bar >.container .subscription .wpcf7-spinner{
		margin: 0;
	}
	
}