#bodycontainer {
    background-color: #f7f7f7;
    font-size: 0;
    height: 100%;
    width: 100%;
}

#block1 {
    background-color: #f0f0f0;
    float: left;
    height: 100%;
    margin: 0 auto;
    width: calc(100% - 370px);
}
#block1inner {
    height: 100%;
    margin: 0 auto;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
}
#b1bodycontent {
    color: #000000;
    height: 100%;
    font-size: 16px;
    margin: 0 auto;
    position: relative;
    text-align: justify;
    width: calc(100% - 140px);
}
#b1bodycontent p {line-height: 28px;}
.b1title {
    border-bottom: solid 0.11em #000000;
    padding-top: 40px;
    padding-bottom: 4px;
}
ul.servlist {
    float: none !important;
    list-style-type: disc !important;
    list-style-position: outside;
    margin-left: 16px;
    font-size: 20px;
}
#b1writing {
    float: left;
    width: 70%;
}
.topparagraph {
    font-size: 20px;
    padding-top: 30px;
}
h2.b1h2 {
    font-size: 28px;
    padding-bottom: 20px;
    padding-top: 30px;
}
#b1tiles {
    float: left;
    width: 30%;
}
figure.servicetile {
    position: relative;
    overflow: hidden;
    margin-left: 0px;
    margin-right: 2%;
    margin-top: 14px;
    height: 200px;
    width: 310px;
    background: #000000;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  }
figure.servicetile * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
figure.servicetile img {
    max-width: 100%;
    position: relative;
    opacity: 0.4;
}
figure.servicetile figcaption {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
figure.servicetile h2 {
    position: absolute;
    left: 30px;
    right: 30px;
    display: inline-block;
    background: #000000;
    -webkit-transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
    transform: skew(-10deg) rotate(-10deg) translate(0, -50%);
    padding: 12px 5px;
    margin: 0;
    top: 50%;
    text-transform: uppercase;
    font-weight: 400;
}
figure.servicetile:before {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    content: '';
    background: #cecece;
    opacity: 0.5;
    position: absolute;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transform: rotate(110deg) translateY(-50%);
    transform: rotate(110deg) translateY(-50%);
}
figure.servicetile.tileblue {background: #114263; margin-bottom: 40px;}
figure.servicetile.tileblue h2 {background: #0d3046;}
figure.servicetile.tilegreen {background: #145830;}
figure.servicetile.tilegreen h2 {background: #0e3f23;}
figure.servicetile.tileorange {background: #ad5a0c;}
figure.servicetile.tileorange h2 {background: #7e4007;}
figure.servicetile:hover img,
figure.servicetile.hover img {
    opacity: 1;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
figure.servicetile:hover h2,
figure.servicetile.hover h2 {
    -webkit-transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%);
    transform: skew(-10deg) rotate(-10deg) translate(-150%, -50%);
}
figure.servicetile:hover:before,
figure.servicetile.hover:before {
    -webkit-transform: rotate(110deg) translateY(-150%);
    transform: rotate(110deg) translateY(-150%);
}

@media screen and (max-width: 1760px) { 
    .topparagraph {font-size: 20px;}
    ul.servlist {font-size: 18px;}
    h2.b1h2 {font-size: 24px; padding-bottom: 20px;}
    #b1writing {float: none; width: 100%;}
    #b1tiles {float: none; width: 100%;}
    figure.servicetile {float: left; margin-top: 25px; width: 31.99%; height: 250px;}
    figure.servicetile.tileblue {margin-right: 0px;}
}
@media screen and (max-width: 1650px) { 
    #block1 {width: calc(100% - 350px);}
    figure.servicetile {height: 230px;}
}
@media screen and (max-width: 1550px) { 
    #block1 {width: calc(100% - 330px);}
    figure.servicetile {height: 220px;}
}
@media screen and (max-width: 1450px) { 
    #block1 {width: calc(100% - 310px);}
    .topparagraph {font-size: 18px;}
    figure.servicetile {height: 210px;}
}
@media screen and (max-width: 1350px) { 
    #block1 {width: calc(100% - 280px);}
    figure.servicetile {height: 190px;}
    figure.servicetile h2 {font-size: 22px;}
}
@media screen and (max-width: 1250px) { 
    #block1 {width: calc(100% - 260px);}
    .topparagraph {font-size: 16px;}
    h2.b1h2 {font-size: 22px;}
    ul.servlist {font-size: 16px;}
    figure.servicetile {height: 180px;}
    figure.servicetile h2 {font-size: 20px;}
}
@media screen and (max-width: 1160px) { 
    #block1 {width: calc(100% - 240px);}
    figure.servicetile {height: 170px;}
    figure.servicetile h2 {left: 20px; right: 20px; font-size: 18px;}
}
@media screen and (max-width: 1180px) {
    figure.servicetile {height: 140px;}
    figure.servicetile h2 {font-size: 16px;}
}
@media screen and (max-width: 1000px) { 
    #block1 {width: calc(100% - 220px);}
    figure.servicetile {height: 140px;}
}