:root{
    --blueBG: #262840;
    --lightBlue: #76afd3;
}

@font-face {
    font-family: 'Roboto';
    src: 
         local(‘Roboto’),
         url('extras/fonts/roboto-bold-webfont.woff2') format('woff2'),
         url('extras/fonts/roboto-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: 
         local(‘Roboto’),
         url('extras/fonts/roboto-italic-webfont.woff2') format('woff2'),
         url('extras/fonts/roboto-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto';
    src: 
         local(‘Roboto’),
         url('extras/fonts/roboto-regular-webfont.woff2') format('woff2'),
         url('extras/fonts/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
  font-family: "myScript";
  src: url('/extras/fonts/StyleScript-Regular.ttf') format("truetype");
}

html {
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}
body {
    margin:0;
}
hr {
    background-color: black;
}
h1 {
    margin-top: auto;
    font-weight: normal;
    font-size: 8vh;
}
h2, h4 {
    text-align: center;
    margin-top: 6vh;
}
h2{
    font-size: 3vh;
}
h4 {
    font-size: 2.6vh;
}
.countyWrapper{
    display: grid;
    grid-gap: 1vh 4vh;
    grid-template-columns: 3fr 2fr;
    grid-template-areas:
        'countyHeaderArea countyHeaderArea'
        'payNotesArea collectorCardArea'
        'buttonSectionArea collectorCardArea'
        'buttonSectionArea countyCardArea'
        'countyFooterArea countyFooterArea';
    line-height: 1.5;
    min-height: 100vh;
}
.countyHeader {
    grid-area: countyHeaderArea;
    max-height: 15vh;
    min-width: 100px;
    font-family: "myScript", Verdana, sans-serif;
    border-bottom: var(--lightBlue) 6px solid;
    text-align: center;
    vertical-align: middle;
    color: white;
    background-color: var(--blueBG);
    background-size: cover;
}
a.fill-div {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
}
.paymentNotesBox, .payButtons {
    margin-left: 2vh;
}
.paymentNotesBox {
    grid-area: payNotesArea;
    border-radius: 4px;
    padding:0.01em 16px;
    border-style: solid;
    border-width: 5px;
    border-color: var(--lightBlue);
    margin-bottom: auto;
    font-size: 2vh;
}
.paymentNotesList {
    list-style-type:none;padding:0;margin:0;
}
.paymentNotesList li {
    border-bottom:1px solid #ddd;
    padding:8px 8px!important;
}
.paymentNotesList li:last-child {
    border-bottom:none;
}
.countyCard, .collectorCard {
    border-radius: 4px;
    box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    color:#000!important;background-color:#f1f1f1!important;
    padding:0.01em 16px;
    margin-right: 2vh;
}
.countyCard{
    grid-area: countyCardArea;
    max-height: 30vh;
}
.collectorCard {
    grid-area: collectorCardArea;
}
.padIt{
    padding-top:16px;
    padding-bottom:16px;
}
.marginIt{
    margin-top:16px;
    margin-bottom:16px;
}
.collectorImage, .countyImage {
    float:left;
    border-radius: 4px;
    max-width:100%;
    height:auto;
}
.collectorImage{
    max-height: 260px;
    margin-right:20px;
    box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 8px 10px 0 rgba(0,0,0,0.12);
}
.countyImage{
    margin-right:40px;
}
p.collectorInfo {
    font-size: 2.6vh;
}
p.countyInfo {
    font-size: 2vh;
}
p.multipleAddresses {
    font-size: 2.3vh;
}
.officialTitle {
    font-size: 3vh;
    text-align: center;
}
.payButtons {
    grid-area: buttonSectionArea;
    grid-row-start: 3;
    text-align: center;
    align-content: center;
}
.payButton {
    min-width: 250px;
    width: auto;
    border:none;
    border-radius: 4px;
    margin: 10px;
    background-color: var(--blueBG);
    color: white;
    font-size: 4vh;
    padding:0.01em 16px;
    padding-top:64px;
    padding-bottom:64px;
    text-align: center;
    vertical-align:middle;
    overflow:hidden;
    text-decoration:none;
    cursor:pointer;
    white-space:nowrap;
    /*white-space:normal;*/
    word-wrap: break-word;
}
.payButton:hover {
    transform: scale(1.1);
    box-shadow:0 8px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
}
.countyFooter {
    grid-area: countyFooterArea;
    text-align: center;
    background-color: var(--blueBG);
    color: white;
    margin-top: auto;
}

/* If the screen size is 600px wide or less */
@media screen and (max-width: 800px) {
    .countyWrapper {
        grid-gap: 1vh;
        line-height: normal;
     }
    .countyHeader {
        font-family: "Roboto", Helvetica, Arial, sans-serif;
    }
    h1 {
        font-size: 5vh;
    }
    .marginIt{
        margin-top:8px;
        margin-bottom:8px;
    }
    .countyCard, .collectorCard {
        /*display:none!important;*/
        visibility: hidden !important;
    }
    .paymentNotesBox, .payButtons {
        grid-column: 1/3;
        margin-left: 0;
    }
    .payButtons {
        grid-row-start: 2;
    }
}