 
.popup-fade {
	display: none;
}
.popup-fade:before {
	content: '';
	background: #000;
	position: fixed; 
	left: 0;
	top: 0;
	width: 100%; 
	height: 100%;
	opacity: 0.0;
	z-index: 999;
}
.popup {
	width: unset;
    margin: -35px 0px 0px 0px;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 20px;
	background: #fff;
	border: 10px solid orange;
	border-radius: 4px; 
	z-index: 90;
	opacity: 1;	
	min-width: 300px;
	max-width: 800px;
	min-height: 200px;
	max-height: 650px;
}

.popup. img{
     margin: 0;
}

.popup. figure{
     margin: 0;
}

.popup-close {
	cursor: pointer;
	z-index: 9999;
}

.close-button {
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    position: absolute;
    border: none;
	cursor: pointer;
		z-index: 9999;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    background-color: rgba(255, 128, 0, 0.7);
	//*
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	*//
    outline: none;
}

/* кнопка закрытия при наведении */
.close-button:hover {
    background-color: rgba(252, 20, 0, 0.8);
}

.head-btn  {
	display: inline-block; 
	box-sizing: border-box; 	
	padding: 0px 12px;
	margin-right: 15px;
	margin-top: 15px;
	margin-left: 3px;
	outline: none; 
	border: 1px solid #ffcc66;
	border-radius: 20px;
	height: 40px;
	line-height: 25px; 
	font-size: 17px;
	font-weight: normal;
	text-decoration: none;
	color: #eee;
	background-color: transparent;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	/*   appearance: none; 
	touch-action: manipulation;  
	/*  vertical-align: top;  */
	transition: box-shadow 0.2s;
}
.head-btn:focus-visible {
	border: 1px solid #000000;
	outline: none;
}

.head-btn:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #222;
	background-color: #eee;
}

.head-btn:active {
	color: #000;
	background-color: #fff;
}

.head-btn:disabled {
	background-color: transparent;
	border-color: #ffcc66;
	color: #eee;
	cursor: default; /* not-allowed */
}

.sign  {
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 10px;
	margin-right: 10px;
	margin-bottom: 0px;
	outline: none;
	border: 1px solid #eee;
	border-radius: 15px;
	height: 25px;
	line-height: 6px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	color: #eee;
	background-color: #000;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}
.sign:focus-visible {
	border: 1px solid #000000;
	outline: none;
}

.sign:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #000;
	background-color: #fff;
}

.sign:active {
	color: #fff;
	background-color: #000;
}

.sign:disabled {
	background-color: #000;
	border-color: #303030;
	color: #fff;
	cursor: not-allowed;
}

.start {
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 25px;
	/* margin: 5px -10px 15px 10px; */
	outline: none;
	border: 0px solid #0000cc;
	border-radius: 20px;
	height: 45px;
	line-height: 6px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: #eee;
	background-color: #006400;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}

.start:focus-visible {
	border: 0px solid #4c51f9;
	outline: none;
}
.start:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #222;
	background-color: #eee;	
}
.start:active {
	background-color: #eee;
}
.start:disabled {
	background-color: #014036;
	border-color: #014036;
	color: #eeeeee;
	cursor: default;
}

.trigger  {
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 25px; /* 25 */
	/* margin: 5px 15px 15px 0px; */
	margin-right: 25px; /* 70 */
	margin-left: 25px;
	outline: none;
	border: 0px solid #0000cc;
	border-radius: 20px;
	height: 45px;
	line-height: 6px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: #eee;
	background-color: #0000aa;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}
.trigger:focus-visible {
	border: 0px solid #000000;
	outline: none;
}

.trigger:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #222;
	background-color: #eee;
}
.trigger:active {
	background-color: #eee;
}
.trigger:disabled {
	background-color: #808080;
	border-color: #808080;
	color: #eeeeee;
	cursor: default;
}

.anser {
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 25px;
	/* margin: 5px -10px 15px 10px; */
	margin-top: 5px;
	margin-boottom: 5px;
	outline: none;
	border: 0px solid #0000cc;
	border-radius: 20px;
	height: 45px;
	line-height: 6px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: #eee;
	background-color: #006400;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}

.anser:focus-visible {
	border: 0px solid #4c51f9;
	outline: none;
}
.anser:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #222;
	background-color: #eee;	
}
.anser:active {
	background-color: #eee;
}
.anser:disabled {
	background-color: #808080;
	border-color: #808080;
	color: #eeeeee;
	cursor: default;
}

