/*
Theme Name: Cenesta
Version: 1.1
Author: Tiphaine Dalmas
Text Domain: cenesta

*/

/**
 * Table of Contents:
 *
 * 1.0 - Reset
 * 2.0 - Repeatable Patterns
 * 3.0 - Basic Structure
 * 4.0 - Header
 *   4.1 - Site Header
 *   4.2 - Navigation
 * 5.0 - Content
 *   5.1 - Entry Header
 *   5.2 - Entry Meta
 *   5.3 - Entry Content
 *   5.4 - Galleries
 *   5.5 - Post Formats
 *   5.6 - Attachments
 *   5.7 - Post/Paging Navigation
 *   5.8 - Author Bio
 *   5.9 - Archives
 *   5.10 - Search Results/No posts
 *   5.11 - 404
 *   5.12 - Comments
 *   5.13 - Multisite
 * 6.0 - Sidebar
 *   6.1 - Widgets
 * 7.0 - Footer
 * 8.0 - Media Queries
 * 9.0 - Print
 * ----------------------------------------------------------------------------
 */
 
/**
 * 1.0 Reset
 *
 * Modified from Normalize.css to provide cross-browser consistency and a smart
 * default styling of HTML elements.
 *
 * @see http://git.io/normalize
 * ----------------------------------------------------------------------------
 */
* {
	-webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;
}

.ir {
  direction: rtl;
  font-family: Mitra, Gudea, sans-serif;
  font-size: 16px;
}

.ar {
  text-align: right;
}

article,aside,details,figcaption,figure,footer,header,nav,section,summary {
	display: block;
}

audio,canvas,video {
	display: inline-block;
}

audio:not([controls]) {
	display: none;
	height: 0;
}
[hidden] {
	display: none;
}

html {
	font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;
}

html,button,input,select,textarea {
	font-family: "Gudea", sans-serif;
}

body {
	color: #141412; line-height: 1.5; margin: 0; overflow: hidden; 
}

a {
	color: #e63f2a; text-decoration: none;
}

a:visited {
	color: #ea9629;
}

a:focus {
	outline: 0;
}

a:active,a:hover {
	color: #ea9629; outline: 0;
}

a:hover {
	text-decoration: underline;
}

.new {
  display: inline-block;
  background-color: #e63f2a;
  color: #fff;
  padding: 0px 5px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 3px;
}

h1,h2,h3,h4,h5,h6 {
	font-family: Gudea, Georgia, serif; line-height: 1.3;
  font-weight: bold;
}

h1 {
	font-size: 30px; margin: 25px 0;
}

h2 {
	font-size: 22px; margin: 22px 0;
}

h3 {
	font-size: 20px; margin: 22px 0;
}

h4 {
	font-size: 18px; margin: 22px 0;
}

h5 {
	font-size: 16px; margin: 22px 0;
}

h6 {
	font-size: 14px; margin: 18px 0;
}

address {
	font-style: italic; margin: 0 0 24px;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

mark {
	background: #ff0; color: #000;
}

p {
	margin: 0 0 24px;
}

code,kbd,pre,samp {
	font-family: monospace, serif; font-size: 14px; -webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none;
}

pre {
	background: #f5f5f5; color: #666; font-family: monospace; font-size: 14px; margin: 20px 0; overflow: auto; padding: 20px; white-space: pre; white-space: pre-wrap; word-wrap: break-word;
}

blockquote,q {
	-webkit-hyphens: none; -moz-hyphens: none; -ms-hyphens: none; hyphens: none; quotes: none;
}

blockquote:before,blockquote:after,q:before,q:after {
	content: ""; content: none;
}

blockquote {
	font-size: 18px; font-style: italic; font-weight: 300; margin: 24px 40px;
}

blockquote blockquote {
	margin-right: 0;
}

blockquote cite,blockquote small {
	font-size: 14px; font-weight: normal; text-transform: uppercase;
}

blockquote em,blockquote i {
	font-style: normal; font-weight: 300;
}

blockquote strong,blockquote b {
	font-weight: 400;
}

small {
	font-size: smaller;
}

sub,sup {
	font-size: 75%; line-height: 0; position: relative; vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

dl {
	margin: 0 20px;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 0 20px;
}

menu,ol,ul {
	margin: 16px 0; padding: 0 0 0 40px;
}

ul {
	list-style-type: square;
}

nav ul,nav ol {
	list-style: none; list-style-image: none;
}

li>ul,li>ol {
	margin: 0;
}

img {
	-ms-interpolation-mode: bicubic; border: 0; vertical-align: middle;
}

svg:not(:root) {
	overflow: hidden;
}
figure {
	margin: 0;
}

form {
	margin: 0;
}

fieldset {
	border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0; padding: 0; white-space: normal;
}

button,input,select,textarea {
	font-size: 100%; margin: 0; max-width: 100%; vertical-align: baseline;
}

button,input {
	line-height: normal;
}

button,html input[type="button"],input[type="reset"],input[type="submit"] {
	-webkit-appearance: button; cursor: pointer;
}

button[disabled],input[disabled] {
	cursor: default;
}

input[type="checkbox"],input[type="radio"] {
	padding: 0;
}

input[type="search"] {
	-webkit-appearance: textfield; padding-right: 2px;
	/* Don't cut off the webkit search cancel button */ width: 270px;
}

input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

button::-moz-focus-inner,input::-moz-focus-inner {
	border: 0; padding: 0;
}

textarea {
	overflow: auto; vertical-align: top;
}

table {
	border-bottom: 1px solid #ededed; border-collapse: collapse; border-spacing: 0; font-size: 14px; line-height: 2; margin: 0 0 20px; width: 100%;
}

caption,th,td {
	font-weight: normal; text-align: left;
}

caption {
	font-size: 16px; margin: 20px 0;
}

th {
	font-weight: bold; text-transform: uppercase;
}

td {
	border-top: 1px solid #ededed; padding: 6px 10px 6px 0;
}

del {
	color: #333;
}

ins {
	background: #fff9c0; text-decoration: none;
}

hr {
	background: url(images/dotted-line.png) repeat center top; background-size: 4px 4px; border: 0; height: 1px; margin: 0 0 24px;
}

/**
 * 2.0 Repeatable Patterns
 * ----------------------------------------------------------------------------
 */
.genericon:before,.menu-toggle:after,.featured-post:before,.date a:before,.entry-meta .author a:before,.comments-link a:before,.tags-links a:first-child:before,.categories-links a:first-child:before,.edit-link a:before,.attachment .entry-title:before,.attachment-meta:before,.attachment-meta a:before,.comment-awaiting-moderation:before,.comment-reply-link:before,.comment-reply-login:before,.comment-reply-title small a:before,.bypostauthor>.comment-body .fn:before,.error404 .page-title:before
	{
	-webkit-font-smoothing: antialiased; display: inline-block; font: normal 16px/1 Genericons; vertical-align: bottom;
}

/* Clearing floats */
.clear {
	clear: both;
}

.clear:after,.attachment .entry-header:after,.site-footer .widget-area:after,.entry-content:after,.page-content:after,.navigation:after,.nav-links:after,.gallery:after,.comment-form-author:after,.comment-form-email:after,.comment-form-url:after,.comment-body:after
	{
	clear: both;
}

.clear:before,.clear:after,.attachment .entry-header:before,.attachment .entry-header:after,.site-footer .widget-area:before,.site-footer .widget-area:after,.entry-content:before,.entry-content:after,.page-content:before,.page-content:after,.navigation:before,.navigation:after,.nav-links:before,.nav-links:after,.gallery:before,.gallery:after,.comment-form-author:before,.comment-form-author:after,.comment-form-email:before,.comment-form-email:after,.comment-form-url:before,.comment-form-url:after,.comment-body:before,.comment-body:after
	{
	content: ""; display: table;
}

/* Assistive text */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px); overflow: hidden; position: absolute !important; height: 1px; width: 1px;
}

.screen-reader-text:focus {
	background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; color: #21759b; display: block; font-size: 14px; font-weight: bold; height: auto; line-height: normal; padding: 15px 23px 14px;
	position: absolute; left: 5px; top: 5px; text-decoration: none; width: auto; z-index: 100000; /* Above WP toolbar */
}

/* Form fields, general styles first. */
button,input,textarea {
	border: 1px solid #777; font-family: inherit; padding: 5px;
}

input,textarea {
	color: #141412;
  background-color: #eee;
}

input:focus,textarea:focus {
	border: 2px solid #c3c0ab; outline: 0;
}

/* Buttons */
button,input[type="submit"],input[type="button"],input[type="reset"] {
	background: #e05d22; /* Old browsers */ background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%);
	/* Chrome 10+, Safari 5.1+ */ background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%);
	/* W3C */ border: none; border-radius: 2px; color: #fff; display: inline-block; padding: 11px 24px 10px; text-decoration: none;
}

