/*==============================================================================

	Author Name		:	Fullstackdev
	Product Name    :	MyVCard - Responsive & Resume/CV/vCard Template

--------------------------------------------------------------------------------
	CSS Contents
--------------------------------------------------------------------------------


	01. Basic general syltes 

	02. Home

	03. Menu

	04. Section layout (common for all section layout)

	05. About Me Section

	06. Resume Section

	07. Portfolio Section

	08. My blog Section

	09. Contact Me Section
	 
	10. Responsive CSS



================================================================================*/
/* Base */
/*============================================
=           01. Basic general syltes             =
============================================*/
@import url("https://fonts.googleapis.com/css?family=Roboto|Roboto+Slab");
* {
  font-family: 'Roboto', sans-serif;
}

.toggle-menu > span,
.post-nav a,
.blog-post > .inner > .content > .read-more,
.btn-custom, .menu-nav > ul > li > a > span > span,
#preloader > .inner > .loader > .loader-text,
h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif, Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  background: #202020;
  color: #202020;
  overflow: hidden;
}

body, html, #wraper {
  height: 100%;
  width: 100%;
}

body {
  height: 100%;
  width: 100%;
  z-index: 100000;
}

/*============================================
=            Typo vertical rythem            =
============================================*/
/**
 *
 * Font-size = 100% (16px)
 * 
 * line-height = 1.428
 * 
 * Type-scale = 1.125  Major second
 * 
 * Margin and padding multiple of line-height
 *
 */
