/* General */

html, body {
	background-color: rgb(245, 245, 245);
	font-size: 16px;    
	font-weight: 400;
    font-family: 'Source Sans Pro',sans-serif;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

p {
	font-size: 1rem;
    margin-bottom: 0;
}

a,
a:active,
a:visited {
	text-decoration: none;
	color: inherit;
}

h1 {
    text-shadow: rgb(0 0 0 / 25%) 0px 4px 4px;
    font-size: 2rem;
}

h2 {
	font-weight: normal;
	font-size: 1.5rem;
}

/* ESTRUCTURA STYLES */

header {
	width: 100%;
	padding: 30px 0;
	border-radius: 20px 20px 20px;
}

.container {
	padding: 0 20px;
}

header .header__container {
	max-width: 95%;
	margin-left: auto;
}

.header__items {
	display: flex;
	align-items: center;
	justify-content: space-between; 
	width: 100%;
	height: 100%;
}

header .header__container .header__items .header-logo-sas {
	width: 30%;
}

.classSizeAll {
    height: 99%;
    width: 100%;
}

.classBackGroundBody {
    background: #087021;
}

.classFondo {
    border-radius: 20px 20px 0px 0px;
    background: rgb(255, 255, 255);
}	

.classTitle1 {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 33px;
    text-align: center;
    text-shadow: rgb(0 0 0 / 25%) 0px 4px 4px;
}

.help {
    margin-right: 30px;
    font-size: 18px;
    float: right;
}

.header-logo-sas {
	display: inline-block;
}

.header-logo-sas img{
	max-width: 100%;
}

.help {
	cursor: pointer;
}

.page {
/*     position: relative; */
    max-width: 1170px;
    margin: 0 auto;
}

/* LOGO INFO */

.option {
    width: 220px;
    border-radius: 10px;
	margin: 40px auto 0 auto;
	box-shadow: rgb(205 205 205) 2px 2px 16px 3px;
	cursor: pointer;
}

.option .option__image {
	vertical-align: bottom;
	width: 75px;
	padding-top: 20px;
	margin-bottom: -38px;
	margin-left: 25px;
    pointer-events: none;
}

.option .option__image img {
	max-width: 100%;
    border: 2px solid #b9adad
}

.optionButton {
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    border-radius: 6px;
    vertical-align: middle;
}

.logo-info-img {
	display: flex;
	height: 80px;
}

.info {
	text-align: right;
}

.info .info__text {
    margin: 0;
    padding: 10px;
    font-size: 15px;
    background: #164872;
    border-bottom-left-radius: 10px;
    color: rgb(255, 255, 255);
    border-bottom-right-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}


.info .info__image img {
    max-width: 100%;
    vertical-align: bottom;
    height: auto;
}

/* Formulario datos paciente */

fieldset {
	margin-bottom: 30px;
	padding: 0;
	border: none;
}

fieldset input.nuhsa,
fieldset .fecha-nacimiento input {
	width: 97%;
	padding: 8px 0 8px 5px;
	box-shadow: none;
	font-size: 1rem;
    font-family: sans-serif;
    font-weight: 200;
}

@media (max-width: 768px) {
	fieldset input.nuhsa,
	fieldset .fecha-nacimiento input {
		font-size: 10px;
	}
}

fieldset .fecha-nacimiento input {
	margin-bottom: 10px;
}

label {
	display: block;
	text-align: left;
	margin-bottom: 5px;
	font-weight: 600;
}

label::after {
	content: '*';
	color: red;
}

.accept-terms {
	margin-bottom: 40px;
}

.terminos-junta {
	padding: 10px;
	text-align: left;
}

/* Cabecera Junta de Andalucia */

.container__junta,
.success__header {
	text-align: center;
	width: 100%;
	line-height: 100px;
}

.logo-junta {
	width: 20%;
	display: block;
	margin: 10px auto;
}

.junta-image {
	width: 80%;
	margin: auto;
}



/* ERRORES */

/* Errores de formulario */

.error__message {
	display: block;
	color: red;
	padding: 20px;
}

#bind-form .ui-message-error {
	color: rgb(231, 79, 77);
	background-color: unset;
	border: none;
	padding: 0;
	margin-bottom: 10px;
}

