/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

   
/* ==========================================================================
   WordPress Core
   ========================================================================== */
.alignnone {
	margin: 0 20px 16px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 0 auto 16px auto;
}

.alignright {
	float:right;
	margin: 0 0 16px 20px;
}

.alignleft {
	float: left;
	margin: 0 20px 16px 0;
}
a img.alignright {
	float: right;
	margin: 0 0 16px 20px;
}

a img.alignnone {
	margin: 0 20px 16px 0;
}

a img.alignleft {
	float: left;
	margin: 0 20px 16px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto
}

.wp-caption {
	width: auto !important;
	max-width: 100%; /* Image does not overflow the content area */
	text-align: center;
}

.wp-caption.alignnone {
	margin: 0 0 20px 0;
}

.wp-caption.alignleft {
	margin: 0 20px 16px 0;
}

.wp-caption.alignright {
	margin: 0 0 16px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 100%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 5px 4px 5px;
}



/* ==========================================================================
   Author's custom styles
   ========================================================================== */

asd {
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-family: 'Patua One', cursive;
	font-family: 'Oxygen', sans-serif;
	font-family: 'Cuprum', sans-serif;
}

body {
	min-width: 1010px;
	background: #ffffff;
	
	color: #3c4147;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 19px;
	
	background-image: url(../img/footer_bg.png);
}

.wrap {
	width: 1000px;
	padding: 0 5px;
	margin: 0 auto;
}



/*
	Text styles
*/
h1,h2,h3,h4,h5,h6 {
	margin: 0 0 1em;
	
	color: #3f444a;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: bold;
}
h1 {
	margin: 0 0 0.6em;
	font-size: 30px;
	line-height: 33px;
}
h1 select {
	float: right;
	width: 155px;
	padding: 7px 24px 7px 12px;

	border: 1px solid #e6e8e9;
	border-radius: 3px;

	background-image: url(../img/select-arrow.png);
	background-size: 10px 7px;
	background-position: 95% center;
	background-repeat: no-repeat;
	
	color: #9da2a7;
	font-size: 12px;
	line-height: 15px;
	font-weight: normal;

	-webkit-appearance: none;
	-moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: "";
}
h1 select::-ms-expand {
    display: none;
}
h2 {
	font-size: 28px;
	line-height: 31px;
}
h3 {
	font-size: 26px;
	line-height: 29px;
}
h4 {
	font-size: 24px;
	line-height: 27px;
}
h5 {
	font-size: 22px;
	line-height: 25px;
}
h6 {
	font-size: 20px;
	line-height: 23px;
}
.content p {
	margin: 0 0 1em;

	color: #3c4147;
	font-size: 14px;
	line-height: 24px;
}
.content p a {
	color: #2098d0;
	text-decoration: none;
}
.content p a:hover {
	color: #0f77b9;
	text-decoration: underline;
}
.content ul {
	margin: 0 0 1em 14px;
	padding: 0;
	
	list-style: none;
	
	clear: left;
}
.content ol {
	margin: 0 0 1em 14px;
	padding: 0;
	clear: left;
}
.content ul li,
.content ol li {
	margin-left: 14px;

	color: #3c4147;
	font-size: 14px;
	line-height: 24px;

	position: relative;
}
.content ul li:before {
	display: inline-block;
	content: "";

	width: 5px;
	height: 5px;
	
	background: #2199d1;
	border-radius: 5px;
	
	position: absolute;
	left: -14px;
	top: 9px;
}

.content table {
	width: 100%;
	margin: 0 0 1em;
	
	clear: left;
}
.content table th {
	padding: 7px 20px;

	border: 1px solid #1e90c6;
	background: #2099d0;

	color: #ffffff;
	font-size: 14px;
	font-weight: normal;
	line-height: 18px;
	text-align: left;
}
.content table td {
	padding: 7px 20px;

	border: 1px solid #e6e6e6;
	background: #ffffff;

	color: #414141;
	font-size: 14px;
	line-height: 18px;
	text-align: left;
}
.content table tr:hover td {
	background: #f3f4f6;
}
.content table th.text-right,
.content table td.text-right {
	text-align: right
}

/* Table with Grey heading */
.content table.grey th {
	background-color: #e2e6e7;
	border-color: #d6d6d6;
	
	color: #3f444a;
	font-weight: bold;
}


