/*
Theme Name: وکیل خانواده
Theme URI: https://#.net/
Author: Majid seyedmiri
Author URI: https://seyedmiri.com/
Description: this in exclusive for Majid Seyedmiri
Version: 1.0
*/

/*********************
START: GENERAL STYLES
*********************/
html {
  scroll-behavior: smooth;
  font-size: 100%;
  font-feature-settings: "ss01" 1, "salt" 1;
}
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

:root {
  --direction: rtl;
  --container: 1320px;
  --font-family: PeydaWeb;
  --font-family-pn: PeydaWebFaNum;
  --primary-color: #29b189;
  --secondary-color: #f5f6fb;
  --text-color: #000;
  --text-color2: #305559bb;
  --text-color3: #333;
  --border-color: #c4bcbc;
  --background-color: #29b18816;
  --white: #ffffff;
  --h1-size: 3.4rem;
  --h2-size: 2.5rem;
  --h3-size: 1.5rem;
  --text-size: 1rem;
  --text-size2: 0.9rem;
  --text-size3: 0.8rem;
  --line-height: 200%;
  --line-height2: 120%;
  --gap: 4rem;
  --border-radius: 10px;
  --border-radius2: 40px;
  --box-shadow: 0 2px 0 0 rgba(169, 183, 190, 0.15);
}
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  direction: var(--direction);
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr var(--container) 1fr;
  grid-template-areas: ". content .";
}

.container > * {
  grid-area: content;
}

.bgCorner {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 0;
  opacity: 0.07;
  width: 790px;
  height: auto;
  z-index: -1;
}

.bgSide {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  opacity: 0.07;
  width: 450px;
  height: auto;
  z-index: -1;
}

.searchicons {
	width: 30px;
	height: 30px;
	border-radius: 50px;
	border: 2px solid #ddd;
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	margin-left: 5px;
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	transition: width ease .2s;
	    z-index: 10;

}

.searchicons.open {
	width: 200px;
}

.searchicons input {
	width: 150px;
	height: 25px;
	background: transparent;
	border: none;
	padding: 0 10px;
	font-size: var(--text-size);
  font-family: var(--font-family);
	color: var(--text-color);
	outline: none;
}
.searchicons img {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: auto;
    opacity: .4;
    cursor: pointer;
}
/*********************
END: GENERAL STYLES
*********************/
/*********************
START: MOBILE MENU STYLES
*********************/
div.darkPage {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 198;
  background: rgba(0, 0, 0, 0.6);
  visibility: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all linear 0.4s;
  transition: all linear 0.4s;
}

div.darkPage.vis {
  visibility: visible;
}

nav.sideNav {
  display: none;
}

/*********************
END: MOBILE MENU STYLES
*********************/
/*********************
END: HEADER STYLES
*********************/
header {
  margin: 0;
  padding: 0;
  width: 100%;
  z-index: 10;
  position: relative;
}
.header-right {
  position: relative;
  z-index: 11;
  padding: 10px 20px;
  background-color: var(--primary-color);
}
.header-right a {
  display: flex;
  align-items: center;
}
.but-top span {
  font-weight: bold;
}
.but-top b {
  font-size: 0.6rem;
  color: var(--white);
}
.but-top .num {
  display: flex;
  align-items: center;
  direction: ltr;
  margin-inline-end: 10px;
  font-family: var(--font-family-pn);
}
.but-top .num .city {
  font-size: var(--text-size3);
  margin-inline-end: 5px;
}
.under-logo {
  display: flex;
  flex-direction: row-reverse;
}
img.logo {
  width: 30%;
  min-width: 80px;
}
.s-header {
  margin-block-start: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding-block-end: 10px;
}
.s-header::after {
  content: "";
  width: 100%;
  height: 1px;
  background: linear-gradient(
    270deg,
    var(--border-color) 0%,
    rgba(102, 102, 102, 0) 100%
  );
  position: absolute;
  bottom: 0;
  right: 0;
}
.top-header {
  display: flex;
  align-items: center;
  margin-block-start: 5px;
  font-size: var(--text-size3);
  color: var(--text-color);
  justify-content: space-between;
}
.top-header .right-top-header {
  display: flex;
  align-items: center;
}

.header-left {
  width: 90%;
  height: 100%;
}
.header-left .top-header-left {
  display: flex;
  justify-content: space-between;
  padding-inline: 15px;
  height: 100%;
}
nav.desktopview {
  display: flex;
	align-items:center;
}
nav.desktopview ul {
  width: fit-content;
  display: flex;
  align-items: center;
}

