@import "partials/typography.less";
@import "partials/blocks.less";

.mce-content-body,
.editor-rich-text__tinymce{
    line-height: 1.63;    
}

body p{
    margin-bottom: 30px;
}
h1{
    margin-bottom: 2rem;
}
h2{
    margin-bottom: 1.8rem;
}
h3{
    margin-bottom: 1.4rem;
}
h4{
    margin-bottom: 1.2rem;
}
h5{
    margin-bottom: 1rem;
}
h6{
    margin-bottom: 0.8rem;
}

.wp-block .block-library-list ul {
    padding-left: 0;
    ul{
        margin-top: 10px;
    }
  }
.wp-block .block-library-list ol {
    padding-left: 0;
    ol{
        margin-top: 10px;
    }
}
.wp-block .block-library-list ul li,
.wp-block .block-library-list ol li {
    margin-bottom: 1rem;
}

//Table
.wp-block table.wp-block-table{
    border-collapse: collapse;
}
.wp-block-table__cell-content{
    padding: 0;
}

.wp-block[data-align="left"] .wp-block-pullquote,
.wp-block[data-align="right"] .wp-block-pullquote,
.wp-block[data-align="left"] .wp-block-cover,
.wp-block[data-align="right"] .wp-block-cover {
    max-width: 400px;
    margin-top: 8px;
    margin-bottom: 0;
}

//Blockquote
.wp-block .wp-block-quote p {
    text-align: inherit;
    margin: 0 0 20px;
    font-style: normal;
    font-size: 2.2rem;
    line-height: 3.4rem;
}
.wp-block-quote.is-large p, 
.wp-block-quote.is-style-large p{
    font-style: normal;
    font-size: 26px;
}

.wp-block-quote.is-style-large .wp-block-quote__citation,
.wp-block-pullquote__citation,
.wp-block-quote__citation{
    font-size: 85%;
    opacity: 1;
}
.wp-block-pullquote .wp-block-pullquote__citation{
    text-transform: none;
}
.wp-block .wp-block-pullquote p,
.wp-block .wp-block-pullquote .editor-rich-text__tinymce p{
    font-size: 22px;
    line-height: 34px;    
}
.wp-block-quote,
.wp-block-pullquote blockquote,
.wp-block-pullquote.is-style-solid-color{
    border: none;
}

.wp-block .wp-block-pullquote{
    padding: 0;
}
.wp-block .wp-block-quote blockquote p,
.wp-block[data-align="left"] .wp-block-pullquote p,
.wp-block[data-align="right"] .wp-block-pullquote p{
    font-size: 18px;
    line-height: 30px;
}
.wp-block[data-align="left"] .wp-block-pullquote blockquote,
.wp-block[data-align="right"] .wp-block-pullquote blockquote{
    text-align: left;
    padding: 40px;
    .wp-block-pullquote__citation{
        font-size: 85%;
    }
}

.wp-block[data-align="left"] .is-style-solid-color.wp-block-pullquote,
.wp-block[data-align="right"] .is-style-solid-color.wp-block-pullquote{
    border-top: 0;
    border-bottom: 0;
}

.wp-block[data-align="wide"] .wp-block-pullquote blockquote,
.wp-block[data-align="full"] .wp-block-pullquote blockquote{
    max-width: 909px;
    margin-left: auto;
    margin-right: auto;
}
.wp-block-code .block-editor-plain-text{
    font-size: 16px;
}


//Separator
.wp-block-separator{
	max-width: 200px;
	border-bottom-width: 1px;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots){
    max-width: 200px; 
}
.wp-block-separator.is-style-wide {
    max-width: 100%;
    border-bottom-width: 1px;
}

//Calendar
.wp-block-calendar{
    text-align: center;
}
.wp-block-calendar thead td, 
.wp-block-calendar thead th{
    border-right: none;
    border-bottom: none;
}
.wp-block-calendar table th,
.wp-block-calendar table td,
.wp-block-calendar table tr{
    text-align: center;
}
//Search
.wp-block .wp-block-search__input{
    padding: 5px;
    height: 47px;
    outline: 0;
    line-height: 1;
    font-size: 100%;
    margin: 0;
    border-radius: 0;
    vertical-align: baseline;
    border-radius: none;
    transition: .2s all cubic-bezier(.4,0,.2,1);
}
.wp-block .wp-block-search__button{
    border-radius: 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    min-width: 40px;
    transition: all .2s ease;
    -webkit-appearance: none;
    font-weight: 400;
    border: none;
    padding: 6px 24px;
    border-bottom: none;
}

//Preformated Code
.wp-block-code,
.wp-block-code textarea,
pre.editor-rich-text__tinymce,
.wp-block-verse pre{
    font-family: monospace,monospace;
    border-radius: 0;  
    font-size: 16px;     
}