/*
	Button
*/
.button {
	display: inline-block;
	height: 34px;
	padding: 0 10px;
	min-height: 0;

	color: #ffffff;
	font-size: 16px;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	line-height: 32px;
	text-decoration: none !important;
	text-transform: uppercase;
	text-align: center;
	text-shadow: -1px -1px 1px #47a406;
	text-shadow: -1px -1px 1px rgba(69, 162, 7, 0.75);
	
	border: 1px solid #419600;
	border-radius: 3px;
	
	background: #56b102; /* Old browsers */
	background: -moz-linear-gradient(top,  #56b102 0%, #339703 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#56b102), color-stop(100%,#339703)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #56b102 0%,#339703 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #56b102 0%,#339703 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #56b102 0%,#339703 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #56b102 0%,#339703 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#56b102', endColorstr='#339703',GradientType=0 ); /* IE6-9 */
	
	box-shadow: inset 0px 1px 0px 0px rgba(207, 255, 194, 0.37), 1px 1px 2px 0 rgba(10,10,10,0.18);
	vertical-align: top;
	
	box-sizing: border-box;
}
.button:hover {
	background: #65c013; /* Old browsers */
	background: -moz-linear-gradient(top,  #65c013 0%, #3c9c05 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#65c013), color-stop(100%,#3c9c05)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #65c013 0%,#3c9c05 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #65c013 0%,#3c9c05 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #65c013 0%,#3c9c05 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #65c013 0%,#3c9c05 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#65c013', endColorstr='#3c9c05',GradientType=0 ); /* IE6-9 */
}

/* alt - gray */
.button.alt {
	color: #288ebd;
	text-shadow: none;

	border-color: #e2e4e5;

	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f6f6f6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f6f6f6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f6f6f6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f6f6f6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f6f6f6 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#f6f6f6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 ); /* IE6-9 */
	
	box-shadow: 1px 1px 2px 0 rgba(0,0,0,0.05);
}
.button.alt:hover {
	border-color: #d8d8d8;
	
	background: #ffffff;
}

/* orange */
.button.orange {
	color: #000000;
	text-shadow: 1px 1px 1px rgba(255,196,97,0.75);

	border-color: #ffab3f;
	
	background: #fdbf17; /* Old browsers */
	background: -moz-linear-gradient(top,  #fdbf17 0%, #ff9a18 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdbf17), color-stop(100%,#ff9a18)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #fdbf17 0%,#ff9a18 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #fdbf17 0%,#ff9a18 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #fdbf17 0%,#ff9a18 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #fdbf17 0%,#ff9a18 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdbf17', endColorstr='#ff9a18',GradientType=0 ); /* IE6-9 */
}
.button.orange:hover {
	border-color: #ffb14c;
	
	background: #ffc833; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffc833 0%, #ffac40 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffc833), color-stop(100%,#ffac40)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffc833 0%,#ffac40 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffc833 0%,#ffac40 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffc833 0%,#ffac40 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffc833 0%,#ffac40 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffc833', endColorstr='#ffac40',GradientType=0 ); /* IE6-9 */
}

.button.big {
	height: 43px;
	padding: 0 25px;
	
	font-size: 17px;
	line-height: 41px;
}

.button.medium {
	height: 33px;
	padding: 0 25px;
	
	font-size: 14px;
	line-height: 31px;
}

.button.small {
	height: 27px;
	padding: 0 15px;
	
	font-size: 12px;
	font-weight: normal;
	line-height: 25px;
}



/*
	Icons
*/
.icon {
	display: inline-block;
	
	background-image: url(../img/icons.png);
	background-repeat: no-repeat;
}

.icon.star {
	width: 16px;
	height: 15px;
	background-position: 0 0;
}
a:hover > .icon.star,
.icon.star:hover,
.active > .icon.star,
.icon.star.active {
	background-position: 0 -15px;
}

.icon.star_big {
	width: 22px;
	height: 21px;
	background-position: -16px 0;
}
a:hover > .icon.star_big,
.icon.star_big:hover,
.active > .icon.star_big,
.icon.star_big.active {
	background-position: -16px -21px;
}

.icon.search {
	width: 9px;
	height: 9px;
	background-position: 0 -30px;
}

.icon.search2 {
	width: 14px;
	height: 18px;
	background-position: 0 -39px;
	vertical-align: middle;
}

.icon.search3 {
	width: 25px;
	height: 29px;
	background-position: 0 -57px;
	vertical-align: middle;
}

.icon.back_arrow {
	width: 6px;
	height: 8px;
	margin-right: 5px;
	background-position: -14px -42px;
	vertical-align: middle;
}

.icon.email {
	width: 12px;
	height: 12px;
	background-position: -38px 0;
}
a:hover > .icon.email,
.icon.email:hover,
.active > .icon.email,
.icon.email.active {
	background-position: -38px -12px;
}

.icon.print {
	width: 12px;
	height: 12px;
	background-position: -50px 0;
}
a:hover > .icon.print,
.icon.print:hover,
.active > .icon.print,
.icon.print.active {
	background-position: -50px -12px;
}

.icon.bulb {
	width: 28px;
	height: 41px;
	background-position: -62px 0;
}

.icon.tag {
	width: 15px;
	height: 16px;
	background-position: -38px -24px;
}



/*
	HOT
*/
.icon_hot {
	display: inline-block;
	height: 18px;
	padding: 0 5px;
	margin-left: 5px;
	
	color: #ffffff;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	vertical-align: top;
	text-transform: uppercase;

	border: 1px solid #bc3d3d;
	border-radius: 3px;
	
	background: #dd4747; /* Old browsers */
	background: -moz-linear-gradient(top,  #dd4747 0%, #da1010 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dd4747), color-stop(100%,#da1010)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #dd4747 0%,#da1010 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #dd4747 0%,#da1010 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #dd4747 0%,#da1010 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #dd4747 0%,#da1010 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dd4747', endColorstr='#da1010',GradientType=0 ); /* IE6-9 */
	
	box-shadow:inset 0 1px 0 0 #e84d4d;
}


/*
	Header
*/
header {
	background: #ffffff;
}

/* header cvi */
header .cvi {
	float: left;
	margin: 24px 0 25px;
}
header .cvi h3 {
	float: left;
	margin: 0 0 0 21px;
	padding: 0 0 0 18px;
	
	color: #74848f;
	font-size: 20px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: normal;
	line-height: 39px;
	
	border-left: 1px solid #dde1e3;
}
#logo {
	display: inline-block;
	float: left;
	width: 134px;
	height: 33px;
	
	background-image: url(../img/logo.png);
	background-repeat: no-repeat;
	background-size: 134px 33px;
}

/* header top */
header .top {
	float: right;
	margin-top: 10px;
}
header .top .favorites {
	float: left;
	display: inline-block;
	margin-top: 7px;
	margin-right: 15px;
	
	color: #868a8e;
	font-size: 12px;
	line-height: 15px;
	text-decoration: none;
}
header .top .favorites .icon {
	margin-right: 4px;
	vertical-align: top;
}

header .top form {
	float: left;
	border: 1px solid #e2e4e5;
	border-radius: 3px;
	background: #ffffff;
}
header .top form input {
	float: left;
	width: 115px;
	height: 25px;
	padding: 0 0 0 11px;

	border: 0;
	border-radius: 3px;
	
	color: #a6a8a9;
	font-size: 12px;
}
header .top form button {
	float: right;
	width: 21px;
	height: 25px;

	border: 0;
	background: transparent;
}

/* header nav */
header nav {
	float: right;
	clear: right;
	margin: 13px 0 0 0;
}
header nav ul {
	margin: 0;
	padding: 0;
	
	list-style: none;
}
header nav ul li {
	float: left;
}
header nav ul li + li {
	margin-left: 15px;
}
header nav ul li a {
	display: inline-block;
	padding: 0 4px;
	
	color: #64686e;
	font-size: 17px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: normal;
	line-height: 18px;
	text-decoration: none;
}
header nav ul li a:hover,
header nav ul li.active a,
header nav ul li.current-menu-item a,
header nav ul li.current-menu-parent a,
header nav ul li.current-menu-ancestor a {
	color: #229ad2;
}
header nav ul li a:hover {
	text-decoration: underline;	
}



/*
	block_search
*/
#block_search {
	padding-top: 22px;
	padding-bottom: 20px;
	background-image: url(../img/search_bg.png);
}
#block_search form {
	width: 670px;
	float: right;
}
#block_search .biginput {
	height: 56px;
	margin-bottom: 11px;
	box-sizing: border-box;
	
	border: 1px solid #ffffff;
	border-radius: 3px;

	background: #ffffff; /* Old browsers */
	background: -moz-linear-gradient(top,  #ffffff 0%, #f2f5f7 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f2f5f7)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ffffff 0%,#f2f5f7 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ffffff 0%,#f2f5f7 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ffffff 0%,#f2f5f7 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ffffff 0%,#f2f5f7 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f2f5f7',GradientType=0 ); /* IE6-9 */
	
	box-shadow: 3px 3px 4px 0 rgba(0,0,0,0.05);
}
#block_search .biginput label {
	display: inline-block;
	float: left;
	margin: 13px 14px 12px;
}
#block_search .biginput input {
	float: left;
	width: 615px;
	height: 54px;
	padding: 0;

	border: 0;
	border-radius: 3px;
	background: transparent;
	
	color: #42474d;
	font-size: 24px;
}
#block_search select {
	float: left;
	width: 190px;
	padding: 8px 16px 7px;
	margin-right: 10px;

	border: 1px solid #ffffff;
	border-radius: 3px;

	background-image: url(../img/select-arrow.png);
	background-size: 10px 7px;
	background-position: 95% center;
	background-repeat: no-repeat;
	
	color: #717a84;
	font-size: 14px;

	-webkit-appearance: none;  
	-moz-appearance: none; 
    text-indent: 0.01px;
    text-overflow: "";
}
#block_search select::-ms-expand {
    display: none;
}
#block_search button {
	float: right;
	width: 70px;
}
#block_search .cta {
	margin-top: 10px;

	color: #ffffff;
	font-size: 22px;
	font-family: 'Oxygen', sans-serif;
	line-height: 35px;
}
#block_search .cta strong {
	font-size: 32px;
	font-weight: bold;
	line-height: 35px;
}



/*
	Main
*/
#main {
	background: #ffffff;
}
#main aside {
	float: left;
	width: 220px;
	border-right: 1px solid #f2f5f7;
	box-sizing: border-box;
}
#main .content {
	float: right;
	width: 760px;
	padding: 25px 0;
	box-sizing: border-box;
}
#main aside.course,
#main aside.blog {
	float: right;
	width: 245px;
	border-left: 1px solid #f2f5f7;
	border-right: 0;
}
#main aside.course + .content,
#main aside.blog + .content {
	float: left;
	width: 720px;
}


/*
	Secondary content block
*/
.secondary {
	background-image: url(../img/secondary_bg.png);
	
	position: relative;
	
	overflow: hidden;
}
.secondary.with-shadow:before {
	content: "";
	width: 100%;
	height: 1px;
	
	box-shadow: 0 0 14px 0 #dedfe0;
	
	position: absolute;
	top: 0;
	left: 0;
}
#main + .secondary {
	border-top: 1px solid #eae8eb;
}



/*
	Aside
*/

/* Plain title */
aside .plain {
	padding: 20px 14px 0 8px;
}
aside .plain h3 {
	margin: 0;
	padding: 0;
	
	color: #41464c;
	font-size: 22px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: normal;
	line-height: 25px;
	text-transform: uppercase;
}

