.page-template-category-page #main {
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.page-template-category-page #main .fusion-row {
  max-width: 100% !important;
}

.page-template-category-page .full-width {
  max-width: 1440px;
  margin: auto;
  margin-bottom: 30px;
  width: 100%;
  word-wrap: break-word;
}

#tribe-events {
  padding-top: 0px !important;
}

.tribe-events-title-bar {
  display: none;
}

@media screen and (max-width: 700px) {
  .fusion-footer-widget-area {
    padding: 50px 10px 50px !important;
  }
}

@media screen and (min-width: 700px) {
  #text-6 {
    text-align: left !important;
  }
}

.vw-icons {
  width: 32%;
  display: inline-block;
  text-align: center;
  margin-bottom: 40px;
}

.vw-icons img {
  width: 30px;
}

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

  .mad-buttons,
  .mad-buttons2,
  .mad-buttons3 {
    display: none !important;
  }
}

.vwToggle {
  width: 25px;
  height: 15px;
  position: relative;
  margin-top: 5px;
  cursor: pointer;
  float: right;
}

.vwToggle:before,
.vwToggle:after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 5px;
  background: white;
  position: absolute;
  top: 7px;
  transition: transform .5s;
}

.vwToggle:before {
  right: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transform: rotate(45deg);
}

.vwToggle:after {
  right: 2px;
  transform: rotate(-45deg);
}

.vwToggle.active:before {
  transform: rotate(-45deg);
}

.vwToggle.active:after {
  transform: rotate(45deg);
}

@media screen and (min-width: 780px) {

  .vwToggle,
  .vw-icons {
    display: none !important;
  }
}

.previous-post-link {
  display: inline-block;
  width: 49%;
  text-align: left;
}

.next-post-link {
  display: inline-block;
  width: 49%;
  text-align: right;
}

.mad-article h3 {
  margin-top: 0px !important;
}

.acf-map {
  width: 100%;
  height: 200px;
  border: #ccc solid 1px;
  margin: 20px 0;
}

/* Fixes potential theme css conflict. */
.acf-map img {
  max-width: inherit !important;
}

@media screen and (max-width: 780px) {
  .responsive {
    width: 100% !important;
  }
}

.single-places #content {
  width: 100% !important;
  margin-top: 100px;
  margin-bottom: 50px;
}

.single-deals #content {
  width: 100% !important;
  margin-bottom: 50px;
}

/** Filter */
ul.nav-filter {
  padding: 10px 0px;
  list-style-type: none;
  -webkit-padding-start: 0px;
  -webkit-margin-before: 0px;
  -webkit-margin-after: 0px;
  -webkit-margin-start: 0px;
  -webkit-margin-end: 0px;
  display: none;
}

@media screen and (min-width: 780px) {
  ul.nav-filter {
    display: block !important;
  }
}

ul.nav-filter li {
  display: block;
  color: #999999;
  cursor: pointer;
}

ul.mad-pagination2 li {
  display: inline;
}

ul.nav-filter li a {
  padding: 6px 15px;
  display: grid;
  grid-template-columns: 9fr 1fr;
  color: #999999;
  width: 100%;
  height: 100%;
  word-break: break-word;
}

ul.nav-filter li a .mad-checkbox {
  background-image: url("/wp-content/plugins/visitwidget-control-center/assets/images/checkbox.png");
  background-size: 25px;
  width: 25px;
  height: 25px;
  float: right;
  margin: auto;
  margin-top: -2px;
  pointer-events: none;
}

ul.nav-filter li.active a .mad-checkbox {
  background-image: url("/wp-content/plugins/visitwidget-control-center/assets/images/checkbox-active.png");
  background-size: 25px;
  width: 25px;
  height: 25px;
  float: right;
  margin: auto;
  margin-top: -2px;
}

ul.nav-filter li.active a {
  font-weight: bold;
}

.tab {
  position: relative;
  z-index: 4;
  overflow: hidden;
  background-color: #e6e6e6;
  margin: 30px 0px 30px 0px;
}

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
  width: 50%;
  color: white;
}

.tab button:hover {
  border: none;
}

.tab button.active {
  color: white;
  border: none;
}

.tabcontent {
  display: block;
  padding: 6px 12px;
  border-top: none;
}

