@CHARSET "ISO-8859-1";

:root{
    --main-purple: rgb(134, 29, 255);
    --black-back-icons: rgb(67, 67, 72);
    --grey-principal: rgb(217, 217, 218);
    --second-grey: rgb(239, 239, 239);
	--color-green: #00a878;
	--color-red: #fe5e41;
	--color-button: #fdffff;
}

BODY {
	background : #ffffff;
	font : 14px "Atkinson Hyperlegible", "Open Sans", "Tahoma";
	color: #000000;
	text-align: center;
	margin:0;
}

.container {
	width: 100%;
	background-color: #ffffff;
	margin: 0 auto;
	display: grid;
}

/* Cookie popup */
#cookie-popup {
	display: none;
	flex-direction: row;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #f1f1f1;
	padding: 10px;
	text-align: center;
	background-color: white;
	border-top: 2px solid var(--black-back-icons);
	z-index: 1;
}

@media screen and (max-width: 1000px) {
	#cookie-popup {
		flex-direction: column;
	}
}

#cookie-popup-text {
	flex: 6;
}

#cookie-popup-buttons {
	flex: 4;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media screen and (max-width: 580px) {
	#cookie-popup-buttons {
		flex-wrap: wrap;
	}
}

#accept-cookies, #reject-cookies, #config-cookies, #save-changes-cookie, #activate-cookies {
	background-color: var(--main-purple);
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 8px 30px;
	transition: all .3s ease;
	border: none;
	display: inline-block;
	margin: 3px 4px;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	box-sizing: border-box;
}

#config-cookies {
	background-color: white;
	color: var(--black-back-icons);
	border: 1px solid var(--black-back-icons);
}

#config-cookies:hover {
	background-color: var(--black-back-icons);
	color: white;
}

#cookie-modal-content {
	width: 700px;
	padding: 20px;
	padding-bottom: 10px;
	display: flex;
	flex-direction: column;
}

@media screen and (max-width: 800px) {
	#cookie-modal-content {
		width: 80%;
	}
}

.cookie-main {
	border-bottom: 2px solid var(--second-grey);
}

#modal-config-cookies h2 {
	margin: 5px;
	float: left;
}

#modal-config-cookies p {
	text-align: left;
	flex: 5;
}

.cookie-tecniques {
	display:flex;
	flex-direction: column;
}

.cookie-tecniques h3 {
	text-align: left;
	margin-bottom: 0px;
}

.cookie-config-item {
	display: flex;
	flex-direction: row;
}

.switch-button {
	display: inline-block;
	align-items: center;
	justify-content: center;
	display: grid;
	flex: 1;
}

#fondo-gris {
	background-color: var(--grey-principal);
	border-radius: 35px;
	width: 60px;
	height: 35px;
	position:relative;
}

#circulo {
	background-color: white;
	border-radius: 50%;
	width: 35px;
	height: 35px;
	position: absolute;
	box-shadow: inset 0px 0px 0px 1px black;
	right: 0px;
}

.switch-button .switch-button__checkbox {
	display: none;
}

.switch-button .switch-button__label {
	background-color: var(--color-red);
	width: 60px;
	height: 35px;
	border-radius: 3rem;
	display: inline-block;
	position: relative;
}

.switch-button .switch-button__label:before {
	transition: .2s;
	display: block;
	position: absolute;
	width: 35px;
	height: 35px;
	background-color: var(--color-button);
	content: '';
	border-radius: 50%;
	box-shadow: inset 0px 0px 0px 1px black;
}

.switch-button .switch-button__checkbox:checked + .switch-button__label {
	background-color: var(--color-green);
}

.switch-button .switch-button__checkbox:checked + .switch-button__label:before {
	transform: translateX(2rem);
}

.cookie-footer {
	display: flex;
	flex-direction: row;
	gap: 10px;
	float:left;
	padding:10px;
	padding-bottom: 0px;
}

/* Header notice */
.notice_header {
	width:980px;
	text-align: center;
	vertical-align: middle;
	height:40px;
	margin-bottom:10px;
	margin-top: 15px;
	padding-left: 20px;
	padding-top: 10px;
	background-color: #E8E8E8;
	font-weight: bold;
}
 
/* Header */

.header {
	margin-bottom: 10px;
	margin-top: 20px;
	padding: 0;
	display: flex;
}

@media screen and (min-width: 700px) {

	.header {
		padding-left: 10px;
	}
}

.phone-header {
	display: flex;
	flex: 1;
}

.icon_IERMB {
	flex: 1;
	text-align:center;
}

