/* Webrubik Custom CSS */

/* Webrubik Resume Box */
article.wr-resume {
    font-family: 'Vazir';
    height: 350px;
    position: relative;
    overflow: hidden;
    background-color: #202224;
    background-position: center center;
    background-size: cover;
    border-radius: 5px;
    border: 1px solid #282c31;
}
article.wr-resume *,
article.wr-resume *:before,
article.wr-resume *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.55s ease;
    transition: all 0.55s ease;
}
article.wr-resume img {
    max-width: 100%;
    backface-visibility: hidden;
    vertical-align: top;
    opacity: 0.9;
}
article.wr-resume .title {
    position: absolute;
    top: 70%;
    right: 25px;
    padding: 5px 10px 10px;
}
article.wr-resume .title:before,
article.wr-resume .title:after {
    height: 2px;
    width: 400px;
    position: absolute;
    content: '';
    background-color: rgba(19 ,19 ,19 , .9);
}
article.wr-resume .title:before {
    top: 0;
    right: 20px;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}
article.wr-resume .title:after {
    bottom: 20px;
    left: 20px;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}
article.wr-resume .title div:before,
article.wr-resume .title div:after {
    width: 2px;
    height: 300px;
    position: absolute;
    content: '';
    background-color: rgba(19 ,19 ,19 , .9);
}
article.wr-resume .title div:before {
    top: 10px;
    left: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
}
article.wr-resume .title div:after {
    bottom: 30px;
    right: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}
article.wr-resume .wr-resume-title {
    margin: 0;
    text-transform: uppercase;
}
article.wr-resume .wr-resume-title {
    display: block;
    font-weight: 700;
    background-color: rgb(17, 17, 17, 0.9);
    padding: 10px 15px;
    border-radius: 5px;
    color: #ececec;
    box-shadow: 0 0 3px #9c9c9c;
}
article.wr-resume h2 {
    font-size: 20px;
}
article.wr-resume figcaption {
    position: absolute;
    bottom: 42%;
    right: 25px;
    opacity: 0;
    padding: 5px 10px 5px 60px;
    margin-bottom: -36px !important;
    font-size: 0.8em;
    font-weight: bold;
    font-style: normal;
    background-color: rgba(19 ,19 ,19 , .9);
    box-shadow: -1px 1px 3px #353333;
    z-index: 1;
}
article.wr-resume figcaption p {
    color: #ececec !important;
    font-weight: bold !important;
    margin: 0;
}
article.wr-resume a {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
article.wr-resume:hover,
article.wr-resume.hover {
    zoom: 1;
    filter: alpha(opacity=90);
    -webkit-opacity: 0.9;
    opacity: 0.9;
}
article.wr-resume:hover .title:before,
article.wr-resume.hover .title:before,
article.wr-resume:hover .title:after,
article.wr-resume.hover .title:after,
article.wr-resume:hover .title div:before,
article.wr-resume.hover .title div:before,
article.wr-resume:hover .title div:after,
article.wr-resume.hover .title div:after {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
article.wr-resume:hover .title:before,
article.wr-resume.hover .title:before,
article.wr-resume:hover .title:after,
article.wr-resume.hover .title:after {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
    background-color: rgb(17, 17, 17, 0.9);
}
article.wr-resume:hover figcaption,
article.wr-resume.hover figcaption {
    opacity: 1;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
/* /Webrubik Resume Box */

/* Webrubik Team Box */
article.wr-team {
    font-family: 'Vazir';
    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: auto !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;
    font-weight: 600;
    float: left;
    margin-top: -8px;
    background-color: #ffbd43;
    padding: 4px 10px;
    border-radius: 7px;
    box-shadow: 0px 0px 3px #cecece;
}
.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: relative;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    box-shadow: 0 0 5px #d0d0d0;
}
/* /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.15;
        -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 Navbar */
.elementor-nav-menu--dropdown.elementor-nav-menu__container {
	width: 340px !important;
    border-radius: 10px;
    right: -298px !important;
}

@media (max-width: 360px) {
	.elementor-nav-menu--dropdown.elementor-nav-menu__container {
		/*width: 200px !important;
    	right: -158px !important;*/
	}
}

/* Webrubik Comments */
#comments .comment {
    border: 1px solid #dedede;
    padding: 10px 55px 10px 30px;
    border-radius: 10px;
}

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

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

@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 */