/* Like & Share */

.share-button-whatsapp { background-color: #35A883; }
.share-button-telegram { background-color: #5EB5F7; }
.share-button-viber { background-color: #675EAB; }
.share-button-messages { background-color: #3F97F6; }
.share-button-vkontakte { background-color: #5881BA; }
.share-button-odnoklassniki { background-color: #E68100; }
.share-button-facebook { background-color: #1F599B; }
.share-button-twitter { background-color: #03A9F4; }

/* Alternation & Pagination */

.alternation {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-bottom: 40px;
}
@media screen and (max-width: 780px) {
	.alternation {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}

.pagination {
	display: flex;
}

.page-numbers {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
	border: 1px solid #CEDCE2;
	color: #AFBDC7;
	font-size: 13px;
	line-height: 18.2px;
	font-weight: 500;
}
.page-numbers + .page-numbers {
	margin-left: 5px;
}
.page-numbers.current {
	background: #DCEAED;
	border: none;
	color: #162A37;
}

/* Text Styling */

p:not([class]) {
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 35px;
}
p:not([class]):last-child {
	margin-bottom: 0;
}
@media screen and (max-width: 780px) {
	p:not([class]) {
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 30px;
	}
}
@media screen and (max-width: 640px) {
	p:not([class]) {
		font-size: 16px;
		line-height: 20px;
		margin-bottom: 20px;
	}
}
@media screen and (max-width: 480px) {
	p:not([class]) {
		text-align: justify;
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 20px;
	}
}

h4:not([class]) {
	font-weight: 700;
	font-size: 18px;
	line-height: 24px;
	margin-bottom: 18px;
}
h3:not([class]) {
	font-weight: 700;
	font-size: 22px;
	line-height: 28px;
	margin-bottom: 22px;
}
h2:not([class]) {
	font-weight: 700;
	font-size: 26px;
	line-height: 32px;
	margin-bottom: 26px;
	text-transform: uppercase;
}
h1:not([class]) {
	font-weight: 700;
	font-size: 30px;
	line-height: 36px;
	margin-bottom: 30px;
	text-transform: uppercase;
}

a:not([class]) {
	color: #162A37;
	background: #DCEAED;
	border-radius: 4px;
	display: inline;
	padding: 2px;
}
a:not([class])[href*="uploads"] {
	background: none;
}

hr:not([class]) {
	border: 2px solid #DCEAED;
	margin-bottom: 35px;
}

blockquote:not([class]),
q:not([class]) {
	border-left: 5px solid #DCEAED;
	padding-left: 14px;
	margin-bottom: 35px;
	font-style: italic;
}

strong:not([class]),
b:not([class]) {
	font-weight: bolder;
	font-style: normal;
}

em:not([class]),
i:not([class]) {
	font-weight: normal;
	font-style: italic;
}

ul:not([class]),
ol:not([class]) {
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 35px;
	margin-left: 24px;
}
ul:not([class]) > li:not([class]) { list-style: square; }
ol:not([class]) > li:not([class]) { list-style: decimal; }

table:not([class]) {
	width: 100%;
	font-size: 14px;
	line-height: 20px;
	margin-bottom: 35px;
	border: 3px solid #DCEAED;
	border-collapse: collapse;
}

td:not([class]) {
	margin: 0;
	padding: 6px 16px;
	border: 1px solid #DCEAED;
}

tr:not([class]) {
	margin: 0;
	padding: 0px;
}

iframe {
	width: 100%;
	height: 50vh;
	border: none;
}

.wp-video {
	width: 100%;
	height: 50vh;
	margin: 35px 0;
}

.mejs-controls {
    left: 0;
    top: 0;
}

/* WP Fixes */

.gallery,
.wp-caption {
	margin-bottom: 35px !important;
}

.gallery .gallery-item {
	margin: 0 !important;
	padding: 0 !important;
}

.gallery .gallery-item img {
	border: none !important;
	padding: 5px !important;
}