button:hover,button:focus,input[type="submit"]:hover,input[type="button"]:hover,input[type="reset"]:hover,input[type="submit"]:focus,input[type="button"]:focus,input[type="reset"]:focus {
	background: #ed6a31; /* Old browsers */ background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%);
	/* Chrome 10+, Safari 5.1+ */ background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%);
	/* W3C */ outline: none;
}

button:active,input[type="submit"]:active,input[type="button"]:active,input[type="reset"]:active {
	background: #d94412; /* Old browsers */ background: -webkit-linear-gradient(top, #d94412 0%, #e05d22 100%);
	/* Chrome 10+, Safari 5.1+ */ background: linear-gradient(to bottom, #d94412 0%, #e05d22 100%);
	/* W3C */ border: none; border-top: 3px solid #b93207; padding: 10px 24px 11px;
}

.post-password-required input[type="submit"] {
	padding: 7px 24px 4px; vertical-align: bottom;
}

.post-password-required input[type="submit"]:active {
	padding: 5px 24px 6px;
}

/* Placeholder text color -- selectors need to be separate to work. */
::-webkit-input-placeholder {
	color: #7d7b6d;
}

:-moz-placeholder {
	color: #7d7b6d;
}

::-moz-placeholder {
	color: #7d7b6d;
}

:-ms-input-placeholder {
	color: #7d7b6d;
}

/*
 * Responsive images
 *
 * Fluid images for posts, comments, and widgets
 */
.entry-content img,.entry-summary img,.comment-content img,.widget img,.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
.entry-content img,.entry-summary img,.comment-content img[height],img[class*="align"],img[class*="wp-image-"],img[class*="attachment-"] {
	height: auto;
}

img.size-full,img.size-large,img.wp-post-image {
	height: auto; max-width: 100%; border-radius: 3px;
}

/* Make sure videos and embeds fit their containers. */
embed,iframe,object,video {
	max-width: 100%;
}

/* Override the Twitter embed fixed width. */
.entry-content .twitter-tweet-rendered {
	max-width: 100% !important;
}

/* Images */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block; margin-left: auto; margin-right: auto;
}

figure.wp-caption.alignleft,img.alignleft {
	margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 0;
}

figure.wp-caption.alignright,img.alignright {
	margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
	margin: 5px 0 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 5px 0;
}

.wp-caption .wp-caption-text,.entry-caption,.gallery-caption {
	color: #383838; font-size: 14px; font-style: italic; font-weight: 300; margin: 0 0 24px;
}

div.wp-caption.alignright img[class*="wp-image-"] {
	float: right;
}

div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
}

img.wp-smiley,.rsswidget img {
	border: 0; border-radius: 0; box-shadow: none; margin-bottom: 0; margin-top: 0; padding: 0;
}

.wp-caption.alignleft+ul,.wp-caption.alignleft+ol {
	list-style-position: inside;
}

/**
 * 3.0 Basic Structure
 * ----------------------------------------------------------------------------
 */
.site {
	margin: 0; background-color: #93908e; /* rgb(122, 99, 80); */
}

.site-main {
	position: relative; margin: 0 auto; max-width: 1200px;
}

.site-main .sidebar-inner {
	margin: 0 auto; max-width: 1040px;
}

/**
 * 4.0 Header
 * ----------------------------------------------------------------------------
 */

/**
 * 4.1 Site Header
 * ----------------------------------------------------------------------------
 */
#wpadminbar {
	display: none;
}

.site-header {
	position: relative; background-color: #EDE0D7; /*rgba(39, 28, 12, 0.42)*/
  padding-top: 5px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
}

.site-header .home-link {
	text-decoration: none; 
  color: #000; 
  float: left;
  padding: 0 0 0 10px;
}

.site-header .home-link img {
	width: 200px; padding-left: 5px;
}

.site-header .site-title:hover {
	text-decoration: none;
}

.site-title {
	margin: 0;
}

.site-description {
	padding-left: 5px; padding-bottom: 5px; 
  font: 300 20px Gudea, Helvetica, sans-serif;
  font-weight: bold;
}

.toolbar {
  float: right;
}

.i18 {
  margin: 0 10px 0 10px;
  text-align: right;
}

.i18 span {
	border-left: 1px solid #000; 
  padding: 0 10px 0 10px;
}

.i18 .alt-fa {
	font-family: Mitra;
  font-size: 15px;
  font-weight: bold;
}

.i18 .alt-en {
	font-family: Gudea;
  font-size: 13px;
  font-weight: bold;
}

.i18 span:first-child {
	border: 0;
}

.i18 a:visited {
	color: #e63f2a;
}

.social-media {
  margin: 10px 10px 10px 0;
  display: inline-block;
}

.member {
  float: left;
  margin: 0 10px 10px 0;
}

.member img {
  border-radius: 3px;
}

.toolbar .member {
  float: right;
}


/**
 * 4.2 Navigation
 * ----------------------------------------------------------------------------
 */
.main-navigation {
	clear: both; margin: 0 auto; min-height: 45px; position: relative; max-width:1200px;
}

ul.nav-menu,div.nav-menu>ul {
	margin: 0; padding: 0;
}

.nav-menu li {
	display: inline-block; position: relative;
}

.nav-menu li a {
	color: #141412; display: block; 
  font-size: 15px; 
  line-height: 1; padding: 15px 20px; text-decoration: none; 
  text-transform: uppercase;
  font-weight: bold;
}

.nav-menu li:hover>a,.nav-menu li a:hover,.nav-menu li:focus>a,.nav-menu li a:focus {
	background-color: #483519;  /* #271c0c; #7e943d;*/ 
  color: #fff;
}

.nav-menu .sub-menu,.nav-menu .children {
  border-top: 0; 
  padding: 0; 
  position: absolute; 
  z-index: 99999; 
  height: 0px; 
  width: 1px; 
  overflow: hidden; 
  clip: rect(1px, 1px, 1px, 1px);
}

.nav-menu .sub-menu ul,.nav-menu .children ul {
	border-left: 1px solid #fff; left: 100%; top: 0;
}

ul.nav-menu ul a,.nav-menu ul ul a {
	color: #fff; margin: 0; width: 200px;
  /* border-top: 1px solid #271c0c;*/
  background-color: #483519;  /* #271c0c; #a3bf61; */ 
}

ul.nav-menu ul a:hover,.nav-menu ul ul a:hover,ul.nav-menu ul a:focus,.nav-menu ul ul a:focus {
	background-color: #6c512a;  /* #e29930; #db572f;*/
  /* border-top: 1px solid #271c0c; */
}

ul.nav-menu li:hover>ul,.nav-menu ul li:hover>ul,ul.nav-menu .focus>ul,.nav-menu .focus>ul {
	clip: inherit; overflow: inherit; height: inherit; width: inherit;
}

.nav-menu .sub-menu .current_page_item>a,
.nav-menu .sub-menu .current_page_ancestor>a,
.nav-menu .sub-menu .current-menu-item>a,
.nav-menu .sub-menu .current-menu-ancestor>a {
	color: #e63f2a; 
}


.nav-menu li.current_page_item>a,
.nav-menu li.current_page_ancestor>a,
.nav-menu li.current-menu-item>a,
.nav-menu li.current-menu-ancestor>a {
	color: #fff; 
}

.menu-toggle {
	display: none;
}

/* Navbar */
.navbar {
	background-color: #e29930; margin: 0 auto; width: 100%; clear: both;
}

.site-header .search-form {
	position: absolute; right: 20px; top: 1px;
}

.site-header .search-field {
	background-color: transparent; background-image: url(images/search-icon.png); background-position: 5px center; background-repeat: no-repeat; background-size: 24px 24px; border: none; cursor: pointer; height: 37px; margin: 3px 0; padding: 0 0 0 34px;
	position: relative; -webkit-transition: width 400ms ease, background 400ms ease; transition: width 400ms ease, background 400ms ease; width: 1px;
}

.site-header .search-field:focus {
	background-color: #fff; border: 2px solid #c3c0ab; cursor: text; outline: 0; width: 230px;
}

/**
 * Home events
 */
div.events {
  padding: 40px 0;
  overflow: auto;
  clear: both;
}

div.events .title {
  font: bold 24px Gudea, Helvetica,sans-serif;
  color: #fff;
  text-align: center;
}

div.events .subtitle {
  color: #57575a;
  text-align: center;
}

div.events .event {
  float: left;
  width: 49%;
  display: table;
  border-radius: 3px;
  margin: 0.5% 0.5%;
  border: 1px solid #93908e;
}

div.events .event.upcoming {
  border: 1px solid #fff;
}

div.events .event .event-thumbnail {
  display: table-cell;
  width: 45%;
  vertical-align: top;
  background-color: #57575a;
  border-radius: 3px;
}

div.events .event .event-thumbnail img {
  width: 100%;
}

div.events .event.upcoming .event-description {
  background-color: #3a3a3c;
}

div.events .event .event-description {
  display: table-cell;
  width: 55%;
  vertical-align: top;
  padding: 10px;
  background-color: #57575a;
}

div.events .event .event-date {
  color: #fff;
}

div.events .event .event-title {
  font-size: 16px;
  line-height: 1.1;
  font-weight: bold;
}

