/*
 Theme Name:   Legatus Premium Child Theme
 Theme URI:    http://legatus.orange-themes.com/
 Description:  Legatus Premium Wordpress Child Theme
 Author:       Orange Themes
 Author URI:   http://www.orange-themes.com/
 Template:     legatus-theme
 Version:      2.0.6
 Tags:
 Text Domain:  legatus-theme-child
*/

@import url("../legatus-theme/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */
#minical .topmonth {
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 12px;
}

#banner-top {
  background-color: #fff;
  margin: 0 auto !important;
  text-align: center;
  width: 100%;
  max-width: 1010px;
  height: auto;
}

#banner-top a img {
  width: 100% !important;
}

#banner-top #ftdiv1958333 {
  width: auto !important;
  height: auto !important;
  max-height: 90px !important;
}

/* widgetarea ads */
.panel.widget-5 .g {
  margin-bottom: 10px;
}

.rightsaidfred {
  width: 1410px;
  left: 50%;
  margin-left: -690px;
  position: absolute;
}

body.logged-in .rightsaidfred {
  top: 333px;
}

body .rightsaidfred {
  top: 301px;
}

.rightsaidfred .atv-banner {
  float: right;
  clear: right;
  width: 200px;
  z-index: 100000;
  margin-bottom: 15px;
}

.youareusingadblocker {
  display: none;
}

body.ABD_adblock .youareusingadblocker {
  display: block;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 1;
  position: fixed;
  z-index: 1000000;
  text-align: center;
  padding-top: 200px;
}

.page-pager span.page-numbers, .page-pager a.page-numbers:hover {
  background-color: #ff0000 ;
}

.shortcode-content p img[align="left"] {
  margin-right: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.shortcode-content p img[align="right"] {
  margin-left: 20px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.content-article-title {
  clear: both;
}

ul.menu li a i {
  display: none;
}

.wp_widget_plugin_box {
  min-height: 60px;
}

.ytc-promotion {
  display: none;
}

.shortcode-content iframe {
  max-width: 100%;
}

.slider-loading {
  display: none !important;
}

.slider-container {
  max-width: 680px;
}

.slider-container .slider-content {
  height: 365px;
  width: 100%;
}

.article-classic .article-photo,
.article-classic .article-photo .image-hover,
.article-classic .article-photo .image-hover span img  {
  max-width: 170px;
}

.set-image-border,
.set-image-border .setborder {
  width: 100%;
}

.ngg-gallery-thumbnail-box:nth-child(3n+1) {
  clear: both;
  float: left;
}

.article-photo-caption a,
.article-photo-caption a:hover {
  color: #fff;
}

h3, table.alignleft:after, .shortcode-content p {
  clear: left;
}

.slider-content > ul > li > a > span > img {
  width: 100%;
}

.ytc-pslb.ytc-thumbnails.container-fluid.ytc-thumb16x9.ytc-thumb-align-none {
  display: none !important;
}

/* SOCIAL MEDIA ICONS START */
.socialmediaicons a img {
  width: 28px;
  padding: 0 3px;
}
/* SOCIAL MEDIA ICONS END */


/* YOUTUBE VIDEO WITHOUT PLUGIN
span.ytkanallink {
    float: right;
}
*/

/* MOVE WHOLE PAGE TO THE LEFT BORDER INSTEAD OF CENTERING START */
/* WHOLE PAGE CONTENT START */
/*.wrapper {
  margin: 0px 5%;
}*/
/* WHOLE PAGE CONTENT END */
/* BANNER ABOVE WHOLE PAGE START */
/*#banner-top .banner-top {
  margin: 0 5% !important;
}*/
/* BANNER ABOVE WHOLE PAGE END */

/* BANNER RIGHT TO THE SITE CONTENT START */
/*.rightsaidfred {
  left: 32%;
}*/
/* BANNER RIGHT TO THE SITE CONTENT END */
/* MOVE WHOLE PAGE TO THE LEFT BORDER INSTEAD OF CENTERING END */

/* TOP RIGHT BANNER START */
.righttop.bannerslider .rslides {
  position: relative;
  list-style-type: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
}

.righttop.bannerslider .rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
}

.righttop.bannerslider .rslides li:first-child {
  position: relative;
  display: block;
  float: left;
}

.righttop.bannerslider .rslides li:not(:first-child) {
  display: none;
}

.righttop.bannerslider .rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
}
/* TOP RIGHT BANNER END */

/* RESPONSIVE */
.main-content-left {
  width: 67.35%;
}

.main-content-right {
  width: 30.65%;
  margin-left: 2%;
}

@media screen and (max-width: 1050px) {
  .rightsaidfred {
    display: none;
  }
  .wrapper {
    width: 98%;
  }
  .main-content-split {
    text-align: center;
  }
}

@media screen and (min-width: 1050px) {
  .header-middle .banner {
    width: 700px;
  }
}

@media only screen and (min-width: 971px) {
  .main-content-split {
    text-align: initial;
  }
}

@media only screen and (max-width: 970px) {
  .content .wrapper {
    width: 70%;
  }
  .main-content-left {
    width: 100%;
  }
  .header .logo-image {
    width: 32%;
  }
  .header .logo-image img {
    width: 100%;
  }
  .header .banner {
    width: 66%;
    margin-left: 2%;
    margin-top:0;
  }
}

@media only screen and (max-width: 600px) {
  .content .wrapper,
  .wrapper {
    width: 93%;
  }
  .article-classic .article-photo img  {
    max-width: 170px;
  }
  .main-content-left {
    width: 100%;
  }
  .header-middle .banner {
    display: block;
    width: 100%;
  }
  .header .logo-image,
  .header .logo-image img {
    width: auto;
  }
}

/* mobile ad banner frontpage and article (g-XX) */
.mobile_ad_frontpage,
.g-11 {
  display: none;
  width: 448px;
  margin: 0 auto 20px auto !important;
}

.mobile_ad_frontpage img,
.g-11 img {
  width: 100%;
}

@media only screen and (max-width: 600px) {
  .mobile_ad_frontpage,
  .g-11 {
    display: block;
  }
}

@media only screen and (max-width: 482px) {
  .mobile_ad_frontpage,
  .g-11 {
    width: 100%;
  }
}

/* table under map on e.g. "Händlerübersicht" */
#map_sidebar {
  float: left;
  margin: 2% 0;
}

gallery-thumb-boxes {
	height: 350px;
	overflow: auto;
	margin-right: 15px;
	position: relative;
	margin-bottom: 20px;
}
#gallery-box-sidebar-title {
	font-size: 18px;
	font-weight: bold;
	margin: 6px 0 10px;
}
.gallery-thumb-box {
	padding: 5px;
	border: 1px solid #eee;
	margin: 1%;
	width: 45%;
	float: left;
}

.gallery-thumb-box:nth-child(2n+1) {
	clear: left;
}

.gallery-thumb-image-wrapper {
	display: inline-block;
	vertical-align: middle;
}
.gallery-thumb-title {
	display: inline-block;
	vertical-align: middle;
	width: 102px;
	padding-right: 10px;
}