html {
  font-size: 100%;
  line-height: 1.428;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
details,
hr,
fieldset,
pre,
table {
  margin: 0 0 1.428rem;
}

.yotta {
  font-size: 2.2807rem;
  line-height: 3.2130rem;
}

.zetta {
  font-size: 2.0273rem;
  line-height: 2.8560rem;
}

h1,
.exa {
  font-size: 1.8020rem;
  line-height: 2.4990rem;
}

h2,
.peta {
  font-size: 1.6018rem;
  line-height: 2.1420rem;
}

h3,
.tera {
  font-size: 1.4238rem;
  line-height: 2.1420rem;
}

h4,
.giga {
  font-size: 1.2656rem;
  line-height: 1.7850rem;
}

h5,
.mega {
  font-size: 1.1250rem;
  line-height: 1.7850rem;
}

h6,
.kilo,
input,
textarea {
  font-size: 1.0000rem;
  line-height: 1.4280rem;
}

small,
.milli {
  font-size: 0.8889rem;
  line-height: 1.4280rem;
}

.micro {
  font-size: 0.7901rem;
  line-height: 1.4280rem;
}

ul {
  padding-left: 1em;
}

ol {
  padding-left: 1.6em;
}

/*============================
=            02. Home            =
============================*/
/*----------  Home Layout  ----------*/
.l-home {
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/*----------  Home elements  ----------*/
/* border style */
.borders {
  position: relative;
  z-index: 59;
}

.borders .border {
  position: fixed;
  background: #18bc9c;
  z-index: 59;
}

.borders__top, .borders__bottom {
  left: 0;
  width: 100%;
  height: 35px;
}

.borders__top {
  top: 0;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.75);
}

.borders__bottom {
  bottom: 0;
}

.borders__left, .borders__right {
  top: 0;
  width: 35px;
  height: 100%;
}

.borders__left {
  left: 0;
}

.borders__right {
  right: 0;
}

/* main-bg / background img */
.main-bg {
  background-size: cover;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  transition: all .3s ease, opacity .3s .3s, z-index 0s .6s;
}

.main-bg--dim {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #202020;
  height: 100%;
  width: 100%;
  opacity: .35;
  transition: all .3s ease;
}

.main-bg--deactive {
  transform: translate3d(-7%, 0, 0);
}

/* Intro text  */
.intro-text {
  position: absolute;
  transition: all .3s ease;
  z-index: 5;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.intro-text__title {
  font-size: 4.284rem;
  line-height: 1.5em;
  margin-top: 0;
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFF;
}

.intro-text__sub-title {
  font-size: 1rem;
  color: #FFF;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
  text-align: center;
}

.intro-text--is-hide {
  opacity: 0;
  transform: translate3d(15%, 0, 0);
}

/*Typed effect */
.no-js #typed-strings {
  display: none;
}

.typed-cursor {
  opacity: 1;
  animation: blink 2s infinite;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*image slider img settings */
.carousel-inner > .item > a > img, .carousel-inner > .item > img, .img-responsive, .thumbnail a > img, .thumbnail > img {
  max-width: inherit;
  max-height: inherit;
}

/*============================
=            03. Menu            =
============================*/
/*----------  Menu Layout  ----------*/
.l-menu {
  position: fixed;
  z-index: 48;
  top: 37px;
  right: 0;
  bottom: 37px;
  width: 55%;
  background-color: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translate3d(100%, 0, 0);
  transition: all .3s ease;
}

.l-menu--active {
  transform: translate3d(0, 0, 0);
  transition: all .3s ease;
  right: 37px;
}

/*----------  Menu elements  ----------*/
/** menu btn */
.toggle-menu {
  display: block;
  position: fixed;
  right: 0px;
  top: 50%;
  z-index: 199;
  width: 35px;
  margin-top: -36px;
  text-decoration: none !important;
  transition: all .3s ease;
}

.toggle-menu--left {
  left: 0px;
}

.toggle-menu__btn {
  cursor: pointer;
  position: relative;
  display: block;
  margin: 20px auto;
  height: 32px;
  width: 23px;
  top: 50%;
  z-index: 5;
  /* btn after click */
}

.toggle-menu__btn > span {
  display: block;
  width: 2px;
  height: inherit;
  background: #FFF;
  position: absolute;
  top: 0;
  transition: transform .3s ease, margin .3s ease,  height .3s ease,  left .3s .3s ease,  background .3s ease;
}

.toggle-menu__btn > .l1 {
  left: 4px;
}

.toggle-menu__btn > .l2 {
  left: 11px;
  transition: all .3s ease, opacity .3s .3s ease;
}

.toggle-menu__btn > .l3 {
  left: 17px;
}

.toggle-menu__btn--active > span {
  transition: left .3s ease, height .3s .3s ease, margin .3s .3s ease,  transform .3s .3s ease,  background .3s ease;
}

/* .toggle-menu__btn--active .l2 {
  opacity: 0;
  transition: all .3s ease;
} */

.toggle-menu__btn--active > .l1,
.toggle-menu__btn--active > .l2 {
  left: 11px;
  height: 19px;
  margin-top: 2px;
}

.toggle-menu__btn--active > .l1 {
  transform: rotate(45deg) translate3d(0, 0, 0);
}

.toggle-menu__btn--active > .l2 {
  transform: rotate(-45deg) translate3d(0, 0, 0);
}

/* Menu Nav verticlal*/
.menu__items {
  list-style: none;
  padding: 0;
  width: 350px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  top: 50%;
  transform: translate3d(0, -50%, 0);
}

.menu__items .item {
  padding: 16px 0;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 15px, 0);
}

.menu__items .item > a {
  font-size: 19px;
  color: #202020;
  text-decoration: none;
  height: 1em;
  font-weight: 500;
  line-height: 0.9em;
  vertical-align: middle;
  position: relative;
  display: inline-block;
  width: 100%;
  /* text-transform: uppercase; */
  transition: all .3s ease;
}

.menu__items .item > a > span {
  position: absolute;
  overflow: hidden;
  height: 100%;
  width: 100%;
  left: 0;
  transition: all .3s ease;
}

.menu__items .item > a:hover > span {
  transform: scale(1.2);
  color: #18bc9c;
}

.menu__items .item.low-opacity > a {
  opacity: .4;
}

.menu--active .item {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition: all .3s 3s ease;
}

.menu--active .item:nth-child(1) {
  transition-delay: 0.5s;
}

.menu--active .item:nth-child(2) {
  transition-delay: 0.7s;
}

.menu--active .item:nth-child(3) {
  transition-delay: 0.9s;
}

.menu--active .item:nth-child(4) {
  transition-delay: 1.1s;
}

.menu--active .item:nth-child(5) {
  transition-delay: 1.3s;
}

.menu--active .item:nth-child(6) {
  transition-delay: 1.5s;
}

.menu--active .item:nth-child(7) {
  transition-delay: 1.7s;
}

.menu--active .item:nth-child(8) {
  transition-delay: 1.9s;
}

.menu--active .item:nth-child(9) {
  transition-delay: 2.1s;
}

.menu--active .item:nth-child(10) {
  transition-delay: 2.3s;
}

/*=======================================
= 04. Section layout (common for all section layout) =
=======================================*/
/*----------  Section layout  ----------*/
.section {
  position: relative;
  z-index: -1;
}

.section > .bg {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-size: cover;
  z-index: 1;
  opacity: 0;
  z-index: 5;
  transition: all .3s ease;
  transform: translate3d(0, 0, 0);
}

.section > .content {
  z-index: 15;
  width: 55%;
  top: 35px;
  bottom: 35px;
  right: 0;
  background-color: #fff;
  position: fixed;
  padding: 5.712rem;
  padding-bottom: 0;
  overflow-y: auto;
  transition: all .3s ease;
  transform: translate3d(100%, 0, 0);
}

.section > .content:after {
  content: ' ';
  height: 5.712rem;
  display: block;
}

.section.active {
  z-index: 40;
}

/* section after menu button or menu item clicked*/
body.show-menu.show-section .section.active > .content {
  transform: translate3d(100%, 0, 0);
  right: 0;
}

body.show-section .section.active > .content {
  transform: translate3d(0, 0, 0);
  right: 35px;
}

body.show-section .section.active > .bg {
  opacity: 1;
  transition: all .3s .3s ease;
  transform: translate3d(-7%, 0, 0);
}

body.show-section.show-menu .section.active > .bg {
  transform: translate3d(0, 0, 0);
  opacity: 0;
  transition: transform .3s ease, opacity .3s .3s ease;
}

body.show-section.show-menu .main-bg {
  transform: translate3d(-7%, 0, 0);
  transition: transform .3s .3s ease;
}

body.show-section .main-bg:after {
  opacity: 0 !important;
}

body.show-section .intro-text {
  opacity: 0;
  transform: translate3d(-15%, 0, 0);
}

/*----------  Section elements  common  ----------*/
/*ScrollBar*/
.myscroll::-webkit-scrollbar,
.myscroll::-webkit-scrollbar {
  height: 10px;
  width: 10px;
  background: #FFF;
}

.myscroll::-webkit-scrollbar-thumb,
.myscroll::-webkit-scrollbar-thumb {
  border: solid 4px #FFF;
  background: #FFF;
}

.myscroll:hover::-webkit-scrollbar-thumb,
.myscroll:hover::-webkit-scrollbar-thumb {
  background: #808080;
}

.myscroll::-webkit-scrollbar-thumb:hover,
.myscroll::-webkit-scrollbar-thumb:hover {
  background: #202020;
}

.myscroll::-moz-scrollbar,
.myscroll::-moz-scrollbar {
  height: 10px;
  width: 10px;
  background: #FFF;
}

.myscroll::-moz-scrollbar-thumb,
.myscroll::-moz-scrollbar-thumb {
  border: solid 4px #FFF;
  background: #FFF;
}

.myscroll:hover::-moz-scrollbar-thumb,
.myscroll:hover::-moz-scrollbar-thumb {
  background: #808080;
}

.myscroll::-moz-scrollbar-thumb:hover,
.myscroll::-moz-scrollbar-thumb:hover {
  background: #202020;
}

.myscroll::scrollbar,
.myscroll::scrollbar {
  height: 10px;
  width: 10px;
  background: #FFF;
}

.myscroll::scrollbar-thumb,
.myscroll::scrollbar-thumb {
  border: solid 4px #FFF;
  background: #FFF;
}

.myscroll:hover::scrollbar-thumb,
.myscroll:hover::scrollbar-thumb {
  background: #808080;
}

.myscroll::scrollbar-thumb:hover,
.myscroll::scrollbar-thumb:hover {
  background: #202020;
}

/*============================
=   05. About Me Section         =
============================*/
/*=====  About Me / Layout  ======*/
/*=====  About Me / elements  ======*/
.section-block {
  margin-bottom: 4.284rem;
}

/*INFO BLOCK*/
.person-pic {
  color: #fff;
  position: relative;
  display: block;
  overflow: hidden;
  max-width: 310px;
  margin: 0 auto 1.428rem;
  text-align: center;
}

.person-pic * {
  box-sizing: border-box;
}

.person-pic img {
  opacity: 1;
  min-width: 250px;
  min-height: 386px;
  transition: opacity 0.35s;
}

.person-pic__cap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: left;
}

