
body {
    font: 400 16px/1.8 "Open Sans", sans-serif;
    color: #111111;
    background-color: #e5e7ea;
}

#back {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/img/background.jpg");
    background-position: top;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}
#contentarea {
    margin:0px auto;
    max-width: 1200px;
}
#contentscreen {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    margin:0px auto;
}
#back.scrolled {
    opacity: 0.2;
}

.box {
    margin: 10px;
    border: 1px solid gray;
    padding: 15px;
}

.onlymobile {
    display: none !important;
}



.onlymobile {
    display: none !important;
}

.logocontainer {
    margin: 20px;
    width: 25%;
    max-width: 270px;
    float: right;
    margin-top: -20px;
    margin-right: 80px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
    -moz-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
    box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
    background-color: white;
    padding: 15px;
    border-radius: 10px;
}


.logocontainerx {
   margin: 20px;
    margin-top: 20px;
    margin-right: 20px;
width: 20%;
max-width: 181px;
float: right;
margin-top: -39px;
margin-right: 100px;
-webkit-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
-moz-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);

    box-shadow: 0px 0px 11px 21px rgb(255, 255, 255);
background-color: white;
padding: 3px;
}

.logocontainer.scrolled {
    max-width: 215px;
    margin-top: -9px;
}

.navbar-default.scrolled {
    top: 5px;
}

strong, b, .bold {
    font-weight: 900;
}


#navbar {

}

.navbar-brand-logo {
    padding: 0px;
}

.navbar-brand-logo > img {
    height: auto;
    width: 100%;
}


a {
    color: #845a13;
}

p {
    margin-bottom: 15px;
}

h1 {
    display: none;
}

h2, h3, h4 {
    font-weight: 600;
    margin: 20px 0 30px 0;
    color: #111;
}

h2 {
    font-family: 'Open Sans', serif;
    font-weight: 700;
    font-size: 29px;
    margin-left: -10px;
    color: #845a13;
    margin-bottom: 10px;

}
h3 {
    font-family: 'Open Sans', serif;
    font-weight: 700;
    margin-bottom: 30px;
    margin-left: -10px;
    font-size: 23px;
    color: #845a13;
    margin-top: -5px;

}


.footerinfo {
    font-size: 13px;
    font-style: italic;
    margin-top: 10px;
}


.grayscale {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
}

.navbar-nav > li > a {
    color: #845a13 !important;
}

.navbar-nav > li > a:hover {
    font-weight: bold;
}

.firstcontainer .container h2 {
    margin-top: 20px;
}