/* Categories search */
aside .cat {
	padding: 20px 14px 15px 8px;

	background: #f2f5f7;
	position: relative;
}
aside .cat:before {
	content: "";
	width: 1000%;
	height: 100%;
	
	background: #f2f5f7;
	
	position: absolute;
	left: -1000%;
	top: 0;
}
aside .cat h3 {
	margin: 0 0 10px;
	padding: 0;
	
	color: #41464c;
	font-size: 22px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: normal;
	line-height: 25px;
	text-transform: uppercase;
}
aside .cat form {
	border: 1px solid #e2e4e5;
	border-radius: 3px;
	background: #ffffff;
}
aside .cat form input {
	float: left;
	width: 160px;
	height: 25px;
	padding: 0 0 0 11px;

	border: 0;
	border-radius: 3px;
	
	color: #a6a8a9;
	font-size: 12px;
}
aside .cat form button {
	float: right;
	width: 21px;
	height: 25px;

	border: 0;
	background: transparent;
}


/* Navigation */
ul.menu {
	margin: 20px 0 10px;
	padding: 0;
	
	list-style: none;
}
ul.menu + ul.menu {
	margin-top: 0;
	padding-top: 10px;
	border-top: 1px solid #f2f5f7;
}
ul.menu li {
	padding-left: 8px;
	padding-right: 14px;
	line-height: 0;
	position: relative;
}
ul.menu li a {
	display: inline-block;
	width: 100%;
	padding: 4px 0 4px 10px;

	color: #3f444a;
	font-size: 16px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	line-height: 19px;
	text-decoration: none;
	
	box-sizing: border-box;
}
ul.menu li a:hover {
	color: #229ad2;
	text-decoration: underline;
}
ul.menu > li.current-menu-item > a,
ul.menu > li.current-menu-parent > a {
	padding-top: 7px;
	padding-bottom: 7px;

	background: #41454a;
	border-radius: 3px;
	color: #ffffff;
}
ul.menu li a:before {
	display: inline-block;
	content: "";

	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 2.5px 0 2.5px 3px;
	border-color: transparent transparent transparent #249cd4;
	
	position: absolute;
	left: 10px;
	top: 12px;
}
ul.menu > li.current-menu-item > a:before,
ul.menu > li.current-menu-parent > a:before {
	display: none;
}
ul.menu li.extra {
	margin-top: 7px;

	background: #f9fafb;
	border-top: 1px solid #f2f5f7;
	border-bottom: 1px solid #f2f5f7;
}
ul.menu li.extra a {
	padding-top: 9px;
	padding-bottom: 9px;

	color: #cc3e3e;
}
ul.menu li.extra a:before {
	top: 15px;
}

/* sub */
ul.menu ul {
	margin: 10px 0 10px 5px;
	padding: 0;
	
	list-style: none;
}
ul.menu ul li {
	padding-right: 0;
}
ul.menu ul li a {
	padding-top: 2px;
	padding-bottom: 2px;

	font-size: 15px;
	line-height: 18px;
}
ul.menu ul li.current-menu-item a {
	color: #229ad2;
}
ul.menu ul li a:before {
	top: 9px;
}

/* aside block */
aside .block {
	padding: 20px;
	padding-bottom: 6px;

	margin-left: 2px;
	margin-right: 18px;
	margin-bottom: 20px;

	border-radius: 3px;
	box-shadow: 0 0 5px 0 rgba(0,0,0,0.06);
}
aside ul + .block {
	margin-top: 23px;
}
aside .block h6 {
	margin: 0 0 10px;
	
	color: #4393b3;
	font-size: 14px;
	font-family: Arial,Helvetica,sans-serif;
	font-weight: normal;
	line-height: 18px;
}
aside .block p {
	margin: 0 0 14px;
	
	color: #7a7c7e;
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}

/*
	content-pre
*/
.content-pre {
	margin: 0;
	padding: 15px 0 0 0;
	min-height: 40px;
	
	border-bottom: 1px solid #f2f5f7;
}
#main aside.course + .content .content-pre,
#main aside.blog + .content .content-pre {
	margin-right: -35px;
}
.content .content-pre {
	margin: -10px 0 30px 0;
	padding: 0;
}
.content-pre .button {
	float: left;
	margin-left: 3px;
	margin-right: 20px;

	font-weight: normal;
	text-transform: none;
}
.content-pre .favorites {
	float: right;
	display: inline-block;
	width: 58px;
	height: 54px;
	margin-top: -15px;
	
	line-height: 54px;
	text-align: center;
	
	border-left: 1px solid #f2f5f7;
}
.content-pre .favorites .icon {
	vertical-align: middle;
}
.content-pre .actions {
	float: right;
	margin-top: -1px;
	margin-bottom: 13px;
}
.content-pre .actions a {
	float: left;
	display: inline-block;
	width: 25px;
	height: 25px;
	margin-left: 2px;
	
	color: #b9bec0;
	font-size: 17px;
	font-weight: bold;
	line-height: 25px;
	text-align: center;
	text-decoration: none;
	
	background: #ffffff;
	border: 1px solid #eeefef;
	border-radius: 3px;
}
.content-pre .actions a:hover {
	border-color: #e2e4e5;
	
	color: #8f9395;
}



/*
	Breadcrumbs
*/
.breadcrumbs {
	padding: 0;
	margin: 0 0 26px;
	
	line-height: 12px;
}
.content-pre .breadcrumbs {
	float: left;
	margin: 9px 0 18px;
}
.breadcrumbs > span {
	display: inline-block;

	color: #9e9e9e;
	font-size: 12px;
	line-height: 12px;
	text-decoration: none;
	
	vertical-align: top;
}
.breadcrumbs > span > span {
	float: left;
	display: inline-block;
}
.breadcrumbs > span > span:before {
	content: "/";
	margin: 0 5px;
}
.breadcrumbs > span > span:first-child:before {
	display: none;
}
.breadcrumbs > span > span span,
.breadcrumbs > span > span a {
	display: inline-block;
	padding: 0 3px;

	color: #9e9e9e;
	font-size: 12px;
	line-height: 12px;
	text-decoration: none;
}
.breadcrumbs > span > span a {
	color: #9e9e9e;
}
.breadcrumbs > span > span a:hover {
	color: #1e7ab5;
	text-decoration: underline;
}




/*
	item-list
*/
ul.item-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.item-list li {
	margin: 0 !important;
	padding: 27px 14px 24px;
	
	border-top: 1px solid #d6d9dc;
}
.item-list li:before {
	display: none !important;
}
.ui-tabs-panel .item-list:first-child li:first-child {
	border-top: 0;
}

.item-list .body {
	float: left;
	width: 470px;
	padding-right: 45px;
	border-right: 1px dotted #ededed;
}
.item-list .body .thumb {
	float: left;
	margin-right: 18px;
	margin-bottom: 10px;
	
	border-radius: 3px;
	
	box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.13);
}
.item-list .body .thumb img {
	border-radius: 3px;
}
.item-list .body .title {
	color: #2098d0;
	font-size: 20px;
	line-height: 23px;
	text-decoration: none;
}
.item-list .body .title:hover {
	color: #0e71b0;
	text-decoration: underline;
}
.item-list .body p {
	line-height: 20px;
}

.item-list .body .extra {
	margin: 0;
	padding: 0;
	list-style: none;
}
.item-list .body .extra li {
	padding: 0;
	
	border: 0;

	color: #909090;
	font-size: 12px;
	font-style: italic;
}
.item-list .body .extra li.show-more {
	display: none;
}
.item-list .body .extra a {
	margin-right: 7px;

	color: #909090;
	font-size: 12px;
	font-style: italic;
	text-decoration: none;
}
.item-list .body .extra a:hover {
	color: #1e7ab5;
	text-decoration: underline;
}
.item-list .body .extra a + a {
	margin-left: 7px;
}