.person-pic__cap > div {
  float: left;
  height: 100%;
  overflow: hidden;
  width: 50%;
  position: relative;
}

.person-pic .part1, .person-pic .part2 {
  display: inline-block;
  margin: 0;
  max-width: 50%;
  padding: 20px;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  transition: opacity 0.45s,transform 0.45s;
}

.person-pic .part1 {
  text-align: right;
  transform: translate3d(50%, 0%, 0);
  transition-delay: 0s;
  background: #202020;
  /* The Fallback */
  background: rgba(32, 32, 32, 0.5);
}

.person-pic .part2 {
  display: block;
  bottom: 0;
  background: #18bc9c;
  /* The Fallback */
  background: rgba(24, 188, 156, 0.85);
  transform: translate3d(50%, 0%, 0);
  transition-delay: 0s;
}

.person-pic .part2 p {
  text-align: left;
  font-weight: 300;
  top: 0%;
  color: #fff;
}

.person-pic:hover img {
  opacity: 0.7;
}

.person-pic:hover .person-pic__cap .part1 {
  transform: translate3d(0%, 0%, 0);
  transition-delay: 0.3s;
}

.person-pic:hover .person-pic__cap .part2 {
  transform: translate3d(100%, 0%, 0);
  transition-delay: 0.3s;
}

