#header .logo img {margin:-44px 0 0 0;max-width:160px;}
.subpage #header .logo img {margin:-50px 0 0 0;width:140px;}
.subpage #header nav.main-nav {margin-top:10px;}

#header.header-scrolled .logo img {width:auto; margin-top:-15px;max-width:110px;}
 .subpage #header.header-scrolled .logo img.altlogo2 {width:auto; margin-top:-30px;max-width:110px;}
#header .logo img.altlogo2 {display: none;opacity: 0;transition: all .5s}
#header.header-scrolled .logo img.altlogo2, .subpage #header .logo img.altlogo2 {opacity:1; display: block;max-width:auto;}
#header.header-scrolled .logo img.altlogo1,  .subpage #header .logo img.altlogo1 {display: none;opacity: 0;}

@media (max-width: 1190px) {
 #header .logo img {width:80%;margin:-14px 0 0 0;}
 .subpage #header .logo img {margin-top:-30px;width:110px;}
  #header .logo img,   #header.header-scrolled .logo img  {width:80%;margin:-14px 0 0 0;}
  .subpage #main { margin-top: 70px;}
}
@media (max-width: 991px) {
.subpage .col-sm-12, .subpage .white, .subpage .white > .container, .subpage .white > .container .feature-item .col-lg-12, .subpage .col-lg-3.sidebar {padding:0;}
.sidebar {padding-bottom:2em;margin-left:0;margin-bottom:2em;}
.mainbar {margin-left:0;overflow:hidden;border-bottom:1px solid #999;margin-bottom:1em;}
}
@media (max-width: 576px) {
.drv, .dfv {width:70px;padding:.4em 1em .4em .6em}
.dfv {top: 150px;}
}
/*--------------------------------------------------------------
# TYPO & COLORS
--------------------------------------------------------------*/
body { font-family: "Roboto", sans-serif; }
h1,h2,h3,h4,h5,h6 {font-family: "Ubuntu", sans-serif;font-weight: 400;}
a {color: #065e77;}
a:focus {color:black;}
.back-to-top {background: #1bb1dc;color: #fff;}
.back-to-top i {color: #fff;}
#topbar .social-links a {color: #535074;}
.home #topbar .social-links a {color: #fff;}
#topbar .social-links a:hover {color: #1bb1dc;}
.subpage #header {background: rgba(255,255,255,1);}
.home #header {
background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
height:170px;
}
.home #header.header-scrolled {height:90px;}
#header a.logo, .home #header.header-scrolled a.logo {font-size: 1.5em;color:#444;font-family: "Ubuntu", sans-serif;}
.home #header a.logo {color:white;}
#header.header-scrolled,
#header.header-pages {background-color: #fff;box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);}
.subpage #header {box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);}
#header .logo h1 a, #header .logo h1 a:hover {color: #413e66;}
.fullimage .overlay {background-color: #333;}
.fullimage .bildspeltext p, .fullimage .bildspeltext a { color: #fff;}
.fullimage .bildspeltext p {font-weight: 400;font-size:1.75em;font-family: "Ubuntu", sans-serif;}
.fullimage .bildspeltext  h2 {line-height: 1;color: white; font-size:3.5em;font-weight:700;}
.fullimage .bildspeltext a.btn-theme {color: #000;background-color: #ffd900;font-weight: 700;font-size: 1.1em;text-transform: uppercase;font-family: "Ubuntu", sans-serif;font-weight: 400;letter-spacing: .15em;}
.breadcrumb-wrapper div.breadcrumb {font-weight:400;font-size: 14px;font-family: "Ubuntu", sans-serif;}
.breadcrumb-wrapper .home_link:after {color: #ccc;}
.rex-breadcrumb li:last-of-type a {color: #666}
.promo-more {border:1px solid #000; color: #000;}
.promo .feature-item:hover .promo-more {color:white !important; border-color: black !important;background: black;}
.promo-title {font-weight:700;}
.four_teaserblocks .teaserbox-small h3, .four_teaserblocks h3 {font-size:1em;font-weight: 500;}
.four_teaserblocks .teaserbox-small:hover h3, .four_teaserblocks .teaserbox-small:hover p {color:#009fde;}
.squareimg .imgtext {background: rgba(0,106,138,.25);}
.squareimg .imgtext2 {background: rgba(0,106,138,.25);}
.teaserbox-small:hover .squareimg .imgtext, .teaserbox-small:hover .squareimg .imgtext2 {background: rgba(255,255,255,.85);}
.squareimg .imgtext h3, .squareimg .imgtext2 h3 {color:white; text-transform: uppercase; font-weight: 700;}
.squareimg .imgtext h3.big, .squareimg .imgtext2 h3.big {font-size: 1.75em;}
.squareimg .imgtext2 h3.small, .squareimg .imgtext h3.small {font-size: 1.2em;}
 .promo.iconboxbg .container .row.feature-item .iconbox:hover { color:#1bb1dc;}
 .promo.iconboxbg i.fa {font-size: 2.15em;color:#1bb1dc;}
 .promo.iconboxbg .promo-title {font-weight: 700;font-size:1.1em;}
 .promo.iconboxbg p {color:#888;}
 .main-nav a, .home .header-scrolled .main-nav li.level_1 > a {color: #413e66;font-size: 14px;font-family: "Ubuntu", sans-serif;text-transform: uppercase;font-weight: 400;}
.home .main-nav a {color:#413e66;}
 .main-nav a:hover,.main-nav .active > a,.main-nav li:hover > a, .home .header-scrolled .main-nav .active > a {color: #1bb1dc;text-decoration: none;}
 .home .main-nav a:hover, .home main-nav .active > a, .home .main-nav li:hover > a {color:  #1bb1dc;}

.main-nav .drop-down div.submenu {border-top: 1px solid #999;}
#header .main-nav .drop-down div.submenu div.container h3 {font-size: 1.5em; border-bottom:1px solid #999;}
.main-nav .drop-down ul a {font-size: 16px;font-weight: 500;text-transform: none;color: #065e77;}
.main-nav ul.first li.drop-down ul.second a {font-size: 14px;font-weight: 400;color: #68858d;}
.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a,
.main-nav ul.first li.drop-down ul.second a:hover {color: #1bb1dc;}
.mobile-nav {background: rgba(40, 38, 70, 0.8);}
.mobile-nav li {border-bottom:1px solid rgba(207, 204, 255, 1)}
.mobile-nav li.drop-down ul {border-top:1px solid rgba(207, 204, 255, 1)}
.mobile-nav li:last-of-type {border-bottom: transparent}
.mobile-nav .drop-down ul {background: #fff;}
.mobile-nav .drop-down ul .drop-down ul {background: #f0f0f0;}
.mobile-nav ul.menu .drop-down .submenu ul.first li ul.second li {background: #efefef;}
.mobile-nav-toggle i {color: #065e77;}
.mobile-nav-overly {background: rgba(40, 38, 70, 0.8);}
.mobile-nav-active .mobile-nav-toggle i {color: #fff;}
.ham-bar1, .ham-bar2, .ham-bar3,body.scrolled .ham-bar1, body.scrolled .ham-bar2, body.scrolled .ham-bar3{background-color: #333;}
/* .home .ham-bar1,.home  .ham-bar2, .home .ham-bar3 {background-color: #fff;}*/
.sidebar ul.rex-navi1 > li > a {font-weight:700;}
.sidebar ul.rex-navi1 li a {font-size: 14px;font-family: "Ubuntu", sans-serif;font-weight: 400;}
.sidebar ul.rex-navi1 > li > a {font-weight:700;}
.sidebar ul.rex-navi1 > li.rex-current > a, .sidebar ul.rex-navi2 > li.rex-current > a {color:#888;}
.section-header h3 {font-size: 36px;color: #413e66;text-align: center;font-weight: 700;font-family: "Ubuntu", sans-serif;}
.section-header p {font-size: 15px;color: #535074;}
#footer {font-size: 14px;background: #fff;}
#footer .footer-top { background: #f5f8fd;}
#footer .footer-top .footer-info h3 {font-size: 34px;line-height: 1;font-family: "Ubuntu", sans-serif;color: #413e66;font-weight: 400;letter-spacing: 3px;text-transform: uppercase;}
#footer .footer-top .footer-info p {font-size: 13px;line-height: 24px;font-family: "Ubuntu", sans-serif;color: #535074;}
#footer .footer-top .social-links a {font-size: 18px;background: #1bb1dc;color: #fff;  line-height: 1;}
#footer .footer-top .social-links a:hover {background: #0a98c0;color: #fff;}
#footer .footer-top h4 {font-size: 14px;font-weight: bold;color: #413e66;text-transform: uppercase;}
#footer .footer-top .footer-links ul a {color: #696592;}
#footer .footer-top .footer-links ul a:hover {color: #1bb1dc;}
#footer .footer-top .footer-contact p {line-height: 26px;}
footer div.logo a {color:#333;font-family: 'Ubuntu', sans-serif;}
footer div.logo a img {max-width:300px;}


@media (max-width: 576px) {
.fullimage .bildspeltext p {font-size:1.35em;}
.fullimage .bildspeltext  h2 {font-size:2.5em;}
.squareimg .imgtext h3.big, .squareimg .imgtext2 h3.big {font-size: 1.25em;}
}






