

@font-face{
	font-family: 'proxima-nova';
	src: url('/template/fonts/proxima_nova_condensed_regular.ttf');
}

@font-face{
	font-family: 'tilda';
	src: url('/template/fonts/Tilda/TildaSans-Semibold.ttf');
}
@font-face {
	font-family: 'vip';
	src: url('/template/fonts/PT_Sans_Narrow.ttf');}
@font-face {
	font-family: 'late';
	src: url('/template/fonts/lato-light.ttf');}
@font-face {
	font-family: 'das';
	src: url('/template/fonts/adana-script.ttf');}


audio
{
	width: 100%;
	height: 44px;
  z-index: 0;
}
audio::-webkit-media-controls,
video::-webkit-media-controls
{
	width: inherit;
	height: inherit;
	position: relative;
	direction: ltr;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
  color: #72de21;
}
audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure
{
	width: 100%;
	max-width: 800px;
	height: 50px;
	flex-shrink: 0;
	bottom: 0;
	text-indent: 0;
	padding: 0;
	box-sizing: border-box;
}
video::-webkit-media-controls-enclosure
{
	padding: 0px 5px 5px 5px;
	height: 55px;
	flex-shrink: 0;
}
audio::-webkit-media-controls-panel, video::-webkit-media-controls-panel
{
	display: flex;
	flex-direction: row;
	align-items: center;
	/* We use flex-start here to ensure that the play button is visible even
	* if we are too small to show all controls.
	*/
	justify-content: flex-start;
	-webkit-user-select: none;
	position: relative;
	width: 100%;
	z-index: 0;
	overflow: hidden;
	text-align: right;
	bottom: auto;
	height: 50px;
	background-color: #446f6a;
	border-radius: 5px;
	/* The duration is also specified in MediaControlElements.cpp and LayoutTests/media/media-controls.js */
	transition: opacity 0.3s;
}
video:-webkit-full-page-media
{
	margin: auto;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
audio:-webkit-full-page-media, video:-webkit-full-page-media
{
	max-height: 100%;
	max-width: 100%;
}
audio:-webkit-full-page-media::-webkit-media-controls-panel,
video:-webkit-full-page-media::-webkit-media-controls-panel
{
	bottom: 0px;
}
audio::-webkit-media-controls-mute-button, video::-webkit-media-controls-mute-button
{
	-webkit-appearance: media-mute-button;
	display: flex;
	flex: none;
	border: none;
	box-sizing: border-box;
	width: 35px;
	height: 30px;
	line-height: 30px;
	margin: 0 6px 0 0;
	padding: 0;
	background-color: initial;
	color: inherit;
}
audio::-webkit-media-controls-overlay-enclosure
{
	display: none;
}
video::-webkit-media-controls-overlay-enclosure
{
	display: flex;
	position: relative;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	flex: 1 1;
	width: 100%;
	max-width: 800px;
	text-indent: 0;
	box-sizing: border-box;
	overflow: hidden;
}
video::-webkit-media-controls-overlay-play-button
{
	-webkit-appearance: media-overlay-play-button;
	display: flex;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: -40px;
	margin-top: -40px;
	border: none;
	box-sizing: border-box;
	background-color: transparent;
	width: 80px;
	height: 80px;
	padding: 0;
}
audio::-webkit-media-controls-play-button, video::-webkit-media-controls-play-button
{
	-webkit-appearance: media-play-button;
	display: flex;
	flex: none;
	border: none;
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin-left: 9px;
	margin-right: 9px;
	padding: 0;
	background-color: initial;
	color: white;
}
audio::-webkit-media-controls-timeline-container, video::-webkit-media-controls-timeline-container
{
	-webkit-appearance: media-controls-background;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-end;
	flex: 1 1;
	-webkit-user-select: none;
	height: 16px;
	min-width: 0;
}
audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display, video::-webkit-media-controls-time-remaining-display
{
	-webkit-appearance: media-current-time-display;
	-webkit-user-select: none;
	flex: none;
	display: flex;
	border: none;
	cursor: default;
	height: 30px;
	margin: 0 9px 0 0;
	padding: 0;
	line-height: 30px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
	font-style: normal;
	color: white;
	letter-spacing: normal;
	word-spacing: normal;
	text-transform: none;
	text-indent: 0;
	text-shadow: none;
	text-decoration: none;
}
audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline
{
	-webkit-appearance: media-slider;
	display: flex;
	flex: 1 1 auto;
	height: 8px;
	margin: 0 15px 0 0;
	padding: 0;
	background-color: transparent;
	min-width: 25px;
	border: initial;
	color: inherit;
}
audio::-webkit-media-controls-volume-slider, video::-webkit-media-controls-volume-slider
{
	-webkit-appearance: media-volume-slider;
	display: flex;
	/* The 1.9 value was empirically chosen to match old-flexbox behaviour
	* and be aesthetically pleasing.
	*/
	flex: 1 1.9 auto;
	height: 8px;
	max-width: 70px;
	margin: 0 15px 0 0;
	padding: 0;
	background-color: transparent;
	min-width: 15px;
	border: initial;
	color: inherit;
}

html, body{
	margin: 0;
	padding: 0;
  max-width: 1400px;
  margin: auto;
  font-size: 27px;
	background: F9FAF
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
*{
	margin: 0;
	padding: 0;
	position: relative;
	text-decoration: none;
	font-family: 'vip';
	font-width: 300;
	border: 0;
	outline: 0;
	box-sizing: border-box;
}
#head{
	padding: 15px 0 17px 0;
	font-family: 'Times New Roman';
	background: #49736f;
	text-align: center;
  
}
#head a{
	display: inline-block;
	height: 33px;
	margin-top: 17px;
	font-size: 24px;
	margin-left: 21px;
	letter-spacing: 0px;
	/*font-family: 'vip';*/

}
#head a:first-child{
	margin-left: 0;
}
#head a img{
	height: 100%;
}
#head a span{
	display: inline-block;
	bottom: 7px;
	margin-left: 5px;
	/*font-family: 'Arial Narrow';*/
	color: white;
	font-family: "Manrope", sans-serif;
	font-optical-sizing: auto;
	font-weight: lighter;
	font-style: normal;
  font-size: 25px;
}
#citata{
	border: 2px solid #ef8e18;
	border-radius: 11px;
	margin: auto;
	margin-top: 11px;
	padding: 21px;
	padding-top: 11px;
	padding-bottom: 11px; 
	width: 80%;
	font-size: 25px;
	line-height: 1.1;
	z-index: 1;
	color: #3a5a58;
  transition: all 2s;
}
#citata span{
	color: #1e2f2e;
	font-size: 25px;
}
#citata h1{
	font-size: 39px;
	font-family: 'Urbanist';
	font-weight: normal;
}


