/*
Theme Name: TechSharks
Theme URI: https://techsharks.af
Author: the Techsharks team
Author URI: https://techsharks.af
Description: Techsharks Custome design themeplate 
Version: 1.1
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Techsharks
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');
:root {
  --brand-primary: #682F92;
  --brand-primary-dark: #682F92;
  --brand-secondary: #FAA619;
  --black: #2e2e2e;
  --white: #fff;
}
/* GENERAL STYLES */
body {
  -webkit-font-smoothing: antialiased !important;
  font-size: 16px;
  font-family: "manrope", sans-serif;
}
::selection{
  color: var(--white);
  background: var(--brand-primary);
}
.container {
  max-width: 1280px;
}
a {
  transition: all 0.3s;
}
a:hover {
  color: var(--brand-primary) !important;
  text-decoration: none !important;
}
a.hover-none {
  color: var(--white) !important;
}
.btn-brand {
  font-size: 18px;
  font-weight: 700;
  border-radius: 5px;
  color: var(--white) !important;
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
  transition: all 0.3s;
  padding: 8px 28px;
}
.btn-brand:hover {
  opacity: 0.85;
  color: var(--white) !important;
}
.btn-brand:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(228, 103, 19, 0.25);
}
.overly{
  background-blend-mode: multiply;
  background-color: var(--brand-primary);
}
.bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.bg-black {
  background-color: var(--black) !important;
}
.bg-white {
  background: var(--white);
}
.bg-brand1 {
  background-color: var(--brand-primary) !important;
}
.bg-brand2 {
  background-color: var(--brand-secondary) !important;
}
.bg-opacity-dark {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
}
.text-white {
  color: var(--white) !important;
}
.text-black {
  color: var(--black);
}
.text-brand1 {
  color: var(--brand-primary);
}
.text-brand2 {
  color: var(--brand-secondary) !important;
}
.time {
  color: #777;
  font-weight: 500;
}
.overlap {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

/* END GENERAL STYLES */
/* START TOP NAV STYLES */
.top-nav .nav-link {
  padding: 8px 9px;
}
.top-nav .lang {
  color: var(--white);
  font-weight: 500;
  padding: 8px 9px;
  line-height: 1;
}
/* END TOP NAV STYLES */
/* START TOP HEADER LOGO */
.logo {
  height: 108px;
}
/* END TOP HEADER LOGO */
/* START NAVBAR STYLES */
.navbar .nav-link {
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: 3px solid transparent;
  /* border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px; */
  padding: 7px 10px !important;
  margin-left: 8px;
  transition: all 0.3s;
}

.navbar .nav-link {
  color: var(--brand-primary) !important;
  background-color: white;
}
.dropdown-toggle::after{
  transition: all .2s;
}
.dropdown.nav-item.show .dropdown-toggle::after {
  transform: rotate(180deg);
}
.navbar .dropdown-menu .dropdown-item {
  font-size: 15px !important;
  padding: 0.5rem 1.25rem;
}
.navbar .dropdown-menu{
    padding: 16px 0 !important;
    min-width: 13rem !important;
}
.navbar .dropdown-menu .dropdown-item:active {
  background: var(--brand-primary);
  color: var(--white) !important;
}
/* END NAVBAR STYLES */
/* START CAROUSEL */
.carousel-inner,
.carousel-item {
  min-height: 600px;
}
.carousel-caption {
  /* position: absolute; */
  right: auto;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  left: auto;
  max-width: 1280px;
  text-align: left;
}
.carousel-caption h2.h1 {
  font-size: 50px;
  font-weight: 800;
}
.carousel-caption p {
  max-width: 500px;
  font-size: 18px;
  font-weight: 600;
}
.carousel-indicators {
  bottom: 60px !important;
}
.carousel-indicators li {
  height: 16px !important;
  width: 16px !important;
  border-radius: 50%;
  margin-right: 5px;
  margin-left: 5px;
  border: 2px solid var(--white) !important;
  opacity: 1;
  background: transparent;
  transition: all 0.3s;
}
.carousel-indicators li.active {
  background: var(--white);
}
/* END CAROUSEL */
/*START STATESTICS STYLE */
.statistics {
  transform: translateY(-60px);
}
.statistics .item {
  padding: 60px 10px;
  height: 200px;
  /* background-color: blue; */
}
.statistics .statistics-owl .owl-stage > :nth-child(odd) {
  background-color: var(--white) !important;
}
.statistics .statistics-owl .owl-stage > :nth-child(even) {
  background-color: var(--white);
}
.statistics .item .border-right {
  border-right: 2px solid var(--white) !important;
}
.statistics .item h2.h1 {
  font-size: 60px;
  font-weight: 900;
}
.statistics .item h3 {
  font-size: 26px;
  font-weight: 700;
}
.statistics .item h5 {
  font-size: 17px;
  margin-top: 16px ;
}
/*END STATESTICS STYLE */
/* START CATPOST  */
.border-top-title {
  margin-top: 20px;
  border-top: 1px solid var(--black);
}

.post-title {
  font-size: 22px;
  color: var(--black) !important;
  font-weight: 700;
  min-height: 54px;
  -webkit-line-clamp: 2;
}
.col-post .time {
  font-size: 16px;
}
.post-sm h6 {
  font-size: 16px;
  font-weight: 600;
  min-height: 60px;
  -webkit-line-clamp: 3;
}
.post-sm .time {
  font-size: 13px;
}
.pdf-link h4 {
  font-weight: 700;
  font-size: 20px;
}
.pdf-link {
  transition: all 0.3s;
}
.pdf-link:hover {
  background: var(--brand-primary-dark) !important;
}
.pdf-img {
  max-height: 450px;
  overflow: hidden;
}
.accordion-plus,
.accordion-minus {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}
.collapse + .card-header .accordion-plus {
  opacity: 1;
}
.collapse.show + .card-header .accordion-minus {
  opacity: 0;
}
.collapse.show + .card-header .accordion-plus {
  opacity: 0;
}
.collapse.show + .card-header .accordion-minus {
  opacity: 1;
}
/* END CAT POST */
/* START PDF  */
.newsletter {
  background-color: var(--brand-primary);
  
}
.newsletter .container-fluid {
  background-attachment: fixed;
}


.pdf-info h2 {
  font-weight: 700;
  font-size: 40px;
}

.owl-carousel.pdf-owl .owl-stage-outer {
  min-height: 365px;
}
.owl-carousel.pdf-owl .owl-stage-outer .owl-stage {
  position: absolute;
  bottom: 0 !important;
}

.owl-carousel.pdf-owl .owl-item.active {
  z-index: 9999;
  /* transform: scale(1.4); */
}
.owl-carousel.pdf-owl .owl-item.center {
  transition: transform 0.5s;
}
.owl-carousel.pdf-owl .owl-item.center {
  z-index: 99999;
  transform: scale(1.2) translateY(-8%);
}
.pdf-owl-wrapper .pdf-owl {
  position: absolute;
  bottom: 0px;
}
.pdf-owl-wrapper .pdf-owl .owl-nav .owl-prev,
.pdf-owl-wrapper .pdf-owl .owl-nav .owl-next {
  opacity: 0;
  position: absolute;
  width: 22%;
  top: 0;
  bottom: 0;
}
.pdf-owl-wrapper .pdf-owl .owl-nav .owl-prev {
  left: 0;
}
.pdf-owl-wrapper .pdf-owl .owl-nav .owl-next {
  right: 0;
}
.pdf-owl-wrapper .pdf-owl .owl-nav.disabled {
  display: block !important;
}

/* END PDF */

/* START SUBSCRIBE */
.subscribe .text-white {
  color: #f6f6f6 !important;
}
.subscribe .container {
  max-width: 1000px;
}
.subscribe .col-md-6.position-relative {
  min-height: 160px !important;
}
.subscribe h4 {
  font-weight: 900;
}
.subscribe p {
  font-weight: 600;
}
.subscribe ::placeholder {
  color: #f6f6f6;
}
.subscribe form input.form-control {
  padding: 22px !important;
  background-color: transparent;
  border-radius: 0;
  border: 3px solid #f6f6f6 !important;
  color: var(--white);
}
.subscribe form input.form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}
.subscribe form input.btn.btn-light {
  border-radius: 0 !important;
  /* padding: 10px 20px !important; */
  background-color: #f6f6f6 !important;
}
/* END SUBSCRIBE */
/* START YOUTUBE-SEC */
.youtube-sec {
  background-attachment: fixed;
}
.youtube-sec .container-fluid {
  min-height: 500px;
  padding-top: 120px;
  padding-bottom: 120px;
}
.youtube-sec .container {
  max-width: 1000px;
  box-shadow: 0px 0px 20px 4px rgba(0, 0, 0, 0.3);
}
.youtube-sec .youtube-vid {
  height: 340px;
}
.youtube-sec h5 {
  font-size: 18px;
  line-height: 1.4;
}
.youtube-sec .time {
  font-size: 13px;
}
.youtube-sec h6 {
  font-size: 15px;
  font-weight: 500;
  -webkit-line-clamp: 4;
  line-height: 1.3;
  xheight: 80px;
}
/* END YOUTUBE-SEC */
/* START FOOTER */
footer.footer {
  border-top: 3px solid var(--brand-primary) !important;
}
footer h5 {
  font-weight: 900;
  font-size: 20px;
}
footer .social-icon {
  margin: 4px;
  text-align: center;
  color: var(--white);
  height: 40px;
  width: 40px;
  border: 2px solid #666;
  border-radius: 50%;
  background-color: #666;
  transition: all 0.3s;
}
footer .social-icon:hover {
  color: #666;
  background: var(--white);
}
footer ul {
  padding-left: 6px;
  list-style: none;
}
footer ul li {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}
footer ul li a:hover {
  padding-left: 20px;
}
footer.info-footer {
  background: var(--brand-primary);
  font-weight: 500;
  font-size: 16px;
}
/* END FOOTER */
/* END HOME PAGE STYLES */
/* SINGLE PAGE STYLES */
.single-title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}
.time.time-14 {
  font-size: 14px;
}
.single .small-post h5 {
  font-size: 16px;
  font-weight: 700;
}
/* END SINGLE STYLES */

