@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css');

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px
}

@media(min-width:768px) {
    .section-sidebar .row .col-lg-3 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%
    }

    .section-sidebar .row .col-lg-9 {
        -ms-flex: 0 0 80%;
        flex: 0 0 80%;
        max-width: 80%
    }

    .row .col-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        padding: 0 15px
    }

    .col-7 {
        -ms-flex: 0 0 60%;
        flex: 0 0 60%;
        max-width: 60%;
        padding: 0 15px
    }

    .col-5 {
        -ms-flex: 0 0 40%;
        flex: 0 0 40%;
        max-width: 40%;
        padding: 0 15px
    }

    .col-2 {
        -ms-flex: 0 0 16.66667%;
        flex: 0 0 16.66667%;
        max-width: 16.66667%;
        padding: 0 15px
    }

    .col-4 {
        -ms-flex: 0 0 33.3333%;
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
        padding: 0 15px
    }

    .col-10 {
        -ms-flex: 0 0 83.33333%;
        flex: 0 0 83.33333%;
        max-width: 83.33333%;
        padding: 0 15px
    }
}

.section-sidebar .sidebar ul {
    margin: 0;
    padding: 0
}

.section-sidebar .sidebar ul li {
    list-style: none;
    margin-bottom: 15px
}

.section-sidebar .sidebar ul li label {
    color: #919191
}

.section-sidebar .sidebar h3 {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 20px
}

.custom-checkbox input {
    position: absolute;
    opacity: 0
}

.custom-checkbox input+label {
    position: relative;
    cursor: pointer;
    padding: 0
}

.custom-checkbox input+label:before {
    content: '';
    margin-right: 10px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    background: #f1f1f1;
    border: 1px solid #dedbdf
}

.custom-checkbox input:checked+label:before {
    background: var(--primary);
    border: 1px solid var(--primary)
}

.custom-checkbox input+label:after {
    content: '';
    position: absolute;
    left: 3px;
    top: 5px;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    height: 7px;
    width: 12px;
    z-index: 10;
    opacity: 0;
    transition: opacity .5s
}

.custom-checkbox input:checked+label:after {
    opacity: 1
}

.section-sidebar .main-content .post-ads {
    text-align: right
}

.section-sidebar .main-content .post-ads a {
    background: var(--primary);
    color: #fff;
    min-width: 190px;
    display: inline-block;
    text-align: center;
    padding: 10px;
    text-transform: uppercase
}

#ad-carousel .item {
    text-align: center
}

.adCarousel_wrap {
    padding: 0 50px
}

.post-ad-lists {
    padding: 30px 0 50px 0;
    border-top: 1px solid #eee;
    margin-top: 30px
}

.post-ad-lists h3 {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: .05rem
}

.ad-caption {
    background: var(--primary);
    color: #fff;
    padding: 10px;
    height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.ad-price-caption {
    background: #ffffff88;
    color: #000;
    padding: 10px;
    height: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    top: 0px;
    position: absolute;
    width: auto;
    font-weight: 550;
}

.featured-ad .row {
    margin: 0 -7px
}

.featured-ad .item {
    padding: 0 7px;
    text-align: center
}

@media(min-width:1025px) {
    .featured-ad .item {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%
    }
}

.featured-ad .item img {
    width: 100%
}

.featured-ad .add-item {
    margin-bottom: 14px
}

@media(min-width:768px) and (max-width:1024px) {
    .featured-ad .item {
        -ms-flex: 0 0 33.3333%;
        flex: 0 0 33.3333%;
        max-width: 33.3333%
    }
}

@media(min-width:360px) and (max-width:767px) {
    .featured-ad .item {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%
    }
}

.ad-image {
    line-height: 0
}

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    margin: 30px 0 0 0
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #919191;
    background-color: #eee;
    border: 1px solid #d5d1d4
}

.section-sidebar .select2-container {
    display: block;
    width: 100% !important
}

.section-sidebar .select2-container--default .select2-selection--single {
    border-radius: 0;
    height: 40px;
    background: #fff;
    border: 1px solid #dedede;
    width: 100%
}

.select-dropdown {
    margin-bottom: 25px
}

.section-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px
}

.section-sidebar .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px
}

.section-sidebar .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: transparent;
    height: 0;
    left: auto;
    margin-left: 0;
    margin-top: 0;
    border-width: 0;
    top: 40%;
    width: 0;
    height: 8px;
    width: 8px;
    border-bottom: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
    transform: rotate(45deg) translateY(-50%)
}

.advertisement h2,
.post-advertisement h2 {
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03rem;
    color: #000;
    margin-bottom: 40px
}

.advertisement h3 {
    font-size: 24px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: .03rem;
    font-weight: 500;
    margin-bottom: 30px
}

