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

/**
 * Table of Contents
 *
 * 1.0 - Body
 * 2.0 - Typography
 * 3.0 - Elements
 * 4.0 - Padding/Margin
 * 5.0 - Forms
 * 6.0 - Navigation
 *   6.1 - Links
 * 7.0 - Alignments
 * 8.0 - Content
 *    8.1 - Posts and pages
 * 9.0 - Media
 *    9.1 - Captions
 *    9.2 - Galleries
 * 10.0 - Media Queries
 *    10.1 - >= 640px
 *    10.2 - >= 1024px
 *    10.3 - >= 1200px
 *    10.4 - >= 1366px
 * 11.0 - Colors
 * 12.0 - RTL
 */


/**
 * 1.0 - Body
 */

body {
	margin: 30px 25px;
	max-width: 820px;
	vertical-align: baseline;
}


/**
 * 2.0 - Typography
 */

body,
button,
input,
select,
textarea {
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 400;
	font-family: 'PT Sans', sans-serif;
	line-height: 1.56;
}

.drop-cap:first-letter {
	font-size: 80px;
	font-size: 5rem;
	font-weight: 700;
	float: left;
	line-height: 0.6;
	margin: 9px 16px 7px -4px;
}

h1,
.mce-content-body h1 {
	font-size: 32px;
	font-size: 2rem;
	line-height: 1.33;
}

h2,
.mce-content-body h2 {
	font-size: 28px;
	font-size: 1.75rem;
	line-height: 1.3611;
}

h3,
.mce-content-body h3 {
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.25;
}

h4,
.mce-content-body h4 {
	font-size: 22px;
	font-size: 1.375rem;
	line-height: 1.46;
}

h5,
.mce-content-body h5 {
	font-size: 18px;
	font-size: 1.125rem;
	line-height: 1.4;
}

h6,
.mce-content-body h6 {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.56;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-weight: 700;
	margin: 42px 0 28px;
	text-rendering: optimizeLegibility;
}

p {
	font-size: inherit;
	margin: 0 0 28px;
}

p,
.mce-content-body {
	line-height: 1.5;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote:before,
blockquote:after {
	content: "";
	display: table;
	clear: both;
}

blockquote {
	border: 4px solid;
	border-width: 0 0 0 4px;
	line-height: 1.4;
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 28px;
	padding: 0 0 0 28px;
}

blockquote p {
	margin-bottom: 1.167em;
}

blockquote cite,
blockquote small {
	display: block;
	font-size: 13px;
	font-size: 0.0.8125rem;
	font-weight: 400;
}

blockquote em,
blockquote i,
blockquote cite {
	font-style: normal;
}

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

.wp-block-quote:not(.is-large):not(.is-style-large):before,
.wp-block-quote:not(.is-large):not(.is-style-large):after {
	content: none;
}

.wp-block-quote:not(.is-large):not(.is-style-large) {
	border: 4px solid #21759b;
	border-width: 0 0 0 4px;
	background-color: transparent;
	padding: 0 0 0 30px;
}

address {
	font-style: italic;
	margin: 0 0 28px;
}

code,
.mce-content-body code,
kbd,
.mce-content-body kbd,
tt,
.mce-content-body tt,
samp,
.mce-content-body samp {
	font-size: 1em;
	font-family: Inconsolata, monospace;
}

var,
.mce-content-body var  {
	font-family: Inconsolata, monospace;
	font-style: italic;
}

pre,
.mce-content-body pre {
	font-size: 1em;
	font-family: Courier,monospace;
	line-height: 1.56;
	margin: 0 0 28px;
	max-width: 100%;
	overflow: auto;
	padding: 35px;
	white-space: pre;
	white-space: pre-wrap;
	word-wrap: break-word;
}

code,
.mce-content-body code,
kbd,
.mce-content-body kbd {
	background-color: transparent;
	-webkit-border-radius: 0;
	border-radius: 0;
	margin: 0;
	padding: 0;
}

abbr,
acronym {
	border-bottom: 1px dotted #eee;
	cursor: help;
}

mark,
ins {
	text-decoration: none;
}

big {
	font-size: 125%;
}


/**
 * 3.0 - Elements
 */

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

hr {
	border: 0;
	height: 1px;
	margin: 0 auto 28px;
}

ul,
ol {
	margin: 0 0 28px 21px;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li {
	margin-bottom: 7px;
}

li > ul,
li > ol {
	margin-top: 7px;
	margin-bottom: 0;
}

dl {
	margin: 0 0 28px;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 28px 21px;
}

img {
	height: auto;/* Make sure images are scaled correctly. */
	max-width: 100%;/* Adhere to container width. */
	vertical-align: middle;
}

del {
	opacity: 0.8;
}

table,
.mce-item-table,
caption,
.mce-item-table caption,
th,
.mce-item-table th,
td ,
.mce-item-table td {
    border: 1px solid;
}

table,
.mce-item-table {
	border: 1px solid;
	border-width: 1px 0 0 1px;
	border-collapse: collapse;
	border-spacing: 0;
	margin: 0 0 28px;
	table-layout: fixed;/* Prevents HTML tables from becoming too wide */
	width: 100%;
}

caption,
.mce-item-table caption {
    font-weight: 700;
    text-align: center;
}

th,
.mce-item-table th,
td,
.mce-item-table td {
    text-align: left;
}

thead th {
	font-weight: 700;
}

th a {
	text-decoration: none;
}

caption,
th,
td {
    padding: 7px 14px;
}

.displaynone {
	display: none;
}

.displayblock {
	display: block;
}


/**
 * 4.0 - Padding/Margin
 */

.button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	padding: 14px 28px;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
	padding: 12px 14px;
}


/**
 * 5.0 - Forms
 */

input {
	line-height: normal;
}

.button,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
	-webkit-border-radius: 22px;
	border-radius: 22px;
	border: none;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.307692307692308;
	letter-spacing: 0.0769230769230769em;
	text-decoration: none;
	text-transform: uppercase;
	height: auto;
}

