html {
    border:0 !important;
    margin:0 !important;
    padding:0 !important;
    height:100%;
}

body {
    border:0 !important;
    margin:0 !important;
    padding:0 !important;
    font-family: 'Lato';
    font-weight:300;
    background-color:#000000;
    height:100%;
}

.body-noscroll {
    overflow: hidden;
}

div {
    box-sizing: border-box;
}

.clear {
    clear:both;
    float:none;
    display:block;
}

.phone-spacer {
    display: inline-block;
    width:8px;
}

.startseite, .subpage {
    display:block;
    width:100%;
    height:100%;
    z-index:102;
}

#mainbg {
    /*opacity:1;*/
    z-index: 101;
    position: fixed;
    top: 0;
    background-repeat: no-repeat !important;
    background-size:cover !important;
    background-position:center center !important;
    display:block;
    width:100%;
    height:100%;

}

.newbg {
    /*opacity:1;*/
    z-index: 103;
    position: fixed;
    top: 0;
    background-repeat: no-repeat !important;
    background-size:cover !important;
    background-position:center center !important;
    display:none;
    width:100%;
    height:100%;
}

.startseite {
    z-index: 102;
    position: relative;
    top: 0;
    display:block;
}

.startseite .impr-disc-block .main_hl {
    margin-left:30px;
    margin-right:30px;
}

.wrapper {
    display: table;
    height:100%;
    width:100%;
    margin:0 auto;
}

.main-block {

    /*vertical-align: middle;*/
    width:100%;
    z-index: 101;
    display:table-cell;
    vertical-align: middle;
    /*position:relative;*/
    box-sizing: border-box;
    position: relative;
    /*top: 50%;
    transform: translateY(-50%);*/
}

.subpage .main-block {
    display:block;

}

.main-block-inner {
    max-width:533px;
    margin:100px 30px 100px;
}

.subpage .main-block-inner {
    margin:0 auto;
}

.main-block-center {
    display:table;
    /*max-width:533px;*/
    height:100%;
    margin:100px 30px;
}

.sub .main-block-center{
    margin:0px 30px;
}


.subpage .main-block {
    width:100%;

    /* left:50%;
     transform: translate(-50%, -50%);*/

    display:table-cell;
    vertical-align: middle;
}


/*

.subpage-center .main-block-inner {
    margin-bottom:0px;
}*/

.main_hl {
    color:#FFFFFF;
    font-family: 'Lato';
    font-weight:300;
    text-transform: uppercase;
    font-size:20px;
    line-height:30px;
    margin-top:0px;
    text-align: center;
    margin-bottom:25px;
    margin-left:65px;
    margin-right:65px;
}

.subpage .main_hl, .sub .main_hl {
    margin-left:35px;
    margin-right:35px;
}

.nine-blocks {
    margin-bottom:21px;
}


.nine-blocks:after {
    clear: both;
    content: "";
    display: table;

}

.training-block {
    width:165px;
    height:100px;
    border:8px solid #ffdd00;
    margin:0 auto 20px;
    position:relative;
    background-color:#000000;
    cursor: pointer;
    z-index:101;
}

.training-block:hover {
    background-color:#ffdd00;

}

.training-block:hover .white-text, .training-block:hover .yellow-text {
    color:#000000;
}

.logo {
    display:none;
}

.logo img{
    position: absolute;
    top: -10px;
    left: -13px;
    width: 175px;
    height: 105px;
}

.logo:hover {
    background-color: #000000;
}

.logo-mobile {
    display:block;
}






.white-text, .yellow-text {
    color:#ffffff;
    text-transform: uppercase;
    font-size:20px;
    width:auto;
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
    font-weight:300;
}

.yellow-text {
    color:#ffdd00;
}


.termin a{
    color: #ffdd00;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 17px;
    display: block;
    width: 190px;
    margin: 0 auto 35px;

}

.address-line , .kontakt-line {
    margin-left:30px;
    margin-right:30px;
    color:#ffdd00;
    display:block;
    text-transform: uppercase;
    text-align: center;
    font-weight: 300;
    font-size:14px;
}

.kontakt-line a{
    color:#ffdd00;
    text-decoration: none;
    letter-spacing: .8px;
}

.kontakt-line a:hover{
    color:#cccccc;
}

