/* Spoiler */

table.forum-spoiler thead {
    cursor: pointer;
    cursor: hand;
}

table.forum-spoiler thead div {
    padding-left: 15px;
    background-image: url('../images/plus.gif');
    background-position: left center;
    background-repeat: no-repeat;
}

table.forum-spoiler thead.forum-spoiler-head-open div {
    background-image: url('../images/minus.gif');
}

/* /Spoiler */

td.forum-column-action,
th.forum-column-action {
    width: 5%
}

/* Filter */

div.forum-filter-field {
    margin: 1em 0;
    /*font-size: 14px;*/
}
.forum-filter-field-item {width: 40%;}
.forum-filter-field-item > * {vertical-align: middle;}
.forum-filter-field label + span.forum-filter-field-item input {margin-right: 0;}

div.forum-filter-field input[type='submit'] {
    background: #f2613c;
    border: none;
    color: #fff;
    padding: 0.5em 1.5em;
    font-family: Ubuntu;
    font-size: 20px;
    font-weight: normal;
    cursor: pointer;
    border-radius: 30px;
}
div.forum-filter-field.search-input input[type='submit'] {font-size: 20px;min-width: 175px; font-weight: normal; line-height: 30px;}
@media screen and (max-width: 700px) {
	div.forum-filter-field input[type="submit"] {font-size: 18px; min-width: auto;}
.forum-filter-field-item {width: calc(100% - 10em);}
div.forum-filter-field.search-input input[type='submit'] {font-size: 18px;min-width: auto}
}
div.forum-filter-field input[type='submit']:hover {
    background: #888888;
}

div.forum-filter-field > label {
    width: 10em;
    display: block;
    float: left;
}

div.forum-filter-field span {
    display: inline-block;
   
	position:relative
}
div.forum-filter-field > span {float: left;}
div.forum-filter-field.search-input {margin: 6px 0;}
div.forum-filter-field.search-input span { height: 50px;}
div.forum-filter-field.search-input span:not([class]) {width: 60%; margin-right: 1.5em;}
.forum-filter-field.search-input span:not([class])::before {
	content: url('/local/templates/teko_2018/images/search.png');
	display: block;
	width: 32px;
	height: 32px;
	position: absolute;
	right: 1rem;
	top: 50%; margin-top: -16px;
	z-index: 3;
}

div.forum-filter-field span label {
    display: inline;
    height: 2em;
    float: none;
}

div.forum-filter-field label[for='q'] {
    width: 4em;
}

div.forum-filter-field div.forum-clear-float {
    clear: both;
}

div.forum-filter div.forum-filter-forums label {
    display: block;
    width: 10em;
    /*height: 5em;*/
    float: left;
}

div.forum-filter div.forum-filter-forums span {
    display: block;
    /*height: 5em;*/
    float: left;
}

div.forum-filter div.forum-filter-forums span select.forum-filter-forums {
    /*height: 4.5em;*/
    width: 100%;
}

div.forum-filter-field input[type='text'] {
    padding: 3px 5px;
}

div.forum-filter input.search-input {
    width: 100%;
    margin-right: 15px;
    padding-left: 30px;
    height: 100%;
    line-height: 20px;
	position:relative;
}

/**/

div.forum-filter select {
    /*width: 250px;*/
	width: 100%;
}

