@media screen {
    #block1 {
        background-image: url("/wp-content/themes/simple/img/sized/XGA_1024x768/Deutche Telecom/1.jpg");
    }

    #block2 {
        background-image: url("/wp-content/themes/simple/img/sized/XGA_1024x768/Deutche Telecom/2.jpg");
        padding: 0;
    }

    #block3 {
        background-image: url("/wp-content/themes/simple/img/sized/XGA_1024x768/Deutche Telecom/3.jpg");
        padding: 0;
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/XGA_1024x768/Deutche Telecom/4.jpg");
        padding: 0;
    }

    #footer {
        background-image: url("/wp-content/themes/simple/img/sized/XGA_1024x768/Deutche Telecom/5.jpg") !important;
        background-size: cover !important;
    }
    /****************************************************************************************************/
}

@media (min-width: 1025px) , (min-height: 769px) {
    #block1 {
        background-image: url("/wp-content/themes/simple/img/sized/QXGA_2048x1536/Deutche Telecom/1.jpg");
    }

    #block2 {
        background-image: url("/wp-content/themes/simple/img/sized/QXGA_2048x1536/Deutche Telecom/2.jpg");
        padding: 0;
    }

    #block3 {
        background-image: url("/wp-content/themes/simple/img/sized/QXGA_2048x1536/Deutche Telecom/3.jpg");
        padding: 0;
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/QXGA_2048x1536/Deutche Telecom/4.jpg");
        padding: 0;
    }

    #footer {
        background-image: url("/wp-content/themes/simple/img/sized/QXGA_2048x1536/Deutche Telecom/5.jpg") !important;
        background-size: cover !important;
    }
    /****************************************************************************************************/
}

@media (min-width: 2049px) , (min-height: 1537px) {
    #block1 {
        background-image: url("/wp-content/themes/simple/img/sized/Retina_2560x1920/Deutche Telecom/1.jpg");
    }

    #block2 {
        background-image: url("/wp-content/themes/simple/img/sized/Retina_2560x1920/Deutche Telecom/2.jpg");
        padding: 0;
    }

    #block3 {
        background-image: url("/wp-content/themes/simple/img/sized/Retina_2560x1920/Deutche Telecom/3.jpg");
        padding: 0;
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/Retina_2560x1920/Deutche Telecom/4.jpg");
        padding: 0;
    }

    #footer {
        background-image: url("/wp-content/themes/simple/img/sized/Retina_2560x1920/Deutche Telecom/5.jpg") !important;
        background-size: cover !important;
    }
    /****************************************************************************************************/
}

@media (min-width: 2561px) , (min-height: 1921px) {
    #block1 {
        background-image: url("/wp-content/themes/simple/img/sized/HXGA_4096x3072/Deutche Telecom/1.jpg");
    }

    #block2 {
        background-image: url("/wp-content/themes/simple/img/sized/HXGA_4096x3072/Deutche Telecom/2.jpg");
        padding: 0;
    }

    #block3 {
        background-image: url("/wp-content/themes/simple/img/sized/HXGA_4096x3072/Deutche Telecom/3.jpg");
        padding: 0;
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/HXGA_4096x3072/Deutche Telecom/4.jpg");
        padding: 0;
    }

    #footer {
        background-image: url("/wp-content/themes/simple/img/sized/HXGA_4096x3072/Deutche Telecom/5.jpg") !important;
        background-size: cover !important;
    }
    /****************************************************************************************************/
}

.close-pad {
	cursor: pointer;
	height: 50px;
	left: 50px;
	position: absolute;
	top: 10px;
	width: 50px;
	z-index: 2;
}

.close-pad,
.overlay {
	display: none;
}

.pad {
	left: 50%;
	max-height: 90%;
	max-width: 100%;
	width: 0;
	height: auto;
	position: absolute;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateX(-50%) translateY(-50%);
        -webkit-transform: translateX(-50%) translateY(-50%);
        -moz-transform: translateX(-50%) translateY(-50%);
        -o-transform: translateX(-50%) translateY(-50%);
}

.showpad .overlay {
	background-color: #000000;
	opacity: 0.7;
}

.case-to-top.sub-block h2.bottom {
    font-size: 45px;
}

#block1 .central-button {
	position: absolute;
}

#block1 .central-button.appstore {
	left: calc(50% - 150pt);
	right: auto;
}

#block1 .central-button.launch {
	left: auto;
	right: calc(50% - 150pt);
}

h2.bottom {
	bottom: 10vh;
	width: 95%;
	margin: 0 auto;
}

#block2 h2 {
	text-align: left;
}

.case-to-top.sub-block h2.bottom,
#block2 h2 {
	text-align: center;
}

#header {
	left: 50%;
	width: auto;
	transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -moz-transform: translateX(-50%);
        -o-transform: translateX(-50%);
}