/* START CATEGORIES */
.border-top-title2 {
  margin-top: 20px;
  border-top: 1px solid var(--black);
}
.cat-title2 {
  font-size: 24px;
  display: inline-block;
  font-weight: 700;
  padding-right: 16px;
  transform: translateY(-70%);
}

.border-top-title2 a.see-all {
  font-weight: 700;
  font-size: 16px;
  padding-left: 20px;
  transform: translateY(-70%);
}
.category .small-post h5.overlap {
  xmin-height: 75px;
}
.page-link {
  color: var(--brand-primary) !important;
}
.page-item.active .page-link {
  color: var(--white) !important;
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary) !important;
}
/* END CATEGORIES */

/* START PUBLICATION */
.publication .owl-carousel .item img {
  display: block;
  width: 100%;
  height: auto;
}

.publication .owl-carousel .item .overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(0, 0, 0, 0.7);
}

.publication .owl-carousel .item div:hover .overlay {
  opacity: 1;
}

.publication .owl-carousel .item .overlay .text {
  padding: 16px;
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.publication .owl-carousel .item .overlay .text h5 {
  font-weight: 700;
  font-size: 20px;
}
.publication .owl-carousel .item .overlay .text .time {
  font-size: 16px;
}
/* END PUBLICATION */
/* START SINGLE PUBLICATION */
.s-publication{
  background: #f9f7f8 !important;
}
.s-publication h1{
  font-weight: 900;
}
.s-publication .time{
  font-size: 14px;
}
.s-publication p{
  line-height: 1.7;
}
.s-publication table{
  font-size: 15px;
}
.s-publication table td{
  padding: 8px 0;
}

.s-publication table tr td:first-child{
  font-weight: 800;
  min-width: 90px;
}
.container.introduction{
  max-width: 800px;
}
.container.introduction h4{
  font-weight: 900;
  margin-bottom: 36px;
}




/* END SINGLE PUBLICATION */
/*tags style*/
.tags.py-4.d-flex.justify-content-center{
    justify-content: start !important;
}
.tags .tag-link a{
    padding: 12px 20px;
    color: var(--brand-primary) ;
    margin-right: 16px;
    border-radius: 4px;
}
.tags .tag-link a:hover{
    color: !important;
    opacity: .8;
}

/*end tag style*/
@media screen and (max-width: 992px) {
  /* HOME PAGE */
  .navbar .nav-link {
    margin-right: 0;
  }
  .spotlight .small-post h5 {
    min-height: auto;
  }
}
@media screen and (max-width: 768px) {
  /* HOME PAGE */
  .carousel-inner,
  .carousel-item {
    min-height: 450px;
  }
}
@media screen and (max-width: 576px) {
  /* HOME PAGE */
  .statistics .item{
    padding: 25px 0px;
    height: 120px;
  }
  .newsletter h3{font-size:21px}
  .newsletter .pdf-info{text-align: center;}
  .pdf-owl-wrapper {
    min-height: 250px;
  }
  .owl-carousel.pdf-owl .owl-stage-outer {
    height: 280px;
  }
  .subscribe form input.btn.btn-light {
    padding: 0.375rem 0.75rem !important;
  }
  .youtube-sec .youtube-vid {
    height: 220px;
  }
  .carousel-inner,
  .carousel-item {
    min-height: 300px;
  }
  .carousel-caption {
    /* position: absolute; */
    right: auto;
    top: 40%;
    transform: translateY(-50%);
    bottom: auto;
    left: auto;
    text-align: left;
  }
  .carousel-caption h2.h1 {
    font-size: 26px;
    font-weight: 800;
  }
  .carousel-caption p {
    max-width: 650px;
    font-size: 16px;
    font-weight: 600;
  }
}
/*Alireza*/
.navigation{width:100%;text-align:center;}
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration:none;
}
 
