/* MyTownLively Styling */
#mytownlively-tabs {
  min-height: 500px;
  -webkit-animation: fadein 1s 1;
  /* Safari 4+ */
  -moz-animation: fadein 1s 1;
  /* Fx 5+ */
  -o-animation: fadein 1s 1;
  /* Opera 12+ */
  animation: fadein 1s 1;
  /* IE 10+ */
}
#mytownlively-tabs ul.mtl-tabs {
  margin: 0 0 20px 0;
  border-bottom: 1px solid #bbb;
  text-align: justify;
  font-size: 0;
}
#mytownlively-tabs ul.mtl-tabs:after {
  content: "";
  width: 100%;
  height: 0;
  display: inline-block;
}
#mytownlively-tabs ul.mtl-tabs > li {
  font-size: 16px;
  text-align: center;
  margin: 0;
  background: #bbb;
  border: 1px solid #bbb;
  border-bottom: none;
  list-style: none;
  display: inline-table;
  width: 25%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 60px;
  vertical-align: middle;
}
#mytownlively-tabs ul.mtl-tabs > li a {
  padding: 10px 10px 11px 10px;
  font-size: 15px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  display: table-cell;
  vertical-align: middle;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#mytownlively-tabs ul.mtl-tabs > li.ui-state-active {
  background: #fff;
  position: relative;
  top: 1px;
}
#mytownlively-tabs ul.mtl-tabs > li.ui-state-active a {
  color: #000;
}
.mtl-tabs {
  background: none !important;
  border: none !important;
}

#mytownlively-tabs ul.mtl-tabs > li:nth-child(2),
#mytownlively-tabs ul.mtl-tabs > li:nth-child(3) {
  display: none !important;
}

