/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */


/* CUSTOMIZE */
@font-face {
    font-family: 'shabnam';
    src: url('./fonts/shabnam/Shabnam-Thin-FD.woff2') format('woff2'),
         url('./fonts/shabnam/Shabnam-Thin-FD.ttf') format('truetype');
        font-display: swap;
        font-weight: 100;
  }
  @font-face {
    font-family: 'shabnam';
    src: url('./fonts/shabnam/Shabnam-Medium-FD.woff2') format('woff2'),
         url('./fonts/shabnam/Shabnam-Medium-FD.ttf') format('truetype');
        font-display: swap;
        font-weight: 400;
  }
  @font-face {
    font-family: 'shabnam';
    src: url('./fonts/shabnam/Shabnam-Bold-FD.woff2') format('woff2'),
         url('./fonts/shabnam/Shabnam-Bold-FD.ttf') format('truetype');
        font-display: swap;
        font-weight: 700;
  }
  a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video,*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'shabnam';
  }
  a:focus{
    outline: 0px !important;
  }
  .text-blue{
    color: #13aff0;
  }
  body{
    direction: rtl;
    font-family: 'shabnam' !important;
  }
  html,.elementor-kit-6{
    --e-global-typography-primary-font-family: 'shabnam' !important;
    --e-global-typography-secondary-font-family: 'shabnam' !important;
    --e-global-typography-accent-font-family: 'shabnam' !important;
  }
  /* #region common */
  .mb-2{margin-bottom: 0.5rem;}
  .underline.underline{text-decoration: underline;}
  /* #endregion common */
  /* #region header */
  #site-navigation-wrap .dropdown-menu>li{
    float: right;
  }
  /* #endregion header*/
  #site-logo{
    width: 100px;
  }
  #main{
    clear: both;
  } 
  #top-bar{
    display: none;
  }
  .top-bar-left{
    float: right;
  }
  .menu-link{
    padding: 8px 12px;
    margin: 0 10px;
  }
  #n2-ss-2{
    direction: ltr;
  }
  .intro-article-title{
    padding-top: 40px;
  }
  .intro-articles .eael-grid-post-holder{
    position: relative;
  }
  .intro-articles .eael-entry-wrapper{
    position: absolute;
    bottom: 0;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    height: 65px;
    display: flex;
    align-items: center;
    width: 100%;
  }
  .intro-articles .eael-entry-wrapper .eael-grid-post-link{
    color: white !important;
  }
  .intro-articles .elementor-element.elementor-grid-eael-col-4 .eael-grid-post{
    float: right;
  }
  .intro-articles .elementor-element.elementor-grid-eael-col-4 .eael-grid-post:nth-of-type(4n + 1){
    clear: both;
  }
  .intro-articles .eael-grid-post .eael-entry-wrapper{
    padding: 0 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .intro-articles .eael-entry-thumbnail img{
    max-height: 240px;
  }
  .my-portfolio img{
    min-height: 200px;
    max-height: 200px;
    object-fit: contain;
  }
  .footer-box .eael-entry-media{
    width: 50%;
  }
  .footer-box .eael-entry-wrapper{
    padding-top: 5px;
    font-size: 14px;
  }
  footer .eael-grid-post-holder{
    background-color: transparent !important;
    border: none !important
  }
  footer .eael-grid-post .eael-entry-wrapper{
    padding: 5px 15px !important;
  }
  footer .eael-post-grid-container .eael-post-grid .eael-grid-post{
    padding: 3px 10px !important;
  }
  #footer-widgets{
    padding-bottom: 0;
  }
  .mobile-menu.opened .fa-bars::before{
    content: "\f00d";
  }
  .elementor-widget-image-box .elementor-image-box-title,
  .elementor-widget-heading .elementor-heading-title{
    color: #075576;
  }
  footer{
    margin-top: 30px;
  }
  footer .elementor-widget-image-box .elementor-image-box-title,
  footer .elementor-widget-heading .elementor-heading-title{
    color: #90deff;
  }
  .portfolio-section .elementor-swiper-button i{
    background: #777777;
    border-radius: 50%;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
  }
  .portfolio-section .elementor-element .swiper .elementor-swiper-button-prev i::before,
  .portfolio-section .elementor-element .swiper .elementor-swiper-button-next i::before{
    display: block;
    transform: translateX(2px);
  }
  .portfolio-section .elementor-element .swiper .elementor-swiper-button-prev i::before{
    transform: translateX(-2px);
  }
  .portfolio-section .elementor img{
    aspect-ratio: 4 / 2;
    object-fit: contain;
  }
  .portfolio-section .elementor-element .swiper .elementor-swiper-button-next{
    right: -20px;
  }
  .portfolio-section .elementor-element .swiper .elementor-swiper-button-prev{
    left: -20px;
  }
  .elementor-15 .elementor-element.elementor-element .resume-timeline .wpr-wrapper .wpr-description p{
    text-align: justify;
  }
  .elementor-heading-title{
    font-family: 'shabnam' !important;
  }
  .sf-menu ul.sub-menu ul{
    left: unset;
    right: 100%;
  }
  .dropdown-menu ul li a.menu-link{
    text-align: right;
  }
  .dropdown-menu ul li a.menu-link .nav-arrow{
    left: 15px;
    right: unset;
    transform: scaleX(-1);
  }
  .text-left{
    text-align: left;
    direction: ltr;
  }
  .pr-4{
    padding-right: 1.5rem;
  }
  .pr-5{
    padding-right: 3rem;
  }
  /* #region post-content */
  .site-content .thumbnail{
    display: none;
  }
  .single .post-tags{
    direction: ltr;
  }
  .meta.ospm-default .meta-date,
  .meta.ospm-default .meta-comments,
  .meta.ospm-default .meta-author{
    display: none;
  }
  .single-post ul.meta li i{
    padding-right: 0;
    padding-left: 10px;
  }
  .nav-previous>a>span.title,
  .nav-next>a>span.title{
    font-size: 0;
  }
  .nav-next>a>span.title::after{
    content: 'مقاله بعدی';
    font-size: 1.2rem;
  }
  .nav-previous>a>span.title::after{
    content: 'مقاله قبلی';
    font-size: 1.2rem;
  }
  .single nav.post-navigation .nav-previous{
    float: right;
    text-align: right;
  }
  .single nav.post-navigation .nav-next{
    float: left;
    text-align: left;
  }
  .single nav.post-navigation .nav-next i, .single nav.post-navigation .nav-next .owp-icon{
    float: left;
    transform: scaleX(-1);
    padding-left: 5px;
  }
  .single nav.post-navigation .nav-previous i, .single nav.post-navigation .nav-previous .owp-icon{
    float: right;
    padding-right: 5px;
    transform: scaleX(-1);
  }
  /* #endregion post-content */
  @media only screen and (max-width: 992px){
    .resume-counter .elementor-counter .elementor-counter-title{
      line-height: 0.6;
      margin-bottom: 2.5rem;
    }
    .elementor-15 .resume-timeline .wpr-extra-label{
      display: none !important;
    }
    .elementor-15 .elementor-element.elementor-element .resume-timeline .wpr-timeline-centered .wpr-timeline-entry{
      margin-bottom: 0;
      width: 94%;
      float: right;
    }
    .elementor-15 .elementor-element.elementor-element .resume-timeline .wpr-timeline-centered.wpr-one-sided-timeline .wpr-right-aligned .wpr-icon{
      right: 87%;
      left: unset;
    }
  }