@font-face {
    font-family: "fhi-icons";
    src:url("../fonts/fhi-icons.eot");
    src:url("../fonts/fhi-icons.eot?#iefix") format("embedded-opentype"),
    url("../fonts/fhi-icons.woff") format("woff"),
    url("../fonts/fhi-icons.ttf") format("truetype"),
    url("../fonts/fhi-icons.svg#fhi-icons") format("svg");
    font-weight: normal;
    font-style: normal;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height + footer margin */
    margin-bottom: 100px;
}

img {
    max-width: 100%;
    height: auto;
}

.fhi-row {
    margin-bottom: 15px;
}

.form-control {
    border: none;
    border-radius: 3px;
    box-shadow: none;
    transition: border-color 0.15s ease-in-out 0s;
}

.form-control:focus {
    box-shadow: none;
}

.btn {
    border-color: transparent;
    border-radius: 3px;
}

.details-colors .details-header,
.content-colors .details-header {
    padding: 15px;
    margin-bottom: 15px;
}

.details-colors .content-header,
.content-colors .content-header {
    font-size: 24px;
    font-weight: bold;
}

.details-colors .content-body,
.content-colors .content-body {
    margin-bottom: 15px;
}

.details-colors .details-title,
.content-colors .details-title {
    font-weight: bold;
    font-size: 16px;
}

.details-colors .details-content,
.content-colors .details-content {
    font-weight: normal;
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.details-colors .details-file {
    margin-bottom: 5px;
}

.content-header,
.map-header {
    padding: 10px;
    vertical-align: middle;
}

.content-header h1,
.map-header h1 {
    margin: 0;
    font-size: 50px;
}

.content-header .smaller,
.map-header .smaller {
    font-size: 70%;
}

.content-body {
    padding: 15px;
}

.map-body {
    margin-bottom: 15px;
}

.search-icon {
    font-size: 40px;
    cursor: pointer !important;
}

.search-result-item {
    padding-top: 15px;
    padding-bottom: 15px;
}

.search-result-icon {
    font-size: 70px;
    line-height: 1;
    text-align: left;
}

.details-icon {
    font-size: 80px;
    line-height: 1;
    text-align: left;
}

.search-result-body {

}

.search-result-logo-wrapper {
    float: right;
    text-align: right;
}

.search-result-logo {
    max-width: 280px;
    float: right;
    text-align: right;
}

.search-result-logo img {
    max-width: 280px;
    max-height: 280px;
    height: auto;
}

.search-result-category {
    font-size: 12px;
}

.search-result-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
    word-break: break-word;
}

.big-icon {
    font-size: 140%;
    vertical-align: middle;
    line-height: 1;
}

#search-wrapper {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 15px 15px 0;
}

#search-wrapper .form-horizontal .form-group {
    margin-right: 0;
    margin-left: 0;
}

#content-wrapper {
    margin-top: 15px;
}

#map-canvas {
    height: 600px;
}

.map-bottom {
    height: 30px;
    margin-top: 0;
    margin-bottom: 15px;
}

#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 80px;
    margin-bottom: 20px;
}

#footer-content {
    padding: 0 30px;
}

.clear {
    clear: both;
    float: none;
    width: 1px;
    height: 1px;
    font-size: 0px;
    overflow: hidden;
}

.footer-bar {
    margin-top: 15px;
    margin-bottom: 30px;
}

.footer-image {
    float: left;
    margin: 0 30px 15px;
    max-width: 250px;
}

.footer-image img {
    max-width: 100%;
    height: auto;
}

.footer-public-text-left,
.footer-public-text-right {
    padding: 5px 0 5px 15px;
    height: auto;
    color: #ffffff;
}

.footer-public-text-right {
    padding: 5px 15px 5px 0;
    text-align: right;
}

.footer-public-text-right a,
.footer-public-text-left a {
    color: #ffffff;
}

.footer-link {
    margin-right: 30px;
    font-weight: bold;
}

