@font-face {
    font-family: "Mistral";
    src: url("fonts/mistral-2.ttf") format('truetype') ;
}

a:active {
    outline: none;
}

.background {
    position: relative;
}

.background::before {
    background: url('img/massschneiderei-in-dresden-fingerhut-eingang2.jpg');
    background-size: cover;
    background-position: left;
    content: ' ';
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    will-change: transform;
    z-index: -5;
}

/*body, html {
    height: 100%;
}

.hero-unit{
    background-image: url("img/massschneiderei-in-dresden-fingerhut-eingang2.jpg");

    height: 100vh;

    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}*/

body section {
    padding-bottom: 5em;
    padding-top: 5em;
    margin-bottom: 0px;
    position: relative;
    background-color: white;
}

body h1 {
    text-align: center;
    margin-bottom: 1.5em;
    font-weight: 300;
    letter-spacing: 5px;
}

/*-------------------------------------------------------------HERO*/

#hero {
    background-color: rgba(255, 255, 255, 0);
    min-height: 100vh;
    padding-top: 0px;
}

.hero-unit {

}

.hero-unit::before {

}

.logo {
    text-align: center;
    font-family: "Mistral";
    padding-top: 18%;
    color: snow;
    font-size: 110px;
}

.wraper {
    /* height: 100px; */
    background-color: rgba(248, 80, 50, 0.8);
    display: initial;
    /* width: 700px; */
    height: 100vh;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 100%;
    padding-top: 100%;
}

/*---------------------------------------------------LEISTUNG_HEADER*/
#leistungen_section {
}

#img1 {
    background-image: url(img/icons_fingerhut/mas3.svg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
}

#img2 {
    background-image: url(img/icons_fingerhut/needle.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

#img3 {
    background-image: url(img/icons_fingerhut/curtains.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
}

#img4 {
    background-image: url(img/icons_fingerhut/tshirt2.svg);
    background-size: 75%;
    background-repeat: no-repeat;
    background-position: center;
}

.leistung_img {
    width: 100px;
    background: rgba(248, 80, 50, 0.8);
}

.leistung_img:hover {
    background: rgba(205, 65, 50, 0.97);
    border-radius: 100px;
    width: 120px;
    height: 120px;
    -webkit-transition: padding-bottom 300ms, width 300ms, height 300ms;
    /*safari*/
    transition: padding-bottom 300ms, width 300ms, height 300ms, background-color 300ms;
    transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    cursor: pointer;
}

.leistung h3 {
    text-align: center;
    font-weight: 300;
    font-size: 24px;
}

/*---------------------------------------------------LEISTUNG_DETALIERT*/

.leistung_detaliert {
    margin: 0;
    padding: 0;
    margin-top: 2.5em;
    padding-top: 1em;
}

.leistung_detaliert img {
    padding-left: 2.5em;
    padding-right: 2.5em;
}

#savedLeist2 img {
    width: 100%;
}

/*---------------------------------------------------LEISTUNG_ACCORDION*/

button.accordion {
    background: rgba(248, 80, 50, 0.8);
    color: #f5f5f5;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

button.accordion.active, button.accordion:hover {
    background: rgba(248, 80, 50, 1);
}

#panel1 {
    background: url('img/massschneiderei-dresden-fingerhut-6.jpg');
}

#panel2 {
    background: url('img/massschneiderei-in-dresden-fingerhut-8.jpg');
}

#panel3 {
    background: url('img/massschneiderei-in-dresden-fingerhut-4.jpg');
}

#panel4 {
    background: url('img/massschneiderei-in-dresden-fingerhut-siebdruck.jpg');
}

.accPanel {
    width: 100%;
    position: relative;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: none;
    height: 300px;
}

.accPanel p {
    color: #f5f5f5;
    position: absolute;
    bottom: 0;
    padding-left: 2em;
    padding-right: 2em;
}

.bcg {
    /*background-color: #2aabd2;*/
    height: 100%;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+100&0+39,0+39,0+47,0.65+95 */
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,000000+99&0+5,0+5,0+11,0+12,0+12,0+16,0+16,0+23,0+30,0.65+100 */
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0) 11%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 23%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.64) 99%, rgba(0, 0, 0, 0.65) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0) 11%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 23%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.64) 99%, rgba(0, 0, 0, 0.65) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 5%, rgba(0, 0, 0, 0) 11%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 23%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.64) 99%, rgba(0, 0, 0, 0.65) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0); /* IE6-9 */

}

/*------------------------------------------------------*/

/*-----------------------------------------------GALERIE*/
.carousel {
    margin-bottom: 0;
    padding: 0 40px 30px 40px;
}
/* The controlsy */
.preview-control{
	left: -12px;
    height: 40px;
	width: 40px;
    background: none repeat scroll 0 0 #222222;
    border: 4px solid #FFFFFF;
    border-radius: 23px 23px 23px 23px;
    margin-top: 100px;
}
.preview-control.right{
	right: -12px;
}
/* The indicators */
.carousel-indicators {
	right: 50%;
	top: auto;
	bottom: -10px;
	margin-right: -19px;
}
/* The colour of the indicators */
.carousel-indicators li {
	background: #cecece;
}
.carousel-indicators .active {
background: rgba(248, 80, 50, 1);
}
.my-modal{
    border-radius: initial;
}
.fullview-control.left,.fullview-control.right{
    background-image:none;
    margin-top:10%;
    width:5%;
}
/*------------------------------------------------------*/