nav.desktopview ul > li > a {
  margin-inline-end: 30px;
  padding: 10px 0px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

nav.desktopview ul > li > a:hover {
  color: var(--primary-color);
}
nav.desktopview ul > li.current-menu-item {
  color: var(--primary-color);
}
.right-mobile-menu {
  display: none;
}
.top-header-right {
  display: flex;
  align-items: center;
  border-right: 1px solid #eaf2f4;
}
.top-header-right a.but-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 10px;
}
ul.top-social {
  display: flex;
}
ul.top-social li {
  margin-inline-end: 15px;
}
ul.top-social li a .item {
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
ul.top-social li a img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 25px;
  height: auto;
}
ul.top-social li a img.bg {
  visibility: hidden;
  opacity: 0;
  transition: all 0.2s ease;
}
ul.top-social li:hover a img.bg {
  visibility: visible;
  opacity: 1;
}
/*********************
END: HEADER STYLES
*********************/
/*********************
END: FOOTER STYLES
*********************/
footer {
  background-color: var(--text-color2);
}
.footer-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  padding: 50px 0 5px;
  background-color: var(--background-color2);
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  color: var(--white);
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-info {
  color: var(--text-color2);
  margin-right: 15px;
}

.footer-logo-info h5 {
  font-size: var(--h3-size);
  color: var(--white);
  margin: 5px 0;
}

.footer-logo-info > p {
  opacity: 0.5;
}

.logo-column > p {
  opacity: 0.5;
  line-height: var(--line-height);
  margin-block-start: 25px;
}
.bodywidget {
  opacity: 0.5;
  margin-block-start: 25px;
}
.ord-column {
  width: 20%;
  display: flex;
  flex-direction: column;
  margin-block-start: 25px;
}
.ord-column:first-child {
  width: 25%;
}
.ord-column:nth-child(2) {
  width: 45%;
}
.ord-column:last-child {
  width: 17%;
}
.ord-title {
  font-size: var(--h3-size);
  font-weight: bold;
}

.textwidget a {
opacity: 0.8;
    direction: ltr;
    display: inline-block;
    font-family: var(--font-family-pn);
    margin-inline-end: 9px;
    letter-spacing: 2px;
}

.footer-social {
  width: 100%;
  height: auto;
  display: flex;
  padding: 0 15px;
  margin: 10px 0;
}

.footer-social > a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  margin-inline-end: 15px;
}
.textwidget {
  padding-inline-end: 30px;
}
.footer-social > a img {
  width: 25px;
  filter: brightness(0) invert(1);
}
.copyright {
  padding: 8px;
  color: var(--b-color);
}

.phoneFloat {
    position: fixed;
    left: 7px;
    bottom: 7px;
    padding: 8px;
    z-index: 100;
    border-radius: 3px;
    width: 180px;
    height: auto;
    box-sizing: border-box;
    background: var(--primary-color);
    background: linear-gradient( 125deg, var(--text-color2) 0%, var(--primary-color) 100% );
    backdrop-filter: blur(7px);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 3px 7px #192f3699;
}

.phoneFloat > span {
  text-align: center;
  display: block;
  font-size: var(--text-size);
  font-weight: bold;
  margin: 7px;
}

.phoneFloat a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    background-color: var(--white);
    font-size: 1.3rem;
    font-weight: bold;
    justify-content: center;
    height: 40px;
    border-radius: 5px;
    margin-top: 11px;
    box-sizing: border-box;
    white-space: nowrap;
    letter-spacing: 1px;
    color: var(--primary-color);
    font-family: var(--font-family-pn);
}

.phoneFloat a > span {
  display: none;
}
/* whatsapp--icon */
.whatsapp--icon {
  opacity: 1;
  bottom: 25px;
  position: fixed;
  right: 25px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 11;
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  width: min-content;
}

.whatsapp--icon img {
  width: 50px;
}

.whatsapp--icon span {
  display: none;
}
.footer-design {
	    text-align: center;
    background: var(--text-color2);
    color: white;
    padding-block: 7px;
    border-top: solid 1px rgb(255 ,255 ,255 ,.5);
}
/* whatsapp--icon */
/*********************
END: FOOTER STYLES
*********************/
/*********************
START: MEDIA
*********************/
/* container  */
@media screen and (min-width: 2560px) {
  footer {
    max-width: 1500px;
    margin-inline-end: auto;
    margin-inline-start: auto;
  }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1820px 1fr;
    grid-template-areas: ". content .";
  }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1330px 1fr;
    grid-template-areas: ". content .";
  }
}

@media screen and (min-width: 1320px) and (max-width: 1439px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1310px 1fr;
    grid-template-areas: ". content .";
  }
}

@media screen and (min-width: 1200px) and (max-width: 1319px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1140px 1fr;
    grid-template-areas: ". content .";
  }
}

