/*Font Awesome Free Icon*/
@import url("https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/*Google fonts*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Rubik:500,700,900&display=swap");

/* General Style */
body {
  margin: 0;
  line-height: 1.5;
  font-size: 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.text-danger{
  color: #ec1839;
}

.text-bold{
  font-weight: 500;
}

a {
  text-decoration: none;
}

* {
  padding: 0;
  margin: 0;
  outline: none;
  box-sizing: border-box; /*el tamaño del box no se modifica por su contenido*/
}

::before,
::after {
  box-sizing: border-box;
}

input,
textarea,
select {
  font-family: "Montserrat", sans-serif;
}

.alert{
    opacity: 0;
    display: flex;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 600px;
    padding: 1.5em;
    border-radius: 1em;
    
}

.alert.show {
  z-index: 200;
  animation: showAlert 6s ease;
}

@keyframes showAlert {
  0% {
    opacity:0;
  }
  20% {
    opacity:100;
  }
  80% {
    opacity:100;
  }
  100% {
    opacity:0;
  }
}

.modal{
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 190;
  display: none;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.modal.open {
  display: -ms-flexbox;
  display: flex;
}

.modal .modal-content{
  
  background-color: #fff;
  padding: 2em;
  border-radius: 16px;
  max-height: 95%;
  overflow-y: auto;
  width: 50%;
  min-width: 420px;
}

.img-form{
  display: flex;
  align-items: center;
  margin: 0 auto;
  width: 280px;
}

.modal .modal-content .modal-header{
  border-bottom: 1px solid #d4d4e3;
  padding-bottom: 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #302e4d;
}

.modal .modal-content .modal-header button{
  border:none;
  color:#302e4d;
  background-color: #fff;
  font-size: 24px;
  cursor:pointer;
}

.modal .modal-content .modal-body{
  padding-top: 1em;
  height: 100%;
}

section {
  background-color: #f2f2fc;
  min-height: 100vh;
  display: block;
  padding: 0 30px;
  position: fixed;
  left: 270px;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
  overflow-x: hidden;
  overflow-y: auto;
  opacity: 1;
  transition: all 0.5s ease;
}

section.back-section {
  z-index: 1;
}

section.active {
  opacity: 1;
  z-index: 2;
  animation: slideSection 0.8s ease;
}

@keyframes slideSection {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0%);
  }
}

section .container {
  padding-top: 60px;
  padding-bottom: 70px;
}

