/* COLORS */
:root{
    --black: #202122;
    --white: #f8f9fa;
    --primary: #3366cc;
}



/* TYPOGRAPHY */
html {font-size: 100%;}
body {
    font-family: 'Roboto Slab', monospace;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom:0px !important;
}
h1, h2, h3, h4, h5 {
    margin: 1rem 0px;
    font-weight: 700;
    line-height: 1.75;
}
.large{font-size: 3.8rem;}
h1 {font-size: 3rem;}
h2 {
    font-size: 2rem;
    margin-bottom: 0px;
    margin-top: 2rem;
}
h3 {font-size: 1.953rem;}
h4 {font-size: 1.563rem;}
.small{font-size: 1.25rem;}
h5 {font-size: 1.25rem;}
h6 {font-size: 1rem;}
p {margin-bottom: 1rem; font-size:1.25rem; margin-top:0.5rem;}
ul{font-size:1.25rem;}
.footer-text, .tooltip-text {font-size: 0.8rem;}
a {color: var(--black);}
body.dark-mode a {color: var(--white);}
/* a:hover {opacity: 0.8;} */



/* STRUCTURE */
body{
    background-color: var(--white);
    color: var(--black);
    margin: 4% 25%;
}
body.dark-mode{
    background-color: var(--black);
    color: var(--white);
}
main{
    width:100%;
}


/* COLUMNS */
.col{
    float:left;
}
.col-2:after, .col-3:after, .col-4:after {
    content: "";
    display: table;
    clear: both;
}
/* 2 COL LAYOUT */
.col-2 .col:nth-child(1){
    width:49%;
    margin-right:1%;
    display:inline-block;
}
.col-2 .col:nth-child(2){
    width:49%;
    margin-left:1%;
    display:inline-block;
}


/* MOBILE STRUCTURE */
@media only screen and (max-width: 1200px) {
    body{margin:4% 12%;}
}
@media only screen and (max-width: 1000px) {
    body{margin:4%;}
    .card .number{
        width: 15% !important;
    }
    .card p{
        width: 85% !important;
    }
}
@media only screen and (max-width: 800px) {
    #navigation{
        float:none !important;
        display:block !important;
        margin:1rem 0px !important;
    }
    div.card-padded {
        padding: 1rem 2rem !important;
    }
    #date{
        font-size: 0.8rem !important;
        margin-top: 3.9rem !important;
    }
    h1{font-size:3rem !important;}
}
@media only screen and (max-width: 600px){
    .col{
        display: block !important;
        width: 100% !important;
        margin: 1% 0px !important;
    }
    footer div{float:none !important;}
}



/* FOOTER */
footer{
    margin-top:5rem;
    text-align:center;
}



/* CARD */
div.card {
    padding: 1rem 0px;
    background-color: var(--white);
    color: var(--black);
    margin: 0px 0px 3rem 0px;
    border-radius: 5px;
}
div.card-padded {
    padding: 2rem 4rem;
    background-color: var(--white);
    color: var(--black);
    margin: 0px;
    border-radius: 5px;
}
body.dark-mode div.card {
    padding: 1rem 0px;
    background-color: var(--black);
    color: var(--white);
    margin: 0px 0px 3rem 0px;
    border-radius: 5px;
}
body.dark-mode div.card-padded {
    padding: 2rem 4rem;
    background-color: var(--black);
    color: var(--white);
    margin: 0px;
    border-radius: 5px;
}


/* PRINT FORMAT */
@media print{
    @page :footer {display: none;}
    @page :header {display: none;}
    @page {
        size:auto;
        margin: 8% 8% 8% 8%;
    }
    body{
        background-color: var(--white);
        color: var(--black);
        margin: 4%;
    }
    body.dark-mode div.card, body.dark-mode div.card-padded {
        background-color: var(--white);
        color: var(--black);
    }
}






/* TOOLTIP */
.tooltip{
    position: relative;
}
/* .tooltip .tooltip-text {
    visibility: hidden;
    width: 35vw;
    color: var(--black);
    background-color: var(--white);
    text-align: right;
    padding: 0.55rem;
    /* margin-right:0.5rem; 
    position: absolute;
    z-index: 1;
    right: 100%;
    display: none;
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
} */

.tooltip .tooltip-text{
    visibility: hidden;
    width: auto;
    color: var(--black);
    background-color: var(--white);
    text-align: right;
    padding-top:0.5rem;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    display: none;
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
}
body.dark-mode .tooltip .tooltip-text {
    color: var(--white);
    background-color: var(--black);
}
.tooltip:hover .tooltip-text {
    visibility: visible;
    display: inline-block;
    cursor: pointer;
}
.tooltip:hover{
    cursor: pointer;
}
.tooltip:focus .tooltip-text, .tooltip-text:focus-within{
    visibility: visible !important;
    display: inline-block !important;
}

.source-icon{
    margin-bottom: 0.25rem;
    border-radius: 0.25rem;
    padding: 0.1rem;
    height: 1.25rem;
    width: 1.25rem;
    background-color: var(--black);
    border: 0.01rem var(--white) solid;
}






.card .date{
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    display: inline-block;
}
.card .source{
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    font-family: 'Roboto', sans-serif;
    margin-top: 0.5rem;
    margin-left:0.5rem;
}
header{
    margin-bottom:3rem;
}
footer{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}
footer button{
    display:inline-block;
    background: transparent;
    color: var(--black);
    border:none;
    padding: 0px;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}
body.dark-mode footer button{
    color: var(--white);
}
#no-list li{
    display:inline;
    margin-right:0.3rem;
    margin-left:0.3rem;
    white-space:nowrap;
}
#no-list{
    text-align:center;
    padding-left:0px;
    font-size:0.8rem;
    margin-top: 5rem;
}


#navigation{
    float:right;
    margin-top:3.5rem;
}
header h1{
    display:inline-block;
}
#navigation img{
    width: 2rem;
    padding: 0px;
    margin-left:0.55rem;
}
#navigation img{
    transform: scale(0.9);
}
#navigation img:hover, #navigation img:focus, #navigation a.active img{
    transform: scale(1) !important;    
}
#navigation a{
    opacity: 0.2;
}
#navigation a:hover, #navigation a:focus, #navigation a.active{
    opacity: 1;
}

.card .number{
    padding-top: 0.75rem;
    vertical-align: top;
    display: inline-block;
    width: 8%;
}

.card p{
    display: inline-block;
    width: 92%;
}

#date{
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    float: right;
    display: inline;
    margin-top: 4.5rem;
}


/* contact form */
#contact-form input, #contact-form textarea{
    width:100%;
    font-family: 'Roboto';
    padding: 0.25rem;
}
#contact-form button{
    background: var(--black);
    color: var(--white);
    border:none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-family: 'Roboto';
}
body.dark-mode #contact-form button{
    color: var(--black);
    background: var(--white);
}
#contact-form{
    margin-left: 20%;
    max-width: 60%;
    margin-top:5rem;
}