.person-pic:hover .person-pic__cap .part1 {
  opacity: 1;
}

.person-pic:hover .person-pic__cap .part2 {
  opacity: 1;
}

.person-pic:hover .person-pic__cap::before {
  background: #18bc9c;
  top: 0px;
  bottom: 0px;
  opacity: 1;
  transition-delay: 0s;
}

.vertical-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  font-size: 24px;
  word-wrap: break-word;
  font-weight: 300;
  text-transform: uppercase;
  line-height: 2.5rem;
}

.vertical-text span {
  font-weight: 800;
  color: #18bc9c;
}

.social-media-list {
  list-style-type: none;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.social-media-list li {
  position: relative;
}

.social-media-list li i {
  padding: 12px 0;
  color: #fff;
  font-size: 1.8rem;
  transition: all .3s ease;
}

.social-media-list li i:hover {
  transform: scale(1.4);
  padding-bottom: 5px;
}

.social-media-list li a:hover span {
  background: blue;
  color: white;
}

.social-media-list li span {
  display: block;
  padding: 10px;
  text-align: center;
}

.social-media-list li span:hover {
  display: block;
}

/*person Informaiton*/
.person-info {
  font-size: 16px;
}

.person-info__list {
  list-style: none;
}

.person-info__list > li {
  color: #808080;
}

.person-info__list > li h4, .person-info__list > li span {
  display: inline-block;
  vertical-align: baseline;
}

.person-info__list > li h4 {
  font-size: 16px;
  color: #202020;
}

.person-info__list > li span {
  font-size: 16px;
}

.person-info > p {
  line-height: 1.8em;
  color: #808080;
}

/* buttons*/
a.btn-custom {
  color: #202020;
  text-decoration: none;
}

.btn-custom {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: #202020;
  background: transparent;
  display: inline-block;
  padding: 10px 16px;
  border: solid 2px #18bc9c;
  position: relative;
  z-index: 5;
  overflow: hidden;
  transition: all .3s ease;
}

.btn-custom:after {
  content: ' ';
  position: absolute;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: #18bc9c;
  transition: all .3s ease;
}

.btn-custom:hover {
  color: #FFF;
  border-color: #202020;
}

.btn-custom:hover:after {
  top: 0;
  opacity: 1;
  visibility: visible;
}

/*service block*/
.service {
  position: relative;
  width: 100%;
  height: 5.712rem;
  padding: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all .3s ease;
}

.service:hover {
  box-shadow: inset -1px 1px 3px 0px rgba(0, 0, 0, 0.3);
}

.service__title {
  position: absolute;
  width: 100%;
  font-size: 16px;
  line-height: 1.5em;
  transition: all 1s ease;
}

.service__title h4 {
  display: inline-block;
  font-size: 1rem;
}

.service__intro {
  display: inline-block;
  position: absolute;
  opacity: 0;
  transform: translate3d(100%, 0, 0);
  display: inline-block;
  color: #9a9a9a;
  transition: all 1s ease;
}

.service__intro p {
  width: 95%;
  text-align: center;
  line-height: 1.5em;
}

.service__intro a {
  display: block;
  text-decoration: none;
  font-size: 24px;
  line-height: 12px;
  color: #18bc9c;
  letter-spacing: 3px;
}

.service:hover .service__intro {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.service:hover .service__title {
  transform: translate3d(-100%, 0, 0);
}

.round-icon {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin: 0 10px;
  background: #fff;
  color: #18bc9c;
  border: 2px solid #18bc9c;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  font-weight: bold;
  transition: all 1s ease;
}

.round-icon:hover {
  background: #18bc9c;
  color: #fff;
}

/*funfact block*/
.funfacts-block {
  margin-bottom: 0;
}

.funfact {
  padding: 10px;
}

.funfact > h4 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.3rem;
}

.funfact > p {
  margin: 0;
  width: 100%;
  font-size: 14px;
  font-style: italic;
  letter-spacing: 1px;
  color: #808080;
}

/*============================
=   06. Resume Section            =
============================*/
/*----------  Resume Layout  ----------*/
/*----------  Resume elements  ----------*/
.education-block {
  padding-top: 40px;
}

/** Timeline */
.timeline-header {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  margin: 0;
  display: inline-block;
  background: #18bc9c;
  color: #FFF;
  padding: 8px 15px;
}

.timeline {
  padding: 0;
  list-style: none;
  margin: 0;
  position: relative;
  padding-top: 40px;
}

.timeline:before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 1px;
  background: #18bc9c;
}

