/*
	Theme name: J-Folio
	Version: 1.0
	Author: Mohammad Jaynal Abedin
	Author uri: https://jaynalabedin.com
	Description: That is a custom theme for my portfolio site.
*/
* {
	font-family: Montserrat, Sans Serif;
	scroll-behavior: smooth;
	box-sizing: border-box;
}
body {
	background: url(img/tile.jpg) repeat;
}

body.logged-in header {
	margin-top: 32px !important;
}

.current-menu-item a {
	background-color: unset !important;
	text-transform: uppercase;
	border-bottom: 3px solid #000;
}
.cat_color {
	color: #d56a00
}
/*========== // Header ===========*/
header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}
.logo {
	display: block;
	overflow: hidden;
	padding: 15px 10px 10px;
}
.logo .img {
	width: 40px;
	height: 40px;
	background-color: #000;
	border-radius: 50%;
	overflow: hidden;
	float: left;
}
.logo .img img {
	width: 100%;
}
.logo .text {
	float: left;
	margin-top: 5px;
}
.logo .text h5 {
	font-weight: bold;
	margin: 0;
	margin-left: 5px !important;
}
.logo .text p {
	margin: 0;
	margin-left: 5px !important;
}
.navbar {
	border: none;
	margin-bottom: 0px;
}
/*.navbar li.active a {
	background-color: unset !important;
	border-bottom: 3px solid #000;
}*/
.navbar li a {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 13px !important;
	padding: 10px;
	margin-right: 10px;
	padding-bottom: 5px;
}
#mynav .nav {
	padding-top: 10px;
}
#mynav .nav li:last-child {
}
#mynav ul li:last-child a {
	margin-right: 0px;
	border: 2px solid #000;
	padding: 7px 20px;
	border-radius: 25px;
}
#mynav ul li:last-child a:hover {
	transition: all 0.4s;
	background-color: #000;
	color: #fff;
}

/*=========== // Welcome  ============*/
/*.welcome_bg {
	background: url(img/welcome_bg.png) no-repeat;
	background-position: center right;
	background-size: auto 100%;
}*/
#welcome {
	overflow: hidden;
	border-bottom: 1px solid #ececec;
	padding-top: 70px;
}
#welcome .left {
	width: 55%;
	float: left;
	padding: 100px 0px;
	padding-bottom: 80px;
}
#welcome .left p:nth-child(1) {
	font-size: 30px;
	margin-bottom: 0px;
}
#welcome .left h1 {
	font-size: 40px;
	margin: 0px;
	margin-bottom: 10px;
	font-weight: bold;
}
#welcome .left p:nth-child(2) {
	font-size: 20px;
	margin-bottom: 0px;
}
/*--------------------*/
#welcome .social {
	overflow: hidden;
	margin: 10px 0px;
}
#welcome .social ul {
	margin: 0;
	overflow: hidden;
	padding-left: 0px;
}
#welcome .social ul li {
	float: left;
	list-style: none;
}
#welcome .social ul li a {
	margin-right: 10px;
}
#welcome .social ul li a i {
	font-size: 35px;
}
#welcome .social ul li:nth-child(1) a i {
	color: #3B5998;
}
#welcome .social ul li:nth-child(2) a i {
	color: #28AAE1;
}
#welcome .social ul li:nth-child(3) a i {
	color: #0077B5;
}
/*---------------------*/
#welcome .buttons {
	display: block;
	margin: 20px 0px;
	margin-left: 5px;
}
#welcome .buttons a {
	display: inline-block;
	margin-right: 15px;
	border: 1px solid #000;
	color: #6a696b;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 8px 35px;
	border-radius: 25px;
	text-decoration: none;
}
#welcome .buttons a:hover {
	transition: all 0.4s;
	color: #fff;
	background-color: #000;
	box-shadow: 0 0 5px #000;
}
/*----------------------*/
#welcome .right {
	width: 45%;
	float: left;
}
#welcome .right img {
	width: 100%;
}
/*========= // Recent works =========*/
#recentworks {
	padding: 70px 0px;
	padding-bottom: 50px;
	position: relative;
}
#recentworks h1 {
	font-size: 35px;
	font-weight: bold;
	margin: 30px 0px;
	margin-top: 0px;
}
#recentworks ul {
	margin-bottom: 20px;
}
#recentworks ul li a {
	display: inline-block;
	color: #6a696b;
	font-weight: bold;
	letter-spacing: .5px;
	padding: 3px 8px;
	border-radius: 5px;
	text-decoration: none;
}
#recentworks ul li.active a {
	color: #fff;
	background-color: #000;
}
#recentworks .tab-content > div {
	overflow: hidden;
}
#recentworks .tab-content > div > .project {
	width: 30%;
	margin-right: 5%;
	margin-bottom: 20px;
	float: left;
	position: relative;
	min-height: 280px;
	margin: 0px 1.5% 20px;
}
#recentworks .tab-content > div > .project span.count {
	background-color: #000;
	color: #fff;
	width: 50px;
	height: 50px;
	display: flex;
	border-radius: 10px 0px 0px 0px;
	justify-content: center;
	align-items: center;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	font-weight: bold;
}
#recentworks .tab-content > div > .project .img {
	border-radius: 10px 10px 0px 0px;
	overflow: hidden;
	border: 1px solid #ddd;
	position: relative;
}
#recentworks .tab-content > div > .project .img > a {
	display: block;
	position: relative;
}
#recentworks .tab-content > div > .project .img a:before {
	content: 'Click here to See full project';
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	width: 100%;
	height: 100%;
	border-radius: 10px 10px 0px 0px;
	background-color: rgba(0, 0, 0, 0.7);
	opacity: 0;
}
#recentworks .tab-content > div > .project .img a:hover:before {
	transition: all 0.4s;
	opacity: 1;
}
#recentworks .tab-content > div > .project img {
	width: 100%;
}
/*#recentworks .tab-content > div > .project:nth-child(3n) {
	margin-right: 0px;
}*/

