/* Mobile CSS code for SVM */
body {
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
    font-family: sans-serif;
    color: #000000;
}
.all-rwd {       
    display: grid;
    grid-template-columns: 1;
    grid-template-rows: 
    120px, /* hdr label */
    58px,  /*nav label */
    260px,  /*pay label */
    220px,  /*hoo label */
    480px,  /*future-events label */
    500px,  /*incomnig label */
    380px,  /*mli label */
    60px,   /*close abel */
}
#hdr {
    width: 100%;
    height: 120px;
    font-size: .8em;
    grid-row: 1;
    grid-column: 1;
    background: lightgray;
}
#bnr-a {
    float: left;
}
#nav-area {
    width: 100%;
    height: 58px;
    grid-row: 2;
    z-index: 10;
    grid-column: 1;
    background: lightgray;
} 
.pay-label {
    width: 100%;
    height: 275px;
    margin: 0;
    padding: 2%;

    display: flex;
    align-items: center;
    justify-content: center;
    background: lightgray;
    grid-row: 3;
    grid-column: 1;
}
#pay-tag {
    width: 290px;
    height: 265px;
}
.hoo {
    width: 100%;
    height: 220px;
    text-align: center;
    border-top: black dotted 1px;
    grid-row: 4;
    grid-column: 1;
    background: lightgray;
}
.hoo ul {
    text-decoration: none;
    list-style: none;
}
.nl-path {
    margin-right: 12%;
    width: 120px;
    height: 35px;
    border-radius: 12px;
    color: blue;
}
.top-line {
    text-align: center;
    font-size: 1.2em;
}
#future-events {
    width: 100%;
    margin: 0 auto;
    background: lightgray;
    border-top: black dotted 1px;
    grid-row: 5;
    grid-column: 1;
}
#n-tag { position: relative;
    left: 30px;
    top: 15px;
    /* z-index: 10; */

}

.lf-side {
    width: 30%;
    height: 430;
    padding-right: 0.5em;
    text-align: right;
    float: left;
}
.rt-side {
    width: 60%;
    height: 430;
    margin: 0;
    padding-right: 0.5em;
    float: left;
}
.incoming {
    clear: both;
    width: 100%;
    height: 500px;
    grid-row: 6;
    grid-column: 1;
    padding: 0 0.5em;
    font-size: 0.7em;
    border-top: black dotted 1px;
    background: lightgrey;
}
.inc-list {
    padding: 1em;
}
.incoming h2 {
    text-align: center;
}
.EventDate {
    color: mediumorchid;
}
#short {
    margin-left: 10%;
    width: 70%;
    height: 70%;
}
#flag1, #flag2 {
    margin: 15px;
}
.front-page-news {
    width: 90%;
    margin: 0;
    padding: 25px;
    grid-row: 7;
    grid-column: 1;
    border-left: black dotted 1px;
    background: lightgray;
}
#pg-1 {
    width: 90%;
    margin: 0;
}
  /* slider code */

#slider {
  border: #666666 solid 4px;
  overflow: hidden;
}
#slider figure {
  position: relative;
  width: 500%;
  margin: 0;
  left: 0;
  animation: 20s slider infinite;
}
#slider figure img {
  width: 20%;
  float: left;
}
@keyframes slider {
0% { left: 0; }
20% { left: 0; }
25% { left:  -100%; }
45% { left: -100%; }
50% { left: -200%; }
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }
}
#pg-2 {
    width: 90%;
    margin: 0;
}
h1 {
    text-align: center;
    font-size: 1.7em;
}
h4 {
    font-size: .9em;
    margin: 0;
}
.mli {
    width: 100%;
    text-align: center;
    grid-row: 8;
    grid-column: 1;
    background: #818181
}
#close {
    width: 100%;
    height: 40px;
    text-align: center;
    background: #666666;
    color: white;
    grid-row: 9;
    grid-column: 1;
}
@media  screen and (min-width: 650px) {
        body {
        width: 1100px;
        height: auto;
        margin: 0 auto;
        padding: 0;
        font-family: sans-serif;
        color: #000000;
    }
    .all-rwd {       
        display: grid;
        background: lightgrey;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: 
        120px, /* hdr label */
        75px,  /*nav label */
        320px,  /*pay label */
        220px,  /*hoo label */
        480px,  /*future-events label */
        680px,  /*incomnig label */
        360px,  /*mli label */
        40px,   /*close abel */
    }
    #hdr {
        text-align: center;
        font-size: 2.5em;
        grid-row: 1 span 1;
        grid-column: 1/ span 6;
    }
    #nav-area {
        width: 100%;
        height: 58px;
        grid-row: 2 span 1;
        grid-column: 1/ span 6;
    }
    .pay-label {
        padding-left: 5%;
        align-content: center;
        grid-row: 3;
        grid-column: 1/ span 2;
    }
    .hoo {
        border-top: black dotted 1px;
        grid-row: 4;
        grid-column: 1/ span 2;   
        text-align: center; 
    }
    .top-line {
        text-align: center;
        font-size: 1.2em;
    }
    #future-events {
        border-top: black dotted 1px;
        grid-row: 5;
        grid-column: 1/ span 2;
    }
    .incoming {

        grid-row: 6;
        grid-column: 1/span 2;
        padding: 0 0.5em;
        border-top: black dotted 1px;   
    }
    .front-page-news {
        grid-row: 3/ span 4;
        grid-column: 3/span 4;
    }
    #pg-1 {
        width: 90%;
        margin: 0;
    }
    #pg-2 {
        width: 90%;
        margin: 0;
    }

/*     #editor,  
    #reality,
    #cb, #charity,
    #vets, #pres
     {
        margin: 1em 6em;
        border-top: black dotted 1px;
    }  */
    #sub-set {
        text-align: center;
        border-top: #666666 solid 3px;
        border-bottom: #666666 solid 3px;
    }
    #e-label {
        font-size: 2.2em;
        margin: 0;
    }
    h1 {
        text-align: center;
        font-size: 2.2em;
    }
    h4 {
        font-size: .9em;
        margin: 0;
    }

    #sub-fpn {
        /* padding:  1em 2em; */
        height: 780px;
        overflow: scroll;      
    }
    .mli {
        grid-row: 7;
        grid-column: 1/ span 6;    
    }
    #close {
        grid-row: 8;
        grid-column: 1/ span 6;
    }

}