.list-group-item:first-child {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.list-group-item:last-child {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}


.link_pdf {
    margin-bottom: 10px;
    padding-left: 50px;
    background-image: url("/img/icon_pdf.png");
    background-position: 10px 10px;
    background-repeat: no-repeat;
}

.open .dropdown-toggle {
    color: #FFFFFF;
    /*background-color: #845a13 !important;*/
}

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:focus, .navbar-default .navbar-nav > .open > a:hover {
    color: #FFFFFF;
}

.dropdown-menu li a {
    color: #000 !important;
}

.dropdown-menu li a:hover {
    background-color: #845a13 !important;
    color: white !important;
}

.dropdown-menu > li > a {
    white-space: normal !important;
}


ul.biglink {
    list-style-type: none !important;
    margin: 0px;
    padding: 0px;
}

ul.biglink a {
    display: block;
    background: url('/img/alphatier.png');
    padding: 8px;
    padding-left: 12px;
    margin-bottom: 10px;
}

ul.biglink li.active a {
    display: block;
    background-color: #CCCCCC;
    padding: 8px;
    padding-left: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}


ul.biglink li.active a::before {
    content: "";
    position: absolute;
    left: 0px;
    margin-top: 1px;

    display: block;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #845a13;
}


ul.biglink ul {
    list-style-type: none !important;
    margin: 0px;
    padding: 0px;
    margin-top: -9px;
}

ul.biglink ul li a {
    display: block;
    background-color: #EEEEEE !important;
    padding: 8px;
    padding-left: 12px;
    margin-bottom: 10px;
    font-weight: normal;
    padding-left: 25px !important;
}

ul.biglink ul li.active a {
    display: block;
    background-color: #CCCCCC !important;
    padding: 8px;
    padding-left: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

footer {
    margin-top: 45px;
    background-color: #bdbdbd;
    color: #222222;
    padding: 32px;
    border-top: 1px solid #222222;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
    -moz-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
    box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
}

footer .logocenter {
    max-width: 300px;
}

footer .logocenter img {
    width: 100%;
}

.fullpage {
    min-height: 750px;
    margin-bottom: 150px !important;
}

footer h2 {
    color: #222222;
    margin-bottom: 10px;
    font-size: 20px;
}


footer a {
    color: #222222;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

.form-control {
    border-radius: 0;
}

textarea {
    resize: none;
}

.bg-1 {
    background-color: darkslategray;
}

.bg-2 {
    background-color: yellowgreen;
}

.bg-3 {
    background-color: darkolivegreen;
}

.bg-gray {
    background: url('/img/alphatier2.png');
    color: white !important;
}

.bg-gray a {
    color: white !important;
}

.bg-white {
    background: url('/img/alphatier.png');
}

.pointer {
    cursor: pointer;
}

.bg-white-shadow {
    background-color: #FFFFFF;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
    -moz-box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
    box-shadow: 0px 0px 5px 0px rgba(161, 159, 161, 0.52);
}

.picsmall {
    height: 190px;
    height: 230px;
    overflow: hidden;
}

.hidden2 {
    display: none;
}

.marker {
    padding: 4px;
    border: 1px solid black;
    background-color: white;
}

.marked {

    background-color: #845a13;
}

.pic img,
.picsmall img {
    width: 100%;
    height: auto;
}

.picsmall2 {
    height: 370px;
    overflow: hidden;
    background-color: #eeeeee;
}

.picsmall2 img {
    width: 100%;
}

.navbar-default {
    top: 55px;
    height: 50px;
    /*background-color: #ffffff;*/
    background: url('/img/alphatier.png');
}



a.blocklink {
    display: block;
    text-decoration: none;
}

a.blocklink:hover {
    text-decoration: none;
}

.w100pc {
    width: 100%;
}

.w90pc {

}

.col {
    color: white;
}

.fb {
    float: left;
    width: 10%;
    margin-right: 20px;
}

.font-white {
    color: white;
}

.kooppic {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kooppic img {
    max-width: 90% !important;;
    max-height: 150px !important;;
    margin: 0px auto !important;
    height: auto;
    width: auto;
}

.kooppic .img-responsive {


}


.thumbnail {
    padding: 15px;
    border: none;
    border-radius: 0;
    height: 120px;
}

.thumbnail h2 {
    text-align: right;
    font-size: 27px;
    margin: 0px;
    padding: 0px;
}

.thumbnail p {
    margin-top: 15px;
    color: #555;
}

.parallax-container {
    height: 400px;
    width: 100%;
}

.padding5 {
    padding: 5px;
}

.padding10 {
    padding: 10px;
}

.padding20 {
    padding: 20px;
}

.padding40 {
    padding: 40px;
}

.padding60 {
    padding: 60px;
}

.borderbreak {
    border-bottom: 1px solid #845a13;
    margin-top: 20px;
    padding-top: 20px;
    margin-bottom: 20px;
}


.container2 {
    margin: 0px auto;
    width: 1050px;
    padding: 15px 25px 15px 25px;
}

.container2 .row {
    margin-right: -40px;
    margin-left: -40px;
}

.container3 {
    margin: 0px auto;
    padding: 15px 25px 15px 25px;
}

#welcometext {
    position: absolute;
    bottom: 275px;
    font-size: 17px;
    width: 75%;
    color: black;
    padding: 30px;
    display: inline;
    float: left;
    line-height: 1.2;
    background-image: url("/img/alphatier.png");
    background-repeat: repeat;
    min-width: 340px;
    border-radius: 10px;
}

#welcometext.topsize {
    bottom: auto;
    top: 180px;
}

.whitebox {
    padding: 10px;
    background-image: url("/img/alphatier2.png");
    background-repeat: repeat;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 10px;
}

.whitebox img {
    border-radius: 10px;
}

.whitebox h3 {
    margin-left: 0px;
    margin-top: 0px;
}
.whitebox h4 {
    font-weight: 400;
    margin-left: 0px;
    margin-top: 0px;
    padding: 0px;
    font-size: 16px;
    margin-bottom: 5px;
}

#welcometext h2 {
    margin: -3px 0px 20px -10px;
}

.parallax-container .container p.bold {
    font-size: 30px;
    color: white;
    font-weight: bold;
    letter-spacing: 0px;
    margin: 0px;
    padding: 0px;

}

.parallax-container .container p.bold span {
    font-size: 65px;
}

.parallax-container .container p {
    font-size: 25px;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    padding-top: 30px;
}

.parallax-mirror {
    min-height: 600px;
}

@media (max-width: 767px) {
    .navbar-brand {
        height: 70px !important;
    }

    .parallax-container .container h2 {
        font-size: 55px !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        height: 60px !important;
    }

    .parallax-container .container h2 {
        font-size: 45px !important;
    }
}

.margin-top {
    margin-top: 50px;
}

.margin-top-small {
    margin-top: 25px;
}

.margin-bottom {
    margin-bottom: 50px;
}

.margin-bottom-small {
    margin-bottom: 25px;
}

.margin {
    margin: 15px;
}

.padding {
    padding: 15px;
}

.padding_lr {
    padding: 0px 15px 0px 15px;
}


.nomargin {
    margin: 0px;
}

.nomargin-top {
    margin-top: 0px;
}

.nopadding {
    padding: 0px;
}

.nopadding-top {
    padding-top: 0px;
}

div.pullup {
    margin-top: -150px;
}

.bgheader {
    background-image: url("../img/paralax.jpg");
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: cover;
    height: 450px;
    margin-top: 130px;
}

.bgheader3 {
    background-image: url("../img/paralax.jpg");
    background-repeat: no-repeat;
    background-position: 0px 100%;
    background-size: cover;
    height: 450px;
    margin-top: 130px;
}

.bgheader2 {
    background-image: url("../img/paralax.jpg");
    background-repeat: no-repeat;
    background-position: 0px 50%;
    background-size: cover;
    height: 450px;
    margin-top: 130px;
}

.bgheader_aboutus {
    background-image: url("../img/paralax.jpg");
    background-repeat: no-repeat;
    background-position: 0px 50%;
    background-size: cover;
    min-height: 530px;
    padding-bottom: 15px;
}


h2.smallpadding,
h3.smallpadding,
h4.smallpadding,
h5.smallpadding,
h6.smallpadding {
    margin-top: 0px;
    margin-bottom: 10px;
}

.firstcontainer {
    margin-top: -200px;
}

.employeebox_picture {
    margin: 0px auto;
    margin-top: -450px;
    height: 450px;
    overflow: hidden;
    margin-bottom: 40px;
    width: 1000px;
    max-width: 95%;
}

.employeebox_picture img {
    position: absolute;
    left: 50%;
    margin-left: -100px;
    height: 400px;
    width: auto;
    margin-top: 50px;
}

.employeebox_picture h2 {
    margin-left: 25px;
    margin-top: 175px;
}

.footerlinks {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.footerlinks li {
    padding: 3px;
    margin-bottom: 10px;
}

.footerlinks li ul {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 1;
    display: block;
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 3px;
}


.footerlinks li {
    margin: 0;
    position: relative;
    padding-left: 20px;
    margin-bottom: 11px;
}

*, ::after, ::before {
    box-sizing: border-box;
}

.footerlinks li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    display: block;
    width: 4px;
    height: 4px;
    background-color: #AAAAAA;
}

.footerlinks li ul li {
    padding: 3px;
    padding-left: 15px;
    margin-bottom: 0px;
}

.footerlinks li ul li a {
    font-size: 12px;
}

.fullbg {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    margin-left: 15px;
    margin-right: 15px;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.fullbox {
    background-color: #EFEFEF;;
    margin-top: 25px;
    margin-bottom: 25px;
}

.innerpadding {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 10px;
}

.padding-left {
    padding-left: 15px;
}

.padding-top {
    padding-top: 15px;
}

.border-bottom {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eeeeee;
}

.border-top {
    padding-top: 25px;
    margin-top: 25px;
    border-top: 1px solid #eeeeee;
}


ol li {
    padding: 10px;
}


ol li ul {
    padding: 0;
}

ol li ul li {
    padding: 0;
}


ul {
    list-style: none;
    margin: 0;
    margin-bottom: 0px;
    padding: 0;

}

*, ::after, ::before {
    box-sizing: border-box;
}

ul.list li {
    margin: 0;
    position: relative;
    padding-left: 20px;
    margin-bottom: 11px;
    margin-left: 10px;
}

ul.list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 9px;
    display: block;
    width: 6px;
    height: 6px;
    background-color: #333333;
}

ul.list li {
    hyphens: auto;
    -moz-hyphens: inherit;
}


ul.list2 li {
    margin: 0;
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    margin-left: 10px;
}

ul.list2 li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    display: block;
    width: 6px;
    height: 6px;
    background-color: #333333;
}