div.forum-filter-footer {
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

div.forum-filter-footer input {
    margin: 0.2em;
}

/*/Filter */

table.palette {
    border: 1px solid gray;
    background-color: gray;
    border-collapse: collapse;
}

table.palette td {
    border: 1px solid gray;
    width: 10px;
    height: 10px;
    padding: 0px;
    margin: 0;
}

table.palette td img {
    width: 10px;
    height: 10px;
    border: none;
    padding: 0px;
    margin: 0;
}

/* Popups */

div.forum-popup-postform {
    width: 502px;
    padding: 0px;
    margin: 0;
    overflow: hidden;
    color: black;
}

div.forum-popup-postform table.forum-popup {
    border: 1px solid gray;
    width: 500px;
    background-color: white;
    font-size: 1em;
    cursor: default;
}

div.forum-popup-postform table.forum-popup td {
    font-size: 1em;
    border: none;
    background-color: white;
    font-size: 1em;
}

div.forum-popup-postform table.forum-popup thead td {
    font-weight: bold;
    padding: 0.5em 0.5em 0.1em 0.8em;
    font-size: 1.1em;
    text-align: left;
}

div.forum-popup-postform table.forum-popup thead td div.close {
    cursor: pointer;
    cursor: hand;
    background-image: url('images/close.gif');
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 13px;
    height: 13px;
    float: right;
}

div.forum-popup-postform table.forum-popup tbody td {
    padding: 1em;
}

div.forum-popup-postform table.forum-popup tbody td div.forum-field {
    width: 100%;
}

div.forum-popup-postform table.forum-popup tbody td div.forum-field span.title {
    width: 100%;
    display: block;
}

div.forum-popup-postform table.forum-popup tbody td div.forum-field input {
    width: 95%;
}

div.forum-popup-postform table.forum-popup tfoot td {
    padding: 0.3em;
    text-align: center;
}

/*/Popups */

/* Select with forums*/

select.forum-selector-single,
select.forum-selector-multiple {
    width: 250px;
}

select.forum-selector-single optgroup,
select.forum-selector-multiple optgroup {
    font-weight: normal;
    background: none;
    font-size: 1em;
    font-style: normal;
}

select.forum-selector-single option.active,
select.forum-selector-multiple option.active {
    background-color: #DDDDDD;
}

/* /Select*/

/* Pages User Profile */

div.forum-user-interests {
    float: none;
    clear: both;
}

div.forum-user-information div.forum-user-photo {
    margin: 10px;
}

table.forum-post-table table.forum-table td {
    vertical-align: top;
    padding: 0.4em 1em;
}

/* Tab controls*/

div.forum-tabs {
    margin: 0;
    width: 100%;
}

div.forum-tabs div {
    margin: 0;
    padding: 0;
    float: left;
}

div.forum-tabs div.forum-tabs-header {
    position: relative;
    left: 1px;
    z-index: 1;
    width: 100%;
    display: block;
    background: #ebebeb;
}

/*div.forum-tabs div.forum-tabs-header{float:left;position:relative;left:1px;top:20px;z-index:100;width:220px;display:block;}
*/

div.forum-tabs-header div.forum-profile-edit-inner div.tab-container {
    cursor: hand;
    cursor: pointer;
    border-right: 1px solid auto;
    border-left: 0px none;
    border-top: 0px none;
    border-bottom: 0px none;
    color: #f59b00;
    
}

div.forum-tabs-header div.forum-profile-edit-inner div.tab-container div {
    padding: 6px 9px;
    
}

div.forum-tabs-header div.forum-profile-edit-inner div.tab-container-selected {
    border-right: 1px solid auto;
    border-left: 0px none;
    border-top: 0px none;
    border-bottom: 0px none;
    cursor: default;
    background: #dedede;
}

div.forum-tabs-header div.forum-profile-edit-inner div.tab-container-selected div {
    padding: 6px 9px;
    font-weight: bold;
}

div.forum-tabs div.forum-tabs-body {
    display: block;
    border: none;
    z-index: 99;
    width: 100%;
}

div.forum-tabs div.forum-tabs-body div.forum-info-box {
    border-width: 1px;
    display: block;
    zoom: 0;
    width: 100%;
}

div.forum-tabs div.forum-tabs-body div.forum-info-box div.forum-info-box-inner {
    padding: 20px 0px;
}

div.forum-tabs div.forum-tabs-body table.forum-table {
    width: 100%;
}

div.forum-tabs div.forum-tabs-body table.forum-table th {
    white-space: normal;
    text-align: right;
    width: 40%;
    background: none;
    border: none;
    padding: 6px;
    margin: 0;
    vertical-align: top;
}

div.forum-tabs div.forum-tabs-body table.forum-table td {
    text-align: left;
    background: none;
    border: none;
    padding: 6px;
    margin: 0;
    vertical-align: top;
}

div.forum-tabs div.forum-tabs-body table.forum-table tr.header th {
    text-align: center;
}

div.forum-user-edit-buttons {
    margin: 10px 0px 0px 10px;
}

div.forum-user-edit-buttons input {
    padding: 3px 10px !important;
}

.forum-profile-edit-tab table {}

/* Forum page */

span.forum-option-subscribe div.forum-header-box {
    white-space: nowrap;
}

/* Search page */

div.tags-cloud {
    padding-bottom: 1em;
}

/*/Search page */

/* PM */

div.out {
    width: 200px;
    margin: 0;
    padding: 1px;
    border: 1px solid;
    display: block;
    position: relative;
    top: 0;
    text-align: left;
    background-color: none;
    line-height: 10px;
    color: #DDDDDD;
}

div.out1 {
    width: 200px;
    padding: 0;
    margin: 0;
    display: block;
    position: relative;
    top: -12px;
}

div.in {
    padding: 0;
    font-size: 9px;
    background-color: #DDDDDD;
}

div.in1 {
    width: 100%;
    text-align: center;
    padding: 0;
    font-size: 9px;
    font-weight: normal;
}

tr.forum-pmessage-new td {
    font-weight: bold;
}

span.forum-pmessage-action,
span.forum-pmessage-move {
    float: left;
}

div.forum-pmessage-navigation {
    float: right;
}

table.forum-pmessages thead th {
    width: 7em;
}

span.forum-pmessage-recipient {
    white-space: nowrap;
}

/*/PM */

div.forum-subscribes div {
    padding: 0px 0px 0px 25px;
}

div.forum-subscribes div.forum-group-buttons {
    padding: 10px 0px 0px 0px;
}

div.forum-smiles-line,
div.forum-smiles-line a,
div.forum-reply-field-bbcode div.forum-reply-field-showsmiles {
    float: left;
}

div.forum-smiles-line span.forum-smiles-item {
    display: block;
    float: left;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
	height: auto !important;
}

div.forum-smiles-line span.forum-smiles-item a {
    text-decoration: none;
    border: none;
    float: left;
    margin-right: 5px;
}

div.forum-smiles-line div.forum-smiles-item {
    float: left;
}

div.forum-smiles-corrected {
    overflow: hidden;
}

div.forum-reply-field-vote-question-title input {
    width: 80%;
}

div.forum-reply-field-vote-question {
    margin-bottom: 0.462em;
}

div.forum-reply-field-vote-question label {
    margin-left: 0.27em;
}

ol.forum-reply-field-vote-answers input {
    width: 60%;
}

ol.forum-reply-field-vote-answers li {
    margin-top: 0.462em;
}

div.forum-post-vote {
    margin-bottom: 0;
}

div.forum-post-vote ol.vote-items-list,
div.forum-post-vote ol.vote-items-list li {
    border: none;
}

div.forum-post-vote div.voting-form-box {
    border: none;
}

div.forum-post-vote ol.vote-items-list,
div.forum-post-vote ol.vote-items-list li {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 100%;
    list-style-type: none;
}

div.forum-post-vote ol.vote-items-list li.vote-question-item {
    padding-bottom: 0.55em;
}

div.forum-post-vote ol.vote-items-list ol {
    padding-left: 1em;
}

li.vote-question-item div.vote-item-question {
    font-weight: bold;
}

li.vote-answer-item {
    padding-bottom: 0.24em!important;
}

div.vote-answer-item {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    display: block;
    position: relative;
    text-align: left;
}

div.vote-answer-item-bar-inner {
    padding: 0;
    position: absolute;
    top: 0;
}

div.vote-answer-item-title-inner {
    width: 100%;
    padding-left: 0.55em;
    margin: 0;
    position: relative;
}

body.forum-popup-body {
    padding: 1.51em;
    font-size: 0.75em;
}

#forum-login-form-window {
    display: none;
    border: 1px solid #ccc;
    background: #fff;
    padding: 18px;
    z-index: 10000;
    position: absolute;
    top: 10%;
    left: 45%;
    width: 280px;
    color: #454545;
    box-shadow: #999 1px 1px 2px;
}