/*---------------------------------------IST_CIRCLES*/
.col-centered {
    float: none;
    margin: 0 auto;
}

#ist_section {
    text-align: left;
}

.center {
    text-align: center !important;
}

#istRow p {
    text-align: justify;
}

.mytext {
    height: 15em;
    width: 25.5em;
}

#ist_section div {
}

#istDiv0 {
}

#istImg0 {
    background: url(img/massschneiderei-in-dresden-fingerhut-19.jpg);
    background-size: 150%;
    position: relative
}

#istImg1 {
    background: url(img/massschneiderei-in-dresden-fingerhut-5.jpg);
    background-size: 150%;
    position: relative
}

#istImg2 {
    background: url(img/massschneiderei-in-dresden-fingerhut-2.jpg);
    background-size: 150%;
    position: relative
}

.istImg {
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 300px;
    width: 300px;
    background-color: azure;
    margin: 0 auto;
    border-radius: 50%;
    margin-top: 4em;

    transition: border-radius 300ms, height 300ms, width 300ms;
}

.istImg:hover {
    border-radius: 0;
    transition: border-radius 300ms;
}

/*------------------------------------------------------*/

/*-----------------------------------------HOW-SECTION*/

.how_ic {
    display: block;
    height: 200px;
    margin: 0 auto;
}

#how_section h3 {
    text-align: center;
    font-weight: 300;
}

#how_section img {
    height: 160px;
}

/*--------------------------------------------FOOTER*/
#about_section {
    /*padding-top: 0;*/
}

.blog-footer {
    padding: 40px 0;
    color: #999;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #e5e5e5;
}

.blog-footer p:last-child {
    margin-bottom: 0;
}

/*---------------------------------------SIZE-CHECK*/

@media only screen and (max-width: 1260px) {
    .istImg {
        height: 270px;
        width: 270px;
        margin: 0 auto;
    }

    .mytext {
        height: 300px;
        width: 300px;
    }
}

@media only screen and (max-width: 1080px) {
    .istImg {
        height: 230px;
        width: 230px;
        margin: 0 auto;
    }

    .mytext {
        height: 340px;
        width: 270px;
    }

    .how_ic {
        height: 150px;
    }
}

@media only screen and (max-width: 990px) {
    .logo {

    }

    #hero {
        min-height: auto;
        padding-top: 30%;
        padding-bottom: 20%;
    }

    body section {
        min-height: inherit;
    }

    .leistung_detaliert img {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
        margin: 0 auto;
        margin-top: 2em;
    }

    .leistung_detaliert p, .leistung_detaliert h2 {
        text-align: left;
    }

    .istImg {
        height: 165px;
        width: 165px;
    }

    .istDiv {
        height: 200px;
    }

    #ist_section {
        padding-left: 0px;
        padding-right: 0px;
    }

    #leistungen_section {
        padding-left: 0em;
        padding-right: 0em;
    }

    #ist_section p,
    #ist_section h2 {
        min-width: 100%;
        text-align: left;
    }

    .center {
        text-align: left !important;
    }

    .about_text {
        margin-top: 2em;
    }
}

/*------------------------------------------------------*/
/*------------------------------------------------------*/

@media only screen and (max-width: 765px) {
    .wraper {
        padding: 5% 25% 13%;
        font-size: 90px !important;
    }

    #leistungen_section {
        padding-left: 0em;
        padding-right: 0em;
    }

    .leistung nav {
        display: none;
    }

    .visibilityOff {
        display: block;
    }

    .leistung_detaliert {
        padding-left: 0px;
        padding-right: 0px;
    }

    .leistung_detaliert img {
        padding-left: 0px;
        padding-right: 0px;
    }

    .leistung_detaliert div {
        padding-left: 0px;
        padding-right: 0px;
    }

    #istImg0, #istImg1, #istImg2 {
        display: none;
    }

    .istDiv {
        height: auto;
    }

    #how_section > .row > div {
        margin-bottom: 4em;
    }

    /*    .leistung {
        background: rgba(248, 80, 50, 0.8);
        color: snow;
        border-bottom: rgba(255, 131, 109, 0.8) 1px solid;
    }
    .leistung:hover {
        cursor: pointer;
    }
    .leistung_detaliert {
        display: none;
    }*/
}

@media screen and (min-width: 765px) {
    .leistung_img {
        margin: 0 auto;
        border-radius: 100px;
        position: relative;
        width: 100px;
        height: 100px;
        -webkit-transition: width 300ms, height 300ms;
        /*safari*/
        transition: width 300ms, height 300ms, background-color 300ms;
        background: rgba(248, 80, 50, 0.8);
    }

    .visibilityOff {
        display: none;
    }
}