/*
Theme Name: Higher Education
Description: Used to style Gutenberg Blocks.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Blocks - General Styles
2.0 Blocks - Common Blocks
3.0 Blocks - Formatting
4.0 Blocks - Layout Elements
5.0 Blocks - Widgets
6.0 Blocks - Colors
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Blocks - General Styles
--------------------------------------------------------------*/

/* Captions */
[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	border: none;
	font-size: inherit;
	font-style: italic;
	line-height: inherit;
	margin: 0;
	padding: 0.875em;
	text-align: center;
}

.no-sidebar .alignfull {
	margin-left  : calc( -100vw / 2 + 100% / 2 );
    margin-right : calc( -100vw / 2 + 100% / 2 );
    max-width    : 100vw;
}

.no-sidebar .alignwide  {
	margin-left  : calc( -94vw / 2 + 100% / 2 );
    margin-right : calc( -94vw / 2 + 100% / 2 );
	max-width: 94vw;
}

.alignfull.wp-block-cover,
.alignwide.wp-block-cover {
	width: auto;
}

/* 768px */
@media screen and (min-width: 48em) {
	.no-sidebar .alignwide {
    	margin-left  : calc( -88vw / 2 + 100% / 2 );
        margin-right : calc( -88vw / 2 + 100% / 2 );
    	max-width: 88vw;
	}

	.no-sidebar .alignfull {
	    margin-left: calc( -92vw / 2 + 100% / 2  );
	    margin-right: calc( -92vw / 2 + 100% / 2 );
	    max-width: 92vw;
	}
}

/* 1200px */
@media screen and (min-width: 75em) {
	.no-sidebar:not(.full-width) .alignwide {
	    margin-left: -90px;
		margin-right: -90px;
		max-width: 1100px;
	}

	.no-sidebar.full-width .alignwide {
	    margin-left: -40px;
	    margin-right: -40px;
	    max-width: 1480px;
	}
}

/* 1782px */
@media screen and (min-width: 111.375em) {
	.no-sidebar .alignfull {
	    margin-left  : calc( -1670px / 2 + 100% / 2 );
        margin-right : calc( -1670px / 2 + 100% / 2 );
    	max-width: 1670px;
	}
}


/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/

/* Paragraph */
p.has-drop-cap:not(:focus):first-letter {
	float: left;
	font-size: 102px;
	font-size: 6.317rem;
	line-height: 0.7;
	margin: 8px 15px 0 -8px;
}

.rtl p.has-drop-cap:not(:focus):first-letter {
	margin: 8px -8px 0 15px;
}

/* Image */
.wp-block-image {
	margin-bottom: 1.5em;
}

.wp-block-image figure {
	margin-bottom: 0;
	margin-top: 0;
}

.wp-block-image figure.alignleft {
	margin: 0 2.1875em 1.3125em 0;
}

.wp-block-image figure.alignright {
	margin: 0 1.3125em 2.1875em;
}

/* Gallery */
.wp-block-gallery {
	margin-bottom: 1.5em;
	margin-left: 0;
}

.wp-block-gallery figcaption {
	font-style: italic;
}

.wp-block-gallery.aligncenter {
	display: flex;
	margin: 0 -8px;
}

/* Quote */
.wp-block-quote,
.wp-block-quote.is-large,
.wp-block-quote.is-style-large {
	margin: 1.5em 0;
	padding: 0 0 0 49px;
}

.rtl .wp-block-quote,
.rtl .wp-block-quote.is-large,
.rtl .wp-block-quote.is-style-large {
	padding: 0 49px 0 0;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-style: inherit;
	font-size: inherit;
	font-weight: inherit;
}

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

.wp-block-quote.alignleft p:last-of-type,
.wp-block-quote.alignright p:last-of-type {
	margin-bottom: 0;
}

.wp-block-quote cite,
.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
	color: inherit;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-weight: inherit;
	font-style: italic;
	line-height: 1.75;
}

/* Audio */
.wp-block-audio audio {
	display: block;
	width: 100%;
}

/* Cover */
.wp-block-cover-image.alignright,
.wp-block-cover.alignright,
.wp-block-cover-image.alignleft,
.wp-block-cover.alignleft,
.wp-block-cover-image.aligncenter,
.wp-block-cover.aligncenter {
	display: flex;
}

/* File */
.wp-block-file .wp-block-file__button {
	background-color: transparent;
	border: 1px solid;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	color: #111;
	display: inline-block;
	font-size: 17px;
	font-size: 1.0625rem;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.64705;
	margin-top: 2em;
	padding: 14px 35px;
	text-decoration: none;
	text-transform: unset;
	white-space: nowrap;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}


/*--------------------------------------------------------------
3.0 Blocks - Formatting
--------------------------------------------------------------*/

/* Editor Font Size */
.has-huge-font-size,
.has-large-font-size,
.has-normal-font-size,
.has-small-font-size {
	margin-bottom: 21px;
}

.has-huge-font-size {
	font-size: 32px;
	font-size: 2rem;
	line-height: 1.1666;
}

.has-large-font-size {
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.1666;
}

.has-normal-font-size {
	font-size: 17px;
	font-size: 1.0625rem;
	line-height: 1.64705;
}

.has-small-font-size {
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.64705;
}

/* 768px */
@media screen and (min-width: 48em) {
	.has-huge-font-size {
		font-size: 36px;
		font-size: 2.25rem;
	}

	.has-large-font-size {
		font-size: 30px;
		font-size: 1.875rem;
	}
}

/* 1024px */
@media screen and (min-width: 64em) {
	.has-huge-font-size {
		font-size: 42px;
		font-size: 2.625rem;
	}

	.has-large-font-size {
		font-size: 36px;
		font-size: 2.25rem;
	}
}