div.events .event.upcoming .event-title a {
  color: #e63f2a;
}

div.events .event .event-title a {
  color: #ea9629;
}

div.events .event .event-title a:hover {
  text-decoration: none;
  color: #ea9629;
}


/**
 * 5.0 Content
 * ----------------------------------------------------------------------------
 */

#single-wrapper {
	display: table; width: 100%; margin: auto; table-layout: fixed
}

#single-main {
	display: table-cell; 
	vertical-align: top;
	max-width: 600px;
	width: 50%;
  min-width: 320px;
  background-color: #e29930;
}

#single-sidebar {
	display: table-cell; 
	vertical-align: top;
	max-width: 600px;
	width: 50%;
}

div.widget-related-posts {
	margin: 4% auto 0 auto;
	padding: 0;
  max-width: 75%;
}

div.widget-related-posts .related-post {
	max-width: 450px;
  width: 95%;
	background: #fff;
	box-sizing: content-box;
	box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

div.widget-related-posts .related-post.publications-en {
	max-width: 300px;
}
div.widget-related-posts .related-post.publications-fa {
	max-width: 300px;
}


div.widget-related-posts .related-post .title {
	display: inline-block;
}

.rotate0 {
	transform: translateX(-10px) rotate(-5deg);
	-moz-transform: translateX(-10px) rotate(-5deg);
	-webkit-transform: translateX(-10px) rotate(-5deg);
	-webkit-backface-visibility: hidden;
	outline: 1px solid transparent;
	border: 1px solid rgba(0, 0, 0, 0.1); 
}

.rotate1 {
	transform: translateX(50px) rotate(5deg);
	-moz-transform: translateX(50px) rotate(5deg);
	-webkit-transform: translateX(50px) rotate(5deg);
	-webkit-backface-visibility: hidden;
	outline: 1px solid transparent;
	border: 1px solid rgba(0, 0, 0, 0.1); 
}

.rotate2 {
	transform: translateX(-20px) rotate(-6deg);
	-moz-transform: translateX(-20px) rotate(-6deg);
	-webkit-transform: translateX(-20px) rotate(-6deg);
	-webkit-backface-visibility: hidden;
	outline: 1px solid transparent;
	border: 1px solid rgba(0, 0, 0, 0.1); 
}

.rotate3 {
	transform: translateX(60px) rotate(6deg);
	-moz-transform: translateX(60px) rotate(6deg);
	-webkit-transform: translateX(60px) rotate(6deg);
	-webkit-backface-visibility: hidden;
	outline: 1px solid transparent;
	border: 1px solid rgba(0, 0, 0, 0.1); 
}


div.widget-related-posts .related-post .panel {
	position: relative;
	background: #fff;
	padding: 10px 10px 30px 10px;
	width: 100%;
	height:100%;
	z-index: 3;
	line-height: 1;
}

div.widget-related-posts .related-post:before,
div.widget-related-posts .related-post:after {
	content: '';
	position: absolute;
	bottom: 15px;
	left:  10px;
	width: 50%;
	height: 20%;
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	-webkit-transform: rotate(-3deg);
	-moz-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	-o-transform: rotate(-3deg);
	transform: rotate(-3deg);
}

div.widget-related-posts .related-post:after {
	right: 10px;
	left: auto;
	-webkit-transform: rotate(3deg);
	transform: rotate(3deg);
}

div.widget-related-posts img {
	border-radius: 0;
}

div.widget-related-posts .related-post a {
  font-size: 25px;
  color: #552A0D;
  font-family: Journal;
}

div.widget-related-posts .related-post a:hover {
	color: #E63F2A;
}


.taghi {
  margin: auto;
  width: 660px;
  padding: 20px 30px 10px 30px;
  text-align: center;
  border-radius: 3px;
}

.taghi div.cenesta-related {
  margin: auto;
}

div.cenesta-related {
  max-width: 600px;
}

div.cenesta-related ul {
  list-style-type: none; padding: 0; margin: 0;
}

div.cenesta-related ul li {
  margin: 10px 0 20px;
  background-color: #fff;
  border-radius: 5px 5px 3px 3px;
}

div.cenesta-related ul li img {
  border-radius: 3px 3px 0 0;
}

#home-wrapper {
	display: table; width: 100%; margin: auto;
}

#home-main {
	display: table-cell; vertical-align: top;
}

#home-main .widget>h4 {
	padding: 0 20px 0 20px; width: 100%; margin: 0 auto; color: #fff;
}

#home-main .widget {
	padding: 0;
}

#home-sidebar {
	width: 25%; max-width: 300px; min-width: 200px; display: table-cell; vertical-align: top; 
	background-color: rgba(255,255,255,0.7);
	border-right: 1px solid rgba(255,255,255,0.7);
}

.entry-content.map {
	max-width: 100%; padding: 0;
}

.entry-header.map {
	max-width: 100%; margin-bottom: 0;
}


body.page-template-memorial article {
	max-width: 100% !important; 
	padding: 50px;
}

body..page-template-memorial .entry-content {
	max-width: 100% !important; 
	padding: 0;
}

body.page-template-memorial  .entry-header {
	max-width: 100%; margin-bottom: 0;
}

body.page-template-memorial .comments-area,
body.page-template-memorial .comment-respond,
body.page-template-memorial .comments-title,
body.page-template-memorial .comment-list {
	max-width: 100% !important;
}

body.page-template-memorial .custom-comment {
  background-color: #eee; 
  padding: 10px; 
  border-radius: 10px; 
  margin: 20px 0 0 20px;
}

body.page-template-memorial .english {
  direction: ltr !important; 
  unicode-bidi: embed; 
  font-family: Gudea; 
  text-align: left;
}

body.page-template-memorial .custom-comment .title {
  font-weight: bold;
}

.grid {
	overflow: visible !important; margin: auto; width: 100%; max-width: 1200px;
}

.grid:after {
	content: ''; display: block; clear: both;
}

.grid  .grid-sizer {
	width: 1%;
}

.grid  .grid-item {
	width: 50%; padding: 1.5% 1.5% 1.5% 1.5%; min-width: 300px;
}

.grid-item article {
	border-radius: 3px; -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); overflow: hidden;
}

.grid-item article header .entry-thumbnail,
body.single article header .entry-thumbnail {
	position: relative; overflow: hidden;
}

.grid-item article header .entry-thumbnail a {
	display: block;
}

.grid-item article header .entry-meta a {
	display: inline-block;
}

.grid-item article header .entry-thumbnail a:hover img,
body.single article header .entry-thumbnail a:hover img {
	-webkit-transform: scale(1.1); 
  -moz-transform: scale(1.1); 
  -o-transform: scale(1.1); 
  transform: scale(1.1);
}

.grid-item article header .entry-thumbnail img,
body.single article header .entry-thumbnail img {
	-webkit-transition: all 0.3s ease-in-out; 
  -moz-transition: all 0.3s ease-in-out; 
  -ms-transition: all 0.3s ease-in-out; 
  -o-transition: all 0.3s ease-in-out; 
  transition: all 0.3s ease-in-out; 
  margin: 0 auto; 
  border-radius: 0;
}

.grid-item article.cenesta-publication header .entry-thumbnail img,
body.single article.cenesta-publication header .entry-thumbnail img {
  margin: 0;
}

.grid-item article header .entry-thumbnail:before {
	content: ""; display: block; border: 12px solid transparent; border-bottom-color: #e29930; position: absolute; z-index: 10; bottom: 0; left: 10%; margin-bottom: 0;
}

.grid-item article header.entry-header {
	margin-bottom: 0;
}

.grid-item article header .entry-title {
	font-size: 18px; padding: 5px; margin: 0px; background-color: #e29930; 
  font: 300 18px Gudea, Helvetica, sans-serif;
  font-weight: bold;
}

.grid-item article.people header .entry-title,
body.single article.people header .entry-title  {
	text-align: center;
}

.grid-item article.people header .entry-title .post-edit-link {
	color: #fff;
}

.grid-item article.people .entry-content ul, 
body.single article.people .entry-content ul {
  list-style-type: none;
  padding: 0 0 0 10px;
}

.grid-item article.people .entry-content ul li:before,
body.single article.people .entry-content ul li:before   {
  content: '\f0c8';
	font-size: 15px;
  display: inline-block;
  font-family: FontAwesome;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 0 10px 0 0;
}

.grid-item article header .entry-title a {
	color: #000;
}

.grid-item article header .entry-title a:hover {
	color: #fff;
}

.grid-item article header .entry-meta {
	background-color: #e29930; padding: 5px; color: #fff; font-size: 12px;
}

.grid-item article header .entry-meta {
	background-color: #e29930; padding: 5px; color: #fff; font-size: 12px;
}

.grid-item article header .entry-meta a {
	color: #fff; 
}

.grid-item article .entry-content {
	padding: 5px; font-size: 14px; background-color: #fff; 
}

.grid-item article .entry-summary {
	padding: 5px; font-size: 14px; background-color: #fff; 
}

