File: /home/awaldron/_domains/knowtifi.alanwaldron.com/php/scss/custom/_home.scss
#home-services {
position: relative;
top: -60px;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
.roundy {
background-color: #FFF;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-evenly;
padding: 40px 0;
text-align: center;
width: 70%;
@include doubleRound(50px);
@include shadow(3px, 10px, 0.15);
& > div {
width: 33.3333%;
padding: 0 26px;
display: flex;
position: relative;
text-align: center;
flex-direction: column;
justify-content: flex-start;
align-items: center;
flex-grow: 1;
@media (max-width: 991px) {
width: 100%;
}
& > .auto-align {
margin-top: auto;
}
}
@media (max-width: 991px) {
flex-direction: column;
width: 47.5%;
justify-content: space-between;
margin-bottom: 30px;
padding: 20px 0;
}
@media (max-width: 767px) {
width: 47.5%;
margin-bottom: 16px;
zoom: 85%;
padding: 30px 0;
}
@media (max-width: 475px) {
width: 100%;
margin-bottom: 16px;
zoom: 85%;
padding: 30px 0;
}
}
.roundy-reverse {
padding: 0 26px;
display: flex;
flex-direction: column;
justify-content: center;
background-color: $orange;
width: 27.5%;
@include doubleRound(50px);
@include shadow(3px, 10px, 0.15);
h2 {
font-weight: 600;
color: $white;
@include rem-size(1.5);
}
p {
color: $white;
margin-bottom: 24px;
@include rem-size(1.1);
}
@media (max-width: 991px) {
width: 47.5%;
margin-bottom: 30px;
}
@media (max-width: 767px) {
width: 47.5%;
margin-bottom: 16px;
zoom: 90%
}
@media (max-width: 475px) {
width: 98%;
margin-bottom: 16px;
zoom: 85%;
padding: 30px;
}
}
.fa-stack {
display: block;
height: 64px;
margin: 0 auto 20px;
position: relative;
left: -5px;
@media (max-width: 475px) {
float: left;
display: inline-block;
margin: 0 20px 10px 30px;
}
}
.fa-stack-2x {
color: $orange;
opacity: 0.5;
@include rem-size(3.25);
}
.fa-stack-1x {
text-align: right !important;
color: $orange;
position: relative;
left: 1px;
top: 10px;
@include rem-size(2.1);
}
.fa-stack-1x.fa-circle {
position: absolute;
right: -3px;
bottom: 7px;
color: $white;
@include rem-size(1.75);
}
h1 {
text-transform: uppercase;
text-align: center;
font-weight: 500;
@include rem-size(1.1);
@media (max-width: 1241px) { height: 2.25em; }
@media (max-width: 991px) { height: auto; }
}
p {
@include rem-size(0.9);
margin-top: 6px;
}
}
#home-services.home-services-desktop {
display: flex;
@media (max-width:991px) { display: none; }
.roundy > div:not(:last-child)::after {
content: "";
position: absolute;
right: -2px;
top: 15%;
width: 2px;
height: 70%;
background-color: #dee2e6;
z-index: 9;
}
}
#home-services.home-services-mobile {
display: none;
@media (max-width:991px) {
display: flex;
flex-wrap: wrap;
}
@media (max-width:500px) {
top: -20px;
.auto-align {
display: none !important;
}
}
}
.mob-view {
@media (max-width: 475px) {
display: flex !important;
flex-direction: row !important;;
flex-wrap: nowrap !important;;
width: 100% !important;
padding: 0 15px 0 0 !important;
.fa-stack {
display: inline-block;
width: 80px !important;
}
.fa-stack-1x {
left: 27px !important;
}
div {
width: auto !important;
text-align: left !important;
margin-left: 30px;
h1 {
text-align: left !important;
}
&:not(:last-child)::after {
display: none !important;
}
}
}
}
.home-about {
margin-top: 30px;
margin-bottom: 30px;
@media (max-width:767px) {
margin-top: 0;
}
img {
max-width: 90%;
@media (max-width:767px) {
max-width: 75%;
display: block;
margin: 0 auto 30px;
}
@media (max-width:500px) {
max-width: 75%;
display: block;
margin: 0 auto 30px;
}
}
h3 {
@media (max-width:575px) {
margin: 0 20px 20px;
@include rem-size(1.7);
}
}
p {
@media (max-width:575px) {
margin: 0 20px 1em;
@include rem-size(0.9);
}
}
}
.home-padding {
padding-bottom: 75px;
@media (max-width:767px) {
padding-bottom: 20px;
}
}
.block.dkblue {
background-color: $blue;
color: #FFFFFF;
h2 {
font-weight: 600;
}
span {
color: $orange;
}
}
.block {
padding: 40px 0;
}
#map {
height: 400px;
width: 100%;
border: solid 3px #CCC;
border-width: 3px 0;
}