/*h-group*/
h1 {
    font-size: 24px;
    line-height: 120%;
    font-weight: bold;
    margin-bottom: 20px;
}
h2,
h3,
h4{
	font-weight: bold;
    margin-bottom: 18px;
    line-height: 120%;
}

h2 {
    font-size: 18px;
}
h3 {
    font-size: 16px;
}
h4 {
    font-size: 14px;
}

/*Tetx format: p, table, ul*/
p:not(:last-child) {
    margin-bottom: 18px;
}
p[align=right] {
    margin-bottom: 0;
}
main ul,
main ol{
	margin-bottom: 20px;
}
main ul ul,
main ol ol{
	padding-left: 15px;
    margin-bottom: 0;
}
main ol li {
    list-style-position: inside;
}
main ul li {
	list-style-type: none;
    background: url(../images/list-img.png) 0 10px no-repeat;
    padding-left: 10px;
    line-height: 19px;
}
main ul ul li{
	background: none;
}
.text-center {
    text-align: center;
}

    /*Color buttom*/
.more_btn {
    text-align: center;
    margin-bottom: 30px;
}
.btn,
input.form-submit {
	background-color: #8abe3f;
    font-size: 14px;
    font-weight: 700;
	padding: 0 10px;
    color: #fff;
    line-height: 36px;
    text-align: center;
    display: inline-block;
    border: none;
    text-decoration: none;
	cursor: pointer;
}
.btn:hover,
.btn:focus,
input.form-submit:hover,
input.form-submit:focus{
	background: #97D047;
	color: #FFF;
}
.btn.btn_light {
    border: 1px solid #8abe3f;
    background: no-repeat;
    color: #8abe3f;
}
.btn.btn_light:hover {
    color: #FFF;
    background: #8abe3f;
}

