/*
Google Colors
Blue: #4285F4
Red: #DB4437
Yellow: #F4B400
Green: #0F9D58
Grey: #313131
*/

body {
    background-color: #eee;
}


#main {
    min-height: 720px;
}

#search_distance {
    padding-left: 0px;
}

.sidebar a {
    color: black;
}

.footer {
    background-color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
    margin-top: 20px;
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
    background-color: #F4B400;
    border-color: #F4B400;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #F4B400;
    border-color: #F4B400;
}

footer {
    margin-top: 40px;
    font-size: 80%;
}

h2 {
    display: block; 
    color: #313131;
    margin-top: 20px;
}

h3 {
    margin-top: 20px;
}

.wrapper h3 {
    margin-top: 0px;
}

h5 {
    margin-top: 20px;
}

.categories {
    margin-bottom: 20px;
    margin-top: 5px !important;
}


.header {
    background-color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.leader {
    margin-top: 0 !important;
    padding-top: 10px;
}

#cookie-consent-container {
    position:fixed;
	bottom:0;
	width:100%;
	padding:2rem;
    text-align:center;
    background-color: white;
}

a {
    color: #F4B400;
}


a:hover {
    color: #F4B400;
}

.page-link {
    color: #F4B400;
}

.page-link:hover {
    color: #F4B400;
}

/* Buttons */
.btn-primary {
    background-color: #F4B400;
    border-color: #F4B400;
    color: #313131;
}

.btn-primary.disabled, .btn-primary:disabled {
	color: #fff;
    background-color: #ccc;
    border-color: #ccc;
}

.btn-primary:hover {
    background-color:#F4B400;
    border-color: #F4B400;
}

.btn-primary:active {
    background-color:#F4B400 !important;
    border-color: #F4B400 !important;    
    outline: none !important;
    box-shadow: none !important;
}

.btn-outline-primary {
    border-color: #313131;
    color: #313131;
}

.btn-outline-primary:hover {
    background-color: #313131;
    border-color:  #313131;
    color: #fff;
}

.btn-outline-primary:active {
    background-color: #313131 !important;
    border-color:  #313131 !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-link, .btn-link:hover, .btn-link:active {
    color: #313131;
}



.nav-link {
    color: #313131;
}

.btn:focus,.btn:active {
    outline-color: #F4B400;
    box-shadow: 0 0 6px rgba(244,180,0,1), 0 0 6px rgba(244,180,0,1) !important;
 }

 .form-control:focus, .form-control:active {    
     outline-color: #F4B400;
    box-shadow: 0 0 6px rgba(244,180,0,1), 0 0 6px rgba(244,180,0,1) !important;
 }

.jumbotron {
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: 600px;
    background-position: right top;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.page {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
    padding: 10px;
}

.jumbotron .display-3 {
    font-size: 2.8em;
}

.category {
    width: 275px;
    margin: 0px auto 0px auto;
}

.category .wrapper {
    background-color: #fff;
    margin: 5px;
    padding: 15px;
    height: 240px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.category .wrapper_pb {
    background-color: #fff;
    margin: 5px;
    padding-top: 0px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.list-group {
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.category .wrapper li {
    list-style: none;
    border-bottom: 1px solid #ccc;
}

.category .wrapper li a {
    color: #313131;
}

.category h3 {
    font-size: 1.25em;
}




.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
	color: #fff;
	background-color: #313131;
}

/* Header */
.header {
    background-color: white;
}

#header_query {
    min-width: 190px;
    max-width: 100%;
}

#header_distance {
    min-width: 238px;
}

#header_zipcode {
    min-width: 80px;
    max-width: 10%;
}

::placeholder {
    font-size: 90%;
    color: grey !important;
  }

select {
    height: 36px;
    font-size: 90% !important;
    color: grey !important;
}


input[type=date] {
    color: grey !important;
}

select:invalid {
    font-size: 90% !important;
    color: grey !important;
}

/* Footer */
.footer-categories {
    columns: 4;
}

.footer-logo {
    width: 150px;
    margin: 20px auto;
}

@media only screen and (max-width: 600px) {
    .leader img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        margin-bottom: 10px;
    }

    .buttons {
        text-align: center;
    }


    #header_category, #header_distance, #header_zipcode {
        display: none;
    }

    .footer-categories {
        columns: 1;
    }

    .listing-preview {
       width: 50% !important;

    }

    .category {
        width: 50% !important;
        
    }

    .category .wrapper {
        height: 285px;
    }

    .wrapper_pb {
        height: 285px;
    }


    .sidebar {
        display: none;
    }

    #mobileFiltersToggleButton {
        display: block;
    }

}
@media only screen and (min-width: 600px) {
    .buttons {
        text-align: right;
    } 

    #query {
        width: 400px !important;
    }

    #mobileFiltersToggleButton {
        display: none;
    }
}

#query {
    height: 38px;
}

#header_zipcode {
    height: 38px;
}

/* Listings */

.listing-preview {
    padding: 5px;
    width: 280px;
    margin: auto;
}

.listing-preview a {
    color: #F4B400;
}

.listing-preview img {
    width: 100%;
}

.listing-preview h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    margin-top: 10px;
}
.listing-preview p {
    font-size: 1em;
    margin-left: 15px;
}

.listing-wrapper .created {
    font-size: 0.8em !important;
    color: #aaa;
}