/*---------------------------*/
#recentworks .tab-content .project .meta {
	border: 1px solid #ddd;
	border-top: 0px;
	padding: 10px;
	border-radius: 0px 0px 10px 10px;
	background-color: #fff;
}
#recentworks .tab-content .project .meta .cat {
	font-size: 12px;
	letter-spacing: .5px;
	margin-bottom: 0px;
}
#recentworks .tab-content .project .meta h4,
#recentworks .tab-content .project .meta h5 {
	font-size: 15px;
	font-weight: bold;
	margin: 5px 0px;
	line-height: 1.4em;
}#recentworks .tab-content .project .meta h4 > a {
	text-decoration: none;
}
#recentworks .tab-content .project .meta .sub_meta {
	overflow: hidden;
}
#recentworks .tab-content .project .meta .sub_meta h4 {
	width: 88%;
	float: left;
	padding-right: 10px;
}
#recentworks .tab-content .project .meta .sub_meta h5 {
	width: 12%;
	float: left;
}
/*-------------------------------*/
#recentworks .tab-content > div > .paginate {
	position: absolute;
	bottom: 0;
	display: block;
	width: 100%;
	height: 40px;
	text-align: center;
}
#recentworks .tab-content > div > .paginate a {
	display: inline-block;
	text-decoration: none;
	border: 1px solid #000;
	padding: 8px 20px;
	border-radius: 25px;
	font-size: 15px;
 	color: #000;
 	font-weight: bold;
}
#recentworks .tab-content > div > .paginate a:hover {
 	transition: all 0.4s;
 	background-color: #000;
 	color: #fff;
 	box-shadow: 0 0 5px #000;
}

