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

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

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

    #block3 .overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/XGA_1024x768/Pocket Library/4.jpg");
        padding-top: 90px;
    }

    #block4 .svg-title {
        margin: 0 auto;
        display: block;
    }

    #footer {
        background: white;
    }

    #footer.color_171d23 .content,
    #footer.color_171d23 .page-section {
        color: #646464;
    }

    #footer.color_171d23 .page-section#contact input,
    #footer.color_171d23 .page-section#contact input::-webkit-input-placeholder,
    #footer.color_171d23 .page-section#contact textarea {
        color: #646464;
    }
    #footer.color_171d23 .page-section#contact input::-moz-placeholder {
        color: #646464;
    }
    #footer.color_171d23 .page-section#contact input:-moz-placeholder {
        color: #646464;
    }
    #footer.color_171d23 .page-section#contact input:-ms-input-placeholder{
        color: #646464;
    }
    #footer.color_171d23 #contact textarea {
        background-color: #eeeeee !important;
    }
    /****************************************************************************************************/
}

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

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

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

    #block3 .overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/QXGA_2048x1536/Pocket Library/4.jpg");
        padding-top: 90px;
    }

    #block4 .svg-title {
        margin: 0 auto;
        display: block;
    }

    #footer {
        background: white;
    }


    /****************************************************************************************************/
}

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

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

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

    #block3 .overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/Retina_2560x1920/Pocket Library/4.jpg");
        padding-top: 90px;
    }

    #block4 .svg-title {
        margin: 0 auto;
        display: block;
    }

    #footer {
        background: white;
    }
    /****************************************************************************************************/
}

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

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

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

    #block3 .overlay {
        background: rgba(0, 0, 0, 0.5);
    }

    #block4 {
        background-image: url("/wp-content/themes/simple/img/sized/HXGA_4096x3072/Pocket Library/4.jpg");
        padding-top: 90px;
    }

    #block4 .svg-title {
        margin: 0 auto;
        display: block;
    }

    #footer {
        background: white;
    }
    /****************************************************************************************************/
}

#contact form p:nth-of-type(1),
#contact form p:nth-of-type(2) {
    border-bottom: 2px solid #171d23 !important;
}

.case-to-top h1, 
.case-to-top .svg-title text, 
.case-to-top rect {
	line-height: 46px;
}

.case-to-top.sub-block h2.bottom {
    font-size: 20px;
	margin: 0 auto;
}

.case-to-top.sub-block rect,
.case-to-top.sub-block .title,
.case-to-top.sub-block .svg-title,
.case-to-top.sub-block .svg-title text {
	font-size: 50px;
	height: 46px;
	line-height: 71px;
}

#block1.case-to-top .title-container,
#block2.case-to-top .title-container,
#block3.case-to-top .title-container,
#block4.case-to-top .title-container {
    top:30%;
}

#block2 h2.bottom {
	bottom: 11vh;
}

#block2 h2.bottom .whitespace {
	display: inline-block;
	width: 14vh;
}

#block3 h2.bottom {
	position: relative;
	bottom: auto;
}

#block4 img {
	height: calc(73vh - 133px);
	left: 50%;
	position: absolute;
	top: 50%;
    transform: translateX(-50%) translateY(-50%);
        -ms-transform: translateY(-50%) translateX(-50%);
        -webkit-transform: translateY(-50%) translateX(-50%);
        -moz-transform: translateY(-50%) translateX(-50%);
        -o-transform: translateY(-50%) translateX(-50%);

}

#block4 .bottom {
	bottom: 10vh;
}

@media (max-width: 768px) {
    .case-to-top.case-to-top.sub-block h2.bottom .whitespace {
    	display: none !important;
	}
}

@media (max-width: 360px) {
	.case-to-top.sub-block .title,
	.case-to-top.sub-block .svg-title,
	.case-to-top.sub-block .svg-title text {
		font-size: 40px;
		height: 36px;
		line-height: 36px;
	}
}

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