/* For mobile phones: */

@media (max-width: 767px) {
  .mobile-hidden {
    display:none;
  }
  .mobile-only {
    display:block !important;
  }

  /* LP Specific CSS */
  #landing_page .icon.hero-icon {
      float: left;
      display: none;
  }
  #landing_page .hero-item {
    min-height: 120px;
    padding: 0.5em;
  }
  #landing_page .hero-item > a .description h3,
  #landing_page .hero-item > a .description p {
      padding-bottom: 0.2em;
  }

  #landing_page .hero-item > a .description, .hero-item-sml > a .description {
    padding: 0;
  }

  #landing_page .btn.btn-primary {
    padding: 0.5em;
    border-radius: 5px;
    min-width: 100%;
  }

  .h3, h3 {
    font-size: 1.1rem!important;
  }

  .highlight {
      font-size: 1.2rem;
      line-height: 1.2;
  }

  .insta-feed {
    padding: 30px 10px;
  }
  .block.big-padding {
    padding: 20px 0;
  }
  .col-md-12 {
    width: 100%;
    padding: 0px 15px;
  }
  .col-sm-4 {
    width: 33%!important;
    padding: 4px;
  }
  .container .block {
    padding: 20px 0px 0px 10px;
  }
  .h3, h3 {
    font-size: 1.1rem;
  }

  .hero-section-noback {
    padding: 0 10px;
  }
  .btn-help, .btn-partner {
    display: none!important;
  }

  body::before {
    content: "xs";
  }

  body .primary-nav a i, body .secondary-nav a i {
    display: inline-block;
  }
  body .primary-nav a span, body .secondary-nav a span {
    display: none;
  }
  body.html {
    overflow-x: hidden;
  }

  .page-wrapper {
    display: block;
    overflow-x: hidden;
    overflow: visible;
  }

  .page-wrapper #page-header, .page-wrapper #page-content, .page-wrapper #page-footer {
    display: block;
  }

  .page-wrapper #page-header, .page-wrapper #page-footer {
    height: auto;
  }

  .gallery.detail .image {
    height: 300px;
  }

  .item.item-row {
    overflow: hidden;
  }
  .item.item-row > a {
    display: block;
    padding-left: 0;
    height: auto;
  }
  .item.item-row > a .image {
    width: 100%;
    height: 220px;
    position: relative;
  }
  .item.item-row > a .description {
    display: block;
    padding-top: 15px;
  }
  .item.item-row > a .map {
    display: block;
    height: 100px;
    width: 100%;
  }
  .item.item-row .additional-info {
    width: 100%;
    display: block;
    text-align: left;
    padding: 20px;
  }
  .item.item-row .controls-more {
    top: inherit;
    bottom: 20px;
  }

  .form .checkboxes {
    margin-top: 10px;
  }
  .form .checkboxes li {
    width: 49%;
    margin-right: 0px;
  }

  .modal {
    padding-left: 10px;
    padding-right: 10px;
  }
  .modal .modal-dialog {
    width: auto;
    margin-top: 40px;
  }
  .modal .modal-item-detail.modal-dialog {
    width: auto;
  }
  .modal .modal-item-detail.modal-dialog .modal-content .modal-body > .left {
    float: none;
    width: 100%;
    display: block;
    margin-left: 0;
  }
  .modal .modal-item-detail.modal-dialog .modal-content .modal-body > .left section {
    padding-left: 0;
  }

  #page-header .add-listing {
    padding: 3px 7px;
  }
  #page-header .add-listing span {
    display: none;
  }
  #page-header .add-listing i {
    margin-right: 0;
  }
  #page-header .secondary-nav .image {
    float: none;
    margin-bottom: 0;
  }
  #page-header nav {
    white-space: nowrap;
  }
  #page-header nav .brand img {
    max-width: 90%;
  }

  .hero-section.has-map.sidebar-grid .results-wrapper, .hero-section.has-map.has-sidebar.sidebar-grid .results-wrapper {
    height: 700px;
    z-index: 1;
    /*overflow: hidden;*/
  }
  .hero-section.has-map.sidebar-grid .results-content, .hero-section.has-map.has-sidebar.sidebar-grid .results-content {
    padding-right: 40px;
  }
  .hero-section.has-map.sidebar-grid .results-content .item, .hero-section.has-map.has-sidebar.sidebar-grid .results-content .item {
    width: 100%;
  }
  .hero-section.has-map .map-wrapper, .hero-section.has-map.has-sidebar .map-wrapper {
    width: 100%;
  }
  .hero-section.has-map .results-wrapper, .hero-section.has-map.has-sidebar .results-wrapper {
    width: 100%;
    height: 500px;
    z-index: 1;
    margin-bottom: 20px;
    float: none;
  }
  .hero-section.has-map .results-wrapper .results, .hero-section.has-map.has-sidebar .results-wrapper .results {
    /*min-height: 500px;*/
    height: 650px;
  }
  .hero-section .coupon {
    width: 100%;
  }
  .hero-section .coupon h1 {
    font-size: 24px;
  }
  .hero-section .coupon .image {
    position: absolute;
    left: 0;
  }
  .hero-section .coupon .image .circle {
    width: 90px;
    height: 90px;
    color: #fff;
    font-weight: bold;
    left: 0;
    top: 0;
    background-color: #252947;
    font-size: 24px;
    text-align: center;
    line-height: 86px;
  }
  .hero-section .coupon .image .bg-transfer {
    width: 300px;
    height: 300px;
  }
  .hero-section .coupon .description {
    padding-left: 330px;
    padding-top: 10px;
  }
  .hero-section .coupon .description hr {
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .hero-section .coupon .description figure {
    display: inline-block;
    margin-right: 20px;
  }
  .hero-section .coupon .description .count-down {
    margin-bottom: 20px;
  }
  .hero-section .coupon .description .count-down .countdown-row .countdown-amount {
    font-size: 18px;
  }

  .hero-section {
    z-index: 1;
  }
  .hero-section.has-map .search-form {
    z-index: 1;
    position: relative;
    height: auto;
    top: 0 !important;
  }
  .hero-section.has-map .search-form .container {
    height: auto !important;
  }
  .hero-section.has-map .search-form form {
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  .hero-section.has-map .form.horizontal form {
    padding: 25px;
  }
  .hero-section.has-map .form.horizontal.position-bottom form {
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    bottom: 0px;
    margin-top: 10px;
  }
  .hero-section.has-background {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 0px;
  }
  .hero-section.has-background h1 {
    font-size: 38px;
    margin-top: 20px;
  }
  .hero-section.has-background h2,
  .homepage h2 {
    font-size: 20px;
  }
  .hero-section.has-background .form.horizontal form {
    padding-bottom: 10px;
  }
  .hero-section .form .advanced-search-heading {
    margin-top: 25px;
    text-align: center;
  }
  .hero-section .search-form {
    height: auto;
    margin-bottom: 20px;
  }
  .hero-section .results-wrapper {
    overflow: visible;
  }
  .hero-icon-sml {
    margin-right: 0px;
    text-align: center;
  }
  .my-items {
    overflow-x: scroll;
  }
  .invisible-on-mobile {
    display: none !important;
  }

  .page-title {
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-title.pull-left, .page-title.pull-right {
    width:100%;
  }

  [class*=" height-"]:not(.map) {
    height: auto;
  }

  .subject-list .image {
    height: auto;
  }
  .subject-list .image .bg-transfer {
    background-image: none;
    position: relative;
  }
  .subject-list .image .bg-transfer img {
    display: block !important;
    width: 100%;
  }

  .subject-detail {
    display: block;
  }
  .subject-detail .image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
  }
  .subject-detail .image .bg-transfer {
    background-image: none;
    position: relative;
  }
  .subject-detail .image .bg-transfer img {
    display: block !important;
    width: 100%;
  }
  .subject-detail .description {
    display: block;
    padding-left: 10px;
    padding-right: 10px;
  }

  .mobile-height-inherit {
    height: 100% !important;
  }

  .hero-section.has-background {
    padding-top: 0;
    height: 100% !important;
    min-height: inherit !important;
  }

  .hero-section.has-background .slider .slide {
    display: block;
    overflow: hidden;
  }

  .hero-section .coupon {
    display: block;
  }
  .hero-section .coupon .wrapper {
    width: 100%;
    overflow: hidden;
  }
  .hero-section .coupon .image {
    position: relative;
  }
  .hero-section .coupon .image .bg-transfer {
    width: 100%;
    height: 150px;
    border-radius: 0;
    position: relative;
  }
  .hero-section .coupon .image .circle {
    position: absolute;
    left: 10px;
    bottom: -10px;
    top: inherit;
  }
  .hero-section .coupon .description {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 30px;
  }

  .hero-section.has-background .slider [data-owl-dots="1"] .owl-dots {
    text-align: center;
    width: 100%;
    bottom: 0;
  }

  .hero-section.has-background .slider .presentation .description {
    position: relative;
    bottom: 0;
    padding-bottom: 50px;
  }

  .hero-section.has-background .form.horizontal form {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .hero-section.has-background .form.horizontal.position-bottom, .hero-section.has-background .form.horizontal.position-top {
    position: relative;
  }

  .form.horizontal.position-bottom form {
    bottom: 0;
    margin-top: 20px;
  }

  .hero-section.has-background .slider .presentation .description h1 {
    font-size: 40px;
  }

  .xs-p-relative {
    position: relative !important;
  }

  .step {
    text-align: center;
  }
  .step .circle {
    position: relative;
    display: inline-block;
  }
  .step .box {
    margin-left: 0;
    margin-top: 20px;
  }
  .step .box:after {
    border-width: 0 11.5px 11px 11.5px;
    border-color: transparent transparent #fafafa transparent;
    top: -10px;
    left: 0;
    right: 0;
    margin: auto;
  }
  .step .box:before {
    border-width: 0 11.5px 11px 11.5px;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    top: -11px;
    left: 0;
    right: 0;
    margin: auto;
  }

  .width-50 {
    width: 80% !important;
  }
  .how-image img {
      width: 60%;
  }
  .how-item .description h4 {
    font-size: 1em;
    margin: 10px 0px;
  }
  #page-footer .footer-navigation a {
      margin: 0 5px;
  }
  .page-title-hero {
    margin-top: 0px;
  }
  .page-title {
    margin-bottom: 10px;
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 10px;
  }
  .hero-section h1, .hero-section-noback h1 {
    font-size: 25px;
  }
  .item {
    margin-bottom: 20px;
  }
  .hero-item-sml {
    min-height: 115px;
    padding: 4px;
  }
  .hero-item-sml > a .description h3 {
    font-size: 14px!important;
    padding: 0px;
    margin: 0px;
    text-align: center;
  }
  .width-pricing {
    width: 100%!important;
    margin: 0px;
    padding: 0px;
  }
  div#step-1, div#step-2, div#step-3 {
    width: 95%!important;
  }
  .pre-footer .form {
    padding: 1em 0!important;
  }
  .daterangepicker.show-calendar .drp-buttons {
    text-align: center;
  }
  .daterangepicker .drp-buttons .btn {
      margin: 8px;
  }
  .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
    width: 100%;
  }
  .list-group .list-group-item {
    margin: 4px 0;
  }
  .custom-control {
    padding-left: 0.5rem;
  }
  .list-group label.custom-control-label {
    font-size: 14px!important;
    width: 80%;
    padding: 15px 5px;
  }
  .hero-item-sml .item > a  {
    height: 120px!important;
  }
  #form-subscribe .input-group .input-group-btn {
    display:block;
    width:100%;
    margin-left:auto;
    margin-right:auto;
  }
  #newsletter-email-error {
    display: block;
    width: 100%;
    margin: 10px 15%;
    padding: 5px;
  }
}
