/*
Theme Name: EfMax
Theme URI: https://efmax.ru
Author: EfMax
Author URI: https: //efmax.ru
Description: EfMax
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: efmax
Tags: efmax
*/

body {
	background-color: #746c5c;
	background-image: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

a {
	text-decoration: none;
}

a.active {
	font-weight: bold;
}

a.text-warning-emphasis:hover {
	color: #ffe69c !important;
}

.calculator p {
	text-align: justify;
}

button {
	box-shadow: none !important;
}

button.navbar-toggler {
	border-color: #ffda6a;
}

nav.navbar,
main,
.footer {
	opacity: 95%;
}

main {
	min-height: 100vh !important;
}

.navbar-expand-md .navbar-nav .nav-link {
	padding-right: 1rem;
	padding-left: 1rem;
}

.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 218, 106)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn-close-yellow {
	background: transparent url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffda6a'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") center/1em auto no-repeat;
}

.btn-close {
	filter: invert(0) grayscale(0%) brightness(100%) opacity(100%);
}

.hover-underline {
	position: relative;
	display: inline-block;
}

.hover-underline::after,
.hover-underline::before {
	content: '';
	position: absolute;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right, #ffe69c, #ffe69c);
	bottom: 4px;
	left: 0px;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s ease-out;
}

/* .hover-underline::before {
 	top: 5px;
 	transform-origin: left;
 } */

.hover-underline:hover::after,
.hover-underline:hover::before {
	transform: scaleX(1);
}

/* main {
	margin-top: 56px;
} */

.tg_share {
	display: inline-block;
	border-radius: 16px;
	background-color: #54a9eb;
	cursor: pointer;
	line-height: 22px;
	padding: 5px 17px 5px 11px;
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
}

.tg_icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 11px;
	vertical-align: top;
	background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 20 20' width='20'%3e%3cpath d='m1.77404283 9.58769086c4.67714245-1.99564845 7.79596997-3.31130205 9.35648257-3.9469608 4.4555806-1.81493491 5.381412-2.13020854 5.984856-2.14061906.1327219-.0022897.4294781.02992311.6217044.18267827.162312.12898346.2069705.30322179.2283411.42551228.0213705.12229049.047982.40087134.0268279.61854631-.2414495 2.48450744-1.2861975 8.51375174-1.817706 11.29644264-.2249011 1.1774608-.6709749 1.4294697-1.0996928 1.4681058-.9317032.0839651-1.6359598-.4602232-2.5383599-1.0395344-1.412078-.9065075-1.9311138-1.1506648-3.30178003-2.0352487-1.58404193-1.0222898-.71982554-1.5573792.18291533-2.4756292.23625159-.2403103 4.3705401-3.98382431 4.4499945-4.31554914.0099371-.04148774-.12607-.45629906-.2198814-.53795815s-.2322689-.05373486-.3321837-.03152647c-.1416262.03147972-2.397439 1.49167812-6.76743852 4.38059516-.64030496.4305972-1.22027332.6403987-1.73990507.6294043-.5728523-.0121204-1.67479033-.3172064-2.49396798-.5779863-1.00475474-.3198572-1.37564449-.4704946-1.30610794-1.013711.03621894-.2829407.29151946-.57846124.76590154-.88656154z' fill='%23fff' fill-rule='evenodd'/%3e%3c/svg%3e");
}

.tg_text {
	line-height: 21px;
	vertical-align: top;
	display: inline-block;
}



@media (max-width: 767.98px) {
	main.p-5 {
		padding: 2rem 1rem !important;
	}

	.navbar .container-fluid {
		margin: 0 !important;
	}

	.navbar .navbar-brand {
		margin-right: 1rem !important;
		margin-left: 0 !important;
	}

	.navbar li.nav-item {
		border-bottom: 1px solid #997404;
	}

	.navbar li.nav-item:first-child {
		border-top: 1px solid #997404;
	}

	.row-cols-1 .col {
		margin-top: 2rem !important;
	}

	.heading-h1 {
		margin-bottom: 2rem !important;
	}

	.calculator {
		padding: .75rem !important;
	}

	.calc_vars {
		margin-top: 2rem !important;
	}

	footer nav.mx-5,
	footer nav div.mx-5,
	footer nav div ul.mx-5 {
		margin: auto 0 !important;
	}

	.hover-underline {
		position: static;
		display: block;
	}

	.hover-underline::before,
	.hover-underline::after {
		display: none;
	}
}