/* --------------------------------- */

/* Css Styles update                      */

/*---------------------------------- */

/**
    Project - Pubweb Template 
    Author : dienpv42
    Copyright 2020


/* Table of Content
==================================================

    1. index




/*------------------------ 1 index Css ------------------------*/
/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #eb3f43; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
a{
  color: #eb3f43;
}
a:focus, a:hover {
    color: #ec398b;
    text-decoration: underline;
}
.p-40 {
    padding: 40px 0;
}

.center-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate( -50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.header-fx.active {
    background-image: linear-gradient(#ffffff,#ffffff,#ffffff,#ffffff,#fffffff0, #ffffffbd,#ffffff00);
    padding: 30px 30px 50px 30px;
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}
.logo img{
  width: 265px;
  height: auto;
}
.logo.center-center {
    top: 58px;
}

.fixed-logo {
    display: none;
}

.header-fx.active .fixed-logo{
  display: block;
}
.header-fx.active .default-logo{
  display: none;
}
.trans-contact {
    display: flex;
    flex-wrap: wrap;
}
.category-home.portfolio_filter {
    background: unset;
    width: auto;
    height: auto;
    position: unset;
    top: unset;
    left: unset;
    z-index: unset;
    display: block;
    cursor: unset;
    visibility: unset;
    opacity: unset;
    transition: unset;
    -webkit-transition: unset;
    -moz-transition: unset;
}
.category-home.portfolio_filter ul {
    display: flex;
    text-align: center;
    justify-content: center;
    flex-wrap: nowrap;
}
.category-home.portfolio_filter ul li {
    color: #000;
    text-align: center;
    line-height: 35px;
    padding: 10px;
}
.category-home.portfolio_filter ul li a {
    color: #000;
    font-size: 30px;
    cursor: pointer;
}
.category-home.portfolio_filter ul li a span {
    position: absolute;
    top: unset;
    bottom: -2px;
}
.search-project {
    margin-bottom: 20px;
    padding: 0 10px;
}
.box-search{
  float: left;
}
.box-search .container-2{
  width: 300px;
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
}

.box-search .container-2 input#search::placeholder{
  color: #eb3f43 !important;
}

.box-search .container-2 input#search{
  width: 30px;
  height: 48px;
  border: none;
  font-size: 11pt;
  float: left;
  color: #292929;
  padding-left: 40px;
  -webkit-transition: width .55s ease;
  -moz-transition: width .55s ease;
  -ms-transition: width .55s ease;
  -o-transition: width .55s ease;
  transition: width .55s ease;
  background: #fff0;
}

.box-search .container-2 input#search::-webkit-input-placeholder {
   color: #65737e;
}
 
.box-search .container-2 input#search:-moz-placeholder { /* Firefox 18- */
   color: #65737e;  
}
 
.box-search .container-2 input#search::-moz-placeholder {  /* Firefox 19+ */
   color: #65737e;  
}
 
.box-search .container-2 input#search:-ms-input-placeholder {  
   color: #65737e;  
}

.box-search .container-2 .icon{
  position: absolute;
  top: 50%;
  left: 2px;
  margin-top: 14px;
  z-index: 1;
  color: #4f5b66;
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.box-search .container-2:hover .icon{
  display: none;
}
.box-search .container-2 input#search:focus, .container-2 input#search:active{
  outline:none;
  width: 300px;
}
 
.box-search .container-2:hover input#search{width: 300px;border-bottom: 2px #eb3f43 solid !important;padding-left: 20px;}
 
.box-search .container-2:hover .icon{
  color: #93a2ad;
  right:280px;
}

.box-search .container-2 .icon2{
  display:none;
  position:absolute;
  right: 5px;
  top: 15px;
  cursor:pointer;
  -webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: #fff0 !important;
}