#forum-login-form-window table {
    width: 100% !important;
}

#forum-login-form-window table td {
    vertical-align: top;
}

#forum-login-form-window table input[type='text'],
#forum-login-form-window table input[type='password'] {
    line-height: 25px;
    height: 25px;
    width: 214px;
    margin: 6px 0 12px;
    padding-left: 6px;
    padding-right: 6px;
}

#forum-login-form-window label {
    width: 100% !important;
    display: block;
    font-size: 12px;
}

#forum-login-form-window input[type='checkbox'] {
    padding: 2px 0;
}

#forum-login-form-window input[type='submit'] {
    margin: 12px 0;
}

a.forum-new-message-marker {
    color: red!important;
    margin-left: 3px;
    text-decoration: none;
}

div.forum-error {
    color: red;
}

div.forum-note {
    color: green;
}

div.forum-legend-info div.forum-legend-item {
    float: left;
    width: 15em;
}

div.forum-legend-info div.forum-legend-item div.forum-icon {
    margin: 0;
}

div.forum-legend-info div.forum-legend-item div.forum-icon-container {
    float: left;
    width: auto;
    padding-right: 10px;
}

div.forum-legend-info div.forum-legend-item span {
    display: block;
    white-space: nowrap;
}

div.forum-main-footer div.forum-rapid-access-items {
    float: right;
    width: 500px;
    display: block;
    border: none;
    text-align: right
}

