/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */

/*
 * Body
 */

body {
	margin: 0;
	padding: 0;
	background: #fff;
}

.node-type-petition .change-theme #navigation .menu-name-main-menu .menu.inline li a {
	text-transform: none;
	font-size: 16px;

}

.node-type-petition .change-theme .first-row {
	display: none;
}

.node-type-petition .change-theme #navigation .region {
	position: relative;
	top: 0;
}

.node-type-petition #header.change-theme #logo img {
	bottom: 0;
}

#skip-link {
	margin: 0;
}

#skip-link a, #skip-link a:visited {
	display: block;
	width: 100%;
	padding: 2px 0 3px 0;
	text-align: center;
	background-color: #666;
	color: #fff;
}

#header {
	height: 100px;
	display: flex;
}

#logo {
	/* Wrapping link for logo */
	margin: 0;
	padding: 0;
}
#logo .logo-image {
	height: 65%;
	background: transparent;
	position: relative;
	top: 35px;
}

.front #logo-container {
	/* width: 305px; */
	height: 102px;
	margin-right: 40px;
	/* float: left; */
}

.not-front #logo-container {
	width: 200px;
	height: 90px;
	float: left;
}

.not-front #logo img {
	position: relative;
	/* top: 20px; */
	/* bottom: 10px; */
	/* width: 200px; */
}

#name-and-slogan {
	/* Wrapper for website name and slogan */
	float: left;
}

#site-name {
	/* The name of the website */
	margin: 0;
	font-size: 2em;
	line-height: 1.5em;
}

#site-name a:link, #site-name a:visited {
	color: #000;
	text-decoration: none;
}

#site-name a:hover, #site-name a:focus {
	text-decoration: underline;
}

#site-slogan {
	/* The slogan (or tagline) of a website */
	margin: 0;
	font-size: 1em;
}

.region-header {
	/* Wrapper for any blocks placed in the header region */
	clear: both;
	/* Clear the logo */
}

.page-signit-register #main {
	margin-bottom: 150px;
}

#content {
	padding-bottom: 20px;
}
/* select language */
#content article .links {
display: none;
flex-direction: column;
justify-self: center;
text-align: center;
}
@media(max-width: 1024px) {
	#content article .links {
		position: absolute;
		left: 85%;
	}
}
@media(max-width: 425px) {
	#content {
		padding-bottom: 0;
	}
	#content article .links {
		display: none;
	}
}
#content article .links li {
	margin: .5em 0 0 0;
}
#content article .links li a {
	color: #424242;
}
#content article .links li a:hover {
	color: var(--blue);
}
.breadcrumb ol {
	margin: 0;
	padding: 0;
}

