/**
* Template Name: Mytimeline - v2.1.0
* Template URL: https://bootstrapmade.com/free-html-bootstrap-template-my-timeline/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

a {
  color: #0563bb;
  text-decoration: none;
  cursor: pointer;
}

a:hover {
  color: #067ded;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}
canvas { /* THREE canvas */
	display: block;
	background: DodgerBlue;
	background: linear-gradient(0deg, rgba(5,255,0,1) 0%, rgba(39,209,58,1) 20%, rgba(0,212,255,1) 24%, rgba(0,212,255,1) 54%, rgba(9,9,121,1) 100%);
	margin: 0 0 auto auto;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1000;
    border-bottom-left-radius: 40%;
}
#canvasBorder {
	display: block;
	margin: 0 0 auto auto;
	position: absolute;
	width: 80vw;
	height: 15vh;
	top: 0;
	right: 0;
	z-index: 10;
    border-bottom-left-radius: 40%;
    -moz-box-shadow: inset 10px -10px 10px #000000;
    -webkit-box-shadow: inset 10px -10px 10px #000000;
    box-shadow: inset 5px -5px 10px #000000;
}
.moveAbove { /* div to keep THREE canvas where it's at */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/

.back-to-top {
  position: fixed;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  right: 15px;
  bottom: 15px;
  background: #0563bb;
  color: #fff;
  transition: display 0.5s ease-in-out;
  z-index: 99999;
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 7px;
  left: 8px;
}

.back-to-top:hover {
  color: #fff;
  background: #0678e3;
  transition: background 0.2s ease-in-out;
}
 
.back-to-top:hover {
  color: #fff;
  background: #0678e3;
  transition: background 0.2s ease-in-out;
}


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #0563bb;
  border-top-color: #fff;
  border-bottom-color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 992px) {
  #header {
    width: 300px;
    background: #fff;
    border-right: 1px solid #e6e9ec;
    left: -300px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  display: flex;
  align-items: center;
  color: #45505b;
  padding: 10px 18px;
  margin-bottom: 8px;
  font-size: 15px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  border-bottom-left-radius: 30px;
  background: #f2f3f5;
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
}

.nav-menu a i {
  font-size: 20px;
}

.nav-menu a span {
  padding: 0 5px 0 7px;
  color: #45505b;
}

@media (min-width: 992px) {
  .nav-menu a {
    width: 56px;
  }
  .nav-menu a span {
    display: none;
    color: #fff;
  }
}

.nav-menu .visited > a {
  color: #45505b;
  background: #F3E9F6;
}

.nav-menu .visited > a span {
  color: #fff;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  color: #fff;
  background: #0563bb;
}

.nav-menu a:hover span, .nav-menu .active > a span, .nav-menu li:hover > a span {
  color: #fff;
}

.nav-menu a:hover, .nav-menu li:hover > a {
  width: 100%;
  color: #fff;
}

.nav-menu a:hover span, .nav-menu li:hover > a span {
  display: block;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #45505b;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #0563bb;
}

/*--------------------------------------------------------------
# home Section
--------------------------------------------------------------*/
#home {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") bottom center no-repeat;
  background-size: cover;
  position: relative;
}

@media (min-width: 992px) {
  #main section:not(:first-child) {
    margin-left: 86px;
  }
}

#home .container {
    height: 100vh;
    width: 100%;
    justify-content: flex-end;
}

@media (min-width: 992px) {
  #home {
    
  }
}

#home:before {
  content: "";
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

.home-box {
	height: fit-content;
	width: fit-content;
	align-self: flex-end;
}

#home:before {
  content: "";
  /*background: rgba(255, 255, 255, 0.5);*/
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#home h1 {
    font-family: Courier, serif;
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #000;
}

#home p {
  color: #000;
  margin: 15px 0 0 0;
  font-size: 26px;
  line-height: 26px;
  margin-top: 0;
  margin-left: 5px;
  font-family: Courier, serif;
}

#home p span {
  color: #000;
  font-family: Courier, serif;
  letter-spacing: 1px;
}

#home .social-links {
  margin: 30px 0;
}

#home .social-links :last-child {
	margin-right: 0;
}

@media (max-width: 992px) {
	#home .social-links {
		margin: 20px auto 70px auto;
	}
}

#home .social-links a {
  font-size: 24px;
  display: inline-block;
  color: #45505b;
  fill: #45505b;
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
  vertical-align: bottom;
}

#home .social-links a:hover {
  color: #0563bb;
}

