#nav a.socialmedia {
    padding: 6px 0 !important;
    font-size: 18px !important;
}

div.upper {
    float: right;
    padding: 13px 10px 0 0;
    font: 11px "Open Sans";
}

div.upper a, div.upper i {
    color: #999999;
}

div.upper a:hover, div.upper i:hover {
    color: #ffffff;
}

div.upper span.contactItemIcon {
    margin-top: -8px;
}

div.header-border {
    height: 70px;
    border-bottom: 0 solid #5E4C38;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .11);
    background: #182B58;
    background-size: cover;
    position: absolute;
    width: 100%;
    top: 0;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
}

div.instagram {
    position: absolute;
    top: 6px;
    right: 25px;
    font-size: 19px;

}

div.searchholder {
    position: relative;
    top: 6px;
    z-index: 100;
}

input.search {
    font: bold 10px/16px Arial;
    padding: 0 0 0 4px;
    width: 100px;
    height: 18px;
    min-height: 16px;
    border: solid 1px #bbb;
    background-color: #fff;
    color: #555;
    float: left;
    border-radius: 0;
    -webkit-appearance: none;
}

input.searchsubmit {
    font: bold 10px/16px Arial;
    padding: 0 0 0 0;
    width: 55px;
    height: 18px;
    border: none;
    background-color: #bbb;
    color: #fff;
    cursor: pointer;
    float: left;
    display: inline-table;
    border-radius: 0;
    text-shadow: 0 0 rgba(0, 0, 0, 0);
    -webkit-appearance: none;
}

input.searchsubmit:hover {
    background-color: #777;
}

li.searchmenu {
    display: block;
}

a.logo:visited {
    color: #fff;
}

a.linksite {
    position: absolute;
    right: -93px;
    top: 200px;
    width: 210px;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 4px 10px;
    background: #f7f7f7;
    transform: rotate(90deg);
}

a.linksite img {
    width: 100%;
    display: block;
}

@media (max-width: 767px) {
    a.logo {
        display: block;
        width: 100%;
        max-width: 110px;
        position: absolute;

        margin: auto;
    }
}

@media (min-width: 767px) AND (max-width: 1200px) {
    header {
        height: 70px;
    }

    div.header-border {
        height: 104px;
    }

    .mainContent {
        padding: 130px 0 10px 0;
    }

    a.logo {
        display: block;
        width: 100%;
        max-width: 110px;
        position: absolute;
        left: 0;
        margin: auto;
    }

    #nav {
        right: 0;
        top: 62px;
        margin: auto;

    }

    div.instagram {
        top: 70px;
    }

}

@media (min-width: 767px) AND (max-width: 992px) {
    li.searchmenu {
        display: block;
        position: absolute;
        right: 15px;
        top: -55px;
    }
}

@media (max-width: 767px) {
    span.uppertext {
        display: none;
    }

    header {
        height: 62px;
    }

    div.lanholder {
        position: absolute;
        top: 0;
        right: 10px;
        z-index: 100;

    }

    div.headermenu {
        padding: 0;
    }

    li.searchmenu {
        display: block;
        height: 50px;
    }

    div.searchholder {
        position: relative;
        top: 20px;
        z-index: 100;
    }

    header {
        position: relative;
        top: 0;
        width: 100%;
        height: 70px;
    }

    div.header-border {
        height: 99px;

        position: absolute;
        width: 100%;
        top: 0;
    }

    div.instagram {
        top: 62px;
    }
}