/*======== // About Me =========*/
/*.about_me_bg {
	background: url(img/aboutme_bg.png) no-repeat;
	background-position: left;
}*/
#about_me {
	overflow: hidden;
	padding: 50px 0px;
	background-color: #fff;
}
#about_me .left {
	width: 50%;
	float: left;
	padding: 40px 15px;
	background-color: #fff;
}
#about_me .right {
	width: 50%;
	float: right;
	padding: 40px 15px;
	background-color: #fff;
}
#about_me .right h2 {
	font-size: 35px;
	text-transform: uppercase;
	font-weight: bold;
	margin: 0px;
}
#about_me .right h1 {
	font-size: 60px;
	text-transform: uppercase;
	font-weight: bold;
	margin: 5px 0px 25px;
	letter-spacing: 1px;
	color: #dedede;
}
#about_me .right p {
	font-size: 16px;
	color: #717072;
	line-height: 1.7em;
	word-spacing: 1px;
}
#about_me .buttons {
	display: block;
	margin: 20px 0px;
	margin-left: 5px;
}
#about_me .buttons a {
	display: inline-block;
	margin-right: 15px;
	border: 1px solid #000;
	color: #6a696b;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	padding: 8px 35px;
	border-radius: 25px;
	text-decoration: none;
}
#about_me .buttons a:hover {
	transition: all 0.4s;
	color: #fff;
	background-color: #000;
	box-shadow: 0 0 5px #000;
}

/*========= // Review ========*/
.review_bg {
	background: url(img/review_bg.png) repeat-x;
}
#review {
	overflow: hidden;
}
#review  #myCarousel .left,
#review  #myCarousel .right {
	background-image: unset;
}
#review .item > a {
	text-decoration: none;
}
#review .review {
	overflow: hidden;
	padding-top: 35px;
	width: 70%;
	margin: 0 auto;
}
#review .review .top {
	height: 230px;
	display: flex;
	align-items: center;
}
#review .review .top p {
	color: #fff;
}
/*--------------------------*/
#review .review .bottom {
	height: 150px;
}
#review .review .bottom .img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid #fff;
	margin: 0 auto;
	margin-top: -40px;
	background-color: #000;
}
#review .review .bottom .img img {
	width: 100%;
}
/*---------------------------*/
#review .review .bottom h6 {
	font-style: italic;
	font-weight: bold;
	font-size: 16px;
	color: #717072;
}
#review .review_star i {
	color: green;
}

/*========= // Blog ========*/
#blog {
	overflow: hidden;
	padding: 70px 0px 30px;
}
#blog h1 {
	text-align: center;
	text-transform: uppercase;
	font-size: 35px;
	font-weight: bold;
	margin: 7px 0px;
	margin-top: 0px; 
}
#blog > p {
	text-align: center;
	font-size: 20px;
	margin-bottom: 50px;
}
#blog .bog_wrapper {
	overflow: hidden;
	position: relative;
	padding-bottom: 50px;
}
#blog .bog_wrapper .blog {
	width: 30%;
	float: left;
	margin-right: 5%;
	margin-bottom: 25px;
}
#blog .bog_wrapper .blog:nth-child(3n) {
	margin-right: 0px;
}
#blog .bog_wrapper .blog .img {
	position: relative;
	border: 1px solid #ddd;
}
#blog .bog_wrapper .blog .img img {
	width: 100% !important;
	height: auto;
}
#blog .bog_wrapper .blog .img .date {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	font-weight: bold;
	width: 65px;
	height: 55px;
	background-color: #000;
	color: #fff;
	padding: 8px 16px;
	position: absolute;
	top: 0;
	left: 0;
}
#blog .bog_wrapper .blog .img a:before {
	content: '';
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	width: 100%;
	height: 100%;
	border-radius: 10px 10px 0px 0px;
	background-color: rgba(0, 0, 0, 0.3);
	opacity: 0;
}
#blog .bog_wrapper .blog .img a:hover:before {
	transition: all 0.4s;
	opacity: 1;
}
/*----------------------------*/
#blog .bog_wrapper .blog .meta {
	background-color: #fff;
	padding: 15px;
	border-radius: 0px 0px 5px 5px;
}
#blog .bog_wrapper .blog h2 {
	font-size: 17px;
	font-weight: bold;
	letter-spacing: .5px;
	text-transform: uppercase;
	margin-bottom: 3px;
	margin-top: 5px;
}
#blog .bog_wrapper .blog h2 > a {
	text-decoration: none;
}
#blog .bog_wrapper .blog p.cat {
	font-size: 16px;
	margin: 5px 0px;
}
#blog .bog_wrapper .blog p.cat > a {
	color: #d56a00 !important;
}
#blog .bog_wrapper .blog .readmore {
	font-size: 13px;
	text-transform: uppercase;
	text-decoration: none;
	display: inline-block;
	border: 1px solid #000;
	color: #000;
	padding: 5px 12px;
	border-radius: 25px;
	margin: 10px 0px;
}
#blog .bog_wrapper .blog .readmore:hover {
	transition: all 0.3s;
	color: #fff;
	background-color: #000;
	box-shadow: 0 0 5px #000;
}
/*-------------------------------*/
#blog .bog_wrapper .paginate {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 200px;
}
#blog .bog_wrapper .paginate a {
	display: block;
	text-decoration: underline;
	color: #000;
	font-size: 18px;
}

