/*
Theme Name: گروه وکلای کرج
Theme URI: https://https://karaj-vakil.com/
Author: Pentama
Author URI: https://pentama.com
Description: this is exclusive for Pentama
Version: 1.0
*/
html {
	scroll-behavior: smooth;
}
a, a:hover {
    text-decoration: none;
    color: inherit;
}
body {
    direction: rtl;
    font-family: IRANSans;
    position: relative;
    overflow-x: hidden;
	margin: 0;
	    background-color: white;

}
:root {
    --c1: #CF1153;
    --c2: #f5f4f4;
    --c3: #A11FA6;
    --c5: #f5f4f4;
    --c6: #9f0000;
    --txt: #212121;
    --txt2: #757575;
    --br: 8px;
    --pad: 80px 0;
    --pad2: 80px;
    --bs: 0 5px 15px #0002;
    --h1: 2.5em;
    --h2: 1.2em;
    --p: .9em;
    --fs: .8em;
    --lh: 30px;
}
div.darkPage {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 198;
    background: rgba(0, 0, 0, .6);
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    -webkit-transition: all linear .2s;
    transition: all linear .2s;
}
div.darkPage.vis {
    opacity: 1;
    visibility: visible;
}
nav.sideNav {
    display: none;
}
span.menu.activate {
    position: relative;
    display: none;
    cursor: pointer;
    z-index: 1;
}
span.menu.activate svg {
    width: 20px;
    height: auto;
}
span.menu.activate svg path {
    fill: var(--dp);
}
div.bodyWrapper {
    width: 100%;
    overflow: visible;
    position: relative;
}
.container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1140px 1fr;
    grid-template-areas: '. content .';
}
.container > * {
    grid-area: content;
}
header {
    width: 100%;
    height: auto;
}
nav.top {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}
nav.top > div.top {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
nav.top > div.bottom .right {
    display: flex;
    align-items: center;
}
nav.top > div.bottom .left {
display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
	
}
nav.top > div.bottom .left a {
    display: block;
}
nav.top > div.bottom .left a img {
    width: 100px;
    margin-block-start: 18px;

}
nav.top > div.bottom {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
}
.navMenu {
    display: flex;
    align-items: center;
}
div.navMenu > ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    height: 50px;
}
div.navMenu > ul > li {
    position: relative;
}
div.navMenu > ul > li > a {
    display: block;
    padding: 24px 20px;

    font-size: var(--p);
    color: var(--txt2);
    position: relative;
    transition: color ease-in .2s;
}
div.navMenu > ul > li.current-menu-item a::after , div.navMenuul >  li.current-menu-parent a::after {
    content: '';
    width: 60%;
    height: 2px;
    border-radius: 3px;
    background-color: var(--c6);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
div.navMenu > ul > li.current-menu-item > a {
	color:var(--c6);
}

div.navMenu > ul > li:hover > ul {
    display: block;
}
div.navMenu li a:hover, div.navMenu li a.active {
    color: var(--c6);
}
div.navMenu > ul > li > ul {
    position: absolute;
    padding: 0;
    list-style: none;
    background-color: var(--c1);
    color: white;
    min-width: 180px;
    border-radius: var(--br);
    right: 0;
    top: 38px;
    z-index: 50;
    display: none;
}
div.navMenu > ul > li > ul > li {
    padding: 5px;
	position: relative;
}
div.navMenu > ul > li > ul > li:not(:last-of-type):after {
    content: '';
    position: absolute;
    width: 75%;
    height: 1px;
    background-color: #fff5;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
div.navMenu > ul > li > ul > li > a {
    display: block;
    padding: 12px;
    font-size: var(--fs);
	border-radius: 6px;
}
div.navMenu > ul > li > ul > li:hover > a {
	background-color: #0005;
	color: #fff;
}
.search {
	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;

}

.search.open {
	width: 200px;
}

.search input {
	width: 150px;
	height: 25px;
	background: transparent;
	border: none;
	padding: 0 10px;
	font-size: var(--p);
	font-family: 'IRANSans';
	color: var(--tc1);
	outline: none;
}
.search img {
    position: absolute;
    top: 6px;
    right: 5px;
    width: 20px;
    height: auto;
    opacity: .4;
    cursor: pointer;
}
.left-menu-mobile {
    display: none;
}
footer {
    width: 100%;
    height: auto;
    background: var(--c2);
    padding: 50px 0;
    position: relative;
}
.footerWrapper {
    display: flex;
    justify-content: space-between;

}

.socialWrapper {
    display: flex;
    justify-content: space-between;
}

.columnWrapper {
    display: flex;
    justify-content: space-between;
}
img.LogoIndex.skip-lazy {
    width: 100px;
}
footer .column {
    width: 370px;
    height: auto;
}
footer .firstc {
	width:310px;
}
footer .social ul {
    display: flex;
}

footer .social ul li {
    margin: 0 8px;
}

footer .social ul li:last-child {
    margin: 0 4px 0 0;
}

footer .social img {
    width: 30px;
}

footer .column .title {
    margin: 0 0 20px;
    font-size: var(--h2);
    font-weight: bold;
    color: var(--txt);
    position: relative;
}
footer .column .title::after {
    content: '';
    width: 15%;
    height: 3px;
    background-color: var(--c6);
    left: 0;
    right: 0;
    bottom: -6px;
    position: absolute;
}
footer .column .textwidget p {
    font-size: var(--p);
    margin-bottom: 14px;
    font-weight: 300;
    color: var(--txt2);
}
.social {
    margin: 25px 0;
}

.firstc p {
    font-size: var(--p);
    font-weight: 300;
    line-height: var(--lh);
    color: var(--txt2);
}

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

footer ul li {
        font-size: var(--p);
    margin-bottom: 14px;

    font-weight: 300;
    color: var(--txt2);
}

.socialTitle {
    text-transform: uppercase;
    margin: 60px 0 15px;
    font-size: var(--p);
}

div.cr {
    height: 20px;
    line-height: 20px;
    font-size: 1em;
    font-weight: 300;
    color: #fff;
    padding-left: 2%;
}

.ToplinkWeb a {
    font-weight: bold !important;
}
div.copyright {
    display: flex;
    font-size: var(--fs);
    position: absolute;
    bottom: 5px;
    right: 25px;
    color: var(--c4);
    align-items: center;
    padding: 3px 7px;
    background-color: #fff5;
    backdrop-filter: blur(7px);
    border-radius: var(--br);
}
.copyright img {
    width: 15px;
    height: auto;
    opacity: .7;
    margin-left: 7px;
}
span.pentama {
    display: flex;
    margin-right: 10px;
}
span.pentama span {
    margin-right: 5px;
}
.copyright span span {
    font-weight: bold;
    color: #777;
}

.phoneFloat {
  position: fixed;
  left: 7px;
  bottom: 7px;
  padding: 8px;
  z-index: 100;
  border-radius: 3px;
  width: 180px;
  height: auto;
  box-sizing: border-box;
  background: #d30026;
  background: linear-gradient(
    125deg,
    #9d152c 0%,
    #d30026 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: 14px;
  font-weight: bold;
  margin: 7px;
}

.phoneFloat a {
	font-family:"IRANSansPN";
  display: flex;
  align-items: center;
  padding: 0 20px;
  background-color: white;
  font-size: var(--text-size);
  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: #d30026;
	    justify-content: space-around;
}
.phoneFloat a img {
	    width: 20px;


}
.phoneFloat a:last-child ,.phoneFloat a:nth-child(4) {
/* 	flex-wrap:wrap; */
/* 	    height: 47px; */

}
.phoneFloat a:last-child b ,.phoneFloat a:nth-child(4) b {
	    font-size: 12px;

}
.phoneFloat a > span {
  display: none;
}

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

@media screen and (max-width: 768px) {
.left-menu-mobile {
    display: flex;
    align-items: center;
}
	.search {
    width: 200px;
}
    .container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 95% 1fr;
        grid-template-areas: '. content .';
    }
	.bgCorner {
    width: 400px;
}
    nav.top div.info {
        display: none;
    }
    .footerWrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    footer .column {
        margin-right: 0;
        margin-bottom: 30px;
        width: 90%;

    }
    footer {
        padding: 0;
    }
    div.copyright {
        position: static;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    padding-bottom: 190px;

    }
    div.copyright > span {
        text-align: center;
        margin-bottom: 10px;
    }
 .phoneFloat {
    position: fixed;
    left: 0;
    bottom: 0;
    padding: 8px;
    border-radius: 0;
    width: 100%;
    height: auto;
	  flex-wrap: wrap;
	      flex-direction: row;

  }
  .phoneFloat > span {
            width: 100%;
  }
  .phoneFloat a {
        width: 100%;
        margin-block-end: 4px;
        margin-top: 0;
        justify-content: center;
	          font-size: 25px;

  }
  .phoneFloat a > span {
    display: block;
    letter-spacing: 0;
    font-size: var(--p);
    margin-left: 5px;
  }
  .whatsapp--icon {
    bottom: 60px;
  }
	.phoneFloat a:nth-of-type(3) b , .phoneFloat a:last-child b {
		display:none;
	}
	.phoneFloat a:last-child {
		width: 100%;
    	display: flex;
		flex-wrap: wrap;
    	justify-content: center;
    	height: 50px;
		        font-size: 25px;

	}
	.footer--bottom {
		width: 100%;
    margin-block: 37px 160px;
	}
	.phoneFloat a img {
		margin-inline-end: 8px;
	}
}

@media screen and (max-width: 992px) {
    :root {
        --h1: 2em;
        --h2: 1em;
        --p: .9em;
        --fs: .8em;
        --lh: 22px;
    }
    nav.top > div.bottom .left {
            width: 100%;
    display: flex;
    justify-content: space-between;
    }
    nav.sideNav {
        position: fixed;
        width: 250px;
        overflow: hidden;
        height: 100%;
        top: 0;
        right: 0;
        transform: translateX(250px);
        background: #f2f2f2;
        z-index: 200;
        display: block;
        -webkit-transition: all linear .4s;
        transition: all linear .4s;
        border-radius: 20px 0 0 20px;
        box-shadow: 0 3px 6px #0003;
    }
	nav.sideNav.open {
		transform: translateX(0);
	}
    div.logo-2 {
        width: 100%;
        height: auto;
        overflow: hidden;
    }
    div.logo-2 img {
        padding: 7px;
    }
    nav.sideNav h2 {
        font: 2em 'IRBSans', Helvetica, sans-serif;
        padding-right: 25px;
        margin-bottom: 20px;
    }
    nav.sideNav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }
    nav.sideNav ul li {
        font-size: .8em;
        padding: 20px 30px 20px 0;
        margin-bottom: 5px;
        background: #eee;
        width: 100%;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        box-sizing: border-box;
    }
    span.menu {
        width: auto;
        height: auto;
        margin-left: 10px;
    }

    span.menu.activate {
        display: block;
    }
    div.searchMobile {
        position: absolute;
        top: 17px;
        left: 17px;
    }
    div.searchMobile .searchForm {
        justify-content: center;
        margin: 0;
        filter: drop-shadow(-5px -5px 5px #fff) drop-shadow(5px 5px 5px #0001);
        -webkit-filter: drop-shadow(-5px -5px 5px #fff) drop-shadow(5px 5px 5px #0001);
    }
    div.searchMobile .searchForm input[type='search'] {
        padding: 10px;
        border-radius: 0 10px 10px 0;
        font-size: 13px;
        width: 190px;
        outline: none;
        border: none;
        height: 40px;
        background-color: #f7f7f7;
    }
    div.searchMobile .searchForm button {
        background-color: #f7f7f7;
        border: none;
        border-right: none;
        border-radius: 10px 0 0 10px;
        width: 25px;
        height: 40px;
        font-family: IRANSans;
    }
    .navMenu {
        display: none;
    }
    div.bodyWrapper {
        overflow: hidden;
    }
    footer .des {
        padding: 0px;
    }
    .flat {
        margin: 0 auto;
    }
    .posRel img {
        width: 70px;
        margin: 5px auto;
        display: block;
    }
    nav.top > div.bottom {
        height: 50px;
    }

}

@media screen and (min-width: 769px) and (max-width: 992px) {
    .container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 750px 1fr;
        grid-template-areas: '. content .';
    }
    span.menu.activate {
        display: block;
    }
    nav.topMenu ul {
        display: none;
    }
}

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

@media screen and (min-width: 1201px) and (max-width: 1500px) {
    .container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1180px 1fr;
        grid-template-areas: '. content .';
    }
}


