/*-------------------------------------------------------------
						
						CSS Reset
						
--------------------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/ 2. v2.0 | 20110126
  License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*-------  Further CSS Reset  ---------*/

a {
	text-decoration: none;
	color: #2D2D2E;
}


/*-------------------------------------------------------------
						
						Body
						
--------------------------------------------------------------*/

body {
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    line-height: 22px;
    font-size: 16px;
    color: #2D2D2E;
    background-color: white; 
    /*overflow-y: scroll;*/
    width: 100vw;
    /*background: url('../img/euparliament.jpg');
    background-size: cover;
    background-repeat: no-repeat;*/


}

html, body {
	overflow-x: hidden;
}


/*-------------------------------------------------------------
						
						Login
						
--------------------------------------------------------------*/

#loginsection {
	display: flex;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: linear-gradient(#0b9444, #1d1d1e);
	background: #1d1d1e;
	justify-content: center;
	align-items: center;
	align-content: center;
}

#loginform {
	display: block;
	width: 350px;
	height: 360px;
	background: white;
	box-sizing: border-box;
	padding: 40px;
	border-radius: 5px;
	text-align: center;
	
	position: relative;
}

#loginform img {
	display: block;
	width: 60px;
	height: auto;
	margin: 0 auto;
	margin-bottom: 20px;
	
	
	position: absolute;
	top: -20px;
	left: calc(50% - 30px);
	background: white;
	border-radius: 50px;
}

#loginform h2, h2 {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 26px;
	font-weight: bold;
	line-height: 30px;
	margin-bottom: 30px;
	margin-top: 30px;
}

#loginform input {
	display: block;
	width: 100%;
	border-radius: 5px;
	border: none;
	padding: 10px;
	line-height: 20px;
	font-size: 16px;
	background: #e4e4e4;
	margin-bottom: 20px;
	text-align: center;
	border: 1px solid #e4e4e4;

}

#loginform input:focus {
	outline: none;
	border-color: #0b9444;
}

#loginform button{
	display: block;
	min-width: 150px;
	max-width: 70%;
	margin: 0 auto;
	margin-top: 30px;
	padding: 10px 15px;
	line-height: 30px;
	font-size: 16px;
	color: white;
	background: #0b9444;
	border: 1px solid #0b9444;
	border-radius: 5px;
	
	transition-property: color, background;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

#loginform button:hover {
	background: white;
	color: #0b9444;
	cursor: pointer;
}

#cmsloginlogo {
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 50px;
	height: auto;
}


/*-------------------------------------------------------------
						
						Header
						
--------------------------------------------------------------*/

header {
	display: block;
	width: 100%;
	height: 60px;
	padding: 0 50px;
	box-sizing: border-box;
	background: #0b9444;
	/*border-bottom: 5px solid #5156ee;*/

	
	
	/*box-shadow: none;
	background: rgba(0, 0, 0, 0.78);*/
}

#logo {
	display: inline-block;
	margin-top: 0;
	margin-top: 15px;
	height: 30px;
	width: auto;
}

header h1 {
	display: block;
	margin-top: 15px;
	height: 30px;
	line-height: 30px;
	font-weight: bold;
	font-size: 23px;
	display: inline-block;
	color: white;
	vertical-align: top;
}

header h1 a {
	color: white;
	transition-property: color;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

header h1 a:hover{
	color: #00b537;
}

header nav {
	display: block;
	width: auto;
	text-align: right;
	height: 40px;
	margin-top: 0px;
	vertical-align: top;
	float: right;
}

header nav a {
	margin: 0 1vw;
	text-decoration: none;
	display: inline-block;
	height: 40px;
	line-height: 40px;
	vertical-align: top;
	font-size: 16px;
	color: white;
	border-radius: 5px;
	border: 0px solid #5156ee;
	transition-property: color, border, background;
	transition-duration: .3s;
	transition-timing-function: ease-out;
	box-sizing: border-box;
	font-weight: bold;
}

header nav span {
	text-decoration: none;
	display: inline-block;
	height: 40px;
	line-height: 40px;
	vertical-align: top;
	font-size: 16px;
	color: #ffce00;
}

header nav a img {
	display: block;
	width: 20px;
	height: auto;
}

header nav a:last-child {
	margin-right: 0;
}

header nav a:hover {
	
	color: #ffce00;
	cursor: pointer;
}

#menubutton {
	display: none;
}