/* Code */
.wp-block-code {
	background: transparent;
	border: 0;
	color: inherit;
	font-size: 1em;
	padding: 0;
}

.wp-block-code cite:before,
.wp-block-code small:before {
	content: "\2014\00a0";
}

.wp-block-quote__citation {
	font-size: 16px;
	font-size: 1rem;
}

/* Pullquote */
.wp-block-pullquote {
    border: none;
    color: inherit;
    padding: 0;
    margin: 1.4736842105em 0;
}

.wp-block-pullquote blockquote {
    border: none;
    margin: 0;
}

.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright {
    max-width: none;
    width: calc(50% - 0.736842105em);
    padding-left: 0;
    text-align: left;
}

.wp-block-pullquote.alignleft {
	margin: 0 2.1875em 1.3125em 0;
}

.wp-block-pullquote.alignright  {
	margin: 0 0 1.3125em 2.1875em;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	display: block;
	font-size: 16px;
	font-size: 1rem;
	font-weight: inherit;
	font-style: italic;
	line-height: 1.4;
	text-transform: none;
}

.wp-block-pullquote p,
.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p {
	font-size: inherit;
}

/* Table */
.wp-block-table,
.wp-block-table th,
.wp-block-table td {
    border: 1px solid #eee;
    border-right: 0;
    border-left: 0;
    border-top: 0;
}

.wp-block-table caption,
.wp-block-table th,
.wp-block-table td {
    padding: 0.8823529411764706em 1.176470588235294em;
}


/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

/* Buttons */
.wp-block-button {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.wp-block-button.alignleft,
.wp-block-button.alignright {
	margin-top: 0;
}

.wp-block-button .wp-block-button__link {
	background-color: transparent;
	border: 1px solid;
	-webkit-border-radius: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	display: inline-block;
	font-size: 17px;
	font-size: 1.0625rem;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.64705;
	margin-top: 0;
	padding: 14px 35px;
	text-decoration: none;
	text-transform: unset;
	white-space: nowrap;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
}

/* Separator */
.wp-block-separator {
	border: 0;
	margin: 1.5em auto;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100px;
}

/* Media & Text */
.wp-block-media-text {
	margin-bottom: 1.555555555555556em;
}

.wp-block-media-text *:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
5.0 Blocks - Widgets
--------------------------------------------------------------*/

/* Archives, Categories & Latest Posts */
.wp-block-archives.aligncenter,
.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter {
	list-style-position: inside;
	text-align: center;
}

.wp-block-latest-posts li {
	margin-bottom: 7px;
}

.wp-block-latest-posts.is-grid {
	margin-left: 0;
}

.rtl .wp-block-latest-posts.is-grid {
	margin-right: 0;
	margin-left: auto;
}

.wp-block-latest-posts__post-date {
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.615384615;
	margin-bottom: 0.538461538em;
}

/* Comments */
.wp-block-latest-comments {
	margin-left: 0;
}

.rtl .wp-block-latest-comments {
	margin-right: 0;
	margin-left: auto;
}

.wp-block-latest-comments__comment {
	border-top: 1px solid;
	font-size: inherit;
	margin: 0;
	padding: 1.75em 0;
}

.wp-block-latest-comments article {
	margin-bottom: 0;
}

.blog:not(.has-sidebar) #primary .wp-block-latest-comments article,
.archive:not(.page-one-column):not(.has-sidebar) #primary .wp-block-latest-comments article,
.search:not(.has-sidebar) #primary .wp-block-latest-comments article {
	float: none;
	width: 100%;
}

.wp-block-latest-comments a {
	-webkit-box-shadow: none;
	box-shadow: none;
	text-decoration: none;
}

.wp-block-latest-comments__comment-meta {
	margin-bottom: 14px;
}

.wp-block-latest-comments__comment-meta,
.wp-block-latest-comments__comment-excerpt p {
	font-size: inherit;
}

.wp-block-latest-comments__comment-excerpt >:last-child {
	margin-bottom: 0;
}

.wp-block-latest-comments__comment-author,
.wp-block-latest-comments__comment-link {
	font-weight: 400;
	text-decoration: none;
}

.wp-block-latest-comments__comment-date {
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	line-height: 1.6153846154;
	letter-spacing: 0;
	margin: 7px 0 0;
}


/*--------------------------------------------------------------
6.0 Blocks - Colors
--------------------------------------------------------------*/

.wp-block-file .wp-block-file__button,
.wp-block-button .wp-block-button__link {
	border-color: #eee;
	color: #111;
}

.wp-block-file .wp-block-file__button:hover,
.wp-block-file .wp-block-file__button:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
	background-color: #00b5df;
	border-color: #00b5df;
	color: #fff;
}

[class^="wp-block-"]:not(.wp-block-gallery) figcaption {
	background-color: #fbfbfb;
	color: #777;
}

.wp-block-pullquote__citation,
.wp-block-pullquote cite {
	color: #111;
}

.wp-block-latest-comments__comment {
	border-color: #eee;
}

.wp-block-latest-posts__post-date,
.wp-block-latest-comments__comment-date {
	color: #686868;
}

.has-white-color {
	color: #fff;
}

.has-white-background-color {
	background-color: #fff;
}

.has-black-color {
	color: #000;
}

.has-black-background-color {
	background-color: #000;
}

.has-gray-color {
	color: #686868;
}

.has-gray-background-color {
	background-color: #686868;
}

.has-light-gray-color {
	color: #eee;
}

.has-light-gray-background-color {
	background-color: #eee;
}

.has-blue-color {
	color: #00b5df;
}

.has-blue-background-color {
	background-color: #00b5df;
}