/* colors:
blue : 1073C4
*/

body {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    /*min-width: 960px;*/
    /*font-family: 'Libre Franklin', sans-serif;*/
    font-family: 'Lato', sans-serif;
    /*font-family: 'Lora', sans-serif;*/
}

a, a:visited, a:active {
    text-decoration: none;
    outline: none;
    color: #5d6469;
}

ul, li, h1, h2, h3, h4, h5, h6, section {
    list-style: none;
    padding: 0;
    margin: 0;
    font-weight: normal;
}

p {
    padding:12px 0;
    margin:0;
}

/* for entire page 
-----------------------------------------------------------------------------------------*/
.mainPageWrapper {
    display: grid;
    grid-auto-columns: auto;
    grid-auto-rows: min-content auto;
    height: 100vh;
}

#mainHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:12px 20px;
    border-bottom: rgb(153, 153, 153) solid 1px;
    background-color:rgba(255, 255, 255, 0.95);
}

#headerContact {
    display: flex;
    flex-direction: column;
}

#headerContact h2 {
    color: rgb(112, 112, 112);
    font-size: 80%;
}

#mainHeader span {
    padding:2px 0;
    color: rgb(112, 112, 112);
}

#mainHeader a {
    color: rgb(112, 112, 112);
}

#mainHeader i {
    padding:0 8px 0 0;
}

.mainContent {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.tagline {
    margin:300px auto 0 auto;
    /*
    background-color:rgba(255, 255, 255, 0.8);
    */
    background-color:rgba(51, 119, 184, 0.85);
    text-align: center;
    position: relative;
    color:white;
}

.tagLineContent {
    padding:30px 60px;
}

.tagLineContent h1 {
    font-size: 300%;
    padding:0 0 20px 0;
}

.tagLineContent h2 {
    font-size: 200%;
}


/* THREE BOXES
-----------------------------------------------------------------------------------------*/

.threeBoxes {
    background-color: white;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    margin:0px;
}

@media screen and (max-width: 667px) {
    .threeBoxes {
        flex-direction: column;
    }
}

.threeBoxes .boxItem {
    padding:40px;
    flex:1; /*This makes items same width*/
}

.threeBoxes img {
    width: 100%;
    height: 100%;
}

.imageContainer .svgContainer {
    width: 100%;
    height: 100%;
}

#homeSVG, #citySVG, #violationSVG, #toolsSVG  {
    fill: #3377b8;
}

.threeBoxes .imageContainer {
    width:70px;
    height:70px;
    border: #3377b8 solid 5px;
    border-radius: 50%;
    margin:0 auto 20px auto;
    padding:16px;
}

.threeBoxes h1 {
    text-align: center;
    font-weight: bold;
}

.threeBoxes p {
    text-align: center;
}


/* PROFILE
-----------------------------------------------------------------------------------------*/
#profile {
    padding: 30px;
    background-color: #3377b8;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#profile .imageContainer {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: white solid 5px;
    overflow: hidden;
    margin: 0 auto 30px auto;
}

#profile .imageContainer img {
    height:100%;
}

#profile h1 {
    font-size: 300%;
    padding:0;
}

#profile p {
    font-size: 120%;
    padding: 20px 10%;
}

.profileContact {
    padding:20px;
    color:#dfdfdf;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profileContact span {
    padding:4px 12px;
    font-size: 150%;
}

.profileContact span i {
    padding:0 8px;
}

/* TESTIMONIALS
-----------------------------------------------------------------------------------------*/
#testimonials {
    position: relative;
    background-color: white;
    padding: 30px 0;
}

#testimonials h1 {
    text-align: center;
    font-size: 300%;
    padding: 0 0 16px 0;
}

.testimonial {
    padding:3%;    
    font-size: 120%;
    margin:0 20%;
    color: #5d6469;
    min-height: 300px;
}

.testimonialShow {
    opacity: 1;
    flex-grow: 1;
    transition-duration: 2s;
}

.testimonialHide {
    opacity: 0;
    flex-grow: 0.5;
    transition-duration: 2s;
}

.testimonial .signatureContainer {
    display: flex;
    justify-content: flex-end;
}

.testimonial .signature {
    font-style: italic;
    font-weight: bold;
}

/* FOOTER
-----------------------------------------------------------------------------------------*/

#mainFooter {
    padding:20px;
    background-color: #5d6469;
    color:white;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mainFooter i {
    font-size: 60%;
    padding:0 12px;
}

/* DETAILS
-----------------------------------------------------------------------------------------*/
.details header {
    padding: 30px;
    background-color: #3377b8;
    color: white;
}

.details header h1 {
    font-size: 200%;
    text-align: center;
}

#detailsContent {
    width:80%;
    margin:30px auto;
}

#detailsContent h1 {
    margin:30px 0 0 0;
    font-size: 150%;
}

#detailsContent i {
    padding:0 12px 0 0;
}

.fullscreen-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: calc(100vh - 600px);
    left: 0;
    overflow: hidden;
    z-index: -100;
}

#backgroundImage {
    position: absolute;
    top: 50%;
    left: 50%;
    width:100%;
    min-width: 1100px;

    -webkit-transform: translate(-50%, -50%);
       -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
	    transform: translate(-50%, -50%);
}