/*======== // Contact me ========*/
.contact_me_bg {
	background: url(img/contact_me_bg2.png) no-repeat;
	background-position: center center;
	background-size: cover;
}
#contact_me {
	overflow: hidden;
}
#contact_me {
	overflow: hidden;
	padding: 70px 0px 30px;
}
#contact_me h1 {
	text-align: center;
	text-transform: uppercase;
	font-size: 35px;
	font-weight: bold;
	margin: 7px 0px;
	margin-top: 0px; 
}
#contact_me > p {
	text-align: center;
	font-size: 20px;
	margin-bottom: 50px;
}

/*======= // Footer =======*/
footer {
	overflow: hidden;
	padding: 20px 0px;
}
footer .left {
	width: 30%;
}
footer .col-sm-4:nth-child(1) {
	margin-top: 5px;
	color: #fff;
}
footer .col-sm-4 ul li {
	list-style: none;
	display: inline-block;
}
footer .col-sm-4 ul li a {
	display: inline-block;
	margin-right: 10px;
}
footer .row .col-sm-4:nth-child(2) ul {
	margin-bottom: 0px;
}
footer .row .col-sm-4:nth-child(2) ul i {
	font-size: 30px;
	color: #8D8D8E;
}
/*--------------------------------*/
footer .row .col-sm-4:nth-child(3) ul a {
	color: #8d8d8e;
	text-decoration: none;
}
footer .row .col-sm-4:nth-child(3) ul a:hover {
	transition: all 0.3s;
	color: #fff;
}
/*========= // To top =========*/
#totop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	font-size: 18px;
	border: none;
	outline: none;
	background-color: #000;
	color: white;
	cursor: pointer;
	padding: 20px;
	border-radius: 50%;
}
#totop span {
	width: 15px;
	height: 13px;
	background: #fff;
	display: block;
	clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
#totop:hover {
	transition: all 0.3s;
	box-shadow: 0px 0px 5px #000;
}

/*======== // Modals ======*/
.modal#hire_me .modal-title {
	text-align: center;
	font-weight: bold;
}


/*========= // Media Queries ==========*/

/*============= 768px ==============*/
@media screen and (max-width: 767px) {
	#mynav .nav {
		width: 50%;
		margin: 0 auto;
		margin-bottom: 30px;
	}
	header nav ul li:last-child a {
		text-align: center;
	}
	.modal#hire_me {
		width: 80%;
		margin: 0 auto;
	}
	/*------------------------------*/
	#recentworks .tab-content > div > .project {
		width: 43%;
		margin: 0px 3.3% 20px;
		min-height: 250px;
	}
	#recentworks .tab-content > div > .project .img a::before {
		font-size: 12px;
	}
	#contact_me form {
		width: 80%;
		margin: 0 auto;
	}
	footer .col-sm-4 {
		text-align: center;
		margin-bottom: 10px;
	}
}