/* FHI Icons */
[data-icon]:before {
    font-family: "fhi-icons" !important;
    content: attr(data-icon);
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[class^="icon-fhi-"]:before,
[class*=" icon-fhi-"]:before {
    font-family: "fhi-icons" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    text-transform: none !important;
    speak: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-fhi-angebote:before {
    content: "\61";
}
.icon-fhi-kategorie-kurs:before {
    content: "\62";
}
.icon-fhi-download:before {
    content: "\63";
}
.icon-fhi-gefunden:before {
    content: "\64";
}
.icon-fhi-kategorie-sonstiges:before {
    content: "\66";
}
.icon-fhi-kategorie-grosseltern-enkel:before {
    content: "\67";
}
.icon-fhi-kategorie-mobilesangebot:before {
    content: "\68";
}
.icon-fhi-map-marker:before {
    content: "\65";
}
.icon-fhi-kategorie-aufsuchendesangebot:before {
    content: "\69";
}
.icon-fhi-kategorie-beratung:before {
    content: "\6a";
}
.icon-fhi-medizin:before {
    content: "\6b";
}
.icon-fhi-kategorie-fuer-eltern:before {
    content: "\6c";
}
.icon-fhi-kategorie-einzelveranstaltung:before {
    content: "\6e";
}
.icon-fhi-kategorie-nur-muetter:before {
    content: "\6f";
}
.icon-fhi-suche:before {
    content: "\70";
}
.icon-fhi-willkommen:before {
    content: "\72";
}
.icon-fhi-kategorie-fuer-kind:before {
    content: "\73";
}
.icon-fhi-kategorie-gruppenangebot:before {
    content: "\74";
}
.icon-fhi-kategorie-internetangebot:before {
    content: "\75";
}
.icon-fhi-kategorie-fuer-eltern-und-kind:before {
    content: "\6d";
}
.icon-fhi-kategorie-nur-vaeter:before {
    content: "\71";
}

.icon-flipped {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    transform: scaleX(-1);
}

/** Media Queries **/
@media (max-width: 479px) {
    .search-result-logo-wrapper {
        float: left;
        text-align: left;
        margin-top: 15px;
    }

    .search-result-logo {
        float: left;
        text-align: left;
    }

    .search-result-logo img {
        max-height: 100px;
    }

    .search-result-title {
        font-size: 18px;
    }

    .details-colors .media-right {
        display: block;
        padding-left: 0;
    }

    .search-result-icon {
        font-size: 40px;
    }

    .details-icon {
        font-size: 60px;
    }

    #footer-content {
        padding: 0;
    }

    .footer-image {
        margin: 0 15px 15px 0;
        max-width: 80px;
    }

    .footer-public-text-right {
        padding: 5px 0 5px 15px;
        text-align: left;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .search-result-logo-wrapper {
        float: left;
        text-align: left;
        margin-top: 15px;
    }

    .search-result-logo {
        float: left;
        text-align: left;
    }

    .search-result-logo img {
        max-height: 100px;
    }

    .search-result-title {
        font-size: 20px;
    }

    .details-colors .media-right {
        display: block;
        padding-left: 0;
    }

    .details-icon {
        font-size: 80px;
    }

    #footer-content {
        padding: 0 15px;
    }

    .footer-image {
        margin: 0 30px 15px 0;
        max-width: 150px;
    }

    .footer-public-text-right {
        padding: 5px 0 5px 15px;
        text-align: left;
    }
}

@media (min-width: 480px) and (max-width: 620px) {
    .footer-image {
        margin: 0 30px 15px 0;
        max-width: 100px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .search-result-logo-wrapper {
        float: left;
        text-align: left;
    }

    .search-result-logo {
        float: left;
        text-align: left;
    }

    .search-result-item {
        padding-bottom: 10px;
    }

    .search-result-title {
        font-size: 20px;
    }

    #footer-content {
        padding: 0;
    }

    .footer-image {
        margin: 0 30px 15px 0;
        max-width: 200px;
    }

    .footer-public-text-right {
        padding: 5px 0 5px 15px;
        text-align: left;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .details-icon {
        font-size: 70px;
    }
}