.btn.gray {
    background-color: #84a3af;
}
.btn.gray:hover {
    background-color: #8bb4c4;
}
.disable_btn,
.disable_btn:hover{
    background: #eeeeee !important;
    color: #ababab !important;
    cursor: not-allowed !important;
}
/*Input form */
::-webkit-input-placeholder {color:#E3E3E3;}
::-moz-placeholder          {color:#E3E3E3;}/* Firefox 19+ */
:-moz-placeholder           {color:#E3E3E3;}/* Firefox 18- */
:-ms-input-placeholder      {color:#E3E3E3;}

input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="number"], textarea,
select{
	background: #FFFFFF;
    border: none;
    display: block;
    width: 100%;
    height: 34px;
    font-size: 14px;
    border: 1px solid #AAB2BD;
    padding: 0 10px;
    border-radius: 5px;
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="url"]:focus, textarea:focus,
select:focus {
    border-color: #89be3f;
}
textarea {
	resize: vertical;
    height: 60px;
    padding: 10px 12px;
	min-height: 60px;
}
stong {
    font-weight: bold;
}
.mt-18 {
    margin-top: 18px;
}
.mt-30 {
    margin-top: 30px;
}
.mb-30 {
    margin-bottom: 30px;
}
/*Системные сообщения*/
.error {
    background: #fcc;
    border: 1px solid #d77;
    padding: 5px 10px;
}
.message{
    padding: 13px 15px;
    max-width: 760px;
}
.message.error_message {
    color: #b45d5c;
    background: #ffe2e5;
}
.message.successful {
    background: #e2f4ce;
    color: #3c763d;
}


/*End Системные сообщения*/

/*Пейджер*/
.pagination {
	clear: both;
    text-align: left;
    margin-bottom: 30px;
    padding: 0;
}
.pagination span{
	text-align: center;
}

.pagination span:first-child {
	border-radius: 4px 0 0 4px;
}
.pagination span:last-child {
	border-radius: 0 4px 4px 0;
}
.pagination span {
	display: inline-block;
    padding: 0;
    margin: 0 -4px 0 0;
    min-width: 32px;
    font-weight: normal;
    height: 32px;
    line-height: 30px;
    color: #FFF;
    background: #FFF;
    border-left: 1px solid #C4C4C4;
    border-top: 1px solid #C4C4C4;
    border-bottom: 1px solid #C4C4C4;
}
.pagination span.current {
	background: #89be3f;
    border-color: #89be3f !important;
    padding: 0 12px;
}
.pagination span:last-child{
    border-right: 1px solid #C4C4C4;
}
.pagination span a{
	color: #000;
    display: block;
    height: 100%;
    text-decoration: none;
	padding: 0 12px;
}
.pagination span a:hover{
	background: #89be3f;
	color: #FFF;
}
.pagination span:hover{
	border-color: #89be3f !important;
}


/*Table Green*/
table {
    border-collapse: collapse;
}
table.green{
    width: 100%;
    line-height: 16px;
}
table.green th{
    border: none;
    color: #fff;
    background-color: #89be3f;
    vertical-align: middle;
    text-align: left;
}
table.green td{
    padding: 13px 16px;
    vertical-align: middle;
}
table.green th{
    padding: 6px 16px 9px 16px;
}
table.green th img {
    vertical-align: middle;
    margin: -2px 0 0 4px;
}
table.green span{
    font-size: 13px;
    font-style: italic;
}
tr.gray {
    background-color: #f5f5f5;
}
table td p {
    margin-bottom: 0;
}
.container-table {
    overflow: auto;
}
/*Цитаты*/

blockquote {
    background: #F2F2F2;
    color: #333333;
    padding: 15px 57px 15px 116px;
    position: relative;
    margin-bottom: 17px;
}
blockquote p:last-child{
    margin-bottom: 0;
}
blockquote:before {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background: #E2E2E1;
    font-size: 48px;
    content: "“";
    text-align: center;
    position: absolute;
    line-height: 60px;
    color: #484848;
    left: 28px;
    top: 18px;
}
blockquote:after {
    background: #89BE3F;
    content: "";
    width: 3px;
    height: calc(100% - 30px);
    position: absolute;
    left: 95px;
    top: 15px;
}
blockquote.blockquote_style {
    padding: 15px 20px;
}
blockquote.blockquote_style:before,
blockquote.blockquote_style:after {
    display: none;
}
/*Цитаты*/

/*Spoiler*/
.spoiler .item {
    margin-bottom: 21px;
}
.spoiler .title {
    border: 1px solid #89BE3F;
    text-align: center;
    color: #89BE3F;
    font-weight: bold;
    padding: 5px 10px;
    line-height: 19px;
    cursor: pointer;
}
.spoiler.active .title{
    background-color: #89be3f;
    color: #fff;
}
.spoiler.active .title span:after{
    border-top: none!important;
    border-bottom: 5px solid #fff;
}
.spoiler .title span {
    display: inline-block;
    position: relative;
}
.spoiler .title span.settings_on {
    padding-left: 44px;
}
.spoiler .title > span:after {
    content: '';
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #89bd3f;
    display: inline-block;
    margin: 0 0 0 8px;
    position: relative;
    top: -2px;
}
.spoiler .title.active > span:after,
.spoiler .title:hover > span:after{
    border-top: 5px solid #FFF;
}
.spoiler .title.active_style {
    background: #89BE3F;
    color: #FFF;
    padding: 12px 10px !important;
}
.spoiler .title > span.payment_click span {
    border-bottom: 1px dashed #FFFFFF;
}
.spoiler .title > span.payment_click:hover span{
    border-color: transparent;
}
.spoiler .title > span.payment_click:after {
    border-top-color: #FFFFFF;
}
.spoiler .title > span.payment_click:before {
    content: '';
    background: url(../images/icon_calculator.svg) 0 0 no-repeat;
    width: 15px;
    height: 19px;
    display: inline-block;
    margin-right: 10px;
    vertical-align: top;
}
.spoiler .title span.settings_on:before {
    background: url(../images/lang_img/land_i_setting_na.svg) 0 0 no-repeat;
    width: 24px;
    height: 24px;
    content: "";
    position: absolute;
    left: 0;
    top: -3px;
}
.spoiler .title.active span.settings_on:before, .spoiler .title:hover span.settings_on:before {
    background: url(../images/lang_img/land_i_setting_a.svg) 0 0 no-repeat;
}
.spoiler .title.active, .spoiler .title:hover {
    background: #89BE3F;
    color: #FFF;
}

.spoiler .content_spoiler {
    border-left: 1px solid #89BE3F;
    border-bottom: 1px solid #89BE3F;
    padding: 26px 22px;
    border-right: 1px solid #89BE3F;
    display: none;
}
.spoiler .content_spoiler p:last-child,
.spoiler .content_spoiler ul:last-child,
.spoiler .content_spoiler li:last-child{
    margin-bottom: 0;
}
/*End Spoiler*/


/*Style checkbox and Radiobnt*/

/*Check*/
.check {
    padding-left: 20px !important;;
    position: relative;
    margin-bottom: 14px !important;
}
.check label:before {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    border: 1px solid #9a9b9c;
    left: 0;
    top: 3px;
    z-index: 0;
}
.check label {
    display: block;
    line-height: 17px;
    padding-top: 1px;
}
.check input {
    display: none;
}
.check label:hover:after {
    width: 8px;
    height: 8px;
    background-color: #89be3f;
    left: 3px;
    top: 6px;
    content: "";
    position: absolute;
}
.check input:checked + label:before  {
    background: #89be3f url(/images/checkbox.png) center center no-repeat;
    border-color: #89be3f;
}
.check input:checked + label:hover:after {
    display: none;
}

/*Radio*/
.radio{
    margin-right: 25px;
}
.radio input{
    display: none;
}
.radio input + label{
    cursor: pointer;
}
.radio input:not(checked) + label{
    position: relative;
    padding: 0 0 0 25px;
}
.radio input:disabled + label{
    color: #ccc;
}
.radio input:not(checked) + label:before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #e9e9ea;
    border: 1px solid #e9e9ea;
}
.radio input:not(checked) + label:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: #89be3f;
    opacity: 0;
    transition: all .2s;
}
.radio input:not(checked):hover + label:before {
    border: 1px solid #d3d3d3;
}
.radio input:checked + label:after {
    opacity: 1;
    top: 7px;
    left: 3px;
    width: 9px;
    height: 9px;
}

/* END Style checkbox and Radiobnt */

/* TABS STYLE */

.tabs_block{
    margin: 0;
    padding: 0 15px;
    height: 33px;
    position: relative;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #89be3f;
}
.tabs_block li{
    height: 0;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    margin: 0;
    float: left;
    list-style: none;
    text-align: center;
    z-index: 0;
    position: relative;
    left: 0;
    border-bottom: 32px solid #fff;
    border-left: 19px solid transparent;
    border-right: 21px solid transparent;
    padding: 0;
}
.tabs_block li:before {
    display: none;
}
.tabs_block li.active{
    color: #89be3f;
    z-index: 10!important;
    border-bottom: 33px solid #89be3f;
    border-left: 21px solid transparent;
    border-right: 22px solid transparent;
}
.tabs_block li span{
    border-bottom: 31px solid #89be3f;
    border-left: 18px solid transparent;
    border-right: 20px solid transparent;
    height: 0;
    margin: 1px -19px 0 -17px;
    width: 240px;
    display: block;
    line-height: 31px;
}
.tabs_block li span a{
    width: 240px;
    display: block;
    line-height: 31px;
    margin: 1px -19px 0 -17px;
    text-decoration: none;
    color: #fff;
}
.tabs_block li.active a{
    color: #89be3f;
}
.tabs_block li:hover span{
    border-bottom: 31px solid #97cf49;
}
.tabs_block li.active span {
    border-bottom: 34px solid #fff;
    border-left: 22px solid transparent;
    border-right: 23px solid transparent;
    margin: 1px -22px 0 -21px;
}
.tabs_content {
    display: none;
}
.tabs_content.active {
    display: block;
}
/* END TABS STYLE */


/*Оформление файлов*/
a.file_style{
    display: flex;
    align-items: center;
    justify-content: start;
}

a.file_style:before {
    content: '';
    width: 33px;
    height: 36px;
    margin-right: 10px;
    flex-shrink: 0;
}
a.pdf_style:before {
    background: url(../images/blog/icon_file_pdf.svg) no-repeat scroll 0 0 transparent;
}
a.doc_style:before {
    background: url(../images/blog/icon_file_doc.svg) no-repeat scroll 0 0 transparent;
}
a.xls_style:before {
    background: url(../images/blog/icon_file_xls.svg) no-repeat scroll 0 0 transparent;
}
a.xlsx_style:before {
    background: url(../images/blog/icon_file_xlsx.svg) no-repeat scroll 0 0 transparent;
}
a.docx_style:before {
    background: url(../images/blog/icon_file_docx.svg) no-repeat scroll 0 0 transparent;
}
/*End Оформление файлов*/