.footer-menu {
    text-transform: uppercase;
    text-align: center;
    margin-top:25px;
    color:#cccccc;
}

.footer-link {
    color:#cccccc;
    font-weight: 300;
    font-size:16px;
    text-decoration: none;
    display: inline-block;
}

.footer-link:hover {
    color:#ffdd00;
}

.impr-disc, .subpage-content {
    border:8px solid #ffdd00;
    background-color: #000000;
    margin-bottom:20px;
    padding:20px;
    position:relative;
}

.subpage-content.subpage-anfahrt{
    padding:0px;
}

/*
.subpage-content {
    min-height:340px;
    height:100%;
}*/

.impr-disc-container .impr-disc-block .main-block-inner{
    margin:0 30px;
    /*margin-top:calc((100vh - 653px)/2 + 25px );
    margin-bottom:calc((100vh - 653px)/2 + 25px);*/
    margin-top:100px;
    margin-bottom:100px;

}



.close-impr-disc, .close-subpage {
    color:#ffdd00;
    font-weight: 700;
    position:absolute;
    font-size:18px;
    top:5px;
    right:10px;
    text-decoration: none;
    z-index:106;
}

.close-impr-disc:hover , .close-subpage:hover{
    color:#cccccc;
}

.impr-disc-hl, .subpage-hl {
    color:#ffdd00;
    font-weight: 700;
    font-size:24px;
    text-align: left;
    margin-top:0px;
}

.subpage-hl {
    margin:0px;
    float:left;
    text-transform: uppercase;
    font-weight:700;
    line-height:24px;
    margin-right:5px;
    display: block;
    width: 100%;
}

.impr-disc-text, .subpage-text {
    color:#ffffff;
    font-size:16px;
    line-height: 24px;
    text-align:left;
}

.impr-disc-text a {
    color: #ffdd00;
    text-decoration: none;
    word-break: break-word;
}

.impr-disc-text a:hover {
    color: #ffffff;
}

.subpage-text-wrapper {
    position: relative;
    max-width: 479px;
    width:100%;
    display: table;
    height: 100%;
}

.subpage-text {
    font-size:13.5px;
    line-height: 18px;
    font-weight: 300;
    display: table-cell;
    vertical-align: middle;
}

.subpage-text p{
    text-align:left;
    letter-spacing: 0.4px;
}

.fancybox-container {

    font-family: 'Lato' !important;
}

.fancybox-placeholder {
    display: block !important;
    position: relative;
    height: 100%;
}


.fancybox-placeholder  img {
    object-fit: cover;
}

.fancybox-image-wrap {
    width:100%;
    /*height:100vh;*/
    height:100%;
}

.personal-background {
    background-repeat: no-repeat !important;
    background-size:cover !important;
    background-position:center center !important;
}

.subpage.personal-training {
    margin:0px !important;
}

.fancybox-close-small {
    display:none;
}


.subpge-wrapper {
    /*display: table;*/
    height: 100%;
    width: 100%;
}

.subpage {
    /*opacity:1;*/
    z-index: 102;
    position: absolute;
    top: 0;
    background-repeat: no-repeat !important;
    background-size:cover !important;
    background-position:center center !important;
    display:none;
}


.subpage .main-block {
    z-index:104;
}

.startseite-background{
	background-image:url('https://www.private-mastertraining.de/images/pmt_pics_start.jpg') !important;
}

.personal-background {
	background-image:url('https://www.private-mastertraining.de/images/pmt_pics_personal.jpg') !important;
}

.kettlebell-background {
	background-image:url('https://www.private-mastertraining.de/images/pmt_pics_kettlebell.jpg') !important;
}

.functional-background {
	background-image:url('https://www.private-mastertraining.de/images/pmt_pics_functional.jpg') !important;
}

.weight-background {
    background-image:url('https://www.private-mastertraining.de/images/weight-lifting.jpg') !important;
}

.mobility-background {
	background-image:url('https://www.private-mastertraining.de/images/pmt_pics_mobility.jpg') !important;
}

.reha-background {
	background-image:url('https://www.private-mastertraining.de/images/pmt_pics_reha.jpg') !important;
}

.anfahrt-background {
    background-image:url('https://www.private-mastertraining.de/images/pmt_pics_anfahrt.jpg') !important;
}

.schubert-background {
    background-image:url('https://www.private-mastertraining.de/images/schubert.jpg') !important;
}