.breadcrumb li {
	display: inline;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

h1.title,
/* The title of the page */

h2.node-title,
/* Title of a piece of content when it is given in a list of content */

h2.block-title,
/* Block title */

h2.title,
/* Comment section heading */

h2.comment-form,
/* Comment form heading */

h3.title {
	/* Comment title */
	margin: 0;
}

h1.title {
	display: none;
}

div.messages {
	/* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
	margin: 1.5em 0;
	/* Drupal core uses "6px 0" margin */
}

div.messages ul {
	margin-top: 0;
	margin-bottom: 0;
}

ul.inline {
	/* List of links generated by theme_links() */
	display: inline;
	padding: 0;
}

ul.inline li {
	display: inline;
	list-style-type: none;
	padding: 0 0.5em 0 0;
	/* LTR */
}

ul.language-switcher-locale-url {
	display: inline;
	padding: 0;
}

span.field-label {
	/* The inline field label used by the Fences module */
	padding: 0 1em 0 0;
	/* LTR */
}

.item-list .pager {
	/* A list of page numbers when more than 1 page of content is available */
	padding: 0;
}

.item-list ul {
	margin-bottom: 0;
}

.item-list .pager li {
	/* Each page number in the pager list */
	color: #888;
	border: 1px solid #ccc;
	padding: 2px 8px;
	font-size: 14px;
	margin: 0px 2px;
}

.item-list .pager li a {
	color: #888;
}

#footer {
	border: 1px solid red;
}

 #bottom {
	/* position: fixed; */
	width: 100%;
	height: auto;
	background: #f6f4f6;
	font-size: 16px;
	font-family: 'Roboto', sans-serif;
	letter-spacing: 1px;
}
@media(max-width: 425px) {
	 #bottom {
		display: flex;
		flex-direction: column;
	}
}
 #bottom #footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: stretch;
	max-width: 960px;
	margin: 0 auto;
	border-bottom: 1px solid #dbd9db;
}
@media(max-width: 425px) {
	 #bottom #footer-links {
		margin: 0;
	}
}
@media(max-width: 425px){
	 #bottom #footer-links {
		max-width: 740px;
		display: grid;
		grid-template-columns: 50% 50%;
		grid-template-rows: auto;
		padding-bottom: 50px;
	}
}
 #bottom #footer-links .links-column {
	width: 25%;
}
@media(max-width: 767px) {
	 #bottom #footer-links .links-column {
		width: 50%;
	}
}
 #bottom #footer-links .ul-links-column {
	padding: 0;
	list-style: none;
}
@media(max-width: 767px) {
	 #bottom #footer-links .ul-links-column {
		width: 50%;
		margin: 1.5em auto;
	}
}
 #bottom #footer-links .ul-links-column li:first-of-type {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
	font-size: 13px;
}
 #bottom #footer-links .ul-links-column li {
	padding: 5px 0;
}
 #bottom #footer-links .ul-links-column li a {
	color: #555;
}
 .region-bottom .bottom-links li {
	display: none;
}
 .region-bottom .bottom-links li:first-of-type {
	display: block;
	font-size: 14px;
}
 #bottom .region-bottom .fb-tw,
 #bottom .region-bottom .start-petition,
 #bottom .region-bottom .standard-version {
	display: none;
}
@media(max-width: 768px) {
 #bottom {
	padding-left: 10px;
	overflow-x: hidden;
	width: auto;
}
}
@media(max-width: 425px) {
	 #bottom {
		position: relative;
		display: flex;
		max-width: 425px;
		height: auto;
	}
}

.region-bottom ul.bottom-links {
	margin-left: 10px;
}

.region-bottom .bottom-links li {
	font-size: 12px;
}

.region-bottom .bottom-links li a {
	color: #666;
}

.region-bottom .bottom-links li a:hover {
	color: #136cb5;
}

.region-bottom .fb-tw {
	position: relative;
	top: 4px;
	left: 30px;
}

.region-bottom .start-petition a {
	float: right;
	text-transform: uppercase;
	color: #ef2a13;
	font-size: 14px;
	font-weight: bold;
}

.region-bottom .start-petition img {
	position: relative;
	top: 4px;
}

.region-bottom .desktop-version li {
	display: none;
}

.page-join-us fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

.join-us-button {
	margin: 16px 0;
}
#bottom .new-language-selector {
	bottom: 2rem;
	padding-left: 2rem;
}
#bottom #the_language_selector {
	outline: none;
	background-color: #fff;
	border: 1px solid rgb(219, 217, 219);
	border-radius: 5px;
	cursor: pointer;
	height: 2.5rem;
	text-align: center;
	font-size: .8rem;
	margin-right: 14px;
	padding: 0 10px;
}

#bottom #the_language_selector option {
	background-color: #fff;
	color: black;
	cursor: pointer;
}
@media (max-width: 425px) {
	#bottom #the_language_selector {
		margin: 10px 0;
	}
}

