﻿@import url('https://fonts.googleapis.com/css?family=Montserrat:300|Open+Sans:700|Source+Sans+Pro&display=swap');
@media only screen and (max-width: 1200px){
    div.BBPOS {margin-left: 25%;}
    /*a.BB {color: purple;}*/
    p.TX2, p.TX4 {font-size: 1rem;}
}
@media only screen and (max-width: 1000px){
    div.BBPOS {margin-left: 20%;}
    /*a.BB {color: orange;}*/
    p.TX3 {font-size: 1.15rem;}
    p.TX2 {font-size: 0.95rem;}
    p.TX4 {font-size: 0.95rem;}
    div.D3 {height: 68%;}
}
@media only screen and (max-width: 768px){
    a.BB {padding-left: 15px; padding-right: 15px; /*color: blue;*/}
    div.BBPOS {margin-left: 23%;}
    div.SERCON {width: 35%; margin-left: 10%; margin-top: 2%; min-height: 47%;}
    div.D1 {height: 150vh;}
    div.D3 {height: 100%;}
}
@media only screen and (max-width: 670px){
    div.BBPOS {margin-left: 18%;}
    /*a.BB {color: red;}*/
    div.D3 {height: 100%;}
    div.SERCON {min-height: 45%;}
}
@media only screen and (max-width: 600px){
    div.BBPOS {margin-left: 8%;}
    /*a.BB {color: green;}*/
    div.SERCON {width: 60%; margin-left: 20%; min-height: 20%;}
    div.D3 {height: 120%;}
}
@media only screen and (max-width: 414px){
  	a.BB {padding-left: 7px; padding-right: 7px;}
    div.BBPOS {margin-left: 7%;}
}
@media only screen and (max-width: 375px){
  a.BB {padding-left: 6px; padding-right: 6px;}
  div.BBPOS {margin-left: 4%;}
  div.D2 {height: 12vh;}
}

html {
    background-color: #d7d7d7;
    font-family: 'Source Sans Pro';
    background-image: url(Images/ServicesBW.jpg);
    width: 100%;
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}
body {
    margin: 0;
    width: auto;
}
.D1 {
    width: 100%;
    height: 100vh;
}
.SEC1 {
    width: 100%;
    height: 6vh;
}
.BB {
    font-size: 1.3rem;
    font-family: 'Montserrat';
    text-align: center;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    color: white;
    cursor: pointer;
    border-bottom: solid 2px white;
    float: left;
    padding-right: 30px;
    padding-left: 30px;
    padding-top: 10px;
    position: static;
}
.BB:hover {
    color: #f2dfdc;
    border-bottom-color: #f2dfdc;
}
.BB:active {
    color: #d1c1be;
    border-bottom-color: #d1c1be;
}
.BBPOS {
    margin-left: 32%;
}
.SEC2 {
    width: 100%;
    height: 94vh; 
}
.D2 {
    width: 100%;
    height: 10vh;
}
.TX1 {
    font-family: 'Open Sans';
    font-size: 4rem;
    color: white;
    text-align: center;
    letter-spacing: 9px;
    margin: 0;
}
.D3 {
    width: 100%;
    height: 55%;
}
.SERCON {
    width: 21%;
    background-color: white;
    min-height: 90%;
    border-radius: 6px;
    float: left;
    margin-left: 3%;
    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 4s; /* Firefox < 16 */
         -o-animation: fadein 4s; /* Opera < 12.1 */
            animation: fadein 4s;
}
.TX2 {
    font-size: 1.2rem;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    margin-top: -5%;
}
.TX3 {
    font-family: 'Open Sans';
    font-size: 1.3rem;
    color: black;
    text-align: center;
}
.TX4 {
    font-size: 1.2rem;
    color: black;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    margin-top: -5%;
}
.D4 {
    width: 100%;
    min-height: 23.5vh;
    background-color: white;
    border-radius: 6px;
    margin-top: -2%;
}
.TX5 {
    font-size: 1.5rem;
    font-family: 'Montserrat';
    color: black;
    text-align: center;
    letter-spacing: 2px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-animation: fadein 4s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 4s; /* Firefox < 16 */
         -o-animation: fadein 4s; /* Opera < 12.1 */
            animation: fadein 4s;
}
.D5 {
    width: 100%;
    min-height: 10vh;
}
.D6 {
    width: 100%;
    height: 48px;
    margin-top: 5%;
    background-image: url(Images/LogoBanner.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}