ul.list3 li {
    margin: 0;
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    padding-bottom: 5px;
    margin-left: 10px;
    border-bottom: 1px solid lightblue;
}

ul.list3 li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    display: block;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
}

ul.list3 li {
    hyphens: auto;
    -moz-hyphens: inherit;
}

ul.list3 li a {
    color: white;
}


ul.small {
    font: 400 14px/1.6 "Open Sans", sans-serif;
}

ul.smaller {
    font: 400 13px/1.5 "Open Sans", sans-serif;
}

.news h3 {
    color: #f1b135;
}

h3.beraterheader {
    min-height: 60px;
    margin-bottom: 0px !important;
}

.news a {
    text-decoration: none;
    color: #222222;
}


#topnav {
    display: block;
    position: fixed;
    z-Index: 2030;
    top: 20px;
    left: 50%;
    width: 585px;
    list-style-type: none !important;
    text-align: right;
}

#topnav ul {
    display: inline-block;
}

#topnav li {
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
    height: 20px;
    float: left;
    border-right: 1px solid gray;
}

#topnav li:last-child {
    border-right: none;
}

#topnav li a {
    color: #444444;
    font-weight: normal;
    text-decoration: none;
}

#topnav li a:hover {
    font-weight: bold;
}

.clear {
    clear: both;
}


