#wraper {
    max-width: 1024px;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

.navbar-xs, .footer {
    border: none !important;
    background: rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.07);
}

.navbar-inverse .navbar-toggle {
    border-color: #ddd !important;
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #000 !important;
}

.navbar-inverse .navbar-toggle:focus, 
.navbar-inverse .navbar-toggle:hover {
    background-color: #fff !important;
}

.navbar-inverse .navbar-nav .open .dropdown-menu .divider {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

.navbar-inverse .navbar-collapse {
    border-color: rgba(0, 0, 0, 0.3) !important;
}

.container#wraper {
    padding: 0;
}

.navbar-xs { 
    min-height: 22px !important;
    height: 22px;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
}

.navbar-xs .navbar-brand,
.navbar-xs .navbar-nav > li > a {  
    padding-top: 1px; 
    padding-bottom: 1px; 
    line-height: 18px; 
}

.navbar-inverse .navbar-nav>.open>a, 
.navbar-inverse .navbar-nav>.open>a:focus, 
.navbar-inverse .navbar-nav>.open>a:hover {
    background: transparent !important;
}

.navbar-inverse .navbar-nav .open .dropdown-menu>li>a, 
.navbar-inverse .navbar-nav .open .dropdown-menu>li>a,
span.navbar-brand, .navbar-nav > li > a {
    color: #000 !important;
    font-size: 12px;
}

@media (max-width: 768px) {
    .navbar-xs {
        height: auto;
    }
    
    .navbar-xs .navbar-brand {
        padding-top: 15px;
    }
}

.breadcrumb {
    margin-bottom: -10px !important;
}

.footer {
    /*height: 90px;*/
    background-color: #222;
    padding-right: 2px;
}

.footer .fb-like {
    margin: 5px;
}

.footer .text-muted {
    margin-bottom: 0;
}

.footer .text-muted a {
    font-size: 11px;
    /*color: #fff;*/
    color: #000;
    margin-left: 10px;
    margin-right: 10px;
    line-height: 22px;
}

body {
    background: url('../../../Penticton.png') repeat;
    font-size: 13px !important;
}

.main-content {
    /*padding: 3px 20px 50px;*/
    padding-bottom: 50px;
    margin-bottom: 10px;
    min-height: 600px;
}

.main-content .page-header {
    margin-top: 30px;
}

.main-content .first-row > div {
    margin-top: -18px;
}

