/*
Theme Name: Aesblo
Description: Used to style the TinyMCE editor.
*/


/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Typography
 * 3.0 - Elements
 * 4.0 - Media
 * 	 4.1 - Captions
 * 	 4.2 - Galleries
 * 5.0 - Alignments
 * 6.0 - Media queries
 */

/**
 * 1.0 - Reset
 */
 
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 20px;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

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

td,
th {
	padding: 0;
}

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}


/**
 * 2.0 - Typography
 */

body {
	font: 100%/1.5 'Alegreya Sans', sans-serif;
  color: #333	
	margin: 2em;
	max-width: 900px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 2em 0 0.75em;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

h1 {
	font-size: 1.5em;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.2em;
}

h5 {
	font-size: 1.1em;
}

h6 {
	font-size: 1em;
}

p {
	margin: 0 0 1em;
}

a:link {
    color: #04756F;;
    text-decoration: underline;
}

a:visited {
    color: #333;
}

blockquote,
q {
    position: relative;	
}

blockquote:before,
q:before {
  content: "\201C";
	display: block;
	color: #D90000;
  position: absolute;
  left: 0.1em;
  top: 0;
  line-height: 1em;
}

blockquote {
  background-color: #f9f9f9;
	margin: 0 0 1.5em;
  font-size: 1.2em;
  padding: 1em 1em 1em 1.5em;
	border-radius: 0.5em;
}

blockquote:before{
  font-size: 3em; 
}

cite {
	font-size: 0.8em;
	font-style: italic;
	color: #666; 
}

blockquote p:last-child {
    margin-bottom: 0;
}

q {
	padding: 0.2em 0.2em 0.2em 1.2em;
	border-radius: 0.2em;
	background-color: #eee;
}

q:before {
	margin-right: 1em;
	font-size: 2.5em;
}

q:after {
	content: '';
}

address {
	margin-bottom: 1.5em;
}

abbr[title],
acronym[title] {
	border-bottom: 1px dotted #999;
	cursor: help;
}

code, kbd, pre, samp {
	font-size: 0.8em;
}

big {
	font-size: 1.25em;
}

kbd {
	background-color: #333;
	color: white;
	padding: 0.2em 0.3em;
	border-radius: 0.25em;
}


pre {
	border: 1px solid #eee;
	background-color: #f9f9f9;
	padding: 1em;
	max-width: 100%;
	white-space: pre-wrap;
	margin: 0 0 1.5em;
}

figure {
	margin: 0;
}


/**
 * 3.0 - Elements
 */
 
table {
	width: 100%;
	margin: 0 0 1.5em;
}

table caption {
	font-weight: 700;
	font-size: 1.2em;
	margin-bottom: 0.83em;
}

th,
td {
	border: 1px solid #ccc !important;
	padding: 0.5em;
}

dl {
	margin: 0 0 1.5em;
	padding: 0;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 0.5em;
	padding: 0;
}

ul,
ol {
	margin: 0 0 1.5em;
	padding: 0 0 0 1.5em;
}

li ul,
li ol {
	margin-bottom: 0;
}



img {
	max-width: 100%;
	height: auto;
}

hr {
    border: 0;
    border-bottom: 1px dashed #ccc;
    background: #999;
    margin: 1.5em 0;
}

del {
	opacity: 0.8;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="url"],
textarea {
	border: none;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	transition: 1s;
	border-radius: 0;
	box-shadow: none;	
}

input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
textarea:focus {
	outline: none;
	border-bottom: 1px solid rgba(0,0,0,0.5);
}

button,
input[type="button"],
input[type="submit"] {
	position: relative;
	outline: none;
	background: rgba(4,117,111,0.8);
	color: white;
	border: none;
	padding: 0.8em 1.2em 0.7em;
	box-shadow: 0 5px rgba(4,117,111,1);
	top: -5px;
	text-transform: uppercase;
	letter-spacing: 1px;
	vertical-align: bottom;
}

embed, 
iframe, 
object, 
video {
	max-width: 100%
}


/**
 * 4.0 - Media
 */
 
.video-player,
.wp-video {
	margin-bottom: 1.5em;
}


/**
 * 4.1 - Captions
 */

.wp-caption {
	max-width: 100%;
	margin-bottom: 1.5em;
}

.wp-caption-text {
	text-align: center;
	margin: 0.5em 0;
	font-style: italic;
}

.attachment .wp-caption-text {
	color: gray;
}


/**
 * 4.2 - Galleries
 */
 
.gallery {
    margin-bottom: 1.5em;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.3%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery .gallery-item {
    width: 100%;
    display: inline-block;
    text-align: center;
    vertical-align: top;
    padding: 2%;
}

.gallery .gallery-caption {
  padding: 0 0.5em;
	font-size: 0.9em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption,
.gallery-columns-10 .gallery-caption {
    display: none;
}


/**
 * 5.0 - Alignments
 */

.alignleft {
	float: left;
	margin: 0 1em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1em;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}


/**
 * 6.0 - Media queries
 */

@media screen and ( min-width: 601px ) {
	
	/* Typography */
	body {
		font-size: 1.2em;
	}
	
	h1 {
		font-size: 2em;
	}

	h2 {
		font-size: 1.75em;
	}

	h3 {
		font-size: 1.5em;
	}

	h4 {
		font-size: 1.25em;
	}

	h5 {
		font-size: 1.125em;
	}

	h6 {
		font-size: 1em;
	}

	.site-main {
		font-size: 1.2em;
	}

	blockquote {
		padding: 1.5em;
	}

	blockquote:before {
		left: 0.2em;
	}
	
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		margin-bottom: 1em;
	}	
	
	p {
		margin-bottom: 1.5em;
	}
	
	blockquote,
	pre {
		margin-bottom: 2em;
	}
	
	/* Elements */
	table,
	dl,
	ul,
	ol {
		margin-bottom: 2em;
	}
	
	hr {
		margin: 2em 0;
	}				
}