@import url('https://fonts.googleapis.com/css?family=Lato');

body {
    font-family: 'Lato', sans-serif;
}

body a {
    /*color: #3c3c3b;*/
}

.navbar-collapse,
.navbar-bg {
    
}

#main-navbar {
    margin-bottom: 30px;
}

.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, .8);
}

.navbar-light .navbar-nav .nav-link:hover {
  color: rgba(0, 0, 0, .9);
}

.navbar-brand {
    margin-left: 55px;
}

.navbar-toggler {
    height: 50px;
    margin-top: 50px;
}

.brand {
    width: 100%;
}

.navbar-nav a {
    font-size: 1.5rem;
}

.dropdown-menu {
    border: 0;
}

.dropdown-item.active, .dropdown-item:active {
  color: rgba(0, 0, 0, .9);
  text-decoration: none;
  background-color: transparent;
}

.bgtopcont {
    position: relative;
}
/*
.navbar-bg {
    background: transparent url('/fileadmin/templates/img/bg_top_mob.png') no-repeat;
    position: absolute;
    height: 403px;
    width: 100%;
    background-size: contain;
}
*/

#logo {
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
}





ul.social {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-top: 80px;
    display: none;
}

ul.social li {
    margin: 0;
    padding: 0; 
    margin-bottom: 10px;
    margin-left: 3px;
}

.social-container {
    background: transparent url('/fileadmin/templates/img/drop.png') no-repeat;
    float: right;
    width: 35px;
    min-height: 56px;
    cursor: pointer;
}

.smalld {
    display: block;
}

.wided {
    display: none;
}

.news ul.list-unstyled,
.news .news-result ul {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}


.news .media {
    width: 320px;
    height: 300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px !important;
}

.news-result ul {
    padding: 0;
    margin: 0;
}

.news-result ul:after {
  display: block;
  content: " ";
  
}


.media .extra {
    width: 230px;
    height: 48px;
    background: transparent url('/fileadmin/templates/img/category.png') no-repeat;
    color: #fff;
    padding: 5px 0 0 10px;
    position: absolute;
    z-index: 4;
    margin: 0 auto;
}

.media .media-imgtxt {
    position: absolute;
    margin: 30px 9px 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 3;
}


.media .media-img {
    position: absolute;
    height: auto;
    
}

.media .media-body {
    padding: 15px 15px 15px;
    background: rgba(255,255,255,.7);
    position: absolute;
    z-index: 2;
    margin-top: 200px;
    width: 100%;
    height: 300px;
    -webkit-transition: margin-top 1s;
    transition: margin-top 1s;
}

.media .media-body a h3 {
    font-size: 20px;
}

.media .media-body a p {
    font-size: 16px;
    
}

.media .media-body:hover {
    margin-top: 0;
}


.contentAd {
    width: 310px;
    border: rgba(0, 0, 0, .5) 1px solid;
    padding: 5px;
    margin: 30px auto;
    height: 292px;
}

:not(#page-1) aside ul.list-unstyled:first-of-type {
    margin-bottom: 0;
}

.withmargin {
    margin-bottom: 30px;
}

.likebox,
.news_headerlist_cont {
    width: 300px;
}

.likebox,
.news_headerlist_cont {
    margin: 30px auto 0;
}

.footer {
    margin: 30px 15px 60px;
    font-size: 1.2rem;
}