.grid-item article footer.entry-meta {
	background-color: #f9f9f9; font-size: 12px; padding: 5px; margin-top: 0; 
}

.hentry {
	padding: 0;
}

body.page article,
body.single article {
	margin: 0; 
  max-width: 600px; 
  background-color: #fff; 
  border-left: 1px #181103;
}

body.page-template-map article {
  max-width: 100%;
}

.entry-header .entry-header-cols {
  display: table;
  width: 100%;
  background-color: #ccc;
}
.entry-header .entry-header-cols .entry-header-col {
  display: table-cell;
  vertical-align: top;
  width: 50%;
}

.entry-meta {
	width: 100%;
}

.grid-item .entry-header,
.grid-item .entry-content,
.grid-item .entry-summary,
.grid-item .entry-meta {
	margin: 0;
}

.sidebar .entry-header,.sidebar .entry-content,.sidebar .entry-summary,.sidebar .entry-meta {
	max-width: 1040px; padding: 0 376px 0 60px;
}

/**
 * 5.1 Entry Header
 * ----------------------------------------------------------------------------
 */
.sidebar .entry-header .entry-meta {
	padding: 0;
}

.entry-thumbnail img {
	display: block; margin: 0; border-radius: 3px;
}

body.page .entry-thumbnail img,body.single .entry-thumbnail img {
	border-radius: 0;
}

.entry-title {
	font: 300 18px Gudea, Helvetica, sans-serif; margin: 0 auto; padding: 20px 20px; width: 100%;
  font-weight: bold;
}

.entry-title a {
	color: #141412;
}

.entry-title a:hover {
	color: #ea9629; text-decoration: none;
}

/**
 * 5.2 Entry Meta
 * ----------------------------------------------------------------------------
 */
.category-sticky {
	border: 1px dashed #a8a8a8;
}

.entry-meta {
	clear: both; font-size: 13px;
}

.entry-meta a {
	color: #e63f2a;
}

.entry-meta a:hover {
	color: #e63f2a;
}

.featured-post:before {
	content: "\f308"; margin-right: 2px;
}

.entry-meta .date a:before {
	content: "\f303";
}

.comments-link a:before {
	content: "\f300"; margin-right: 2px; position: relative;
}

.entry-meta .author a:before {
	content: "\f304"; position: relative;
}

.categories-links a:first-child:before {
	content: "\f301";
}

.tags-links a:first-child:before {
	content: "\f302"; position: relative;
}

.edit-link a:before {
	content: "\f411"; position: relative;
}

.single-author .entry-meta .author,.sticky.format-standard .entry-meta .date {
	display: none;
}

footer.entry-meta {
	display: table;
}

footer.entry-meta .comments-link {
	display: table-cell; width: 50%; vertical-align: middle;
}

footer.entry-meta .toolbar-share {
	display: table-cell; text-align: right; vertical-align: top;
}

body.page header .entry-meta,body.single header .entry-meta {
	padding: 5px; background-color: #fff;
}

body.page header .entry-meta .toolbar-share,body.single header .entry-meta .toolbar-share {
	text-align: left; padding-top: 5px;
}

header .entry-meta {
	display: table;
}

header .entry-meta .date {
	display: table-cell; vertical-align: top; width: 150px;
}

header .entry-meta .edit-link {
	display: table-cell; vertical-align: top; text-align: right;
}

header .entry-meta .categories-links {
	display: table-cell; vertical-align: top;
}

header .entry-meta .toolbar-share {
	display: table-cell; text-align: right; vertical-align: top;
}

.entry-meta .toolbar-share a {
	background-color: #e63f2a; color: #fff; border-radius: 50%; width: 21px; height: 21px; display: inline-block; text-align: center;
}

.entry-meta .toolbar-share a:hover {
	background-color: #ea9629; text-decoration: none; color: #fff;
}

.entry-meta .toolbar-share a span {
	vertical-align: text-bottom;
}

body.page .entry-meta .toolbar-share a span,body.single .entry-meta .toolbar-share a span {
	vertical-align: middle;
}

/**
 * 5.3 Entry Content
 * ----------------------------------------------------------------------------
 */
 
 
.entry-header .entry-header-cols .entry-header-col img.citation-icon {
  padding-top: 10px;
  padding: 10px 40%;
}

.citation {
  font-size: 13px;
  margin: 0;
  margin: 0px;
  padding: 8px;
}

.citation .title {
  font-weight: bold;
}
.citation .date {
  font-weight: bold;
}
.citation .more {
  font-style: italic;
}
.citation .title,
.citation .authors,
.citation .date,
.citation .more {
  display: block;
  margin: 3px 0 3px 0;
}


div.bib {
  margin: 0 auto 50px auto;
  max-width: 800px;
}

p.bib {
  margin: 10px auto;
}

.bib .title {
  font-style: italic;
}

.bib .permalink a,
.bib .permalink a:hover,
.bib .permalink a:visited {
  color: #fff;
}

 
.entry-content table.cs1 {
  border: 1px solid #552a0d;
 }
 
.entry-content table.cs1 td {
  border: 1px solid #552a0d;
  padding: 3px;
 }
 
.entry-content table img.alignright {
    margin: 0;
}
.entry-content table img.alignleft {
    margin: 0;
}
 
.entry-content table {
  border: 0;
  border-collapse: collapse;
  border-spacing: 0px;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}
.entry-content table td {
  border: 0;
  padding: 0;
}

.entry-content img {
	border-radius: 3px;
}

.entry-content {
	-webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; word-wrap: break-word; padding: 20px;
}

.entry-content a,.comment-content a {
	color: #e63f2a;
}

.entry-content a:hover,.comment-content a:hover {
	color: #ea9629;
}

.entry-content .more-link {
	white-space: nowrap;
}

.entry-content blockquote {
	font-size: 24px;
}

.entry-content blockquote cite,.entry-content blockquote small {
	font-size: 16px;
}

.entry-content img.alignleft,.entry-content .wp-caption.alignleft {
}

.entry-content img.alignright,.entry-content .wp-caption.alignright {
}

.format-standard footer.entry-meta {
	margin-top: 0;
}

/* Mediaelements */
.hentry .mejs-mediaelement,.hentry .mejs-container .mejs-controls {
	background: #383838;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-loaded,.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	background: #fff;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-current {
	background: #ea9629;
}

.hentry .mejs-controls .mejs-time-rail .mejs-time-total,.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total {
	background: #595959;
}

.hentry .mejs-controls .mejs-time-rail span,.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total,.hentry .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current {
	border-radius: 0;
}


/* Contact */

.cenesta-contact-wrapper {
  display: block;
  text-align: center;
  margin: 25px 0 20px 0;
}

.cenesta-contact {
  background-color: #3a3a3c;
  display: inline-block;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  color: #fff;
}

.cenesta-contact .link {
  color: #e29930;
  font-weight: bold;
}

.cenesta-contact .link:hover {
  color: #e79824;
}

.cenesta-contact i.fa {
  padding: 0 5px;
}

.cenesta-contact .val {
  font-size: 16px;
  font-family: Gudea;
}

/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
 */
.gallery {
	margin-bottom: 20px; margin-left: -4px;
}

.gallery-item {
	float: left; margin: 0 4px 4px 0; overflow: hidden; position: relative;
}

