.playdoc div.video_learning
{
	display: inline-block;
	z-index: 140;
	background: url(images/courses-sprite.png) no-repeat 100px;
	content: '';
	height: 31px;
	top: 20px;
	left: 15px;
	position: absolute;
	width: 31px;
	background-position: 0 -945px;
}

.play  div.video_learning
{
	display: inline-block;
	z-index: 140;
	background: url(images/courses-sprite.png) no-repeat 100px;
	content: '';
	height: 31px;
	top: -9px;
	left: -6px;
	position: absolute;
	width: 31px;
	background-position: 0 -912px;
}

.courses-pre-header-container select option.block_start
{
	margin-top: 15px;
}

.courses-pre-header-container select option
{
	padding-left: 5px;
}
.learn-rating{
	padding-top: 20px;
}

h1, h2, h3, h4
{
	margin-bottom: .4em;
	margin-top: 2em;
	font-weight: bold;
}

h1{font-size: 140%;}
h2{font-size: 120%;line-height: 100%;}
h3{margin-left: 0em;font-size: 115%;}
h4{font-size: 100%;}

*html pre.syntax  {
	height: expression( this.scrollHeight > 159 ? "160px" : "auto" ); /* sets max-height for IE */
}

pre.syntax
{
	font-family: Courier New;
	background-color:#EEEEEE;
	padding:1em 1em 1em 1em;
	border: 1px solid #DDD;
	width:750px;
	/*height: 80px;*/
	max-height: 160px;
	overflow:auto;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

code
{
	font-family: Courier New, Verdana, Arial;
	font-size: 13px;
	font-weight: bold;
	background-color:#eee;
	padding: 3px 10px;

}

span.path {
	color:#4682B4;
	font-style: italic;

}
span.link {
	color:#03C;
}
/* Spoiler */
table.learning-spoiler thead {
	cursor: pointer;
}
table.learning-spoiler thead div {
	background-image: url("images/plus.gif");
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 25px;
}
table.learning-spoiler thead.learning-spoiler-head-open div {
	background-image: url("images/minus.gif");
}
table.learning-spoiler {
	background-color: #eeeeee;
	border: 1px solid #dddddd;
	border-radius: 5px;
	padding: 3px;
	table-layout: fixed;
	width: 100%;
}
table.learning-spoiler td {
	color: black;
	padding: 7px 12px;
	display: block;
	overflow-x: auto;
}

table.learning-spoiler th {
	color: black;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}

table.learning-spoiler td table td
{
	padding: 3px;
	margin: 0;
	display: table-cell;
}

table.learning-spoiler td table td p
{
	padding: 0;
	margin: 0;
	font-size: 12px;
}

/* /Spoiler */

/*Error & OK messages*/
.errortext
{
	color:red;
}

.notetext
{
	color:green;
}

/* Used to draw a "star" near reqired field */
.starrequired
{
	color:red;
}
.tree-item-closed ul{
	display: none;
}
h1{
	margin-top: 20px;
}
#scrollup {
	position: fixed;
	width: 64px;
	opacity: 0.5;
	padding: 15px 10px 10px;
	background: #aaa;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	display: none;
	cursor: pointer;
	bottom: 10px;
}
#scrollup-wrapper{
	width: 64px;
	position: absolute;
	bottom: 0px;
	left: 1100px;
}

.courses-main-wrapper {
	width: 1090px;
	margin: 0 auto;
	background: #fff url(images/grey-strip.png) repeat-y 0;
	box-shadow: 0 0 34px 0 rgba(0, 0, 0, 0.1);
	border: 1px solid #E2E2E2;
	border-top: none;
	border-bottom: none;
	position: relative;
}

.hd_signin li
{
	margin: 0;
	padding: 0;
}


#panel { height: 0; padding:0;}
#header { padding:0; vertical-align: top; }
#layout { height: 100%; width: 100%; }
#header-layout { height:155px; width:100%; table-layout: fixed;}


#logo
{
	background:transparent url(images/sidebar.png) repeat-y 0 0;
	width:286px;
	color: #000;
	text-align:center;
	font-size: 18px;
	padding:0;
}
.courses-main-wrapper .syntax{
	width: 90%;
	white-space: pre-wrap;
}
.bx-ilike-text{
	color: #7e7575;
}
#logo-box { height: 100%; background:transparent url(images/logo.gif) no-repeat; position: relative;}

#logo-text { position: absolute; left: 105px; top: 27px;  font: normal 19px/normal Arial, Helvetica, sans-serif; color: #000;}
#toolbar { position: absolute; left: 24px;  top: 113px; height: 32px; }
.toolbar-item, .toolbar-icon { display: inline-block; width: 32px; height: 32px;  cursor:pointer; }
.toolbar-item { background: url(images/toolbar-icons.gif) no-repeat 0 -32px; }
.toolbar-item:hover { background: url(images/toolbar-icons.gif) no-repeat -32px -32px; }
.toolbar-icon-tests { background: url(images/toolbar-icons.gif) no-repeat -96px 0; }
.toolbar-icon-gradebook { background: url(images/toolbar-icons.gif) no-repeat -32px 0; }
.toolbar-icon-contents { background: url(images/toolbar-icons.gif) no-repeat 0 0; }
.toolbar-icon-printer { background: url(images/toolbar-icons.gif) no-repeat -65px 0; }

#title { padding: 0; vertical-align: top; }
#title-layout { width: 100%; height: 155px; table-layout: fixed; }
#course-title-box { position: relative; }
#course-title { padding: 0 0 0 40px; vertical-align: middle; height: 67px; background: #eff2f4 url(images/course-title-bg.gif) repeat-x; font: normal 23px/normal Arial, Helvetica, sans-serif;}
#course-title-text { margin-right: 261px; }
#page-title { padding: 0; vertical-align: bottom; }
#page-title-box { margin: 10px 46px 0 27px;  position: relative; zoom:1;}
#page-title-numbers { position: absolute; top: 10px; right: 10px; font: normal 17px/normal Arial, Helvetica, sans-serif; color: #a19b7d;}

#page-title-box .r0, #page-title-box .r1 { border-left: 1px solid #fffae1; border-right: 1px solid #fffae1; background: #fff6c6;}

#page-title-text {padding: 5px 68px 5px 13px; font: normal 20px/normal Arial, Helvetica, sans-serif; background: #fff6c6; }

#course
{
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding:0;
}

/*Work area container*/
#workarea { height:100%; padding:0; vertical-align: top;}

/*Work area table*/
#workarea table.learn-work-table
{
	height:100%;
	width:100%;
	background:transparent url(images/sidebar.png) repeat-y 0 0;
}

/*Left data cell*/
#workarea table.learn-work-table td.learn-left-data
{
	vertical-align:top;
	width:254px;
	padding:12px 8px 12px 19px;
}

/*Right data cell*/
#workarea table.learn-work-table td.learn-right-data
{
	vertical-align:top;
	padding:12px 52px 35px 40px;
}

/*Min-width for left cell*/
div.learn-course-tree { width:254px; }

#footer
{
	background: url(images/sidebar.png) repeat-y;
	height: 45px;
	padding: 0 0 0 325px;
	vertical-align: top;
}
#footer-inner { border-top: 1px solid #f0e9e5; padding-top: 13px;}

#footer-text { color: #999999; cursor: pointer; vertical-align: top;}
#footer-text-arrow { display: inline-block; background: url(images/toolbar-icons.gif) no-repeat -186px -2px; width:10px; height: 9px; vertical-align: top; font-size:1px;}

div.learn-course-back, div.learn-course-next
{
	background-position: 0 4px;
	height: 15px;
}

