/*--------------------------------------------------------------
/= WordPress core
--------------------------------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/*--------------------------------------------------------------
/= WordPress Core Customize
--------------------------------------------------------------*/

.wp-block-table table {
    width: auto;
    min-width: 35vw;
    max-width: 100%;
    clear: both;
    font-size: 0.85rem;
    border: 2px solid #5c3bdd;
}

.wp-block-table.summary {
	width:100%!important;
}

.wp-block-table.summary table {
    border: 1px solid #f1efef;
    width: 100%!important;
}

.wp-block-table.aligncenter,
.wp-block-table.aligncenter table {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-table th,
.wp-block-table td {
    padding: 7px 14px;
}

.wp-block-table th:not(.has-text-align-left),
.wp-block-table td:not(.has-text-align-left) {
    text-align:center;
}

.wp-block-table tr th:first-child,
.wp-block-table tr td:first-child {
    text-align: left;
    padding-right: 50px;
}

.wp-block-table .has-fixed-layout tr td,
.wp-block-table .has-fixed-layout tr th {
	width: 20%;
}

.wp-block-table .has-fixed-layout tr td:first-child,
.wp-block-table .has-fixed-layout tr th:first-child {
	width: 30%;
	padding-right:0;
}

.wp-block-table thead th {
    background: #5c3bdd;
    color: #fff;
    text-transform: uppercase;
    border-collapse: collapse;
    font-weight: 500;
    line-height: 1.25em;
    height: 47px;
}

.wp-block-table tfoot tr td {
    border-top: 2px solid #0080ff;
}

.wp-block-table {
	width: auto;
	display: block;
	margin: 1em 0 2em;
	overflow-y: scroll;
}

.wp-block-table::before {
	content:'';
	display:table;
	clear:both;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd),
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: #f1efef;
} 

.wp-block-table.table figcaption {
    text-align:center;
    font-style: italic;
    color: #979595;
    margin-top: -15px;
}

.wp-block-table .has-fixed-layout {
    width: 100%!important;
}

.wp-block-button .wp-block-button__link {
    margin-top: 0.5em;
    text-decoration: none!important;
    transition: all linear 0.2s;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus {
    opacity: 0.85;
}

.wp-block-table.aligncenter tbody tr td:first-child {
    font-weight: 500;
}

.wp-block-video video {
    max-width: 100%;
}

@media screen and ( max-width:768px ) {
    .wp-block-table table {
        min-width: 280px;
        font-size: 15px;
    }
}

/** * WordPress Smile */

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

/*--------------------------------------------------------------
/= Media
--------------------------------------------------------------*/

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

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

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/*--------------------------------------------------------------
/= Galleries
--------------------------------------------------------------*/

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}
