@import '../../components/node_modules/chosen-js/chosen.min.css';

.pagination {
    padding-left: 15px;
}
.pagination ul {
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
}
.pagination ul li {
  margin-bottom: 0px;
}
.pagination ul li a {
    color: #428bca;
    float: left;
    padding: 2px 5px;
}
.pagination ul li.active {
    background-color: #428bca;
}
.pagination ul li.active a {
    color: white;
}
.pagination ul li {
    margin-left: 0;
    display: inline-block;
}
.pagination ul li a:hover:not(.active) {
    background-color: #ddd;
}

.chosen-focus-input {display:none;}

#filter-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#filter-form > div {
    margin-right: 1%;
    margin-bottom: 10px;
    flex-basis: 17%;
    flex-shrink: 1;
}

#filter-form > div.es-search__buttons {
  margin-top: 19px;
  width: 30px;
  height: 30px;
  max-width: 30px;
}

#filter-form > div select {
    border: 1px solid #D26E4B;
    height: 30px;
}
#filter-form > div label {
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 0;
}

.chosen-container.chosen-container-single > a {
    height: 30px;
}

.es-button__wrap {
    display: inline-block;
}
#reset-btn {
    display: inline-block;
}
#reset-btn input {padding: 0!important;margin: 0px;}
#reset-btn-inline input {
  background-color: #d26e4b;
}

#filter-form input[type='submit'] {
    background: #d26e4b !important;
    border: none !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    color: #fff !important;
    font-size: 12px !important;
    padding: 0 10px !important;
    text-transform: none !important;
}

#filter-form input[type='reset'] {
    background: #d26e4b!important;
    text-transform: none!important;
    font-weight: 400!important;
    font-size: 18px!important;
    margin-top: -17px;
}

#filter-form input[type='reset']:hover {
    color: #333;
    box-shadow: none;
}


/*All listings*/
#all-listings li {
    list-style-type: none !important;
    flex-basis: 31%;
    flex-shrink: 1;
}

.es-listing.es-layout-list {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.es-listing.es-layout-list li {
  margin: 10px;
}

#all-listings .es-property-inner {
    margin-top: 25px;
    background: #fff!important;
    border-radius: 0!important;
    border-left: 0!important;
    border-right: 0!important;
    border-bottom: 0!important;
    border-top: 1px solid #d6d6d6!important;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.3);
    -moz-box-shadow: 0 2px 5px 0 rgba(0,0,0,0.3);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.3);
}

#all-listings .es-property-inner .es-property-thumbnail {
    height: 250px;
    width: 100%;
    position: relative;
}

#all-listings .es-property-inner .es-property-thumbnail a {
    display: block;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-color: #DEDEDE;
    background-repeat: no-repeat;
}

#all-listings .es-property-inner .es-property-thumbnail a.is-logo {
  background-size: contain;
}

#all-listings .es-property-inner .es-property-thumbnail a span {
  display: block;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  margin-top: 50%;
  position: absolute;
  text-decoration: none;
  color: #999;
}

#all-listings .es-property-inner .es-property-thumbnail a:not(.is-logo) span {
  display: none;
}

#all-listings .es-property-info {
    clear: both;
}

#all-listings .es-property-info {
    width: 100%;
    padding-left: 3%;
}

.es-property-info h2 {
    font-size: 0.75em;
    padding-top: 0.5vh;
}
.es-property-info h2 a {font-size: 20px; color: #232323;}

.es-property-additional-info {
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: lighter;
    color: #929292;
    padding-bottom: 3px;
}

#all-listings .available-game-list a {
    position:relative;
    float:left;
    background: #ffc581;
    color: #d26e4b;
    text-transform: none!important;
    font-weight: 400;
    font-size: 12px;
    padding: 3px 15px;
    margin-right: 5px;
    margin-top: 5px;
}

#all-listings .lease-excerpt {
    width: 100%;
    float:left;
    font-size: 12px;
    line-height: 18px;
    margin-top: 10px;
    height: 93px;
    max-height: 93px;
}

.available-game-list {height: 60px;}