.flexbox div.col-md-4 {
    height: 200px;
    float: none;
    display: inline-block;
    vertical-align: middle;
    margin-right: -4px;
}

/* to center flex-items */
.flex-item {
    margin: auto;
}

div.img-responsive img {
    display: block;
    max-width: 100%;
    height: auto;
}

.blocksatz {
    text-align: justify;
}

.dropdown-menu {
    font-size: 15px;
}


.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: #845a13;
    border-color: #845a13;
}

.pagination > li > a, .pagination > li > span {
    color: #845a13;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    background-color: #845a13 !important;
    color: white !important;
}


.scroll {
    width: 100px;
    height: 60px;
    position: absolute;
    left: 50%;
    margin-left: -50px;
    margin-top: -30px;

    cursor: pointer;
    text-align: center;
    line-height: 0.7;

}

.scroll i {
    border: solid #333333;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 8px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-top: -7px;
}


.bounce {
    animation: bounce 3s infinite;
}

.coloring {
    animation: coloring 3s infinite;
}


@keyframes coloring {
    0%, 20%, 50%, 80%, 100% {
        border-color: #333333;
    }
    60% {
        border-color: #AAAAAA;
    }
}

@keyframes bounce {

    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    60% {
        transform: translateY(12px);
    }
}

@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

nav.navbar .container p {
    padding-top: 19px;
}


.img-responsive {
    margin: 0 auto;
}


.marginright {
    margin-right: 15px;
    margin-bottom: 15px;
}

.marginleft {
    margin-left: 15px;
    margin-bottom: 15px;
}


