/*
 * Copyright (c) 2017.
 * Created by PhpStorm.
 * User: FleXer
 *
 */

@font-face {
    font-family: "MyriadPro Light";
    src: url(/fonts/MyriadPro-Light.woff), url(/fonts/MyriadPro-Light.otf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: MyriadPro;
    src: url(/fonts/MyriadPro-Regular.woff), url(/fonts/MyriadPro-Regular.otf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "MyriadPro BoldCond";
    src: url(/fonts/MyriadPro-BoldCond.woff), url(/fonts/MyriadPro-BoldCond.otf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "MyriadPro Semibold";
    src: url(/fonts/MyriadPro-Semibold.woff), url(/fonts/MyriadPro-Semibold.otf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "MyriadPro Bold";
    src: url(/fonts/MyriadPro-Bold.woff), url(/fonts/MyriadPro-Bold.otf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Ebrima Bold";
    src: url(/fonts/ebrimabd.ttf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Ebrima";
    src: url(/fonts/ebrima.ttf);
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Roboto";
    src: url(/fonts/Roboto-Bold.ttf);
    font-weight: bold;
    font-style: normal;
}


body{
    margin: 0;
    padding: 0;
    font:14px 'Ebrima', Arial, Helvetica, sans-serif;
    background: #f9f9f9;
}

p {
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
}
.content-main {
    position: relative;
}

.header-qa{
    text-align: center;
    background-image: url(/img/backqa.png);
    background-size: cover;
    position: absolute;
    z-index: 4;
    width: 100%;
    min-height: 800px;
}
.header-qa h1 {
    margin-bottom: 17px;
    font-family: MyriadPro;
    position: relative;
    z-index: 6;
    line-height: normal;
    margin-top: 80px;
    color: #181818;
    font-weight: normal;
    font-size: 59px;
}
.header-qa p {
    font-size: 20px;
    color: #868686;
    line-height: 24px;
    margin: 14px 0;
    font-family: MyriadPro;
}
.header-qa .search-qa {
    height: 42px;
    width: 562px;
    background: white;
    padding-left: 18px;
    outline: none;
    border: none;
    border-radius: 3px;
    box-shadow: 0px 0px 1px #afafaf;
}
.header-qa .zmdi-search {
    position: absolute;
    right: 40px;
    margin-top: 10px;
    color: #8e918e;
    font-size: 25px;
    cursor: pointer;
}
.content-wrapper {
    margin: 0px auto;
    box-shadow: 0 1px 5px 1px #e9ecec;
    background: white;
    z-index: 10;
    position: relative;
    width: 1110px;
}
.nfblock{
    display:none;
}
.rightSideBlock{
    width: 30%;
    padding-left: 50px;
    z-index: 33;
}
.btnAsk{
    background: #3ab1e8;
    font-weight: 700;
    width: 260px;
    color: #fff;
    text-align: center;
    display: block;
    margin: 0;
    padding: 12px 0px;
    font-size: 17px;
    border-bottom: 4px solid #36a5d8;
    text-transform: uppercase;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-transition: all ease-in-out 0.5s;
    -webkit-transition: all ease-in-out 0.1s;
    -o-transition: all ease-in-out 0.5s;
    -ms-transition: all ease-in-out 0.5s;
    transition: all ease-in-out 0.1s;
    transform: scale(1);
    cursor:pointer;
    letter-spacing: 0.5px;
}
.btnAsk:hover{
    background: #36a5d8;
    -moz-transition: all ease-in-out 0.2s;
    -webkit-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    -ms-transition: all ease-in-out 0.2s;
    transition: all ease-in-out 0.2s;
}
.btnAsk:active{
    transform: scale(0.9);
}
.contentBlock{
    width: 60%;
    padding-right: 50px;
}
.content-row{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 50px;
}
.postsBlock {
    list-style: none;
    padding-left:0;
    margin-left:0;
}
.singlePost{
    border-bottom: 1px solid #e3e5e5;
    padding: 17px 0;
    width: 100%;
}

.titlePost{
    text-decoration: none;
    font-weight: 700;
    line-height: normal;
    color: #353635;
    font-size: 24px;
    display: block;
}
.descPost{
    padding-top: 15px;
    color: #716e6e;
    padding-left: 80px;
}
.filterBlock{
    margin-top: 40px;
    font-size: 16px;
}
.search-results {
    width: 220px;
    display: block;
    font-size: 18px;
    color: #353635;
    margin: 15px 0 10px;
    font-weight: bold;
}

.searchResult{
    position: absolute;
    background-color: #fff;
    margin: auto;
    margin-top: 6px;
    z-index: 99;
    box-shadow: 0px 0px 2px #8c8c8c;
    text-align: left;
    width: 100%;
    overflow: hidden;
    transition:0.5s;
    left: 0;
}
.searchResult hr{
    border: 0;
    height: 0px;
    border-bottom: solid 1px #e8e8e8;
    padding: 0;
    margin: 2px 0;
}
.searchResult .titleRes{
    color: #000;
    font-weight: bold;
    font-size: 15px;
}
.searchResult .descRes{
    color: #696969;
    font-size: 14px;
    padding-top: 3px;
}
.searchResult .showAllRes{
    color: #000;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
    font-size: 15px;
}
.searchResult a{
    width: 100%;
    display: table;
    padding: 4px 0px 5px 8px;
    margin-left: 0px;
}
.searchResult a:hover{
    background-color: #f7f7f7;
}

.search-block {
    width: 69%;
    display: block;
    padding: 0px 15px;
    margin: 40px auto;
    border: none;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    height: 50px;
    box-shadow: 0 1px 5px 1px #e9ecec;
    position: relative;
}

input.search-qa {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 17px;
    height: 43px;
    padding: 2px 4px 0;
    font-family: 'Ebrima';.postsBlock
}

input.search-qa::-webkit-input-placeholder{
    font-style: italic;
    color: #afafaf;
}

.search-button{
    display: block;
    position: absolute;
    top: 11px;
    right: 10px;
    width: 27px;
    height: 27px;
    background: url(/img/help-search-icon-2.png) 0 0 no-repeat;
    cursor: pointer;
}
.filterBlock h2{
    display:none;
}
ul.filter-list {
    list-style: none;
    padding: 0 0 0 20px;
}

ul.filter-list li {
    padding: 9px 0;
}

ul.filter-list li a {
    text-decoration: none;
    color: #282828;
}

ul.filter-list li.hot a {
    color: #f55c42;
    font-weight: bold;
    letter-spacing: 1px;
}

.categoriesBlock h2 {
    font-size: 17px !important;
    font-weight: bold;
    color: #282828;
    margin: 0 0 30px;
    position: relative;
}

.mob-filters h2::after {
    display: none;
    content: '';
    position: absolute;
    top: 22px;
    right: 11px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid black;
}

.categoriesBlock {
    margin-top: 32px;
    position: relative;
}

.categoriesBlock ul {
    list-style: none;
    padding: 0 20px;
    display: block;
}

.categoriesBlock ul li {
    padding-bottom: 20px;
    font-size: 16px;
    position:relative;
}

.categoriesBlock ul li a {
    color: #282828;
    text-decoration: none;
}
.categoriesBlock ul li::before{
    content: "";
    width:1px;
    height:1px;
    border-radius:3px;
    background: #666;
    padding: 1.5px;
    display:block;
    position:absolute;
    top: 9px;
    left: -13px;
}

.postsBlock .postHead {
    display: flex;
    width: 100%;
    position: relative;
}

.postsBlock .count-answers {
    background: #3b4786;
    color: #fff;
    float: left;
    min-width: 60px;
    height: 60px;
    text-align: center;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

.postsBlock .count-answers p.count-data {
    font-size: 24px;
    line-height: 21px;
    display: block;
    margin-top: 8px;
}

.postsBlock .count-answers p.count-pad {
    font-size: 13px;
    margin-top: -2px;
    display: block;
}

.postsBlock .title-post-block {
    padding-left: 20px;
    width: calc(90% - 60px);
}

.postsBlock .title-post-block .post-meta {
    display: flex;
    padding-top: 4px;
}

.postsBlock .title-post-block .post-meta .meta-when {
    color: #b7b7b7;
    font-size: 15px;
}

.postsBlock .title-post-block .post-meta .when-pad {
    font-size: 11px;
}

.postsBlock .title-post-block .post-meta .meta-where {
    padding-left: 5px;
    font-size: 15px;
}

.postsBlock .title-post-block .post-meta .category-link {
    color: #525252;
}

.postsBlock .title-post-block .post-meta .where-pad {
    color: #b7b7b7;
    font-size: 15px;
}

.postsBlock .title-post-block .post-meta .meta-who {
    padding-left: 20px;
    color: #3ab1e8;
    position: relative;
    font-size: 15px;
}

.postsBlock .title-post-block .post-meta .meta-who::before {
    position: absolute;
    content: '';
    top: 9px;
    left: 8px;
    padding: 2px;
    border-radius: 2px;
    background:  #c1c1c1;
}

.postsBlock .post-votes {
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    height: 40px;
}

.postsBlock .post-votes .count-data {
    position: absolute;
    top: 4px;
    left: 0;
    font-size: 21px;
    color: #cfcfcf;
    text-align: right;
    width: 21px;
}

.postsBlock .post-votes .count-plus {
    position: absolute;
    top: 5px;
    left: 30px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 13px solid #78cb76;
    cursor: pointer;
}

.postsBlock .post-votes .count-minus {
    position: absolute;
    top: 22px;
    left: 30px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 13px solid #c6496a;
    cursor: pointer;
}

.postsBlock .postTags .tags-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.postsBlock .postTags {
    padding-left: 80px;
    padding-top: 25px;
}

.postsBlock .postTags .tags-list .tag-item {
    display: inline-block;
    margin: 0 10px 10px 0;
}

.postsBlock .postTags .tags-list .tag-item .tag-link {
    background: #f0f0f0;
    color: #2f2f2f;
    font-size: 14px;
    padding: 6px 22px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 15px;
    line-height: 20px;
    display: inline-block;
}

.postsBlock .postTags .tags-list .tag-item .tag-link:hover{
    background: #e9b21e;
    color: white;
}
.count-zero {
    background: #cfcfcf !important;
}
.go-back {
    width: 220px;
    color: #3ab1e8;
    display: block;
    font-size: 16px;
}
.count-plus.disable {
    border-bottom-color: #d8d8d8 !important;
}
.count-minus.disable {
    border-top-color: #d8d8d8 !important;
}

.pagination {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 13px 0 0;
}

.pag-item {
    padding-left: 20px;
}

.pag-item a {
    color: #939292;
    font-size: 15px;
}

.pag-item.next {padding-right: 15px;}

.pag-item.prev a, .pag-item.next a {
    color: #5fbceb;
    display:block;
    position: relative;
}
.pag-item.prev a::before{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-right: 7px solid #3ab1e8;
    border-bottom: 5px solid transparent;
    top: 6px;
    left: -14px;
}

.pag-item.next a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 7px solid #3ab1e8;
    border-bottom: 5px solid transparent;
    top: 6px;
    right: -14px;
}
.pag-item.active a{
    color: #000000;
    font-weight: bold;
}
.qa_image{
    width: 89%;
    height: 200px;
    margin: 15px 0 0 80px;
    background-size: 100%;
    background-position: 50%;
}

.btnAsk-mobile{
    display: none;
    background: #3ab1e8;
    font-weight: 700;
    letter-spacing: 2px;
    width: 60px;
    border-radius: 30px;
    font-size: 17px;
    padding: 19px 0;
    color: #fff;
    text-align: center;
    position: fixed;
    bottom: 20px;
    z-index: 10000;
    right: 20px;
    box-shadow: 0 0 14px 0 rgba(0, 0, 0, 0.51);
}

.postHead .count-answers::after {
    display: none;
    content: '';
    position: absolute;
    top: 46px;
    right: 0;
    border-right: 10px solid transparent;
    border-top: 9px solid #799ce3;
}
.postHead .count-zero::after {
    display: none;
    content: '';
    position: absolute;
    top: 46px;
    right: 0;
    border-right: 10px solid transparent;
    border-top: 9px solid #a1a1a1;
}
.filter-list > li.active{
    font-weight: bold;
    position: relative;
}
.filter-list > li.active:before{
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-left: 6px solid #a3a3a3;
    border-bottom: 4px solid transparent;
    top: 17px;
    left: -12px;
}
.go-back-tag{
    display: none;
}

#envelope{
    display: none!important;
}
.message div {
    max-width: 100% !important;
    width:100%;
}
@media(max-width: 1110px) {

    .content-wrapper {
        width: 100%;
    }
}

@media(max-width: 1000px) {
    .content-wrapper{
        background: #f9f9f9;
    }
    .content-row {
        background: #f9f9f9;
    }

    .btnAsk {
        display: none;
    }

    .btnAsk-mobile {
        display: block;
    }

    .search-block {
        width: 100%;
        margin: 40px 50px 0;
        background: white;
    }

    .rightSideBlock{
        width: 100%;
        padding-left: 0;
        display: flex;
        margin: 0 50px;
    }
    .filterBlock {
        width:50%;
        margin-top: 32px;
        margin-right: 10px;
        position: relative;
    }
    .filterBlock h2{
        display:block;
    }
    .categoriesBlock {
        width:50%;
        margin-left: 10px;
    }
    .mob-filters h2 {
        font-size: 18px !important;
        font-weight: normal;
        margin: 0 0 30px;
        box-shadow: 0 1px 5px 1px #e9ecec;
        padding: 11px 0 11px 25px;
        background: white;
        color: #282828;
    }

    .mob-filters h2::after {
        display: block;
    }

    .mob-filters ul {
        display: none;
        position: absolute;
        z-index: 1;
        top: 30px;
        width: 100%;
        padding: 0;
    }

    .mob-filters ul.active{
        padding: 0;
        z-index: 1000;
        box-shadow: 0 1px 5px 1px #e9ecec;
        display: block;
    }
    .mob-filters ul li{
        background: white;
        padding: 13px 25px;
    }

    .mob-filters ul li::before {
        display: none;
    }

    .contentBlock {
        width: 100%;
        padding-right: 0;
        z-index: 30;
    }

    .postsBlock {
        margin: 0 50px;
        background: white;
        box-shadow: 0 1px 5px 1px #e9ecec;
        padding: 0 20px 20px;
    }

    .postsBlock .post-votes {
        display: none;
    }

    .postsBlock .count-answers {
        background: #3b4786;
        color: #fff;
        min-width: 60px;
        height: 46px;
        position: absolute;
        top: 7px;
        right: -30px;
        border-radius: 0;
    }

    .postsBlock .count-answers p.count-data {
        font-size: 23px;
        margin-top: 6px;

    }

    .postsBlock .count-answers p.count-pad {
        font-size: 11px;
    }

    .postHead .count-answers::after {
        display: block;
    }
    .singlePost {
        width: 100%;
        padding: 25px 0;
    }
    .postsBlock .title-post-block{
        width: 90%;
        padding-left: 0;
    }
    .qa_image{
        width: 100%;
        margin: 15px 0;
    }
    .postsBlock .postTags{
        padding: 15px 0 0 0;
    }
    .pagination{
        justify-content: center;
    }
    .go-back{
        display: none;
    }
    .searchResult{
        display: none;
    }
    .go-back-tag {
        color: #7f8284;
        background: #f4f6f7;
        width: calc(100% - 75px);
        padding: 15px 0 15px 75px;
        position: relative;
        display: block;
        font-size: 16px;
    }
    .go-back-tag::before {
        content: '';
        position: absolute;
        width: 8px;
        height: 12px;
        background: url(/img/arrow-left-qa.png);
        background-size: cover;
        background-repeat: no-repeat;
        top: 21px;
        left: 53px;
        display: block;
    }
}
@media(max-width: 800px) {
    .qa-item img{
        width:100%!important;
        height:auto!important;
    }
}
@media(max-width: 500px) {
    .search-block {
        width: 100%;
        margin: 20px 20px 0;
        height: 44px;
    }
    input.search-qa{
        height: 36px;
    }
    .search-button{
        top: 7px;
    }
    .mob-filters {
        margin-top: 15px;
    }
    .mob-filters h2{
        margin: 0 0 15px;
        font-size: 17px !important;
    }
    .mob-filters ul{
        top:31px
    }
    .postsBlock {
        margin: 0 20px;
    }
    .rightSideBlock{
        margin: 0 20px;
    }
    .postsBlock .title-post-block .post-meta{
        flex-wrap: wrap;
    }
    .titlePost{
        font-size: 21px;
    }
    .go-back-tag {
        width: calc(100% - 45px);
        padding: 15px 0 15px 45px;
    }
    .go-back-tag::before{
        left: 23px;
    }
}
@media(max-width: 420px) {
    .mob-filters {
        width: 100%;
        margin: 0;
    }
    .rightSideBlock{
        flex-wrap: wrap;
        margin: 15px 20px 0;
    }
}