#mytownlively-tabs .button {
  display: block;
  text-align: center;
  padding: 5px 0;
  width: 100%;
  background: #2096c9;
  color: #fff;
  font-weight: lighter;
  text-transform: uppercase;
  margin: 10px 0;
}
#mytownlively-tabs .two-fifths {
  margin: -70px 0 0 0;
}
#mytownlively-tabs .two-fifths td {
  display: inline;
}
#mytownlively-tabs .two-fifths tr:nth-child(2) {
  display: none;
}
#mytownlively-tabs .two-fifths tr:nth-child(1) th:nth-child(1) {
  display: none;
}
#mytownlively-tabs .two-fifths h2 {
  color: #4b4a4a;
  font-size: 18px;
  text-transform: none;
  font-weight: lighter;
  margin: 0 0 20px;
}
#mytownlively-tabs .two-fifths h3 {
  color: #4b4a4a;
  font-size: 15px;
  text-transform: none;
  font-weight: lighter;
  margin: 10px 0;
}
#mytownlively-tabs .two-fifths #add-preference-form {
  /* .add-locations{
      				margin:0 0 20px;
      
      				#add-location-button{
      					display:block;
      				}
      
      				.regions{
      					margin:20px 0 0px 0;
      				}
      				
      			} */
}
#mytownlively-tabs .two-fifths #add-preference-form .button {
  background: #7dcb78;
}
#mytownlively-tabs .two-fifths #add-preference-form .hidden {
  opacity: 0;
  display: none;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .add-locations
  .location-filter {
  width: 100%;
  position: relative;
  display: block !important;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .add-locations
  .location-filter:after {
  display: none;
}
#mytownlively-tabs .two-fifths #add-preference-form .add-locations .regions {
  margin: 20px 0 0px 0;
  display: block;
}
#mytownlively-tabs .two-fifths #add-preference-form .add-categories {
  margin: 0 0 20px;
}
#mytownlively-tabs .two-fifths #add-preference-form .add-categories .wrap {
  padding: 0 10px 10px 10px;
  box-sizing: border-box;
  background: #27588d;
}
#mytownlively-tabs .two-fifths #add-preference-form .add-categories .wrap p {
  color: #fff;
  margin: 0;
  padding: 0 0 2px 0;
  text-transform: uppercase;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .add-categories
  .wrap
  .dashed-container {
  margin: 5px 0;
  padding: 5px 0;
  border-bottom: 2px dashed #5d82aa;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .add-categories
  .wrap
  .category-autocomplete-input {
  width: 75%;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .add-categories
  .wrap
  .add-category-autocomplete {
  width: 20%;
  float: right;
  margin: 0;
}
#mytownlively-tabs .two-fifths #add-preference-form .add-categories .wrap #cat {
  width: 100%;
  position: relative;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .add-categories
  .categories-added {
  margin: 20px 0 0px 0;
}
#mytownlively-tabs .two-fifths #add-preference-form .add-name input {
  width: 100%;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .save-view-by-setting-button {
  background: #7dcb78;
}
#mytownlively-tabs .two-fifths #add-preference-form .done-editing-button {
  background: #2096c9;
}
#mytownlively-tabs .two-fifths #add-preference-form .item-list {
  position: relative;
  text-align: justify;
}
#mytownlively-tabs .two-fifths #add-preference-form .item-list ul {
  margin: 0;
  padding: 0;
}
#mytownlively-tabs .two-fifths #add-preference-form .item-list ul li {
  display: inline-block;
  list-style: none;
  position: relative;
  cursor: pointer;
  font-size: 14px;
  padding: 3px 5px 3px 20px;
  border: 1px solid #ccc;
  margin: 0 10px 10px 0 !important;
  opacity: 0;
}
#mytownlively-tabs .two-fifths #add-preference-form .item-list ul li a {
  display: block;
  color: red;
}
#mytownlively-tabs .two-fifths #add-preference-form .item-list ul li .remove {
  position: absolute;
  color: #990000;
  left: 5px;
}
#mytownlively-tabs .two-fifths #add-preference-form .item-list ul li.none {
  border: none;
  padding: 0;
  margin: 0;
}
#mytownlively-tabs .two-fifths #add-preference-form .ui-autocomplete {
  max-height: 150px;
  overflow-y: auto;
  /* prevent horizontal scrollbar */
  overflow-x: hidden;
  background: #fff;
  border: 1px solid #ccc;
  margin: -1px 0 0 0;
  max-width: 225px;
}
#mytownlively-tabs .two-fifths #add-preference-form .ui-autocomplete li {
  list-style: none;
  border-bottom: 1px solid #ccc;
}
#mytownlively-tabs .two-fifths #add-preference-form .ui-autocomplete li a {
  display: block;
  box-sizing: border-box;
  padding: 5px;
  color: #2096c9;
  z-index: 999;
  cursor: pointer;
}
.filter-container .mtl-filter select {
  width: 100% !important;
  height: 100%;
}
#mytownlively-tabs
  .two-fifths
  #add-preference-form
  .ui-autocomplete
  li
  a:hover {
  color: #7dcb78;
  background: #f5f5f5;
}
#mytownlively-tabs .three-fifths {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.site-main .loading-posts {
  background: url(../images/ajax-loader.gif) center center no-repeat transparent;
  height: 45px;
  width: 32px;
  margin: 25px -25px 25px -15px;
  position: absolute;
  bottom: 28% !important;
  left: 50%;
}
#article-list {
  min-height: 250px;
}
#mytownlively-tabs .three-fifths .single-article {
  position: relative;
  padding-right: 50px;
}
#mytownlively-tabs .three-fifths .highlight {
  width: 100%;
}
#mytownlively-tabs .three-fifths .remove-article {
  background: url("../images/edit-remove.png") no-repeat;
  height: 36px;
  width: 36px;
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  margin-bottom: 20px;
}
#mytownlively-tabs .three-fifths .events .category-bar {
  display: none;
}
#mytownlively-tabs .three-fifths #saved-preference-list ul {
  margin: 0;
}
#mytownlively-tabs .three-fifths #saved-preference-list ul li {
  list-style: none;
  position: relative;
  padding-right: 101px;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting {
  background: #2096c9;
  color: #fff;
  display: inline-block;
  width: 100%;
  margin: 0 0 10px 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  .preference-name {
  padding: 5px;
  cursor: pointer;
  background: url("../images/preference-arrow.png") no-repeat right 2px;
  -webkit-transition: none;
  -moz-transition: none;
  transition: none;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  .preference-name.open {
  background-position: right -28px;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  .preference-options {
  display: none;
  padding: 0 5px;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  .preference-options
  ul {
  display: inline-block;
  margin: 0 20px 5px 0;
  line-height: 1.3;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  .preference-options
  ul
  li {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  .preference-options
  ul
  li.preference-type {
  margin-right: 5px;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  a {
  color: #fff;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  .preference-setting
  .remove-preference {
  float: right;
  margin: 0 20px 0 0;
}
#mytownlively-tabs .three-fifths #saved-preference-list ul li .editing {
  background: #7dcb78;
}
#mytownlively-tabs .three-fifths #saved-preference-list ul li .edit-options {
  text-align: justify;
  width: 105px;
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
}
#mytownlively-tabs .three-fifths #saved-preference-list ul li a {
  background: url("../images/edit-remove.png") no-repeat center top;
  height: 36px;
  width: 36px;
  font-size: 0;
  display: inline-block;
  margin: 0 0 0 12px;
}
#mytownlively-tabs
  .three-fifths
  #saved-preference-list
  ul
  li
  a.edit-preference {
  background-position: center bottom;
}

.toggle-favorite {
  margin: 20px 0;
  padding: 10px;
  background: #2096c9;
  color: #fff;
  display: inline-block;
  width: 100%;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
}

.toggle-favorite:hover {
  margin: 20px 0;
  padding: 10px;
  color: #fff;
  display: inline-block;
  background: #7dcb78;
}

.toggle-favorite:active {
  color: #fff;
}

.wedding .toggle-favorite {
  background: #71bd9a;
  color: #fff;
}
.wedding .toggle-favorite:hover {
  background: #009d86;
  color: #fff;
}

#your-profile img {
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

#basic-local-avatar {
  margin-top: 25px;
}
.tl-mytown-link-wrapper {
  padding-top: 25px;
}

.tl-mytown-link-wrapper p {
  text-align: center;
}
.tl-mytown-link-wrapper p a {
  font-size: 2.7rem;
}
.page-template-page-mytownlively-feed .filter-buttons a:nth-child(2):after,
.page-template-page-mytownlively-feed .filter-buttons a:nth-child(3):after {
  content: none;
}
.filter-container .mtl-filter:after {
  right: 0px !important;
}
.filter-container .mtl-filter {
  right: -2px !important;
}

@media screen and (max-width: 767px) {
  #mytownlively-tabs .two-fifths {
    margin: 0;
  }
  #mytownlively-tabs .three-fifths .highlight {
    margin: 0 !important;
  }
  #mytownlively-tabs .three-fifths .single-article {
    padding-right: 0;
  }
  #mytownlively-tabs .three-fifths .remove-article {
    position: relative;
    top: auto;
    right: auto;
  }
  #mytownlively-tabs .three-fifths #saved-preference-list ul li {
    padding-right: 0;
  }
  #mytownlively-tabs
    .three-fifths
    #saved-preference-list
    ul
    li
    .preference-setting {
    width: 100%;
  }
  #mytownlively-tabs .three-fifths #saved-preference-list ul li .edit-options {
    position: relative;
    margin: 0 0 20px 0;
    top: auto;
    right: auto;
    width: 100%;
  }
  #mytownlively-tabs .three-fifths #saved-preference-list ul li a {
    margin: 0 12px 0 0;
  }
}
/* Multi Select dropdown jQuery Chosen */
#main .chosen-container {
  width: 100% !important;
}