@media only screen and (max-width: 768px), only screen and (device-width: 375px) and (device-width: 667px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2), only screen and (device-width: 375px) and (device-width: 667px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2), only screen and (device-width: 414px) and (device-width: 736px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 3), only screen and (device-width: 414px) and (device-width: 736px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-width: 360px) and (max-device-width: 640px) and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-width: 413px) and (max-device-width: 415px), only screen and (min-device-width: 374px) and (max-device-width: 376px), only screen and (min-device-width: 359px) and (max-device-width: 361px), only screen and (min-device-width: 319px) and (max-device-width: 321px), only screen and (max-width: 415px), only screen and (device-width: 375px) and (device-width: 667px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2), only screen and (device-width: 375px) and (device-width: 667px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 2), only screen and (device-width: 414px) and (device-width: 736px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 3), only screen and (device-width: 414px) and (device-width: 736px) and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-width: 360px) and (max-device-width: 640px) and (-webkit-min-device-pixel-ratio: 3), only screen and (min-device-width: 413px) and (max-device-width: 415px), only screen and (min-device-width: 374px) and (max-device-width: 376px), only screen and (min-device-width: 359px) and (max-device-width: 361px), only screen and (min-device-width: 319px) and (max-device-width: 321px), only screen and (max-width: 415px) {
    .navbar-brand-logo > img {

        float: left;
        padding: 0px;
        padding-top: 0px;
        padding-right: 10px;
    }

    .navbar-fixed-top {
        top: 0px !important;
    }

    #navbar {
        padding-left: 10px !important;
        background: white;
    }


    .logocontainer, .logocontainer.scrolled {
        position: relative;
        margin: 0px;
        left: 0px;
        width: 250px;
        top: 0px;
        float: left;
        margin-top: 0px !important;
               -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
        border-radius: 10px;
    }

    nav.navbar .container p {
        padding-top: 10px;
        font-size: 13px;
    }


    .navbar-header {
        background-color: white;
    }



    .row-eq-height {
        display: block;
    }

    .margin {
        margin-left: 0px;
        margin-right: 0px;
    }

    .bgheader {
        margin-top: 20px;
        height: 150px;
    }

    .firstcontainer {
        margin-top: 0px;
    }

    .navbar-fixed-top {
        top: 20px;
    }


    .parallax-container .container p.bold {
        font-size: 25px !important;
    }

    .parallax-container .container p.bold span {
        font-size: 32px !important;
    }

    .parallax-container .container p {
        font-size: 20px !important;
    }

    h2 {
        font-size: 30px !important;
    }


    .marginright {
        margin: 15px;
    }

    .marginleft {
        margin: 15px;
    }


    .mobilemax {
        float: none;
        width: 100%;
        box-sizing: border-box;
        margin-top: 10px;
        margin-bottom: 10px;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }


    .mobilemax img {
        width: 100% !important;
        height: auto !important;
    }

    .mobile50 img {
        width: 50%;
        height: auto;
    }

    .mobile75 img {
        width: 75%;
        height: auto;
    }

    .mobile25 img {
        width: 25%;
        height: auto;
    }

    #topnav {
        display: none !important;
    }

    .navbar-default {
        border-top: 0 !important;
        border-bottom: 2px solid #845a13;
    }


    .onlymobile {
        display: block !important;
    }


    .mobilehide {
        display: none !important;
    }



}


/* Only Ipad */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait) {

    #topnav {
        width: 400px !important;
        background-color: transparent;
        right: 28px;
        top: 5px;
        display: inherit !important;
        left: auto;
    }

    #topnav li {
        padding-left: 10px;
        padding-right: 10px;
    }

    .navbar-nav > li > a {
        padding: 10px;
        font-size: 15px;
    }

    #navbar {
        margin-top: 15px;
        float: right;
        padding-top: 20px;
    }

    .navbar-brand-logo > img {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .bgheader {
        margin-top: 75px;
        height: 180px;
    }

    .bgheader2 {
        height: 230px;
        margin-top: 50px;
    }

    .onlymobile {
        display: none !important;
    }

    .logocontainer {
        margin-right: 0px !important;
    }

}
/* Only Ipad */
@media only screen
and (min-width: 650px)
and (max-width: 1224px) {

    .logocontainer {
        margin-top: -21px;
        margin-right: 0 !important;
    }
    #navbar {
        padding-left: 0 !important;
    }
}

.pull-right {
    padding-left: 5px;
}