.gallery-columns-1.gallery-size-medium,.gallery-columns-1.gallery-size-thumbnail,.gallery-columns-2.gallery-size-thumbnail,.gallery-columns-3.gallery-size-thumbnail {
	display: table; margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,.gallery-columns-2 .gallery-item,.gallery-columns-3 .gallery-item {
	text-align: center;
}

.gallery-columns-4 .gallery-item {
	max-width: 23%; max-width: -webkit-calc(25% - 4px); max-width: calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%; max-width: -webkit-calc(20% - 4px); max-width: calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%; max-width: -webkit-calc(16.7% - 4px); max-width: calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%; max-width: -webkit-calc(14.28% - 4px); max-width: calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%; max-width: -webkit-calc(12.5% - 4px); max-width: calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%; max-width: -webkit-calc(11.1% - 4px); max-width: calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),.gallery-columns-2 .gallery-item:nth-of-type(2n),.gallery-columns-3 .gallery-item:nth-of-type(3n),.gallery-columns-4 .gallery-item:nth-of-type(4n),.gallery-columns-5 .gallery-item:nth-of-type(5n),.gallery-columns-6 .gallery-item:nth-of-type(6n),.gallery-columns-7 .gallery-item:nth-of-type(7n),.gallery-columns-8 .gallery-item:nth-of-type(8n),.gallery-columns-9 .gallery-item:nth-of-type(9n)
	{
	margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1)
	{
	clear: left;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7); box-sizing: border-box; color: #fff; font-size: 14px; line-height: 1.3; margin: 0; max-height: 50%; opacity: 0; padding: 2px 8px; position: absolute; bottom: 0; left: 0; text-align: left;
	-webkit-transition: opacity 400ms ease; transition: opacity 400ms ease; width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset; content: ""; height: 100%; min-height: 49px; position: absolute; left: 0; top: 0; width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,.gallery-columns-8 .gallery-caption,.gallery-columns-9 .gallery-caption {
	display: none;
}

/**
 * 5.5 Post Formats
 * ----------------------------------------------------------------------------
 */


/**
 * 5.6 Attachments
 * ----------------------------------------------------------------------------
 */
.attachment .hentry {
	background-color: #e8e5ce; margin: 0; padding: 0;
}

.attachment .entry-header {
	margin-bottom: 0; max-width: 1040px; padding: 30px 0;
}

.attachment .entry-title {
	display: inline-block; float: left; font: 300 italic 30px Gudea, Helvetica, sans-serif; margin: 0;
  font-weight: bold;
}

.attachment .entry-title:before {
	content: "\f416"; font-size: 32px; margin-right: 10px;
}

.attachment .entry-meta {
	clear: none; color: inherit; float: right; max-width: 604px; padding: 9px 0 0; text-align: right;
}

.hentry.attachment:not (.image-attachment ) .entry-meta {
	max-width: 104px;
}

.attachment footer.entry-meta {
	display: none;
}

.attachment-meta:before {
	content: "\f307";
}

.full-size-link a:before {
	content: "\f402";
}

.full-size-link:before {
	content: none;
}

.attachment .entry-meta a,.attachment .entry-meta .edit-link:before,.attachment .full-size-link:before {
	color: #ca3c08;
}

.attachment .entry-content {
	background-color: #fff; max-width: 100%; padding: 40px 0;
}

.image-navigation {
	margin: 0 auto; max-width: 1040px; position: relative;
}

.image-navigation a:hover {
	text-decoration: none;
}

.image-navigation .nav-previous,.image-navigation .nav-next {
	position: absolute; top: 50px;
}

.image-navigation .nav-previous {
	left: 0;
}

.image-navigation .nav-next {
	right: 0;
}

.image-navigation .meta-nav {
	font-size: 32px; font-weight: 300; vertical-align: -4px;
}

.attachment .entry-attachment,.attachment .type-attachment p {
	margin: 0 auto; max-width: 724px; text-align: center;
}

.attachment .entry-attachment .attachment {
	display: inline-block;
}

.attachment .entry-caption {
	text-align: left;
}

.attachment .entry-description {
	margin: 20px auto 0; max-width: 604px;
}

.attachment .entry-caption p:last-child,.attachment .entry-description p:last-child {
	margin: 0;
}

.attachment .site-main .sidebar-container {
	display: none;
}

.attachment .entry-content .mejs-audio {
	max-width: 400px; margin: 0 auto;
}

.attachment .entry-content .wp-video {
	margin: 0 auto;
}

.attachment .entry-content .mejs-container {
	margin-bottom: 24px;
}

/**
 * 5.7 Post/Paging Navigation
 * ----------------------------------------------------------------------------
 */
.paging {
	height: 50px; margin: auto; width: 80%; max-width: 1200px;
}

.paging ul {
	list-style-type: none; padding: 0; margin: 0;
}

.paging ul li {
	float: left; margin: 0;
}

.paging ul li a {
	color: #000; padding: 7px 11px 7px 11px; font-size: 12px; margin-left: 2px; background-color: #e29930; border: solid 1px #e29930;
}

.paging ul li .current {
	color: #000; padding: 7px 11px 7px 11px; font-size: 12px; margin-left: 2px; border: 1px dashed #a8a8a8;
}

.paging ul li a:hover {
	background-color: #db572f; border: solid 1px #db572f; color: #fff;
}

.paging:after {
	content: ""; clear: both; display: block;
}

.navigation .nav-previous {
	float: left;
}

.navigation .nav-next {
	float: right;
}

.navigation a {
	color: #e63f2a;
}

.navigation a:hover {
	color: #ea9629; text-decoration: none;
}

.paging-navigation {
	background-color: #e8e5ce; padding: 40px 0;
}

.paging-navigation .nav-links {
	margin: 0 auto; max-width: 604px; width: 100%;
}

.sidebar .paging-navigation .nav-links {
	max-width: 1040px; padding: 0 376px 0 60px;
}

.paging-navigation .nav-next {
	padding: 13px 0;
}

.paging-navigation a {
	font-size: 22px; font-style: italic; font-weight: 300;
}

.paging-navigation .meta-nav {
	background-color: #e63f2a; border-radius: 50%; color: #fff; display: inline-block; font-size: 26px; padding: 3px 0 8px; text-align: center; width: 50px;
}

.paging-navigation .nav-previous .meta-nav {
	margin-right: 10px; padding: 17px 0 23px; width: 80px;
}

.paging-navigation .nav-next .meta-nav {
	margin-left: 10px;
}

.paging-navigation a:hover .meta-nav {
	background-color: #ea9629; text-decoration: none;
}

.post-navigation {
	color: #ca3c08; font-size: 20px; font-style: italic; font-weight: 300; padding: 20px 0;
}

.post-navigation .nav-links {
	margin: 0 auto; max-width: 1040px;
}

.sidebar .post-navigation .nav-links {
	padding: 0 376px 0 60px;
}

.post-navigation a[rel="next"] {
	float: right; text-align: right;
}

/**
 * 5.8 Author Bio
 * ----------------------------------------------------------------------------
 */
.author-info {
	margin: 0 auto; max-width: 604px; padding: 30px 0 10px; text-align: left; /* gallery & video post formats */ width: 100%;
}

.author.sidebar .author-info {
	max-width: 1040px; padding: 30px 376px 10px 60px;
}

.single .author-info {
	padding: 50px 0 0;
}

.author-avatar .avatar {
	float: left; margin: 0 30px 30px 0;
}

.author-description .author-title {
	clear: none; font: 300 italic 20px Gudea, Helvetica, sans-serif; margin: 0 0 8px;
  font-weight: bold;
}

.author-link {
	color: #ca3c08; margin-left: 2px;
}

.author.archive .author-link {
	display: none;
}

/**
 * 5.9 Archives
 * ----------------------------------------------------------------------------
 */
.archive-header {
	width: 100%; margin: auto; color: #fff;
}

.archive-title,.archive-meta {
	font: 300 30px Gudea, Helvetica, sans-serif; margin: 0 auto; 
  padding: 20px 20px 4px 20px;
  width: 100%; max-width: 1200px;
  font-weight: bold;
}

.archive-meta {
	font-size: 16px; font-style: normal; font-weight: normal; margin-top: -15px; padding: 0 0 11px;
}

.sidebar .archive-meta {
	padding-right: 316px;
}

/**
 * 5.10 Search Results/No posts
 * ----------------------------------------------------------------------------
 */
.page-header {
	background-color: #e8e5ce;
}

.page-title {
	font: 300 italic 30px Gudea, Helvetica, sans-serif; margin: 0 auto; max-width: 1040px; padding: 30px 0; width: 100%;
  font-weight: bold;
}

.page-content {
	margin: 0 auto; max-width: 604px; padding: 40px 0; width: 100%;
}

.sidebar .page-content {
	margin: 0 auto; max-width: 1040px; padding: 40px 376px 40px 60px;
}

/**
 * 5.11 404
 * ----------------------------------------------------------------------------
 */
 

.error404 .page-header {
	background-color: #fff;
  margin: 0;
}

.error404 .page-header img {
  float: left;
  padding: 10px;
  width: 30%;
  min-width: 150px;
  height: auto;
}

.error404 .page-title {
  margin: 0; 
  width: auto;
  padding: 0 5px 10px 5px;
  white-space: nowrap;
}

.error404 .page-title:before {
	color: #e8e5ce; 
  content: "\f423"; 
  font-size: 100px;
  display: block;
}

.error404 .page-wrapper {
	background-color: #e8e5ce;
  padding: 5px;
}

/**
 * 5.12 Comments
 * ----------------------------------------------------------------------------
 */

/* Inline comments */
div#incom_wrapper,div#incom_wrapper * {
	z-index: 100; font-size: 14px;
}

div#incom_wrapper .incom-bubble-style a {
	font-family: Gudea, sans-serif; font-size: 11px; padding: 3px 4px 2px 3px;
}

a.incom-bubble-link:before {
	-webkit-font-smoothing: antialiased; display: inline-block; font: normal 16px/1 Genericons; vertical-align: middle; content: "\f300"; margin-right: 2px; position: relative;
}

div#incom_wrapper .incom-comments-wrapper {
	border-left: none;
	background-color: rgba(85,42,13, 0.6) !important;
	padding: 0; max-width: 250px; border-radius: 3px; -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

div#incom_wrapper .incom-cancel-x {
	display: none;
}

div#incom_wrapper .incom-info-icon {
	display: none;
}

div#incom_wrapper .incom-div-comment p {
	margin: 0; padding: 0;
}

div#incom_wrapper .incom-comments-wrapper .comment {
	padding: 0 2px 0 2px; border-bottom: none; margin: 5px;
}