.advertisement p {
    font-size: 16px;
    color: #6d6e6e;
    line-height: 2rem;
    font-weight: 400
}

.content-right p {
    font-size: 14px;
    color: #6d6e6e;
    line-height: 24px;
    font-weight: 400
}

.advertisement,
.post-advertisement {
    padding-top: 75px
}

.advertisement .row {
    margin-top: 60px
}

.contractor-detail {
    margin-top: 40px
}

.contractor-detail ul {
    padding: 0;
    margin: 0
}

.contractor-detail ul li {
    list-style: none
}

.contractor-detail ul li:not(:last-child) {
    border-bottom: 2px solid #f5f5f5;
    margin-bottom: 24px
}

.contractor-detail ul li p {
    color: #000;
    font-size: 20px;
    line-height: 35px;
    letter-spacing: .03rem;
    font-weight: 500
}

.contractor-detail ul li span {
    color: rgba(0, 0, 0, 0.8);
    font-size: 16px;
    display: block
}

.advertisement-title {
    background: var(--primary);
    text-align: center;
    color: #fff;
    font-weight: 400;
    text-transform: uppercase;
    padding: 12px;
    font-size: 24px;
    margin-top: -7px
}

.post-advertisement-inner h3 {
    font-size: 20px;
    color: #000;
    font-weight: 500;
    margin-bottom: 25px
}

.post-advertisement-inner .inline-form {
    margin-top: 40px
}

.post-advertisement-inner>h3 {
    margin-left: 100px
}

.post-advertisement-inner-wrapper {
    border: 1px solid #ebebeb;
    padding: 30px 100px 80px 100px
}

.post-advertisement-inner-wrapper .form-group label {
    display: block;
    color: #757579;
    letter-spacing: .03rem;
    font-weight: 300;
    margin-bottom: 10px;
    font-size: 14px
}

.post-advertisement-inner-wrapper .form-group {
    margin-bottom: 35px
}

.post-advertisement-inner-wrapper .form-group strong {
    font-weight: 400
}

.post-advertisement-inner-wrapper .form-group .form-control {
    width: 100%;
    border: 1px solid #b2b2b2;
    height: 44px;
    border-radius: 0;
    padding: 5px 15px;
    font-weight: 300
}

.post-advertisement-inner-wrapper .form-group textarea.form-control {
    height: 86px;
    resize: none
}

.post-advertisement-inner-wrapper .submit {
    background: var(--primary);
    color: #fff;
    min-width: 250px;
    border: 0;
    border-radius: 0;
    min-height: 42px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: .03rem
}

.post-advertisement-inner-wrapper .form-group .custom-checkbox label {
    font-weight: 300
}

.post-advertisement-inner-wrapper .form-group .custom-checkbox label a {
    display: block;
    margin-left: 30px
}

.inputfile {
    width: .1px;
    height: .1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1
}

.inputfile+label {
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #757579;
    display: inline-block;
    letter-spacing: .03rem;
    padding: 7px 0;
    border-bottom: 1px solid rgba(237, 21, 59, 0.2)
}

.inputfile+label * {
    pointer-events: none;
    color: var(--primary)
}

.upload-files {
    margin: 30px 0
}

.input-file-container:last-child .inputfile+label {
    border-bottom: 1px solid rgba(237, 21, 59, 0)
}

.full-width-menu * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.full-width-menu {
    padding: 0 15px;
    background: #fff;
    border: 1px solid #dedede;
    box-shadow: 2px 1px 10px rgba(0, 0, 0, 0.16);
    min-height: 300px;
    /* max-height: 767px;
    overflow-y: auto; */
    max-width: 1180px;
    margin: 0 auto;
    /* margin-top: -80px; */
    margin-top: 0;
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
    top: 100%;
}

/* .full-width-menu {
    display: none !important;
}
.full-width-menu.show {
    display: block !important;
} */

.full-width-menu .row [class*="menu-col-"] {
    padding: 0 35px;
    min-height: 300px;
    padding-bottom: 35px
}

.full-width-menu .row [class*="menu-col-1"],
.full-width-menu .row [class*="menu-col-3"] {
    -ms-flex: 0 0 17%;
    flex: 0 0 17%;
    max-width: 17%
}

.full-width-menu .row [class*="menu-col-2"] {
    -ms-flex: 0 0 66%;
    flex: 0 0 66%;
    max-width: 66%
}

.full-width-menu .row [class*="menu-col-1"],
.full-width-menu .row [class*="menu-col-2"] {
    border-right: 1px solid #dedede
}

.full-width-menu .menu-list ul {
    margin: 0;
    padding: 0
}

.full-width-menu .menu-list h4 {
    color: #000;
    font-size: 12px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .03rem;
    margin-bottom: 25px;
    font-weight: 600 font-weight: 700
}