#home .social-links .polars:hover div svg {
  fill: #0563bb;
}


@media (max-width: 992px) {
  #home {
    text-align: center;
  }
  #home h1 {
    font-size: 32px;
    line-height: 36px;
  }
  #home p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  min-height: 100vh;
  padding-bottom: 30px;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
  padding-top: 12px;
}

.section-title h2 {
  width: auto;
  display: inline-block;
  margin: auto;
  padding-right: 10px;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  color: #45505b;
  line-height: 38px;
  vertical-align: bottom;
}

.section-title i{
  background: #0563bb;
  white-space: nowrap;
  display: inline;
  height: 48px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 24px;
  font-size: 24px;
  line-height: 48px;
  margin-right: 1px;
  color: #fff;
  padding: 12px;
  padding-left: 14px;
}

.section-title h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background: #0563bb;
  bottom: 2px;
  left: 0;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50%;
  height: 4px;
  background: #0563bb;
  bottom: 0;
  left: 0;
}

.section-subtitle {
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  padding-top: 30px;
}

.section-subtitle h3 {
  width: auto;
  display: inline-block;
  margin-bottom: 4px;
  padding-right: 10px;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  color: #45505b;
  line-height: 30px;
  vertical-align: bottom;
}

.section-subtitle .bub {
	border-radius: 50%;
  width: 30px;
  height: 30px;
  background: #0563bb;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-content: center;
  margin: 5px;
  width: 30px;
  height: 30px;
  line-height: 20px;
  padding: 2px 5px;
}
.section-subtitle .bub i {
  white-space: nowrap;
  display: inline;
  font-size: 20px;
  color: #fff;
  width: 20px;
  height: 20px;
  white-space: nowrap;
  line-height: 24px;
}

 .section-subtitle .pin {
  width: 30px;
  height: 30px;
  border-radius: 50% 50% 50% 0;
  background: #0563bb;
  transform: rotate(-45deg);
  display: flex;
  justify-content: center;
  align-content: center;
  margin: 5px;
}

.section-subtitle .pin .rot {
  transform: rotate(45deg);
  margin: auto;
  text-align: center;
}

.section-subtitle .pin i{
  white-space: nowrap;
  display: inline;
  font-size: 20px;
  color: #fff;
  width: 20px;
  height: 20px;
  white-space: nowrap;
  line-height: 24px;
}

.section-subtitle h3::before {
  content: '';
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background: #0563bb;
  bottom: 2px;
  left: 0;
}

.section-subtitle h3::after {
  content: '';
  position: absolute;
  display: block;
  width: 50%;
  height: 4px;
  background: #0563bb;
  bottom: 0;
  left: 0;
}


.section-subtitle p {
  margin: 10px auto;
}

/*--------------------------------------------------------------
# travels
--------------------------------------------------------------*/
.travels {
    margin-top: 0;
}

.travels .section-title {
	padding-bottom: 0px;
}

.travels .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #728394;
}

.travels .content ul {
  list-style: none;
  padding: 0;
}

.travels .content ul li {
  padding-bottom: 10px;
}

.travels .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #0563bb;
}

.travels .content p:last-child {
  margin-bottom: 0;
}

.worldmap {
    background-image: url("https://chart.apis.google.com/chart?cht=map:fixed=-75,-180,80,180&chs=540x385&chf=bg,s,00000000&chco=d0d0d0|0563bb&chld=AQ|MX|CU|US|CA|VA|CQ|JO|EG|FK|UY|PY|JM|CL|BR|AR|GB|CH|ES|PT|NL|IT|IS|DE|FR|CZ|BE|AT|EC|GS");
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 0;
    padding-top: 71.3%;
    border-top: 1px solid #E8E8E8;
}

.ovalLeft, .ovalRight {	
	width: 5%;
	height: 100%;
	background: #fff;
	position: absolute;
}

.ovalLeft {
	left: -2.5%;
	border-radius: 0 50% 50% 0;
	top: 0;
    border-right:3px solid #E8E8E8;
}
.ovalRight {
	right: -2.5%;
	border-radius: 50% 0 0 50%;
	top: 0;
    border-left:3px solid #E8E8E8;
}

@media screen and (max-width: 767px) {
	.ovalLeft, .ovalRight {	
		display: none;
	}
}

#box:before, #box:after {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
    border-bottom-right-radius: 3px;
    bottom: 12px;
    box-shadow: 0 15px 5px rgba(0, 0, 0, 0.4);
    content: "";
    left: 10px;
    max-width: 300px;
    position: absolute;
    top: 80%;
    transform: rotate(-3deg);
    width: 50%;
    z-index: -1;
    padding-top: 10px;
}