.listing-wrapper {
    background-color: #fff;
    height: 360px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.highlighted {
    box-shadow: 0 3px 6px rgba(244,180,0,1), 0 3px 6px rgba(244,180,0,1) !important;
}

.listing-wrapper .image {
    height: 200px;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.conversation-preview {
    background-color: #fff;
    padding: 10px;
    margin: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.conversation-preview-listing {
    margin-top: 0px;
}

.conversation-preview .conversation-preview-listing .image {
    height: 50px;
    width: 50px;
    margin: 10px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.conversation-preview .conversation-preview-listing .details {
    margin-top: auto;
    margin-bottom: auto;
}

.listing-header {
    padding: 5px;
    background-color: #fff;
}

.listing-header .user-image {
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.listing-header .user-link {
    font-size: 0.9em;
}

.listing-preview .listing-header  a {
    color: #313131; 
}

.listing-preview .listing-header a:hover {
    color: #F4B400;
}


  .custom-checkbox .custom-control-input:checked~.custom-control-label::before{
    background-color:#F4B400;;
  }

.listing-preview-title {
    text-overflow: ellipsis;
    color: #313131;
    white-space: nowrap;
    overflow: hidden;

}

.listing-header {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

}

.listing-wrapper .favourite {
    color: #fff;
    position: absolute;
    top: 50px;
    right: 25px;
    font-size: 1.5em;
}

.listing-wrapper .favourite a {
    color: #fff;
}

.listing-wrapper .favourite a:hover {
    color: #F4B400;
}

.listing-wrapper .favourite .active a {
    color: #F4B400;
}


.dropdown-item:active {
    background-color: #F4B400 !important;
}

.pulse {
    animation: pulse 2s infinite;
  }
  
  @-webkit-keyframes pulse {
    0% {
      -webkit-box-shadow: 0 0 0 0 rgba(244,180,0, 1);
    }
    70% {
        -webkit-box-shadow: 0 0 0 15px rgba(244,180,0, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(244,180,0, 0);
    }
  }
  @keyframes pulse {
    0% {
      -moz-box-shadow: 0 0 0 0 rgba(244,180,0, 1);
      box-shadow: 0 0 0 0 rgba(244,180,0, 1);
    }
    70% {
        -moz-box-shadow: 0 0 0 15px rgba(244,180,0, 0);
        box-shadow: 0 0 0 15px rgba(244,180,0, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(244,180,0, 0);
        box-shadow: 0 0 0 0 rgba(244,180,0, 0);
    }
  }


.listing-information {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.flexbin a {
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.listing-information .price {
    color:#313131;
    font-size: 2em;
    font-weight: bold;
}

.listing-information .table .feature {
    color:#313131;
    font-weight: bold;
}


.listing-information h1 {
    font-size: 1em;
    font-weight: bold;
}

.listing-information .btn {
    width: 97%;
    margin: 5px;
}

.listing-user {
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.listing-user .last-login {
    font-size: 0.8em;
    color: #ccc;
}

.rating {
    color: #F4B400;
}
.listing-user img {
    border-radius: 50%;
}

.user-info {
    padding: 0px;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.user-info .details {
    padding: 20px;
}

.breadcrumb {
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.breadcrumb-item a {
    color: #F4B400;
}

.results .filters a {
    margin-right: 5px;
    margin-bottom: 5px;
}

.results .filters i {
    position: relative; 
    top: 1px; 
    left: 5px; 
    margin-right: 5px;
}

.sidebar {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

.sidebar .filters {
    margin: 10px;
}

.sidebar .filters h3 {
    font-size: 1.2em;
}

.sidebar .filters h4 {
    margin-top: 20px;
    font-size: 1.1em;
}

.sidebar .filters h5 {
    margin-top: 20px;
    font-size: 0.9em;
}

.sidebar .filters li {
    list-style: none;
    text-overflow: ellipsis;
    color: #313131;
    white-space: nowrap;
    overflow: hidden;
    
}

.sidebar .filters li a {

}


/* Hide arrows and spinners on input fields for numbers */
input[type='number'] {
    -moz-appearance: textfield;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.rating-details {
    background-color: white;
    padding: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

/* Chat */
div .message {
    width: 60%;
}

div .message-sent {
    margin-left:auto; 
    margin-right:0;
}

div .message-sender {
    font-weight: bold;
    font-size: 80%;
}

div .message-text {
    margin: 10px;
    padding: 10px;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.08), 0 3px 6px rgba(0,0,0,0.16);
}

div .message-read-by {
    font-size: 80%;
    color: dark-grey;
    text-align: right;
    margin-right: 10px;
    margin-top: -10px;
}

.badge-primary {
    background-color: #F4B400;
}

.list-group-item.active {
    background-color: #F4B400;
    border-color: #F4B400;
    color: white;
}

.list-group-item.active a {
    color: white;
}

.text-avatar {
    display:inline-block;
    font-size:0.7em;
    width:2.5em;
    height:2.5em;
    line-height:2.5em;
    text-align:center;
    border-radius:50%;
    vertical-align:middle;
    margin-right:0.3em;
    color:white;
}


.image-avatar {
    display:inline-block;
    font-size:0.7em;
    width:2.5em;
    height:2.5em;
    line-height:2.5em;
    text-align:center;
    border-radius:50%;
    vertical-align:middle;
    margin-right:0.3em;
    color:white;
    background-size: cover;
}






