@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

body {overflow: auto}
body.noScroll{overflow: hidden}
body.desktop.noScroll{padding-right: 16px}

#stateReportProfileMap{
    float:left;
}

#stateProfileMapImage {
    max-width: 100%;
    max-height: 40vh;
    height: auto;
    width: auto;
    margin: 30px 30px 30px -30px;
}

#governorsReportCard_DV_container{
    position:relative;
}

#divMap {
    margin-left:auto;
    margin-right:auto;
}
#divMap.mobile {
    max-width:  min( max(800px, 80vw), 95vh * 11/9 );
}
#divMap.desktop {
    max-width:  min( max(1400px, 80vw), 95vh * 975 / 610 );
}

#stateReportContainer{
    background-color: white;
    float: right;
    /*border: 1px solid black;*/
    opacity:0;
    -webkit-box-shadow: 1px 2px 9px 0 rgb(0 0 0 / 65%);
    box-shadow: 1px 2px 9px 0 rgba(0,0,0,.65);
    right: 0;
    display: none;
    transition:opacity 1s;
    overflow: scroll;
    overflow-x: hidden;
    border-radius: 10px;
    position: fixed;
    transform: translateY(-50vh);
}
#stateReportContainer::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
#stateReportContainer::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #d0d0d0;
}

/*//////////////////////////////////*/
#stateReportContainer.mobile{
    width: min(800px, calc(100% - 20px) ) ;
    height: calc(100vh - 100px);
    margin-left: calc(50vw - min(800px, calc(100% - 20px))/2);
    margin-right: calc(50vw - min(800px, calc(100% - 20px))/2);
    top: calc(50% + 40px);
}
#stateReportContainer.desktop{
    width: min( 750px, calc(55% - 50px));
    height: calc(100vh - 100px);
    margin-right: 50px;
    top: calc(50% + 50px);
    padding-left: max(10px,min(50px, 2 / 55 * 100vw - 1px));
    padding-right: max(10px,min(50px, 2 / 55 * 100vw - 1px));
}

#stateReportHeader{
    margin: 25px 50px 0 25px;
}

#stateReportClose {
    background: rgb(255, 255, 255); /* Fallback for older browsers without RGBA-support */
    background: rgba(255, 255, 255, 0.75);
    opacity:0;
    width: 50px;
    height: 50px;
    position: fixed;
    float: right;
    padding: 10px;
    border-radius: 15px;
    transform: translateY(-50vh);

}
#stateReportClose.mobile {
    right: 0;
    top: calc(50% + 40px);
    margin-right: calc(50vw - min(800px, calc(100% - 20px))/2 + 10px);
}
#stateReportClose.desktop {
    top: calc(50% + 55px);
    right: 5px;
    margin-right: 60px;
}

#stateReportCloseButton:hover {
    fill: #c64d2d;
}

#stateReportCloseButton {
    font-size: 25px;
}

#stateReportClose2 {
    float: right;
}

#headerTextContainer{
    margin: 10px -40px 30px -30px;
}

#stateReportGradeContainer{
    vertical-align: top;
    padding-right:5px;
}

#stateReportGradeContainer.mobile{
    width: 80px;
}

#stateReportGradeContainer.desktop{
    width: 100px;
}

#stateReportTitleContainer{
    vertical-align: top;
}

#stateReportGradeTitle {
    font-family: 'Inter variable', sans-serif;
    text-align: left;
    font-weight: bold;
    padding-top: 1px;
}


#stateReportLetterGrade {
    position: relative;
    left: -5px;
    font-size: 120px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 300;
    text-align: left;
    height: 140px;
    line-height: 1.05;
}

#stateReportStateName {
    font-family: 'Inter variable', sans-serif;
    font-weight: bold;
    margin-bottom: 0.618034rem !important;
    letter-spacing: 0.1rem;
}

#stateReportGovernorName {
    margin-bottom: 0.618034rem !important;

}

#stateReportStateLegislature {
    font-family: 'Inter variable', sans-serif;
}

#stateReportGovernorTookOffice {
    font-family: 'Inter variable', sans-serif;
}


#stateReportWriteUp {
    font-family: 'Inter variable', sans-serif;
    padding: 0 15px 35px 20px;
}