#box:after {
    left: auto;
    right: 10px;
    transform: rotate(3deg);
    border-bottom-left-radius: 3px;
}

#box {
	background: rgb(237,252,255);
	background: radial-gradient(circle at 47% 53%, rgba(237,252,255,1) 39%, rgba(218,248,255,1) 70%, rgba(255,248,232,1) 95%);
	border-radius: 10px 10px 10px 10px;
    color: rgba(0, 0, 0, 0.8);
    line-height: 1.5;
    margin: auto;
    position: relative;
}
/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/

.fact .container {
	padding-bottom: 0;
}
.facts .count-box {
	padding: 50px 10px 25px 10px;
	margin-bottom: 30px;
	width: 100%;
	position: relative;
	text-align: center;
	background: #ffff88; /* Old browsers */
	background: -moz-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(81%,#ffff88), color-stop(82%,#ffff88), color-stop(82%,#ffff88), color-stop(100%,#ffffc6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* IE10+ */
	background: linear-gradient(135deg, #ffff88 81%,#ffff88 82%,#ffff88 82%,#ffffc6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffff88', endColorstr='#ffffc6',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	border:1px solid #E8E8E8;
	border-top:15px solid #fdfd86;
	transform: rotate(random(-3deg));
}

.count-box:after {     
	content: "";
	position:absolute;
	z-index:-18;
	right:2px; 
	bottom:20px;
	width: 95%;
	max-width:200px;
	height: 25px;
	background: rgba(0, 0, 0, 0.2);
	box-shadow:2px 15px 5px rgba(0, 0, 0, 0.40);
	-moz-transform: matrix(-1, -0.1, 0, 1, 0, 0);
	-webkit-transform: matrix(-1, -0.1, 0, 1, 0, 0);
	-o-transform: matrix(-1, -0.1, 0, 1, 0, 0);
	-ms-transform: matrix(-1, -0.1, 0, 1, 0, 0);
	 transform: matrix(-1, -0.1, 0, 1, 0, 0);
}


.facts .count-box i {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 42px;
  padding: 12px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
  z-index: 1000;
}

.facts .count-box .peng {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  height: 42px;
  width: 42px;
  padding: 12px;
  background-image: url(../img/penguin.svg);
  background-size: 42px 42px;
  margin-top: 12px;
  stroke: black;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
}

.facts .count-box i:nth-child(2), .facts .count-box div:nth-child(2) {
  position: absolute;
  top: -12px;
  left: 40%;
  transform: translateX(-50%);
  font-size: 42px;
  padding: 12px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
  z-index: 10;
}

.facts .count-box i:nth-child(3), .facts .count-box div:nth-child(3) {
  position: absolute;
  top: -12px;
  left: 60%;
  transform: translateX(-50%);
  font-size: 42px;
  padding: 12px;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.7));
  z-index: 10;
}

.facts .count-box span {
  font-size: 32px;
  line-height: 42px;
  padding: 8px;
  display: inline-block;
  font-weight: 100;
  color: #011426;
  font-family: 'Permanent Marker', cursive;
}

.facts .count-box p {
  padding: 0;
  margin: 12px, 0;
  font-family: "Raleway", sans-serif;
  font-family:'Reenie Beanie', cursive;
  font-weight: 600;
  font-size: 24px;
  line-height: 21px;
}

.facts .count-box b {
  font-size: 24px;
  font-weight: 600;
  font-family: 'Permanent Marker', cursive;
}
/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
#skills {
    margin-top: 0;
    background-color: green;
}
.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #45505b;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #f2f3f5;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  background-color: #0563bb;
}

/*--------------------------------------------------------------
# timeline / resume
--------------------------------------------------------------*/
.timeline .timeline-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #45505b;
}

.timeline .container {
  display: flex;
  flex-flow: column;
}

.timeline .container .section-title {
	flex: 0 1 auto;
}

.timeline .container .row {
	flex: 1 1 auto;
}

.timeline-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.timeline .timeline-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #0563bb;
  position: relative;
}

.timeline .timeline-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #0563bb;
  margin-bottom: 10px;
}

.timeline .timeline-item h5 {
  font-size: 16px;
  background: #f7f8f9;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline .timeline-item ul {
  padding-left: 20px;
}

.timeline .timeline-item ul li {
  padding-bottom: 10px;
}

.timeline .timeline-item:last-child {
  padding-bottom: 0;
}

