
/*===================
Gutenberg styles
=====================*/

.entry-content .has-large-font-size {
  font-size: 36px;
  line-height: 1.4;
}

.entry-content p {
  line-height: 1.6;
  font-size: 16px;
}
.entry-content a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.wp-block-group p:last-child{
  margin-bottom: 0px;

}
/** === Button === */
.wp-block-button .wp-block-button__link {
  margin-bottom: 20px;
}

.wp-block-button.alignleft .wp-block-button__link {
  margin-right: 30px;
}

.wp-block-button.alignright .wp-block-button__link {
  margin-left: 30px;
}


.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--theme-primary-color);
  color: var(--theme-white-color);
  text-decoration: none;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover{
  background: var(--theme-black-color);
  color: var(--theme-white-color);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover{
  background: var(--theme-black-color);
  color: var(--theme-white-color);
}


.wp-block-button.is-style-outline, .wp-block-button.is-style-outline:hover, .wp-block-button.is-style-outline:focus, .wp-block-button.is-style-outline:active {
  background: transparent;
  color: var(--theme-primary-color);
}

.wp-block-button.is-style-outline .wp-block-button__link, 
.wp-block-button.is-style-outline:hover .wp-block-button__link,
 .wp-block-button.is-style-outline:focus .wp-block-button__link, 
 .wp-block-button.is-style-outline:active .wp-block-button__link {
  background: transparent;
}

.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color),
 .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color), 
 .wp-block-button.is-style-outline:focus .wp-block-button__link:not(.has-text-color),
  .wp-block-button.is-style-outline:active .wp-block-button__link:not(.has-text-color) {
  color: var(--theme-primary-color);
  text-decoration: none;
}

 .wp-block-button.is-style-outline:hover .wp-block-button__link:not(.has-text-color) {
  background: var(--theme-primary-color);
  color: var(--theme-white-color);
}

/** === Cover === */
.wp-block-cover p:not(.has-text-color) {
  color: #fff;
  font-weight: 700;
  font-size: 24px;
}

.wp-block-cover {
  margin-bottom: 30px;
}

.wp-block-cover.alignleft {
  margin-right: 20px;
  margin-top: 0px;
}

.wp-block-cover.alignright {
  margin-left: 20px;
}

.wp-block-cover.has-background-dim-60.has-background-dim a {
  text-decoration: underline;
  color: var(--theme-primary-color);
}

/** === Blockquote === */
blockquote.wp-block-quote p, blockquote p {
  color: #000;
  padding-top: 30px;
  font-size: 24px;
}


blockquote.wp-block-quote, .wp-block-quote, 
.wp-block-quote:not(.is-large):not(.is-style-large) {
  border-width: 2px;
  border-color: var(--theme-primary-color);
  background: #F4F7FC;
  padding: 33px;
  font-size: 20px;
  line-height: 35px;
  margin: 15px 0px;
}

.wp-block-pullquote {
  border-color: transparent;
  border-width: 2px;
  color: #000;
  padding: 30px;
}


.wp-block-pullquote.is-style-solid-color blockquote:not(.has-text-color) {
  color: #fff;
}

.wp-block-quote.is-style-large {
  padding: 30px;
}

/** === Common === */
.wp-block-file {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.wp-block-file a {
  font-weight: 700;
  color: #cc302b;
}

.wp-block-file a:hover {
  color: var(--theme-primary-color);
}
.wp-block-file .wp-block-file__button {
  padding: 12px 30px;
  background: var(--theme-primary-color);
  color: #fff;
  text-decoration: none;
}


/** === Latest Posts, Archives, Categories === */
ul.wp-block-archives,
.wp-block-categories,
.wp-block-latest-posts {
  padding: 0;
}

.wp-block-categories, .wp-block-archives {
  margin-bottom: 20px;
}

ul.wp-block-archives ul,
.wp-block-categories ul,
.wp-block-latest-posts ul {
  padding: 0;
}

ul.wp-block-archives li > a,
.wp-block-categories li > a,
.wp-block-latest-posts li > a {
  font-size: calc(16px * 1.125);
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
  color: #000;
}

ul.wp-block-archives li ul,
.wp-block-categories li ul,
.wp-block-latest-posts li ul {
  padding-left: 1rem;
}

.wp-block-categories ul {
  padding-top: 0.75rem;
}

.wp-block-categories ul ul {
  counter-reset: submenu;
}

.wp-block-categories ul ul > li > a::before {
  font-weight: normal;
  content: "– " counters(submenu, "– ", none);
  counter-increment: submenu;
}

.wp-block-categories li ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: -0.75rem;
}