#books{
	width: 80%;
	margin: auto;
	margin-top: 11px;
}
#books a{
	display: block;
	margin-left: 22px;
	margin-top: 22px;
	font-size: 21px;
	color: #253d3a;
	font-weight: bold;
	font-size: 30px;
}
.books{
	padding: 0;
	margin: 0;
}
#books .books a{
	display: block;
	font-size: 25px;
	margin-top: 7px;
	margin-left: 33px;
	color: #3a5a58;
}
#book{
	width: 77%;
	margin: 33px auto;
	white-space: pre-wrap;
	color: #15201f;
}
.bookTable{
	font-weight: normal;
	color: #1a2828;
	font-weight: bold;
	white-space: pre-wrap;
	border: 0;
	width: 100%;
}
.bookTable *{
	font-size: 35px;
}
.bookTable i{
	display: inline-block;
	margin-top: 5px;
	right: 0;
}
.bookTable b{
	display: inline-block;
	margin-top: 3px;
	color: #49736f;
}
.bookTable span{
	display: inline-block;
	margin-top: 3px;
	color: #49736f;
	font-size: 25px;
}
.bookTable img{
	height: 345px;
	cursor: pointer;
}
#right{
	text-align: right;
}
#left{
	padding: 33px 0 0 33px;
}


#book span[data-name]{
	display: block;
	text-align: center;
	font-weight: bold;
	font-size: 1.2em;
	margin-bottom: -1em;
}
#book b{
	display: inline-block;
	left: 0.1em;
}
#content a, #content span{
	color: #091310;
	display: inline-block;
	margin-left: 0.1em;
	font-family: 'tilda';
	font-size: 25px;
}
#content b{
	font-size: 28px;
}
#bookImg2{
	display: none;
}
#logo{
	width: 80%;
	margin: auto;
}
#logo img{
	height: 99px;
	display: inline-block;
	top: 15px;
	left: -3px;
}
#logo h1{
	font-size: 63px;
	display: inline-block;
	color: #3a5a58;
	bottom: 3px;
	font-weight: lighter;
	font-family: "Manrope", sans-serif;
	transform: scale(0.7,1);
	transform-origin: left;
	font-weight: normal;
}
.chakra{
	height: 55px;
	top: 11px;
}
#main{
	width: 80%;
	margin: auto;
	white-space: pre-wrap;
	color: #1e2f2e;
	margin-top: 11px;
	font-size: 27px;
	line-height: 1.1;
}
#main img{
	top: 2px;
	left: 2px;
}
#main h1{
	margin-bottom: -15px;
}
#footer{
	width: 100%;
}
.a{
	color: #097159;
}
#citata i{
	display: block;
	text-align: right;
	font-size: 25px;
	font-weight: bold;
}
#to_top{
	position: fixed;
	right: 0;
	bottom: -123px;
	transition: all 2s;
	height: 88px;
	cursor: pointer;
	z-index: 800;
}
#top{
	position: fixed;
	left: 23px;
	top: 23px;
	cursor: pointer;
	display: none;
  z-index: 777;
}
#bottom{
	position: fixed;
	left: 23px;
	bottom: 23px;
	cursor: pointer;
  z-index: 777;
}
#left{
	text-align: center;
	padding: 0;
	padding-left: 55px;
}
#right{
	text-align: center;
	padding-right: 55px;
}
.bookTable i{
	color: #365653;
}
#book h2{
	font-size: 35px;
	margin-bottom: -23px;
}
#book h3{
	margin-bottom: -13px;
}
#linkBooks{
  width: 80%;
  margin: auto;
  margin-top: 7px;
}
#linkBooks img{
  top: 7px;
  height: 33px;
}
#linkBooks a{
  color: #365653;
  font-size: 27px;
}
#no{
  text-align: center;
  color: #365653;
  font-size: 33px;
  margin-top: 33px;
}
#no2{
  text-align: center;
}
#no2 a{
  color: #365653;
  font-size: 33px;
  font-weight: bold;
}
#no2 img{
  top: 8px;
}

