html {
	width: 100%;
	height: 100%;
    padding: 0;
    margin: 0;
}

@font-face {
	font-family: 'open_sanssemibold';
	src: url('../fonts/opensans-semibold-webfont.woff2') format('woff2'),
	url('../opensans-semibold-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'arvoregular';
    src: url('../fonts/arvo-regular-webfont.woff2') format('woff2'),
         url('../fonts/arvo-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'arvobold';
    src: url('../fonts/arvo-bold-webfont.woff2') format('woff2'),
         url('../fonts/arvo-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
	width: 100%;
	height: fit-content;
    min-height: 100vh;
	padding: 0;
	margin: 0;
	font-family: "Century Gothic",CenturyGothic,AppleGothic,sans-serif; 
    overflow-x: hidden;
    position: absolute;
}


#head {
    top: 0;
    left: 0;
    width: 90%;
    height: fit-content;
	position: fixed;
    padding: 20px 5% 20px 5%;
    background: whitesmoke;
    vertical-align: middle;
    z-index: 900;
    box-shadow: 0px 1px 9px 0.6px grey;
}

#head.fixed-top > h1 {
	font-size: calc(16px + 1.5vw);
    margin: 11px 0 0 0;

}

#head.fixed-top > object {
    display: none;
}

#head.fixed-top > div > a.icon {
    margin-top: -1px !important;
}

#head.fixed-top > div > button.icon {
    margin-top: -1px !important;
}



#head.fixed-top {
    height: auto;
    min-height: 50px;
    padding: 10px 5% 10px 5%;
}

object.logo {
    float: left;
    width: 9vw;
    max-width: initial;
    margin-top: 0.03%;
}

object.select {
    width: 75%;
    height: auto;
    margin-left: 22.5%;
    pointer-events: none;
}


h1 {
    font-family: arvoregular;
	font-size: calc(27px + 1.5vw);
    text-align: left;
    letter-spacing: 0.33vw;
    float: left;
    margin-top: 2.5%%
}

h2 {
	font-size: calc(15px + 1vw);
	line-height: initial;
    position: relative;
    color:#ff014d;
    
}

h2.info {
    width: 100%;
    text-align: center;
    letter-spacing: 0.04em;
}

h2.popup {
    font-family: arvoregular;
	font-size: calc(25px + 1vw);
    padding: 5%;
    text-align: left;
    color: #477CE6;
}

h3 {
    font-family: arvoregular;
	font-size: calc(15px + 1vw);
    margin: 0.4em 0 0.4em 0.5em;
    color: #477CE6;
}

#popup {
    top: 0;
    display: none;
    position: fixed;
    z-index: 950;
    background-color: whitesmoke;
    width: 90vw;
    height: 80vh;
    border: #477CE6 10px solid;
    box-shadow: 3px 3px 17px 2px grey, 0px 40px 122px 100px whitesmoke;
    margin: 10vh 5vw;
    overflow-y: scroll;
}

#popup.show {
    display: block;
}

#popupclose {
    position: fixed;
    top: 10px;
    right: 10px;
    width: auto;
    height: auto;
    color: #ff014d;
    font-size: 26px;
    text-align: center;
    font-weight: 600;
    border: 5px solid #ff014d;
    padding: 3px 10px;
}

#popupclose:hover, #popupclose:focus {
    color: #ff014d;
    background-color: white;
    border: 5px solid black;
} 

p.popup {
    font-size: calc(15px + 1vw);
    padding-left: 5%;
    padding-right: 5%;
    line-height: 1.8;
}

.infohead {
    width: 90%;
    margin: 10vw 0 0 0;
    position: relative;
    padding: 5% 5% 0 5%;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: initial;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    width: 120px;
    top: 130%;
    left: 50%;
    margin-left: -60px;
}

/* Show the tooltip text when you mouse over the tooltip container */
    .tooltip:hover .tooltiptext, .tooltip:focus-within .tooltiptext  {
    visibility: visible;
}

.container.center {
    width: 90%;
    /*overflow-X: hidden;*/
    padding: 0 2% 0 5%;
    padding-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}



.container.icons {
    display: flex;
    float: right;
    margin: 0 0 0 0;
    padding: 0;
}

.website {
    position: relative;
    background-color: whitesmoke; 
    width: 39.8%;
    height: auto;
    /*min-height: 333px;*/
    float: left;
    margin: 4%;
    border: 10px solid whitesmoke;
    box-shadow: 0px 0.1px 5px 0px grey;
    border-radius: 5px;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;

}

.website:hover, .website:focus-within {
    -webkit-box-shadow:0px 1px 10px 1px grey, inset 0px 0px 0px 5px #ff014d;
    -moz-box-shadow:0px 1px 10px 1px grey, inset 0px 0px 0px 5px #ff014d;
    box-shadow:0px 1px 10px 1px grey, inset 0px 0px 0px 5px #ff014d;
}

.infotext {
    display: none;
}