.item-list .meta {
	float: right;
	width: 172px;
}
.item-list .meta .date {
	display: inline-block;
	padding: 7px 0;

	color: #3c4147;
	font-size: 12px;
	line-height: 16px;
}
.item-list .meta .date span {
	color: #909090;
}
.item-list .meta .price {
	color: #3c4147;
	font-size: 16px;
	font-weight: bold;
	line-height: 24px;
}
.item-list .meta .price.discount {
	color: #359903;
}
.item-list .meta .price span {
	color: #909090;
	font-size: 11px;
	font-weight: normal;
}
.item-list .meta .actions {
	margin-top: 12px;
}
.item-list .meta .actions .button {
	float: left;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
}
.item-list .meta .actions .button + .button {
	margin-left: 9px;
}
.item-list .meta .company {
	display: inline-block;
	margin-top: 12px;

	color: #3c4147;
	font-size: 12px;
	line-height: 16px;
}
.item-list .meta .company a {
	color: #3c4147;
	text-decoration: none;
}
.item-list .meta .company a:hover {
	text-decoration: underline;
}

/* Company list */
.item-list.company li {
	padding-right: 5px;
}
.item-list.company .body {
	width: 515px;
	padding-right: 0;
	border: 0;
}
.item-list.company .logo {
	float: right;
	width: 190px;
}
.item-list.company .logo img {
	max-width: 190px;
}

/* Room list */
.item-list.room .body {
	width: 100%;
	padding-right: 0;
	border: 0;
}
.item-list.room .body .details {
	margin-top: 20px;
	margin-bottom: 10px;
}
.item-list.room .body .details .thumb {
	float: left;
	margin-right: 50px;
	
	border-radius: 3px;
	
	box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.13);
}
.item-list.room .body .details .thumb img {
	border-radius: 3px;
}
.item-list.room .body .details dl {
	float: left;
	width: 300px;
	margin: 0;
	
	font-size: 14px;
	line-height: 17px;
}
.item-list.room .body .details dl dt {
	float: left;
	width: 49%;
	margin: 0 0 4px;

    clear: both;
}
.item-list.room .body .details dl dd {
	float: right;
	width: 51%;
	margin: 0 0 4px;
}
.item-list.room .body .details .logo {
	float: right;
}



/*
	Pagination
*/
.pagination {
	margin: 25px 0 !important;
	padding: 0;
	
	list-style: none;
	
	text-align: center;
}
.pagination li {
	display: inline-block;
}
.pagination li:before {
	display: none !important;
}
.pagination li + li {
	margin-left: 0;
}
.pagination li a {
	display: inline-block;
	width: 29px;
	height: 29px;
	
	sbackground: yellow;
	border-radius: 2px;
	
	color: #229bd4;
	font-size: 12px;
	line-height: 29px;
	text-align: center;
	text-decoration: none;
}
.pagination li a:hover {
	box-shadow: 0 0 2px 0 #dddddd;
}
.pagination li.active a {
	background: #239ad2;
	
	color: #ffffff;
}
.pagination li.first a,
.pagination li.previous a,
.pagination li.next a,
.pagination li.last a {
	width: auto;
	height: auto;
}
.pagination li.first a,
.pagination li.previous a {
	margin-right: 15px;
}
.pagination li.next a,
.pagination li.last a {
	margin-left: 15px;
}
.pagination li a:before,
.pagination li a:after {
	color: #567297;
}
.pagination li.first a:before {
	content: "‹ ";
}
.pagination li.previous a:before {
	content: "« ";
}
.pagination li.next a:after {
	content: " »";
}
.pagination li.last a:after {
	content: " ›";
}
.pagination li.first a:hover,
.pagination li.previous a:hover,
.pagination li.next a:hover,
.pagination li.last a:hover {
	box-shadow: none;
	text-decoration: underline;
}


/*
	course-dates
*/
.course-dates {
	padding: 10px 0;
	margin-bottom: 35px;
	background-image: url(../img/footer_bg.png);
	
	border-radius: 0 3px 3px 0;
}
.course-dates > .button {
	width: 205px;
	margin: 15px 20px;
	padding: 0;

	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
}
.course-dates ul {
	margin: 0;
	padding: 7px 20px 0;
	
	list-style: none;
}
.course-dates ul + ul {
	border-top: 1px solid #424343;
}
.course-dates li {
	margin-bottom: 7px;

	color: #ffffff;
	font-size: 14px;
	line-height: 17px;
}
.course-dates li .title {
	color: #5ac7fa;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}
.course-dates li .price {
	color: #ffffff;
	font-size: 14px;
	font-weight: bold;
	line-height: 24px;
}
.course-dates li .price.old {
	text-decoration: line-through;
}
.course-dates li .price.discount {
	margin-left: 5px;
	color: #fea918;
	font-size: 16px;
	font-weight: bold;
}
.course-dates li .price span {
	color: #a0a0a0;
	font-size: 12px;
	font-weight: normal;
}
.course-dates li .price.discount span {
	color: #fea918;
}
.course-dates li .note {
	color: #fea918;
	font-size: 12px;
	white-space: nowrap;
}



/*
	Course detail view
*/
.course-lead {
	margin: 40px 0 30px;
	padding-bottom: 10px;
	border-bottom: 1px dotted #dbdcdd;
}
.course-lead h1 {
	color: #239bd3;
	font-size: 24px;
	line-height: 27px;
}
.course-lead p {
	color: #3c4147;
	font-weight: bold;
}
.course-lead .logo {
	float: right;
	margin-left: 15px;
}
.course-body {
	margin: 0 0 30px;
	padding-bottom: 20px;
	border-bottom: 1px dotted #dbdcdd;
}
.course-body .button {
	text-transform: none;
}



/*
	course-form
*/
.course-form {
	width: 705px;
	padding-top: 48px;
	padding-right: 295px;
	padding-bottom: 48px;
	
	position: relative;
}
.course-form:after {
	content: "";
	width: 265px;
	height: 265px;

	background-image: url(../img/pencil_bg.png);
	background-size: 265px 265px;
	
	position: absolute;
	top: 80px;
	right: -10px;
}
.course-form h3 {
	margin: 0 0 18px;

	color: #239bd3;
	font-size: 46px;
	line-height: 49px;
}
.course-form .select {
	margin-bottom: 10px;
}
.course-form .select select {
	width: 100%;
	padding: 12px 16px;

	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.08);

	background-image: url(../img/select-arrow.png);
	background-size: 10px 7px;
	background-position: 98% center;
	background-repeat: no-repeat;
	
	color: #3f444a;
	font-size: 16px;
	line-height: 20px;
	font-weight: bold;

	-webkit-appearance: none;
	-moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: "";
}
.course-form .select select::-ms-expand {
    display: none;
}
.course-form .input {
	float: left;
	margin-bottom: 10px;
}
.course-form .input input {
	width: 260px;
	height: 44px;
	padding: 0 16px;

	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.08);
	
	color: #3f444a;
	font-size: 14px;
}
.course-form .textarea {
	float: right;
	margin-bottom: 10px;
}
.course-form .textarea textarea {
	width: 382px;
	height: 182px;
	padding: 14px 0 14px 16px;

	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.08);
	
	color: #3f444a;
	font-size: 14px;
	line-height: 17px;
}
.course-form .actions {
	float: left;
	width: 100%;
	margin-top: 18px;
	clear: both;
	
	padding-bottom: 40px;
	
	border-bottom: 1px solid #eae9ea;
}
.course-form .actions .button {
	float: right;
}
.course-form .note {
	clear: both;
	padding-top: 38px;
	padding-left: 50px;
	
	position: relative;
}
.course-form .note:before {
	content: "";
	width: 28px;
	height: 41px;

	background-image: url(../img/icons.png);
	background-repeat: no-repeat;
	background-position: -62px 0;
	
	position: absolute;
	top: 38px;
	left: 3px;
}