/**/
#inspiration{
  width: 80%;
  margin: 33px auto;
}
#inspiration2{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: space-evenly;
  margin-bottom: 15px;
}
#inspiration2 a{
  display: inline-block;
  color: #548580;
  font-size: 30px;
  font-weight: bold;
}
.inspiration{
  white-space: pre-wrap;
}
.inspiration *{
  font-size: 24px;
}
.inspiration div i{
  position: absolute;
  right: 0;
}
.inspiration{
  display: none;
}
.quotes{
  margin-top: 2em;
}
.histories a{
  color: #2e4947;
  font-weight: bold;
  font-size: 26px;
  cursor: pointer;
  display: inline-block;
}
.histories div div{
  display: none;
  white-space: pre-wrap;
  padding-bottom: 33px;
}
#footer{
  bottom: -15px;
}

.audio{
  margin-top: 2em;
  white-space: normal;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: space-evenly;
  width: 110%;
  right: 5%;
}
#our_authors{
  font-weight: bold;
  color:#026044;
  font-size: 36px;
  cursor: pointer;
  margin-top: 33px !important;
}

#our_books{
  display: none;
  white-space: pre-wrap;
}
#our_books a{
  font-size: 25px;
  display: inline;
}
.inspiration.histories div i {
  position: static;
  display: inline-block;
  margin: 7px 0;
}
.histories{
  white-space: normal;
  margin-top: 2em;
}
.forHistories div{
  white-space: pre-wrap;
}
.forHistory{
  margin-bottom: 12px;
}
#head a #party{
  margin-left: 1px;
}
.button{
  position: absolute;
  z-index: 99;
  left: 17px;
  top: 8px;
  cursor: pointer;
}
.wrap{
  position: absolute;
  z-index: 98;
  left: -17px;
  width: 111%;
  height: 53px;
  top: -2px;
}

#book h1{
  font-size: 35px;
}
#main h1{
  font-size: 25px;
}
header{
  z-index: 111;
}
h2{
  font-size: 29px;
}
#our_authors{
  margin-left: 0 !important;
}

#our_books a{
  margin-left: 0 !important;
}
.quotes img{
  display: block;
  max-width: 100%;
  margin: auto;
  margin-top: 1em;
}
#audioImg{
  width: 100%;
  margin-bottom: 33px;
  text-align: center;
  height: 234px;
}
#audioImg img{
  display: inline-block;
  height: 100%;
  margin: 0 1px;
  cursor: pointer;
}
.video{
  margin-top: 2em;
  white-space: normal;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-content: space-evenly;
  display: none;
}
.video iframe{
  width: 45%;
  display: inline-block;
  margin-bottom: 1em;
}
.cent2{
  top: 5px;
}
.flags{
	position: absolute;
	top: 38px;
	right: 11px;
	width: 33px;
}
.flags img{
	width: 100% !important;
	height: auto !important;
	display: inline-block;
	border-top: 1px solid blue;
	cursor: pointer;
}
.flags img:first-child{
	margin-bottom: 28px;
}
#head .flags a{
	display: none;
	width: 100%;
	margin: 0 !important;
	padding: 0;
}
#wrapper .flags2 a{
	display: none;
}
.flags2{
	display: none;
}
footer{
	z-index: 779;
}
#menuWrap{
	z-index: 999999 !important;
}