.hide {
    display:none;
}

.first-p {
    padding-top:1px;
}

.anfahrt-desktop {
    display:none;
}

.endofboxes {
    margin-bottom:0px;
}

.preloaderspinner {
    width: 60px;
    height: 60px;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:299;
}


.square {
    animation: change 2s infinite;
    background-color: #ffdd00;
    float: left;
    height: 12px;
    margin: 4px;
    width: 12px;
}

.square.topleft {
}

.square.top {
    animation-delay: 0.25s;
}

.square.topright {
    animation-delay: 0.5s;
}

.square.left {
    animation-delay: 1.75s;
}

.square.right {
    animation-delay: 0.75s;
}

.square.bottomleft {
    animation-delay: 1.5s;
}

.square.bottom {
    animation-delay: 1.25s;
}

.square.bottomright {
    animation-delay: 1s;
}

.spacer {
    background-color: none;
    float: left;
    height: 12px;
    margin: 4px;
    width: 12px;
}


@keyframes change {
    0% {
        transform: scale(1);
        animation-timing-function: linear;
    }

    12.5% {
        transform: scale(1.4);
        animation-timing-function: linear;
        background-color: #ffffff;
    }

    25% {
        transform: scale(1);
        animation-timing-function: linear;
    }
}


.preloaderoverlay {
    background-color:rgba(0,0,0,1);
    width:100%;
    height:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:298;
}

@media screen and (min-width:576px) {

    .startseite .main_hl {
        margin-left:auto;
        margin-right:auto;
    }

    .subpage-anfahrt .subpage-text-wrapper{
        max-width:100%;
    }

    .subpage-anfahrt iframe{
        height:323px;
    }

    .subpage-text p{
        text-align:left;
    }

    .nine-blocks {
        display:inline-block;
        height:334px;
    }
    .logo {
        display:block;
    }

    .logo-mobile {
        display:none;
    }

    .anfahrt-mobile {
        display:none;
    }

    .anfahrt-desktop {
        display:block;
    }

    .training-block {
        float:left;
        margin-right:19px;
        margin-bottom:19px;
    }

    .endofline {
        margin-right:0px;
    }

    .lowest-block {
        margin-bottom:0px;
    }
    .main_hl {
        font-size:36px;
        line-height:42px;
        width:inherit;
        margin-left:0px;
        margin-right:0px;
        text-align: left;
    }

    .subpage .main_hl {
        margin-left:0px;
        margin-right:0px;
    }

    .main-block-inner {
        margin: 0 auto;
    }

    /*
        .subpage-text-wrapper {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 479px;
        }*/

    .impr-disc-hl, .subpage-hl {
        font-size:26px;
        text-align: center;
        line-height:32px;
        margin-top:0px;
        position:relative;
        top: 3px;
    }

    .subpage-hl {
        display: inline-block;
        width: auto;
    }
    /*
        .subpage-center .main-block {
            margin-bottom:0px;
        }*/

    /* .subpage .main-block {
         position: absolute;
         top: 50%;
         transform: translateY(-50%);
     }*/

    .impr-disc-block{
        margin:0 auto;
        display: block;
        width:auto;
        position:relative;
    }

    .impr-disc-container .impr-disc-block .main-block-inner{
        margin:0 auto;
        margin-top:calc((100vh - 653px)/2 + 25px );
        margin-bottom:calc((100vh - 653px)/2 + 25px);
    }

    .startseite .impr-disc-block .main_hl {
        margin-left:0px;
        margin-right:0px;
    }

    .subpage-content {
        height: 339px;
    }

    .main-block-center, .sub .main-block-center {
        margin:0 auto;
    }

}

@media screen and (max-height:653px) {
    .startseite .main-block-inner {
        margin:100px auto;
    }

    .subpage .main-block-inner {
        margin:100px auto;
    }
    /*
        .subpage-center .main-block {
            display:block;
            margin: 100px auto;
        }*/

    .impr-disc-container .impr-disc-block .main-block-inner{
        margin:100px auto;
    }

    .main-block {
        position:relative;
        top:auto;
        transform: translateY(0);
    }

}

@media screen and (max-height:653px) and (max-width:576px) {
    .impr-disc-container .impr-disc-block .main-block-inner{
        margin:100px 30px;
    }

}