@media screen and (min-width: 700px) {

	.icon_IERMB {
		text-align:right;
	}
}

.simba-title {
	background-color: var(--main-purple);
	flex: 5;
	display: grid;
}

.just-simba {
	color:white;
	font-size: 24px;
	padding: 10px 10px;
	font-weight: bold;
	text-align: center;
	align-self: center;
}

@media screen and (min-width: 701px) {
	.just-simba {
		text-align: right;
	}
}

.txt_title {
    font-size: 22px;
    top: 4px;
    position: relative;
	flex: 1;
	left: 10px;
}

.if-phone-screen {
	display: none;
}


 /* Top bar */

.bar_buttons_main_menu {
	color: var(--black-back-icons);
	margin-top: 25px;
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
}

.buttons_area {
	float: left;
}

.buttons_area a {
	color: var(--black-back-icons);
	text-decoration: none;
	padding-right:25px;
	transition: 0.5s;
	line-height: 20px;
	vertical-align: middle;
	font-size: 15px;
}

.menu_user {
	float: right;
}

.menu_user a {
	text-decoration: none;
	color: var(--black-back-icons);
}

.submenu_user {
	display: flex;
	flex-direction: row;
	float:right;
}

.submenu_user a {
	color: var(--black-back-icons);
	text-decoration: none;
	transition: 0.5s;
	padding-left: 25px;
	font-size: 15px;
}

.unroll_menu_user{
	display: none;
}


@media screen and (max-width: 675px) {
	.unroll_menu_user img {
		float: right;
		top: -5px;
		position: relative;
	}

	.menu_user {
		display: flex;
		flex-direction: column;
		position: absolute;
		right: 5px;
	}

	.unroll_menu_user {
		display: block;
	}

	.submenu_user {
		display: none;
		flex-direction: column;
		background-color: white;
		position: relative;
	}

	.submenu_user a:hover {
		background-color: var(--second-grey);
	}

	.submenu_user a {
		padding: 5px;
		border: 2px solid var(--second-grey);
		border-bottom: 1px solid var(--second-grey);
	}
}

.login-with-phone {
	display: none;
}

@media screen and (max-width: 420px) {
	.login-with-phone {
		display: block;
		padding-left: 0 !important;
	}
	.login-text-menu {
		display: none;
	}
}


/* INTRODUCTION CONTAINER */

.introduction-container {
	display: none;
	padding-left: 10px;
	padding-right: 10px;
}

.image-bcn {
	background-color: var(--main-purple);
	position:relative;

	flex: 1;
}

.image-bcn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-purple);
  z-index: 1;
  opacity: 0.4;
}

.image-bcn img {
	width: 100%;
	display: block;
}

.image-bcn h2 {
  position: absolute;
  bottom: 15px;
  left: 15px;
  margin: 0;
  color: #fff;
  font-weight: lighter;
  z-index: 2;
}

.introduction-text {
	position: relative;
	border: 10px;
	background-color: var(--second-grey);
	flex:1;
}

.introduction-text p {
	position: absolute;
	top: 15px;
	left: 15px;
	margin: 0;
	text-align: left;
}

.introduction-text h2 {
	position: absolute;
	bottom: 15px;
	left: 15px;
	margin: 0;
	text-align: left;
	font-weight: lighter;
}

/* BODY */

.title_application {
	font-size:20px;
	text-align:center;
	width:100%;
	font-weight: bold;
	padding-top:10px;
	padding-bottom:10px;
}


/* foot */
.foot {
	display: flex;
	border-top: 1px solid var(--black-back-icons);
	margin-top: 15px;
	align-items: center;
}
.amb_icon, .links_footer {
	flex: 1;
	justify-content: left;
	text-align: left;
}

.links_footer a {
	text-decoration: none;
	color: inherit;
}


/* responsive layout */

@media screen and (min-width: 1500px) {
	.container {
		width: 1500px;
		justify-content: center;
	}
	.main_body {
		width: inherit;
	}
	.dt-scroll > div {
		width: inherit!important;
	}
}



@media screen and (max-width: 700px) {

	.image-bcn img {
		height: 140px;
	}

	.phone-header {
		display: grid;
	}

	.if-phone-screen {
		display: flex;
	}

	.txt_title {top: 0px;}

	.introduction-container{
		display: grid;
	}

	.introduction-text {
		display: grid;
		padding: 10px;
		gap: 10px;
	}

	.introduction-text h2 {
		order: 1;
		position: unset;
	}

	.introduction-text p {
		order: 2;
		position: unset;
	}

	.foot {
		display: grid;
		justify-content: center;
	}
}