#slogan {
	display: none;
	position: absolute;
	top: 0;
	left: 160px;
	color: white;
	line-height: 90px;
	height: 90px;
	font-weight: normal;
	font-size: 18px;
}

nav a img {
	display: inline-block;
	width: auto;
	height: 20px;
	margin-top: 30px;
}


#profile {
	display: block;
	width: auto;
	text-align: right;
	height: 50px;
	margin-top: 0px;
	vertical-align: top;
	float: right;
}

#profile img {
	display: inline-block;
	height: 20px;
	width: auto;
	margin-top: 20px;
}

#profile span {
	display: inline-block;
	height: 30px;
	line-height: 30px;
	font-size: 16px;
	margin-top: 15px;
	margin-left: 10px;
	margin-right: 30px;
	color: white;
	vertical-align: top;
}

/*-------------------------------------------------------------
						
						Aside
						
--------------------------------------------------------------*/

aside {
	display: inline-block;
	width: 400px;
	height: calc(100vh - 60px);
	background: #1d1d1e;
	padding: 30px 50px;
	vertical-align: top;
	box-sizing: border-box;
}

aside a {
	display: block;
	color: white;
	margin: 20px 0px;
	font-size: 18px;
	line-height: 25px;
	transition-property: color;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

aside a:hover {
	cursor: pointer;
	color: #0b9444;
}





#container {
	display: inline-block;
	width: calc(100vw - 400px);
	height: calc(100vh - 60px);
	background: white;
	vertical-align: top;
	box-sizing: border-box;
	overflow-y: scroll;
	padding: 30px 50px;
}


#content {
	display: block;
	background: white;
	width: 100%;
	padding: 30px 50px;
}

#container h2 {
	margin-top: 10px;
}

b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}


#newstitle {
	display: block;
	width: 100%;
	padding: 10px;
	line-height: 25px;
	font-size: 16px;
	margin-bottom: 20px;
	border: 1px solid #cccccc;
	font-weight: bold;
	
}

#newstitle:focus {
	outline: none;
	border-color: #0b9444;
}



#editorcontainer {
	display: block;
	width: 100%;
	height: 600px;
	margin-bottom: 90px;
}


#submit {
	display: block;
	min-width: 100px;
	width: auto;
	margin: 0 auto;
	margin-top: 0px;
	padding: 10px 15px;
	line-height: 30px;
	font-size: 16px;
	color: white;
	background: #0b9444;
	border: 1px solid #0b9444;
	border-radius: 5px;
	
	transition-property: color, background;
	transition-duration: .3s;
	transition-timing-function: ease-out;
}

#submit:hover {
	background: white;
	color: #0b9444;
	cursor: pointer;
}

#editorcontainer button:hover  {
	filter: grayscale(100%) invert(31%) sepia(53%) saturate(5616%) hue-rotate(139deg) brightness(98%) contrast(91%);
}

#editorcontainer button.ql-active  {
	filter: grayscale(100%) invert(31%) sepia(53%) saturate(5616%) hue-rotate(139deg) brightness(98%) contrast(91%);
}

#editor strong {
	color: #00246c;
}

#editor p, #editor ul, #editor ol {
	margin-bottom: 20px;
}







.listednews {
	display: block;
	position: relative;
	width: 100%;
	padding: 20px 0;
	padding-right: 40px;
	box-sizing: border-box;
	border-top: 1px solid #2d2d2e;
}

.listednews:last-of-type {
	border-bottom: 1px solid #2d2d2e;
}

.listednews h4 {
	display: block;
	font-weight: bold;
	margin-bottom: 5px;
	font-size: 17px;
}


.listednews img {
	display: block;
	height: 20px;
	width: auto;
	position: absolute;	
	right: 0px;
}

.listednews img:hover  {
	filter: grayscale(100%) invert(31%) sepia(53%) saturate(5616%) hue-rotate(139deg) brightness(98%) contrast(91%);
	cursor: pointer;
}


.edit {
	top: 15px;
}

.trash {
	top: 50px;
}