/*
/   name           Favourite
/   version        4.2
/   description    Responsive and customizable Joomla!3 template
/   demo           http://demo.favthemes.com/favourite
/   author         FavThemes
/   author URL     https://www.favthemes.com
/   copyright      Copyright (C) 2012-2018 FavThemes.com. All Rights Reserved.
/   license        Licensed under GNU/GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
*/

/*//////////////////////////////////////////////////////////////////////////////
///
///  custom style
///
//////////////////////////////////////////////////////////////////////////////*/

/* by Marvin */

.favbody_sonnenstadt #fav-containerwrap{
  overflow-x: hidden;
}

.favbody_sonnenstadt #fav-main {
  font-size: 20px;
}

.favbody_sonnenstadt #banner {
  /*background-image: url('/images/images/sonnenstadt/Banner_large.jpeg');
  background-size: 100%;
  width: 100%;
  height: 49vw;*/
  width: 100% !important;
  max-width: 100%;
  position: relative;
  display: table;
  /*justify-content: center;
  align-items: center;*/
}

.favbody_sonnenstadt #banner::before {
  width: inherit;
}

.favbody_sonnenstadt #bannerbox {
  color: white;
  background-color: rgba(51,51,51,.75);
  padding: 0 1rem;
  margin: 0 auto;
  float: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.favbody_sonnenstadt #bannerbox_content {
  max-height: 100%;
  overflow: hidden;
}
.favbody_sonnenstadt #bannerbox_content h1 {
  font-size: 25px !important;
}
.favbody_sonnenstadt .bannerbox_sep{
  height: 0;
}

@media only screen and (min-width: 576px) {
  .favbody_sonnenstadt #bannerbox {
    padding: 0 2rem;
  }
  .favbody_sonnenstadt #bannerbox_content h1 {
    font-size: 30px !important;
  }
}

@media only screen and (min-width: 620px) {

  .favbody_sonnenstadt #bannerbox {
    width: 75% !important;
    bottom: 10%;
    padding: 2rem;
    display: table-cell;
    /*left: auto;
    right: auto;*/
    top: auto;
  }

}

@media only screen and (min-width: 720px) {
  .favbody_sonnenstadt #bannerbox {
    width: 50% !important;
  }
}

@media only screen and (min-width: 1110px) {
  .favbody_sonnenstadt #bannerbox {
    width: 37% !important;
    max-width: 560px;
  }
  .favbody_sonnenstadt .bannerbox_sep{
    height: auto;
  }
}


.favbody_sonnenstadt #bannerbox_content {
  max-height: 100%;
  overflow: hidden;
}

.favbody_sonnenstadt .page-header {
  visibility: hidden;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

.favbody_sonnenstadt #fav-sidebar2 {
  visibility: hidden;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

.favbody_sonnenstadt #fav-mainwrap {
  padding: 0 !important;
  margin: 0;
}

.favbody_sonnenstadt #fav-mainwrap .row-fluid {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.favbody_sonnenstadt #fav-maincontent {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

.favbody_sonnenstadt .textarea {
  font-size: 14px;
  margin: auto;
  padding: 45px;
  text-align: left;
}

.favbody_sonnenstadt .titlearea {
  font-size: 14px;
  margin: auto;
  padding: 45px 45px 0 45px;
  text-align: center;
}

.favbody_sonnenstadt .onecol {
  max-width: 800px;
  padding: 0 15px;
}

.favbody_sonnenstadt .twocol {
  padding: 15px;
  /*float: left;*/
  display: inline-block;
  text-align: left;
  max-width: 100%;
}

.favbody_sonnenstadt .thrdcol {
  padding: 15px;
  /*float: left;*/
  display: inline-block;
  max-width: 100%;
}

.favbody_sonnenstadt .quadcol {
  padding: 15px;
  /*float: left;*/
  display: inline-block;
  max-width: 100%;
}

@media only screen and (min-width: 900px) {
  .favbody_sonnenstadt .textarea {
    font-size: 18px;
  }
  .favbody_sonnenstadt .thrdcol {
    padding: 20px;
  }
  .favbody_sonnenstadt .quadcol {
    padding: 20px;
  }
  .favbody_sonnenstadt .twocol {
    padding: 20px;
  }
  .favbody_sonnenstadt .halfbox {
    padding: 20px !important;
  }
}

@media only screen and (min-width: 1000px) {
  .favbody_sonnenstadt .textarea {
    display: flex;
  	justify-content: center;
  }
  .favbody_sonnenstadt .thrdcol {
    width: 30%;
    max-width: 300px;
  }
  .favbody_sonnenstadt .quadcol {
    width: 18%;
    max-width: 300px;
  }
  .favbody_sonnenstadt .twocol {
    width: 45%;
    max-width: 450px;
    margin: auto 0;
  }
  .favbody_sonnenstadt .halfbox {
    display: inline-block !important;
    width: 45%;
    max-width: 400px !important;
    margin: 15px;
  }
}

.favbody_sonnenstadt .center {
  display: flex;
  justify-content: center;
  width: 100%;
}

.favbody_sonnenstadt .fullimg {
  width: 1100px;
  max-width: 100%;
  padding: 0 55px;
}

.favbody_sonnenstadt .heg_bg {
  background-color: rgb(0, 130, 130);
  color: white;
}

.favbody_sonnenstadt .lgrey_bg {
  background-color: rgb(233, 235, 236);
}

.favbody_sonnenstadt .lime_bg {
  background-color: rgb(153, 204, 51);
  color: white;
}

.favbody_sonnenstadt .hegtext {
  color: #028282;
}

.favbody_sonnenstadt .heg_icon {
  width: 100%;
  max-width: 500px;
}

.favbody_sonnenstadt .label_icon {
  height: 100%;
  max-height: 200px;
}

.favbody_sonnenstadt li::before {
  display: inline-block;
  width: 5px;
  padding-right: 5px !important;
}
.favbody_sonnenstadt li {
  padding-left: 10px;
  text-indent: -10px;
}
.favbody_sonnenstadt ul {
  padding-left: 15px;
}

.favbody_sonnenstadt .halfbox {
  border: 1px solid rgb(233, 235, 236);
  padding: 15px;
  display: block;
  max-width: 100%;
  vertical-align: top;
}

.favbody_sonnenstadt .headicon {
  border-radius: 500px;
  width: 100%;
  max-width: 300px;
}

.favbody_sonnenstadt .vidframe {
  width: 100%;
  padding: 10px;
  max-width: 1200px;
}

@media only screen and (min-width: 720px) {
  .favbody_sonnenstadt .vidframe {
    width: 80%;
    padding: 50px;
  }
}

.favbody_sonnenstadt .separator {
  width: 80%;
  text-align: center;
  margin: 0 auto;
}