body {
	background-color: #CCCCCC;
	font-family: Arial;
	line-height: 20px;
	word-wrap: break-word;
}

h1,h2,h3,h4,h6,h8 {margin:1em 0 1em 0;padding:0;color:#222222;}

a,a:link,a:active,a:visited {color:/*col-1*/#256EAB;text-decoration:none;} /* #1C5482  */

a:hover {color:/*col-1*/#256EAB;}

a img {border:0;text-decoration:none;background-color: transparent;} /* last needed to remove gray background in IE10 */

b, strong {
	font-weight: bolder; /* Correct font weight in Chrome, Edge, and Safari */
}

small {
	font-size: 90%; /* Correct font size in all browsers */

}

large {
	font-size: 110%; /* Correct font size in all browsers */

}

/* Prevent `sub` and `sup` elements from affecting the line height in all browsers. */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	-ms-interpolation-mode: bicubic;
	border: 0;
	border-style: none;
	height: auto;
	max-width: 100%; /* Adhere to container width. */
	vertical-align: middle;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
    border-collapse: collapse;
}

tr.border-bottom {
    border-bottom: 1px solid black;
}
/* Change the font styles in all browsers. Remove the margin in Firefox and Safari. */

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

textarea {
	overflow: auto; /* Remove the default vertical scrollbar in IE 10+. */
}


#page-content {
	margin: 0 auto 60px;
	padding: 20px;
	background-color: #FFFFFF;
}

#main-content {
	float: left;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

#login-field {
    width: 40%;
	float: right;
    right: 0;
	padding-top: 20px;
}

#sidebar {
    width: 50%;
	float: right;
    top: 0;
    right: 0;
}

#login-panel {
/*	background-color: #EFEFEF;*/
}

#sidebar input {
	margin: 10px 20px;
	max-width: 80%;
}

#header {
	float: left;
	text-align: center;
    width: 100%;
}

#header input {
	margin: 5px;
	max-width: 140px;
}

#header-mobile {
	display: none;
}

#menu {
	text-align: left;
	border-bottom: #CCCCCC 2px solid;
}

#footer {
	clear: both;
	width: auto;
	text-align: center;
	border-top: #CCCCCC 2px solid;
}

.testnew { /* To check if css is detected correctly or not */
	font-size: 120%;
	font-weight: bold;
    color:/*col-1*/#256EAB;    
}


/*#####################################*/
/*            Dropdown menu            */
/*#####################################*/

.dropdown-content {
      display: none;
      position: absolute;
	  text-align: left;
      margin-left: 0;
      width: 300px;
      overflow: auto;
      box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
      background-color: #FFFFFF;
      z-index: 999;
}

.dropdown:hover .dropdown-content {
      display: block;
}

.dropdown-content a {
      display: block;
      color: #000000;
      padding: 5px;
      text-decoration: none;
}

.dropdown-content a:hover {
      color: /*col-1*/#256EAB;
      background-color: #EFEFEF;
}

/* Version 2: Navigator bar */

.navbar {
    background-color: #FFF;
    position: relative;
    z-index: 998;
    width: 100%;
    text-align: center;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    display: inline-block;
}

.navbar li a {
    color: /*col-1*/#256EAB;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
}

.navbar ul ul {
    position: absolute;
    top: 100%;
    display: none;
    background-color: #FFF;
}

.navbar ul ul li {
    display: block;
}

.navbar li:hover ul {
    display: block;
}

.navbar ul ul li a:hover {
    background-color: #EFEFEF;
}


/*#####################################*/
/*         Main page infobox           */
/*#####################################*/

.overview {
	width: 100%;
    background: #EFEFEF;    
	display: flex;
	justify-content: space-between;
}

.newsbox { /* 1 larger column to the left */
	width: 45%;
	float: left;
    left: 0;
	display: flex;
/*	flex-flow: row wrap;*/
	justify-content: space-between;
    background: #EFEFEF;   /* needed for mobile version (for large screen via overview box) */
	padding-top: 1em;    
/*    white-space: nowrap;*/
}

.infobox { /* 1-2 infocol inside infobox */
	width: 55%;
	float: right;
    right: 0;
	display: flex;
/*	flex-flow: row wrap;*/
	justify-content: space-between;
    background: #EFEFEF;   /* needed for mobile version (for large screen via overview box) */ 
	padding-top: 1em;    
}