#cookie_info {
	z-index: 100;
	position: fixed;
	width: 100%;
	height: 100%;
	opacity: 0;
	animation: show-cookie 1s ease-in-out 1 both;
	animation-delay: 3s;
	/* display: none; */
}
@keyframes show-cookie {
	100% {
		opacity: 1;
	}
}
.sidebar_first {
	position: absolute;
	top: 98vh;
	left: 68%;
	width: 200px;
	height: 250vh;
}
.sidebar_first .topics-title {
	color: #737273;
	letter-spacing: .144em;
	line-height: 1.09375;
	text-transform: uppercase;
	margin-bottom: 0;
}
.sidebar_first ul {
	position: sticky;
	top: 60px;
	left: 0;
}
.sidebar_first ul .topic-element {
	list-style: none;
	line-height: 1.5;
	margin: 15px 3px 5px;
	padding: 5px 10px;
	border: 1px solid var(--border-grey);
	border-radius: 5em;
	cursor: pointer;
	font-size: 12.8px;
	color: #737273;
	text-align: center;
}
.sidebar_first ul .topic-element:hover {
	border-color: var(--blue);
	color: var(--blue);
}
.cookie_info--hide {
	display: none;
}
#cookie_info::before {
	content: '';
	position: fixed;
	width: 100%;
	height: 100%;
	background-color: rgba(157,155,156, .83);
	/* display: none; */
}

#cookie_info.hide, .page-home #cookie_info.hide {
	animation-duration: 1s;
	/* bottom: -50px; */
	/* display: none; */
}

#cookie_info .cont {
	/* display: none; */
	position: relative;
	top: 70%;
	left: 50%;
	height: 30%;
	width: auto;
	transform: translateX(-50%);
	background: #fff;
	border: solid 1px #ccc;
}
@media(max-width: 425px) {
	#cookie_info .cont {
		height: 50%;
	}
}
#cookie_info .cont .cont_container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	max-width: 960px;
	margin: 0 auto;
	height: 100%;
}

#cookie_info .cont .cont_container .msg {
	display: inline-block;
	line-height: 1.5;
	color: #000;
	width: 60%;
	padding: 8px 16px;
	margin-bottom: 3rem;
}
#cookie_info .cont .cont-container .msg .msg-title {
font-weight: bold;
}
#cookie_info .cont .cont-container .msg .msg-text {
	padding: 8px 16px;
	font-size: 14px;
}

#cookie_info .cont .cont_container button {
	display: inline-block;
	position: relative;
	background: var(--blue);
	border: 2px solid var(--border-grey);
	border-radius: 5px;
	color: #fff;
	letter-spacing: 2px;
	font-weight: bold;
	line-height: .5;
	width: 200px;
	padding: 12px 18px;
	font-size: 16px;
	outline: none;
	transition: .2s ease-in-out;
	font-family: 'Roboto', sans-serif;
}
#cookie_info .cont .cont_container button:hover {
	box-shadow: 1px 1px 4px -1px var(--blue);
	background: #fff;
	color: var(--blue);
}
@media(max-width: 768px) {
	#cookie_info .cont .cont_container button {
		margin: 0 45px;
	}
}

@media (max-width: 767px), only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
	.page-home #cookie_info {
		bottom: 20%;
		top: initial;
	}
	#cookie_info {
		top: 10px;
		/* padding: 0 25px; */
		box-sizing: border-box;
	}
	#cookie_info .cont {
		width: 100%;
	}
	#cookie_info .cont .cont_container {
		/* flex-direction: column;
		justify-content: center;
		align-items: baseline; */
		display: grid;
		grid-template-columns: 100%;
		grid-template-rows: 50% 50%;
	}
	#cookie_info .cont .cont_container span.msg {
		/* width: 100%;
		padding-bottom: 0; */
		justify-self: center;
		align-self: start;
		width: 90%;
	}
	#cookie_info .cont .cont_container span.msg br {
		display: none;
	}
	#cookie_info .cont .cont_container button {
		/* position: relative;
		left: 100%;
		transform: translateX(-100%); */
		justify-self: center;
		align-self: end;
		bottom: 25%;
	}
}

@media all and (min-width: 768px) {
	#cookie_info {
		bottom: 0px;
	}
}

#bottom .region-bottom .language-selector {
	border: none;
	border-radius: 2px;
	background-color: rgb(230,230,230);
	color: #000;
	font-size: .8rem;
	cursor: pointer;
}
#bottom .region-bottom .language-selector>option {
	color: #000;
	background-color: transparent;
	transition: .2s ease-in-out;
}
#bottom .region-bottom .language-selector:hover > option {
	background-color: #fff;
}