.wp-block-archives.wp-block-archives-dropdown select, 
.wp-block-categories.wp-block-categories-dropdown select {
  max-width: 100%;
  padding: 10px 20px;
  border: 1px solid #ddd;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  color: #596172;
  border-color: #ebebeb;
  font-size: 15px;
  font-weight: 400;
  font-style: normal;
  line-height: 50px;
  height: 50px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0px;
  padding: 0 30px;
  border-radius: 0 !important;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAh0lEQVQ4T93TMQrCUAzG8V9x8QziiYSuXdzFC7h4AcELOPQAdXYovZCHEATlgQV5GFTe1ozJlz/kS1IpjKqw3wQBVyy++JI0y1GTe7DCBbMAckeNIQKk/BanALBB+16LtnDELoMcsM/BESDlz2heDR3WePwKSLo5eoxz3z6NNcFD+vu3ij14Aqz/DxGbKB7CAAAAAElFTkSuQmCC");
  background-repeat: no-repeat;
  background-position: 95% center;
  background-color: #fff;
}

.wp-block-latest-posts__list li {
  margin-bottom: 20px;
}

.wp-block-group.has-background {
  padding: 1rem;
  margin-top: 0;
  margin-bottom: 0;
}

/** === Table === */

.wp-block-table td, .wp-block-table th {
  border-color: #767676;
}

table {
  width: 100%;
  border: 1px solid #fbfbfb;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 20px;
}

table > tbody > tr:nth-child(2n+1) {
  border: 1px solid #e7e7e7;
}

table > tbody > tr > td {
  padding: 10px 10px;
  border: 1px solid #EDEDED;
  text-align: center;
}

table > thead > tr > th, table > tbody > tr > th {
  padding: 10px 10px;
  border: 1px solid #EDEDED;
  text-align: center;
}

table > thead > tr > th .wp-block-verse,
table > thead > tr > th .wp-block-verse pre, table > tbody > tr > th .wp-block-verse,
table > tbody > tr > th .wp-block-verse pre {
  padding: 0;
  font-size: 18px;
}

dl {
  color: #222;
}

dl dd {
  padding-left: 20px;
}

code {
  overflow: auto;
  max-width: 100%;
  padding: 0 1em;
  border: 1px solid #ddd;
  background-color: #f9f9f9;
  display: inline-block;
  vertical-align: middle;
  word-wrap: break-word;
  margin: 15px 0;
  line-height: 2;
}

/*---------------------------
 PASSWORD
-------------------------*/
.wp-block-gallery:not(.has-nested-images).alignleft{
  margin-right: 20px;
}

.wp-block-gallery:not(.has-nested-images) figcaption{
  margin-bottom: 20px;
}

.sticky .blog-item{
  background: #f5f5f5;
  border: 0px;
  border-left: 2px solid var(--theme-primary-color);
  margin-bottom: 30px;
}

.sticky .blog-item .btn{
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  color: #fff;
}


.wp-block-latest-comments__comment {
	line-height: 1.6;
}

@media only screen and (min-width: 768px){
  .single-post-content .entry-content .alignfull{
      padding: 0 60px;
  } 
  /* .single-post-content .entry-header {
    margin: calc(3 * 1rem) calc(5% + 0px) 1rem;
  } */

}

.single-post-content  .entry-content > *.alignfull, .single-post-content .entry-summary > *.alignfull,
.single-post-content .entry-summary > .wp-block-group > .wp-block-group__inner-container > *.alignfull, 
.single-post-content .entry-content > .wp-block-group > .wp-block-group__inner-container > *.alignfull
 {
  margin-top: calc(2 * 1rem);
  margin-bottom: calc(2 * 1rem);
  left: calc( -12.5% - 75px);
  width: calc( 125% + 150px);
  max-width: calc( 125% + 150px);
  position: relative;
  clear: both;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  grid-column: 1;
  grid-row: 1 /*!rtl:end:ignore*/;
}
.wp-block-media-text .wp-block-media-text__content {
  direction: ltr;
  grid-column: 2;
  grid-row: 1;
  padding: 0 8%;
  word-break: break-word;
}

.wp-block-media-text .wp-block-media-text__content,
 .wp-block-media-text .wp-block-media-text__media, 
 .wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__content, 
 .wp-block-media-text.is-vertically-aligned-center .wp-block-media-text__media {
  align-self: center;
}
.single-post-content .entry-content .wp-block-group.has-background .wp-block-group__inner-container > *:first-child{
  margin-top: 0px;
}
.single-post-content .entry-content .wp-block-group.has-background .wp-block-group__inner-container > *:last-child{
  margin-bottom: 0px;
}

/*  Tag Cloud */


.wp-block-tag-cloud a {
  display: block;
  color: #647589;
  font-size: 13px!important;
  background: #f5f5f5;
  padding:6px 16px;
  text-transform: capitalize;
  color: #333;
  margin: 0px 5px 10px 0px;
  display: inline-block;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  text-decoration: none;
}