.full-width-menu .menu-list {
    margin-top: 50px
}

.full-width-menu .menu-list li {
    list-style: none;
    margin-bottom: 15px;
    line-height: 1
}

.full-width-menu .menu-list li a {
    /* color: #808080;
    font-size: 12px;
    font-weight: 300 */
    color: #333;
    font-size: 15px;
}

.full-width-menu .menu-list li a:hover {
    color: var(--primary)
}

.inner-row .inner-col-5 {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
    padding: 0 15px
}

.inner-row .inner-col-5-half {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%
}

.inner-row .inner-col-5 .image-block {
    margin-top: 50px;
    position: relative;
    overflow: hidden
}

.image-block-wrapper {
    overflow: hidden
}

.inner-row .inner-col-5 .image-block img {
    -webkit-transition: all 2s;
    transition: all 2s
}

.inner-col-5-half .image-title {
    position: absolute;
    z-index: 10;
    bottom: 50%;
    width: 100%;
    text-align: center;
    transform: translateY(50%)
}

.inner-col-5-half .image-title a {
    font-size: 31px;
    color: #808080;
    opacity: .2;
    -webkit-transition: all .5s;
    transition: all .5s
}

.inner-col-5-half .image-title a:hover,
.inner-col-5-half .image-block:hover .image-title a {
    color: var(--primary);
    opacity: .45
}

.inner-row .inner-col-5-half .row {
    margin: 0
}

.inner-row .inner-col-5-half .col-6 {
    padding: 0
}

.page-template-template-ads .owl-theme .owl-nav [class*=owl-] {
    color: rgb(64, 64, 64);
    margin: 0;
    padding: 5px 10px !important;
    font-size: 22px;
}

.page-template-template-ads .owl-theme .owl-nav [class*=owl-]:focus {
    outline: none;
}

.page-template-template-ads .owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
}

.page-template-template-ads .section-sidebar .select2-container {
    max-width: 190px;
}

#adsMegaMenu.full-width-menu .menu-list h4 {
    font-size: 12px;
    margin-bottom: 15px;
}

#adsMegaMenu.full-width-menu .menu-list li a {
    color: #333;
    font-size: 13px;
}

#adsMegaMenu.full-width-menu .menu-list li a:hover {
    color: #e81059;
}

.woocommerce-order-received .woocommerce table.shop_table thead tr th {
    text-align: right;
}

.woocommerce-wishlist .woocommerce .wishlist_table td.product-add-to-cart a {
    background: var(--primary);
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    min-width: 110px;
}

.woocommerce-wishlist .woocommerce .wishlist_table td.product-add-to-cart a:hover {
    background: #555;
}

@media (max-width: 768px) {
    .woocommerce-order-received .woocommerce table.shop_table {
        display: table;
    }

    .woocommerce-order-received .order_details thead {
        display: table;
    }

    .woocommerce-order-received .woocommerce table.shop_table tbody {
        display: table;
        width: 100%;
    }

    .woocommerce-order-received .order_details tfoot {
        display: table;
        width: 100%;
    }

    .woocommerce-order-received .order_details tfoot tr {
        display: table;
        width: 100%;
    }

    .woocommerce-order-received .woocommerce table.shop_table th {
        width: 50%;
    }

    .woocommerce-order-received .woocommerce table.shop_table tr .product-name {
        font-size: 14px;
        width: 50%;
    }

    .woocommerce table.wishlist_table thead {
        display: table;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .adCarousel_wrap {
        padding: 0;
    }

    .page-template-template-ads .block__elem .col-lg-9 {
        width: 100%;
    }

    .woocommerce-order-received .woocommerce ul.order_details li {
        width: 50%;
        margin-right: 0;
    }

    .page-template-template-ads .section-sidebar {
        padding-top: 30px;
    }

    .page-template-template-ads .block__elem .col-lg-3 {
        width: 100%;
        margin-bottom: 40px;
    }

    .section-sidebar .main-content .post-ads {
        text-align: left;
    }

    .woocommerce table.wishlist_table {
        min-width: 600px;
    }

    .woocommerce-wishlist .entry-content form.woocommerce {
        overflow-x: auto;
    }

    .full-width-menu .row [class*="menu-col-1"],
    .full-width-menu .row [class*="menu-col-3"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .full-width-menu .row [class*="menu-col-2"] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .full-width-menu .inner-row .inner-col-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .full-width-menu .inner-row .inner-col-5-half {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) and (min-width: 360px) {
    .featured-ad .item {
        flex: none;
    }
}

.ad-caption,
.featured-ad .ad-caption {
    font-size: 14px;
    line-height: 1.2;
}

@media (max-width:767px) {
    .ad-caption,
    .featured-ad .ad-caption {
        font-size: 12px;
        height: 58px;
    }
}