@media (max-width: 400px) {
    .navbar-brand {
        max-width: 250px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

code {
    font-size: 80%;
}

.pull-right {
    float: right !important;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}

.form-search {
    margin-top: 10px;
}

.no-border {
    border: none !important;
}

.max-width-115 {
    max-width: 115px;
}

.page-header-2 {
    margin: 5px 0 !important;
}

.page-content {
    margin: 25px 0 5px 10px !important;
}

.page-header h1, .page-header h2, .page-header h3 {
    margin-bottom: 0 !important;
}

.btn-tool {
    margin-top: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

span.required, .errorMessage {
    color: red;
    margin-left: 3px;
}

.aside .title {
    /*background: #8B8B8B;*/
    /*color: #fff;*/
    /*line-height: 24px;*/
    font-size: 12px;
    padding-left: 5px; 
    /*border-radius: 10px 10px 0 0;*/
    margin-bottom: 0;
}

.aside .box-aside {
    /*border: 1px solid #999;*/
    border-top: none;
    padding: 5px; 
}

.list-new-ads {
    font-size: 12px;
}

.price {
    color: red;
    font-size: 11px;
}

.list-new-ads .hours {
    color: #aaa;
    font-size: 10px;
}

.list-new-ads table {
    margin-bottom: 5px;
}

.view-all {
    font-size: 12px;
}

.list-category .price {
    font-size: 12px;
    font-weight: bold;
    padding-left: 5px;
}

.list-category .status a {
    color: #999;
}

.first-level-cat-name {
    text-decoration: none !important;
    font-size: 11px !important;
    font-weight: normal !important;
}

.first-level-cat-name.label {
    background-color: rgba(0, 0, 0, 0.12) !important;
    color: #222 !important;
    padding: 0.3em 0.6em !important;
}

.list-category .title > a {
    font-weight: bold;
    text-decoration: none;
}

.sortby select { 
    padding: 3px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.list-category .cell { border-bottom:1px solid #e8e7ec; padding:10px 5px 10px 10px; display:table-cell; vertical-align: middle;}
.list-category .col-1 { width:70px; }
.list-category .col-2 { width: 700px;}
.list-category .col-3 { width: 190px;}

#top-ads {
    padding-left: 0;
}

.title-2 {
    font-size: 24px;
    padding-bottom: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.RSS {
    text-align: right;
}

.btn-flat {
    border-radius: 0 !important;
}

.input-group-btn .separate {
    font-size: 13px;
    margin: 5px 15px 0 15px; 
    color: #ccc;
}

.media-left img {
    width: 64px;
}

.aside .panel {
    margin-bottom: 10px;
}

.map-panel
.panel-body {
    padding: 0px;
}
.aside .panel-heading {
    padding: 10px 5px !important;
}
.box-aside {
    padding: 0 !important;
}
.aside .panel-title {
    font-size: 13px;
}
.aside .panel-footer,
.aside .panel {
    border: none !important;
    box-shadow: none !important;
}
.aside .panel-footer,
.aside .panel-heading {
    background: transparent !important;
    text-align: center;
}
.col {
    padding-right: 0 !important;
}
.cat {
    text-align: center;
    padding-bottom: 15px;
    position: relative; 
    border: 1px solid #e1e1e1;
    margin-bottom: 40px;
}
.cat a {
    text-decoration: none !important;
    font-size: 14px;
    line-height: 25px;    
    /*transition: all .2s ease-out;*/
}
.cat a:hover {
    /*font-weight: bold;*/
    font-size: 14px;
}

.cat-title h4 {
    letter-spacing: 0em;
    width: auto;
    line-height: 20px !important;
    margin: 0;
    margin-top: 30px;
    text-align: center;
    font-size: 14px !important;
    font-weight: 600;
    color: #3f3d59;
}

.cat-1:hover {
    border-color: #0004D9;
}
.cat-1:hover .cat-icon-box {
    background: #0004D9;
}
.cat-1:hover .cat-title h4,
.cat-1 a:hover {
    color: #0004D9;
}

.cat-2:hover {
    border-color: red;
}
.cat-2:hover {
    border-color: red;
}
.cat-2:hover .cat-icon-box {
    background: red;
}
.cat-2:hover .cat-title h4,
.cat-2 a:hover {
    color: red;
}

.cat-3:hover {
    border-color: orange;
}
.cat-3:hover {
    border-color: orange;
}
.cat-3:hover .cat-icon-box {
    background: orange;
}
.cat-3:hover .cat-title h4,
.cat-3 a:hover {
    color: orange;
}

.cat-4:hover {
    border-color: purple;
}
.cat-4:hover {
    border-color: purple;
}
.cat-4:hover .cat-icon-box {
    background: purple;
}
.cat-4:hover .cat-title h4,
.cat-4 a:hover {
    color: purple;
}

.cat-5:hover {
    border-color: #00bb46;
}
.cat-5:hover .cat-icon-box {
    background: #00bb46;
}
.cat-5:hover .cat-title h4,
.cat-5 a:hover {
    color: #00bb46;
}

.list-cats {
    margin-top: 10px;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
}

.cat-header .cat-icon {
    position: absolute; 
    top:-20px; 
    left: 50%; 
    margin-left: -20px;
}
.cat-icon .cat-icon-box {
    width: 44px; 
    height: 44px; 
    background: #3f3d59; 
    border-radius: 50%;
}
.cat-icon-box i {
    line-height: 46px;
    font-size: 20px;
    color: #fff !important;
}

.pager a {
    margin: -3px 5px 0 5px;
    padding: 1px 5px;
    color: blue;
}

.row-user-ads h4 {
    margin-top: 30px;
}

.promote-options td {
    padding: 5px;
    vertical-align: middle;
}

.day-col input {
    margin-top: 0 !important;
}

@media (max-width: 400px) {
    .listing-description {
        display: none;
    }
}

/* Ad thumb image */
.ad-photo {
    max-width: 85px;
    margin-right: 2px;
}

.ad-description table td {
    padding-bottom: 15px;
}

@media (max-width: 768px) {
    .btn-post-ad-navbar {
        padding-top: 8px !important;
    }
    
    .btn-search-text {
        display: none;
    }
}

#search-form select,
#search-form input {
    border-radius: 0 !important;
}

#search-button {
    padding-left: 10px;
    padding-right: 10px;
}

@media (min-width: 1024px) {
    #search-form input {
        min-width: 220px;
    }
}

@media (min-width: 768px) {
    .navbar-right {
        margin-right: -13px !important;
    }
}

/* 
Narrow google map in detail view for easier to swipe/scroll page in mobile page 
768 is col-sm break point
*/
@media (max-width: 768px) {
    .hidden-print iframe {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.list-new-ads,
.list-category {
    word-break: break-word;
}

.list-category .image-column {
    width: 85px;
    text-align: center;
    box-sizing: content-box;
}

@media (max-width: 600px) {
    .list-category .image-column,
    .list-category .ad-photo {
        width: 45px;
    }
    
    .list-category .price-column {
        width: 270px !important;
    }
}

.list-category .content-column {
    width: 700px;
}

.list-category .price-column {
    width: 190px;
}

.no-link {
    cursor: default;
    text-decoration: none !important;
}

.btn-wrap {
    white-space: normal !important;
}

.pre-line {
    white-space: pre-line !important;
}

@media (max-width: 480px) {
    .logo {
        max-width: 100%;
    }
}

/* Facebook like box */
#fb-root {
    display: none;
}

.fb-box,
.fb-like,
.fb_iframe_widget {
    max-width: 100% !important;
    overflow: hidden !important;
}

@media (min-width: 992px) {
    .main-content .col {
        width: 23.3%;
    }
    
    .main-content :not(.for_select) .col:first-child {
        width: 30% !important;
    }
    
    .col-70 {
        width: 70% !important;
    }
}

@media (min-width: 992px) {
    .for_select .col {
        width: 25% !important;
    }
}

@media (min-width: 768px) {
    .col:first-child.col-sm-6 {
        width: 40%;
    }
    
    .col-70.col-sm-6 {
        width: 60%;
    }
    
    .col-70 .row > div {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .col-70 .cat a {
        font-size: 13px !important;
    }

    .col-70 .cat a:hover {
        font-size: 13px !important;
    }
    
    .col {
        padding-right: 5px !important;
    }
    
    .list-cats {
        padding-left: 10px !important;
        padding-right: 5px !important;
    }
    
    .ads-counter {
        font-size: 12px;
    }
}

.favorite-status {
    font-size: 11px;
    color: red;
}

@media (min-width: 768px) {
  ul.nav li.dropdown-hover:hover > ul.dropdown-menu {
    display: block;
  }
}

.preview-img-help {
    font-size: 11px;
    text-align: justify;
    font-style: italic;
}

.row-map {
    margin-bottom: 25px;
}

.home-box {
    border: 1px solid #ccc;
    border-top: none;
    padding: 1px !important;
    margin-bottom: 5px;
}

.home-box #map_canvas {
    margin-bottom: 0 !important;
}

.title-map {
    border: 1px solid #ccc;
    border-bottom: none;
    margin-bottom: 0;
    padding: 5px;
}

.link {
    color: #00c !important;
}

.text-muted .link {
    margin-left: -10px !important;
}