#bind-form .ui-message-error .ui-message-error-detail {
	margin: 0;
}

/* Pagina de error */

.error {
	margin: 0 auto;
}

.error__header .logo-junta {
	width: 20%;
	display: inline-block;
	margin: 0;
}

.error__header .junta-image {
	width: 80%;
	display: inline-block;
	margin: 0;
}

.error__description,
.success__description {
	font-size: 20px;
    font-weight: 400;
    font-family: 'Source Sans Pro',sans-serif;
    margin: 30px 0;
}

@media (max-width: 410px) {
	.error__text .error__title {
		font-size: 20px;
	}
	
	.error__text .error__description {
		font-size: 16px;
	}
}


/* Exito */

.success__message {
	padding: 20px;
	border: 1px solid #d8d8d8;
    border-radius: 2px;
}

.circle {
	width: 100px;
    border: 1px solid rgb(8, 112, 33);
    height: 100px;
    position: relative;
    border-radius: 50%;
    margin: 0 auto;
}

.circle::before {
    content: '';
    position: absolute;
    display: block;
    width: 50px;
	height: 25px;
    border: 1px solid green;
    transform: rotate(320deg) translate(-30%, -40%);
    -ms-transform: rotate(320deg) translate(-30%, -40%);
    left: 45%;
    top: 30%;
    border-top: wheat;
    border-right: wheat;
    animation: animateTick 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes animateTick {
	
	0% {
		width: 0px;
		height: 0px;
	}
	
	50%{
		height: 25px;
	}
	
	100% {
		width: 50px;
	}
}
	

/* HEADER */
header {
	background-color: rgb(255, 255, 255);
}

/* Logo Libreview */

#block-clicsalud .clearfix a{
	background: url("/monitorizacionglucosa/javax.faces.resource/images/icon-libreview.jpg.xhtml") right top;
	background-size: 90px;
	background-repeat: no-repeat;
	width: 90px;
}

@media (max-width: 768px) {
	#block-clicsalud .clearfix a{
		background-size: 70px;
		width: 70px;
	}
}


/* HEADER -- MENU */

#superfish-main li ul {
	visibility: hidden;
	pointer-events: none;
}

#superfish-main li:hover ul {
	visibility: visible;
	pointer-events: all;
}

/* Botones */

#content .button {
    width: auto;
    height: auto;
    padding: 15px 25px;
    background-color: white;
    color: rgb(8, 112, 33);
    text-transform: uppercase;
    font-weight: 700;
	font-size: 13px;
    border: 2px solid rgb(8, 112, 33);
    border-radius: 10px;
    font-family: sans-serif;
    cursor: pointer;
    margin: 0;
/*     transition: background-color, color 1s; */
}

.button--success {
	margin: 15px;
}

#content .button:hover {
	background-color: rgb(8, 112, 33);
	color: rgb(255, 255, 255);
}

/* INDEX */

.mensaje-inicial {
	display: inline-block;
	font-size: 20px;
    font-weight: 600;
    font-family: 'Source Sans Pro',sans-serif;
    text-align: center;
}

.mensaje-inicial--agradecimiento{
	display: block;	
}

#formulario-terminos {
	position: relative;
	min-height: 100px;
}

#formulario-terminos .button {
	position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%)
}

/* REGISTRO */
#bind-form {
	margin-top: 20px;
}

#bind-form fieldset {
	background-color: rgb(245,245,245);
	border-radius: 10px;
	padding: 0 10px 30px 30px;
}

#bind-form fieldset legend {
	position: relative;
	top: -27px;
	font-size: 25px;
}

#bind-form input {
	display: block;
	border: 1px solid rgb(8,112,33);
}

#bind-form input:focus {
	border-color: rgb(17,231,68);
	outline: 0;
	box-shadow: 0 0 0 0.2rem rgb(8 112 33 / 25%)
}

#bind-form input[type="checkbox"] {
	display: inline-block;
	height: auto;
	margin-right: 10px;
}

#bind-form .button {
	display: block;
	width: 20%;
	margin: 0 auto;
}