.timeline .timeline-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #0563bb;
}

.posts-container {
	background: url(../img/blog-divider.png) top center no-repeat;
	max-width: 1200px;
	margin: 0 auto;
    display: block;
}
.post-excerpt {
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	flex-direction: row;
	height: auto;
	min-height: 85px;
}
.post-excerpt-left {
	float: left;
	margin-bottom: 85px;
	justify-content: flex-end;
}
.post-excerpt-right {
	float: right;
	margin-top: 85px;
	justify-content: flex-start;
}
.post-content {
	background-color: #333;
	padding: 15px;
	max-width: 400px;
}
.post-excerpt-left .post-content { text-align: right; }
.post-title {
	color: white;
	margin-top: 0;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 700;
}
.post-description {
	color: #B2B0B0;
	font-size: 13px;
	margin: 0;
}
.post-date-container {
	background: #0563bb;
	height: auto;
	width: 85px;
	text-align: center;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: -webkit-box;
	display: flex;
	align-content: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        -webkit-box-pack: center;
	        justify-content: center;
	-webkit-flex-direction: column;
	    -ms-flex-direction: column;
	        -webkit-box-orient: vertical;
	        -webkit-box-direction: normal;
	        flex-direction: column;
}
.post-month {
	color: #ffffff80;
	text-transform: uppercase;
	font-size: 18px;
	line-height: 18px;
	font-weight: 300;
}
.post-date {
	color: white;
	font-size: 24px;
	line-height: 21px;
	font-weight: 700;
}
.post-arrow-container-right { 
	width: 0;
	height: 0;
	margin-top: 10px;
	border-top: 18px solid transparent;
	border-right: 15px solid #0563bb;
	border-bottom: 18px solid transparent; 
}
.post-arrow-container-left { 
	width: 0;
	height: 0;
	margin-top: 10px;
	border-top: 18px solid transparent;
	border-left: 15px solid #0563bb;
	border-bottom: 18px solid transparent; 
}
@media screen and (max-width: 992px) {
	.timeline .container {
	  height: auto;
	  display: block;
	}
	.post-excerpt { height: auto; }
	.post-excerpt-left { margin-bottom: 50px; }
	.post-excerpt-right { margin-top: 70px; }
	.post-content { max-width: 200px; }
}
@media screen and (max-width: 767px) {
	.timeline .container {
	  height: auto;
	  display: block;
	}
	.post-excerpt-left,
	 .post-excerpt-right {
		float: none;
		margin-top: 0;
		margin-bottom: 15px;
	}
	.post-arrow-container-left, .post-arrow-container-right { display: none; }
	.post-content { max-width: 300px; }
	.post-excerpt {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: -webkit-box;
		display: flex;
		-webkit-justify-content: center;
		    -ms-flex-pack: center;
		        -webkit-box-pack: center;
		        justify-content: center;
	}
	.posts-container {
		background: none;
	}
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #272829;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #0563bb;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(69, 80, 91, 0.8);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.7);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #d7dce1;
  border-left: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #d7dce1;
  border-right: 3px solid #d7dce1;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #45505b;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #45505b;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #45505b;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #148af9;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# hats
--------------------------------------------------------------*/

.hats .icon-box {
  text-align: center;
  padding: 30px 10px 50px 10px;
  transition: all ease-in-out 0.3s;
  background: #fff;
  box-shadow: 3px 5px 9px 0px rgba(110, 123, 131, 0.2);
  width: 100%;
}

.hats .icon-box:hover img {
	animation-play-state: running;
}

.hats .icon-box .icon {
  margin: 0 auto;
  height: auto;
  width: 100%;
  transition: ease-in-out 0.3s;
  position: relative;
}

.hats .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.hats .icon-box p {
	position: relative;
	width: 100%;
	line-height: 24px;
	font-size: 14px;
}

.hats .icon-box .icon img {
  position: absolute;
  display: block;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
}

.animLoop img {  
	animation: fling-minislide 5s infinite;
	animation-play-state: paused;
	opacity: 0;
}
@keyframes fling-minislide {
	0%{
		opacity:1;
	}
	20%{
		opacity:1;
	}
	21%{
		opacity:0;
	}
}
.animLoop img:nth-child(1){
	animation-delay:0s; 
	opacity:1;
	position: relative !important;
}
.animLoop img:nth-child(2){animation-delay:1s;}
.animLoop img:nth-child(3){animation-delay:2s;}
.animLoop img:nth-child(4){animation-delay:3s;}
.animLoop img:nth-child(5){animation-delay:4s;}


.animSLoop img {  
	animation: scuba-minislide 8s infinite;
	animation-play-state: paused;
	opacity: 0; 
	width: 100%; 
	height: auto;
}
@keyframes scuba-minislide {
	0%{
		opacity:1;
	}
	12.5%{
		opacity:1;
	}
	13%{
		opacity:0;
	}
}
.animSLoop img:nth-child(1){
	animation-delay:0s; 
	opacity:1;
	position: relative !important;
}
.animSLoop img:nth-child(2){animation-delay:1s;}
.animSLoop img:nth-child(3){animation-delay:2s;}
.animSLoop img:nth-child(4){animation-delay:3s;}
.animSLoop img:nth-child(5){animation-delay:4s;}
.animSLoop img:nth-child(6){animation-delay:5s;}
.animSLoop img:nth-child(7){animation-delay:6s;}
.animSLoop img:nth-child(8){animation-delay:7s;}


.animPP img {  
	animation: pingpong 10s infinite;
	animation-play-state: paused;
	opacity: 0; 
	width: 100%; 
	height: auto;
	z-index: 0;
}
@keyframes pingpong {
	0%{
		opacity:1;
	}
	10%{
		opacity:1;
	}
	11%{
		opacity:0;
	}
}
.animPP img:nth-child(1){
	animation-delay:0s; 
	opacity:1;
	position: relative !important;
}
.animPP img:nth-child(2){
	animation-delay:1s;
}
.animPP img:nth-child(3){
	animation-delay:2s;
}
.animPP img:nth-child(4){
	animation-delay:3s;
}
.animPP img:nth-child(5){
	animation-delay:4s;
}
.animPP img:nth-child(6){
	animation-delay:5s;
}
.animPP img:nth-child(7){
	animation-delay:6s;
}
.animPP img:nth-child(8){
	animation-delay:7s;
}
.animPP img:nth-child(9){
	animation-delay:8s;
}
.animPP img:nth-child(10){
	animation-delay:9s;
}

.hats .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}