.button {
	box-shadow: none;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
	outline: thin dotted;
	outline-offset: -4px;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
	background-color: transparent;
	-webkit-border-radius: 0;
	border-radius: 0;
	border: 1px solid;
	font-size: 16px;
	font-size: 1rem;
	margin-top: 7px;
	width: 100%;
}

input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="month"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
	outline: 0;
}

.post-password-form {
	margin-bottom: 28px;
}

.post-password-form label {
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 1.75em;
	text-transform: uppercase;
}

.post-password-form input[type="password"] {
	margin-top: 7px;
}

.post-password-form > :last-child {
	margin-bottom: 0;
}


/**
 * 6.0 - Navigation
 */

/**
 * 6.1 - Links
 */

a {
	box-shadow: 0 1px 0 0 currentColor;
	text-decoration: none;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition:	all 0.2s ease-in-out;
}

a:hover,
a:focus,
a:active {
	box-shadow: none;
}

a:focus {
	outline: thin dotted;
}

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


/**
 * 7.0 - Alignments
 */

.alignleft {
	float: left;
	margin: 7px 28px 28px 0;
}

.alignright {
	float: right;
	margin: 7px 0 28px 28px;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 28px;
}


/**
 * 8.0 - Content
 */

/**
 * 8.1 - Posts and pages
 */

.more-link {
	clear: both;
	display: block;
	margin-top: 28px;
	word-wrap: break-word;
}

.more-button {
	-webkit-border-radius: 0px;
	border-radius: 0px;
	display: inline-block;
	padding: 11px 30px;
}

.page-links {
	clear: both;
	margin: 0 0 28px;
}

.page-links a,
.page-links > span {
	border: 1px solid;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	display: inline-block;
	font-size: 14px;
	font-size: 0.875rem;
	height: 35px;
	line-height: 35px;
	margin-right: 7px;
	text-align: center;
	text-decoration: none;
	width: 35px;
}

.page-links a:hover,
.page-links a:focus {
	border-color: transparent;
}

.page-links > .page-links-title {
	border: none;
	height: auto;
	margin: 0;
	padding-right: 7px;
	width: auto;
}

.entry-attachment {
	margin-bottom: 28px;
}

.entry-caption {
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 7px;
}

.entry-caption > :last-child {
	margin-bottom: 0;
}


/**
 * 9.0 - Media
 */

.avatar {
	border-radius: 50%;
}

.wp-smiley {
	border: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
}

a img {
	display: block;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object,
video {
	margin-bottom: 28px;
	max-width: 100%;
	vertical-align: middle;
}

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

.wp-audio-shortcode a,
.wp-playlist a {
	box-shadow: none;
}


/**
 * 9.1 - Captions
 */

.wp-caption {
	margin-bottom: 28px;
	max-width: 100%;
}

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

.wp-caption .wp-caption-text {
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.87;
	font-style: italic;
	text-align: center;
}


/**
 * 9.2 - Galleries
 */

.gallery {
	margin: 0 -1.1666667% 28px;
}

.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-icon img {
	margin: 0 auto;
}

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

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


/**
 * 10.0 - Media Queries
 */

/**
 * Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
 */

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}


/**
 * 10.1 - >= 640px
 */

@media screen and (min-width: 40em) {
	blockquote.alignright,
	blockquote.alignleft {
	    width: calc(50% - 0.736842105em);
	}
}


/**
 * 10.2 - >= 1024px
 */