div.forum-main-footer div.forum-search-input {
    float: left;
}

div.forum-main-footer div.forum-rapid-access-items select.forum-selector-single {
    width: 450px;
    background: #fff;
}

div.forum-main-footer div.forum-legend-info {
    margin-right: 1em;
    display: block;
    border: none;
    overflow: hidden;
}

div.forum-first-post {
    margin-bottom: 1em;
}

.forum-rss-rss1,
.forum-rss-rss2,
.forum-rss-atom {
    background-repeat: no-repeat;
    width: 80px !important;
    height: 15px !important;
    display: block;
    margin: 0px 0px 0px 2px;
    padding: 0px;
    overflow: hidden;
    border: none;
    text-decoration: none;
    float: left;
}

.forum-rss-rss1 {
    background-image: url(../images/rss1.gif);
}

.forum-rss-rss2 {
    background-image: url(../images/rss2.gif);
}

.forum-rss-atom {
    background-image: url(../images/atom.gif);
}

div.forum-user-description {
    margin-top: 0.78em;
}

table.forum-forum-list-part {
    margin-bottom: 0;
}

form.forum-form {
    padding: 0;
    margin: 0;
}

form.forum-form input[type='text'] {
    padding: 3px 20px;
}

.bx-registration-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 12px;
}

.bx-registration-table thead td {
    background: url(/bitrix/templates/teko/images/bg_th.png) #009748 repeat-x 0 100%;
    padding: 6px 12px;
    color: #FFF;
}

.bx-registration-table thead td b {
    font-weight: normal;
}

.bx-registration-table td {
    background: #ebebeb;
    padding: 6px 12px;
    border-bottom: 1px solid #FFF;
}

.bx-registration-table input[type='text'],
.bx-registration-table input[type='password'] {
    line-height: 25px;
    height: 25px;
    padding-left: 6px;
    padding-right: 6px;
    width: 168px;
}

.bx-registration-table tfoot td {
    padding: 9px 0;
}

.bx-registration-table tfoot input[type='submit'] {
    position: relative;
    left: -50px;
}

.bx-auth-note {
    width: 376px;
    margin: 0 !important;
    background: url(/bitrix/templates/teko/images/bg_th.png) #009748 repeat-x 0 100%;
    padding: 6px 12px;
    color: #FFF;
    border-bottom: 1px solid #FFF;
}

.bx-auth-table {
    margin-top: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 12px;
    width: 400px;
}

.bx-auth-table td {
    background: #ebebeb;
    padding: 6px 12px !important;
    border-bottom: 1px solid #FFF;
}

.bx-auth-table input[type='text'],
.bx-auth-table input[type='password'] {
    line-height: 25px;
    height: 25px;
    padding-left: 6px;
    padding-right: 6px;
    width: 168px;
}

.bx-auth-table td.authorize-submit-cell {
    padding: 9px 12px !important;
}

.bx-forgotpass-table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 12px;
}

.bx-forgotpass-table thead td {
    background: url(/bitrix/templates/teko/images/bg_th.png) #009748 repeat-x 0 100%;
    padding: 6px 12px;
    color: #FFF;
}

.bx-forgotpass-table thead td b {
    font-weight: normal;
}

.bx-forgotpass-table td {
    background: #ebebeb;
    padding: 6px 12px;
    border-bottom: 1px solid #FFF;
}

.bx-forgotpass-table input[type='text'],
.bx-forgotpass-table input[type='password'] {
    line-height: 25px;
    height: 25px;
    padding-left: 6px;
    padding-right: 6px;
    width: 168px;
}

.bx-forgotpass-table tfoot td {
    padding: 9px 12px;
}

.forum-filter .forum-name {color: #4a4a4a; font-size: 20px; font-family: 'Ubuntu', Verdana, Geneva, sans-serif; font-weight: 400;}