@font-face {
font-family: 'AlfaSlabOne Regular';
src: url('../fonts/AlfaSlabOne-Regular.ttf')  format('truetype') ;
}

@font-face {
font-family: 'SourceSansPro Bold';
src: url('../fonts/SourceSansPro-Bold.ttf')  format('truetype') ;
}

@font-face {
font-family: 'SourceSansPro Light';
src: url('../fonts/SourceSansPro-Light.ttf')  format('truetype') ;
}

@font-face {
font-family: 'SourceSansPro Regular';
src: url('../fonts/SourceSansPro-Regular.ttf')  format('truetype') ;
}

@font-face {
font-family: 'SourceSansPro Black';
src: url('../fonts/SourceSansPro-Black.ttf')  format('truetype') ;
}


.form-control  { border: 1px solid rgba(0, 0, 0, .2); }
.mAuto { margin: 0 auto; }
.sidenavi ul li a:before , .scrolltop a:after,
.mainnavi ul.level_1 > li.submenu a:after,
footer#footer  ul li a:before,
p.footerIcons a:after, .p.icons a:after,
header#header .socials-top a,
.mod_calendar table.calendar td.days .event:before ,
.ui-accordion-icons:after ,
p.recurring:before,
p.location:before,
.button-2:after
{font-family: 'FontAwesome'; }

p.footerIcons a:after, p.socialIcons a:after, p.icons a:after {
        display: inline-block;
        color: #fff;
        margin: 0 10px;
        font-size: 18px;
        transition: all 0.5s ease 0s;
        -moz-transition: all .5s;
        -webkit-transition: all .5s;
        transition: all .5s;
}

.footer-yt:after, .icons-yt:after {
        content: "\f16a";
}

.footer-gp:after, .icons-gp:after {
        content: "\f0d5";
}

.footer-tw:after, .icons-tw:after {
        content: "\f099";
}

.footer-fb:after, .icons-fb:after {
        content: "\f09a";
}

.footer-inst:after, .icons-inst:after {
        content: "\f16d";
}

.button-2:after {
	content: "\f061";
	font-size: 12px;
	padding-left: 8px;
}

.button-2:hover:after  { padding-left: 12px; }

p.footerIcons em, p.socialIcons em, p.teamIcons em, p.icons em {
        display: none;
}


body, .mobilenavi { font-family: 'SourceSansPro Regular', serif; color: rgba(0,0,0,0.6); }
#main .ce_text p  { line-height: 1.5; }

/* font-styles */

h1 {
        font-size: 36px;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-family: 'AlfaSlabOne Regular', serif;
}

h2 {
        font-size: 30px;
        margin-bottom: 8px;
        font-family: 'SourceSansPro Bold', serif;
        text-transform: uppercase;
}

h3 {
        font-size: 23px;
        margin-bottom: 8px;
        font-family: 'SourceSansPro Bold', serif;
        text-transform: uppercase;
}

h4 {
        font-size: 15px;
        margin-bottom: 8px;
        font-family: 'SourceSansPro Bold', serif;
        text-transform: uppercase;
}

h5 {
        font-size: 15px;
        margin-bottom: 8px;
}

/* button */
.btn, p.more a, p.back a, .submit {
        border-radius: 0;
        color: #fff;
        padding: 10px 23px;
        margin-top: 27px;
        font-size: 14px;
        font-family: 'SourceSansPro Bold', serif;
        text-transform: uppercase;
}

.recurring, .location {
        font-size: 15px !important;
}

.submit {
        border: none;
        cursor: pointer;
}



/* topbar */
.topbar p, .topbar a, .topbar .fa {
	color: rgba(255,255,255,0.6);
	font-size: 14px;
}