div#incom_wrapper .comment-body {
	margin: 0px 0px 5px;
	padding: 5px;
	background-color: #fff;
	border-radius: 3px;
}

div#incom_wrapper .incom-reply {
	margin: 0 0 5px 0;
}

div#incom_wrapper .incom-comments-wrapper .comment-author {
	padding: 0px 5px 0 0;
}

div#incom_wrapper .comment-respond {
	padding: 0px; background-color: rgba(85,42,13, 0);
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
}

div#incom_wrapper .comment-respond .comment-form {
	margin-left: 0; margin-right: 0; color: #fff; padding: 0 5px;
}

div#incom_wrapper p {
	margin: 0;
}

div#incom_wrapper label {
	padding: 5px;
}

div#incom_wrapper input[type="submit"] {
	padding: 10px; margin: 10px 0;
	background: #e29930;
  font-weight: bold;
}
div#incom_wrapper input[type="submit"]:active,
div#incom_wrapper input[type="submit"]:hover {
	background: transparent linear-gradient(to bottom, #ED6A31 0%, #E55627 100%) repeat scroll 0% 0%;
}


div#incom_wrapper input[type="text"],div#incom_wrapper textarea {
	border: 1px solid #777;
}

div#incom_wrapper input[type="text"]:focus,div#incom_wrapper textarea:focus {
	border: 2px solid #C3C0AB;
}

.comment-list,.comment-reply-title,.must-log-in,.comment-respond .comment-form,.comment-respond iframe {
	display: block; padding: 0 20px; max-width: 600px; width: 100%;
}

.comments-title {
	display: block; padding: 10px; max-width: 600px; width: 100%; margin: 0;
}

.comments-area {
	max-width: 600px; margin: 0; padding: 0; background-color: rgba(255, 255, 255, 0.8);
}

.sidebar .comments-title,.sidebar .comment-list,.sidebar .must-log-in,.sidebar .comment-reply-title,.sidebar .comment-navigation,.sidebar .comment-respond .comment-form {
	max-width: 1040px; padding-left: 60px; padding-right: 376px;
}

.comments-title {
	font: 300 italic 20px Gudea, Helvetica, sans-serif;
  font-weight: bold;
}

.comment-list,.comment-list .children {
	list-style-type: none; padding: 0; margin: 0;
}

.comment-list .children {
	margin-left: 20px;
}

.comment-list>li:last-child:after {
	display: none;
}

body.page article.comment-body,body.single article.comment-body {
	padding: 0; position: relative; border: 0px none; background: rgba(255, 255, 255, 0.5); border-radius: 3px; margin: 5px 5px 30px 5px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.comment-list li article.comment-body::before {
    content: "";
    display: block;
    border: 12px solid transparent;
    border-bottom-color: #fff;
    position: absolute;
    z-index: 10;
    top: -24px;
    left: 5%;
    margin-bottom: 0;
}

.comment-meta {
    border-radius: 3px;
    overflow: hidden;
}

.comment-author .fn,.comment-author .url,.comment-reply-link,.comment-reply-login {
	color: #e63f2a; font-style: normal; font-weight: normal;
}

.says {
	
}

.no-avatars
.comment-author {
	max-width: 100%; position: relative; padding: 0 5px; background-color: #fff;
}

.no-avatars .comment-metadata,.no-avatars .comment-content,.no-avatars .comment-list .reply {
	width: 100%;
}

.comment-list
 
.edit-link {
	margin-left: 20px;
}

.comment-metadata,.comment-awaiting-moderation,.comment-content,.comment-list
 
.reply {
	float: right; width: 79%; width: -webkit-calc(100% - 124px); width: calc(100% - 
 
 124px); word-wrap: break-word;
}

.ping-meta {
	color: #a2a2a2; font-size: 13px; line-height: 2;
}

.comment-awaiting-moderation {
	color: #a2a2a2;
	width: 100%;
}

.comment-awaiting-moderation
:before {
	content: "\f414"; margin-right: 5px; position: relative; top: -2px;
}

.comment-reply-link
:before,.comment-reply-login
:before {
	content: "\f412"; margin-right: 3px;
}

/* Comment form */
.comment-respond {
	background-color: #e29930; padding: 30px 0px; max-width: 600px;
}

.comment-reply-title {
	font: 300 italic 28px Gudea, Helvetica, sans-serif;
  font-weight: bold;
}

.comment-reply-title small a {
	color: #131310; display: inline-block; float: right; height: 16px; overflow: hidden; width: 16px;
}

.comment-reply-title small a:hover {
	color: #ea9629; text-decoration: none;
}

.comment-reply-title small a:before {
	content: "\f406"; vertical-align: top;
}

.sidebar .comment-list .comment-reply-title,.sidebar .comment-list .comment-respond .comment-form {
	padding: 0;
}

.comment-form .comment-notes {
	margin-bottom: 15px;
}

.comment-form .comment-form-author,.comment-form .comment-form-email,.comment-form .comment-form-url {
	margin-bottom: 8px;
}

.comment-form [for="author"],.comment-form [for="email"],.comment-form [for="url"],.comment-form [for="comment"] {
	float: left; padding: 5px 0; width: 120px;
}

.comment-form .required {
	color: #ed331c;
}

.comment-form input[type="text"],.comment-form input
[type="email"],.comment-form input[type="url"] {
	max-width: 270px; width: 60%;
}

.comment-form textarea {
	width: 100%;
}

.form-allowed-tags,.form-allowed-tags code {
	color: #686758; font-size: 12px;
}

.form-allowed-tags code {
	font-size: 10px; margin-left: 3px;
}

.comment-list .pingback,.comment-list .trackback {
	padding-top: 24px;
}

.comment-navigation {
	font-size: 20px; font-style: italic; font-weight: 300; margin: 0 auto; max-width: 604px; padding: 20px 0 30px; width: 100%;
}

.no-comments {
	background-color: #e29930; font-size: 20px; font-style: italic; font-weight: 300; margin: 0; padding: 40px 0; text-align: center;
}

.sidebar .no-comments {
	padding-left: 60px; padding-right: 376px;
}

/**
 * 5.13 Multisite
 * ----------------------------------------------------------------------------
 */
.site-main .mu_register {
	margin: 0 auto; max-width: 604px; width: 100%;
}

.mu_alert {
	margin-top: 25px;
}

.site-main .mu_register input[type="submit"],
.site-main .mu_register #blog_title,
.site-main .mu_register #user_email,
.site-main .mu_register #blogname,
.site-main .mu_register #user_name {
	font-size: inherit; width: 270px;
}

.site-main .mu_register input[type="submit"] {
	width: auto;
}

/**
 * 6.0 Sidebar
 * ----------------------------------------------------------------------------
 */

/**
 * 6.1 Widgets and Plugins
 * ----------------------------------------------------------------------------
 */
 
 
.cenesta-submission {
  width: 500px;
  border-radius: 5px;
  background-color: #fff;
  margin: 20px auto;
  position: relative;
}

.cenesta-submission .header {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 5px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  background-color: #3a3a3c;
  color: #fff;
}

.cenesta-submission .content {
  position: relative;
}

.cenesta-submission .closed {
  padding: 10px;
}

.cenesta-submission .success {
  padding: 10px;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  display: none;
}


.cenesta-submission .success i.fa {
  display: block;
  margin: auto;
  color: green;
  width: 20px;
  font-size: 32px; 
}

.cenesta-submission .loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(58,58,60, 0.8);
  text-align: center;
  cursor: wait;
  display: none;
  z-index: 1;
}

.cenesta-submission .loading i.fa {
  color: #fff;
  margin-top: 45px;
}

.cenesta-submission .unsupported {
  padding: 10px;
  width: 100%;
  height: 150px;
  background-color: #fff;
  border-radius: 5px;
  display: none;
}

.cenesta-submission .unsupported i.fa {
  display: block;
  margin: auto;
  color: #e63f2a;
  width: 20px;
  font-size: 32px; 
}

.cenesta-submission form {
  padding: 10px;
}

.cenesta-submission form .msg {
  display: none;
  color: #e63f2a;
  font-weight: bold;
  margin: 5px 0 30px 0;
  line-height: 1.2;
}

.cenesta-submission p label {
  width: 100px;
  display: inline-block;
}

.cenesta-submission p label.full {
  width: 100%;
  display: block;
}

.cenesta-submission p label.note {
  width: 100%;
  font-size: 13px;
  display: block;
}

.cenesta-submission p label.note.error {
  font-size: 16px;
  font-weight: bold;
}

.cenesta-submission p label.note i.fa {
  color: #e63f2a;
}

.cenesta-submission p input {
  width: 300px;
  display: inline-block;
}

.cenesta-submission p input.title {
  width: 100px;
  display: inline-block;
}

.cenesta-submission p input.paper-title {
  width: 100%;
  display: block;
}

.cenesta-submission p input.paper-file {
  border: unset;
  background-color: unset;
  width: 100%;
}

.cenesta-submission p textarea.authors {
  width: 100%;
  height: 100px;
  display: block;
}

