/* 

1. Add your custom Css styles below
2. Place the this code in your template: 

 <link href="css/custom.css" rel="stylesheet">

*/
#mainMenu nav > ul > li.mega-menu-item .mega-menu-content > a, #mainMenu nav > ul > li.mega-menu-item .mega-menu-content > span, #mainMenu nav > ul > li.mega-menu-item .mega-menu-content [class*="col-"] > ul > li > a {
  padding: 5px 0px 10px 0px;
}

a.ral-guep_1 { right: 15%;position: absolute; }
a.ral-guep_2 { right: 2%;position: absolute; }
a.ral-guep_1Mobil { right: 0;position:absolute;position: absolute;float: left; }
a.ral-guep_2Mobil { right: 0;position:absolute;float: left; }

#mainMenu nav > ul > li#ral-guep_mobil { display: none; }

.schrift_blocksatz { text-align: justify;padding-right: 4em; }

span.letter-guep {
  color: #009636 !important;
}
span.letter-ral {color: #ee7203!important;}

.TextMiddle {
  display: flex;
  align-items: center;
}

h5, .h5 {
  font-size: 1.3em;
}

/*
.ba-slider {
    position: relative;
    overflow: hidden;
}
 
.ba-slider img {
    width: 100%;
    display:block;
}
 
.resize {
    position: absolute;
    top:0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}


.handle { 
  position:absolute; 
  left:50%;
  top:0;
  bottom:0;
  width:4px;
  margin-left:-2px;
 
   color: white;
  background: linear-gradient( to bottom, red, transparent 50%, red 50%, red);
  background-size: 100% 20px;
  cursor: ew-resize;
}
 
.handle:after { 
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
 
     content:'\21d4';
    color:red;
    font-weight:normal;
    font-size:26px;
    text-align:center;
    line-height:44px;
 
    background: rgba(255,255,255,1); 
   
    border-radius: 50%;
    transition:all 0.3s ease;
    
}

.draggable:after {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    line-height:48px;
    font-size:30px;
}
*/

/* Portfolio */
.grid-active-title {
font-size: 2rem;
font-weight: 100;
opacity: 0.1;
position: absolute;
right: 0;
top: -6px;
}
.portfolio-item .portfolio-description, .portfolio-item .grid-description, .portfolio-item .portfolio-links, .grid-item .portfolio-description, .grid-item .grid-description, .grid-item .portfolio-links { text-align: left;}
a.pad-0 {margin: 3px 0 0 0!important;padding: 0;}
li.li-pad{padding: .5em 0;}
.portfolio-item.no-overlay .portfolio-description h3, .portfolio-item.no-overlay .grid-description h3, .grid-item.no-overlay .portfolio-description h3, .grid-item.no-overlay .grid-description h3 {  font-size: 14px; }


h4.card-title {line-height: 1.3em; font-weight: 500;}
.list-group-item_neu {position: relative;display: block;padding: .5rem 0 1.75em;margin-bottom: 2em;border-bottom: 1px solid rgba(0,0,0,.125); }
/* Iframe */
.mfp-iframe-scaler { padding-top: 100%; }
.mfp-iframe-holder .mfp-content { max-width: 1200px; }

h1.fontH1Desktop { display: block;}
h1.fontH1Mobile { display: none; }

#vita-box1      { order: 1; }
#vita-box2 { order: 2; }

img.IMG-Height {max-height: 476px;}


@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
	  a.ral-guep_1 { right: 17%;position: absolute; }
	  a.ral-guep_2 { right: 2%;position: absolute; }
	  .text-lg, .text-lg span, .text-lg span span { font-size: 30px;line-height: 34px; }
	  h2, .h2 { font-size: 1.5714286em;line-height: 1.36363636em; }
}
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1024px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 2) {
.ral-guep_1 { display: none; }
.ral-guep_2 { display: none; } 
}

@media (max-width: 992px) {
.text-lg, .text-lg span { font-size: 58px ; }
/* Nav */
#mainMenu:not(.menu-overlay) nav > ul > li .dropdown-menu { max-width: 100%; }
#mainMenu:not(.menu-overlay) nav > ul [class*="col-lg"] { width: 30%; max-width: 30%; min-width: 30%; }
#mainMenu:not(.menu-overlay) nav > ul > li.mega-menu-item .mega-menu-content .mega-menu-title a img{ margin-top: -2.1em; margin-bottom: -1em; }
/* .img-vita { width: auto;max-width: 25%; } */
.ral-guep_1 { display: none; }
.ral-guep_2 { display: none; }
img.IMG-Height {max-height: 379px;}
}

@media (max-width: 768px) { 
  li.mob-desk-nav-li { display: none; }
  #mainMenu:not(.menu-overlay) nav > ul [class*="col-lg"] { width: 100%; max-width: 100%; min-width: 100%;margin-left: -1em;margin-right: 1em; }
#topbar .top-menu {  margin-right: -1em; display: none;}
 .desk { display: none;  }
 .mob { display: block; }
  h1.fontH1Desktop { display: none;}
h1.fontH1Mobile { display: block;     margin: 10vh 0 -10vh 0;}
 span.mobil-kontakt { display: none;  }
.title-top { display: none; }
.ral-guep_1 { display: none; }
.ral-guep_2 { display: none; }
.card-body { min-height: auto; }
#page-title  {padding: 32px 0; }
#page-title .page-title > h1 {font-size: 24px; line-height: 34px;}
#mainMenu nav > ul > li#ral-guep_mobil { display: block; }
.schrift_blocksatz { padding-bottom:  2em;padding-right: 1em;}
.halfscreen { min-height: 40vh; }
.bild-klein-slide { max-width:50%; margin: 8em 2em 0 0; }
.text-lg, .text-lg span { font-size: 27px !important; line-height: 32px !important;-webkit-hyphens: auto; hyphens: auto; min-height: 8em;}
#topbar ~ #header[data-transparent="true"] + #slider, #topbar ~ #header[data-transparent="true"] + .fullscreen, #topbar ~ #header[data-transparent="true"] + .halfscreen, #topbar ~ #header[data-transparent="true"] + #google-map { top: -90px; margin-bottom: -90px;}
/* Vita */
.portrait-vita { max-width: 100%; }
#vita-box1      { order: 2; }
#vita-box2 { order: 1; }
/* Portfolio */
.grid-filter { display: none; }
.text-light h1 {
    font-size: 19px !important;
line-height: 22px !important;
}
.text-light h4 {
    font-size: .8em;
    line-height: 1.2em;
}
h2, .h2 {
    font-size: 1em;
    line-height: 1em;
}
.text-lg, .text-lg span {min-height: 5em;}
.text-middle { margin-top: 4em;}

img.IMG-Height {max-height: auto;}
}