.multicolumns { /* 1 or 3 infocols inside 100% area */
	width: 100%;
	float: right;
    right: 0;
	display: flex;
/*	flex-flow: row wrap;*/
	justify-content: space-between;
    background: #EFEFEF;   /* needed for mobile version (for large screen via overview box) */ 
	padding-top: 1em;    
}

.doublecolumns { /* 1 or 2 infocols inside 100% area */
	width: 100%;
	float: right;
    right: 0;
	display: flex;
/*	flex-flow: row wrap;*/
	justify-content: space-between;
    background: #EFEFEF;   /* needed for mobile version (for large screen via overview box) */ 
	padding-top: 1em;    
}


.infocol {
	width: 90%;
	position: relative;    
    background: #EFEFEF;  
    margin-left: 5%;
	margin-right: 5%;
}

.infowrap {
	width: 90%;
	position: relative;    
	margin-bottom: 1em;
    background: #ccc;
    padding-left: 5%;
    padding-right: 5%;
    padding-top:5px;
    padding-bottom:5px;
}

.infotitle {
	font-size: 120%;
	font-weight: bold;
    color:/*col-1*/#256EAB;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 10px;
	border-bottom: #666 2px solid;
}

.infobody {
	font-size: 100%;
	text-align: justify;
	margin-top: 10px;
	margin-bottom: 10px;
}



/*#####################################*/
/*         Responsive Design           */
/*#####################################*/

.adjustable-input { /* Used for forms to have different input field sizes */
    width:300px;
}

.adjustable-input-large { /* Used for forms to have different input field sizes */
    width:100%;
}


@media screen and (min-width: 1324px) {
	#page-content {
		width: 70%;
	}
    
    .dropdown {
        display: none;
    }

    .infobox {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
    }
    
    .multicolumns {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
    }

    .doublecolumns {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
    }

    html {
        overflow-y:scroll;
    }
    
}

@media screen and (min-width: 1044px) and (max-width: 1324px) {
	#page-content {
		width: 80%;
	}

    .dropdown {
        display: none;
    }

    .newsbox {
        width: 60%;
    }
    
    .infobox {
        width: 40%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
    }

    .multicolumns {
        /*width: 40%;*/
		display: grid;
		grid-template-columns: repeat(3, 1fr);
    }

    .doublecolumns {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
    }

    html {
        overflow-y:scroll;
    }
    
}

@media screen and (min-width: 544px) and (max-width: 1044px) {
	#page-content {
		width: 90%;
	}

    .dropdown {
        display: none;
    }

    #sidebar {
		display: none;
	}
	#header {
		display: none;
	}
	#header-mobile {
		display: block;
	}

    .newsbox {
        width: 60%;
    }
    
    .infobox {
        width: 40%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
    }

    .multicolumns {
        /*width: 40%;*/
		display: grid;
		grid-template-columns: repeat(1, 1fr);
    }

    .doublecolumns {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
    }

    html {
        overflow-y:scroll;
    }
    
}

@media screen and (max-width: 544px) {
	#page-content {
		width: auto;
		margin: 0;
	}
/*	#main-content {
		float: left;
		width: 100%;
	}*/
    .navbar {
        display: none;
    }

    #sidebar {
		display: none;
	}
	#header {
		display: none;
	}
	#header-mobile {
		display: block;
	}

    .overview {
	   display: block;
    }
    
    .newsbox {
        width: 100%;
    }
    
    .infobox {
        width: 100%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
		/*max-width: 600px;
		padding-left: 5%;
		padding-right: 5%;  */      
    }

    /* Defined exactly like infobox, but does not work... */
    .multicolumns {
        width: 100%;
		display: grid;
		grid-template-columns: repeat(1, 1fr);
    }

    .doublecolumns {
		display: grid;
		grid-template-columns: repeat(1, 1fr);
    }

    .wrap {
		/*width: 100%; /*280px;*/
		/*padding: 1em;
		top: 80%;       */ 
    }
    
    .adjustable-input {
        width:150px;
    }
    .adjustable-input-large {
        width:150px;
    }
}