@media screen and (min-width: 993px) and (max-width: 1199px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 970px 1fr;
    grid-template-areas: ". content .";
  }
  .ord-column:nth-child(2) {
    width: 43%;
  }
}

@media screen and (min-width: 769px) and (max-width: 992px) {
  :root {
    --gap: 4rem;
  }
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 750px 1fr;
    grid-template-areas: ". content .";
  }
  .header-right {
    width: 21%;
  }
  .header-right img.logo {
    width: 100%;
  }
  .header-left {
    width: 89%;
  }
  nav.desktopview ul > li > a {
    margin: 0 6px;
    padding: 20px 0px;
  }
  .testimonial .top-testimonial h2::after {
    display: none;
  }
  .header-left::after {
    height: 60px;
  }
  .bt {
    padding: 9px 20px;
  }
  .ord-column:first-child {
    display: none;
  }
  .footer-wrapper {
    padding-inline: 20px;
  }
  .ord-column:nth-child(3),
  .ord-column:nth-child(4) {
    width: 20%;
  }
  nav.desktopview {
    width: 65%;
}
}

@media screen and (max-width: 768px) {
  .container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 95% 1fr;
    grid-template-areas: ". content .";
  }
}
/* container */

@media screen and (max-width: 768px) {
  :root {
    --h1-size: 2.4rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --text-size: 1rem;
    --text-size2: 1rem;
    --text-size3: 0.8rem;
    --line-height: 160%;
    --gap: 3rem;
  }
  .header-left {
    display: none !important;
  }
  .header-right {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
	  padding: 10px 0px;
  }
  nav.desktopview {
    display: none;
  }
  nav.sideNav {
    position: fixed;
    width: 250px;
    overflow: hidden;
    height: 100%;
    top: 0;
    right: 0;
    transform: translateX(250px);
    background: #f5f5f5;
    z-index: 200;
    display: block;
    -webkit-transition: all linear 0.4s;
    transition: all linear 0.4s;
    overflow-y: scroll;
  }
  nav.sideNav.open {
    transform: translateX(0);
  }
  nav.sideNav ul > li > ul {
    flex-basis: 100%;
    flex-shrink: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: baseline;
  }
  nav.sideNav ul > li.open {
    max-height: 500px;
  }

  div.logo-2 {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  div.logo-2 img {
    padding: 7px;
    width: 45%;
    margin: 0 auto;
    display: block;
  }
  nav.sideNav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
  }
  li.menu-item-has-children > a::after {
    display: none;
  }
  nav.sideNav ul > li {
    margin-bottom: 5px;
    background: #d7d7d7f1;
    width: 100%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 48.5px;
    max-height: 48.5px;
    transition: max-height ease 0.5s;
    opacity: 0;
  }
  nav.sideNav ul > li > ul > li {
    background: transparent !important;
  }
  nav.sideNav ul > li > ul > li.current-menu-item > a {
    color: white !important;
  }
  nav.sideNav ul > li > a {
    padding: 16px 30px 15px 16px;
    display: block;
  }

  nav.sideNav ul > li.menu-item-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    background-image: url(./assets/img/icon/arrow-down.svg);
    width: 14px;
    height: 12px;
    background-size: 26%;
    top: 0;
    background-repeat: no-repeat;
    padding: 24px 50px 24px 10px;
    box-sizing: border-box;
    text-align: center;
    background-position: center;
    z-index: 100;
  }
  nav.sideNav ul > li.open::after {
    transform: rotate(180deg);
  }
  nav.sideNav ul > li.open {
    max-height: 500px;
  }
  nav.sideNav ul > li > ul {
    flex-basis: 100%;
    flex-shrink: 0;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: baseline;
  }
  .ripple {
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(77, 194, 204, 0.4);
    transform: scale(0);
    position: absolute;
    opacity: 1;
  }
  .rippleEffect {
    animation: rippleDrop 0.6s linear;
  }
  @keyframes rippleDrop {
    100% {
      transform: scale(2);
      opacity: 0;
    }
  }
  span.menu {
    display: inline-block;
    background: #333333;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    position: relative;
    vertical-align: top;
    margin: 10px 0;
    text-align: center;
    line-height: 45px;
    font-size: 1em;
    color: white;
    min-height: 25px;
  }
  span.menu.activate {
    background: transparent !important;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
  }
  span.menu.activate span {
    width: 80%;
    background-color: var(--primary-color);
    border-radius: 8px;
    height: 6px;
    margin-block: 3px;
    transition: all 0.5s ease;
  }
  span.menu.activate span:nth-child(2) {
    background-color: var(--text-color2);
  }
  span.menu.activate span:last-child {
    width: 40%;
  }
  span.menu.activate:hover span:nth-child(2) {
    background-color: var(--primary-color);
    width: 40%;
  }
  span.menu.activate:hover span:last-child,
  span.menu.activate:hover span:first-child {
    width: 80%;
    background-color: var(--text-color2);
  }
  div.search {
    display: none;
  }
  img.logo-mobile {
    width: 30%;
    display: block;
    margin: 17px auto;
  }
  div.searchMobile {
    margin: 20px 0;
  }
  div.searchMobile .searchForm {
    justify-content: center;
    border: none;
    align-items: center;
    display: flex;
    opacity: 0;
  }
  div.searchMobile .searchForm input[type="search"] {
    padding: 10px;
    border-radius: 0 11px 11px 0;
    border: 2px solid var(var(--primary-color));
    border-left: none;
    font-size: 13px;
    width: 190px;
    outline: none;
    font-family: "iranyekan";
    height: 40px;
    box-sizing: border-box;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  div.searchMobile .searchForm button {
    background-color: white;
    border: 2px solid var(--primary-color);
    border-right: none;
    border-radius: 11px 0 0 11px;
    width: 25px;
    height: 40px;
    box-sizing: border-box;
  }
  nav.topMenu ul {
    display: none;
  }
  nav.sideNav ul li.current-menu-item {
    background-color: var(--primary-color) !important;
    color: white;
  }
  nav.sideNav.open div.searchMobile .searchForm {
    opacity: 1;
  }

  nav.sideNav.open ul > li {
    opacity: 1;
  }

  /* hmp */
  nav.sideNav.open ul > li:first-child {
    transition: all 0.5s ease;
    transition-delay: 0.2s;
  }

  nav.sideNav.open ul > li:nth-child(2) {
    transition: opacity 0.5s ease;
    transition-delay: 0.4s;
  }

  nav.sideNav.open ul > li:nth-child(3) {
    transition: opacity 0.5s ease;
    transition-delay: 0.6s;
  }

  nav.sideNav.open ul > li:nth-child(4) {
    transition: opacity 0.5s ease;
    transition-delay: 0.8s;
  }

  nav.sideNav.open ul > li:nth-child(5) {
    transition: opacity 0.5s ease;
    transition-delay: 1s;
  }

  nav.sideNav.open div.searchMobile .searchForm {
    transition: opacity 0.5s ease;
    transition-delay: 1.2s;
  }
  .ord-column:first-child {
    display: none;
  }
  .ord-column:nth-child(2) {
    width: 100%;
    padding: 0 15px;
  }
  .ord-column:nth-child(3) {
    width: 50%;
    padding: 0 15px;
  }
  .ord-column:nth-child(4) {
    width: 50%;
    padding: 0 15px;
  }
  .ord-column:last-child {
    width: 100%;
    padding: 0 15px;
  }
  .footer-wrapper {
    padding: 15px 0 5px;
  }
  .header-right img.logo {
    width: 65px;
  }
  .right-mobile-menu {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    width: 70%;
  }
  .but-top-mobile {
    background-color: var(--primary-color);
    width: 170px;
    margin-inline-end: 15px;
  }
  .but-top-mobile span {
    color: var(--white);
  }
  .phoneFloat {
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 8px;
    border-radius: 0;
    width: 100%;
    height: auto;
  }
  .phoneFloat > span {
    display: none;
  }
  .phoneFloat a {
    margin-top: 0;
  }
  .phoneFloat a > span {
    display: block;
    letter-spacing: 0;
    font-size: var(--p);
    margin-left: 5px;
  }
  .whatsapp--icon {
    bottom: 60px;
  }
  .header-right a {
    background-color: var(--primary-color);
    padding: 5px 12px;
    /* height: 45px; */
  }
  .bgCorner {
    width: 400px;
  }
  .bgSide {
    display: none;
  }
	.footer-design {
    margin-block-end: 57px;
}
	.video-section {
    flex-direction: column;
}
	.search-mobile {
		display:block;
		width: 160px;
    height: 30px;
    border-radius: 50px;
    border: 2px solid #ddd;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    margin-left: 5px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    transition: width ease .2s;
    z-index: 10;

	}
	.search-mobile input {
    width: 150px;
    height: 25px;
    background: transparent;
    border: none;
    padding: 0 20px 0 10px;
    
    font-size: var(--text-size2);
        font-family: var(--font-family);
    color: var(--tc1);
    outline: none;
}
	.search-mobile img {
    position: absolute;
    top: 3px;
    right: 5px;
    width: 20px;
    height: auto;
    opacity: .4;
    cursor: pointer;
}
}

@media screen and (max-width: 576px) {
}

@media screen and (max-width: 425px) {
}

@media screen and (max-width: 375px) {
}

/*********************
  END: MEDIA
  *********************/