#chat-panel {
	position: fixed;
	bottom: -500px;
	right: 20px;
	width: 400px;
	background-color: #1f1f1f;
	border: 1px solid #333;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
	transition: bottom 1s ease-in-out;
	font-family: sans-serif;
	z-index: 9999;
	border: 3px solid #49736F;
}

#chat-panel.open {
	bottom: 0;
}

#chat-header {
	background-color: #2a2a2a;
	color: #49736F;
	padding: 10px;
	text-align: center;
	cursor: pointer;
	font-weight: bold;
}

#chat-body {
	display: flex;
	flex-direction: column;
	height: 300px;
}

#chat-messages {
	flex: 1;
	padding: 10px;
	overflow-y: auto;
	font-size: 17px;
	color: #eee;
}

#chat-form {
	display: block;
	border-top: 1px solid #444;
	padding: 5px;
	background-color: #2a2a2a;
}

#chat-input {
	width: calc(100% - 55px);/* учитываем отступ */
	box-sizing: border-box;
	resize: none;
	background: #1f1f1f;
	border: 1px solid #444;
	color: #fff;
	padding: 8px;
	border-radius: 5px;
	font-size: 17px;
}

#chat-form button {
	margin-left: 5px;
	padding: 8px 10px;
	background: #49736F;
	border: none;
	border-radius: 25px;
	color: white;
	font-weight: bold;
	cursor: pointer;
	height: 50px;
	width: 50px;
	position: absolute;
	right: 7px;
}
#openChat{
	position: fixed;
	bottom: 0;
	right: 69px;
	width: 80px;
	cursor: pointer;
}
.audio-player {
	background: #1e1e1e;
	color: #eee;
	padding: 10px;
	border-radius: 8px;
	width: 300px;
	font-family: sans-serif;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

button {
	background: #49736f;
	border: none;
	color: #EF8E18FF;
	padding: 6px 10px;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
}

button:hover {
	background: #49736f;
}

input[type="range"] {
	width: 67%;
	accent-color: #49736f;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	height: 4px;
	background: #ccc;
	border-radius: 2px;
}
.cent2{
	background: white;
}
#time{
	font-size: 21px;

}
.audioWrap{
	display: inline-block;
	width: 43%;
	margin: auto;
	margin-bottom: 33px;

}
.audioWrap div{
	background: #49736f;
	height: 44px;
	border-radius: 11px;
}

/* ===== Chrome, Safari, Edge ===== */
input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	background: #6da39d;
	border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	margin-top: -5px; /* центрирование по треку */
	width: 14px;
	height: 14px;
	background: #ffffff;
	border: 2px solid #6da39d;
	border-radius: 50%;
	cursor: pointer;
}

/* ===== Firefox ===== */
input[type="range"]::-moz-range-track {
	height: 4px;
	background: #6da39d;
	border-radius: 2px;
}

input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	background: #ffffff;
	border: 2px solid #6da39d;
	border-radius: 50%;
	cursor: pointer;
}

#chat-input {
	scrollbar-width: none;       /* Firefox */
	-ms-overflow-style: none;    /* IE */
	resize: none;
	overflow: hidden;
	min-height: 40px;
	max-height: 150px;
}
#chat-input {
	scrollbar-width: none;       /* Firefox */
	-ms-overflow-style: none;    /* IE */
}

#chat-input::-webkit-scrollbar {
	display: none;               /* Chrome, Safari */
}
#chat-header img{
	vertical-align: middle;
	height: 30px; /* или меньше, если иконка крупная */
	margin-right: 6px;
}
::selection {
	background: #49736F;  /* Цвет фона выделения */
	color: #ffffff;       /* Цвет текста при выделении */
}
/* Chrome, Safari, Edge */
::-webkit-scrollbar {
	width: 8px;
}
::-webkit-scrollbar-track {
	background: #ffffff;
}
::-webkit-scrollbar-thumb {
	background: #49736F;
	border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
	background: #366259;
}

/* Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: #49736F #ffffff;
}
#name{
	background: #1d1d1d;
	color: white;
	width: 100%;
	text-align: center;
	font-size: 17px;
	border: 1px solid #444;
}
#audio{
	display: none;
}
#chat-messages ul li{
	border-bottom: 1px solid;
	margin-bottom: 11px;
	padding-bottom: 11px;
	border-image: linear-gradient( to right, white, #06243d ) 1 0%;
	margin-left: -2px;
}
.time {
	position: absolute;
	bottom: -10px;
	right: 0;
	opacity: 0.5;
	color: #91baaa;
	font-size: 13px;
}
.name{
	cursor: pointer;
}