.footer a {
    display: block;
    text-align: center;
    padding: 5px 0;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


.footerBg {
    padding: 100px 15px;
    background: transparent url('/fileadmin/templates/img/footer_milk_small.png') no-repeat;
}

.bcontainer {
    display: none;
}

@media (max-width: 320px) {
    .news .media {
        width: 300px;
        height: 217px;   
    }
    
    .media .media-body {
        height: 217px;
        margin-top:90px;
    }
    .navbar-brand img {
        width: 100% !important;
        height: auto !important;
    }
    
    a.navbar-brand {
        width: 70px !important;
    }
    
}

@media (min-width: 768px) {
    
    #page-1 aside {
        padding-left: 8px;
    }

    .navbar-bg {
       /* background: transparent url('/fileadmin/templates/img/bg_top.png') 0 100px; no-repeat;*/
    }

    .container > .navbar-header {
        margin-top: 25px;
    }
    
    .navbar-bg {
        
    }
    
    .dropdown-toggle:after {
        border: 0;
    }
    
    .brand {
        width: 100%;
        display: flex;
        position: relative;
    }

    .navbar-brand {
        margin: 0 auto;
    }
    

    .social-container {
        background-image: none;
        float: none;
        margin: 0;
        height: auto;
        min-height: auto;
        cursor: none;
    }
    
    ul.social {
        float: right;
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        margin: 0;
        margin-top: 5px;
        display: block;
    }

    ul.social li {
        float: left;
        margin: 0;
        margin-right: 30px; 
    }

    .smalld {
        display: none;
    }

    .wided {
        display: block;
    }

    .wided .form-control {
      height: 30px;
    }

    .wided .btn {
      padding: 6px 12px;
      font-size: 14px;
      line-height: 1.0;
    }


    .navbar-form {
      padding: 0;
    }
    
    .navbar-right {
        float: left !important;
    }


    .media .media-img {
       
    }
    .media .media-body {
        height: 293px;
    }
    
    .news .media {
        margin: 0;
        margin-bottom: 30px;
        width: 340px;
        height: 290px;
    }
    
    .news .media:nth-child(2n) {
        margin-right: 0;
    }
    
    .news .odd {
        margin-right: 2px;
    }
    
    ul li.media {
        
    }


    .navbar-nav {
      flex-direction: row;
    }    

    .dropdown-menu {
        display: block;
        border: 0;
    }

    .dropdown-item-25 {
        display: none !important;
    }

    .nav-item.dropdown {
        width: calc(20% - 15px);
        margin-right: 15px;
    }

    .nav-item.dropdown > a {
        border-bottom: #dcdcdc 2px solid;
        font-size: 1rem;
        font-weight: bold;
    }

    .nav-item.dropdown > a.active {
        border-bottom: #8a8a89 2px solid;
    }

    .dropdown-item {
      padding: 0.25rem 0rem;
      clear: both;
      font-size: 0.85rem;
      color: #212529;
      text-align: inherit;
      white-space: nowrap;
      background: none;
      border: 0;
    }

    .dropdown-submenu .dropdown-menu {
        margin: -0.5rem 0;
    }

    .navbar-collapse {
        max-width: 720px
    }

    .contentAd {
        width: 335px;
        padding: 5px 10px 0 12px;
        margin: 30px auto 0;
    }   
    
    .footerBg {
        background: transparent url('/fileadmin/templates/img/footer_milk_big.png') no-repeat;
    }
    
    #page-1 aside .tx-registeraddress {
        margin-top: 30px;
    }
    
    #page-1 aside .fb_iframe_widget,
    .likebox {
        margin: 30px 0 30px 0;
        height: 214px;
    }
    
    #page-1 aside .news {
        margin-left: -9px;
    }
    
   
    .tx-rssdisplay {
    }

}

@media (min-width: 992px ) {
    
    .bcontainer {
        margin-bottom: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-collapse {
        max-width: 960px
    }
    
    aside.col-lg-4 {
        width: 320px !important;
    }

    .media .media-img {
        
    }
    .media .media-body {
        height: 293px;
    }
    .news .media {
        width: 290px;
        height: 245px;
    }
 
    .media .media-body {
        height: 293px;
        margin-top: 145px;
        font-size: 90%;
    }
    
    .media .media-body h5 a {
        font-size: 90%;
        
    }
    aside .media {
        margin-right: 0;
    }

    .contentAd {
        width: 340px;
        border: rgba(0, 0, 0, .5) 1px solid;
        padding: 5px 17px;
        height: 292px;
        margin: 0;
    }
    

    .news_headerlist_cont {
        margin: 30px 0;
    }
    

}

@media (min-width: 1200px) {

    .navbar-collapse {
        max-width: 1140px
    }

    .news .media {
        width: 363px;
        height: 293px;
    }

    .media .media-body {
        height: 293px;
        margin-top: 200px;
        font-size: 100%;
    }
    
    .media .media-body h5 a {
        font-size: 100%;
        
    }

}