/*============= 567px ===============*/
@media screen and (max-width: 567px) {
	.modal#hire_me {
		width: 85%;
	}
	/*------------------*/
	#welcome .left {
		width: 80%;
		margin: 0 auto;
		padding: 50px 0px;
		float: none;
		padding-bottom: 10px;
	}
	#welcome .right {
		display: none;
	}
	/*--------------------*/
	#recentworks .tab-content {
		padding-top: 30px;
	}
	#recentworks .tab-content > div > .project {
		width: 70%;
		margin-right: 4%;
		margin: 30px auto;
		float: none;

	}
	#recentworks .tab-content > div > .project:nth-child(3n) {
		margin-right: auto;
	}
	#recentworks .tab-content > div > .project:nth-child(2n) {
		margin-right: auto;
	}
	#recentworks .tab-content > div > .project .img a::before {
		font-size: 12px;
	}
	#recentworks .tab-content .project .meta .sub_meta h5 {
		font-size: 12px
	}
	/*-------------------------------*/
	#about_me {
		padding-bottom: 0px;
	}
	#about_me .left {
		width: 80%;
		margin: 0 auto;
		float: none;
	}
	#about_me .left img {
		width: 70%;
		display: block;
		margin: 0 auto;
	}
	#about_me .right {
		width: 80%;
		margin: 0 auto;
		float: none;
	}
	/*-------------------------------*/
	#blog .bog_wrapper .blog {
		width: 48%;
		margin-right: 4%;
	}
	#blog .bog_wrapper .blog:nth-child(3n) {
		margin-right: 4%;
	}
	#blog .bog_wrapper .blog:nth-child(2n) {
		margin-right: 0px;
	}
}

/*============= 480px ===============*/
@media screen and (max-width: 480px) {
	.modal#hire_me {
		width: 90%;
	}
	/*----------------------*/
	#welcome .buttons a {
		padding: 6px 18px;
	}
	/*--------------------*/
	#recentworks .tab-content .project .meta .cat {
		font-size: 10px;
	}
	#recentworks .tab-content .project .meta .sub_meta h4 {
		font-size: 13px;
		width: 85%;
	}
	#recentworks .tab-content .project .meta .sub_meta h5 {
		font-size: 12px;
		width: 15%;
	}
	/*-------------------------------*/
	#about_me .right h1 {
		font-size: 45px;
	}
	#about_me .buttons a {
		padding: 6px 18px;
	}
	/*-------------------------------*/
	#blog .bog_wrapper .blog h2 {
		font-size: 14px;
	}
	/*------------------------------*/
	#recentworks h1,
	#blog h1,
	#contact_me h1 {
		font-size: 30px;
	}
}

/*============= 420px ===============*/
@media screen and (max-width: 420px) {
	.modal#hire_me {
		width: 93%;
	}
	/*--------------------*/
	#mynav .nav {
		margin: 0px 0px 30px;
	} 
	/*--------------------*/
	#welcome .left h1 {
		font-size: 35px;
	}
	/*--------------------*/
	#recentworks .tab-content > div > .project {
		width: 70%;
		margin-right: 0;
		float: none;
		margin: 0px auto 20px;
	}
	#recentworks .tab-content > div > .project:nth-child(3n) {
		margin-right: 0;
		margin: 0px auto 20px;
	}
	#recentworks .tab-content > div > .project:nth-child(2n) {
		margin-right: 0;
		margin: 0px auto 20px;
	}
	/*-------------------------------*/
	#about_me .right h1 {
		font-size: 40px;
	}
	#about_me .right h2 {
		font-size: 30px;
	}
	#about_me .right {
		width: 90%;
		padding-bottom: 10px;
	}
	#about_me .left {
		padding-bottom: 0px;
	}
	/*-------------------------------*/
	#blog .bog_wrapper {
		padding-bottom: 30px;
	}
	#blog .bog_wrapper .blog {
		width: 70%;
		float: none;
		margin-right: 0;
		margin: 0px auto 30px;
	}
	#blog .bog_wrapper .blog:nth-child(3n) {
		margin-right: 0;
		margin: 0px auto 30px;
	}
	#blog .bog_wrapper .blog:nth-child(2n) {
		margin-right: 0px;
		margin: 0px auto 30px;
	}
	/*------------------------------*/
	#recentworks h1,
	#blog h1,
	#contact_me h1 {
		font-size: 25px;
	}
	/*-----------------------*/
	#blog > p,
	#contact_me > p {
		font-size: 17px;
	}
	/*----------------------*/
	#totop {
		right: 5px;
		padding: 15px;
	}
}

