.mobile-menu,
.mobile-header {
    display: none;
}

.show-mobile {
    display: none;
}

@media (max-width: 1023px) {
    .mobile-header__logo {
        margin-top: 15px;
    }

    #main {
        width: 720px;
        margin: 0px auto;
        position: relative;
        background: none;
        position: relative;
        box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.05);
    }

    #main:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 20px;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        background: #b2d4af;
        background: -moz-linear-gradient(top, #b2d4af 0%, #98bfaa 100%);
        background: -webkit-linear-gradient(top, #b2d4af 0%, #98bfaa 100%);
        background: linear-gradient(to bottom, #b2d4af 0%, #98bfaa 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b2d4af', endColorstr='#98bfaa', GradientType=0);
        border-bottom: 1px solid #66645E;
    }

    #main_footer {
        width: 720px;
        margin: 0px auto;
        position: relative;
        background: none;
        position: relative;
        box-shadow: 0px 0px 3px 2px rgba(0, 0, 0, 0.05);
    }


    #header h1 {
        width: 720px;
    }

    #header {
        height: 82px;
    }

    #header h1 {
        top: 0;
    }

    #nav {
        width: 720px;
        top: -55px;
        height: 30px;
        right: -6px;
    }

    #asideleft {
        margin-left: 0;
        width: 212px;
    }

    ul#provinces li {
        width: 100%;
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    ul#provinces li a {
        padding: 10px;
        margin: 0;
    }

    #contentwrapper {
        width: calc(100% - 212px);
        margin-right: 0;
        background: #EBE7D6 none no-repeat;
    }

    #contentwrapper #content {
        width: 100%;
        border-right: none;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #container {
        background: #EBE7D6 none no-repeat;
    }

    #content {
        border-left: none;
        border-right: none;
    }

    #partners span {
        width: 300px;
        margin-top: 11px;
        margin-left: 10px;
    }

    .places .column {
        width: 33.33%;
    }

    .places .notfirst {
        margin-left: 0.833333333333333%;
        width: calc(33.33% - 0.833333333333333%);
    }

    #asideright {
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .ad468groen,
    .ad468groen ins,
    .ad468groen ins ins,
    .ad468groen ins ins iframe,
    .adcentered,
    .adcentered ins,
    .adcentered ins ins,
    .adcentered ins ins iframe,
    .ad234,
    .ad234 ins,
    .ad234 ins ins,
    .ad234 ins ins iframe,
    .adcenteredgroen,
    .adcenteredgroen ins,
    .adcenteredgroen ins ins,
    .adcenteredgroen ins ins iframe {
        width: 100% !important;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }

    #map {
        padding-bottom: 70%;
    }

    #footer {
        height: 10px;
        background: #b2d3ac;
        background: -moz-linear-gradient(top, #b2d3ac 0%, #cce0c3 100%);
        background: -webkit-linear-gradient(top, #b2d3ac 0%, #cce0c3 100%);
        background: linear-gradient(to bottom, #b2d3ac 0%, #cce0c3 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b2d3ac', endColorstr='#cce0c3', GradientType=0);
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
        margin-bottom: 10px;
    }
}

@media (max-width: 767px) {
    .mobile-menu,
    .mobile-header {
        display: block;
    }

    .show-mobile {
        display: block;
    }

    .mobile-header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        z-index: 3;
        -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
        box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    }

    .mobile-header:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #E6A93D;
        z-index: -1;
    }

    .mobile-header__logo {
        height: auto;
        margin-top: 3px;
        margin-left: 3px;
        font-family: tahoma, Arial, Helvetica, sans-serif;
        font-size: 15px;
        display: inline-block;
        padding: 8px 5px 5px 5px;
        text-decoration: none;
        color: #956D27;
        font-weight: normal;
        display: inline-block;
    }

    .mobile-header__logo img {
        display: inline-block;
        vertical-align: middle;
        width: 25px;
        height: auto;
    }

    .mobile-header__logo strong {
        color: #FFF1D5;
        font-weight: bold;
        display: inline-block;
        vertical-align: middle;
        position: relative;
        top: 1px;
        margin-left: 10px;
    }

    .mobile-header__logo small {
        vertical-align: top;
        font-size: 12px;
        padding: 0 2px;
        line-height: 21px;
    }

    .mobile-header__logo span {
        display: none;
    }

    .mobile-menu-icon {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 50px;
        cursor: pointer;
    }

    .mobile-menu-icon .hamburger {
        width: 15px;
        height: 12px;
        position: absolute;
        top: 50%;
        left: 17px;
        transform: translateY(-50%);
    }

    .mobile-menu-icon .hamburger .hamburger__line {
        position: absolute;
        left: 0;
        width: 15px;
        height: 1px;
        background-color: white;
        opacity: 1;
        transform: translate(0) rotate(0deg);
        transition: all 300ms ease;
    }

    .mobile-menu-icon .hamburger .hamburger__line:nth-child(2) {
        top: 5px;
    }

    .mobile-menu-icon .hamburger .hamburger__line:nth-child(3) {
        top: 10px;
    }

    .mobile-menu {
        width: 220px;
        height: 100%;
        background-color: #6B9591;
        position: fixed;
        top: 50px;
        z-index: 3;
        left: -220px;
        transition: left 0.3s ease;
    }

    .mobile-menu.show {
        left: 0;
    }

    .mobile-menu__list,
    .mobile-menu__list li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu__list li {
        display: block;
    }

    .mobile-menu__list li a {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 7px 10px;
        color: #fff;
    }

    .mobile-search__icon {
        position: absolute;
        width: 50px;
        height: 50px;
        right: 50px;
        top: 0;
        border-left: 1px solid rgba(255, 255, 255, 0.4);
        border-right: 1px solid rgba(255, 255, 255, 0.4);
    }

    .mobile-search__icon img {
        width: 16px;
        height: 16px;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .mobile-search__input {
        position: absolute;
        top: -50px;
        left: 0;
        width: 100%;
        height: 50px;
        background-color: white;
        z-index: -1;
        -webkit-transition: top 0.2s ease;
        -moz-transition: top 0.2s ease;
        -ms-transition: top 0.2s ease;
        -o-transition: top 0.2s ease;
        transition: top 0.2s ease;
    }

    .mobile-search__input.show {
        top: 100%;
    }

    .mobile-search__input input {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        width: 100%;
        left: 0;
        height: 100%;
        outline: none;
        padding-left: 15px;
    }

    .mobile-search__input button {
        position: absolute;
        right: 15px;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        outline: none;
        background: none;
        border: none;
        margin: 0;
        padding: 0;
        z-index: 2;
    }

    .mobile-search__input button img {
        width: 16px;
        height: 16px;
    }

    body {
        margin-top: 50px;
    }

    #header,
    #nav {
        display: none;
    }

    #main:before {
        display: none;
    }

    #main {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #main_footer:before {
        display: none;
    }

    #main_footer {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .row, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12{
        padding:0;
        margin:0;
    }

    .adcentered a img{
        max-width:100%;
    }

    #asideleft {
        display: none;
    }

    #contentwrapper {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #newest-companies {
        margin-bottom: 0;
    }

    .places {
        margin-top: 20px;
    }

    .places .column {
        width: 100%;
        margin-top: 0;
    }

    .places ul {
        padding-bottom: 0;
        border-top: none;
    }

    .places li a {
        padding-left: 0;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .places li span {
        top: 3px;
    }

    #newest-companies li {
        padding: 5px 0;
        display: block;
    }

    #asideright {
        overflow: hidden;
    }

    #partners li {
        position: relative;
    }

    #partners li a {
        overflow: hidden;
        min-height: 39px;
    }

    #partners li img {
        position: absolute;
        left: 5px;
        top: 5px;
    }

    #partners span {
        width: 100%;
        padding-left: 35px;
        float: left;
        margin-top: 11px;
        margin-bottom: 11px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #map {
        padding-bottom: 65%;
    }

    .vcard .section .col {
        float: none;
        width: 100%;
    }

    .vcard .section .col table,
    .vcard .section .col tbody,
    .vcard .section .col tbody tr {
        width: 100%;
        display: block;
    }

    .vcard th {
        vertical-align: middle;
    }

    .vcard .section .col tbody tr {
        margin-bottom: 10px;
    }

    .companies li {
        position: relative;
    }

    .companies h3 {
        padding-right: 80px;
    }

    .companies h3 .distance {
        margin: 0;
        float: none;
        position: absolute;
        right: 0;
        top: 11px;
    }

    #footer {
        height: auto;
        overflow: hidden;
        margin-bottom: 0;
    }

    #footer p {
        display: block;
        font-size: 11px;
        margin-bottom: 7px;
        border-right: none;
        margin: 0;
        box-sizing: border-box;
    }

    #footer p:nth-child(1) {
        width: 50%;
    }

    #footer p:nth-child(2) {
        width: 50%;
        float: right;
        text-align: right;
    }

    #footer p:last-of-type {
        width: 100%;
        margin-top: 7px;
        margin-bottom: 0;
    }
}