@font-face {
	font-family: "Titr";
	font-weight: 700;
	src: url(../fonts/titr.otf) format("otf"), url(../fonts/titr.ttf) format("truetype")
}

@font-face {
	font-family: "Vazir";
	font-weight: 400;
	src: url(../fonts/Vazir.eot) format("eot"), url(../fonts/Vazir.woff) format("woff"), url(../fonts/Vazir.woff2) format("woff2"), url(../fonts/Vazir.ttf) format("truetype")
}

#wpadminbar {
	direction: rtl !important;
}
#wpadminbar li {
	float: right;
}
#wpadminbar .ab-item {
	text-align: right;
}
#wpadminbar .ab-top-secondary {
	float: left;
}

{
		-webkit-tap-highlight-color: transparent;
}
	body {
		padding:0;
		margin:0;
		background-color: #cfd8dc;
		font-family: "Vazir", Roboto,Tahoma, -apple-system, BlinkMacSystemFont,"Open Sans",Helvetica,Arial,sans-serif !important;
		line-height: 1.5;
	}
h1,h2,h3,h4,h5,h6{
	font-family:"Titr",Roboto,Tahoma,"Open Sans",Helvetica,Arial,sans-serif !important;
}
	a {
		text-decoration: none;
	}
	.mdc-toolbar-fixed-adjust { margin-top: 32px !important; }
	.text-center { text-align: center; }
	.section-card { background: #eceff1; }
	/*
		==============================
		   Material Design Icons
		==============================
	*/
	.material-icons{
		cursor: pointer;
		text-decoration: none;
	}
	
	/*
		==============================
		   Material Design Scrollbar
		==============================
	*/
	*::-webkit-scrollbar {
		width: 11px;
		height: 11px;
	}
	*::-webkit-scrollbar-button {
		width: 0;
		height: 0;
		display: none;
	}
	*::-webkit-scrollbar-thumb:active {
		background-color: rgba(0,0,0,0.5);
		-webkit-box-shadow: inset 1px 1px 3px rgba(0,0,0,0.35);
	}
	*::-webkit-scrollbar-thumb:hover {
		background-color: rgba(0,0,0,0.4);
		-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.25);
	}
	*::-webkit-scrollbar-thumb {
		background-color: rgba(0,0,0,0.2);
		-webkit-box-shadow: inset 1px 1px 0 rgba(0,0,0,0.10), inset 0 -1px 0 rgba(0,0,0,0.07);
	}
	*::-webkit-scrollbar-track:vertical{-webkit-box-shadow:inset 1px 1px 0 rgba(0,0,0,0.14),inset -1px -1px 0 rgba(0,0,0,0.07);}
	*::-webkit-scrollbar-track:vertical:hover{background-color:rgba(0,0,0,0.035);}
	
	/*
		==============================
		  Search Component
		==============================
	*/
	.mat-toolbar--exit-search {
		color: Grey;
	}
	.mat-toolbar--search {
		visibility: hidden;
		background-color: transparent;
		z-index: 4;
		position: fixed;
		top: 0;
	}
	.mat-toolbar--search-container {
	  background: white;
	}
	.mdc-textfield--fullwidth:not(.mdc-textfield--multiline) {
		height: auto;
	}
	.desktop-search {
		width: 100%;
		height: 40px;
		border-radius: 0;
		border: none;
		margin-top: -4px;
		background-color: #ffcf6b;
	}
	.desktop-search:focus {
		background-color: #fff;
		outline: none;
	}
	.mat-toolbar--open-search { text-align: center; }
	/*
		==============================
		  Search animation
		==============================
	*/
	@keyframes mat-toolbar--open-search {
	from {
		clip-path: circle(0 at calc(100% - var(--mat-toolbar--search-location)) 50%);
	}
	to {
		clip-path: circle(150% at calc(100% - var(--mat-toolbar--search-location)) 50%);
	}
	}
	@keyframes mat-toolbar--close-search {
		from {
			clip-path: circle(150% at calc(100% - var(--mat-toolbar--search-location)) 50%);
		}
		to {
			clip-path: circle(0 at calc(100% - var(--mat-toolbar--search-location)) 50%);
		}
	}
	
	/*
		==============================
		  Toolbar Component
		==============================
	*/
	.mdc-top-app-bar { border-radius:0 0 20px 20px; }
	.mdc-top-app-bar__row { min-height:50px !important; height:50px !important; }
	.mdc-top-app-bar .mdc-top-app-bar__action-item { padding-top:15px; }
	
	/*
		==============================
		  404 error page
		==============================
	*/
	.searchform {
		height: 100%;
	}
	
	/*
		==============================
		  Content
		==============================
	*/
	.ribbon { padding: 55px 15px; }
	.ribbon a { color: #000 !important; }
	.mdcwp-ribbon__content { margin-top:-60px; }

	/*
		==============================
		  External links
		==============================
	*/
	.mdcwp--link-external[href^="//"]:after, 
	.mdcwp--link-external[href^="http://"]:after, 
	.mdcwp--link-external[href^="https://"]:after {
    	content: " \e895";
    	font-family: 'Material Icons';
	}

	/*
		==============================
		  MDC-WP Footer Component
		==============================
	*/
	.banner { margin:0;background-image:url("../images/banner.jpg"); }
	.hide-this { display:none; }
	.material-icons { padding: 5px 10px; }
	.submit-button { background-color: #2196f3 !important; }
	.recover-button { background-color: #000 !important; }
	.logout-button { background-color: #f44336 !important; }
	.pull-left { float:left; }
	.responsive-image { width:100%; height:auto; }
	.mdc-toolbar-fixed-adjust-front-page { padding-top:50px; }
.mdc-card .card-text { line-height:32px; padding:15px; }
.foot { padding:20px 20px 0 20px; }
.foot .section-card { height:80px;}
.footer-logo { margin: auto 12px; }
.footer-email { height:100%; padding: 0 20px; }
.mdc-drawer__header { padding-top:70px; }

.blue { background-color:#03a9f4 !important; }
.red { background-color:#e91e63 !important; }
.orange { background-color:#ffc107 !important; color:#000 !important;}

@media only screen and (max-width: 800px) {
	.hide-in-mobile { display:none; }
}
@media only screen and (min-width: 800px) {
	.hide-in-desktop { display:none; }
}
.mdc-button:hover { color:#ffc107; }

#contact-email { margin: 10px 0; }
.cf7md-submit-btn { background-color:#03a9f4 !important; }

.logo { margin-top:5px; }
.logo img { height: 30px; }

.home-cat, .footer-pic {
	text-align: center;
	background: transparent;
	box-shadow: none;
}
.home-cat:hover {
	box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),0px 1px 1px 0px rgba(0, 0, 0, 0.14),0px 1px 3px 0px rgba(0,0,0,.12);
	background: var(--mdc-theme-surface, #fff);
}
.main-cat {
	background-color: #F6BE00;
}

.gray { background-color: #ededed; padding: 10px 20px; }
.blue {
	background-color: #03a9f4 !important;
	color: #fff !important;
}
.white-font {
	color: white !important;
}
.red-font {
    color: #f44336 !important;
}

#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  font-family: sans-serif;
  list-style-type: none;
}

.hex {
  position: relative;
  visibility:hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  transition: all 0.5s;
  backface-visibility: hidden;
  will-change: transform;
  transition: all 0.5s;
}
.hex::after{
  content:'';
  display:block;
  padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
  position: absolute;
  width:96%;
  padding-bottom: 110.851%; /* =  width / sin(60) */
  margin: 2%;
  overflow: hidden;
  visibility: hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
      -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
          transform: rotate3d(0,0,1,-60deg) skewY(30deg);
    transition: all 0.5s;
}
.hexIn * {
  position: absolute;
  visibility: visible;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}




/*** HEX CONTENT **********************************************************************/
.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
}

.hex h2, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing:border-box;
  font-weight: 300;
  opacity: 0;
}

#demo1 {
  color: #F5CE95;
  text-transform: capitalize;
    text-align: center;
  bottom: 50%;
  padding-top:50%;
  font-size: 1.5em;
  z-index: 1;
}
.hex h2:before, .hex h2:after {
  display: inline-block;
  margin: 0 0.5em;
  width: 0.25em;
  height: 0.03em;
  background: #ffffff;
  content: '';
  vertical-align: middle;
  transition: all 0.3s;
  text-align:center;
}

#demo2 {
top: 50%;
text-align: center;
text-transform: uppercase;
    
}

.img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: center center;
  background-size: cover;
  overflow: hidden;
-webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.img:before, .img:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
  opacity: 0;
  transition: opacity 0.5s;
}
.img:before {
  background: rgba(22, 103, 137, 0.3)
}
.img:after {
  background: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5), transparent);
}

/*** HOVER EFFECT  **********************************************************************/



.hexLink:hover h2, .hexLink:focus h2,
.hexLink:hover p, .hexLink:focus p{
opacity:1;
transition: 0.8s;
}


.hexIn:hover .img:before,
.hexIn:hover .img:after,
.hexIn:hover .hexLink {
  opacity: 1;
}


/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
  #hexGrid{
    padding-bottom: 4.4%
  }
  .hex {
    width: 20%; /* = 100 / 5 */
  }
  .hex:nth-child(9n+6){ /* first hexagon of even rows */
    margin-left:10%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
  #hexGrid{
    padding-bottom: 5.5%;
    font-size: 13px;
  }
  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5){ /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
  #hexGrid{
    padding-bottom: 7.4%;
    font-size: 14px;
  }
  .hex {
    width: 33.333%; /* = 100 / 3 */
  }
  .hex:nth-child(5n+4){ /* first hexagon of even rows */
    margin-left:16.666%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 11.2%;
    font-size: 12px;
  }
  .hex {
    width: 50%; /* = 100 / 3 */
  }
  .hex:nth-child(3n+3){ /* first hexagon of even rows */
    margin-left:25%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 400px) {
    #hexGrid {
        font-size: 8px;
    }
}
.mdc-dialog__content {
	padding-bottom: 0;
	margin-bottom: -15px;
}
.comment-dialog .mdc-dialog__header {
	background-color: #03a9f4;
}

.comment-dialog .mdc-dialog__title {
	color: #fff;
}

.comment-dialog .mdc-fab {
	position: absolute;
	top: -20px;
	left: -20px;
}

.comment-dialog .comment-reply-title {
	display: none;
}

.comment-button-wrapper {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.comment-dialog .submit, .hidden {
	display: none;
	visibility: hidden;
}

.comment-list,
.comment-list ol {
	list-style: none;
}

.comment-list .depth-1 {
	margin-bottom: 30px;
}

.comment-body {
	position: relative;
	z-index: 2;
}

.comment-body .comment-author {
	padding: 5px;
}

.children {
	margin: -58px auto 0 auto;
	padding: 0;
}

.children .comment-body {
	z-index: 1;
}

.wp-block-latest-posts__list li { padding: 10px 0 10px 0; }