.timeline:after {
  content: ' ';
  clear: both;
  display: table;
}

.timeline .timeline__item {
  margin-bottom: 40px;
  padding-left: 40px;
}

.timeline .timeline__item__content {
  position: relative;
  display: block;
  padding: 15px;
  border: solid 1px #18bc9c;
}

.timeline .timeline__item__content:before {
  content: ' ';
  position: absolute;
  top: 10px;
  right: 100%;
  height: 1px;
  width: 40px;
  background: #18bc9c;
}

.timeline .timeline__item__content:after {
  content: ' ';
  position: absolute;
  top: 4px;
  left: -46px;
  height: 12px;
  width: 12px;
  background: #FFF;
  border: solid 1px #18bc9c;
  border-radius: 50%;
}

.timeline .timeline__item__content > h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 2px;
}

.timeline .timeline__item__content > em {
  font-size: 14px;
  font-style: italic;
  color: #808080;
}

.timeline .timeline__item__content > p {
  font-size: 16px;
  line-height: 1.8em;
  margin: 0;
  margin-top: 4px;
  color: #404040;
}

.experience-block {
  padding-top: 40px;
}

/** Skill section */
.skills-block {
  padding-top: 5.712rem;
}

.skills-block > .block-header {
  margin-bottom: 40px;
}

.skill {
  position: relative;
  margin-bottom: 40px;
}