.cenesta-submission p textarea.paper-abstract {
  width: 100%;
  height: 300px;
  display: block;
}

.cenesta-submission input.submit {
  margin: auto;
  display: block;
}

.home-feed.instagram {
  margin: 80px 0;
  clear: both;
}

.home-feed.instagram .title {
  font: bold 24px Gudea, Helvetica,sans-serif;
  margin: 0 2% 1% 0;
  color: #fff;
  text-align: center;
}

.home-feed.instagram #sbi_images {
  padding: 0 !important;
}

.home-feed.instagram .sbi_item:first-child {
  border-right: 0;
}

.home-feed.instagram .sbi_item {
  border: 4px solid #93908e;
}

#sbi_load a.sbi_load_btn {
  background-color: #3a3a3c !important;
}

#sbi_load .sbi_follow_btn a {
  background-color: #e29930 !important;
}
 
.feed.instagram {
  overflow: hidden;
  float: right;
}

.feed.instagram .handler {
  cursor: pointer;
  margin: 10px 10px 0 0;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
}

.feed.instagram .handler.on {
  transform: rotate(45deg);
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}

.feed.instagram .handler.off {
  transform: rotate(0deg);
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}

.feed.instagram .panel {
  background-color: #fff;
  position: absolute;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background-color: #EDE0D7;
  z-index: 99;
  overflow: hidden;
  opacity: 0;
}

.feed.instagram .panel.hide {
  right: -100%;
  opacity: 0;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}

.feed.instagram .panel.show {
  right: 0;
  opacity: 1;
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  -ms-transition: all 1s;
  -o-transition: all 1s;
  transition: all 1s;
}

#sb_instagram .sb_instagram_header a {
  color: #4b4b4b;
}

#sb_instagram .sb_instagram_header {
  padding: 5px 50px 5px 5px !important;
}

#cenesta-publication-slider-container,
#cenesta-category-slider-container,
#cenesta-latest-news-slider-container {
  display: none;
}
 
.slider-clear {
  clear: both;
}
 
.menu-bibliography-btn-en-container {
  text-align: right;
  padding: 0 20px;
}


.menu-bibliography-btn-fa-container {
  text-align: left;
  padding: 0 20px;
}

.widget .menu-bibliography-btn-fa-container a,
.widget .menu-bibliography-btn-en-container a {
  font-weight: bold;
  background: #e05d22; /* Old browsers */ background: -webkit-linear-gradient(top, #e05d22 0%, #d94412 100%);
	/* Chrome 10+, Safari 5.1+ */ background: linear-gradient(to bottom, #e05d22 0%, #d94412 100%);
	/* W3C */ border: none; border-radius: 2px; color: #fff; display: inline-block; padding: 11px 24px 10px; text-decoration: none;
}

.widget .menu-bibliography-btn-fa-container a:hover,
.widget .menu-bibliography-btn-en-container a:hover {
  color: #fff; 
  background: #ed6a31; /* Old browsers */ background: -webkit-linear-gradient(top, #ed6a31 0%, #e55627 100%);
	/* Chrome 10+, Safari 5.1+ */ background: linear-gradient(to bottom, #ed6a31 0%, #e55627 100%);
	/* W3C */ outline: none;
}

.widget.widget_nav_menu {
  padding: 0;
}
 
.caldera-grid {
	max-width: 350px;
}

.mixed-date {
	display: inline-block; 
  cursor: pointer;
}

.mixed-date .show-date {
	color: #E63F2A;
}


.mixed-date span.from-shamsi,
.mixed-date:hover span.to-shamsi {
	display: inline-block; 
  direction: rtl; 
  unicode-bidi: embed; 
  font-family: Mitra; 
  font-size: 18px;
  min-height: 35px;
  padding: 5px 0 0 0;
  margin: 0;
  
}

.mixed-date span.from-greg,
.mixed-date:hover span.to-greg {
	display: inline-block; 
  direction: ltr; 
  unicode-bidi: embed; 
  font-family: Gudea; 
  font-size: 14px; 
  min-height: 35px;
  padding: 7px 0 0 0;
  margin: 0;
}

.mixed-date .to-shamsi {
	display: none;
}

.mixed-date .to-greg {
	display: none;
}

.mixed-date:hover span.from-greg {
	display: none;
}

.mixed-date:hover span.from-shamsi {
	display: none;
}

.persian-date {
	direction: rtl; unicode-bidi: embed; font-family: Mitra; font-size: 16px;
}

.miladi-date {
	direction: ltr; unicode-bidi: embed; font-family: Gudea;
}

.widget-events ol {
	margin: 0; padding: 0;
}

.widget .widget-events li {
	vertical-align: top; border-bottom: 1px solid #eee; white-space: nowrap; width: 100%; padding: 0; overflow: hidden;
}

.widget-events li a {
	display: block; text-decoration: none; color: #fff; background-color: #e63f2a;
}

.widget-events li.past a {
	/* background-color: #e65c4b; TODO */
	background-color: #e63f2a;
}

.widget-events li a:hover {
	color: #fff;
}

.widget-events .content {
	display: inline-block; font-weight: bold; width: 100%; margin-right: -90%; transition: margin 0.3s ease 0s; -webkit-transition: margin 0.3s ease 0s; -moz-transition: margin 0.3s ease 0s; -ms-transition: margin 0.3s ease 0s;
	-o-transition: margin 0.3s ease 0s;
}

.widget-events a:hover .content {
	margin-right: 0;
}

.widget-events .content .counter {
	display: inline-block; white-space: normal; width: 10%; text-align: center; vertical-align: top; padding-top: 15%;
}

.widget-events .content .title {
	display: inline-block; text-align: center; vertical-align: top; white-space: normal; width: 90%;
}

.widget-events .thumbnail {
	display: inline-block; vertical-align: top; width: 90%;
}

.widget-events .thumbnail img {
	border-radius: 0;
}

.widget-events .persian-date, .widget-events .miladi-date {
	font-style: italic;
}

.widget-publications ol {
	margin: 0; padding: 0;
}

.widget .widget-publications li {
	vertical-align: top; white-space: nowrap; 
	border-bottom:1px solid #eee;
	width: 100%; padding: 0; overflow: hidden;
}

.widget-publications li a {
	display: block; text-decoration: none; color: #fff; background-color: #A3BF61;
}


.widget-publications li a:hover {
	background-color: #e29930;
}

.widget-publications li a:hover {
	color: #fff;
}

.widget-publications .content {
	display: inline-block; 
	font-weight: bold;
	width: 65%;
	padding: 10px 5px;
}

.widget-publications .content .title {
	white-space: normal; 
}
.widget-publications .thumbnail {
	display: inline-block; 
	padding: 8px;
	width: 35%;
	vertical-align: top;
}

.widget-publications .thumbnail img {
	border: 3px solid #fff; border-radius: 50%;
	-webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -ms-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.widget-publications a:hover .thumbnail img {
	-webkit-transform: scale(1.1); -moz-transform: scale(1.1); -o-transform: scale(1.1); transform: scale(1.1);
}

.widget {
	font-size: 14px; -webkit-hyphens: auto; -moz-hyphens: auto; -ms-hyphens: auto; hyphens: auto; margin: 0; padding: 20px; word-wrap: break-word;
}

.widget .widget-title {
	font: 300 20px Gudea, Helvetica, sans-serif; margin: 0 0 10px;
  font-weight: bold;
}

.widget ul,
.widget ol {
	list-style-type: none; margin: 0; padding: 0;
}

.widget li {
	padding: 5px 0;
}

.widget .children li:last-child {
	padding-bottom: 0;
}

.widget li>ul,.widget li>ol {
	margin-left: 20px;
}

.widget a {
	color: #e63f2a;
}

.widget a:hover {
	color: #ea9629;
}

/* Search widget */
.search-form .search-submit {
	display: none;
}

/* RSS Widget */
.widget_rss .rss-date {
	display: block;
}

.widget_rss .rss-date,.widget_rss li>cite {
	color: #a2a2a2;
}

/* Calendar Widget */
.widget_calendar table,.widget_calendar td {
	border: 0; border-collapse: separate; border-spacing: 1px;
}

.widget_calendar caption {
	font-size: 14px; margin: 0;
}

.widget_calendar th,.widget_calendar td {
	padding: 0; text-align: center;
}

.widget_calendar a {
	display: block;
}

.widget_calendar a:hover {
	background-color: rgba(0, 0, 0, 0.15);
}

.widget_calendar tbody td {
	background-color: rgba(255, 255, 255, 0.5);
}

.site-footer .widget_calendar tbody td {
	background-color: rgba(255, 255, 255, 0.05);
}

.widget_calendar tbody .pad,.site-footer .widget_calendar tbody .pad {
	background-color: transparent;
}

.no-avatars .comment-metadata,.no-avatars .comment-content,.no-avatars .comment-list .reply {
	width: 100%;
}

.comment-list .edit-link {
	margin-left: 20px;
}

.comment-content {
    padding: 0 5px;
}

.comment-metadata {
	background-color: #fff;
	padding: 0 5px;
	border-bottom: 1px solid rgb(219, 219, 219);
}

.comment-awaiting-moderation,.comment-content,.comment-list .reply {
	float: right; width: 79%; width: -webkit-calc(100% - 124px); width: calc(100% - 124px); word-wrap: break-word;
}

.comment-metadata a, .comment-metadata a:hover,.comment-metadata a:visited {
	color: #E63F2A;
	font-size: 12px;
}

.ping-meta {
	color: #a2a2a2; font-size: 13px; line-height: 2;
}

.comment-awaiting-moderation {
	color: #a2a2a2;
}

.comment-awaiting-moderation:before {
	content: "\f414"; margin-right: 5px; position: relative; top: -2px;
}

.comment-reply-link:before,.comment-reply-login:before {
	content: "\f412"; margin-right: 3px;
}

/* Comment form */
.comment-respond {
	background-color: #e29930; padding: 30px 0px; max-width: 600px;
}

.comment .comment-respond {
	margin-bottom: 20px; padding: 20px;
}

.comment-reply-title {
	font: 300 italic 28px Gudea, Helvetica, sans-serif;
  font-weight: bold;
}

.comment-reply-title small a {
	color: #131310; display: inline-block; float: right; height: 16px; overflow: hidden; width: 16px;
}

.comment-reply-title small a:hover {
	color: #ea9629; text-decoration: none;
}

.comment-reply-title small a:before {
	content: "\f406"; vertical-align: top;
}

.sidebar .comment-list .comment-reply-title,.sidebar .comment-list .comment-respond .comment-form {
	padding: 0;
}

.comment-form .comment-notes {
	margin-bottom: 15px;
}

.comment-form .comment-form-author,.comment-form .comment-form-email,.comment-form .comment-form-url {
	margin-bottom: 8px;
}

.comment-form [for="author"],.comment-form [for="email"],.comment-form [for="url"],.comment-form [for="comment"] {
	float: left; padding: 5px 0; width: 120px;
}

.comment-form .required {
	color: #ed331c;
}

.comment-form input[type="text"],.comment-form input[type="email"],.comment-form input[type="url"] {
	max-width: 270px; width: 60%;
}

.comment-form textarea {
	width: 100%;
}

.comment-form a {
	color: #fff;
}

.form-allowed-tags,.form-allowed-tags code {
	color: #686758; font-size: 12px;
}

.form-allowed-tags code {
	font-size: 10px; margin-left: 3px;
}

.comment-list .pingback,.comment-list .trackback {
	padding-top: 24px;
}

.comment-navigation {
	font-size: 20px; font-style: italic; font-weight: 300; margin: 0 auto; max-width: 604px; padding: 20px 0 30px; width: 100%;
}

.no-comments {
	background-color: #e29930; font-size: 20px; font-style: italic; font-weight: 300; margin: 0; padding: 40px 0; text-align: center;
}

.sidebar .no-comments {
	padding-left: 60px; padding-right: 376px;
}



/**
 * 7.0 Footer
 * ----------------------------------------------------------------------------
 */
.site-footer {
	background-color: #3a3a3c; color: #686758; font-size: 14px; text-align: center;
}

.site-footer .widget-area,.sidebar .site-footer {
	text-align: left;
}

.site-footer a {
	color: #cfcfcf;
}

.site-footer .sidebar-container {
	background-color: #3a3a3c; padding: 20px 0; max-width:1200px; margin: auto;
}

.site-footer .widget-area {
	margin: 0 auto; width: 90%;
}

.sidebar .site-footer .widget-area {
	max-width: 724px; position: relative; left: -158px;
}

.site-footer .widget {
	background: transparent; color: #fff; float: left; 
}

.site-footer .widget:nth-child(2) {
  width: 20%;
}

.site-footer .widget:nth-child(3) {
  width: 30%;
}

.site-footer .widget:first-child,
.site-footer .widget:last-child  {
	width: 50%;
}

.sidebar .site-footer .widget {
	width: 228px;
}

.sidebar .site-footer .widget:nth-of-type(4),.sidebar .site-footer .widget:nth-of-type(3) {
	margin-right: 0;
}

.site-footer .widget a {
	color: #e6402a;
}

.site-footer .widget-title,.site-footer .widget-title a,.site-footer .wp-caption-text {
	color: #fff;
}

.site-footer i.fa {
  width: 20px;
}

.site-info {
	margin: 0 auto; padding: 10px 0; width: 100%; color: #fff; background-color: #e29930;
}

.site-info-container {
  max-width: 1200px;
  margin: 0 auto;
}

.today {
	display: inline-block;
	width: 200px;
	text-align: left;
}

#wpstats {
	display: block; margin: -10px auto 0;
}


/**
 * OBITUARY
 * ----------------------------------------------------------------------------
 */
#obituary {
  background-color: #004200;
  width: 100%;
  padding: 0 0 20px 0;
  color: #fff;
}

#obituary .banner {
  width: 100%;
  text-align: center;
}