body.pad-visible:not(.pad-shown):not(.menu-on) #sliderContainer {
    visibility: visible;
    transform: translateX(91%);
        -webkit-transform: translateX(91%);
        -moz-transform: translateX(91%);
        -o-transform: translateX(91%);
        -ms-transform: translateX(91%);
}

@media (max-height: 600px),  (max-aspect-ratio: 4/3), (max-width: 600px) {
    body.pad-visible:not(.pad-shown):not(.menu-on) #sliderContainer {
        transform: translateX(90%);
            -webkit-transform: translateX(90%);
            -moz-transform: translateX(90%);
            -o-transform: translateX(90%);
            -ms-transform: translateX(90%);
    }
}

@media (min-height: 1024px) and (max-aspect-ratio: 1/1), (min-width: 1024px) and (max-aspect-ratio: 1/1){
    body.pad-visible:not(.pad-shown):not(.menu-on) #sliderContainer {
        transform: translateX(95%);
            -webkit-transform: translateX(95%);
            -moz-transform: translateX(95%);
            -o-transform: translateX(95%);
            -ms-transform: translateX(95%);
    }
}

@media (min-height: 1024px) and (max-aspect-ratio: 25/12), (min-width: 1024px) and (max-aspect-ratio: 25/12){
    body.pad-visible:not(.pad-shown):not(.menu-on) #sliderContainer {
        transform: translateX(93%);
            -webkit-transform: translateX(93%);
            -moz-transform: translateX(93%);
            -o-transform: translateX(93%);
            -ms-transform: translateX(93%);
    }
}

body.pad-shown.pad-visible:not(.menu-on) #sliderContainer {
    visibility: visible;
    transform: translateX(50%);
        -webkit-transform: translateX(50%);
        -moz-transform: translateX(50%);
        -o-transform: translateX(50%);
        -ms-transform: translateX(50%);
    right: 50%;
}

#sliderContainer {
    background-size: contain;
    background: no-repeat 50% 50%;
    position: fixed;
    z-index: 100;
    cursor: pointer;
    margin: 0 auto;
    display: block;
    padding: 0;
    visibility: hidden;
    transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        -ms-transition: all 0.5s;
    right: 0;
    transform: translateX(100%);
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -o-transform: translateX(100%);
        -ms-transform: translateX(100%);
}
#sliderContainer embed{
	display: block;
	width:100%;
	height:100%;
}
#sliderContainer .overlay{
	opacity: 0;
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	z-index: 300;
}
#sliderOverlay{
	position: fixed;
	margin: 0;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: #000;
	z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition-property: opacity, visibility;
        -webkit-transition-property: opacity, visibility;
        -o-transition-property: opacity, visibility;
        -moz-transition-property: opacity, visibility;
        -ms-transition-property: opacity, visibility;
    transition-timing-function: linear;
    transition-duration: 0.5s;
        -webkit-transition-duration: 0.5s;
        -o-transition-duration: 0.5s;
        -moz-transition-duration: 0.5s;
        -ms-transition-duration: 0.5s;
    display: block !important;
}

body.pad-shown:not(.menu-on) #sliderOverlay{
    visibility: visible;
    opacity: 0.9;
}
#fp-nav {
    transition-timing-function: linear;
    transition-duration: 0.3s;
        -webkit-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        -ms-transition-duration: 0.3s;
    visibility: visible;
    opacity: 1;
}

body.pad-shown #fp-nav,
body.pad-shown #menu-toggle {
    visibility: hidden;
    opacity: 0;
}

.case-to-top .title-container,
.case-to-top.sub-block h2.bottom {
	padding: 0 60px;
}

.measure {
	display: block;
	position: absolute;
	visibility:hidden;
	width: 1in;
	height: 1in;
}

#block2 .title-container {
    top: 25%;
    left: 25%;
    width: 40%;
    transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
}

@media (max-aspect-ratio: 1/1){
    #block1 {
        background-position: 5% 50%;
    }
    #block2 {
        background-position: 85% 50%;
    }
    #footer {
        background-position: 50% 50%;
    }
    #block2 .title-container {
        top: 50%;
        left: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
            -webkit-transform: translate(-50%, -50%);
            -moz-transform: translate(-50%, -50%);
            -o-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
    }
}

.title-container .svg-title {
    margin-left: 0;
}

@media (max-width: 640px) {
    #block2 .title-container {
        top: 35%;
    }
}

@media (max-height: 420px) {
    #block2 h2,
    #block3 h2,
    #block4 h2{
        font-size: 16px;
    }

    #block2 .title-container {
        width: 60%;
    }

    #block2 .svg-title,
    #block3 .svg-title,
    #block4 .svg-title {
        font-size: 30px;
    }
}

body.menu-on .menu-toggle .bar {
    background: white;
}

#block2 .title-container {
    top: 35% !important;
    width: 50%;
    margin: 0 25%;
}