.topbar-top { background: #121212; }

.topbar .fa {
        position: absolute;
        font-size: 44px;
}



.topbar .first  .fa-padding {   padding-left: 40px; }
.topbar .last .fa-padding {   padding-right: 15px; }

.bangb1 .topbar .container {
        border-top: 1px solid rgba(255,255,255,0.1);
        padding: 30px 15px;
}


.fixedTop {    width: 100%; }


/* slider */
.slider-control .slider-menu b {
        color: #fff;
}

.mod_article .slider-control { width: 100%; }

.bgStyle {
	padding: 0;
	min-height: 70vh;
	display: flex;
	align-items: center;
}

.bgStyle h1 {
        font-size: 70px;
}

.bgStyle h1,
.bgStyle h2,
.bgStyle h3,
.bgStyle h4,
.bgStyle p {
         color: #fff;
}


.slider-bg {
        background: rgba(255,255,225,0.2);
        padding: 23px 45px;
}



/* footer */
footer#footer h1, footer#footer h2, footer#footer h3, footer#footer h4 { color: #fff; }
footer#footer  ul { margin: 10px 0 0 ; padding:0; list-style-type: none;}
footer#footer  ul li a { display: block; }

header#header .socials-top a { margin: 0 5px; }
header#header .socials-top a.footer-yt:before {content:"\f166 ";}
header#header .socials-top a.footer-gp:before {content:"\f0d5 ";}
header#header .socials-top a.footer-tw:before {content:"\f081 ";}
header#header .socials-top a.footer-fb:before {content:"\f082 ";}
header#header .socials-top a em { display: none; }

#footer .submit:hover { background: #fff; }

/* copyright */

.top-links ul { margin:0; padding:0; list-style:none; text-align:right; }
.top-links ul li { display: inline-block; }
.top-links ul li a { display: block; padding: 0 2px; }



/* MAINNAVI */
.mainnavi ul.level_2, .mainnavi ul.level_3 {
        width: 207px;
        padding: 11px;
        text-align: left;
        text-transform: uppercase!important;
}

.mainnavi ul.level_1 li > a,
.mainnavi ul.level_1 > li > a, .mainnavi ul.level_1 li strong {
        display: block;
        text-transform: none;
        font-size: 15px;
        font-family: 'SourceSansPro Bold', serif;
        font-weight: normal;
        text-transform: uppercase!important;
}

/*.mainnavi ul.level_1 > li > a,
.mainnavi ul.level_1 > li > strong { text-transform: uppercase; font-size: 18px; } */


/*--- events  --*/

.mod_eventlist .teaser { max-height: 80px; overflow: hidden; }


/*---- news  ----*/
.mod_newslist figure.image_container {    margin-right: 15px; }

/*--- accordeon ---*/
.ui-accordion-content {
    background: #e7e7e7;
    padding: 10px;
    margin-bottom: 10px;
}

/*--- contact -----*/
.contact-icons h3 { position: relative; }
.contact-icons em { position: absolute; left: -28px; top: 5px; font-size: 80%;}

/*---- downloads ---*/
.download-element {    /* padding: 3px 6px 3px 22px; */
    background-size: contain;
    width: 50px;
    height: 50px;
    display: block;
    margin: auto;
}

.sidenavi  ul{ padding: 0; }
.sidenavi ul li { }
.sidenavi ul li a, .sidenavi ul li strong { display: block; border-bottom: 1px solid rgba(0, 0, 0, .125)}
/*
.sidenavi ul li a:before  {
    content: "\f054";
    padding-right: 10px;
    font-size: 10px;

}
*/

.absolute-pic {
        position: absolute;
        top: -19%;
        right: 45%;
}

.absolute-pic img {
        -webkit-filter: drop-shadow(-1px 6px 17px #606060);
        filter: drop-shadow(-1px 6px 17px #606060);
}

.small-text {
        max-width: 715px;
        margin: 0 auto;
}


/*---- insideout ---*/
.InsideOut-dark .full-bg {
        padding: 90px 0;
}

.InsideOut-dark, .InsideOut, .InsideOut-nobg { position: relative; overflow: hidden; }

.InsideOut-dark h1, .InsideOut-nobg h1,
.InsideOut-dark h2, .InsideOut-nobg h2,
.InsideOut-dark h3, .InsideOut-nobg h3,
.InsideOut-dark h4, .InsideOut-nobg h4,
.InsideOut-dark h5, .InsideOut-nobg h5 {
         color: #fff;
}

.InsideOut-dark p, .InsideOut-dark td, .InsideOut-nobg p  {
         color: rgba(255,255,255,0.6);
}

.InsideOut-dark td {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 8px 0;
}

.InsideOut {
        padding: 70px 0;
}


/*---- news ---*/
.form-control, .layout_latest p.info, .news .info { border-radius: 0; }

.formbody label {
        display: inline-block;
        margin-bottom: .5rem;
        position: absolute;
        color: rgba(0,0,0,0.6);
        padding: 9px 14px;
        right: 0;
}

#lbl_notify_0 { padding: 0 9px; }

p.info { padding: 0; }

.newstxt a {
	font-size: 27px;
}


.layout_latest p.info, .news .info, .event p.info, .mod_eventlist div.header, .mod_eventlist .header, .mod_newsreader .info, .mod_eventreader .info {
	color: rgba(0,0,0,0.5);
	padding: 0;
	font-size: 16px;
	background: none;
	padding: 8px 18px;
	margin: 10px 0;
}

.layout_latest p.info { margin-top: 0; }

.startnews .teaser {
        overflow: hidden;
}

.newstxt h3 {
        line-height: 0.9;
        padding: 10px;
}

.newsitem time {
	font-size: 16px;
	font-family: 'SourceSansPro Bold', serif;
}

.newstxt a { font-family: 'SourceSansPro Black', serif; }

#main .ce_text p {
        line-height: 1.5;
        font-size: 15px;
}


.search .widget-submit {
        top: 1px;
        right: 1px;
        position: absolute;
}

.search .widget-submit .btn {
        margin: 0;
        padding: 6px 16px;
}

.mod_login .widget-submit {
        margin-top: 14px;
}


/*---- search ---*/
.mod_search .widget-submit {
        top: 1px;
        right: 1px;
        position: absolute;
}

.mod_search .fa {
        font-size: 23px;
}


/*---- newsletter ---*/
.newsletter input {
        padding: 10px;
        width: 100%;
        border: 1px solid rgba(0,0,0,0.1);
}

.newsletter .submit {
        position: absolute;
        right: 0;
        top: 0;
        margin: 0;
}

.mod_subscribe {
        margin-top: 12px;
}

/*---- main ---*/
.vp-center { display: block!important; }

.divider {
        margin-bottom: 20px;
        margin-top: 20px;
        z-index: 99;
}

#footer .divider {        background: rgba(255, 255, 255, .2);}
 .dark-bg {
        padding: 46px;
        position: absolute;
        top: 27%;
        left: 7%;
}

.ce_sliderStart {        position: initial;}

.content-slider, .slider-wrapper, .overlayContent {
	position: initial !important;
}

.pull-right {        float: right;}

.clients .fa {        color: #fff;}
.pricing-box h1 {         color: #fff;}
#main ul {        padding: 0; }

.no-gutters .overlayContent {
        position: relative;
        z-index: 4;
        padding: 5% 15%;
}

.submit .fa {        color: #fff;}
#footer .form-control, #footer .form-control:focus {        background: rgba(0,0,0,0.2);}
#footer label, #footer .form-control {  background: #fff !important; }
label:focus, .formbody label:focus { display: none!important;}
.newsitem img {        padding-bottom: 12px;}
.button-menu .fa {
        color: #000;
        font-size: 31px;
}

.ce_comments {        margin-top: 40px;}
.form-group {        margin-bottom: 19px;}

label.is_focused { font-size: 10px; right: -5px; top:-5px; opacity: 1; }


.pic-headline h2 {
        position: absolute;
        color: #fff;
        bottom: 6%;
        left: 13%;
        width: 60%;
}


.newsletter-padding {
        padding: 3%;
}

.ce_accordion .toggler {
        color: #fff;
        font-family: 'SourceSansPro Bold', serif;
        font-size: 17px;
}

.mod_faqlist a {
        font-size: 17px;
        font-family: 'SourceSansPro Bold', serif;
}


@media (max-width: 764px) {
.bgStyle h1 {
        font-size: 30px;
}
.pic-headline h2 {

        font-size: 2em;
}

.slider-bg {
        margin: 11% 0;
}
}

.mod_calendar .event a,
.mod_calendar .head a {
        color: rgba(0,0,0,0.6);
}

.team h4 {
        margin: 0;
}



.darkbg .banner-bg {
        border: none;
        background: #000;
        color: #f2f2f2;
        padding: 10px;
        font-size: 18px;
        border-radius: 5px;
        position: relative;
        box-sizing: border-box;
        transition: all 500ms ease;
}

.darkbg .banner-bg:before {
        content:'';
        position: absolute;
        top: 0px;
        right: 0px;
        width: 0px;
        height: 100%;
        background: rgba(0,0,0,0.8);
        border-radius: 5px;
        transition: all 2s ease;
}

.darkbg .banner-bg:hover:before {
        width: 100%;
}

.darkbg .banner-bg { background-size: cover; }

.mod_article { overflow: hidden; }

.mod_login .widget {
        position: relative;
}

.InsideOut-dark a,
.InsideOut-dark p,
.InsideOut-dark .fa,
header a,
.mainnavi li a,
.dark-bg p
{ color: rgba(255,255,255,0.7); }


.row {
    margin-right: 0px;
    margin-left: 0px;
}


.team p.footerIcons a:after { margin: 0 11px 0 0; }

.text-padding {
	padding: 40px !important;
}

.newshome .newsitem {
	padding: 55px 30px;
	min-height: 300px;
}

.slider-control {
	height: 60px;
	position: absolute;
	bottom: 10px;
}

.slider-control .slider-menu {
	font-size: 35px;
}

.mod-article .slider-control { width: 100%; }

.ce_sliderStart {
	display: flex;
	align-items: center;
}


.newshome .newsitem { background: #fff; }

.contact-padding {
	display: inline-block;
}

.scale .thumbnail .image_container {
	-webkit-transition: -webkit-transform .28s ease;
	transition: -webkit-transform .28s ease;
	transition: transform .28s ease;
	transition: transform .28s ease,-webkit-transform .28s ease;
	z-index: 4;
}

.scale .thumbnail .newsitem {
	-webkit-transition: -webkit-transform .28s ease;
	transition: -webkit-transform .28s ease;
	transition: transform .28s ease;
	transition: transform .28s ease,-webkit-transform .28s ease;
	z-index: 4;
}

.scale .thumbnail:hover .image_container, .scale .thumbnail .newsitem:hover {
	-webkit-transform: scale(1.13) translateZ(0);
	transform: scale(1.13) translateZ(0);
}


.top .container { position: relative; }

.top .pull-right {
	position: absolute;
	right: 0;
}


.top .top-links {
	padding: 26px;
}

.newsitem:hover a {
	color: #fff;
}

.newsitem:hover .layout_latest p.info { color: rgba(255,255,255,0.6); }

footer p, footer a {
	color: rgba(255,255,255,0.5);
	line-height: 1.5;
}

footer .info h1, footer .info h2, footer .info h3, footer .info h4, footer .info h5 {
	line-height: 2;
	margin-top: 15px;
}

.top { background: #212121; }

#main ul {
	list-style-type: unset;
}

#main .ce_gallery ul {
	list-style-type: none;
	margin-left: 0;
}

.thumbnail .image_container:after {
	content: '';
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	mix-blend-mode: lighten;
	background: #123460;
	opacity: 0;
	-webkit-transition: opacity .5s cubic-bezier(.22,1,.36,1);
	-o-transition: opacity .5s cubic-bezier(.22,1,.36,1);
	transition: opacity .5s cubic-bezier(.22,1,.36,1);
}

.thumbnail .image_container:hover:after { opacity: 1; }

.clients {
	background-image: url("../../files/tattoo/img/banner2.jpg");
	background-size: cover;
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media screen and (max-width: 1000px) {
.bgStyle {
	min-height: 600px;
} }

@media screen and (max-width: 600px) {
        .bgStyle {
                min-height: 353px;
        }

        .submenu .active {
                text-transform: uppercase!important;
        }

        .topbar .image_container {
                width: 70%;
        } 
}


/*** improvements contao 5 */
a:hover { text-decoration:none; }
.img-responsive { 
  width:100%;
  max-width:100% ;
  height: auto;
}

.flex-row {flex-direction: column!important; }

.bgStyle,
.banner-bg  { 
    width: 100%; 
}
.slider-control .slider-menu b { margin: 0 .4rem; }

.no-gutters .col, .no-gutters [class*=col-] {
    padding-right: 0;
    padding-left: 0;
}

/*---- downloads ---*/
.content-downloads ul { padding:0; list-style-type:none; }
.content-downloads li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-downloads  li a:before {
    content: "\f019 ";
    font-family: 'FontAwesome';
    font-size: 2rem;
    line-height: normal;
    display: block;
}
.media.right-socials { flex-direction: column; }


table.calendar tbody tr > td {
    background: #e7e7e7;
    position: relative;
    height: 150px;
    width: 15%;
    vertical-align: top;
}
table.calendar tbody tr > td.today .header {
    font-weight: bold;
}
table.calendar .empty { background:white }
table.calendar .weekend { background:#efefef }

.events {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mod_calendar .event a {
    text-align: left;
    padding: 5px;
    background: white;
    margin: 0.1rem 0;
    display: inline-block;
    font-size: .75rem;
}

.bgStyle { background-position: center ; }
.slider-wrapper, .content-slider .content-text { display: flex; align-items: stretch; }


.mainservice img { width:100% }
.blockInner { margin:20px 0 }
.hover-sh:hover .blockInner  {
  box-shadow: 0 0 20px rgba(31,38,47,.3);
}

.hover-img figure { overflow:hidden; }
.hover-img:hover img {
  transform: scale(1.1);
}

.socials-left  img { width:100% }
.socials-left .textInner {
  border-top: 5px solid #1C84C0;
  background-color: rgba(31,38,47,.1);
  padding: 10px 20px 20px 20px;
}

#main .rte ul { margin-left: 25px; list-style-type: disc; }
figure { margin:0 }

.fluid-margin {margin:  0 15px}

time.date {
    display: inline-block;
    font-size: .75rem;
    background: #efefef;
    padding: .2rem .5rem;
    border-radius: .1rem;
    color: #353535;
}


footer#footer .newsletter .widget { margin:0; }
footer#footer .newsletter .widget input.text { width:100% }
footer#footer .newsletter .widget button { border-radius:0 }
p.footerIcons.small {    font-size: .8rem; }
footer p:last-child {    margin-bottom: 0; }
#header .mainnavi li:last-child ul.level_2 {
    right: 0;
}

form textarea.form-control { height:140px } 

/* .overlayContent h1 { font-size:46px } */

.overlayContent h3,
.overlayContent h2 {
  text-transform: none;
  margin-top: 0;
  padding-top: 0;
}

ul.ce_gallery {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.comment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
.comment p { margin:0 }

.media, .media .media {margin: inherit; align-content: flex-start;}

#footer .devider { width:100% }
.media {    flex-wrap: wrap; }
.media h1 {    width: 100%; }

/* media img right */
.media--right figure {
    flex: 0 0 30%;
    order: 1;
}
.media--right .rte {
    flex: 1;
    margin-right: 1rem; 
}

/* media img left */
.media--left figure {
    flex: 0 0 30%;
}
.media--left .rte {
    flex: 1;
    margin-left: 1rem; 
}

.eventreader-eventlist {
    flex-direction: column;
    display: flex;
    align-items: flex-start;  
}



.blockInner2 { 
  border-radius: 6px 6px 0 0;
  margin: 10px;
  overflow: hidden;

  position:relative; 
  top: 0;
}
.blockInner2:hover {
  box-shadow: 0 4px 10px rgba(0,0,0, .3);
  top: -2px;

}

.textInner2 {
  padding: 1rem;
  
  background: #efefef;
}

ul.ce_gallery figure { margin:0 5px 5px 0; }

#main .content-downloads  ul,
#main nav.mod_customnav  ul { list-style-image:none; list-style-type:none; }