body {
    font-size: 1rem;
    background-color: #eee;
    width: 100%;
    height: 100vh;
    /*display: flex;
    align-items: center;
    justify-items: center;*/
    
    
    /*padding: 0 1.5rem;*/


    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.infomatic {
    position: absolute;
    /*right: 250px;*/
    left:10px;
    top: 60px;
    width: 240px;
    /*height: 230px;*/
    padding: 10px;
    display: block;
    border: solid 1px #333;
    border-radius: 10px;
    box-shadow: 2px .8rem 1rem rgba(0, 0, 0, 0.1);
    background: white;
}

.infomatic p{

    width:100%;
    padding:6px;
    background-color:green;
    color:white;

}

.floatingcollection {
    position: absolute;
    left: 10px;
    top: 310px;
    width: 240px;
    height: 250px;

    padding: 10px;
    
    display: block;
    border: solid 1px #333;
    border-radius: 10px;
    box-shadow: 2px .8rem 1rem rgba(0, 0, 0, 0.1);
    background: white;
}

.floatingcollection p {
    width: 100%;    
    padding: 6px;
    background-color: green;
    color: white;
}


.mapscorecontainer {
    position:absolute;
    left:0;
    top:0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;  
    pointer-events:none;
    opacity:0;
}

.scoreline{
    float:left;
    font-size:11pt;
    color:#333;
}

.scorelinelink {
    padding-right:4px;
    float: right;
    font-size: 12pt;
}

.mapscoretitle {
    width: 100%;
    height: 74px;
    font-size: 14pt;
    border-radius: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px #933;
    background-color: #a2b2f5;
    padding: 8px;
}



.mapscore {
    margin: 0 auto;
    padding: 8px;
    width: 100%;
    max-width: 600px;
    font-size: 10pt;
    border: solid 1px #333;
    border-radius: 10px;
    box-shadow: 2px .8rem 1rem rgba(0, 0, 0, 0.1);
    background: white;/*#eee;*/
}

.mapscore h4 {
    font-size: 14pt;
    font-weight: 800;    
}

.mapscore .credit {
    font-size:10pt;
    font-weight:800;
    float:right;
}

    .searchresults {
        width: 100%;
        height: 120px;
        overflow: auto;
        padding: 4px;
        margin: 4px 0;
        font-size: 1rem;
        font-weight: 700;
        color: #333;
        background: none;
        border: solid 1px #333;
        border-radius: 3px;

        display:none;
    }

/*  for painting test....*/
.boxdraw {
    background: rgba(56, 135, 190, 0.1);
    border: 2px solid #3887be;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.mapdetails2 {
    width: 400px;
    height: 500px;
    position: absolute;
    top: 120px;
    left: 50px;
    padding: 6px;
    background-color: white;
    display: block;
    border: solid 1px #333;
    overflow: auto;
    transform: translateX(-800px);
    transition: all 0.5s ease;
}

.newdistrict {
    margin-top: 14px;
    padding-left: 0px;
    font-size: 1.2rem;
    font-weight: 700;
    color: red;
    display: inline;
}

.newcounty {
    margin-top:10px;
    padding-left: 4px;
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    cursor: pointer;
}

.newtownship {
    padding-left: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
}

.newward {
    padding-left: 14px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
}

.newprecinct {
    padding-left: 16px;
    font-size: 0.7rem;
    font-weight: 400;
    color: #555;
    cursor: pointer;
}


.social {
    width: 800px;
    height: 60px;
    overflow: auto;
    border: solid 1px #333;
}

.statesummaryall {
    width: 300px;
    height: 100vh;
    position: absolute;
    left: 0px;
    top: 0px;
    margin: 0 0px;
    padding:0 4px;;
    padding-top:14px;
    overflow: auto;
    border: solid 1px #333;
    background: white;
    transform: translateX(0px);
    transition: all 0.5s ease;
}

.districtnoround {
    display: inline-block;
    width: 30px;
    height: 24px;
    font-size: 10pt;
    font-weight: 800;
    background-color: #a7dff2;
    border-radius: 15%;
    border: solid 2px green;
    text-align: center;
    margin-right: 10px;
}


.comlink{
    color:green;
    margin:0 10px;
    cursor:pointer;
}

.singlecomment {
    /*
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    */
    font-size: 2rem;
    background: white;
    color: #333;    
}

.singlecomment TextArea {
    background-color: transparent;
    padding: 4px;
    margin-top:6px;
    height: 100px;
    width: 100%;
    outline: none;
    border: solid 1px #333;
    border-radius: 5px;
    flex-grow: 4;
    font-size: 1.2rem;
}

.singlecomment Input {
    background-color: transparent;
    padding: 6px;
    outline: none;
    border: solid 2px #333;
    border-radius: 5px;
    float:right;
    cursor: pointer;
    font-size: 1.1rem;
}


.singlesearch {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background: transparent;
    color: #333;
}

.singlesearch Input {
    background-color: #eeeeee;
    height: 3rem;
    padding: 4px;
    outline: none;
    border: none;
    border-radius: 5px;
    flex-grow: 1;
    cursor: pointer;
    font-size: 1rem;
}











.cardMap {
    /*yy*/
    width: 80%;
    max-width: 900px;
    margin: 6px auto;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 2px .8rem 1rem rgba(0, 0, 0, 0.1);
}

.image-data{
    height: 25rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.background-image{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url("/img/horizon.jpg") center no-repeat;
    background-size: cover;
    z-index: -1;
    transition: transform 5s;
}

.cardMap:hover .background-image{
    transform: scale(1.5);
}

/*-----------------------*/
.cardMap:hover .publication-details {
    transform: translateX(0);
}


.publication-details{
    width: 100%;
    height: 100%;
    background: var(--gradient-color);
    font-size:1.4rem;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;


    /*-------------*/
    transform: translateX(-100%);
    transition: transform 0s;/*sudden color overlay*/
}


/*----------------*/
.cardMap:hover .author,
.cardMap:hover .date {
    transform: translateY(0);
    opacity: 1;
}



.publication-details i{
    margin-right: 1rem;
}

.author{
    display: inline-block; 
    margin-bottom: .5rem;
    /*transition-delay: .3s;*/

    /*--------------------------*/
    transform: translateY(-3rem);
    opacity:0;
    transition: all .5s .3s; 
}

.author:hover{
    color: rgba(255, 255, 255, .75);
}

.date{
    display: block;

/*----------*/
    transform: translateY(3rem);
    opacity:0;
    transition: all .5s .3s; 
}

.post-data{
    background-color: #fff;
    padding: 2rem 3rem;
    position: relative;
}

.title{
    font-size: 1.7rem;
    line-height: 1;
}

.subtitle {
    display: inline;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    margin: 0.4rem 0 0 0;
    padding: 0 6px;
}

.subtitleheader {
    position: absolute;
    left: 0px;
    top: 0;
    display: inline;
    
    width:300px;

    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 0 0;
    padding: 0 6px;
    z-index: 12;
    background-color: rgba(80, 0, 200, 0.2);
}


    .subtitleheader input {
        font-size: 1.2rem;
        height: 10px;
        height:24px; 
        margin-left:30px;
    }



.description{    
    position:relative;
}

.description:first-letter{
    margin-left: 1rem;
}

.description::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: .5rem;
    height: 2.5rem;
    background: var(--gradient-color);
    border-radius: 2rem;
}


.mapFooter {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content:center;
}





.pta {
    text-align: left;
    font-weight: bold;
    display: inline-flex;
    flex-direction: row;
    /*border-bottom: solid 1px #333;*/
    text-align: right;
    /*margin-bottom:8px;*/
}

.pta input {
    width: 36px;
    border: none;
    background: none;
    color: #919191;
    font-size: 10pt;
    margin: 0 0;
    pointer-events: none;
}

.pta button {
    color: black;
    background: none;
    border: none;
    font-size: 12pt;
    padding: 0 8px;
    margin: 10px 0;
    margin-left: 20px;
    outline: none;
}

.pta .comments {
    text-decoration: none;
    color: black;
    background: none;
    border: none;
    font-size: 12pt;
    padding: 0 8px;
    margin: 10px 0;
    margin-left: 20px;
    outline: none;
    cursor: pointer;
}

.pta a {
    text-decoration: none;
    color: black;
    background: none;
    border: none;
    font-size: 12pt;
    padding: 0 8px;
    margin: 10px 0;
    margin-left: 10px;
    outline: none;
}

.pta .clickablebutton {
    cursor: pointer;
}

.pta .activebutton {
    color: #004eff;
    transform: scale(1.2);
}

.pta button:active {
    color: #004eff;
    transform: scale(1.2);
}










.cta{
    text-align: right;
    font-weight: bold;
    margin-top: 1rem;
}
.cta a{
    background: var(--gradient-color);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}

.cta a::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -.5rem;
    width: 100%;
    height: 3px;
    background: var(--gradient-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s;
}

.cta a:hover::before{
    transform: scale(1);
}









@media screen and (min-width: 600px) {
    .cardMap {
        flex-direction: row;
        max-height: 75rem;
    }

    .image-data{
        flex-basis: 40%;
        height: unset;
    }

    .publication-details{
        transform: translateX(-100%);
        transition: transform(0);
    }

    .cardMap:hover .publication-details {
        transform: translateX(0);
    }

    .author{
        transform: translateY(-3rem);
        opacity:0;
    }

    .date{   
        transform: translateY(3rem);
        opacity:0;
        transition: all .5s .3s; /* second delays the date*/
    }

    .cardMap:hover .author,
    .cardMap:hover .date {
        transform: translateY(0);
        opacity: 1;
    }

    .post-data{
        flex-basis: 60%;
    }

    .post-data::before{
        content: '';
        width: 3.5rem;
        height: 100%;
        background-color: #fff;
        position: absolute;
        top: 0;
        left: -1.5rem;
        z-index: 10;
        /*
        transform: skewX(-5deg);
            */
    }


}







.cardMapDetail {
    display:flex;
    flex-direction: row;
    width: 100%;
    /*max-width: 1200px;*/
    justify-content: center;
    align-items: center;
}

.image-dataDetail {
    flex-basis: 40%;
    height: unset;
}








.explanation {
    width: 100%;
    display: block;
    padding: 0;
    border-bottom: solid 1px #333;
    font-size: 10pt;
    font-weight: 500;
    color: #333;
}

.explanationtitlebar {
    width: 100%;
    height: 30px;
    padding: 4px;
    margin: 10px 0;
    background-color: aliceblue;
}

.explanationtitle {
    font-size: 12pt;
    font-weight: 600;
    float: left;
}

.explanationgreenflag {
    font-size: 12pt;
    font-weight: 600;
    float: right;
    color: green;
}

.explanationredflag {
    font-size: 10pt;
    font-weight: 600;
    float: left;
    color: green;
}




















