/*
Theme Name: Tera Theme
Theme URI: 
Author: Xavier Gómez Facerias
Author URI: https://bezerik.es
Description: Tema exclusivo para la famosa gata Tera y su club de admiradores.
Tags: 
Version: 1.0
Requires at least: 5.0 
Tested up to: 5.4 
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teratheme is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others.
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   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,
blo ckquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* *******************************************
	css general
********************************************** */
html,
body {
	background: #d0ece7
}

body {
	max-width: 1000px;
	margin: 0 auto;
}

main,
div>header,
div>footer,
aside,
nav#navigation,
body.home section {
	padding: 20px;
	margin-bottom: 15px;
	background: rgba(255, 255, 255, 0.5);

	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-webkit-border-radius: 25px;

	/* Firefox 1-3.6 */
	-moz-border-radius: 25px;

	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	border-radius: 25px;
}

a {
	color: rgb(161, 86, 20);
}

a:visited {
	color: rgb(173, 10, 10);
}

h1 {
	font-size: 34px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

code {
	background: pink;
	border: 1px solid yellow;
}

header#header {
	display: flex;
}

header#header img {
	width: 90px;
	height: auto;
	margin-right: 20px;

	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-webkit-border-radius: 12px;

	/* Firefox 1-3.6 */
	-moz-border-radius: 12px;

	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	border-radius: 12px;
}

header#header .site-description {
	margin-top: 20px;
}


nav#navigation ul {
	display: flex;
	flex-direction: row;
}

nav#navigation ul li {
	margin-right: 10px;
}

nav#navigation ul li a {
	padding: 10px;
	text-decoration: none;
	border: 1px solid #fff;
	display: block;
}

nav#navigation ul li a:hover {
	background: rgba(0, 0, 0, 0.15);
	text-decoration: underline;
}

div.container {
	display: flex;
	flex-direction: row;
}

div.container main {
	width: 70%;
}

div.container aside {
	width: 30%;
	margin-left: 15px;
	box-sizing: border-box;
}

body.page-template-page-sidebarless div.container main,
body.error404 div.container main {
	width: 100%;
}

article {
	padding: 20px;
	background-color: rgba(0, 0, 0, 0.1);
	margin-bottom: 15px;

	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-webkit-border-radius: 12px;

	/* Firefox 1-3.6 */
	-moz-border-radius: 12px;

	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	border-radius: 12px;
}

article:last-child {
	margin-bottom: 0;
}

article img.wp-post-image {
	width: 100%;
	height: auto;
}

aside h2,
aside ul,
aside ol {
	margin-bottom: 15px;
}

aside h2 {
	font-weight: bold;
}

body.home section h3 {
	font-weight: bold;
	margin-bottom: 10px;
}

body.home section ul {
	display: flex;
	flex-direction: row;
	gap: 20px;
}

body.home section ul li {
	width: 33.33%;
	padding: 20px;
	background-color: rgba(0, 0, 0, 0.1);

	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-webkit-border-radius: 12px;

	/* Firefox 1-3.6 */
	-moz-border-radius: 12px;

	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	border-radius: 12px;
}

body.home section ul li article {
	background: none;
	padding: 0;
	margin: 0;
}

.post-navigation .nav-links {
	display: flex;
	margin-top: 20px;
}

.post-navigation .nav-links>div {
	width: 50%;
}

.post-navigation .nav-links .nav-next {
	text-align: right;
}

input#submit {
	background: rgb(161, 86, 20);
	color: white;
	padding: 10px;
	border: 0;
	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-webkit-border-radius: 12px;

	/* Firefox 1-3.6 */
	-moz-border-radius: 12px;

	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	border-radius: 12px;
	cursor: pointer;
}

input#submit:hover {
	text-decoration: underline;
}

#respond {
	margin-top: 20px;
}

#respond p {
	display: flex;
	margin-bottom: 10px;
	vertical-align: middle;
}

#respond p label {
	text-align: right;
	width: 25%;
	padding: 0 10px;
}

#respond p input[type=text],
#respond p textarea {
	width: 100%;
	padding: 10px;
}