/* Webrubik Custom CSS */

/* Webrubik Resume Box */
.wr-resume h3 {
    position: absolute;
    background-color: #000000ad;
    padding: 10px;
    margin-right: 20px !important;
    margin-top: -70px !important;
    border-radius: 10px;
    z-index: 999;
}

@media (max-width: 768px) {
    .wr-resume h3 {
        margin-right: 10px !important;
        margin-top: -45px !important;
    }
}

/* Webrubik Team Box */
article.wr-team {
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
    color: #333;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    font-size: 16px;
    border-radius: 5px;
}
article.wr-team * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
article.wr-team img {
    max-width: 100%;
    vertical-align: top;
    width: 100% !important;
    margin: auto;
}
article.wr-team .image {
    position: relative;
    border-bottom: 4px solid #26292e;
    z-index: 1;
}
article.wr-team .image:before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #26292e transparent transparent transparent;
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    -webkit-transform: translate(-50%, -15px);
    transform: translate(-50%, -15px);
    z-index: -1;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}
article.wr-team .image p {
    font-weight: 600;
    margin: 0;
    padding: 0 30px;
    line-height: 1.6em;
    position: absolute;
    top: 50%;
    width: 100%;
    color: #26292e;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    opacity: 0;
    cursor: default;
}
article.wr-team figcaption {
    background-color: #ffffff;
    padding: 25px;
}
article.wr-team .wr-team-title {
    font-style: normal;
    margin: 0 0 5px;
    text-transform: uppercase;
    font-weight: 400;
    cursor: default;
}
article.wr-team .wr-team-title span {
    font-weight: 800;
}
article.wr-team .wr-team-position {
    line-height: 35px;
    font-style: normal;
    margin: 0 0 15px;
    font-size: 16px;
    font-weight: 400;
    cursor: default;
}
article.wr-team i {
    margin-right: 5px;
    display: inline-block;
    font-size: 24px;
    color: #000000;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 5px;
}
article.wr-team i:hover {
    background-color: #26292e;
    color: white !important;
    border-radius: 5px;
}
article.wr-team:hover .image:before,
article.wr-team.hover .image:before {
    border-color: #26292e transparent transparent transparent;
    -webkit-transform: translate(-50%, 0px);
    transform: translate(-50%, 0px);
}
article.wr-team:hover .image p,
article.wr-team.hover .image p {
    opacity: 1;
}
article.wr-team:hover img,
article.wr-team.hover img {
    opacity: 0.2;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}
/* /Webrubik Team Box */

/* Webrubik Testimonial Carousel */
.elementor-testimonial__footer {
    z-index: 999;
    position: relative;
}
/* /Webrubik Testimonial Carousel */

/* Webrubik Cards */
.wr-post-card .elementor-post__read-more {
    color: #3E4044;
    float: left;
    margin-top: -8px;
    background-color: #ffbd43;
    padding: 4px 10px;
    border-radius: 7px;
    box-shadow: 0 0 3px #cecece;
    position: absolute;
    left: 30px;
}

.wr-post-card .elementor-post__read-more:hover {
    font-weight: 800;
    background-color: #ffc75e;
}

.wr-post-card .elementor-post-date {
    color: #3E4044;
    float: right;
    margin-top: -23px;
    background-color: #ffffff;
    padding: 6px 12px;
    border-radius: 7px;
    box-shadow: 0px 0px 3px #cecece;
}

.wr-post-card .elementor-post__title {    z-index: 9999;
    position: absolute;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    width: 80%;
    box-shadow: 0 0 5px #d0d0d0;
    margin-top: -60px !important;
}

@media (max-width: 768px) {
    .wr-post-card .elementor-post-date {
        display: none;
    }
}
/* /Webrubik Cards */

/* Webrubik Slider */
.elementor-slides .swiper-slide-bg {
	background-position: left center;
    opacity: 1;
    -webkit-transition: all 0.55s ease;
    transition: all 0.55s ease;
}

    @media (max-width: 768px) {
    .elementor-slides .swiper-slide-bg {
        opacity: 0.1;
        -webkit-transition: all 0.55s ease;
        transition: all 0.55s ease;
    }
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    z-index: 0;
}
/* /Webrubik Slider */

/* Webrubik Comments */
#comments .comment {
    border: 1px solid #dedede;
    padding: 10px 25px 10px 25px;
    border-radius: 10px;
}
#comments ol {
    list-style: none !important;
}

#comments .comment .comment-body {
    border: none;
}

#comments .comment .fn,
#comments .comment .says {
    vertical-align: top;
    line-height: 60px;
}

#comments .comment .avatar {
    width: 62px;
    border-radius: 15px;
}

#comments .comment time {
    font-size: 12px;
}

#comments .comment .edit-link {
    font-size: 12px;
    font-weight: bold;
}

#comments .comment .reply {
    font-size: 12px;
    font-weight: bold;
    padding: 10px 0;
}

@media screen and (max-width: 767px){
    #comments .comment {
        border: 1px solid #dedede;
        padding: 10px !important;
        border-radius: 10px;
    }

    #comments .comment .comment-body {
        border: none;
        padding: 0 !important;
    }

    #comments .comment .avatar {
        margin-right: 22px !important;
        width: 62px;
    }

    #comments .comment-meta {
        display: block;
        line-height: 37px;
    }
}
/* /Webrubik Comments */