/**************************
 * editor/editor-style.css
 * Stylesheet for editor tinymce
 * @package: Dadiflat 1.0
 * @date 19.06.2016
 *************************/

/**
 * 1. Links
 */
a { 
	border-bottom: 1px dashed;
	text-decoration: none; 
}

/**
 * 2. Heads
 */
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	margin: .83em 0;
	line-height: normal;
}

h1 { font-size: 2em; }
h2 { font-size: 1.66em; }
h3 { font-size: 1.33em; }
h4 { font-size: 1.11em; }
h5 { font-size: 1em; }
h6 { font-size: .77rem; }

/**
 * 3. blockquotes
 */
blockquote {
	margin: 1em 40px;
	position: relative;
}

blockquote:before {
	content: "\f106";
    font-size: 2rem;
    font-family: genericons;
    -moz-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    -o-transform: scale(-1, 1);
    -ms-transform: scale(-1, 1);
    transform: scale(-1, 1);
    display: inline-block;
    position: absolute;
    top: 1px;
    left: -45px;
}

/**
 * 4. Tables
 */
table { width: 100%; }

table, td, th {
	border-collapse: collapse;
	border: 1px solid #ccc;
}

caption {
	border: 1px solid #ccc;
}

td, th, caption {
	padding: 10px;
}

/**
 * 5. Definitions List
 */
dl {
	margin: 1em 0px;
}

dt {
	font-weight: bold;
}

dd {
	margin-left: 40px;
}

ul, ol {
	margin: 1em 0;
}

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

/**
 * 6. Html tags
 */
address, cite, em, i, var { font-style: italic; }

pre { 
    font-family: monospace;
    white-space: pre;
    margin: 1em 0px 1em;
}

acronym {
	text-transform: uppercase;
	letter-spacing: 1px;
}

big {
	font-size: larger;
}

code, kbd, tt {
	font-family: monospace;
	font-size: .8555555555555rem;
}

del, strike {
	text-decoration: line-through;
}

ins {
	text-decoration: underline;
}

q:before {
	content: open-quote;
}

q:after {
	content: close-quote;
}

p {
	margin: 0 0 1em;
}

html * {
 -ms-word-wrap: break-word;
 word-wrap: break-word;
}

/**
 * 7. Fields
 */
input[type="text"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="email"],
input[type="url"],
textarea {
    border-radius: 4px;
    box-shadow: inset 4px 8px 36px -9px rgba(66, 64, 64, 0.15);
    padding: 10px;
    outline: none;
    border: 1px solid #ccc;
}

input[type="submit"], button {
	outline: none;
	padding: 10px 10px 8px;
    border: 0 none;
    border-radius: 4px;
    border-bottom: 4px solid;
    font-weight: bold;
}

textarea { width: 100%; }

/**
 * 8. Images
 */
.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}
 
img {
	height: auto;
	max-width: 100%;
	vertical-align: middle;
}
 
.alignleft {
	float: left;
	margin: 0 20px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 20px;
}

.aligncenter {
	text-align: center;
	margin: 0 auto;
}

/**
 * 9. Captions
 */
.wp-caption {
	margin-bottom: 1.15em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption .wp-caption-text {
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

/**
 * 10. Gallery
 */
.gallery {
	margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	padding: 0 1.1400652% 2.2801304%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

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

.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-columns-10 .gallery-item {
	max-width: 10%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}
 
/**
 * 11. Iframe, embed, video and object
 */
embed,
iframe,
object,
video {
	margin-bottom: 1.75em;
	max-width: 100%;
	vertical-align: middle;
}

p > embed,
p > iframe,
p > object,
p > video {
	margin-bottom: 0;
}

/**
 * 12. The Body
 */

body#tinymce {
	margin: 20px auto;
	width: 80%;
	font-family: "Open Sans", sans-serif;
}
