/* CSS Document */

/* Large devices (large desktops, 1200px and up) */

body { font-family:Arial, Helvetica, sans-serif; color:#000000; font-size:14px; }

a { color:#2D2D2D; text-decoration:none; }
h1 { font-size:16px; }
h2 { font-size:14px; }

#wrapper { width:1000px; margin:0 auto; padding:0;}

#header { width:100%; height:80px; background-color: #000000 }
#header .logo { float:left; }
#headinfo { float:right; width:200px; margin:5px 5px 0 0; height:10px; padding:05px 0 10px 0; background:url(../images/headinfobg.gif) no-repeat; text-align:center; }
#headinfo a { color:#EFEFEF; }
#headinfo a:hover { color:#D2D2D2; border-bottom:1px solid #D2D2D2; }

.logotext { float:left; width:550px; margin:5px 0 5px 30px; font-family:Trebuchet MS; font-size:22px; color:#FFFFFF; }
.logotext strong { color:#EFEFEF; }
.logotext2 { font-size:14px; }

#nav 
{ 
	width:100%;
	margin:0;
	background: #C4C4CA;
	display: table;
	border-radius: 5px;
}
#nav ul { margin:0; padding:0}
#nav ul li 
{ 
	float:left; 
	list-style:none; 
	padding:0; 
	width: 25%;
	position: relative;
}
#nav ul li > div
{ 
	width: 100%; 
	box-sizing: border-box;
	border: 2px solid #C4C4CA !important;
	border-radius: 0 0 5px 5px;
}
#nav ul li > div a:last-child
{
	border-radius: inherit;
}
#nav ul li a 
{ 
	display:block; 
	height:15px; 
	padding:5px 0; 
	margin: 0 0.5px;
	background-color:#EFEFEF; 
	text-align:center; 
	text-decoration: none; 
	color: #000000;
}
#nav ul li:first-child a
{ border-radius: 5px 0 0 5px; }
#nav ul li:last-child a
{ 
	border-radius: 0 5px 5px 0; 
	margin-right: 0;
}
#nav ul li a:hover { background-color: #0000FF; color:#FFFFFF; }

#nav_2 { width:990px; overflow:auto; padding:1px; margin:0; background-color:#FFFFFF}
#nav_2 ul { margin:0; padding:0}
#nav_2 ul li { float:left; list-style:none; padding:0;}
#nav_2 ul li a { display:block; width:197px; height:15px; padding:2px 0; background-color:#555555; color:#FFFFFF; text-align:center; font-size: 12px; font-style: italic;}
#nav_2 ul li a:hover { background-color: #FFCD59; color:#000000;}

.economics__main-page .img,
.forex__main-page .img
{
	width: 33.3%;
	display: table;
	float: left;
}
.economics__main-page .img img,
.forex__main-page .img img
{ 
	border: 1px solid #C4C4CA;
	height: 166px;
	width: 250px;
}
.forex__main-page .img img
{
	height: 188px;
	width: 250px;
}
.economics__main-page .col{
	width: 33.3%;
	float: left;
	padding: 0 10px;
	box-sizing: border-box;
}

.forex__main-page .col{
	float: left;
	padding: 0 10px;
	box-sizing: border-box;
}

#content { width:100%; }

#left { float:left; width:170px; }
#left ul { margin: 0; padding:0; }
#left ul li { list-style:none; margin:1px 0; padding:0; }
#left ul li a { display:block; width:170px; margin:0; padding:5px; background-color:#E6E6E6; }
#left ul li a:hover { background-color:#FFCD59; font-weight: bold }
#left ul li ul { margin: 0; padding:0; }
#left ul li ul li { list-style:none; margin:1px 0; padding:0; }
#left ul li ul li a { padding:5px; background-color:#EFEFEF; }

#main_1 { float:right; width:400px; text-align: center; margin-right: 10px}
#main_1 ul { margin: 0; padding:0; text-align: left}
#main_1 ul li { list-style:none; margin:1px 0; padding:0; }
#main_1 ul li a { display:block; width:400px; margin:0; padding:5px; background-color:#E6E6E6; }
#main_1 ul li a:hover { background-color:#FFCD59; font-weight: bold }
#main_1 ul li ul { margin: 0; padding:0; }
#main_1 ul li ul li { list-style:none; margin:1px 0; padding:0; }
#main_1 ul li ul li a { padding:5px; background-color:#EFEFEF; }

#main_2 { float:left; width:400px; text-align: center }
#main_2 ul { margin: 0; padding:0; text-align: left }
#main_2 ul li { list-style:none; margin:1px 0; padding:0; }
#main_2 ul li a { display:block; width:400px; margin:0; padding:5px; background-color:#E6E6E6; }
#main_2 ul li a:hover { background-color:#FFCD59; font-weight: bold; }
#main_2 ul li ul { margin: 0; padding:0; }
#main_2 ul li ul li { list-style:none; margin:1px 0; padding:0; }
#main_2 ul li ul li a { padding:5px; background-color:#EFEFEF; }

#intro { float:none; width:800px; text-align: center}

#breadcrumb { float:left; width:80%; background-color:#EFEFEF; }

#right { float:left; width:80%; }
#right .postinfo { display:block; width:90%; margin:5px; padding:6px; background-color:#EFEFEF; border:1px solid #D4D4D4; }
#right p a { color:#FFCD59; font-weight:bold; text-decoration:underline; }

.clear { clear:both; }

#books { }
#books a { color:#0000FF; text-decoration:underline; }
#books a:hover { color:#FF0000; text-decoration:none; }

#back { }
#back a 
{ 
	color:#FFFFFF; 
	background-color: #555555; 
	text-decoration:none; 
	float: right;
	padding: 5px 5px;
	border-radius: 10px;
}
#back a:hover { color:#FFFFFF; background-color: #0000FF; text-decoration:none; }

#up { }
#up a { float: right; font-weight: bold; color: #000000; font-size: 14pt }
#up a:hover { color:#CC0000; font-weight: bold }

#top { position: fixed; left: auto; top: auto; margin-left: 3px; background-image: url(../images/top/top_background_210_255.jpg); background-repeat: no-repeat; width: 220px; height:265px }
#top a {  }
#top a:hover { color: #FF0000 }

#top_2 { left: auto; top: auto; margin-left: 3px; background-image: url(../images/top/top_background_210_255.jpg); background-repeat: no-repeat; width: 220px; height:265px }
#top_2 a {  }
#top_2 a:hover { color: #FF0000 }

#top_content { background-image: url(../images/top/top_background_210_255.jpg); background-repeat: no-repeat; width: 220px; height:265px; margin-top: 4px }
#top_content a {  }
#top_content a:hover { color: #FF0000 }

#main_content { float: left; margin-left: 30px; background-image: url(../images/top/main_background_710_720.jpg); background-repeat: no-repeat; width: 720px; height:710px }
#main_content a {  }
#main_content a:hover { color: #FF0000 }

#topic {  }
#topic a { font-size: 14pt; color: #0033FF; font-weight: bold; height: 30px; text-decoration: none }
#topic a:hover { color: #FF0000 }

#search 
{ 
	float:left; 
	width:90% !important; 
}

#search_note 
{ 
	float:left; 
	margin: 15px 5px 5px 0;
	color: #000000; 
	font-size: 8pt;
	width:90%;
}

/* Оптимизация */
body > table 
{ width: 1170px !important; }
body > table tr:first-child td:first-child table
{ width: 100%; }
#ya-site-form0 .ya-site-form__input-text
{ height: 25px; }
#up a
{
	left: 50% !important;
	top: auto !important;
	margin-left: -20px;
	bottom: 0;
	height: 30px;
	width: 40px;
	display: none;
	background: #000000;
	border-radius: 20px 20px 0 0;
	border: 1px solid #ffffff;
	border-bottom: none;
	z-index: 100;
	color: transparent;
	font-size: 0px;
	opacity: 0.8;
}
#up a:hover
{ opacity: 1; }
#up a:before
{
  position: absolute;
  content: '\2039';
  top: -5px;
  left: 16px;
  color: #ffffff;
  -moz-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
  font-size: 35px;
  -moz-transition: top 0.2s;
  -webkit-transition: top 0.2s;
  -ms-transition: top 0.2s;
  -o-transition: top 0.2s;
  transition: top 0.2s;
}
#up a:hover:before
{ top: -8px; }
body > table tr:nth-child(2) td:nth-child(1)
{ width: 75% !important; }
body > table tr:nth-child(2) td:nth-child(2)
{ width: 25%; }
.logo__text
{
	font-size: 15pt;
	font-weight: bold;
	text-align: center;
	font-style: italic;
	width: 295px;
	display: inline-block;
}
.ya-site-form__search,
.ya-site-form__search-input
{ border-radius: 5px; }
.economics__main-page,
.forex__main-page
{
	display: table;
	width: 100%;
	border: 1px solid #C4C4CA;
	margin-bottom: 20px;
	border-radius: 10px;
	box-shadow: 0px 1px 5px 0px rgb(0, 0, 0);
	padding: 10px;
	box-sizing: border-box;
}
.forex__main-page
{ margin-bottom: 200px; }
.sidebar__caption
{
	font-weight: bold;
	margin: 20px 0 20px 5px;
}
.sidebar__caption.main-page
{ margin: 70px 0 20px 5px; }
.banner-728-90,
.banner-468-60
{ float: right; }
.banner-468-60
{
    display: none;
}
.banner-468-60 img {
    max-width: 100%;
}
.ya-site-form__submit
{ height: 25px; }

/* Навигация */
.nav__active-section
{	
	background: #0000FF !important; 
	color: #FFFFFF !important;
}
#economics,
#forex
{
	position: absolute; 
	visibility: hidden; 
	border: 1px solid #000000;
}
.table_contents,
.content-page
{ width: 100% !important; }
.table_contents tr:nth-child(1) td,
.table_contents tr:nth-child(2) td
{ box-sizing: border-box; }
.content-page > div#books
{ width: 100% !important; }
img[id^="mark_"]
{ 
	width: 100% !important; 
	max-width: 700px;
}
body > table tr:nth-child(2) td:nth-child(1) > div a
{ cursor: pointer; }
.brokers-list
{ margin-top: 30px; }
.baner-alfaforex-wrapper
{ color: transparent; }
.content-page > div#books.img-mw650 img
{ 
	max-width: 650px !important;
	height: auto !important; 
}
.content-page > div#books p
{
	text-align: justify;
	text-indent: 35.45pt;
}
.fs-italic
{ font-style: italic; }
.ta-center
{ text-align: center; }
.baner-right-block2
{
	margin-top: 20px;
}
.banner-728-90:nth-of-type(2)
{
	float: left;
}

/* Medium devices (desktops, 992px and up) */
/* adaptivity to 1199px */
@media screen and (max-width: 1199px)
{
	body > table 
	{ width: 970px !important; }	
	.banner-468-60
	{
		display: block;
		margin: 15px 15px 20px 0;
		width: 468px !important;
	}			
	.banner-728-90
	{
		display: none;
		width: 728px !important;
	}	
	.economics__main-page .col
	{ width: 30%; }
	body > table tr:nth-child(2) td:nth-child(1) .banner-468-60
	{
		margin: 15px auto !important;
		float: none;
	}
}
/* Small devices (tablets, 768px and up) */
@media screen and (max-width: 991px)
{
	body > table 
	{ width: 750px !important; }
	.banner-468-60
	{ margin: 0; }
	.logo
	{
		width: 250px;
		height: auto;
	}
	.logo__text
	{ width: 250px; }
	#forex
	{ z-index: 100; }
	#forex a:first-child
	{ height: 30px; }
	body > table tr:nth-child(2) td:nth-child(1) 
	{ width: 60% !important; }
	body > table tr:nth-child(2) td:nth-child(2) 
	{ width: 40% !important; }
	.economics__main-page .img,
	.forex__main-page .img
	{ display: none; }
	.economics__main-page .col 
	{ width: 50%; }
	.economics__main-page .col,
	.forex__main-page .col
	{
		padding-left: 0;
		padding-right: 20px;
	}
	.ya-site-form__input-text
	{ width: 180px !important; }
	#up 
	{ display: none; }
	.about-us
	{ display: none; }
	.content-page > div#books img
	{ 
		width: 100% !important;
		height: auto !important; 
	}
	.banner-bottom
	{ display: none; }
}
/* Extra small devices (phones, less than 768px) */
@media screen and (max-width: 767px)
{
	body > table 
	{ width: 100% !important; }
	.banner-468-60
	{ display: none; }
	.logo 
	{
		margin: 0 auto;
		display: block;
	}
	.logo__text 
	{ 
		width: 100%; 
		margin-top: -15px;
	}
	body > table tr:nth-child(2) td:nth-child(1) {
		width: 100% !important;
		display: block;
		float: none;
	}
	body > table tr:nth-child(2) td:nth-child(2)
	{
		width: 100% !important;
		display: block;
		float: none;
	}
	.economics__main-page .col,
	.forex__main-page .col
	{ float: none; }
	.economics__main-page .col p#books,
	.forex__main-page .col p#books
	{ text-align: left !important; }
	#search
	{
		margin-left: 0 !important;
		width: 95% !important;
	}
	#search td.ya-site-form__search-input-layout-l
	{
		width: 70% !important;
		float: left;
	}
	#search td.ya-site-form__search-input-layout-r
	{
		width: 30% !important;
		float: left;
	}
	.ya-site-form__input-text 
	{ width: 100% !important; }
	.ya-site-form__submit
	{ width: 93% !important; }
	#search_note
	{ margin-left: 0px !important; }
	.forex__main-page
	{ margin-bottom: 0; }
	#forex a[href="forex/brokers/"] 
	{ height: 15px; }
	#nav ul li {
		float: none;
		width: 100%;
	}
	#nav ul li:first-child a
	{ border-radius: 5px 5px 0 0; }
	#nav ul li:last-child a
	{ border-radius: 0 0 5px 5px; }
	#nav ul li:not(:last-child)
	{ border-bottom: 1px solid #C4C4CA; }
	#economics,
	#forex
	{
		position: relative; 
		height: 0;
	}
	#economics.active,
	#forex.active
	{ 
		visibility: visible;
		height: 100%;
	}
	#nav ul li > div,
	#economics,
	#forex
	{ border: none !important; }
	#economics a,
	#forex a
	{
		border-top: 1px dashed #C4C4CA;
		background: #ffffff !important;
		font-style: italic;
	}
	#economics a:hover,
	#forex a:hover
	{ background: #0000FF !important; }
	#economics a:first-child,
	#forex a:first-child
	{ border-top: 1px solid #C4C4CA; }
	#forex a:first-child
	{ height: 15px; }
	body > table tr:nth-child(2) td:nth-child(1) > div
	{ 
		margin-left: 0 !important; 
		padding: 0 10px;
	}
	.risk-warning
	{ 
		margin-left: 0 !important; 
		padding: 0 10px;
	}
	.content-page > div#books > p
	{ 
		padding: 0 10px; 
		text-indent: unset !important;
		text-align: left !important;
		font-size: 14pt !important;
	}
	.baner-right
	{
		text-align: center;
		display: block;
		margin-left: -20px;
	}
	#nav ul li a
	{
		height: 20px;
		font-size: 15px;
	}
}

.skillbox-banners {
    padding: 0 5px;
}

.skillbox-banner__title {
    margin-bottom: 1rem;
}

.skillbox-banner__item {
    margin-bottom: 1.5rem;
}

.skillbox-banner__item a {
    display: block;
    padding-top: 100%;
    position: relative;
}

.skillbox-banner__item img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar__caption {
    font-size: 20px;
}

.banner-468-60 img {
    max-width: 468px;
    height: auto;
}