#main .chosen-results li {
  color: #000;
}

#main .chosen-results li.result-selected,
#main .chosen-results li.disabled-result {
  color: #ccc;
}

#main
  .chosen-container-multi
  .chosen-choices
  li.search-field
  input[type="text"] {
  height: 25px;
  width: 100% !important;
}

#main .filter-container .mtl-filter .button {
  display: block;
  text-align: center;
  padding: 5px 0;
  width: 100%;
  background: #2096c9;
  color: #fff;
  font-weight: lighter;
  text-transform: uppercase;
  margin: 10px 0;
}
.mytownlively-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.mytownlively-grid .content p {
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.5em;
  padding-bottom: 10px;
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
#add-preference-form label.select select {
  left: 0px;
}
#mytownlively-tabs {
  padding: 20px;
}
@media (max-width: 856px) {
  .mytownlively-grid {
    grid-template-columns: 1fr !important;
  }
  .filter-buttons {
    margin-top: 100px !important;
  }
}
@media (max-width: 778px) {
  .filter-buttons {
    margin-top: 35px !important;
  }
  .date-location-filters {
    margin-bottom: 30px !important;
  }
}
@media (max-width: 470px) {
  .image-container {
    width: 100%;
    margin-bottom: 25px !important;
    height: auto !important;
  }
  .image-container a img {
    width: 100%;
  }
  .highlight .content .title a {
    font-size: 15px !important;
  }
  .filter-buttons {
    display: inline-grid;
  }
  .mtl-filter {
    top: -85px !important;
  }
  .filter-container .mtl-filter:after {
    display: none !important;
  }
}