/*============= 380px ===============*/
@media screen and (max-width: 380px) {
	header .container {
		padding-left: 10px;
		padding-right: 10px;
	}
	header .logo {
		padding: 15px 0px 10px;
	}
	header .logo .img {
		width: 35px;
		height: 35px;
	}
	header .logo .text {
		margin-top: 0px;
	}
	header .logo .text p {
		font-size: 12px;
		margin-top: 3px;
	}
	header .navbar-toggle {
		margin-right: 5px;
	}
	header .navbar-toggle .icon-bar {
		width: 17px;
	}
	#recentworks .tab-content > div > .project {
		width: 80%;
	}
	/*-------------------------------*/
	#welcome .left {
		width: 95%;
	}
	#welcome .buttons a {
		padding: 5px 12px;
	}
	/*-----------------------*/
	#recentworks ul li a {
		font-size: 12px;
	}
	/*------------------------*/
	#about_me .right h1 {
		font-size: 35px;
	}
	#about_me .right h2 {
		font-size: 27px;
	}
	#about_me .right {
		width: 95%;
	}
	#about_me .buttons a {
		padding: 5px 12px;
	}
	/*-------------------------------*/
	#blog .bog_wrapper {
		padding-bottom: 30px;
	}
	#blog .bog_wrapper .blog {
		width: 80%;
	}
	/*----------------------*/
	#totop {
		right: 5px;
		padding: 12px;
	}
}

/*============= 320px ===============*/
@media screen and (max-width: 320px) {
	header .container {
		padding-left: 10px;
		padding-right: 10px;
	}
	header .logo {
		padding: 15px 0px 10px;
	}
	header .logo .img {
		width: 35px;
		height: 35px;
	}
	header .logo .text {
		margin-top: 0px;
	}
	header .logo .text p {
		font-size: 12px;
		margin-top: 3px;
	}
	header .navbar-toggle {
		margin-right: 5px;
	}
	header .navbar-toggle .icon-bar {
		width: 17px;
	}
	/*---------------------*/
	#welcome .left {
		padding-top: 20px;
	}
	#welcome .left p:nth-child(1) {
		font-size: 23px;
	}
	#welcome .left h1 {
		font-size: 27px;
	}
	#welcome .left h1 + p {
		font-size: 15px !important;
	}
	/*---------------------*/
	#recentworks .tab-content > div > .project {
		width: 88%;
	}
	/*-----------------------*/
	#recentworks ul li a {
		font-size: 11px;
	}
	#recentworks ul li {
		padding: 0;
	}
	/*------------------------*/
	#about_me .right h1 {
		font-size: 35px;
	}
	#about_me .right h2 {
		font-size: 27px;
	}
	#about_me .right {
		width: 100%;
	}
	#about_me .buttons a {
		padding: 4px 8px;
	}
	/*-------------------------------*/
	#review .review .bottom .img {
		margin-top: -30px;
	}
	#review .review .top {
		margin-top: -10px;
	}
	/*-------------------------------*/
	#blog .bog_wrapper .blog {
		width: 90%;
	}
	/*----------------------*/
	#contact_me form {
		width: 90%;
	}
	/*---------------------*/
	footer .col-sm-4:last-child ul {
		padding-left: 0px;
	}
}