.hats .icon-box h4 {
  font-weight: 600;
  margin: 10px auto 15px auto;
  font-size: 22px;
  width: auto;
  display: inline-block;
}

.hats .icon-box h4 a {
  color: #45505b;
  transition: ease-in-out 0.3s;
}

.hats .icon-box hr {
	position: relative;
	margin: 0;
	margin-top: 2px;
	color: #0563bb;
	border: 1px solid #0563bb;
	width: 90%;
	left: 5%;
	opacity: 100%;
}
.hats .icon-box:hover {
  border-color: #fff;
  box-shadow: 3px 9px 5px 0px rgba(0, 0, 0, 0.08);
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
	overflow: hidden;
	display: block;
	margin-bottom: 60px;
}
.testimonials .container {
	display: block;
}
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: #90c8fc;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
	height: auto;
	margin-bottom: 60px;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #0563bb;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0563bb;
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
	min-height: auto;
}

.contact .info {
  width: 100%;
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #0563bb;
  float: left;
  width: 44px;
  height: 44px;
  background: #eef7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #45505b;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #728394;
  display: inline-block;
}

.contact .info .email, .contact .info .phone {
  margin-top: 40px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i {
  background: #0563bb;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 4px;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: #0563bb;
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #0678e3;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding: 40px 0;
}

.portfolio-details .portfolio-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #0563bb !important;
}

.portfolio-details .portfolio-info {
  padding-top: 45px;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-info p {
  font-size: 15px;
  padding: 15px 0 0 0;
}

@media (max-width: 992px) {
  .portfolio-details .portfolio-info {
    padding-top: 20px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #f7f8f9;
  color: #45505b;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 0;
  margin: 0 0 15px 0;
}

#footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 40px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 24px;
  display: inline-block;
  background: #0563bb;
  color: #fff;
  line-height: 1;
  padding: 6px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  vertical-align: bottom;
}

/* 
.polars div {
  display: inline-block;
  fill: #45505b;
  transition: 0.3s;
  height: 24px;
  width: 24px;
  background-image: url(../img/polarsteps.svg);
  background-size: 24px 24px;
}
 */

.polars div {
  display: inline-block;
  fill: #45505b;
  transition: 0.3s;
  height: 24px;
  width: 24px;
}

#footer .social-links .polars div {
	fill: #fff;
}

#footer .social-links a:hover {
  background: #0678e3;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}

#footer .credits {
  font-size: 13px;
}
