body {
	margin:0;
	padding:0;
	background-color:#ccc;
}

img {
	vertical-align:bottom;	
}

.contenido {
	position:relative;
	background-color:#000;
	height:427px;
	width:100%;
	min-width:640px;
}

#caja {
	position:relative;
	text-align:right;
	width:100%;
	height:100%;
}

#foto{
	height:100%;
	max-height:427px;
	width:auto;
}

.textos {
	position: absolute;
	top: 20%;
	left: 5%;
	width: 50%;
	color: #FFFFFF;
	font-family: Helvetica, Arial, sans-serif;
	font-size: large;
}

#persona {
	font-style: italic;
}

nav {
	position:absolute;
	width:100%;
	bottom:10px;
	z-index:100;
}

nav ul {
	list-style-type:none;
	padding:0;
	margin:0;
	display:flex;
	flex-flow: row;
	justify-content: center;
	width:100px;
	margin-left:auto;
	margin-right:auto;
}

    nav li {
        margin: 2px;
    }

nav a {
	display:block;
	width:10px;
	height:10px;
	background-color: white;
	border-radius:50%;
}

nav a.on{
	background-color: orange;
}

nav a.off{
	background-color: white;
}

nav a:hover {
	background-color: red;
}

.contenido #datos {
	margin-top:5vh;
	margin-left: 10%;
	margin-right:10%;
	display:none;
}

.contenido #datos div {
	padding: 0.5em;
	background-color: #D4D4D4;
	border: 1px solid #000000;
	margin-bottom:0.2em;
	text-overflow: ellipsis;
	border-radius: 6px;
}

div[contenteditable='true']:empty:not(:focus):before,
div#persona_d:empty:not(:focus):before,
div#frase_d:empty:not(:focus):before,
div#foto_d:empty:not(:focus):before {
    content: attr(data-text);
    color: #ddd;
}

div#persona_d:empty:not(:focus):before,
div#frase_d:empty:not(:focus):before,
div#foto_d:empty:not(:focus):before {
    color: #aaa;
}

.editar {
	background-color: #626262;
	padding: 0.2em;
	text-align: right;
	height:28px;
	cursor:pointer;
}

.editar img {
	padding: 6px;
	border-radius:50%;
}

.editar:hover > img {
	background-color: #000000;
}

.contenido #datos div#botones {
	border: 1px none #000000;
	background-color:#ccc;
}

div #botones ul {
	margin:0;
	padding:0;
	list-style-type:none;
	display:flex;
	flex-direction: row;
	justify-content: flex-end;
}

div #botones ul li {
}

div #botones ul li img {
	width:20px;
	height:20px;
	padding: 0.3em;
	border-radius:50%;
	background-color: #626262;
	margin-right:0.3em;
}

div #botones ul li img:hover {
	background-color: white;
}






.resultado {
    font-family: 'Fira Sans', serif;
    font-size: 12pt;
    border: 1px solid #8ed9f6;
    background: #e3f7fc;
    padding: 10px;
    line-height: 30px;
    border-radius: 25px 25px 25px 25px;
    -moz-border-radius: 25px 25px 25px 25px;
    -webkit-border-radius: 25px 25px 25px 25px;
}

    .resultado h3 {
        font-size: 20pt;
    }

.titulo {
    font-family: 'Roboto', serif;
    font-size: 24pt;
    text-shadow: 4px 4px 4px #aaa;
    text-align: center;
    background: rgba(147,206,222,1);
    background: -moz-linear-gradient(left, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(147,206,222,1)), color-stop(41%, rgba(117,189,209,1)), color-stop(100%, rgba(73,165,191,1)));
    background: -webkit-linear-gradient(left, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
    background: -o-linear-gradient(left, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
    background: -ms-linear-gradient(left, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
    background: linear-gradient(to right, rgba(147,206,222,1) 0%, rgba(117,189,209,1) 41%, rgba(73,165,191,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#93cede', endColorstr='#49a5bf', GradientType=1 );
    border-radius: 25px 25px 25px 25px;
    -moz-border-radius: 25px 25px 25px 25px;
    -webkit-border-radius: 25px 25px 25px 25px;
}