/*
	favorites
*/
.favorites-aside {
	margin-bottom: 35px;
}
.favorites-aside h3 {
	margin: 0 0 13px 23px;
	padding: 0;
	
	font-size: 18px;
	line-height: 19px;
	text-transform: uppercase;
}
.favorites-aside ul {
	margin: 0 0 0 15px;
	padding: 0;
	
	list-style: none;

	border-top: 1px dotted #dbdcdd;
}
.favorites-aside li {
	padding: 15px 20px 15px 7px;
	border-bottom: 1px dotted #dbdcdd;
	
	position: relative;
}
.favorites-aside li a {
	color: #288ebd;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
}
.favorites-aside li a:hover {
	text-decoration: underline;
}
.favorites-aside li a.remove {
	display: inline-block;
	width: 17px;
	height: 16px;
	padding: 1px;
	
	color: #b9bec0;
	font-size: 14px;
	text-align: center;
	line-height: 16px;
	
	position: absolute;
	top: 5px;
	right: 0;
}
.favorites-aside li a.remove:hover {
	width: 17px;
	height: 16px;
	padding: 0;
	
	border: 1px solid #d18f8f;
	border-radius: 3px;
	
	background: #e4a1a1; /* Old browsers */
	background: -moz-linear-gradient(top,  #e4a1a1 0%, #d38787 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4a1a1), color-stop(100%,#d38787)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e4a1a1 0%,#d38787 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e4a1a1 0%,#d38787 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e4a1a1 0%,#d38787 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e4a1a1 0%,#d38787 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4a1a1', endColorstr='#d38787',GradientType=0 ); /* IE6-9 */

	
	color: #ffffff;
	text-decoration: none;
	text-shadow: -1px -1px 0 rgba(204, 125, 125, 0.75);
}



/*
	Company
*/
.company-logo {
	float: right;
	padding: 55px 30px;
	margin-top: -31px;
	margin-left: 30px;
	margin-bottom: 10px;
	border: 1px solid #eff0f1;
}
.company-contacts {
	padding: 30px 30px 30px 70px;
	margin-top: 40px;
	margin-bottom: 50px;

	border: 1px solid #eceeef;
	border-left: 10px solid #249cd4;
	clear: both;
}
.company-contacts .col {
	float: left;
	width: 50%;
	
	color: #3c4147;
	font-size: 14px;
	line-height: 24px;
}
.company-contacts .col a {
	color: #2199d1;
	text-decoration: none;
}
.company-contacts .col a:hover {
	text-decoration: underline;
}



/*
	Blog list
*/
.blog-list {
	margin: 0 0 0 -24px !important;
	padding: 0;
	
	list-style: none;
}
.blog-list li {
	float: left;
	margin-left: 24px !important;
	margin-bottom: 24px !important;
}
.blog-list li:before {
	display: none !important;
}
.blog-list li a {
	display: inline-block;
	width: 348px;
	height: 450px;
	
	border-radius: 3px;

	box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease-out;
	
	position: relative;
	overflow: hidden;
	vertical-align: top;
}
.blog-list li a:hover {
	box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.15);
	transition: all 0.2s ease-out;
}
.blog-list li a .image {
	display: inline-block;
}
.blog-list li a .title {
	display: inline-block;
	padding: 25px 27px 0;
	
	color: #259dd5;
	font-size: 24px;
	line-height: 27px;
	transition: all 0.2s ease-out;
}
.blog-list li a:hover .title {
	color: #1d2023;
	transition: all 0.2s ease-out;
}
.blog-list li a .title .count {
	color: #de4a4a;
	font-size: 16px;
	line-height: 19px;
}
.blog-list li a .excerpt {
	display: inline-block;
	padding: 15px 27px 0;
	
	color: #3f444a;
	font-size: 14px;
	line-height: 22px;
}
.blog-list li a .meta {
	display: inline-block;
	width: 100%;
	padding: 75px 27px 30px;
	
	border-radius: 0 0 3px 3px;
	
	color: #a2a2a2;
	font-size: 12px;
	line-height: 15px;
	
	position: absolute;
	left: 0;
	bottom: 0;
	
	box-sizing: border-box;
	
	background: #eee;
	background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}



/*
	Blog list compact
*/
ul.blog-list-compact {
	margin: 10px 5px 25px;
	padding: 0;
	
	list-style: none;
	
	clear: both;
}
ul.blog-list-compact li {
	margin: 0 0 8px;
	
	font-size: 14px;
	line-height: 18px;
}
ul.blog-list-compact li:before {
	display: none !important;
}
ul.blog-list-compact li a {
	color: #3f444a;
	text-decoration: none;
}
ul.blog-list-compact li a:hover {
	color: #259dd5;
	text-decoration: underline;
}
ul.blog-list-compact li .meta {
	color: #a2a2a2;
	font-size: 12px;
}



/*
	Blog post
*/
.post {
	margin-bottom: 25px;
	border-bottom: 1px dotted #dbdcdd;
}
.post .meta {
	margin-bottom: 30px;

	color: #858b8d;
	font-size: 12px;
	line-height: 15px;
}
.post .meta .separator {
	margin: 0 5px;
}
.post .meta a {
	color: #858b8d;
	text-decoration: none;
}
.post .meta .count {
	color: #dc4848;
}

.post .tags {
	padding: 12px 7px;
	border-top: 1px dotted #dbdcdd;
	
	color: #9aa3aa;
	font-size: 12px;
	line-height: 16px;
	
	clear: both;
}
.post .tags .icon {
	margin-top: -2px;
	margin-right: 5px;
	
	vertical-align: top;
}
.post .tags a {
	color: #9aa3aa;
	text-decoration: none;
	
	vertical-align: top;
}
.post .tags a:hover {
	color: #2199d1;
	text-decoration: underline;
}



/*
	comment-form
*/
.comment-form {
	padding: 30px 25px;
	margin-bottom: 25px;
	
	border: 1px solid #e4e6e8;
	background: #f6f7f7;
	
	position: relative;
}
.comment-form h3 {
	margin: 0 2px 12px;

	color: #3f444a;
	font-size: 18px;
	line-height: 21px;
	text-transform: uppercase;
}
.comment-form .input {
	float: left;
	margin-bottom: 10px;
}
.comment-form .input input {
	width: 205px;
	height: 36px;
	padding: 0 16px;

	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.08);
	
	color: #3f444a;
	font-size: 14px;
}
.comment-form .textarea {
	float: right;
	margin-bottom: 10px;
}
.comment-form .textarea textarea {
	width: 395px;
	height: 104px;
	padding: 14px 0 14px 16px;

	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.08);
	
	color: #3f444a;
	font-size: 14px;
	line-height: 17px;
}
.comment-form .actions {
	float: left;
	width: 100%;
	margin-top: 1px;
	clear: both;
}
.comment-form .notify {
	margin-top: 8px;
}
.comment-form .actions .button {
	float: right;
}