.section-title {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.section-title h2 {
  font-size: 40px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  margin: 0;
  position: relative;
  margin-bottom: 60px;
}

.section-title h2::before {
  content: "";
  height: 4px;
  width: 50px;
  position: absolute;
  top: 100%;
  left: 0;
}

.section-title h2::after {
  content: "";
  height: 4px;
  width: 25px;
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
}

.about .about-content .skills .skill-item {
  display: flex;
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  flex-wrap: wrap;
  gap: 1em;
  max-width: 100%;
  margin-bottom: 16px;
}

.about .about-content .skills .skill-item h5 {
  line-height: 40px;
  font-weight: 600;
  font-size: 16px;
  color: #302e4d;
  text-transform: capitalize;
  margin: 0;
}

section .skill-item h4 {
  color: #302e4d;
  line-height: 2em;
  margin-bottom: 0.9em;
  border-bottom: 1px solid #e8dfec;
  font-size: 18px;
}

table{
  width:100%;
  border-radius: 1em;
}

.table{
  margin: 1em 0;
  border-radius: 1em;
  width: 100%;
}

th{
  padding: 1em 0;
  border-bottom: 1px solid #e8dfec;
  color:#302e4d;
}

td{
  padding: 1em;
  border-top:1px solid #e8dfec;
  font-size: 14px;
  color:#302e4d;
  font-weight: 500;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
  position: relative;
}

.padd-15 {
  padding-left: 15px;
  padding-right: 15px;
}

.main-content {
  padding-left: 270px;
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: auto;
}

.header{
  position: fixed;
  top:32px;
  right:80px;
  z-index: 3;
}

.shadow-dark {
  -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.btn {
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  padding: 12px 35px;
  color: #ffffff;
  border-radius: 40px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.table-options{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
}

.table-options button{
  margin: 0 8px;
}

.btn-2{
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  padding: 12px 35px;
  color: #ffffff;
  border-radius: 40px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: inline-block;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  background-color: #302e4d;
}

.hscroll{
  overflow-x: auto;
}

.btn-login{
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  color:#302e4d;
}

.btn-edit{
  font-size:22px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  color:#302e4d;
}

.admin-box{
  width: 100%;
  background-color: #fff;
  border:1px solid #d4d4e3;
  height: 100%;
  border-radius: 1em;
  padding: 2em;
}

.label{
  display: block;
  margin: 0.5em 0;
  font-weight: 500;
  color:#302e4d;
}

.main-container .login-container{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  background-color: #f2f2fc;
}

.main-container .login-container .login-card{
  height: 500px;
  width: 500px;
  box-shadow: 0 0 10px rgba(48, 46, 77, 0.2);
  border-radius: 1em;
  background-color: #fdf9ff;
  padding: 30px 30px;
  border: 2px solid #d4d4e3;
  border-radius: 10px;
  position: relative;
}

.login-img{
  width: 150px;
  display:block;
  margin: 1em auto 2em;
}

.btn-form-login{
  font-size: 16px;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
  color:#e3e3e3;
  background-color:#302e4d;
  width: 100%;
}

.form-item {
  margin-bottom: 30px;
}

.form-item .form-control {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid #d4d4e3;
  padding: 10px 25px;
  color: #504e70;
  transition: all 0.3s;
}


.form-item .form-area {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d4d4e3;
  padding: 10px 25px;
  color: #504e70;
  transition: all 0.3s;
}

.form-item .form-radio-group{
  display: flex;
  align-items: center;
}

.form-item .form-radio-group div{
  margin-right: 2em;
  display: flex;
  align-items: center;
  height: 50px;
}

.form-item .form-radio-group .form-radio{
  height: 20px;
  margin-left: 1em;
  width: 20px;
}

.form-item .form-file{
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid #d4d4e3;
  padding: 1em;
  color: #504e70;
  transition: all 0.3s;
}

hr{
  background-color:#d4d4e3;
  color:#d4d4e3;
  margin-bottom: 30px;
}

.cv-link{
  display: block;
  margin-top: 15px;
}

.current-check{
  display: flex;
  align-items: center;
  margin-top: 1em;
}

.current-check label{
  margin-right: 1em;
}

.form-check{
  width: 24px;
  height: 24px;
  padding: 10px;
  border: 1px solid #d4d4e3;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.hidden {
  display: none !important;
}

.preloader {
  background-color: #222222;
  position: fixed;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 1s ease;
}

.preloader.opacity-0 {
  opacity: 0;
}

.preloader .loader {
  height: 40px;
  width: 40px;
  border: 4px solid #e3e3e3;
  border-radius: 50%;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Aside */
.aside {
  width: 270px;
  background-color: #fdf9ff;
  position: fixed;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 11;
  border-right: 1px solid #e8dfec;
  transition: all 0.5s ease;
}

.aside .aside-inner {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: 30px;
  overflow-y: hidden;
}

.aside .logo {
  padding: 30px 0;
  text-align: center;
}

.aside .logo a {
  font-size: 100px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  position: relative;
  padding: 0 20px;
  line-height: 120px;
}

.aside .logo a::before {
  /*añadir antes*/
  content: "";
  height: 50px;
  width: 50px;
  position: absolute;
  top: 0;
  left: 0;
}

.aside .logo a::after {
  /*añadr despues*/
  content: "";
  height: 50px;
  width: 50px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.aside .nav-toggler {
  height: 40px;
  width: 40px;
  border: 1px solid #d4d4e3;
  cursor: pointer;
  position: fixed;
  left: 300px;
  top: 20px;
  z-index: 11;
  border-radius: 5px;
  background-color: #fdf9ff;
  /*display: -ms-flexbox;
	display: flex;*/
  display: none;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.aside .nav-toggler span {
  height: 2px;
  width: 16px;
  display: inline-block;
  position: relative;
}

.aside .nav-toggler.open span {
  background-color: transparent;
}

.aside .nav-toggler span::before {
  content: "";
  height: 2px;
  width: 16px;
  position: absolute;
  top: -6px;
  left: 0;
}

.aside .nav-toggler.open span::before {
  transform: rotate(45deg);
  top: 0;
}

.aside .nav-toggler span::after {
  content: "";
  height: 2px;
  width: 16px;
  position: absolute;
  top: 6px;
  left: 0;
}

.aside .nav-toggler.open span::after {
  transform: rotate(-45deg);
  top: 0;
}

.aside .nav {
  list-style: none;
  margin: 80px 0;
  padding: 0;
}

.aside .nav li {
  display: block;
}

.aside .nav li a {
  font-size: 16px;
  font-weight: 600;
  color: #302e4d;
  text-decoration: none;
  line-height: 45px;
  display: block;
  border-bottom: 2px solid #e8dfec;
  -webkit-transition: all 0.3s ease; /*animación*/
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.aside .nav li a:not(.active):hover {
  padding-left: 5px;
}

.aside .nav li a .fa {
  margin-right: 5px;
}

/* Home */

.home {
  min-height: 100vh;
  display: -ms-flexbox;
  display: flex;
}

.home .intro {
  text-align: center;
}

.home .intro img {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  display: inline-block;
  border: 8px solid #ffffff;
}

.home .intro h1 {
  font-size: 30px;
  color: #302e4d;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  margin: 20px 0 5px;
}

.home .intro p {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
  line-height: 22px;
  color: #504e70;
}

.home .intro .social-links {
  margin-top: 25px;
}

.home .intro .social-links a {
  height: 40px;
  width: 40px;
  display: inline-block;
  text-align: center;
  color: #ffffff;
  margin: 0 4px;
  border-radius: 50%;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.home .intro .social-links a .fa {
  font-size: 24px;
  line-height: 40px;
}

.home .intro .social-links a:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* About */
.about .about-content {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.about .about-content .about-text {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.about .about-content .about-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #302e4d;
}

.about .about-content .about-text p {
  color: #504e70;
  line-height: 25px;
  font-size: 16px;
  margin: 0;
}

.about .about-content .personal-info {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: 40px;
}

.about .about-content .personal-info .info-item {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
}

.about .about-content .personal-info .info-item p {
  font-weight: 600;
  padding: 10px 0;
  font-size: 14px;
  color: #302e4d;
  margin: 0;
  border-bottom: 1px solid #e8dfec;
}

.about .about-content .personal-info .info-item p span {
  font-weight: 400;
  color: #504e70;
  margin-left: 4px;
  display: inline-block;
}

.about .about-content .personal-info .buttons {
  margin-top: 30px;
}

.about .about-content .personal-info .buttons .btn {
  margin-right: 15px;
  margin-top: 10px;
}

.about .about-content .skills {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: 40px;
  margin-bottom: 20px;
}

.badge{
  padding:0.5em 1em;
  color: #fff;
  border-radius: 1em;
}

.about .about-content .skills .skill-item .progress {
  background-color: #e3e3e3;
  height: 7px;
  border-radius: 4px;
  width: 100%;
  position: relative;
}

.about .about-content .skills .skill-item .progress .progress-in {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  border-radius: 4px;
}

.about .about-content .skills .skill-item .skill-percent {
  line-height: 40px;
  position: absolute;
  right: 0;
  top: -40px;
  font-weight: 400;
}

.about .about-content .education {
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 30px;
}

.about .about-content .experience {
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  max-width: 50%;
  margin-top: 30px;
}

.about .about-content h3.title {
  font-size: 24px;
  font-weight: 700;
  color: #302e4d;
  margin-bottom: 30px;
}

.about .about-content .timeline-box {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

.about .about-content .timeline {
  background-color: #fdf9ff;
  padding: 30px 30px;
  border: 2px solid #d4d4e3;
  border-radius: 10px;
  width: 100%;
  position: relative;
}

.about .about-content .timeline .timeline-item {
  position: relative;
  padding-left: 30px;
  padding-bottom: 50px;
}

.about .about-content .timeline .timeline-item:last-child {
  padding-bottom: 0px;
}

.about .about-content .timeline .timeline-item::before {
  content: "";
  width: 1px;
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
}

.about .about-content .timeline .circle-dot {
  position: absolute;
  left: 0;
  top: 0;
  height: 15px;
  width: 15px;
  left: -7px;
  border-radius: 50%;
}

.about .about-content .timeline .timeline-date {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 12px;
  color: #504e70;
}

.about .about-content .timeline .timeline-date .fa {
  margin-right: 7px;
}

.about .about-content .timeline .timeline-title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
  text-transform: capitalize;
  color: #302e4d;
}

.about .about-content .timeline .timeline-text {
  font-size: 16px;
  line-height: 25px;
  color: #504e70;
  margin: 0;
  text-align: justify;
}

/* Services */
.service .service-item {
  -ms-flex: 0 0 33.33%;
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 30px;
  display: -ms-flexbox;
  display: flex;
}

.service .service-item .service-item-inner {
  background-color: #fdf9ff;
  border: 1px solid #d4d4e3;
  border-radius: 10px;
  padding: 30px 15px;
  text-align: center;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  width: 100%;
}

.service .service-item .service-item-inner:hover {
  -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.service .service-item .service-item-inner .icon {
  height: 60px;
  width: 60px;
  display: block;
  margin: 0 auto 30px;
  text-align: center;
  border-radius: 50%;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service .service-item .service-item-inner .icon .fa {
  font-size: 40px;
  line-height: 60px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.service .service-item .service-item-inner:hover .icon .fa {
  font-size: 25px;
  color: #ffffff;
}

.service .service-item .service-item-inner h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #302e4d;
  font-weight: 700;
  text-transform: capitalize;
}

.service .service-item .service-item-inner p {
  font-size: 16px;
  color: #504e70;
  line-height: 25px;
}

/* Portfolio section*/
.portfolio .container {
  padding-bottom: 40px;
}

.portfolio .portfolio-filter {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
  margin-bottom: 40px;
}

.portfolio .portfolio-filter button {
  border: none;
  background-color: transparent;
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize;
  margin: 0 10px;
  color: #302e4d;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  padding-bottom: 2px;
  transition: all 0.3 ease;
}

.portfolio .portfolio-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 30px;
  display: flex;
}

.portfolio .portfolio-item.hide {
  display: none;
}

.portfolio .portfolio-item.show {
  display: block;
  animation: showItem 0.5s ease;
}

@keyframes showItem {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.portfolio .portfolio-item-inner {
  border: 6px solid #fdf9ff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  height: 300px;
  max-height: 300px;
}

.portfolio .portfolio-item-inner .portfolio-img {
  display: flex;
  height: 100%;
}

.portfolio .portfolio-item-inner .portfolio-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.portfolio .portfolio-item .portfolio-info {
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  z-index: 1;
  padding: 30px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  opacity: 0;
}

.portfolio .portfolio-item-inner:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-transform: capitalize;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  opacity: 0;
}

.portfolio .portfolio-item-inner:hover .portfolio-info h4 {
  opacity: 1;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}

.portfolio .portfolio-item .portfolio-info .icon {
  height: 40px;
  width: 40px;
  background-color: #ffffff;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  right: 30px;
  bottom: 30px;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
}

.portfolio .portfolio-item-inner:hover .portfolio-info .icon {
  opacity: 1;
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}

.portfolio .portfolio-item .portfolio-info .icon .fa {
  line-height: 40px;
}

.lightbox {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
  display: none;
  -ms-flex-align: center;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 30px;
}

.lightbox.open {
  display: -ms-flexbox;
  display: flex;
}

.lightbox .lightbox-description {
  background-color: #fff;
  color: #302e4d;
  width: 260px;
  height: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
}

.lightbox .lightbox-content img {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 500px;
  display: block;
  margin: 30px 0;
}

.lightbox .lightbox-content {
  position: relative;
}

.lightbox.open .lightbox-content {
  animation: lightboxImage 0.5s ease;
}

@-webkit-keyframes lightboxImage {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes lightboxImage {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.lightbox .lightbox-content .lightbox-close {
  position: absolute;
  height: 40px;
  width: 40px;
  top: -16px;
  right: 0px;
  font-size: 36px;
  text-align: right;
  color: #fff;
  line-height: 40px;
  cursor: pointer;
  z-index: 10;
}

.lightbox .lightbox-content .lightbox-caption {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: space-between;
  justify-content: space-between;
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
}

.lightbox .lightbox-controls .prev-item,
.lightbox .lightbox-controls .next-item {
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: #fff;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  top: 50%;
  margin-top: -20px;
  z-index: 110;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.lightbox .lightbox-controls .prev-item:active,
.lightbox .lightbox-controls .next-item:active {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.lightbox .lightbox-controls .prev-item {
  left: 30px;
}

.lightbox .lightbox-controls .next-item {
  right: 30px;
}

.lightbox .lightbox-controls .prev-item .fa,
.lightbox .lightbox-controls .next-item .fa {
  font-size: 32px;
  line-height: 40px;
}

/*BLOG SECTION*/

.blog .blog-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  margin-bottom: 40px;
  display: flex;
}

.blog .blog-item-inner {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #d4d4e3;
  width: 100%;
  background-color: #fdf9ff;
}

.blog .blog-item-inner .blog-img {
  position: relative;
  overflow: hidden;
}

.blog .blog-item-inner .blog-img img {
  width: 100%;
  display: block;
  transition: all 0.5s ease;
}

.blog .blog-item-inner:hover .blog-img img {
  transform: scale(1.2);
}

.blog .blog-item-inner .blog-img .blog-date {
  position: absolute;
  padding: 4px 10px;
  border-radius: 5px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  left: 15px;
  bottom: 15px;
}

.blog .blog-item-inner .blog-info {
  padding: 30px 15px;
  background-color: #fdf9ff;
}

.blog .blog-item-inner .blog-info .blog-title {
  font-size: 18px;
  font-weight: 700;
  color: #302e4d;
  text-transform: capitalize;
  margin-bottom: 10px;
}

.blog .blog-item-inner .blog-info .blog-description {
  font-size: 16px;
  line-height: 25px;
  color: #504e70;
  font-weight: 400;
  margin-bottom: 15px;
}

.blog .blog-item-inner .blog-info .blog-tags {
  font-size: 16px;
  line-height: 25px;
  color: #504e70;
  font-weight: 400;
  font-size: 14px;
  text-transform: capitalize;
}

.blog .blog-item-inner .blog-info .blog-tags {
  text-decoration: none;
  font-weight: 600;
}

/*CONTACT*/
.contact .contact-info-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  text-align: center;
  margin-bottom: 60px;
}

.contact .contact-info-item .icon {
  display: inline-block;
}

.contact .contact-info-item .icon .fa {
  font-size: 40px;
}

.contact .contact-info-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: #302e4d;
  text-transform: capitalize;
  margin: 15px 0 5px;
}

.contact .contact-info-item p {
  font-size: 16px;
  line-height: 25px;
  color: #504e70;
  margin: 0;
  font-weight: 400;
}

.contact .contact-form {
  flex: 0 0 100%;
  max-width: 100%;
}

.contact .contact-form .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-6{
  flex: 0 0 50%;
  max-width: 50%;
}
.col-3{
  flex: 0 0 25%;
  max-width: 25%;
}

.col-1{
  flex: 0 0 8%;
  max-width: 8%;
}

.contact .contact-form .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.contact .contact-form .form-item {
  margin-bottom: 30px;
}


.contact .contact-form .form-item .form-control {
  width: 100%;
  height: 50px;
  border-radius: 16px;
  border: 1px solid #d4d4e3;
  padding: 10px 25px;
  color: #504e70;
  transition: all 0.3s;
}

.contact .contact-form .form-item .form-control:focus {
  -webkit-box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
  box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

.contact .contact-form .form-item textarea.form-control {
  height: 140px;
}

.contact .contact-form .btn {
  height: 50px;
  padding: 0 50px;
}

/* BODY SKIN */
body.dark .section {
  background-color: #151515;
}

body.dark .contact .contact-form .form-item .form-control,
body.dark .blog .blog-item-inner .blog-info,
body.dark .service .service-item .service-item-inner,
body.dark .about .about-content .timeline,
body.dark .aside,
body.dark .admin-box,
body.dark .form-control,
body.dark .form-area,
body.dark .modal .modal-content,
body.dark .modal .modal-content .modal-header button
 {
  background-color: #222222;
}

body.dark .contact .contact-info-item h4,
body.dark .blog .blog-item-inner .blog-info .blog-title,
body.dark .portfolio .portfolio-filter button,
body.dark .service .service-item .service-item-inner h4,
body.dark .about .about-content .timeline .timeline-title,
body.dark .about .about-content h3.title,
body.dark .about .about-content .skills .skill-item h5,
body.dark .about .about-content .personal-info .info-item p,
body.dark .about .about-content .about-text h3,
body.dark .home .intro h1,
body.dark .section-title h2,
body.dark .aside .logo a,
body.dark .aside .nav li a,
body.dark .header .btn-login,
body.dark .label,body.dark th,
body.dark .modal .modal-content .modal-header button {
  color: #fff;
}

body.dark .contact .contact-form .form-item .form-control,
body.dark .contact .contact-info-item p,
body.dark .blog .blog-item-inner .blog-info .blog-tags,
body.dark .blog .blog-item-inner .blog-info .blog-description,
body.dark .service .service-item .service-item-inner p,
body.dark .about .about-content .timeline .timeline-date,
body.dark .about .about-content .timeline .timeline-text,
body.dark .about .about-content .personal-info .info-item p span,
body.dark .about .about-content .skills .skill-item .skill-percent,
body.dark .about .about-content .about-text p,
body.dark .home .intro p,
body.dark .admin-box,
body.dark .form-control,
body.dark .form-file,
body.dark .form-area, body.dark td,
body.dark .modal .modal-content .modal-header
{
  color: #e9e9e9;
}

body.dark .contact .contact-form .form-item .form-control,
body.dark .blog .blog-item-inner,
body.dark .service .service-item .service-item-inner,
body.dark .portfolio .portfolio-item-inner,
body.dark .about .about-content .timeline,
body.dark .about .about-content .personal-info .info-item p,
body.dark .aside .nav li a,
body.dark .aside,
body.dark .admin-box,
body.dark .form-control,
body.dark .form-file,
body.dark .form-area {
  border-color: #393939;
}

body.dark .shadow-dark {
  box-shadow: none;
}

/*Color Switcher*/

.style-switcher {
  position: fixed;
  top: 20px;
  right: 0;
  z-index: 150;
  background-color: #ffffff;
  padding: 15px;
  border: 1px solid #d4d4e3;
  border-right: none;
  border-radius: 0 0 0 5px;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.style-switcher.open {
  transform: translateX(0%);
  transition: all 0.3s ease;
}

.style-switcher .toggle-style-switcher {
  position: absolute;
  height: 45px;
  width: 45px;
  background-color: #fff;
  left: -46px;
  top: -1px;
  border: 1px solid #d4d4e3;
  border-right: none;
  text-align: center;
  cursor: pointer;
}

.style-switcher .toggle-style-switcher .fa {
  font-size: 20px;
  line-height: 45px;
}

.style-switcher h5 {
  font-size: 16px;
  color: #302e4d;
  margin-top: 0;
  margin-bottom: 5px;
  padding: 5px;
  border-bottom: 1px solid #e8dfec;
}

.style-switcher ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.style-switcher ul li {
  display: inline-block;
}

.style-switcher ul li a {
  display: block;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  cursor: pointer;
  text-decoration: none;
  margin-right: 2px;
}

.style-switcher .pink {
  background-color: #ec1839;
}
.style-switcher .blue {
  background-color: #0d6ff9;
}
.style-switcher .orange {
  background-color: #f7420d;
}
.style-switcher .yellow {
  background-color: #ffb400;
}
.style-switcher .green {
  background-color: #72b626;
}

/*RESPONSIVE*/
@media (max-width: 1199px) {
  .section {
    left: 0;
  }

  section .container {
    padding-top: 70px;
  }

  .section.open {
    left: 270px;
  }

  .aside {
    left: -270px;
  }

  .aside.open {
    left: 0;
  }

  .aside .nav-toggler {
    display: flex;
    left: 30px;
  }

  .aside .nav-toggler.open {
    left: 300px;
  }

  .main-content {
    padding-left: 0;
  }

  .about .about-content .personal-info .info-item p span {
    display: block;
    margin-left: 0;
  }

  .modal .modal-content{
    width: 70%;
  }
}

@media (max-width: 991px) {
  .contact .contact-info-item,
  .blog .blog-item,
  .portfolio .portfolio-item,
  .service .service-item {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .modal .modal-content{
    width: 95%;
  }
}

@media (max-width: 767px) {
  .contact .contact-form .col-6,
  .blog .blog-item,
  .service .service-item,
  .about .about-content .personal-info,
  .about .about-content .skills,
  .about .about-content .education,
  .about .about-content .experience {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .portfolio .portfolio-filter button {
    margin-bottom: 12px;
  }
  .section.open {
    left: 0px;
  }

  
}

@media (max-width: 680px) {
  .portfolio .portfolio-item-inner {
    max-height: 260px;
    height: 260px;
  }

}

@media (max-width: 575px) {
  .contact .contact-info-item,
  .portfolio .portfolio-item {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .section.open {
    left: 0px;
  }

  .portfolio .portfolio-item-inner {
    max-height: 320px;
    height: 320px;
  }

  .lightbox .lightbox-content .lightbox-caption {
    position: relative;
  }
}

@media (max-width: 376px) {
  .aside .nav-toggler.open {
    left: 200px;
  }

  .about .about-content .personal-info .info-item {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
  .about .about-content .personal-info .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 24px auto;
  }
  .about .about-content .personal-info .buttons .btn {
    margin: 12px 0;
  }

  .portfolio .portfolio-item-inner {
    max-height: 260px;
    height: 260px;
  }
}

@media (max-width: 324px) {
  .style-switcher .toggle-style-switcher {
    left: -46px;
    top: 46px;
  }
  .about .about-content .timeline {
    padding: 20px;
  }

  .about .about-content .timeline .timeline-text {
    text-align: left;
  }
}