@media screen and (min-width: 64em) {
	h1,
	.mce-content-body h1 {
		font-size: 36px;
		font-size: 2.25rem;
	}

	h2,
	.mce-content-body h2 {
		font-size: 32px;
		font-size: 2rem;
	}

	h3,
	.mce-content-body h3 {
		font-size: 28px;
		font-size: 1.75rem;
	}

	h4,
	.mce-content-body h4 {
		font-size: 24px;
		font-size: 1.5rem;
	}

	h5,
	.mce-content-body h5 {
		font-size: 22px;
		font-size: 1.375rem;
	}

	h6,
	.mce-content-body h6 {
		font-size: 18px;
		font-size: 1.125rem;
	}
}


/**
 * 10.3 - >= 1200px
 */

@media screen and (min-width: 75em) {
	caption,
	th,
	td {
	    padding: 14px 28px;
	}
}


/**
 * 10.4 - >= 1366px
 */

@media screen and (min-width: 85.375em) {
	h1,
	.mce-content-body h1 {
		font-size: 42px;
		font-size: 2.625rem;
	}

	h2,
	.mce-content-body h2 {
		font-size: 36px;
		font-size: 2.25rem;
	}

	h3,
	.mce-content-body h3 {
		font-size: 32px;
		font-size: 2rem;
	}

	h4,
	.mce-content-body h4 {
		font-size: 26px;
		font-size: 1.635rem;
	}
}


/**
 * 11.0  - >= Colors
 */

/* Background Color */
body {
	background: #fff;/* Fallback for when there is no custom background color defined. */
}

/* Secondary Background Color */
hr,
pre {
	background-color: #f8fafc;
}

/* Main Text Color */
body,
button,
input,
select,
textarea {
	color: #333;
}

/* Secondary Link Color (50% of main text color) */
.entry-caption,
.wp-caption .wp-caption-text,
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea {
	color: #777;
}

/* Button Background Color */
blockquote:not(.alignright):not(.alignleft):after,
.button,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus,
.page-links a,
mark,
ins {
    background-color: #21759b;
}

/* Button Text Color */
blockquote:not(.alignright):not(.alignleft):before,
.page-links a,
.page-links a:hover,
.page-links a:focus,
mark,
ins,
.button,
.button:hover,
.button:focus,
input[type="button"],
input[type="button"][disabled]:hover,
input[type="button"][disabled]:focus,
input[type="reset"],
input[type="reset"][disabled]:hover,
input[type="reset"][disabled]:focus,
input[type="submit"],
input[type="submit"][disabled]:hover,
input[type="submit"][disabled]:focus {
	color: #fff;
}

/* Button Background Color */
.widget_calendar tbody a:hover,
.widget_calendar tbody a:focus,
.section .more-button:hover,
.section .more-button:focus
button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.page-links a:hover,
.page-links a:focus {
	background-color: #000;
}

/* Link Color */
a,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="month"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus {
	color: #111;
}

input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
input[type="week"]:focus,
input[type="month"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus{
	border-color: #111;
}

/* Link Hover Color */
a:hover,
a:focus,
a:active,
.required {
	color: #111;
}

blockquote {
	border-color: #21759b;
}

/* Heading Text Color */
h1,
h2,
h3,
h4,
h5,
h6,
.page-links > .page-links-title {
	color: #111;
}

/* Border Color */
table,
.mce-item-table,
caption,
.mce-item-table caption,
th,
.mce-item-table th,
td ,
.mce-item-table td,
input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="week"],
input[type="month"],
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
.page-links a,
.page-links > span {
	border-color: #ebebeb;
}


/**
 * 12.0 - RTL
 */

.rtl .drop-cap::first-letter {
    float: right;
    margin: 7px  7px -3px  16px;
}

.rtl blockquote {
	border-width: 0 4px 0 0;
	padding: 0 28px 0 0;
}

.rtl ul,
.rtl ol {
	margin: 0 21px 28px 0;
}

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

.rtl th,
.rtl .mce-item-table th,
.rtl td,
.rtl .mce-item-table td {
	text-align: right;
}

blockquote:not(.alignright):not(.alignleft) {
	position: relative;
	border: none;
	padding: 0 0 0 61px;
}

blockquote:not(.alignright):not(.alignleft):before {
	font-family: 'PT Sans', sans-serif;
    position: absolute;
    left: 9px;
    top: 18px;
    text-align: center;
    content: "\201C";
    font-weight: 400;
    font-size: 60px;
    font-size: 3.75rem;
    z-index: 2;
    line-height: 40px;
}

blockquote:not(.alignright):not(.alignleft):after {
	-webkit-border-radius: 50%;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
}

.rtl blockquote:not(.alignright):not(.alignleft) {
	padding: 0 61px 0 0;
}

.rtl blockquote:not(.alignright):not(.alignleft):before {
	left: auto;
	right: 9px;
}

.rtl blockquote:not(.alignright):not(.alignleft):after {
	left: auto;
	right: 0;
}

.rtl .wp-block-quote:not(.is-large):not(.is-style-large) {
	border-width: 0 4px 0 0;
	padding: 0 30px 0 0;
}