/*
	comments-list
*/
.comments-list {
	margin-bottom: 25px;
	border-bottom: 1px dotted #dbdcdd;
}
.comments-list .comment {
	margin-bottom: 25px;
	border-left: 1px dotted #dbdcdd;
}
.comments-list .comment .comment {
	margin-top: 25px;
}
.comments-list .comment .title {
	padding: 10px 20px 10px 45px;
	margin-bottom: 25px;
	background: #f6f7f7;
	
	position: relative;
}
.comments-list .comment .title .switch {
	display: inline-block;
	width: 19px;
	height: 19px;
	padding: 1px 0 0 1px;
	
	background: #ffffff;
	border-radius: 3px;

	box-shadow: inset 1px 1px 1px 0 rgba(0,0,0,0.06), 1px 1px 1px 0 rgba(0,0,0,0.08);
	
	color: #949494;
	line-height: 20px;
	text-align: center;
	text-decoration: none;
	
	position: absolute;
	top: 8px;
	left: 10px;
}
.comments-list .comment .title .switch:before {
	content: "+";
}
.comments-list .comment.closed .title .switch:before {
	content: "−";
}
.comments-list .comment .title .switch:hover {
	background: #595b62;
	
	color: #ffffff;
}
.comments-list .comment .title .name {
	color: #4c4c4c;
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
}
.comments-list .comment .title .time {
	color: #949494;
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
.comments-list .comment .title .reply {
	float: right;
	
	color: #259dd5;
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
	text-decoration: none;
}
.comments-list .comment .title .reply:hover {
	color: #1f8ec2;
	text-decoration: underline;
}
.comments-list .comment .body {
	margin-left: 30px;
	
	font-size: 14px;
	line-height: 24px;
}
.comments-list .comment.closed .body {
	display: none;
}



/*
	widget
*/
.widget {
	margin-top: 30px;
	margin-left: 15px;
	margin-bottom: 50px;
}
.widget h3 {
	margin: 0 7px 12px;
	padding: 0;
	
	color: #3f444a;
	font-size: 18px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: bold;
	line-height: 25px;
	text-transform: uppercase;
}

/* Widget menu */
.widget-menu ul {
	margin: 0;
	padding: 0;
	
	list-style: none;
}
.widget-menu > ul {
	border-top: 1px dotted #dbdcdd;
}
.widget-menu li {
	
}
.widget-menu a {
	display: inline-block;
	width: 100%;
	padding: 12px 10px 12px 19px;

	color: #3c4147;
	font-size: 14px;
	line-height: 17px;
	text-decoration: none;
	
	border-bottom: 1px dotted #dbdcdd;
	
	position: relative;
	box-sizing: border-box;
}
.widget-menu a:before {
	display: inline-block;
	content: "";
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 2.5px 0 2.5px 3px;
	border-color: transparent transparent transparent #2098d0;

	position: absolute;
	top: 19px;
	left: 8px;
}
.widget-menu a:hover {
	background: #f8fafb;
	
	color: #259dd5;
}
.widget-menu li.active > a {
	color: #2199d1;
	font-weight: bold;
}

/* 2. level */
.widget-menu ul ul {
	display: none;
	padding-left: 16px;
	
	border-bottom: 1px dotted #dbdcdd;
}
.widget-menu ul .active > ul,
.widget-menu ul .open > ul {
	display: block;
}
.widget-menu ul ul a {
	border: 0;
}
.widget-menu ul ul a:hover {
	background: transparent;
}

/* 3. level */
.widget-menu ul ul ul {
	display: none;
	padding-left: 15px;
	
	border: 0;
}
.widget-menu ul ul .active > ul,
.widget-menu ul ul .open > ul {
	display: block;
}
.widget-menu ul ul ul a {
	padding-top: 6px;
	padding-bottom: 6px;

	font-size: 12px;
	line-height: 15px;
}
.widget-menu ul ul ul a:before {
	top: 11px;
}
.widget-menu ul ul ul a:hover {
	text-decoration: underline;
}
.widget-menu ul ul ul .active a {
	font-weight: normal;
}

/* Widget tags */
.widget-tags ul {
	margin: 0;
	padding: 0;
	padding-left: 2px;
	
	list-style: none;
}
.widget-tags li {
	float: left;
	margin-left: 4px;
	margin-bottom: 4px;
}
.widget-tags li a {
	display: inline-block;
	padding: 0 12px;
	
	background: #ffffff;
	border: 1px solid #e8e9ea;
	border-radius: 3px;

	color: #3c4147;
	font-size: 12px;
	line-height: 27px;
	text-decoration: none;
}
.widget-tags li a:hover {
	color: #2199d1;
	
	background: #f8fafb;
	border-color: #dcdedf;
}


/*
	Footer
*/
footer {
	padding: 52px 0 40px;

	color: #86929a;
	font-size: 14px;
	line-height: 22px;
	text-shadow: -1px -1px 0 rgba(5, 5, 4, 0.4);
}
footer a {
	color: #86929a;
	text-decoration: none;
}
footer a:hover {
	color: #c0c8cd;
	text-decoration: underline;
}
footer h3 {
	margin: 15px 0 15px;
	padding: 0;
	
	color: #249cd4;
	font-size: 22px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: bold;
	line-height: 25px;
}
footer h4 {
	margin: 5px 0 30px;
	padding: 0;
	
	color: #96a4ae;
	font-size: 20px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: normal;
	line-height: 23px;
}

/* contact */
footer .contact {
	float: left;
	width: 260px;
	margin-right: 20px;
}
#logo_footer {
	display: inline-block;
	width: 134px;
	height: 33px;
	
	background-image: url(../img/logo_footer.png);
	background-repeat: no-repeat;
	background-size: 134px 33px;
}

/* links */
footer .links {
	float: left;
	width: 265px;
	margin-right: 20px;
}
footer .links ul {
	margin: 0;
	padding: 0;
	
	list-style: none;
}
footer .links ul + ul {
	margin-top: 22px;
}
footer .links ul li {
	margin-left: 10px;
	position: relative;
}
footer .links ul li:before {
	display: inline-block;
	content: "";

	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 2.5px 0 2.5px 3px;
	border-color: transparent transparent transparent #249cd4;
	
	position: absolute;
	left: -10px;
	top: 8.5px;
}
/* cols2 */
footer .links ul.cols2 {
    column-count: 2;
    column-gap: 0px;
}

/* search */
footer .searchcol {
	float: left;
	width: 190px;
	margin-right: 55px;
}
footer .searchcol a {
	color: #249cd4;
}
footer .searchcol form {
	border: 0;
	border-radius: 3px;	
	
	background: #5c5e60;
	background: rgba(255, 255, 255, 0.28);
}
footer .searchcol form input {
	float: left;
	width: 140px;
	height: 37px;
	padding: 0 0 0 13px;

	border: 0;
	background: transparent;
	
	color: #d2d2d2;
	font-size: 14px;
	text-shadow: -1px -1px 0 rgba(41, 39, 38, 0.4);
}
footer .searchcol form button {
	float: left;
	width: 37px;
	height: 37px;

	border: 0;
	background: transparent;
	text-align: center;
}

/* newsletter */
footer .newsletter {
	float: left;
	width: 190px;
}
footer .newsletter input[type="text"],
footer .newsletter input[type="email"] {
	width: 164px;
	height: 37px;
	padding: 0 13px;
	margin-bottom: 6px;
	
	border: 0;
	border-radius: 3px;
	
	background: #5c5e60;
	background: rgba(255, 255, 255, 0.28);
	
	color: #d2d2d2;
	font-size: 14px;
	text-shadow: -1px -1px 0 rgba(41, 39, 38, 0.4);
}
footer .newsletter .button {
	width: 100%;
	margin-top: 5px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: normal;
	text-transform: none;
}


/*
	Social icons
*/
.social {
	float: left;
	display: inline-block;
	width: 33px;
	height: 33px;
	
	background-image: url(../img/social.png);
	background-repeat: no-repeat;
	background-size: 148px 33px;
}
.social + .social {
	margin-left: 5px;
}
.social.facebook { background-position: 0 0; }
.social.google { background-position: -38px 0; }
.social.rss { background-position: -77px 0; }
.social.email { background-position: -115px 0; }