.skill__name {
  margin: 0;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.skill__percent {
  position: absolute;
  right: 0;
  top: 0;
  line-height: 15px;
}

.skill__bar {
  border: solid 1px #18bc9c;
  padding: 3px;
}

.skill__bar__percent {
  width: 0%;
  background: linear-gradient(to right, #128f76, #18bc9c, #51e9cb);
  height: 4px;
}

a.btn-resume {
  color: #fff;
  text-decoration: none;
}

.btn-resume {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  color: #fff;
  background: #18bc9c;
  display: inline-block;
  padding: 10px 16px;
  border: solid 2px #fff;
  position: relative;
  z-index: 5;
  overflow: hidden;
  transition: all .3s ease;
}

.btn-resume:after {
  content: ' ';
  position: absolute;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: #fff;
  transition: all .3s ease;
}

.btn-resume:hover {
  color: #202020;
  border-color: #18bc9c;
}

.btn-resume:hover:after {
  top: 0;
  opacity: 1;
  visibility: visible;
}

/*============================
=  07. Portfolio Section           =
============================*/
/*----------  Portfolio Layout  ----------*/
/*----------  Portfolio elements  ----------*/
.port-btn {
  background-color: white;
  /* Green */
  border: none;
  color: #9da3a2;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 15px;
  margin: 4px 10px 4px 0px;
  cursor: pointer;
  transition: transform .2s ease;
}

.port-btn:focus {
  outline: 0;
}

.port-btn--active {
  background-color: white;
  color: #18bc9c;
  transition: color .3s ease;
  transform: scale(0.95);
}

.portfolio {
  list-style: none;
  padding: 0;
  margin: 0 -10px;
  margin-top: 50px;
}

.portfolio__item {
  margin-bottom: 30px;
}

.portfolio__item > figure {
  position: relative;
  margin-bottom: 0px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.portfolio__item > figure:hover > .view-project {
  opacity: 1;
  visibility: visible;
}

.portfolio__item > figure > img {
  display: block;
  max-width: 100%;
}

.portfolio__item > figure > .view-project {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  text-decoration: none;
  display: block;
  color: #18bc9c;
  opacity: 0;
  visibility: hidden;
  transition: all .5s ease;
}

.portfolio__item > figure > .view-project i {
  font-size: 40px;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: auto;
  text-align: center;
  transform: translateY(-50%);
}

figcaption.content {
  padding: 15px;
  background-color: #F0F0F0;
}

figcaption.content > h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  margin-bottom: 4px;
}

figcaption.content > p {
  margin: 0;
  font-size: 12px;
  color: #808080;
}

.popup-box {
  background-color: #FFF;
  max-width: 450px;
  margin: 0 auto;
  overflow-y: auto;
  position: relative;
  padding: 5px;
}

.popup-box figure img {
  max-width: 100%;
}

.popup-box > .mfp-close {
  top: 0;
  background-color: #FFF;
  opacity: 1;
}

.popup-box > .content-view {
  padding: 25px;
}

.popup-box > .content-view > h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.popup-box > .content-view > p {
  line-height: 1.8em;
  font-size: 14px;
  color: #808080;
}

/*============================
=    08. My blog Section     =
============================*/
/*----------  My blog Layout  ----------*/
/*----------  My blog elements  ----------*/
/*================================================================================
	Blog Section
================================================================================*/
.user-avatar {
  margin-bottom: 2.856rem;
}

.user-avatar a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.user-avatar a > img {
  width: 2.856rem;
  height: 2.856rem;
  display: inline-block;
  vertical-align: middle;
  border-radius: 100%;
}

.user-avatar__comment {
  font-size: 14px;
  font-style: italic;
  color: #808080;
  margin: 0 8px;
  padding: 10px;
}

.blog-post {
  position: relative;
  margin-bottom: 4.284rem;
  padding: 1.428rem;
  border-radius: 3px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.blog-post > .inner {
  margin: 0 10px;
}

.blog-post > .inner img {
  width: 100%;
}

.postmeta__authorlockup {
  padding: 0 10px;
  font-size: 14px;
  background-color: #ccc;
  margin-bottom: 2rem;
}

.post-date {
  color: #808080;
  text-transform: uppercase;
}

.divider {
  font-weight: bold;
  margin: 0 5px;
}

.post-category {
  color: #18bc9c;
  text-transform: uppercase;
}

.post-intro {
  font-size: 16px;
}

.read-more {
  font-size: 16px;
  /* text-transform: uppercase; */
}

.read-more a {
  text-decoration: none;
  color: #808080;
  transition: all .5s ease;
}

.read-more a:hover {
  color: #18bc9c;
}

/*============================
=   09. Contact Me Section     =
============================*/
/*----------  Contact Me Layout  ----------*/
/*----------  Contact Me elements  ----------*/
.contact-block > .block-header {
  margin-bottom: 40px;
}

.contact-info {
  position: relative;
  margin-bottom: 30px;
}

.contact-form {
  margin-bottom: 2.856rem;
}

.contact-form .btn-custom {
  font-size: 12px;
}

.form-control {
  box-shadow: none !important;
  border-radius: 0;
  border-color: #A0A0A0;
  height: auto;
  padding: 10px;
  font-size: 14px;
}

.form-control:focus {
  border-color: #202020;
}

textarea.form-control {
  resize: vertical;
  min-height: 180px;
}

.alert {
  position: relative;
  border-radius: 0;
  background: #FFF;
}

button.btn-submit {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  color: #fff;
  background: #18bc9c;
  display: inline-block;
  padding: 10px 16px;
  border: solid 2px #fff;
  position: relative;
  z-index: 5;
  overflow: hidden;
  transition: all .3s ease;
  margin-bottom: 1.428rem;
}

button.btn-submit:focus {
  outline: 0;
}

button.btn-submit:after {
  content: ' ';
  position: absolute;
  top: 100%;
  opacity: 0;
  visibility: hidden;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -1;
  background: #fff;
  transition: all .3s ease;
}

button.btn-submit:hover {
  color: #202020;
  border-color: #18bc9c;
}

button.btn-submit:hover:after {
  top: 0;
  opacity: 1;
  visibility: visible;
}

.contact-infos {
  font-size: 16px;
}

.contact-infos__list {
  list-style: none;
}

.contact-infos__list > li {
  color: #808080;
}

.contact-infos__list > li h4, .contact-infos__list > li span {
  display: inline-block;
  vertical-align: baseline;
}

.contact-infos__list > li h5 {
  font-size: 16px;
  color: #202020;
  display: inline-block;
}

.contact-infos__list > li h5 span {
  font-family: 'Roboto', sans-serif;
  color: #808080;
  font-size: 16px;
  margin-left: 5px;
  font-weight: normal;
}

.social-media__list {
  list-style-type: none;
  padding-left: 0;
  display: inline-block;
  margin-left: 16px;
}

.social-media__list li {
  display: inline;
}

.social-media__list li a {
  text-decoration: none;
}

.social-media__list li i {
  margin-right: 16px;
  color: #18bc9c;
  font-size: 1.4rem;
  transition: all .3s ease;
}

.social-media__list li i:hover {
  transform: scale(1.4);
  padding-bottom: 5px;
}

.mymap {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.09);
  width: 100%;
  height: 500px;
}

/*================================================================================
	10. Responsive CSS
================================================================================*/
@media (max-width: 992px) {
  .l-menu,
  .section > .content {
    width: auto;
    left: 35px;
  }
  .section > .content {
    padding: 70px;
    padding-bottom: 0;
  }
  .section > .content:after {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .portfolio-items > li,
  .l-menu-nav > ul,
  .blog-post {
    width: 100%;
  }
  .intro-text > h1 {
    font-size: 48px;
    margin-bottom: 5px;
  }
  .intro-text > p {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .borders > .borders__top,
  .borders > .borders__bottom {
    height: 10px;
  }
  .borders > .borders__right {
    display: block;
    transition: all .3s ease;
  }
  .borders > .borders__left {
    width: 10px;
  }
  .main-section {
    padding: 10px;
    padding-left: 40px;
  }
  .l-menu,
  .section > .content {
    top: 11px;
    right: 0px;
    bottom: 11px;
    left: 10px;
  }
  body.show-menu .l-menu,
  body.show-section .section.active > .content {
    left: 10px;
  }
  body.show-menu .l-menu .menu__items {
    left: -35px;
  }
  .section > .content {
    padding: 50px 20px;
    padding-bottom: 0;
  }
  .section > .content:after {
    height: 50px;
  }
  .contact-infos > div {
    width: 100%;
    float: none;
  }
}

@media (max-width: 400px) {
  .intro-text > h1 {
    font-size: 33px;
    margin-bottom: 15px;
  }
  .info-list > li {
    width: 100%;
    float: none;
  }
}