a { color:#1952D3; }

.errortext { color:red; font-weight:bold; background: none repeat scroll 0 0 #f8f8f8; display: block; padding:15px;}

/* Round Corners*/
.r0, .r1, .r2, .r3, .r4 { overflow: hidden; font-size:1px; display: block; height: 1px;}
.r4 { margin: 0 4px; }
.r3 { margin: 0 3px; }
.r2 { margin: 0 2px; }
.r1 { margin: 0 1px; }
.courses-post img {max-width: 100%; height: auto }


body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	margin: 0;
	padding: 0;
	background: #F8F8F8;
}

a {color: #1f67b0;}
a:hover {color: #4ca5ff;}

ul {
	list-style: none;
	padding: 0 0 0 5px;
}
ol
{
	padding: 0 0 0 5px;
}

ul li, ul ul ul ul li  {
	list-style: disc outside;
	margin: 3px 0 3px 16px;
	padding-left: 8px;
}

ol li {
	margin: 3px 0 3px 16px;
	padding-left: 8px;
}

ul ul li, ul ul ul ul ul li {
	list-style: square outside;
}

ul ul ul li {
	list-style: circle outside;
}

p{
	margin: 24px 0;
	line-height: 19px;
}


.courses-pre-header{
	background: #4a4a4a;
	border-bottom: 1px solid #3d3d3d;
	color: #e3e3e3;
	/*ovh*/
}
.courses-pre-header-container {
	width: 100%;
	max-width: 1090px;
	min-width: auto;
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}
.courses-pre-header select {
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
}

@media (max-width: 600px) {
	.courses-pre-header select {
		max-width: 100%;
	}
}
.courses-pre-header {
	overflow-x: hidden;
}


.courses-pre-header input.header-link {
	background: none;
	border:none;
	outline: none;
	padding: 0;
	text-decoration: underline;
	margin: 0;
}

.courses-pre-header .header-link {
	color: #ffffff;
	display: inline-block;
	margin: 0 12px 0 14px;
	font-size: 13px;
	position: relative;
	line-height: 30px;
}

.favorite_containter
{
	display: inline-block;
	text-align: right;
	float: right;
	line-height: 30px;
}

.add_new_favorite
{
	background: url("images/favorit.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	display: inline-block;
	height: 12px;
	position: relative;
	width: 11px;
}
.current_page
{
	background-color: #e2ebff;
}
.already_favorite
{
	background: url("images/already_favorit.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	display: inline-block;
	height: 12px;
	position: relative;
	width: 11px;
}

.loading_favorite
{
	background: url("images/loading.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	bottom: -5px;
	display: inline-block;
	height: 16px;
	left: 3px;
	position: relative;
	width: 16px;
}

.add_new_favorite:hover, .courses-pre-header input.header-link:hover
{
	cursor: pointer;
}

.courses-header-container{
	width: 1090px;
	margin: 0 auto;
	position: relative;
	line-height: 46px;
	padding: 0 30px;
}

.courses-header {
	background: #423939;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#423939), color-stop(100%,#7e7575));
	background: -webkit-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:    -moz-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:     -ms-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:      -o-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:         linear-gradient(top, #423939 0%,#7e7575 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#423939', endColorstr='#7e7575',GradientType=0 );
	border-bottom: 1px solid #cfcfcf;
	height: 49px;
	overflow: hidden;
}

.courses-logo {
	background: url(images/courses-sprite.png) no-repeat 8px -386px;
	color: #dedede;
	display: inline-block;
	font-size: 20px;
	text-decoration: none;
	/*padding: 10px 0 0 50px;*/
	padding: 0 0 0 50px;
	line-height: 50px;
	height: 50px;
}

.courses-logo:hover {
	color: #dedede;
	text-decoration: none;
}

.pre-header-right-block {
	float: right;
}
.pre-header-left-block {
	float: left;
}
.header-right-block {
	float: right;
	line-height: 45px;
	vertical-align: middle;
}

.header-link {
	color: #e3e3e3;
	display: inline-block;
	font-size: 13px;
	margin: 0 12px 0 14px;
	position: relative;
	text-shadow:0 -1px 0 #373737;
}

.header-link:hover {
	text-decoration: underline;
	color: #fff;
}
.courses-pre-header .header-link span{
	text-decoration: underline;
	font-weight: 200p;
}
.courses-pre-header .header-link:hover span{
	text-decoration: none;
}
.courses-pre-header .header-link:hover {
	text-decoration: none;
	color: #fff;
}
.courses-pre-header .header-link strong{
	display: inline-block;
	border: 1px solid #989898;
	line-height:21px;
	padding: 0 5px;
	border-radius: 3px;
	margin-left: 4px;
}

.header-link.favorit{position: relative;}

.courses-pre-header-container select{
	background-image: -webkit-linear-gradient(#393939 0%, #424242 100%);
	background-image:      -o-linear-gradient(#393939 0%, #424242 100%);
	background-image:         linear-gradient(#393939 0%, #424242 100%);
	border: 1px solid #575757;
	border-radius: 3px;
	color: #8b8b8b;
	outline: none;
	padding: 2px 4px;
	margin-left:15px;
	box-shadow: inset 0 1px 1px 0 #343434;
	display: inline-block;
	float: left;
	height: 30px;
	display: inline-block;
	float: left;
	height: 30px;
	width: 300px;
	margin-right: 30px;
}

.courses-left-side {
	float: left;
	width: 297px;
}

.left-side-top-bar {
	border-bottom: 1px solid #fbfbfb;
	-webkit-box-shadow: inset 0 -1px 0 #dfdfdf;
	box-shadow: inset 0 -1px 0 #dfdfdf;
	height: 55px;
	padding-left: 20px;
	position: relative;
	width: 237px;
}

.left-side-top-bar-separator {
	background: url(images/top-separator.png) no-repeat right 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	position: absolute;
	width: 100%;
}

.left-side-link {
	background: url(images/courses-sprite.png) no-repeat 100px;
	display: inline-block;
	margin: 11px 3px 0;
	height: 36px;
	vertical-align: top;
	width: 36px;
}

.certification-link {background-position: center -190px;}
.all-materials-link {background-position: center -237px;}
.log-link {background-position: center -286px;}
.print-link {background-position: center -334px;}

.certification-link:hover {background-position: center -461px;}
.all-materials-link:hover {background-position: center -502px;}
.log-link:hover {background-position: center -544px;}
.print-link:hover {background-position: center -585px;}


.courses-main-menu-wrap {}

.main-menu {
	margin: 0;
	padding: 16px 20px 0 13px;
}

.main-menu-item {
	background: none;
	line-height: normal;
	margin:0 0 7px;
	list-style: none;
	padding: 0;
}
.main-menu-link {
	border-radius: 3px;
	display: block;
	min-height: 27px;
	padding-left: 22px;
	position: relative;
	text-decoration: none;
}
.main-menu-no-submenu .main-menu-link {padding-left: 10px;}

.main-menu-link:hover {
	background: #e2e2e2;
	background: -moz-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: -webkit-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: -o-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: -ms-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: linear-gradient(to bottom, #e9e9e9, #dcdcdc);
}

.main-menu-item-active > .main-menu-link {
	background: #e2e2e2;
	background: -moz-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: -webkit-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: -o-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: -ms-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: linear-gradient(to bottom, #dcdcdc, #e9e9e9);
}


.main-menu-arrow {
	border-radius: 3px 0 0 3px;
	display: inline-block;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
	width: 22px;
}

.main-menu-arrow:hover {
	background: #e2e2e2;
	background: -moz-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: -webkit-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: -o-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: -ms-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: linear-gradient(to bottom, #e1e1e1, #c9c9c9);
}

.main-menu-arrow:hover:before {
	background-position: 8px -625px;
}

.main-menu-item-active .main-menu-arrow:hover {
	background: #d4d5d5;
	background: -moz-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -webkit-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -o-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -ms-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: linear-gradient(to bottom, #c8c8c8, #e1e1e1);
}

.main-menu-item-active .main-menu-arrow:hover {
	background: #d4d5d5;
	background: -moz-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -webkit-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -o-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -ms-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: linear-gradient(to bottom, #c8c8c8, #e1e1e1);
}

.main-menu-arrow:before {
	background: url(images/courses-sprite.png) no-repeat 8px -424px;
	content: "";
	height: 27px;
	left: 0;
	top: 0;
	position: absolute;
	width: 22px;
}

.main-menu-item-open > .main-menu-link > .main-menu-arrow:before {background-position: -14px -424px;}
.main-menu-item-open > .main-menu-link > .main-menu-arrow:hover:before {background-position: -14px -625px;}

.main-menu-item-active > .main-menu-link > .main-menu-arrow:before {background-position: 8px -625px;}
.main-menu-item-active.main-menu-item-open > .main-menu-link > .main-menu-arrow:before {background-position: -14px -625px;}

.main-menu-no-submenu .main-menu-arrow,
.main-menu-no-submenu .main-menu-arrow:before {
	background: none;
}

.main-menu-text {
	color: #000000;
	display: inline-block;
	font-size: 13px;
	min-height: 18px;
	padding: 6px 0 3px;
	text-decoration: none;
	vertical-align: top;
	width: 242px;
}

.main-menu-text:hover {color:#000;}

.main-menu-item-active > .main-menu-link > .main-menu-text {
	font-weight: bold;
}
.main-submenu .main-menu-text {width: 180px;}
.main-submenu {
	margin-top: 7px;
	padding: 0 0 0 23px;
}


.courses-right-side {
	max-width: 760px;
	overflow: hidden;
	/*padding: 16px 85px 0 35px;*/
	padding: 16px 22px 0;
	/*padding: 16px 0 0 35px;*/
}

.courses-main-title {
	color: #585858;
	font-weight: normal;
	font-size: 26px;
	margin-bottom: 15px;
	padding: 0;
}

.courses-search-block {
	display: inline-block;
	width: 300px;
	line-height: 50px;
	vertical-align: middle;
}

.courses-search {
	background: #fff;
	border: 1px solid;
	border-color: #d9d9d9 #dedede #e3e3e3 #dedede;
	-webkit-box-shadow:inset 1px 1px 1px 0 #f4f4f4;
	box-shadow:inset 1px 1px 1px 0 #f4f4f4;
	border-radius: 2px;
	color: #000;
	display: block;
	font-size: 13px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	height: 29px;
	outline: none;
	padding: 0 14px;
	line-height: 29px;
	/*width: 546px;*/
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.courses-search::-webkit-input-placeholder {color: #bababa;}
.courses-search:-moz-placeholder {color: #555454;}
.courses-search::-moz-placeholder {color: #555454;}
.courses-search:-ms-input-placeholder {color: #bababa;}

.courses-post-title {
	margin: 27px 0 25px;
}

.courses-main-wrapper .warning,
.courses-main-wrapper .note,
.courses-main-wrapper .tip,
.courses-main-wrapper .hint,
.courses-main-wrapper .play,
.courses-main-wrapper .playdoc {
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	color: #000;
	font-size: 14px;
	min-height: 38px;
	margin: 24px 0;
	padding: 19px 30px 24px 42px;
	position: relative;
}
.courses-main-wrapper .playdoc{
	padding: 19px 30px 24px 62px;
}
.courses-main-wrapper .warning 	{background: #fef2f2;border-color: #fcdddd;}
.courses-main-wrapper .note 	{background: #f6fbf3;border-color: #ceebbd;}
.courses-main-wrapper .tip 		{background: #fffcf9;border-color: #fcecda;}
.courses-main-wrapper .hint 	{background: #f7fafe;border-color: #e4eefb;}
.courses-main-wrapper .play 	{background: #f2fbfc;border-color: #d7ebf0;}
.courses-main-wrapper .playdoc 	{background: #f2fbfc;border-color: #d7ebf0;}

.courses-info-title {font-weight: bold;}

.courses-main-wrapper .warning:before,
.courses-main-wrapper .note:before,
.courses-main-wrapper .tip:before,
.courses-main-wrapper .hint:before {
	background: url(images/courses-sprite.png) no-repeat 100px;
	content: '';
	height: 31px;
	top: -9px;
	left: -6px;
	position: absolute;
	width: 31px;
}

.courses-main-wrapper .warning:before{background-position: 0 -96px;}
.courses-main-wrapper .note:before {background-position: 0 -49px;}
.courses-main-wrapper .tip:before{background-position: 0 -144px;}
.courses-main-wrapper .hint:before {background-position: 0 0;}


.courses-main-wrapper  .syntax {
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	color: #000;
	font-size: 14px;
	min-height: 38px;
	max-height: 200px;
	margin: 24px 0;
	overflow-x: auto;
	padding: 19px 30px 24px 42px;
}


.courses-footer {
	border-top: 1px solid #e5e5e5;
	/*height: 85px;*/
	padding-bottom:40px;
	margin-top: 10px;
}

.courses-page-nav {margin-top: 25px; text-align: left;}

.courses-page-nav-back,
.courses-page-nav-forward {
	background: url(images/courses-sprite.png) no-repeat 100px;
	display: inline-block;
	height: 19px;
	vertical-align: middle;
	width: 26px;
}

.courses-page-nav-back {background-position: center -670px; margin-right: 10px;}
.courses-page-nav-back:hover {background-position: center -713px;}
.courses-page-nav-forward {background-position: center -691px; margin-left: 10px;}
.courses-page-nav-forward:hover {background-position: center -733px; margin-left: 10px;}

.courses-page-link {
	display: inline-block;
	text-decoration: none;
	font-size: 16px;
	position: relative;
}
.courses-page-link.desc{
	padding-left:15px;
	margin-left: 5px;
	position: relative;
}
.courses-page-link.desc:before{
	position: absolute;
	left: -5px;
	top: 50%;
	content: ' ';
	width: 15px;
	height: 15px;
	margin-top: -8px;
	background: url(images/courses-sprite.png) no-repeat 0 -816px;
	margin-bottom: 20px;
}
.courses-page-link.prev,
.courses-page-link.next{
	border-radius: 5px;
	font-size: 15px;
	line-height: 36px;
	margin-right: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: pre;
	max-width: 33%;
}
.courses-page-link.prev{
	color: #37474f;
	background-image: -webkit-linear-gradient(#eaeef0 0%, #e1e7e9 100%);
	background-image: -o-linear-gradient(#eaeef0 0%, #e1e7e9 100%);
	background-image: linear-gradient(#eaeef0 0%, #e1e7e9 100%);
	padding: 0 15px 0 65px;
}
.courses-page-link.next{
	color: #fff;
	background-image: -webkit-linear-gradient(#39ade1 0%, #3088d3 100%);
	background-image: -o-linear-gradient(#39ade1 0%, #3088d3 100%);
	background-image: linear-gradient(#39ade1 0%, #3088d3 100%);
	padding: 0 65px 0 15px;

}
.courses-page-link.prev:hover,
.courses-page-link.next:hover{
	opacity: .85;
}

.courses-page-link.prev span.arrow,
.courses-page-link.next span.arrow{
	display: inline-block;
	position: absolute;
	font-size: 9px;
	background: url(images/courses-sprite.png) no-repeat;
}
.courses-page-link.prev span.arrow{
	padding-left: 19px;
	margin-right: 10px;
	color: #b7babd;
	background-position: 0 -835px;
	left: 10px;
}
.courses-page-link.next span.arrow{
	padding-right: 19px;
	margin-left: 10px;
	color: #b8d7f0;
	background-position: right -866px;
	right: 10px;
}

.courses-page-nav i {
	background-color: #1f67b0;
	display: inline-block;
	height: 13px;
	margin: 0 12px;
	vertical-align: middle;
	width: 1px;
}

/* for Robert */
.leftimg {
	float:left; /* Выравнивание по левому краю */
	margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
}
.rightimg {
	float: right; /* Выравнивание по правому краю */
	margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
}

/*start button*/
.courses-page-link.start_course {
	background-image: linear-gradient(#39ade1 0%, #3088d3 100%);
	color: #fff;
	padding: 0 30px 0 15px;
}
.courses-page-link.start_course {
	border-radius: 5px;
	font-size: 15px;
	line-height: 36px;
	margin-right: 10px;
	max-width: 33%;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: pre;
}

.courses-page-link.start_course:after
{
	content: "";
	display: inline-block;
	position: absolute;
	font-size: 9px;
	background: url(images/courses-sprite.png) no-repeat;
	padding-right: 19px;
	margin-left: 10px;
	color: #b8d7f0;
	background-position: right -866px;
	right: 10px;
}

/*for learning.student.gradebook*/
table.learn-gradebook-table
{
	width:98% !important;
	background-color:#F9FAFB;
	border-collapse:collapse;
	font-size:100%;
	margin-left: 1px !important;
}

.hd_signin{
	position:relative;
	min-width:128px !important;
	display:inline-block;
	float: right;
	position: relative;
}
.hd_loginform_container{
	/*position:absolute;*/
	top:35px;
	left:-110px;
	width:336px;
	border-radius:3px;
	border:1px solid #d9e4e7;
	background:#fff;
	box-shadow:0 10px 18px 0 rgba(88,112,118,.35);
	z-index:10;
	display: none;
}

.hd_loginform{
	white-space:normal;
	padding:17px 18px;
	font-size:13px;
	color:#555c69;
}

.hd_loginform form{
	margin: 0;
}

.hd_loginform_container_close{
	display:block;
	width:35px;
	cursor:pointer;
	height:27px;
	position:absolute;
	left:100%;
	margin-left:-14px;
	top:-13px;
	background:url(images/gui2.png) no-repeat 0 -710px !important;
}

.bx-system-auth-form input[type="submit"] {
	background: linear-gradient(90deg, #f79533 0%, #f37055 100%);
	color: #fff;
	border: none;
	padding: 12px 32px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.15);
	cursor: pointer;
	transition: background 0.3s, transform 0.2s;
}.playdoc div.video_learning
 {
	 display: inline-block;
	 z-index: 140;
	 background: url(images/courses-sprite.png) no-repeat 100px;
	 content: '';
	 height: 31px;
	 top: 20px;
	 left: 15px;
	 position: absolute;
	 width: 31px;
	 background-position: 0 -945px;
 }

.play  div.video_learning
{
	display: inline-block;
	z-index: 140;
	background: url(images/courses-sprite.png) no-repeat 100px;
	content: '';
	height: 31px;
	top: -9px;
	left: -6px;
	position: absolute;
	width: 31px;
	background-position: 0 -912px;
}

.courses-pre-header-container select option.block_start
{
	margin-top: 15px;
}

.courses-pre-header-container select option
{
	padding-left: 5px;
}
.learn-rating{
	padding-top: 20px;
}

h1, h2, h3, h4
{
	margin-bottom: .4em;
	margin-top: 2em;
	font-weight: bold;
}

h1{font-size: 140%;}
h2{font-size: 120%;line-height: 100%;}
h3{margin-left: 0em;font-size: 115%;}
h4{font-size: 100%;}

*html pre.syntax  {
	height: expression( this.scrollHeight > 159 ? "160px" : "auto" ); /* sets max-height for IE */
}

pre.syntax
{
	font-family: Courier New;
	background-color:#EEEEEE;
	padding:1em 1em 1em 1em;
	border: 1px solid #DDD;
	width:750px;
	/*height: 80px;*/
	max-height: 160px;
	overflow:auto;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

code
{
	font-family: Courier New, Verdana, Arial;
	font-size: 13px;
	font-weight: bold;
	background-color:#eee;
	padding: 3px 10px;

}

span.path {
	color:#4682B4;
	font-style: italic;

}
span.link {
	color:#03C;
}
/* Spoiler */
table.learning-spoiler thead {
	cursor: pointer;
}
table.learning-spoiler thead div {
	background-image: url("images/plus.gif");
	background-position: left center;
	background-repeat: no-repeat;
	padding-left: 25px;
}
table.learning-spoiler thead.learning-spoiler-head-open div {
	background-image: url("images/minus.gif");
}
table.learning-spoiler {
	background-color: #eeeeee;
	border: 1px solid #dddddd;
	border-radius: 5px;
	padding: 3px;
	table-layout: fixed;
	width: 100%;
}
table.learning-spoiler td {
	color: black;
	padding: 7px 12px;
	display: block;
	overflow-x: auto;
}

table.learning-spoiler th {
	color: black;
	font-size: 12px;
	font-weight: bold;
	text-align: left;
}

table.learning-spoiler td table td
{
	padding: 3px;
	margin: 0;
	display: table-cell;
}

table.learning-spoiler td table td p
{
	padding: 0;
	margin: 0;
	font-size: 12px;
}

/* /Spoiler */

/*Error & OK messages*/
.errortext
{
	color:red;
}

.notetext
{
	color:green;
}

/* Used to draw a "star" near reqired field */
.starrequired
{
	color:red;
}
.tree-item-closed ul{
	display: none;
}
h1{
	margin-top: 20px;
}
#scrollup {
	position: fixed;
	width: 64px;
	opacity: 0.5;
	padding: 15px 10px 10px;
	background: #aaa;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	display: none;
	cursor: pointer;
	bottom: 10px;
}
#scrollup-wrapper{
	width: 64px;
	position: absolute;
	bottom: 0px;
	left: 1100px;
}

.courses-main-wrapper {
	width: 1090px;
	margin: 0 auto;
	background: #fff url(images/grey-strip.png) repeat-y 0;
	box-shadow: 0 0 34px 0 rgba(0, 0, 0, 0.1);
	border: 1px solid #E2E2E2;
	border-top: none;
	border-bottom: none;
	position: relative;
}

.hd_signin li
{
	margin: 0;
	padding: 0;
}


#panel { height: 0; padding:0;}
#header { padding:0; vertical-align: top; }
#layout { height: 100%; width: 100%; }
#header-layout { height:155px; width:100%; table-layout: fixed;}


#logo
{
	background:transparent url(images/sidebar.png) repeat-y 0 0;
	width:286px;
	color: #000;
	text-align:center;
	font-size: 18px;
	padding:0;
}
.courses-main-wrapper .syntax{
	width: 90%;
	white-space: pre-wrap;
}
.bx-ilike-text{
	color: #7e7575;
}
#logo-box { height: 100%; background:transparent url(images/logo.gif) no-repeat; position: relative;}

#logo-text { position: absolute; left: 105px; top: 27px;  font: normal 19px/normal Arial, Helvetica, sans-serif; color: #000;}
#toolbar { position: absolute; left: 24px;  top: 113px; height: 32px; }
.toolbar-item, .toolbar-icon { display: inline-block; width: 32px; height: 32px;  cursor:pointer; }
.toolbar-item { background: url(images/toolbar-icons.gif) no-repeat 0 -32px; }
.toolbar-item:hover { background: url(images/toolbar-icons.gif) no-repeat -32px -32px; }
.toolbar-icon-tests { background: url(images/toolbar-icons.gif) no-repeat -96px 0; }
.toolbar-icon-gradebook { background: url(images/toolbar-icons.gif) no-repeat -32px 0; }
.toolbar-icon-contents { background: url(images/toolbar-icons.gif) no-repeat 0 0; }
.toolbar-icon-printer { background: url(images/toolbar-icons.gif) no-repeat -65px 0; }

#title { padding: 0; vertical-align: top; }
#title-layout { width: 100%; height: 155px; table-layout: fixed; }
#course-title-box { position: relative; }
#course-title { padding: 0 0 0 40px; vertical-align: middle; height: 67px; background: #eff2f4 url(images/course-title-bg.gif) repeat-x; font: normal 23px/normal Arial, Helvetica, sans-serif;}
#course-title-text { margin-right: 261px; }
#page-title { padding: 0; vertical-align: bottom; }
#page-title-box { margin: 10px 46px 0 27px;  position: relative; zoom:1;}
#page-title-numbers { position: absolute; top: 10px; right: 10px; font: normal 17px/normal Arial, Helvetica, sans-serif; color: #a19b7d;}

#page-title-box .r0, #page-title-box .r1 { border-left: 1px solid #fffae1; border-right: 1px solid #fffae1; background: #fff6c6;}

#page-title-text {padding: 5px 68px 5px 13px; font: normal 20px/normal Arial, Helvetica, sans-serif; background: #fff6c6; }

#course
{
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	padding:0;
}

/*Work area container*/
#workarea { height:100%; padding:0; vertical-align: top;}

/*Work area table*/
#workarea table.learn-work-table
{
	height:100%;
	width:100%;
	background:transparent url(images/sidebar.png) repeat-y 0 0;
}

/*Left data cell*/
#workarea table.learn-work-table td.learn-left-data
{
	vertical-align:top;
	width:254px;
	padding:12px 8px 12px 19px;
}

/*Right data cell*/
#workarea table.learn-work-table td.learn-right-data
{
	vertical-align:top;
	padding:12px 52px 35px 40px;
}

/*Min-width for left cell*/
div.learn-course-tree { width:254px; }

#footer
{
	background: url(images/sidebar.png) repeat-y;
	height: 45px;
	padding: 0 0 0 325px;
	vertical-align: top;
}
#footer-inner { border-top: 1px solid #f0e9e5; padding-top: 13px;}

#footer-text { color: #999999; cursor: pointer; vertical-align: top;}
#footer-text-arrow { display: inline-block; background: url(images/toolbar-icons.gif) no-repeat -186px -2px; width:10px; height: 9px; vertical-align: top; font-size:1px;}

div.learn-course-back, div.learn-course-next
{
	background-position: 0 4px;
	height: 15px;
}

a { color:#1952D3; }

.errortext { color:red; font-weight:bold; background: none repeat scroll 0 0 #f8f8f8; display: block; padding:15px;}

/* Round Corners*/
.r0, .r1, .r2, .r3, .r4 { overflow: hidden; font-size:1px; display: block; height: 1px;}
.r4 { margin: 0 4px; }
.r3 { margin: 0 3px; }
.r2 { margin: 0 2px; }
.r1 { margin: 0 1px; }
.courses-post img {max-width: 100%; height: auto }


body {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	margin: 0;
	padding: 0;
	background: #F8F8F8;
}

a {color: #1f67b0;}
a:hover {color: #4ca5ff;}

ul {
	list-style: none;
	padding: 0 0 0 5px;
}
ol
{
	padding: 0 0 0 5px;
}

ul li, ul ul ul ul li  {
	list-style: disc outside;
	margin: 3px 0 3px 16px;
	padding-left: 8px;
}

ol li {
	margin: 3px 0 3px 16px;
	padding-left: 8px;
}

ul ul li, ul ul ul ul ul li {
	list-style: square outside;
}

ul ul ul li {
	list-style: circle outside;
}

p{
	margin: 24px 0;
	line-height: 19px;
}


.courses-pre-header{
	background: #4a4a4a;
	border-bottom: 1px solid #3d3d3d;
	color: #e3e3e3;
	/*ovh*/
}
.courses-pre-header-container {
	width: 100%;
	max-width: 1090px;
	min-width: auto;
	padding: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}
.courses-pre-header select {
	width: 100%;
	max-width: 300px;
	box-sizing: border-box;
}

@media (max-width: 600px) {
	.courses-pre-header select {
		max-width: 100%;
	}
}
.courses-pre-header {
	overflow-x: hidden;
}


.courses-pre-header input.header-link {
	background: none;
	border:none;
	outline: none;
	padding: 0;
	text-decoration: underline;
	margin: 0;
}

.courses-pre-header .header-link {
	color: #ffffff;
	display: inline-block;
	margin: 0 12px 0 14px;
	font-size: 13px;
	position: relative;
	line-height: 30px;
}

.favorite_containter
{
	display: inline-block;
	text-align: right;
	float: right;
	line-height: 30px;
}

.add_new_favorite
{
	background: url("images/favorit.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	display: inline-block;
	height: 12px;
	position: relative;
	width: 11px;
}
.current_page
{
	background-color: #e2ebff;
}
.already_favorite
{
	background: url("images/already_favorit.png") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	display: inline-block;
	height: 12px;
	position: relative;
	width: 11px;
}

.loading_favorite
{
	background: url("images/loading.gif") no-repeat scroll 0 0 rgba(0, 0, 0, 0);
	bottom: -5px;
	display: inline-block;
	height: 16px;
	left: 3px;
	position: relative;
	width: 16px;
}

.add_new_favorite:hover, .courses-pre-header input.header-link:hover
{
	cursor: pointer;
}

.courses-header-container{
	width: 1090px;
	margin: 0 auto;
	position: relative;
	line-height: 46px;
	padding: 0 30px;
}

.courses-header {
	background: #423939;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#423939), color-stop(100%,#7e7575));
	background: -webkit-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:    -moz-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:     -ms-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:      -o-linear-gradient(top, #423939 0%,#7e7575 100%);
	background:         linear-gradient(top, #423939 0%,#7e7575 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#423939', endColorstr='#7e7575',GradientType=0 );
	border-bottom: 1px solid #cfcfcf;
	height: 49px;
	overflow: hidden;
}

.courses-logo {
	background: url(images/courses-sprite.png) no-repeat 8px -386px;
	color: #dedede;
	display: inline-block;
	font-size: 20px;
	text-decoration: none;
	/*padding: 10px 0 0 50px;*/
	padding: 0 0 0 50px;
	line-height: 50px;
	height: 50px;
}

.courses-logo:hover {
	color: #dedede;
	text-decoration: none;
}

.pre-header-right-block {
	float: right;
}
.pre-header-left-block {
	float: left;
}
.header-right-block {
	float: right;
	line-height: 45px;
	vertical-align: middle;
}

.header-link {
	color: #e3e3e3;
	display: inline-block;
	font-size: 13px;
	margin: 0 12px 0 14px;
	position: relative;
	text-shadow:0 -1px 0 #373737;
}

.header-link:hover {
	text-decoration: underline;
	color: #fff;
}
.courses-pre-header .header-link span{
	text-decoration: underline;
	font-weight: 200p;
}
.courses-pre-header .header-link:hover span{
	text-decoration: none;
}
.courses-pre-header .header-link:hover {
	text-decoration: none;
	color: #fff;
}
.courses-pre-header .header-link strong{
	display: inline-block;
	border: 1px solid #989898;
	line-height:21px;
	padding: 0 5px;
	border-radius: 3px;
	margin-left: 4px;
}

.header-link.favorit{position: relative;}

.courses-pre-header-container select{
	background-image: -webkit-linear-gradient(#393939 0%, #424242 100%);
	background-image:      -o-linear-gradient(#393939 0%, #424242 100%);
	background-image:         linear-gradient(#393939 0%, #424242 100%);
	border: 1px solid #575757;
	border-radius: 3px;
	color: #8b8b8b;
	outline: none;
	padding: 2px 4px;
	margin-left:15px;
	box-shadow: inset 0 1px 1px 0 #343434;
	display: inline-block;
	float: left;
	height: 30px;
	display: inline-block;
	float: left;
	height: 30px;
	width: 300px;
	margin-right: 30px;
}

.courses-left-side {
	float: left;
	width: 297px;
}

.left-side-top-bar {
	border-bottom: 1px solid #fbfbfb;
	-webkit-box-shadow: inset 0 -1px 0 #dfdfdf;
	box-shadow: inset 0 -1px 0 #dfdfdf;
	height: 55px;
	padding-left: 20px;
	position: relative;
	width: 237px;
}

.left-side-top-bar-separator {
	background: url(images/top-separator.png) no-repeat right 0;
	bottom: -1px;
	left: 0;
	height: 2px;
	position: absolute;
	width: 100%;
}

.left-side-link {
	background: url(images/courses-sprite.png) no-repeat 100px;
	display: inline-block;
	margin: 11px 3px 0;
	height: 36px;
	vertical-align: top;
	width: 36px;
}

.certification-link {background-position: center -190px;}
.all-materials-link {background-position: center -237px;}
.log-link {background-position: center -286px;}
.print-link {background-position: center -334px;}

.certification-link:hover {background-position: center -461px;}
.all-materials-link:hover {background-position: center -502px;}
.log-link:hover {background-position: center -544px;}
.print-link:hover {background-position: center -585px;}


.courses-main-menu-wrap {}

.main-menu {
	margin: 0;
	padding: 16px 20px 0 13px;
}

.main-menu-item {
	background: none;
	line-height: normal;
	margin:0 0 7px;
	list-style: none;
	padding: 0;
}
.main-menu-link {
	border-radius: 3px;
	display: block;
	min-height: 27px;
	padding-left: 22px;
	position: relative;
	text-decoration: none;
}
.main-menu-no-submenu .main-menu-link {padding-left: 10px;}

.main-menu-link:hover {
	background: #e2e2e2;
	background: -moz-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: -webkit-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: -o-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: -ms-linear-gradient(top, #e9e9e9, #dcdcdc);
	background: linear-gradient(to bottom, #e9e9e9, #dcdcdc);
}

.main-menu-item-active > .main-menu-link {
	background: #e2e2e2;
	background: -moz-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: -webkit-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: -o-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: -ms-linear-gradient(top, #dcdcdc, #e9e9e9);
	background: linear-gradient(to bottom, #dcdcdc, #e9e9e9);
}


.main-menu-arrow {
	border-radius: 3px 0 0 3px;
	display: inline-block;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
	width: 22px;
}

.main-menu-arrow:hover {
	background: #e2e2e2;
	background: -moz-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: -webkit-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: -o-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: -ms-linear-gradient(top, #e1e1e1, #c9c9c9);
	background: linear-gradient(to bottom, #e1e1e1, #c9c9c9);
}

.main-menu-arrow:hover:before {
	background-position: 8px -625px;
}

.main-menu-item-active .main-menu-arrow:hover {
	background: #d4d5d5;
	background: -moz-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -webkit-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -o-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -ms-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: linear-gradient(to bottom, #c8c8c8, #e1e1e1);
}

.main-menu-item-active .main-menu-arrow:hover {
	background: #d4d5d5;
	background: -moz-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -webkit-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -o-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: -ms-linear-gradient(top, #c8c8c8, #e1e1e1);
	background: linear-gradient(to bottom, #c8c8c8, #e1e1e1);
}

.main-menu-arrow:before {
	background: url(images/courses-sprite.png) no-repeat 8px -424px;
	content: "";
	height: 27px;
	left: 0;
	top: 0;
	position: absolute;
	width: 22px;
}

.main-menu-item-open > .main-menu-link > .main-menu-arrow:before {background-position: -14px -424px;}
.main-menu-item-open > .main-menu-link > .main-menu-arrow:hover:before {background-position: -14px -625px;}

.main-menu-item-active > .main-menu-link > .main-menu-arrow:before {background-position: 8px -625px;}
.main-menu-item-active.main-menu-item-open > .main-menu-link > .main-menu-arrow:before {background-position: -14px -625px;}

.main-menu-no-submenu .main-menu-arrow,
.main-menu-no-submenu .main-menu-arrow:before {
	background: none;
}

.main-menu-text {
	color: #000000;
	display: inline-block;
	font-size: 13px;
	min-height: 18px;
	padding: 6px 0 3px;
	text-decoration: none;
	vertical-align: top;
	width: 242px;
}

.main-menu-text:hover {color:#000;}

.main-menu-item-active > .main-menu-link > .main-menu-text {
	font-weight: bold;
}
.main-submenu .main-menu-text {width: 180px;}
.main-submenu {
	margin-top: 7px;
	padding: 0 0 0 23px;
}


.courses-right-side {
	max-width: 760px;
	overflow: hidden;
	/*padding: 16px 85px 0 35px;*/
	padding: 16px 22px 0;
	/*padding: 16px 0 0 35px;*/
}

.courses-main-title {
	color: #585858;
	font-weight: normal;
	font-size: 26px;
	margin-bottom: 15px;
	padding: 0;
}

.courses-search-block {
	display: inline-block;
	width: 300px;
	line-height: 50px;
	vertical-align: middle;
}

.courses-search {
	background: #fff;
	border: 1px solid;
	border-color: #d9d9d9 #dedede #e3e3e3 #dedede;
	-webkit-box-shadow:inset 1px 1px 1px 0 #f4f4f4;
	box-shadow:inset 1px 1px 1px 0 #f4f4f4;
	border-radius: 2px;
	color: #000;
	display: block;
	font-size: 13px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	height: 29px;
	outline: none;
	padding: 0 14px;
	line-height: 29px;
	/*width: 546px;*/
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.courses-search::-webkit-input-placeholder {color: #bababa;}
.courses-search:-moz-placeholder {color: #555454;}
.courses-search::-moz-placeholder {color: #555454;}
.courses-search:-ms-input-placeholder {color: #bababa;}

.courses-post-title {
	margin: 27px 0 25px;
}

.courses-main-wrapper .warning,
.courses-main-wrapper .note,
.courses-main-wrapper .tip,
.courses-main-wrapper .hint,
.courses-main-wrapper .play,
.courses-main-wrapper .playdoc {
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	color: #000;
	font-size: 14px;
	min-height: 38px;
	margin: 24px 0;
	padding: 19px 30px 24px 42px;
	position: relative;
}
.courses-main-wrapper .playdoc{
	padding: 19px 30px 24px 62px;
}
.courses-main-wrapper .warning 	{background: #fef2f2;border-color: #fcdddd;}
.courses-main-wrapper .note 	{background: #f6fbf3;border-color: #ceebbd;}
.courses-main-wrapper .tip 		{background: #fffcf9;border-color: #fcecda;}
.courses-main-wrapper .hint 	{background: #f7fafe;border-color: #e4eefb;}
.courses-main-wrapper .play 	{background: #f2fbfc;border-color: #d7ebf0;}
.courses-main-wrapper .playdoc 	{background: #f2fbfc;border-color: #d7ebf0;}

.courses-info-title {font-weight: bold;}

.courses-main-wrapper .warning:before,
.courses-main-wrapper .note:before,
.courses-main-wrapper .tip:before,
.courses-main-wrapper .hint:before {
	background: url(images/courses-sprite.png) no-repeat 100px;
	content: '';
	height: 31px;
	top: -9px;
	left: -6px;
	position: absolute;
	width: 31px;
}

.courses-main-wrapper .warning:before{background-position: 0 -96px;}
.courses-main-wrapper .note:before {background-position: 0 -49px;}
.courses-main-wrapper .tip:before{background-position: 0 -144px;}
.courses-main-wrapper .hint:before {background-position: 0 0;}


.courses-main-wrapper  .syntax {
	background-color: #f5f5f5;
	border: 1px solid #e3e3e3;
	border-radius: 6px;
	color: #000;
	font-size: 14px;
	min-height: 38px;
	max-height: 200px;
	margin: 24px 0;
	overflow-x: auto;
	padding: 19px 30px 24px 42px;
}


.courses-footer {
	border-top: 1px solid #e5e5e5;
	/*height: 85px;*/
	padding-bottom:40px;
	margin-top: 10px;
}

.courses-page-nav {margin-top: 25px; text-align: left;}

.courses-page-nav-back,
.courses-page-nav-forward {
	background: url(images/courses-sprite.png) no-repeat 100px;
	display: inline-block;
	height: 19px;
	vertical-align: middle;
	width: 26px;
}

.courses-page-nav-back {background-position: center -670px; margin-right: 10px;}
.courses-page-nav-back:hover {background-position: center -713px;}
.courses-page-nav-forward {background-position: center -691px; margin-left: 10px;}
.courses-page-nav-forward:hover {background-position: center -733px; margin-left: 10px;}

.courses-page-link {
	display: inline-block;
	text-decoration: none;
	font-size: 16px;
	position: relative;
}
.courses-page-link.desc{
	padding-left:15px;
	margin-left: 5px;
	position: relative;
}
.courses-page-link.desc:before{
	position: absolute;
	left: -5px;
	top: 50%;
	content: ' ';
	width: 15px;
	height: 15px;
	margin-top: -8px;
	background: url(images/courses-sprite.png) no-repeat 0 -816px;
	margin-bottom: 20px;
}
.courses-page-link.prev,
.courses-page-link.next{
	border-radius: 5px;
	font-size: 15px;
	line-height: 36px;
	margin-right: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: pre;
	max-width: 33%;
}
.courses-page-link.prev{
	color: #37474f;
	background-image: -webkit-linear-gradient(#eaeef0 0%, #e1e7e9 100%);
	background-image: -o-linear-gradient(#eaeef0 0%, #e1e7e9 100%);
	background-image: linear-gradient(#eaeef0 0%, #e1e7e9 100%);
	padding: 0 15px 0 65px;
}
.courses-page-link.next{
	color: #fff;
	background-image: -webkit-linear-gradient(#39ade1 0%, #3088d3 100%);
	background-image: -o-linear-gradient(#39ade1 0%, #3088d3 100%);
	background-image: linear-gradient(#39ade1 0%, #3088d3 100%);
	padding: 0 65px 0 15px;

}
.courses-page-link.prev:hover,
.courses-page-link.next:hover{
	opacity: .85;
}

.courses-page-link.prev span.arrow,
.courses-page-link.next span.arrow{
	display: inline-block;
	position: absolute;
	font-size: 9px;
	background: url(images/courses-sprite.png) no-repeat;
}
.courses-page-link.prev span.arrow{
	padding-left: 19px;
	margin-right: 10px;
	color: #b7babd;
	background-position: 0 -835px;
	left: 10px;
}
.courses-page-link.next span.arrow{
	padding-right: 19px;
	margin-left: 10px;
	color: #b8d7f0;
	background-position: right -866px;
	right: 10px;
}

.courses-page-nav i {
	background-color: #1f67b0;
	display: inline-block;
	height: 13px;
	margin: 0 12px;
	vertical-align: middle;
	width: 1px;
}

/* for Robert */
.leftimg {
	float:left; /* Выравнивание по левому краю */
	margin: 7px 7px 7px 0; /* Отступы вокруг картинки */
}
.rightimg {
	float: right; /* Выравнивание по правому краю */
	margin: 7px 0 7px 7px; /* Отступы вокруг картинки */
}

/*start button*/
.courses-page-link.start_course {
	background-image: linear-gradient(#39ade1 0%, #3088d3 100%);
	color: #fff;
	padding: 0 30px 0 15px;
}
.courses-page-link.start_course {
	border-radius: 5px;
	font-size: 15px;
	line-height: 36px;
	margin-right: 10px;
	max-width: 33%;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: middle;
	white-space: pre;
}

.courses-page-link.start_course:after
{
	content: "";
	display: inline-block;
	position: absolute;
	font-size: 9px;
	background: url(images/courses-sprite.png) no-repeat;
	padding-right: 19px;
	margin-left: 10px;
	color: #b8d7f0;
	background-position: right -866px;
	right: 10px;
}

/*for learning.student.gradebook*/
table.learn-gradebook-table
{
	width:98% !important;
	background-color:#F9FAFB;
	border-collapse:collapse;
	font-size:100%;
	margin-left: 1px !important;
}

.hd_signin{
	position:relative;
	min-width:128px !important;
	display:inline-block;
	float: right;
	position: relative;
}
.hd_loginform_container{
	/*position:absolute;*/
	top:35px;
	left:-110px;
	width:336px;
	border-radius:3px;
	border:1px solid #d9e4e7;
	background:#fff;
	box-shadow:0 10px 18px 0 rgba(88,112,118,.35);
	z-index:10;
	display: none;
}

.hd_loginform{
	white-space:normal;
	padding:17px 18px;
	font-size:13px;
	color:#555c69;
}

.hd_loginform form{
	margin: 0;
}

.hd_loginform_container_close{
	display:block;
	width:35px;
	cursor:pointer;
	height:27px;
	position:absolute;
	left:100%;
	margin-left:-14px;
	top:-13px;
	background:url(images/gui2.png) no-repeat 0 -710px !important;
}

.bx-system-auth-form input[type="submit"] {
	background: linear-gradient(90deg, #f79533 0%, #f37055 100%);
	color: #fff;
	border: none;
	padding: 12px 32px;
	border-radius: 6px;
	font-size: 16px;
	font-weight: bold;
	letter-spacing: 0.5px;
	box-shadow: 0 4px 6px rgba(0,0,0,0.15);
	cursor: pointer;
	transition: background 0.3s, transform 0.2s;
}


/****************************************************
    MOBILE-FIRST FIX (FINAL)
****************************************************/
@media (max-width: 900px) {

	/* Контейнеры */
	.courses-pre-header-container,
	.courses-header-container,
	.courses-main-wrapper {
		max-width: 100% !important;
		width: 100% !important;
		padding-left: 12px !important;
		padding-right: 12px !important;
		box-sizing: border-box;
	}

	/* Убираем фиксированные ширины */
	.courses-main-wrapper {
		width: 100% !important;
		background-position: -2000px 0 !important; /* убираем огромную серую боковую полосу */
		box-shadow: none !important;
		border: none !important;
	}

	/* Левая колонка меню (скрыть полностью) */
	.courses-left-side,
	#workarea table.learn-work-table td.learn-left-data,
	.learn-course-tree {
		display: none !important;
		width: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* Контент справа — растянуть */
	#workarea table.learn-work-table td.learn-right-data,
	.courses-right-side {
		width: 100% !important;
		padding: 0 !important;
		padding-top: 20px !important;
	}

	/* Шапка */
	.courses-header {
		height: auto !important;
		padding: 10px 0 !important;
	}

	.courses-logo {
		font-size: 18px !important;
		padding-left: 42px !important;
		line-height: 40px !important;
		height: auto !important;
	}

	/* Pre-header */
	.courses-pre-header-container {
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
		padding: 15px !important;
	}

	.courses-pre-header select {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
	}

	/* Popup авторизации */
	.courses-pre-header-container {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.pre-header-left-block {
		width: 100%;
		justify-content: space-between;
	}

	.hd_signin {
		width: 100%;
		justify-content: flex-end;
	}

	.hd_loginform_container {
		left: 0 !important;
		right: 0 !important;
		transform: none !important;
		margin: 0 auto !important;
		width: 90% !important;
		top: 48px !important;
	}

	/* Inputs и кнопка — 100% */
	.bx-system-auth-form input[type="text"],
	.bx-system-auth-form input[type="password"],
	.bx-system-auth-form input[type="submit"] {
		width: 100% !important;
		box-sizing: border-box !important;
	}

	/* Заголовки и структура контента */
	h1, h2, h3, h4 {
		padding-left: 0 !important;
		margin-left: 0 !important;
	}

	/* Остальные таблицы — адаптив */
	table.learn-work-table,
	table.learn-work-table td {
		display: block !important;
		width: 100% !important;
	}
}
/****************************************************
    FIX: стиль инпутов на странице авторизации
****************************************************/
.bx-system-auth-form input[type="text"],
.bx-system-auth-form input[type="password"] {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 6px;
	margin-bottom: 14px;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
	-webkit-appearance: none;
}

.bx-system-auth-form input[type="text"]:focus,
.bx-system-auth-form input[type="password"]:focus {
	border-color: #f37055;
	box-shadow: 0 0 0 3px rgba(243,112,85,0.25);
	outline: none;
}

/* Кнопка логина */
.bx-system-auth-form input[type="submit"] {
	width: 100%;
	padding: 14px;
	font-size: 17px;
	border-radius: 6px;
	background: linear-gradient(90deg,#f79533,#f37055);
	color: #fff;
	border: none;
	font-weight: bold;
	cursor: pointer;
}

.bx-system-auth-form input[type="submit"]:hover {
	opacity: 0.9;
}
/****************************************************
   FIX: всплывающая авторизация (login popup)
****************************************************/
#hd_loginform_container .bx-system-auth-form input[type="text"],
#hd_loginform_container .bx-system-auth-form input[type="password"] {
	background: #f6f8ff;         /* мягкий голубоватый фон как раньше */
	border: 1px solid #c7d0e3;   /* старый стиль рамки */
	padding: 10px 12px;
	font-size: 14px;
	border-radius: 4px;
	width: 100%;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
}

#hd_loginform_container .bx-system-auth-form input[type="submit"] {
	font-size: 16px;
	padding: 10px 0;
	border-radius: 4px;
}

#hd_loginform_container {
	padding: 20px !important;
	border-radius: 6px;
}
/****************************************************
    FIX POPUP AUTH (#hd_loginform_container)
****************************************************/

/* Контейнер всплывашки */
#hd_loginform_container {
	width: 340px !important;
	padding: 22px 22px 26px !important;
	background: #fff !important;
	border: 1px solid #d9e4e7 !important;
	border-radius: 6px !important;
	box-shadow: 0 10px 18px rgba(0,0,0,.25) !important;
	position: absolute !important;
	top: 80px !important;
	right: 0 !important;
	left: auto !important;
	margin: 0 !important;
	transform: none !important;
}

/* Внутренности формы */
#hd_loginform_container .bx-system-auth-form table,
#hd_loginform_container .bx-system-auth-form tr,
#hd_loginform_container .bx-system-auth-form td {
	display: block !important;
	width: 100% !important;
}

/* Лейблы */
#hd_loginform_container .bx-system-auth-form label {
	font-size: 14px;
	margin-bottom: 6px;
	display: block;
}

/* Инпуты */
#hd_loginform_container .bx-system-auth-form input[type="text"],
#hd_loginform_container .bx-system-auth-form input[type="password"] {
	width: 100% !important;
	padding: 10px 12px !important;
	font-size: 15px !important;
	background: #f4f7ff !important;
	border: 1px solid #bfcbe4 !important;
	border-radius: 4px !important;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.05) !important;
	margin-bottom: 14px !important;
}

/* Чекбокс */
#hd_loginform_container .bx-system-auth-form input[type="checkbox"] {
	margin-right: 6px !important;
	transform: scale(1.1) !important;
}

/* Кнопка */
#hd_loginform_container .bx-system-auth-form input[type="submit"] {
	width: 100% !important;
	padding: 12px !important;
	font-size: 16px !important;
	background: linear-gradient(90deg,#f79533,#f37055) !important;
	border: none !important;
	color: #fff !important;
	border-radius: 6px !important;
	font-weight: bold !important;
	cursor: pointer !important;
}

/* Ссылка "забыли пароль" */
#hd_loginform_container .bx-system-auth-form a {
	font-size: 14px !important;
	text-decoration: underline !important;
}

/* Иконка закрытия */
#hd_loginform_container .hd_loginform_container_close {
	right: -14px !important;
	top: -14px !important;
}
/****************************************************
    POPUP FIX: нормальная подложка (перекрывает всё)
****************************************************/
#popup_container,
#popup_container * {
	overflow: visible !important;
}

#popup_container {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	background: rgba(0,0,0,0.65) !important;
	z-index: 99999 !important;
	display: flex !important;
	justify-content: center !important;
	align-items: flex-start !important;
	padding-top: 40px !important;
}
/****************************************************
    POPUP BODY FIX
****************************************************/
#hd_loginform_container {
	position: relative !important;
	/*width: 360px !important;*/
	max-width: 90% !important;
	background: #fff !important;
	border-radius: 10px !important;
	padding: 25px 22px 30px !important;
	border: 1px solid #d9e4e7 !important;
	box-shadow: 0 8px 20px rgba(0,0,0,0.35) !important;
	z-index: 100000 !important;
}
#hd_loginform_container .hd_loginform_container_close {
	position: absolute !important;
	right: -10px !important;
	top: -10px !important;
	width: 26px !important;
	height: 26px !important;
	cursor: pointer;
	z-index: 100001 !important;
}
/****************************************************
   UNIVERSAL POPUP FIX (Bitrix Learning)
****************************************************/

/* Задний фон */
#popup_window {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	background: rgba(0,0,0,0.65) !important;

	display: flex !important;
	justify-content: center !important;
	align-items: center !important;

	padding: 20px !important;
	box-sizing: border-box;

	z-index: 99999 !important;
	overflow: visible !important;
}

/* Внутренний контейнер обучалки */
#popup_container {
	width: 380px !important;
	max-width: 95% !important;

	background: #fff !important;
	border-radius: 10px !important;

	padding: 30px 25px 35px !important;
	box-shadow: 0 10px 25px rgba(0,0,0,0.35) !important;

	position: relative !important;
	z-index: 100000 !important;
}

/* Сбрасываем старые обрезания */
#popup_content,
#popup_container *,
#popup_window * {
	overflow: visible !important;
}

/* Кнопка закрытия */
#popup_window .bx-popup-close {
	position: absolute !important;
	right: -12px !important;
	top: -12px !important;
	width: 28px !important;
	height: 28px !important;
	background: #000 !important;
	color: #fff !important;
	border-radius: 50% !important;
	font-size: 18px !important;
	text-align: center !important;
	line-height: 28px !important;
	cursor: pointer !important;
	z-index: 100001 !important;
}

/* Инпуты */
#popup_container input[type="text"],
#popup_container input[type="password"] {
	width: 100% !important;
	padding: 12px !important;
	font-size: 16px !important;
	border: 1px solid #c6d3e0 !important;
	border-radius: 6px !important;
	background: #eef5ff !important;
	margin-bottom: 14px !important;
}
/* HERO */
.academy-hero {
	background: linear-gradient(135deg, #fefefe 0%, #f2f7ff 100%);
	border-radius: 12px;
	padding: 24px 20px;
	margin: 0 0 25px 0;
	text-align: center;
	box-shadow: 0 8px 22px rgba(0,0,0,0.07);
}

.academy-hero__inner {
	max-width: 480px;
	margin: 0 auto;
}

.academy-logo {
	width: 120px;
	height: auto;
	margin-bottom: 16px;
}

.academy-title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 12px 0;
	color: #333;
}

.academy-subtitle {
	font-size: 16px;
	color: #666;
	margin: 0;
}

/* Ссылки на курсы */
.academy-course-list a {
	display: block;
	padding: 14px 18px;
	margin: 10px 0;
	background: #ffffff;
	border-radius: 10px;
	border: 1px solid #e6e6e6;
	text-decoration: none;
	color: #1f67b0;
	font-size: 17px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.05);
	transition: 0.2s;
}

.academy-course-list a:hover {
	background: #f7fbff;
	border-color: #c7dfff;
	box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
/* Выравнивание хедера */
.courses-header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* Селект (выбор курса) */
.courses-pre-header select,
.courses-header-container select {
	width: 260px !important;
	max-width: 260px !important;
	min-width: 260px !important;
	box-sizing: border-box;
}

/* Поиск тоже привести к порядку */
.courses-search-block,
.courses-search {
	width: 260px !important;
	max-width: 260px !important;
}

/* Чтобы элементы ровно выстроились рядом */
.pre-header-left-block {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Убираем растягивание по 100% */
.courses-pre-header select {
	flex: 0 0 auto !important;
}

.courses-search-block {
	flex: 0 0 auto !important;
}
/* Весь хедер — в нормальный flex */
.courses-pre-header-container {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

/* Левая часть: селект + поиск */
.pre-header-left-block {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Чтобы старые float не ломали верстку */
.hd_signin,
.pre-header-left-block {
	float: none !important;
	display: flex !important;
}

/* Чтобы селект был компактным */
#courses_list_container select {
	width: 260px !important;
}

/* Поиск – тоже фиксируем */
.courses-search-block,
.courses-search {
	width: 260px !important;
}
.header-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 20px;
	gap: 20px;
}

.header-left,
.header-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.search-box {
	min-width: 220px;
}

.profile-box {
	position: relative;
}

.profile-link {
	display: inline-block;
	padding: 6px 10px;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
}

.lesson-stats span {
	color: #fff;
	font-size: 15px;
}

/* Мобилка */
@media (max-width: 768px) {
	.header-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.header-left, .header-right {
		justify-content: space-between;
	}
}
.hd_loginform_container {
	position: absolute !important;
	top: 40px !important;
	right: 0 !important;
	z-index: 9999 !important;
	width: auto !important;
}
/************* HEADER FIX *****************/

.courses-pre-header-inner {
	max-width: 1090px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 15px 20px;
}

.header-left,
.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.course-select select {
	width: 260px !important;
}

.search-box {
	width: 260px !important;
}

.profile-box {
	position: relative;
}

.profile-link {
	color: #fff;
	cursor: pointer;
	text-decoration: underline;
}

/************* POPUP FIX *****************/

.hd_loginform_container {
	position: absolute !important;
	top: 40px !important;
	right: 0 !important;
	width: 330px !important;
	background: #fff !important;
	border-radius: 8px !important;
	padding: 20px !important;
	z-index: 9999 !important;
	box-shadow: 0 12px 24px rgba(0,0,0,0.25) !important;
	display: none;
}

/************* MOBILE *****************/
@media (max-width: 768px) {

	.courses-pre-header-inner {
		flex-direction: column;
		align-items: stretch;
	}

	.header-left,
	.header-right {
		width: 100%;
		justify-content: space-between;
	}

	.search-box,
	.course-select select {
		width: 100% !important;
	}

	.hd_loginform_container {
		right: 50% !important;
		transform: translateX(50%) !important;
		width: 90% !important;
	}
}