.tabcontent {
  animation: fadeEffect 1s;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.status {
  display: inline-block;
}

.mad-sidebar {
  width: 21%;
  display: inline-block;
  margin-right: 2%;
  margin-bottom: 30px;
  vertical-align: top;
}

.page-template-category-page2 .mad-sidebar {
  display: none;
}

.page-template-category-page2 .full-width {
  width: calc(100% - 23% - 6%);
  float: right;
}

.page-template-category-page2 .mad-buttons {
  width: 100% !important;
  margin-top: 10px !important;
}

.content {
  width: 76%;
  display: inline-block;
}

.page-template-category-page2 .content {
  width: 100%;
}

.mad-sidebar {
  position: relative;
}

@media screen and (min-width: 780px) {
  .mad-sidebar {
    position: sticky;
    top: var(--filter-options-top-offset);
  }
}

.mad-filter,
.mad-pagination {
  border-radius: 5px;
  background-color: white;
  -webkit-box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.15);
  overflow: auto;
  height: initial;
}

.mad-filterTitle {
  font-weight: bold;
  color: white;
  text-align: center;
  background-color: #c0a47e;
  padding: 7px 15px;
  font-size: 18px;
  border-radius: 5px 5px 0px 0px;
  margin: 0px;
  text-align: left;
}

.mad-pagination {
  width: 100%;
  padding: 5px 15px;
  margin-bottom: 25px;
  clear: both;
}

.page-template-category-page .pagination,
.page-template-category-page2 .pagination {
  font-size: 16px;
  color: #999999;
  float: none;
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 0px;
}

.page-template-category-page .pagination p,
.page-template-category-page2 .pagination p {
  margin: 0px;
}

.page-template-category-page .fusion-show-pagination-text .pagination,
.page-template-category-page2 .fusion-show-pagination-text .pagination {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.mad-artBtn,
.mad-artBtn2,
.mad-artBtn3,
.mad-artBtn4 {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 12px 10px;
  font-weight: bold;
  background-size: cover;
}

.mad-artBtn:hover,
.mad-artBtn2:hover,
.mad-artBtn3:hover,
.mad-artBtn4:hover {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 12px 10px;
  font-weight: bold;
}

.mad-buttons,
.mad-buttons2,
.mad-buttons3 {
  display: inline-block;
  margin-top: 30px;
  width: 130px;
  height: 50px;
  margin-right: 20px;
  margin-bottom: 20px;
}

.page-template-category-page2 .mad-buttons {
  display: inline-block;
  margin-top: 30px;
  width: 40%;
  height: 50px;
  margin-right: 5%;
  border-bottom: 2px solid #147c49;
  margin-bottom: 20px;
}

.page-template-category-page article {
  clear: both;
  min-height: 330px;
}

.page-template-category-page2 article {
  width: 31.2%;
  margin-right: 1.5%;
  display: inline-block;
  min-height: 640px;
  margin-bottom: 30px;
  vertical-align: top;
}

.articles {
  margin: 20px 0px;
}

.mad-photo {
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 20px;
  width: 38%;
  margin-right: 4%;
}

.page-template-category-page2 .mad-photo {
  float: left;
  display: block;
  margin-top: 0px;
  margin-bottom: 20px;
  width: 100%;
}

.mad-article {
  display: inline-block;
  margin-top: 0px;
  margin-bottom: 20px;
  width: 57%;
  min-height: 250px;
  vertical-align: top;
}

.page-template-category-page2 .mad-article {
  float: left;
  margin: 0px;
  width: 100%;
}

.mad-arrowLeft {
  float: left;
  width: 3%;
  text-align: left;
  border-right: 1px solid #e6e6e6;
  display: flex;
  justify-content: start;
}

.mad-arrowLeft1 {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.mad-arrowLeft2 {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #e6e6e6;
}

.mad-arrowRight {
  float: right;
  width: 3%;
  text-align: right;
  border-left: 1px solid #e6e6e6;
  display: flex;
  justify-content: end;
}

.mad-arrowRight1 {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  float: right;
}

.mad-arrowRight2 {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #e6e6e6;
  float: right;
}

.mad-pagiText {
  width: 94%;
  display: inline-block;
  text-align: center;
  font-weight: bold;
}

.vw-amenities {
  margin-bottom: 1.5rem;
}

/* add to plan / session api button */

.vw-api-button {
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  background-color: var(--add-to-plan-button-background-color);
  color: var(--add-to-plan-button-text-color);
  border: 1px solid var(--add-to-plan-button-border-color);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  border-radius: 0px;
  margin: var(--add-to-plan-margin);
}

.vw-api-button:hover {
  background-color: var(--add-to-plan-button-background-color-hover);
  color: var(--add-to-plan-button-text-color-hover);
  border-color: var(--add-to-plan-button-background-color);
}