.website:hover .infotext, .website:focus-within .infotext { 
    display: inline; 
}

.website:hover object.select, .website:focus-within object.select { 
    visibility: hidden; 
}


.spacer {
    margin: 0;
    padding: 0;
    position: relative;
}

.spacer#vertical-small {
    float: left;
    width: 3vw;
    height: 50px;
}

a.icon, #popup_button {
    height: 2vw;
    width: 2vw;
    min-height: 40px;
    min-width: 40px;
    float: left;
    font-size: calc(15px + 1vw);
    text-align: center;
    font-weight: 900;
    border: 4px solid whitesmoke;
    border-radius: 5px;
    box-shadow: 0px 0.1px 5px 0px grey;
    margin: 32px 0 0 20px;
    padding: 5px;
    box-sizing: content-box;
    background-color: #e8e6e1;
    color: #477CE6;
    cursor: pointer;
}

a.icon:hover, a.icon:focus, #popup_button:hover, #popup_button:focus {
    border: 4px solid #477CE6;
    color: #477CE6;
    background-color: white;
    box-shadow: 0px 0.8px 7px 0.6px grey;
}

.container.icons {
    float: right;
    margin-right: -20px;
}

#innerhelpbutton, #innerthesisbutton, #innerforumbutton {
    position: relative;
    width: 100%;
    pointer-events: none;
}

a.select {
    height: 100%;
    width: 100%;
}


a {
	display: inline;
	position: relative;
	float: left;
    margin: 1%;
    text-decoration: none; 
}



a:hover, a:focus-within {
    color: black;
}

ul {
    position: absolute;
    top: 20%;
    left: 1%;    
    list-style: none;
    padding-left: 20px;
    color: black;
    width: 90%;

}

li::marker {
    padding-left: 60px;

}

li {
	font-size: calc(8px + 1vw);
    /*padding-left: calc(20px + 2vw);  */
    width: 95%;
    list-style: none;
    list-style-image: none;
    margin-left: 20px;
    padding-left: 6px;
    list-style-image: url(../img/li_arrow_small_2.png);
}

#hrfooter {
    width: 100%;
    z-index: 1000;
    position: absolute;
    left: 0;
    border: #424242 solid 1px;
}


footer {
	position: relative;
	bottom: 0;
	height: 70px;
	background: whitesmoke;
	text-align: center;
	box-sizing: border-box;
	/* padding: 27px 33% 10px 38%; */
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer, a.footer {
	width: auto;
	margin: 0 0 15px 0;
	flex-wrap: wrap;
	flex-direction: column;
	display: flex;
}


p.footer > a {
    margin: initial!important;
}

p.footer {
	width: 25em;
	margin: 0 0 0 0;
}



@media only screen and (min-width: 768px) and (max-width: 1150px) {
    h1 {
        display: none;
    }  
    
    h3 {
        font-size: calc(15px + 2vw);
        margin-top: 0;
    }

    object.select {
        margin-top: 20px;
        display: inline; 
    }
    li {
        font-size: calc(7.6px + 1vw);
        width: 89%;
    }
    a.icon, #popup_button {
        margin-top: 18px;
    }
}



@media only screen and (max-width: 768px) {
    h1 {
        display: none;
    }  
    
    h2 {
        font-size: calc(18px + 1vw);
        line-height: initial;
    }
    
    h3 {
        font-size: calc(18px + 1vw);
        margin-left: 1.3em;
    }
    
    object.logo {
        width: 22vw;
    }
    
    .infohead {
        margin: 16vh 0 0 0;
    }

    a {
        font-size: 15px;
        padding: 10px 20px 10px 20px;
        margin: 5px 15px 15px 5px;
    }
    
    a.select {
        width: 100%;
        padding: 0;
    }

    #popup {
        height: 78vh;
        width: auto;
        overflow-y: auto;
        margin: 5vh 5vw;
        border: 5px #477CE6 solid;
        padding-top: 30px;
        
    }
    
    #popupclose {
        position: fixed;
        top: 5vh;
        right: 5vw;
        width: 50px;
        height: 50px;
    }
    
    .container.icons {
        margin-right: -2px;
    }
    
    .website {
        width: 80%;
        height: auto;
    }
    
    .icon {
        margin-top: 12px !important ;
    }
    
    .infotext {
        display: inline;
        position: relative;
        /*left: 12px;*/
    }
    
    object.select {
        margin: 0.8em 0 1em 1.7em;
    }
    
    .website:hover object.select, .website:focus-within object.select { 
        opacity: 0.5;    
        visibility: visible;
    }
    
    li {
        padding-left: calc(3px + 2vw);
        width: 77%;
        font-size: calc(14px + 1vw);
    }
    
    #head.fixed-top > img {
        height: 60px;
        display: block;
        margin-top: -4px;
    }
    
    img.logo {
        width: 13vw;
        margin-top: 1.03%;
    }
    
    a.footer {
        left: 0;
    }
}