@media (max-width: 768px) {
	#bind-form fieldset {
		padding-left: 10px;
	}
	#bind-form .button {
		width: 40%;
	}
}

/* SUCCESS */
#success-form {
	text-align: center;
}

#success-form p {
	margin: 10px 0 10px 0;
}

/* MANUAL STYLES */

.manual .manual__content .pages__content p {
	margin: 15px 0;
}

.manual .manual__content .pages__content img {
	max-width: 100%;
}

.manual .manual__content .pages__content .previous-register {
	text-decoration: underline;
}

.manual .manual__content .pages__content .previous-register span {
	font-weight: bold;
}

/* USER MODAL */

#user-modal.ui-dialog {
	position: absolute;
    padding: 0;
    left: 50%;
    top: 50%;
    overflow: hidden;
    z-index: 9999;
    width: 80%;
    height: 90%;
    transform: translate(-50%, -50%);
}

#user-modal_modal.ui-widget-overlay {
	background-color: rgba(0, 0, 0, 0.6);
	width: 100%;
	height: 100%;
	z-index: 1;
}

#user-modal.ui-dialog .ui-dialog-titlebar {
    padding: 10px;
    position: absolute;
    border: 0px;
    right: 0;
    z-index: 1;
    background: none;
}

.ui-dialog .ui-dialog-title {
    float: none;
    margin: 0;
}

#user-modal .ui-dialog-content {
	height: 100%;
	padding: 0 3em;
}

@media (max-width: 768px) {
	#user-modal.ui-dialog {
		width: 90%;
	}

	#user-modal .ui-dialog-content {
		padding: 0 1em;
	}
}


.ui-dialog-content::-webkit-scrollbar,
.ui-datepicker-year::-webkit-scrollbar {
    width: 5px;
}

.ui-dialog-content::-webkit-scrollbar-track,
.ui-datepicker-year::-webkit-scrollbar-track {
    background-color: white;
}

.ui-dialog-content::-webkit-scrollbar-thumb,
.ui-datepicker-year::-webkit-scrollbar-thumb {
    background-color: rgb(205, 205, 205);
    border-radius: 20px;
    transition: all 2s linear;
}

/* Datepicker fecha nacimiento */

.ui-datepicker {
	border: 0 none;
	box-shadow: 0 2px 4px -1px rgba(0,0,0,.2),
				0 4px 5px 0 rgba(0,0,0,.14),
				0 1px 10px 0 rgba(0,0,0,.12);
	font-family: none;
}


.ui-datepicker .ui-datepicker-header {
	background: white;
	border-color: rgb(231, 231, 231);
}

.ui-datepicker .ui-datepicker-div .ui-datepicker-header .ui-state-hover {
	background: none;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default,
.ui-datepicker .ui-datepicker-calendar .ui-state-active,
.ui-datepicker .ui-datepicker-calendar .ui-state-highlight {
	display: inline-block;
	text-shadow: none;
    border: 0 none;
    padding: 0;
    text-align: center;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    border-radius: 50%;
   	transition: background-color .2s,
			    color .2s,
			    border-color .2s,
			    box-shadow .2s,
			    opacity .2s;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default {
    background: none;
    color: rgb(161, 161, 161);
}

.ui-datepicker .ui-datepicker-calendar .ui-state-active {
    background: rgb(227, 242, 253);
    color: rgb(57, 128, 60) !important;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-highlight {
    color: rgb(40, 163, 45);
    font-weight: 600;
    background: transparent;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-default:hover {
	background: rgb(233, 236, 239);
    border-color: transparent;
}

.ui-datepicker-title .ui-datepicker-month,
.ui-datepicker-title .ui-datepicker-year {
	font-family: none;
    border-color: rgb(189, 193, 197);
    border-radius: 5px;
    color: rgb(58, 58, 58);
}

@media (max-width: 768px) {
	#ui-datepicker-div.ui-datepicker.ui-widget.ui-widget-content {
		width: 75%;
	}
	
	#ui-datepicker-div.ui-datepicker.ui-widget.ui-widget-content .ui-datepicker-calendar .ui-state-default {
		width: 30px;
	}
}


	