.wp-block-tag-cloud a i {
  margin-right: 10px;
}

.wp-block-tag-cloud a:hover {
  color: #fff;
  background: var(--theme-primary-color);
}

/*  WP Latets block posts */

.blog-sidebar .wp-block-latest-posts__list{
  padding-bottom: 15px!important;
}

.wp-block-latest-posts li{
  margin-bottom: 20px;
  position: relative;
}

.wp-block-latest-posts li:after {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 20px;
  margin-top: 40px;
  width: 100%;
  background: #ebebeb;
  background: -webkit-linear-gradient(right, #ebebeb 0%, transparent 100%);
  background: linear-gradient(to left, #ebebeb 0%, transparent 100%);
}
.wp-block-latest-posts li:last-child{
  margin-bottom: 0px;
}
.wp-block-latest-posts li:last-child:after
{
  display: none;
}
.wp-block-latest-posts .wp-block-latest-posts__post-title{
  font-size: 18px;
  margin-top: 10px;
  display: inline-block;
}
.wp-block-latest-posts__featured-image{
  max-width: 60px;
  border-radius: 100%;
  float: left;
  margin-right: 20px;
  overflow: hidden;
  margin-bottom: 10px;
}

.wp-block-latest-posts .wp-block-latest-posts__post-author{
  font-weight: 600;
}

.wp-block-latest-posts .wp-block-latest-posts .wp-block-latest-posts 
.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date{
  margin-left: 20px;
  overflow: hidden;
  color: #8f9bad;
 line-height: 1;
}

.wp-block-latest-posts__post-title, .wp-block-latest-posts__post-author{
  text-transform: capitalize;
}

/*  Gutenberg Footer Blocks style */

.footer-widget .wp-calendar-table td,.footer-widget .wp-block-rss__item-title a,
.footer-widget .wp-block-archives a {
    color: var(--theme-white-color);
}

.footer-widget label, .footer-widget a ,.footer-widget .wp-block-rss__item-author,
.footer-widget .wp-block-latest-posts__post-title{
    color: var(--theme-white-color);
}
.footer-widget .wp-block-latest-posts__post-author {
    margin-right: 10px;
}

.footer-widget .wp-block-latest-posts, 
.footer-widget .wp-block-latest-posts__post-author ,
.footer-widget .wp-block-latest-posts__post-date{
    color: rgba(255,255,255,.8)!important;
}

.widget .footer-widget,
.footer-widget .wp-block-rss__item-publish-date,
.footer-widget .wp-block-rss__item-excerpt,
.footer-widget .rss-date , .footer-widget .rssSummary , .footer-widget cite,
.footer-widget .recentcomments , .footer-widget .wp-block-latest-comments__comment-meta,
.footer-widget .wp-block-categories,
.footer-widget .wp-block-archives{
    color: rgba(255,255,255,.8)
}

.footer-widget .calendar_wrap .wp-calendar-table{
    border: 1px solid #eee;
    padding: 10px;
    text-align: center;
}

.footer-widget .calendar_wrap .wp-calendar-table thead{
    background: #eee;
}

.footer-widget .calendar_wrap .wp-calendar-table thead tr{
    color: #000;
}
.footer-widget .wp-block-social-links a{
    padding: 8px 15px;
}
.footer-widget .wp-block-social-links a:before{
    display: none;
}

.footer-widget .wp-block-search .wp-block-search__inside-wrapper{
    background: #fff;
}

 .footer-widget .search-form{
    display: flex;
    flex: auto;
    flex-wrap: nowrap;
    max-width: 100%;
}

.footer-widget .search-form button:hover{
    background: var(--theme-primary-color);
}

.footer-widget .wp-block-rss{
    margin-bottom: 20px;
}


/*  Block serarch */

.wp-block-search__input {
  border-color: transparent;
  border-radius: 4px;
  background: #eef2fb;
  padding-left: 10px;
}
.wp-block-search__button{
  border-radius: 4px;
}

.wp-block-search__button {
	background: #000;
	border: 1px solid #000;
	padding: 12px 30px;
	color: #32373c;
	word-break: normal;
	font-size: inherit;
	font-family: inherit;
	line-height: inherit;
  color: #fff;
  font-family: var(--theme-primary-font);
  transition: all .4s ease;
  font-weight: 600;
}

.wp-block-search__button:hover{
  background: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  color: #fff;
}


.wp-block-search__label{
	font-size: 18px;
	line-height: 24px;
  margin: 0 auto 30px;
  color: #000;
  font-weight: 600;
  font-family: var(--theme-primary-font);
  padding-bottom: 5px;
  border-bottom: 3px solid var(--theme-primary-color);
  display: inline-block;
}

.wp-block-search__label{
  width: auto;
} 