.navigation li {
    display: inline;
}
 
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: var(--brand-primary);
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}
 
.navigation a:hover{color:var(--brand-secondary) !important}
.navigation li.active a {
    background-color: var(--brand-secondary);
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    xmargin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    xmargin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    xmargin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}
.single-content img.fix{width:100%;height:auto;}
.hover-white:hover{ color: var(--white) !important; }
.hover-brand2:hover{ color: var(--brand-secondary) !important; }
.hover-brand1:hover{ color: var(--brand-primary) !important; }
.hover-black:hover{ color: var(--black) !important; }
.fs-18{ font-size: 18px; }
.fs-14{ font-size: 14px; }
.fs-12{ font-size: 12px; }
.fw-bold{font-weight: bold;}
.ts-about h2{font-size:2.3rem}
.fs-bolder{font-weight: 900;}
.title1 a {
  position: relative;
  
}
.title1 ::before{
  width: 50%;
  height: 3px;
  background-color: var(--brand-secondary);
  content: "";
  position: absolute;
  top: -20px;
  left: 0; }

.title2 a{position: relative;}
.title2 ::before{
  width: 50%;
  height: 3px;
  background-color: var(--brand-primary);
  content: "";
  position: absolute;
  top: -15px;
  left: 25%; }
  .newsletter-box{
    border: 3px solid var(--white);
  }
  .newsletter-box input:focus{
    outline: none;
  }
  .ts-shadow{box-shadow: 0 0 15px rgba(0,0,0,.075)!important;border:none}
  .ts-circle .big-icon{position: relative;}
  .big-icon svg{
    width: 45px !important;
    height: 45px !important;
    margin-bottom: 1.5rem !important;
    fill: var(--brand-primary);
  }
  
  .ts-circle .big-icon::after{
    position: absolute;
    content: "";
    opacity: 0.1;
    background: var(--brand-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    bottom: 0px;
    right: -15px;
    z-index: 1;
    transition: all 0.3s linear;
  }
  .ts-circle{transition:all .5s ;}
  .ts-circle:hover{
    background-color: var(--brand-primary);
  }
  .ts-circle:hover h5{color: var(--white);}
  .ts-circle:hover svg{fill: var(--white);}
  .ts-circle:hover .big-icon::after{background-color: white;opacity: 0.1;}
  .dropdown:hover>.dropdown-menu {
    display: block;
  }
  .ts-about div a h2{transition: all .4s;}
  .ts-about div a h2:hover{
    transform: translateY(-5px);
  }
  .social-media > a {
    display: block;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    margin: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eee;
    background-color: var(--black);
    padding: 6px;
    transition: all 0.3s;
  }
  
  .social-media > a svg {
    /* height: 26px; */
    fill: currentColor;
  }
  .social-media > a:hover {
    color: var(--brand);
  }
blockquote {
  position: relative;
  padding-left: 1em;
  border-left: 0.2em solid var(--brand-secondary);
  font-size: 2.4em;
  line-height: 1.3em;
  font-weight: bold;
}
blockquote:before, blockquote:after {
    color: var(--brand-secondary);
    font-size: 34px;
}
blockquote:before {content: '\201e'}
blockquote:after {content: '\201c';}