/* Rutube Video Modal Styles */
.rutube-video-container {
	margin: 1px 1px;
    /* text-align: center; */
    display: inline-block;
}

.rutube-video-link {
	display: inline-block;
	padding: 4px 6px 2px 6px;
	background: #213a50;
	color: #ffffff !important;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background 0.3s ease;
	cursor: pointer;
}

.rutube-video-link:hover {
	background: #e55a2b;
	text-decoration: none;
}

/* Modal Styles */
.rutube-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
	animation: fadeIn 0.3s;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.rutube-modal-content {
	position: relative;
	margin: 2% auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
	background-color: #000;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	animation: slideDown 0.3s;
	overflow: hidden;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
}

@keyframes slideDown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

.rutube-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #ffffff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
	line-height: 1;
	transition: color 0.3s ease;
}

.rutube-modal-close:hover {
	color: #ff6b35;
}

.rutube-modal-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Editor Button Styles */
.rutube-bbcode-btn {
	margin: 2px;
	/*padding: 5px 10px;*/
	background: #213a50;
	color: #ffffff !important;
	border: 1px solid #213a50;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.3s ease;
}

.rutube-bbcode-btn:hover {
	background: #ffffff;
	color: #213a50 !important;
}

.rutube-bbcode-btn:active {
	background: #d44a1b;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
	.rutube-modal-content {
		width: 95%;
		margin: 5% auto;
	}
	
	.rutube-modal-close {
		top: -35px;
		font-size: 30px;
	}
}

/* VK Video Styles */
.vk-video-container {
	margin: 1px 1px;
	display: inline-block;
}

.vk-video-link {
	display: inline-block;
	padding: 4px 6px 2px 6px;
	background: #4a76a8;
	color: #ffffff !important;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background 0.3s ease;
	cursor: pointer;
}

.vk-video-link:hover {
	background: #5b88bd;
	text-decoration: none;
}

/* VK Modal Styles */
.vk-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
	animation: fadeIn 0.3s;
}

.vk-modal-content {
	position: relative;
	margin: 2% auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
	background-color: #000;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	animation: slideDown 0.3s;
	overflow: hidden;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
}

.vk-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #ffffff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
	line-height: 1;
	transition: color 0.3s ease;
}

.vk-modal-close:hover {
	color: #5b88bd;
}

.vk-modal-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* VK Editor Button Styles */
.vk-bbcode-btn {
	margin: 2px;
	background: #4a76a8;
	color: #ffffff !important;
	border: 1px solid #4a76a8;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.3s ease;
}

.vk-bbcode-btn:hover {
	background: #ffffff;
	color: #4a76a8 !important;
}

.vk-bbcode-btn:active {
	background: #3d5f8a;
}

/* Responsive adjustments for VK */
@media screen and (max-width: 768px) {
	.vk-modal-content {
		width: 95%;
		margin: 5% auto;
	}
	
	.vk-modal-close {
		top: -35px;
		font-size: 30px;
	}
}

/* OK Video Styles */
.ok-video-container {
	margin: 1px 1px;
	display: inline-block;
}

.ok-video-link {
	display: inline-block;
	padding: 4px 6px 2px 6px;
	background: #ee8208;
	color: #ffffff !important;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background 0.3s ease;
	cursor: pointer;
}

.ok-video-link:hover {
	background: #ff9500;
	text-decoration: none;
}

/* OK Modal Styles */
.ok-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
	animation: fadeIn 0.3s;
}

.ok-modal-content {
	position: relative;
	margin: 2% auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
	background-color: #000;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	animation: slideDown 0.3s;
	overflow: hidden;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
}

.ok-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #ffffff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
	line-height: 1;
	transition: color 0.3s ease;
}

.ok-modal-close:hover {
	color: #ff9500;
}

.ok-modal-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* OK Editor Button Styles */
.ok-bbcode-btn {
	margin: 2px;
	background: #ee8208;
	color: #ffffff !important;
	border: 1px solid #ee8208;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.3s ease;
}

.ok-bbcode-btn:hover {
	background: #ffffff;
	color: #ee8208 !important;
}

.ok-bbcode-btn:active {
	background: #d67307;
}

/* Responsive adjustments for OK */
@media screen and (max-width: 768px) {
	.ok-modal-content {
		width: 95%;
		margin: 5% auto;
	}
	
	.ok-modal-close {
		top: -35px;
		font-size: 30px;
	}
}

/* Dzen Video Styles */
.dzen-video-container {
	margin: 1px 1px;
	display: inline-block;
}

.dzen-video-link {
	display: inline-block;
	padding: 4px 6px 2px 6px;
	background: #000000;
	color: #ffffff !important;
	text-decoration: none;
	border-radius: 5px;
	font-weight: bold;
	transition: background 0.3s ease;
	cursor: pointer;
}

.dzen-video-link:hover {
	background: #333333;
	text-decoration: none;
}

/* Dzen Modal Styles */
.dzen-modal {
	display: none;
	position: fixed;
	z-index: 10000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.8);
	animation: fadeIn 0.3s;
}

.dzen-modal-content {
	position: relative;
	margin: 2% auto;
	padding: 0;
	width: 90%;
	max-width: 1200px;
	background-color: #000;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
	animation: slideDown 0.3s;
	overflow: hidden;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	height: 0;
}

.dzen-modal-close {
	position: absolute;
	top: -40px;
	right: 0;
	color: #ffffff;
	font-size: 40px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
	line-height: 1;
	transition: color 0.3s ease;
}

.dzen-modal-close:hover {
	color: #cccccc;
}

.dzen-modal-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

/* Dzen Editor Button Styles */
.dzen-bbcode-btn {
	margin: 2px;
	background: #000000;
	color: #ffffff !important;
	border: 1px solid #000000;
	border-radius: 3px;
	cursor: pointer;
	font-size: 12px;
	transition: background 0.3s ease;
}

.dzen-bbcode-btn:hover {
	background: #ffffff;
	color: #000000 !important;
}

.dzen-bbcode-btn:active {
	background: #333333;
}

/* Responsive adjustments for Dzen */
@media screen and (max-width: 768px) {
	.dzen-modal-content {
		width: 95%;
		margin: 5% auto;
	}
	
	.dzen-modal-close {
		top: -35px;
		font-size: 30px;
	}
}