/*
	
*/
#block_articles {
	padding: 55px 0 55px;

	background: url(../img/secondary_bg2.png);
}
#block_articles .heading {
	height: 25px;
	width: 740px;

	border-bottom: 1px solid #e1e4e5;
}
#block_articles .heading h3 {
	display: inline-block;
	margin: 0;
	padding-right: 20px;
	
	background: url(../img/secondary_bg2.png);

	color: #32373c;
	font-size: 48px;
	font-family: 'Patua One', cursive;
	font-weight: normal;
	line-height: 46px;
}
#block_articles ul.featured {
	float: left;
	margin: 0 !important;
	padding: 40px 0 0;
	width: 740px;
	
	list-style: none;
	position: relative;
}
#block_articles ul.featured:after {
	display: inline-block;
	content: "";
	width: 13px;
	height: 100%;
	
	background-image: url(../img/shadow-right.png);
	background-position: left top;
	background-size: contain;
	background-repeat: no-repeat;
	
	position: absolute;
	top: -1px;
	right: -12px;
}
#block_articles ul.featured li {
	float: left;
	display: inline-block;
	width: 315px;
	padding-right: 36px;
	
	border-right: 1px dotted #dfe2e5;

	vertical-align: top;
}
#block_articles ul.featured li + li {
	padding-left: 36px;
	border-left: 1px dotted #fcfdfd;
	border-right: 0;
}
#block_articles ul.featured li:before {
	display: none !important;
}
#block_articles ul.featured li .title {
	display: inline-block;
	padding: 15px 0 0;
	
	color: #229ad2;
	font-size: 22px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: bold;
	line-height: 26px;
}
#block_articles ul.featured li .title a {
	color: #229ad2;
	text-decoration: none;
}
#block_articles ul.featured li .title a:hover {
	color: #1586bb;
	text-decoration: none;
}
#block_articles ul.featured li .excerpt {
	display: inline-block;
	padding: 10px 0 0;
	
	color: #323435;
	font-size: 14px;
	line-height: 22px;
}
#block_articles ul.featured li .excerpt p {
	margin: 0;
}
#block_articles ul.featured li .excerpt p + p {
	margin-top: 1em;
}
#block_articles ul.featured li .excerpt a {
	color: #cc3d3d;
	font-weight: bold;
	text-decoration: none;
}
#block_articles ul.featured li .excerpt a:hover {
	color: #229ad2;
	text-decoration: none;
}
#block_articles ul.featured li .tags {
	display: inline-block;
	width: 100%;
	padding-top: 18px;
	padding-left: 20px;
	
	color: #aeb3b7;
	font-size: 12px;
	line-height: 18px;
	font-style: italic;
	
	box-sizing: border-box;
	
	position: relative;
}
#block_articles ul.featured li .tags .icon {
	position: absolute;
	top: 15px;
	left: 0;
}
#block_articles ul.featured li .tags a {
	color: #aeb3b7;
	text-decoration: none;
}
#block_articles ul.featured li .tags a:hover {
	color: #d16b6b;
	text-decoration: underline;
}

#block_articles .side {
	float: right;
	width: 235px;
	padding-top: 25px;
}
#block_articles .side h4 {
	margin-left: 19px;
	margin-bottom: 5px;

	font-size: 22px;
	line-height: 25px;
}
#block_articles ul.side-list {
	margin: 0;
	padding: 0;
	
	list-style: none;
}
#block_articles ul.side-list li {
	border-bottom: 1px dotted #dfe0e1;
	border-top: 1px dotted #fcfdfd;
}
#block_articles ul.side-list li:first-child {
	border-top: 0;
}
#block_articles ul.side-list li:last-child {
	border-bottom: 0;
}
#block_articles ul.side-list li:before {
	display: none !important;
}
#block_articles ul.side-list li a {
	display: inline-block;
	width: 100%;
	padding: 9px 19px;
	
	border-radius: 3px;
	
	color: #229ad2;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	
	box-sizing: border-box;
}
#block_articles ul.side-list li a:hover {
	background: #ffffff;
	
	color: #3f4142;
	text-decoration: none;
}
#block_articles ul.side-list li a.read-more {
	width: auto;

	color: #cc3e3e;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	
	position: relative;
}
#block_articles ul.side-list li a.read-more:after {
	content: "»";
	
	color: #bfc1c1;
	
	position: absolute;
	top: 9px;
	right: 7px;
}
#block_articles ul.side-list li a.read-more:hover {

	background: transparent;

	color: #dc4e4e;
	text-decoration: underline;
}



/*
	
*/
#block_company {
	padding: 55px 0 22px;

	background: #ffffff;
}
#block_company .heading {
	height: 25px;
	margin-bottom: 55px;

	border-bottom: 1px solid #f0f1f2;
}
#block_company .heading h3 {
	display: inline-block;
	margin: 0;
	padding-right: 20px;
	
	background: #ffffff;

	color: #32373c;
	font-size: 48px;
	font-family: 'Patua One', cursive;
	font-weight: normal;
	line-height: 46px;
}
#block_company .heading a {
	float: right;
	display: inline-block;
	margin-top: 15px;
	margin-right: 25px;
	padding-left: 5px;
	padding-right: 17px;
	
	background: #ffffff;

	color: #cc3e3e;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	
	position: relative;
}
#block_company .heading a:after {
	content: "»";
	
	color: #bfc1c1;
	
	position: absolute;
	top: 0;
	right: 5px;
}
#block_company .heading a:hover {
	color: #dc4e4e;
	text-decoration: underline;
}
#block_company ul {
	margin: 0 0 0 -24px !important;
	padding: 0;
	
	list-style: none;
}
#block_company ul li {
	float: left;
	display: inline-block;
	width: 315px;
	margin-left: 24px !important;
	margin-bottom: 24px !important;
	padding-bottom: 90px;

	border-radius: 3px;

	box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
	
	position: relative;
	overflow: hidden;
	vertical-align: top;
}
#block_company ul li:before {
	display: none !important;
}
#block_company ul li .image {
	width: 100%;
	display: table;
	
	border-radius: 3px 3px 0 0;
	border-bottom: 1px solid #f5f5f5;
	
	text-align: center;
}
#block_company ul li .image a {
	display: table-cell;
	height: 145px;
	vertical-align: middle;
}
#block_company ul li .title {
	display: inline-block;
	padding: 15px 27px 0;
	
	color: #229ad2;
	font-size: 22px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	font-weight: bold;
	line-height: 26px;
}
#block_company ul li .title a {
	color: #229ad2;
	text-decoration: none;
}
#block_company ul li .title a:hover {
	color: #1586bb;
	text-decoration: none;
}
#block_company ul li .excerpt {
	display: inline-block;
	padding: 10px 27px 0;
	
	color: #3f444a;
	font-size: 14px;
	line-height: 22px;
}
#block_company ul li .excerpt p {
	margin: 0;
}
#block_company ul li .excerpt p + p {
	margin-top: 1em;
}
#block_company ul li .excerpt a {
	color: #cc3d3d;
	font-weight: bold;
	text-decoration: none;
}
#block_company ul li .excerpt a:hover {
	color: #229ad2;
	text-decoration: none;
}
#block_company ul li .read-more {
	display: inline-block;
	margin: 20px 27px 0;
	padding-right: 12px;

	color: #cc3e3e;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	
	position: relative;
}
#block_company ul li .read-more:after {
	content: "»";
	
	color: #bfc1c1;
	
	position: absolute;
	top: 0;
	right: 0;
}
#block_company ul li .read-more:hover {
	color: #dc4e4e;
	text-decoration: underline;
}
#block_company ul li .tags {
	display: inline-block;
	width: 100%;
	padding: 18px 20px 20px 40px;
	
	background: #fbfbfb;
	border-top: 1px solid #f4f6f7;
	border-radius: 0 0 3px 3px;
	
	color: #aeb3b7;
	font-size: 12px;
	line-height: 18px;
	font-style: italic;
	
	position: absolute;
	left: 0;
	bottom: 0;
	
	box-sizing: border-box;
}
#block_company ul li .tags .icon {
	position: absolute;
	top: 15px;
	left: 20px;
}
#block_company ul li .tags a {
	color: #aeb3b7;
	text-decoration: none;
}
#block_company ul li .tags a:hover {
	color: #d16b6b;
	text-decoration: underline;
}




