﻿@charset "utf-8";
@import url("keyfram.css");

*
{
	margin: 0;
	padding: 0;
	list-style: none;

	/* Убираем возможность выделения текста
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none; */
}

input,
input:before,
input:after
{
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

/* убираем стрелки у поля ввода числа */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button
{
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

/* фон */
.sale_body
{
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: -webkit-linear-gradient(top, rgba(0,13,70,0.85) 0%, rgba(100,170,210,0.85) 60%, rgba(40,70,0,0.9) 100%);
    background: -moz-linear-gradient(top, rgba(0,13,70,0.85) 0%, rgba(100,170,210,0.85) 60%, rgba(40,70,0,0.9) 100%);
    background: -ms-linear-gradient(top, rgba(0,13,70,0.85) 0%, rgba(100,170,210,0.85) 60%, rgba(40,70,0,0.9) 100%);
    background: -o-linear-gradient(top, rgba(0,13,70,0.85) 0%, rgba(100,170,210,0.85) 60%, rgba(40,70,0,0.9) 100%);
    background: linear-gradient(top, rgba(0,13,70,0.85) 0%, rgba(100,170,210,0.85) 60%, rgba(40,70,0,0.9) 100%);
}

/* желтое окно */
.sale_body > div
{
    margin-left: 10%;
    margin-right: 10%;
    position: absolute;
    display: inline-block;
    display: -moz-inline-block;
    background: #fff7e5;
    vertical-align: middle;
    padding: 50px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

/* ссылка назад */
.back_main a 
{
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    left: 30px;
    top: 30px;
    background: #25405E url('/Images/back_sm.png') no-repeat;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
    -webkit-box-shadow: 0 0 20px #00c8ff;
    -moz-box-shadow: 0 0 20px #00c8ff;
    -o-box-shadow: 0 0 20px #00c8ff;
    box-shadow: 0 0 20px #00c8ff;
}

.back_main a:hover
{
    -webkit-transform: scale(1.3, 1.3);
    -moz-transform: scale(1.3, 1.3);
    -o-transform: scale(1.3, 1.3);
    transform: scale(1.3, 1.3);
    background: #00c8ff url('/Images/back_sm.png') no-repeat;
}

/* ссылки */
.sale_body  a
{
	/* font-family: "Verdana", sans-serif;
    font-size: 18px;
    text-indent: 2.5em; /* Отступ первой строки */
    /*text-align: justify; /* Выравнивание по ширине */
    /*line-height: 1.3; /* межстрочный интервал */
    /*margin-top: 1em;
    margin-bottom: 1em;
    color: #000; */
}

.sale_body h1
{
    text-align: center;
    font-size: 40px;
    color: #049002;
    text-shadow: 1px 1px 1px rgba(0,0,0, 0.75);
    margin-top: 0;
}

.sale_body h2
{
    text-align: center;
    font-size: 30px;
    color: #049002;
    letter-spacing: 2px; /* интервалы между буквами */
    text-shadow: 1px 1px 1px rgba(0,0,0, 0.75);
    margin-top: 0;
}

/* Оформление текста */
.sale_body p
{
    font-family: "Verdana", sans-serif;
    font-size: 18px;
    text-indent: 2.5em; /* Отступ первой строки */
    text-align: justify; /* Выравнивание по ширине */
    line-height: 1.3; /* межстрочный интервал */
    margin-top: 1em;
    margin-bottom: 1em;
    color: #000;
}

.sale_body li
{
    font-family: "Verdana", sans-serif;
    font-size: 20px;
    list-style: none;
    line-height: 1.8;
    padding-left: 40px;
    background: url(/Images/marker.png) no-repeat;
    margin-left: 3%;
}

/* Кнопки sale */
.sale
{
    position: relative;
    /*cursor: pointer;*/
    display: block;
    opacity: 0.3;
    width: 160px;
    height: 130px;
    vertical-align: middle;
    text-align: center;
    line-height: 1.8; /* межстрочный интервал */
    font-size: 30px;
    font-weight: bold;
    color: #000;
    margin: 20px;
    background: -webkit-linear-gradient(#848484, #ececec);
    background: -moz-linear-gradient(#848484, #ececec);
    background: -ms-linear-gradient(#848484, #ececec);
    background: -o-linear-gradient(#848484, #ececec);
    background: linear-gradient(#848484, #ececec);
    /*background: -webkit-linear-gradient(#004823, #00ffa2);
    background: -moz-linear-gradient(#004823, #00ffa2);
    background: -ms-linear-gradient(#004823, #00ffa2);
    background: -o-linear-gradient(#004823, #00ffa2);
    background: linear-gradient(#004823, #00ffa2);*/
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.75);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.sale:hover
{
	-webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

/* Кнопки sale */
.sale_P
{
    position: relative;
    /*cursor: pointer;*/
    display: block;
    opacity: 0.3;
    width: 160px;
    height: 130px;
    vertical-align: middle;
    text-align: center;
    line-height: 1.4; /* межстрочный интервал */
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin: 20px;
    background: -webkit-linear-gradient(#848484, #ececec);
    background: -moz-linear-gradient(#848484, #ececec);
    background: -ms-linear-gradient(#848484, #ececec);
    background: -o-linear-gradient(#848484, #ececec);
    background: linear-gradient(#848484, #ececec);
    /*background: -webkit-linear-gradient(#004823, #00ffa2);
    background: -moz-linear-gradient(#004823, #00ffa2);
    background: -ms-linear-gradient(#004823, #00ffa2);
    background: -o-linear-gradient(#004823, #00ffa2);
    background: linear-gradient(#004823, #00ffa2);*/
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
    -webkit-box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.75);
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.sale_P:hover
{
	-webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.container
{
    font-family: "Verdana", sans-serif;
    margin: 5px;
    padding: 10px;
    background: #fff7e5;
    list-style: none;
    display: -webkit-box;
    display: -moz-box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: -o-flex;
    display: flex;
    position: relative;
    text-align: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-content: flex-start;
    align-content: flex-start;
}


.field_input
{
    width: 500px;
    height: 50px;
    font-size: 24px;
    color: #001070
}

.field_input2
{
    font-size: 26px;
    width: 120px;
    height: 50px;
}

.warning p
{
    display: block;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: #d8006a;
}

.button
{
    position: relative;
    display: inline-block; /* &~ inline-block, -moz-inline-block */
    display: -moz-inline-block;
    width: 250px;
    height: 60px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 -1px 1px #777;
    font-size: 24px;
    color: #000e60;
    background: -webkit-linear-gradient(#ececee, #848484);
    background: -moz-linear-gradient(#ececee, #848484);
    background: -ms-linear-gradient(#ececee, #848484);
    background: -o-linear-gradient(#ececee, #848484);
    background: linear-gradient(#ececee, #848484);
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    -webkit-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    -o-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
}

.button:hover
{
    color: #ececee;
    background: -webkit-linear-gradient(#848484, #ececee);
    background: -moz-linear-gradient(#848484, #ececee);
    background: -ms-linear-gradient(#848484, #ececee);
    background: -o-linear-gradient(#848484, #ececee);
    background: linear-gradient(#848484, #ececee);
}

.CheckBoxSale
{
	position: relative;
	z-index: -1;
	opacity: 0;
	margin-left: 35px;
}

.CheckBoxSale+label 
{
	display: inline;
	font-family: "Verdana", sans-serif;
	align-items: center;
	user-select: none;
	font-size: 18px;
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

.CheckBoxSale+label:hover
{
	-webkit-transform: scale(1.05, 1.05);
    -moz-transform: scale(1.05, 1.05);
    -o-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
}

.CheckBoxSale+label::before 
{
	content: '';
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	flex-shrink: 0;
	flex-grow: 0;
	border: 3px solid #adb5bd;
	border-radius: 0.35em;
	margin-right: 1.0em;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50% 50%;
	-webkit-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    -o-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
}

.CheckBoxSale+label:hover::before 
{
	cursor: pointer;
	-webkit-transform: scale(1.15, 1.15);
    -moz-transform: scale(1.15, 1.15);
    -o-transform: scale(1.15, 1.15);
    transform: scale(1.15, 1.15);
}

.CheckBoxSale:checked+label::before 
{
  border-color: #0b76ef;
  background: url(/Images/marker2.png) no-repeat;
  width: 40px;
  height: 40px;
}

.btn
{
	position: relative;
	display: inline-block; /* Строчно-блочный элемент */
    background: transparent; 
	margin-left: 50px;
	margin-top: 15px;
	font-size: 24px;
	text-align: center;
    color: #011992;
    padding: 0.75em 1.75em; /* Поля вокруг текста */
	border: 3px solid #adb5bd;
    border-radius: 10px; 
	-webkit-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    -o-box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 4px 8px rgba(0, 0, 0, 0.75);
	-webkit-transition: 0.3s;
	-moz-transition: 0.3s;
	-o-transition: 0.3s;
	transition: 0.3s;
}

.btn:hover
{
	-webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    -o-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
}

.text_center p
{
	display: block;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #013a5f;
	text-indent: 0; /* Отступ первой строки */
}

/*-------------------------------------------------------------------------*/

/* Стили самого окна */
#myCustomAlert
{
    /* Расположение: сверху по центру */
    position: fixed;
    top: 20px; /* Отступ от верхнего края */
    left: 50%;
    transform: translateX(-50%); /* Центрирование по горизонтали */
    /* Дизайн окна */
    width: 90%;
    max-width: 450px; /* Чтобы не было слишком широким на ПК */
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Тень для объема */
    padding: 24px;
    color: darkturquoise;
    background: black;
    font-family: sans-serif;
}

/* Стилизация кнопок внутри */
.alert-buttons
{
    display: flex;
    gap: 10px;              /*расстояние между элементами*/
    justify-content: center; /* Кнопки по центру */
    margin-top: 20px;
}

.alert-buttons button
{
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    background: tan;
    transition: background 0.2s;
}

#btnBack
{
    color: white;
    background: #555555;
}

/* Эффект при наведении */
.alert-buttons button:hover
{
    background: #00ffdd;
    opacity: 0.8;
}

/* Затемнение заднего фона */
#myCustomAlert::backdrop
{
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px); /* Размытие фона */
}


