.city-content img {
    max-width: 100%;
    margin-top: 15px;
}

/*************** 'Change location' button ***********************/
.change-location-controls {
    position: absolute;
    width: 100%;
}
.change-location-controls div {
    max-width: 980px;
    width: 100%;
    margin: auto;
    padding: 15px 10px;
    text-align: right;
}
.change-location-controls a {
    border: 2px solid #FCC300;
    border-radius: 4px;
    padding: 5px 10px;
    color: white;
    font-size: 0.9em;
    white-space: nowrap;
}
.change-location-controls a:hover {
    background-color: black;
}
.change-location-controls .long {
    display: inline;
}
.change-location-controls .short {
    display: none;
}

@media(min-width: 1000px) {
    .change-location-controls div {
        padding-right: 0;
    }
}
/* breakpoint for mobile/compact view */
@media(max-width: 500px) {
    .change-location-controls {
        position: static;
        margin-bottom: -35px;
    }
    .change-location-controls .long {
        display: none;
    }
    .change-location-controls .short {
        display: inline;
    }
}

/************** Location section with map on left side (for ndolina) *********************/
section.location .section-title.mobile {
    display: none;
}
section.location .map-static {
    display: none;
}

section.location .location-details {
    width: 510px;
    display: inline-block;
    vertical-align: top;
}
section.location .inline-map {
    display: inline-block;
    width: 400px;
    height: 400px;
    margin-right: 40px;
    vertical-align: top;
}

@media(max-width: 1000px) {
    section.location .inline-map {
        width: 300px;
    }
    section.location .location-details {
        width: calc(100% - 350px);
    }
}
@media(max-width: 900px) {
    section.location .inline-map {
        width: 100%;
        margin-bottom: 25px;
        margin-right: 0;
    }
    section.location .location-details {
        width: 100%;
    }
    section.location  .section-title.mobile {
        display: block;
    }
    section.location  .section-title.non-mobile {
        display: none;
    }
}


/************** Distances table (for ndolina) *********************/
.distances {
    margin: 30px 0;
    max-width: 600px;
}
.distances .col {
    display: inline-block;
    padding: 10px 14px;
}
.distances .col1 { width: 28%;}
.distances .col2 { width: 21%;}
.distances .col3 { width: 24%;}
.distances .col4 { width: 24%;}
.distances .col1 {
    text-align: right;
    padding-left: 0;
    font-weight: bold;
    color: #484E4E;
}
.distances .spacer {
    border-top: 1px solid #E8E8E8;
}

.distances .col i {
    display: inline-block;
    vertical-align: middle;
    width: 26px;
    height: 24px;
    margin-right: 10px;
}
.distances .col2 i {
    background: url(/img/landing/icons/distance-path.png) no-repeat right bottom;
}
.distances .col3 i {
    background: url(/img/landing/icons/distance-car.png) no-repeat right bottom;
}
.distances .col4 i {
    background: url(/img/landing/icons/distance-bus.png) no-repeat right bottom;
}
/* breakpoint for mobile/compact view */
@media(max-width: 500px) {
    .distances .col1 { width: 50%;}
    .distances .col2 { width: 48%;}
    .distances .col3 { width: 50%;}
    .distances .col4 { width: 48%;}
    .distances .col1 {
        text-align: left;
        padding-left: 15px;
    }
}

/************** Ozerki (ndolina) *********************/
section.ozerki .photos {
    margin: 0 0 30px;
}
section.ozerki .photos img {
    border: 1px solid #E0E0E0;
    max-width: 100%;
}


/************** All categories links section (for SEO) *********************/
/* NOTE: styling is also inherited by prigorod-links section */
.category-links {
    margin-top: 30px;
    margin-bottom: 30px;
}
.category-links .section-title {
    font-size: 17px;
    margin-bottom: 10px;
    color: #4a4a4a;
}
.category-links .section-title br {
    display: none;
}
.category-links .content {
    /*display: table;*/
}
.category-links .content h4 {
    display: none;
    font-size: 13px;
    font-weight: bold;
    color: #464646;
    margin: 6px 0 3px;
}

.category-links .content a {
    display: inline-block;
    width: 16%;
    font-size: 12px;
    color: #3997c1;
    /*text-decoration: underline !important;*/
}
.category-links .content a:hover {
    color: #009adc;
}

/* titles shown for mobile only, when links wrapped in two+ rows */
@media(max-width: 800px) {
    .category-links .content h4 {
        display: block;
    }
}
/* Categories breakpoints */
@media(max-width: 820px) {
    .category-links {
        margin-left: 20px;
    }
    .category-links .content {
        line-height: 1.2;
    }
    .category-links .content a {
        width: 32.5%;
    }
    .category-links .spacer {
        height: 8px;
    }
}
@media(max-width: 450px) {
    /*.category-links .section-title {
        font-size: 15px;
    }*/
    .category-links .section-title {
        margin-bottom: 18px;
    }
    .category-links .section-title br {
        display: inline;
    }
    .category-links .content {
        line-height: 1.4;
    }
    .category-links .content a {
        width: 49%;
    }
    .category-links .spacer {
        height: 12px;
    }
}

/************** Prigorod links section (for SEO), uses category-links class *********************/
.prigorod-links, .zhk-links {
    margin-top: -50px;
}
.prigorod-links, .zhk-links .content a {
    /*width: 32.5%;*/
    width: 99%;
}
/*@media(max-width: 450px) {
    .prigorod-links .content a {
        width: 99%;
    }
}*/


/*** Useful info (Chernomorsk) ***/
section.useful-info {

}
section.useful-info i {
    font-size: 0.85em;
    color: #729ca3;
}

/* Other */
#footer {
    margin-top: 0;
    background-color: #000000;
}