#obituary .banner img {
  margin: 0;
  padding: 0;
  width: 100%;
  border-radius: 0;
}

#obituary .content {
  width: 100%;
  max-width: 1200px;
  padding: 20px 20px 20px 20px;
  margin: auto;
  display: table;
}

#obituary .en,
#obituary .ir {
  display: block;
  margin: 20px 0;
  display: table-cell;
  padding: 0 20px;
}

#obituary .ceremony {
  width: 95%;
  max-width: 600px;
  margin: 20px auto 30px auto;
}

#obituary .ceremony img {
  width: 100%;
  border-radius: 3px;
}

/**
 * 8.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;
}

/*
@media ( max-width: 1024px ) {

  div.events {
    width: 99%;
    max-width: 800px;
    margin: auto;
  }

  div.events .event {
    float: unset;
    width: 95%;
    margin: 0.5% auto;
    display: block;
  }

  .grid  .grid-item {
    width: 100%; 
    max-width: 600px;
  }

}
*/

@media ( max-width: 1100px ) {
  
  #obituary .content {
    display: block;
    padding: 0 20px 20px 20px;
  }
  #obituary .en {
    font-size: 90%;
  }
  
  #obituary .en,
  #obituary .ir {
    display: block;
  }
}

@media ( max-width: 800px ) {

  div.events {
    width: 99%;
    max-width: 800px;
    margin: auto;
  }

  div.events .event {
    float: unset;
    width: 95%;
    margin: 0.5% auto;
    display: block;
  }

  .grid  .grid-item {
    width: 100%; 
    max-width: 600px;
  }

}

@media ( max-width: 768px ) {
  
  #single-sidebar {
    display: none;
  }
  
  .site-footer .widget:first-child,
  .site-footer .widget:last-child {
      float: none;
      width: 100%;
  }
  
  .site-footer .widget {
      width: 50%;
  }
  
  /* Small menu */
  .menu-toggle {
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
  }

  .menu-toggle,
  .menu-toggle:hover,
  .menu-toggle:focus,
  .menu-toggle:active {
    background: none;
    border: none;
    color: #141412;
    padding: 12px 20px 12px 20px !important;
  }

  .menu-toggle:focus {
    outline: none;
  }

  .menu-toggle:after {
    content: "\f502";
    font-size: 12px;
    padding-left: 8px;
    vertical-align: -4px;
  }

  .toggled-on .menu-toggle:after {
    content: "\f500";
    vertical-align: 2px;
  }

  .toggled-on .nav-menu,
  .toggled-on .nav-menu > ul {
    display: block;
    margin-left: 0;
    padding: 0;
    width: 100%;
  }
  
  .toggled-on .nav-menu .sub-menu ul,.toggled-on .nav-menu .children ul {
    border: none;
  }

  .toggled-on li,
  .toggled-on .children {
    display: block;
  }

  .toggled-on .nav-menu li > ul {
    background-color: #483519;
    display: block;
    float: none;
    padding-left: 20px;
    position: relative;
    left: auto;
    top: auto;
  }

  .toggled-on .nav-menu li > ul a {
    width: auto;
  }

  ul.nav-menu,
  div.nav-menu > ul {
    display: none;
  }
}

@media ( max-width: 600px ) {
  
  div.events .event .event-thumbnail {
    display: block;
    width: 100%;
  }
  
  div.events .event .event-description {
    display: block;
    width: 100%;
    padding: 10px;
  }

  .site-footer .widget:first-child,
  .site-footer .widget:last-child,
  .site-footer .widget:nth-child(2),
  .site-footer .widget:nth-child(3),
  .site-footer .widget {
      float: none;
      width: 100%;
  }
}



/**
 * 9.0 Print
 * ----------------------------------------------------------------------------
 */


@media print {
	body {
		background: none !important; color: #fff; font-size: 10pt;
	}
}

/* Shortcode ultimates - tabs */
.su-tabs-nav span.su-tabs-current {
    background: #3a3a3c !important;
    color: #fff;
}

.su-tabs-vertical.indexed .su-tabs-nav {
  width: 10%;
}

.su-tabs-vertical.indexed .su-tabs-panes {
  width: 90%;
}