/*bottom info*/
.es-bottom-info {margin-top:30px;background:#fff;}
.es-bottom-info img {margin-right:5px;}
.map-ico {margin-top: 6px;}
.point-ico {margin-top: 4px;}

.area {
    display:inline-block;
    float:left;
    margin-top:20px;
}

.address {
    display:inline-block;
    float:left;
    margin-left:25px;
    width:55%;
    margin-top:20px;
}

.cta {display:inline-block;float:right;}

.cta-details {
    float: right;
    background: #d26e4b!important;
    color:#fff;
    border-radius: 0px!important;
    padding: 10px 25px!important;
}


/*RESPONSIVE FIXES*/
/*filters*/

@media only screen and (min-width:901px) and (max-width:1080px) {
    #all-listings .lease-excerpt {margin-top:18px;}

    .es-bottom-info {
        position: absolute;
        margin-top: 53px;
        width: 95.5%;
    }

    .area {width:75%;margin-top:45px;}
    .address {margin-left:-4px;margin-top:0px;width:70%;}
    .cta {margin-top:-25px;}
}


@media only screen and (min-width:769px) and (max-width:900px) {
    .es-bottom-info {
        position: absolute;
        left: -54%;
        width: 154%;
        margin-top: 100px;
    }
}


@media only screen and (min-width:600px) and (max-width:768px) {
    #all-listings .es-property-inner {
        height: 350px;
    }

    .price {float:left;margin-bottom:5px;width:100%;margin-top:0px;}

    #all-listings .available-game-list a {
        font-size: 11px;
        padding: 0px 5px;
    }

    .es-bottom-info {
        position: absolute;
        left: -54%;
        width: 154%;
        margin-top: 100px;
    }

    .area {width:75%;margin-top:45px;}
    .address {margin-left:-4px;margin-top:0px;width:70%;}
    .cta {margin-top:-25px;}

}

@media only screen and (min-width:415px) and (max-width:599px) {

    #all-listings .es-property-inner {
        height: 350px;
    }

    #all-listings .available-game-list a {
        font-size: 11px;
        padding: 0px 5px;
    }
    #all-listings .lease-excerpt {position:absolute;left:-54%;width:154%;margin-top:35px;}

    .es-bottom-info {
        position: absolute;
        left: -54%;
        width: 154%;
        margin-top: 110px;
    }
    .area {width:75%;margin-top:45px;}
    .address {margin-left:-4px;margin-top:0px;width:70%;}
    .cta {margin-top:-25px;}

}

@media only screen and (min-width:1px) and (max-width:414px) {
    #all-listings .es-property-inner .es-property-thumbnail {width:100%;}
    #all-listings .es-property-info {width:100%;padding-left:0px;}

    .es-property-info h2 {margin-top:10px;}
    .price {float:left;margin-bottom:5px;width:100%;margin-top:0px;}
    #all-listings .available-game-list a {
        font-size: 11px;
        padding: 0px 5px;
    }

    .es-bottom-info {position: absolute;width:100%;}
    .area {width:100%;margin-top:25px;font-size:13px;}
    .map-ico {margin-top:3px;}
    .address {margin-left:-4px;margin-top:0px;width:100%;font-size:13px;}
    .cta {margin-top:25px;clear: both;}
}

/* iPhone 5/SE */
@media only screen and (min-width:1px) and (max-width:320px) {
    .es-bottom-info {margin-top: 94px;width:100%;}
}


@media only screen and (min-width:321px) and (max-width:360px) {
    .es-bottom-info {margin-top: 85px;width:100%;}
}

/* iPhone 6/7/8 */
@media only screen and (min-width:361px) and (max-width:375px) {
    .es-bottom-info {margin-top: 85px;width:100%;}

}

/* iPhone 6+/7+/8+ */
@media only screen and (min-width:376px) and (max-width:400px) {
    .es-bottom-info {width:100%;}
}

/* iPhone 6+/7+/8+ */
@media only screen and (min-width:401px) and (max-width:414px) {
    .es-bottom-info {margin-top: 83px;width:100%;}
}

@media only screen and (max-width:1050px){
  #filter-form > div {
    flex-basis: 32%;
  }
}

@media only screen and (max-width:920px){
  #all-listings li {
    flex-basis: 47%;
  }
}

@media only screen and (max-width:700px){
  #all-listings li {
    flex-basis: 98%;
  }

  #filter-form > div {
    flex-basis: 48%;
  }
}

.chosen-container-single .chosen-single {
  line-height: 28px;
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
  background-position: -18px 4px;
}

.chosen-container-single .chosen-single div b {
  background: url(chosen-sprite.png) 0 4px no-repeat;
}

.center-element {
  margin: 0 auto;
}

.fa-refresh {
  color: #d26e4b;
}