.cancel {
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 25px;
	/* margin: 5px -10px 15px 10px; */
	outline: none;
	border: 0px solid #0000cc;
	border-radius: 20px;
	height: 45px;
	line-height: 6px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	color: #eee;
	margin-left: 40px;
	background-color: #000080;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}

.cancel:focus-visible {
	border: 0px solid #4c51f9;
	outline: none;
}
.cancel:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #222;
	background-color: #eee;	
}
.cancel:active {
	background-color: #eee;
}
.cancel:disabled {
	background-color: #000020;
	border-color: #640000;
	color: #808080;
	/* cursor: not-allowed; */
}


.choice {
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 25px;
	margin: -10px -10px 20px 0px;
	outline: none;
	border: 1px solid #444;
	border-radius: 20px;
	/*background-image: linear-gradient(to right, #bc883d, #f5e47b, #bc883d);*/
	background-color: transparent; 
	color: #222;	
	height: 45px;
	line-height: 6px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}

.choice:focus-visible {
	border: 0px solid #4c51f9;
	outline: none;
}
.choice:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #444;
	/*background-image: linear-gradient(to top, #eee, #eee, #eee);*/
	background-color: #eee;
}
.choice:active {
	/*background-image: linear-gradient(to top, #222, #222, #222);*/
	background-color: transparent; 
}
.choice:disabled {
	/*background-image:linear-gradient(to right, #bc883d, #f5e47b, #bc883d);*/
	border: 1px solid #444;
	color: #eee;
	background-color: transparent; 
	cursor: not-allowed;
}

.next {
	position: right;
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 25px;
	margin: 5px -10px 15px 20px;
	outline: none;
	border: 0px solid #0000cc;
	border-radius: 20px;
	height: 45px;
	line-height: 6px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	color: #eee;
	background-color: #222;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}

.next:focus-visible {
	border: 0px solid #4c51f9;
	outline: none;
}
.next:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #222;
	background-color: #eee;		
}
.next:active {
	background-color: #eee;
}
.next:disabled {
	background-color: #303030;
	border-color: #303030;
	color: #808080;
	cursor: not-allowed;
}

.prev {
	/* position: left; */
	display: inline-block;	
	box-sizing: border-box;
	padding: 0 25px;
	margin: 5px -10px 15px 180px;
	outline: none;
	border: 0px solid #0000cc;
	border-radius: 20px;
	height: 45px;
	line-height: 6px;
	font-size: 12px;
	font-weight: 500;
	text-decoration: none;
	color: #eee;
	background-color: #222;
	box-shadow: 0 4px 6px rgb(65 132 144 / 10%), 0 1px 3px rgb(0 0 0 / 8%);
	cursor: pointer;
	user-select: none;
	appearance: none;
	touch-action: manipulation;  
	vertical-align: top;
	transition: box-shadow 0.2s;
}

.prev:focus-visible {
	border: 0px solid #4c51f9;
	outline: none;
}
.prev:hover {
	transition: all 0.2s;
	box-shadow: 0 7px 14px rgb(200 200 200 / 10%), 0 3px 6px rgb(0 0 0 / 8%);
	color: #222;
	background-color: #eee;		
}
.prev:active {
	background-color: #eee;
}
.prev:disabled {
	background-color: #303030;
	border-color: #303030;
	color: #808080;
	cursor: not-allowed;
}

/* Green Bootto */

	.knowledge-base-button {
    position: fixed;
    z-index: 999;
    top: 150px;
    left: 20px;
    background: #008000;
    width: 50px;
    padding: 5px 10px;
    height: 50px;
    -webkit-border-radius: 50px 50px 50px 50px;
    -moz-border-radius: 50px 50px 50px 50px;
    border-radius: 50px 50px 50px 50px;
    -moz-transform: rotate(-90deg) translate(-50%, 50%);
    -ms-transform: rotate(-90deg) translate(-50%, 50%);
    -webkit-transform: rotate(-90deg) translate(-50%, 50%);
    -o-transform: rotate(-90deg) translate(-50%, 50%);
    transform: rotate(-90deg) translate(-50%, 50%);
    transform-origin: 0 50%;
	}

	.knowledge-base-button .rotate {
    display: inline-block;
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 2;
	}

	.knowledge-base-button img {
    margin: 2px;
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg));
    -webkit-transition: all 400ms;
    -moz-transition: all 400ms;
    -o-transition: all 400ms;
    transition: all 400ms;
	}

	.knowledge-base-button:hover img {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);
	}
	
        #popupDialog {
            display: none;
            position: fixed;
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            padding: 20px;
            background-color: transparent;
            border: 0px solid #ccc;
			border-radius: 100px 100px 100px 100px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 1000;
			transition: display 500ms;
			
			-webkit-transition: all 500ms;
			-moz-transition: all 500ms;
			-o-transition: all 500ms;
			transition: all 500ms;
        }

        #overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.2);
            z-index: 999;
			transition: display 500ms;			
        }
		