.box-search .container-2:hover .icon2{
display:block;
}
.contact a, .btn-more {
    overflow: hidden;
    border: none;
    text-align: center;
    cursor: pointer;
    text-transform: initial;
    outline: 0;
    position: relative;
    color: #fff;
    font-weight: 400;
    font-size: 14px;
    margin: 0 auto;
    padding: 10px 1.5rem;
    display: inline-block;
    letter-spacing: 1px;
    background: #eb3f43;
    -moz-transition-duration: .3s;
    -webkit-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-box-shadow: 0 8px 6px -6px rgba(50, 51, 51, .4);
    -moz-box-shadow: 0 8px 6px -6px rgba(50, 51, 51, .4);
    box-shadow: 0 8px 6px -6px rgba(50, 51, 51, .4);
    border-radius: 15px;
    z-index: 6;
}
.contact a:after, .btn-more:after{
    content: "";
    position: absolute;
    left: 20px;
    top: 14px;
    height: 200px;
    width: 200px;
    background: #1b273d;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
    opacity: .15;
}
.contact a:hover:after,.btn-more:hover:after {
  -webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
  transform: translateX(-9%) translateY(-25%) rotate(45deg);
  height: 604%;
  width: 300px;
  border-radius: 100%;
}
.languages {
    padding: 9px;
    margin-right: 10px;
}
.languages a {
    margin-right: 10px;
}
footer .social {
    text-align: right;
}
.menu-ft ul {
    display: flex;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
.menu-ft ul li {
    margin-right: 11px;
    font-size: 14px;
}
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.videoWrapper .video-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.link-work {
    min-height: 39px;
    border-bottom: 1px solid;
    margin-bottom: 35px;
}
.content-work {
    padding: 40px 0;
}
.link-work .next-link .nav-title,.link-work .next-link .next-title,.link-work .title-all {
    color: #000;
    font-size: 20px;
    font-weight: 600;
}
.link-work .next-link {
    height: 35px;
    text-align: right;
}
.link-work i {
    font-size: 18px;
}
.link-work .title-all i {
    margin-right: 6px;
}
.link-work .next-link i {
    margin-left: 4px;
}
.link-work .title {
    font-size: 20px;
    font-weight: 600;
}
.team_grid{
    transition: left 0.5s ease-in-out 0s;
    cursor: pointer;
}
.team_grid .flex-wapper .content-wapper{
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    -webkit-transition: opacity .6s ease-in-out;
    transition: opacity .6s ease-in-out;
    background-color: #eb3f43;
    visibility: hidden;
    cursor: default;

}
.team_grid.active .flex-wapper .content-wapper{
    opacity: 1;
    visibility: visible;
}
.team_grid .flex-wapper .content-wapper{
    -webkit-transition: opacity .6s ease-in-out;
    transition: opacity .6s ease-in-out;
  }
.title-section {
    position: relative;
    overflow: hidden;
    border-left: 5px solid #eb3f43;
    padding-top: 5px;
    margin-left: -5px;
}
.title-section h2 {
    color: #222222;
    display: inline-block;
    padding-right: 20px;
    padding-left: 10px;
    font-size: 25px;
    font-weight: 600;
    text-transform: uppercase;
}
.bottom_20{
  margin-bottom: 20px;
}
.about-us .text h2 {
    font-size: 1.8rem;
    line-height: 2rem;
    letter-spacing: 0.1rem;
    margin-bottom: 15px;
}
.content-wapper {
  position: relative;
    padding: 25px;
    color: #fff;
}
.content-wapper h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.content-wapper p, .content-wapper a, .content-wapper ul li,.content-wapper .social a i{
  color: #fff;
}
.content-wapper .social {
    margin-top: 20px;
}
.content-wapper .social h4 {
    margin-bottom: 11px;
}
.close-info {
    position: absolute;
    width: 25px;
    cursor: pointer;
    bottom: 15px;
    right: 15px;
}
.category-blog {
    margin-top: 10px;
}

.category-blog ul {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
}
.category-blog ul li {
    padding-right: 15px;
}
.category-blog ul li a {
    color: #222222;
}
.category-blog ul li a.select-cat {
    color: #eb3f43;
}
.title-bottom {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 0 10px;
    height: auto;
}
.blog-section .single_item {
    cursor: crosshair;
}
.blog-section .single_item figure figcaption .title {
    font-size: 18px;
    color: #fff;
    line-height: 23px;
    margin-bottom: 10px;
}
@media (min-width: 768px){
  .flex-wapper{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .team_grid.active {
    left: 0 !important;
    width: 100%;
    max-width: 100%;
    z-index: 2;
    transition: left 0.5s ease-in-out 0s;
  }
  .team_grid.active .flex-wapper figure {
    width: calc((100% - 60px) / 4);
  }
  .team_grid.active .flex-wapper .content-wapper{
      margin-left: calc((100% + 40px)/4);
      width: calc((300% - 40px)/4);
          -webkit-transition: opacity .6s ease-in-out;
    transition: opacity .6s ease-in-out;
  }
}
@media screen and (max-width: 767px) {
  .header-fx.active {
    padding: 18px 18px 33px 18px;
  }
  .team_grid.active .flex-wapper .content-wapper {
      position: fixed;
      top: 0;
      width: 100%;
      height: 100%;
      padding-top: 135px;
      z-index: 2;
  }

  .main-content {
    vertical-align: bottom;
  }
  .main .social {
      text-align: right;
      padding-bottom: 30px;
  }
}
@media screen and (max-width: 576px) {
    .logo.center-center{
      display: none;
    }
    .main-title {
      width: 100%;
    }
    .main-content {
        padding: 0 30px;
    }
    header {
      padding: 18px;
    }
    footer .social {
        text-align: left;
        margin-top: 15px;
    }
}
/*------------------------ End index Css ------------------------*/