/*
	
*/
#block_about {
	padding: 55px 0 0;

	background: url(../img/secondary_bg2.png);
	border-bottom: 1px solid #e1e4e5;
}
#block_about .article {
	float: left;
	width: 590px;
	margin-bottom: 30px;
}
#block_about .article p {
	margin: 0;
	font-size: 16px;
	line-height: 26px;
}
#block_about .article p + p {
	margin-top: 1em;
}
#block_about .article a {
	color: #cc3d3d;
	font-weight: bold;
	text-decoration: none;
}
#block_about .article a:hover {
	color: #229ad2;
	text-decoration: none;
}
#block_about .tark {
	color: #32373c;
	font-size: 50px;
	font-family: 'Patua One', cursive;
	font-weight: normal;
	line-height: 53px;
}
#block_about .tark span {
	color: #2098d0;
}
#block_about .testimonials {
	float: right;
	width: 330px;
	margin-bottom: -1px;
	
	border-bottom: 14px solid #2098d0;
	border-radius: 3px 3px 0 0;
	
	box-shadow: 1px -1px 3px 0 rgba(0,0,0,0.04);
}
#block_about .testimonials:before {
	display: inline-block;
	content: "";
	width: 15px;
	height: 100%;
	
	background-image: url(../img/shadow-testimonials.png);
	background-position: left top;
	background-size: contain;
	background-repeat: no-repeat;
	
	position: absolute;
	top: 0;
	left: -15px;
}
#block_about .testimonials .slide .image {
	height: 84px;
	margin-bottom: 12px;
}
#block_about .testimonials .slide .image img {
	border: 3px solid #ffffff;
	border-radius: 42px;
	box-shadow: 0 0 4px 0 rgba(0,0,0,0.2);
}
#block_about .testimonials .slide h3 {
	margin: 0 0 2px;
	
	color: #229ad2;
	font-size: 30px;
	font-weight: bold;
	line-height: 33px;
}
#block_about .testimonials .slide h4 {
	margin: 0;
	
	color: #2f3335;
	font-size: 18px;
	font-weight: normal;
	line-height: 21px;
}
#block_about .testimonials .slide p {
	font-size: 12px;
	line-height: 19px;
}
#block_about .testimonials .slide p a {
	color: #cc3d3d;
	font-weight: bold;
	text-decoration: none;
}
#block_about .testimonials .slide p a:hover {
	color: #229ad2;
	text-decoration: none;
}



/*
	Slider
*/
.slider {
	position: relative;
}
.slider .slides {
	width: 100%;
	height: 340px;
	
	background: #ffffff;
	border-radius: 3px 3px 0 0;

	position: relative;
}
.slider .slides .slide {
	width: 100%;
	height: 340px;
	padding: 34px 34px 34px 28px;
	box-sizing: border-box;
	
	position: absolute;
	overflow: hidden;
	
	background: #ffffff;
	background-image: url(../img/quote.png);
	background-position: 234px 110px;
	background-repeat: no-repeat;
	border-radius: 3px 3px 0 0;
}
.slider .slides .slide:first-child,
.slider .slides .slide.active {
	z-index: 10;
}

/*
	Slider nupud
*/
.slider ul {
	margin: 0;
	padding: 0;
	list-style: none;
	
	font-size: 10px;
	line-height: 1px;
	
	position: absolute;
	top: 62px;
	right: 35px;
	z-index: 100;
}
.slider ul li {
	display: inline;
	margin-left: 4px;
}
.slider ul li a {
	display: inline-block;
	width: 14px;
	height: 14px;

	border-radius: 7px;	
	background: #ececed;
	
	box-shadow: inset 1px 1px 3px 0 rgba(0,0,0,0.1);
}
.slider ul li a:hover {
	background: #d2d3d5;
}
.slider ul li.active a {
	background: #229ad2;
}

.slider ul li.previous a {
	width: 10px;
	height: 13px;
	margin-top: 1px;
	
	border-radius: 0;
	background-color: transparent;
	background-image: url(../img/icons.png);
	background-position: -25px -42px;
	
	box-shadow: none;
}

.slider ul li.next a {
	width: 10px;
	height: 13px;
	margin-top: 1px;
	
	border-radius: 0;
	background-color: transparent;
	background-image: url(../img/icons.png);
	background-position: -35px -42px;
	
	box-shadow: none;
}




/*
	
*/
#block_social {
	padding: 55px 0 55px;

	background: url(../img/secondary_bg2.png);
	border-top: 1px solid #fbfcfd;
}
#block_social .heading {
	margin-bottom: 15px;
}
#block_social .heading h3 {
	display: inline-block;
	margin: 0;
	padding-right: 30px;

	color: #32373c;
	font-size: 48px;
	font-family: 'Patua One', cursive;
	font-weight: normal;
	line-height: 46px;
}
#block_social .heading .fb-like {
	margin-top: 15px;
	vertical-align: top;
}




/*
	
*/
#block_logos {
	padding: 20px 0;

	background: url(../img/secondary_bg3.png);
}
#block_logos ul {
	margin: 0;
	padding: 0;
	
	list-style: none;
}
#block_logos ul li {
	text-align: center;
}




/** bxslider RESET AND LAYOUT
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto 60px;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: inline-block;
}

.bx-prev,
.bx-next {
	display: inline-block;
	width: 16px;
	height: 30px;
	
	background-color: transparent;
	background-image: url(../img/icons.png);
	
	text-indent: -9999px;
	overflow: hidden;
	
	position: absolute;
	top: 21px;
}
.bx-prev {
	background-position: -25px -57px;
	left: -35px;
}
.bx-prev:hover {
	background-position: -57px -57px;
}
.bx-next {
	background-position: -41px -57px;
	right: -35px;
}
.bx-next:hover {
	background-position: -73px -57px;
}



/*
	jQuery UI
*/
.ui-tooltip, .arrow:after {
	background: #212528;
}
.ui-tooltip {
	padding: 6px 10px;
	color: #ffffff;
	font-size: 12px;
	line-height: 15px;
	
	border-radius: 3px;
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.2);
}
.arrow {
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 8px 4.5px 0 4.5px;
	border-color: #021252 transparent transparent transparent;

	overflow: hidden;
	position: absolute;
	left: 50%;
	margin-left: -5px;
	bottom: -8px;
}
.arrow.top {
	border-width: 0 4.5px 8px 4.5px;
	border-color: transparent transparent #021252 transparent;

	top: -8px;
	bottom: auto;
}
.arrow.left {
	border-width: 4px 9px 4px 0;
	border-color: transparent #021252 transparent transparent;
	left: 20%;
}


/*
	Tabs
*/
.ui-tabs {
	margin: 0;
	padding: 0;
	border: 0;
}
.ui-tabs .ui-tabs-panel {
	padding: 0;
}
.tab-menu,
.ui-tabs .ui-tabs-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	
	border-bottom: 3px solid #229ad2;
}
.tab-menu li {
	float: left;
	margin: 0 1px 0 0 !important;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
	margin: 0;
	padding: 0;
}
.tab-menu li:before {
	display: none !important;
}
.tab-menu li a,
.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
	float: left;
	padding: 0 28px;
	
	background: #e8eef1;
	border-radius: 3px 3px 0 0;

	color: #3f444a;
	font-size: 18px;
	font-family: 'Archivo Narrow', 'Cuprum', sans-serif;
	line-height: 36px;
}
.ui-tabs .ui-tabs-nav li.ui-tabs-active a {
	background: #229ad2;
	
	color: #ffffff;
	font-weight: bold;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

	.social {
		background-image: url(../img/social@2x.png);
	}
	.icon,
	.course-form .note:before,
	.slider ul li.previous a,
	.slider ul li.next a {
		background-image: url(../img/icons@2x.png);
		background-size: 100px 100px;
	}
	.course-form:after {
		background-image: url(../img/pencil_bg@2x.png);
	}
	.course-form .select select {
		background-image: url(../img/select-arrow@2x.png);
	}
	.slider .slides .slide {
		background-image: url(../img/quote@2x.png);
		background-size: 64px 49px;
	}
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}