

a, .btn, button {
	-webkit-transition: all 175ms ease-in-out;
	 -moz-transition: all 175ms ease-in-out;
	  -o-transition: all 175ms ease-in-out;
	   -ms-transition: all 175ms ease-in-out;
	    transition: all 175ms ease-in-out;
}


body{
	font-size: 16px;
  background-color: #fff;
	color: #414244;
  -webkit-font-smoothing: antialiased;
}

p{
  font-family: freight-text-pro, serif;
  font-size: 1.2em;
  margin: 0px 0 16px;
}


.port-wrap{
  width: 100%;  
}

.container{
	max-width: 1268px;
}

.container-fluid {
    padding-right: 36px;
    padding-left: 36px;
    margin-right: auto;
    margin-left: auto;
}

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

.main-nav {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
}

.main-nav a {
	font-size: 12px;
  font-family: "adelle-sans",sans-serif;
	color: #93949e;
	text-decoration: none;
	padding: 16px;
	margin: 5px;
	font-weight: bold;	
  text-decoration: none;
  letter-spacing: .7px;
  text-transform: uppercase;
}

.main-nav a:hover {
	color: #f35132;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #f35132;
    border-radius: 6px;
}


.nav-pills>li>a {
    color: #f35132;
    font-family: "adelle-sans",sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 1px solid #eaeaea;
    padding: 8px 16px;
}

.nav-pills .nav-link {
    border-radius: 6px;
}



 .nav li{
  list-style-type: none;

 }



.logo{
	margin-right: auto;
}

.logo a{
  padding: 0px;
}



.main-nav .links{
	margin-top: 18px;
}


.intro {
    width: 960px;
    margin: 0 auto;
    position: absolute;
    top: 47%;
    transform: translateY(-38%);
    -webkit-transform: translateY(-38%);
    -moz-transform: translateY(-38%);
}



.intro-left {
    font-family: freight-text-pro, serif;
    width: 626px;
    font-weight: 400;
}



h1{
	font-size: 3.4em;
  font-family: "adelle-sans",sans-serif;
	margin-bottom: 5px;
  font-weight: 700;
  color: #343434;
}

h2{
  font-size: 2.4em;
  font-family: "adelle-sans",sans-serif;
  font-weight: 700;
  color: #343434;
  margin-bottom: 22px;

}


h3{
    font-family: "adelle-sans",sans-serif;
  font-size: 2em;
  font-weight: 700;
  color: #343434;
}

h4{
  font-size: 1em;
  color: #909193;
  font-weight: 400;
  margin-top: 16px;
  letter-spacing: .2px;
  font-family: "adelle-sans",sans-serif;

}

h5{
  font-family: "adelle-sans",sans-serif;
  font-size: 1.4em;
  font-weight: 700;
  color: #343434;
  margin-bottom: 16px;
}

h6{
  font-family: "adelle-sans",sans-serif;
  font-size: 1em;
  font-weight: 700;
  color: #343434;
  margin-bottom: 16px;
}

.type{
  margin-top: 24px;
}

.type h6{
  font-family: 'Eina Bold';
  font-size: 28px;
  font-weight: 700;
  color: #343434;
  margin-bottom: 10px;
}

.type h4{
  font-family: 'Eina SemiBold';
  font-size: 14px;
  font-weight: 700;
  color: #343434;
  margin-bottom: 10px;
}

.type h5{
  font-family: 'Eina Bold';
  font-size: 14px;
  font-weight: 700;
  color: #343434;
  margin-bottom: 10px;
}

.type h1{
  font-family: 'Eina Bold';
  font-size: 24px;
  font-weight: 700;
  color: #343434;
  margin-bottom: 10px;
}

.type h2{
  font-family: 'Eina SemiBold';
  font-size: 20px;
  font-weight: 700;
  color: #343434;
  margin-bottom: 10px;
}




.type-caption{
  margin-bottom: 24px;

}

.type-caption p{
   font-family: 'Eina Regular';
  font-size: .85rem;
  color: #50505A;
  margin-bottom: -4px;
}


.code-ex{
  padding: 10px 16px 10px 16px;
    background-color: #F8F8F8;
    border-radius: 6px;
    margin-bottom: 24px;

}


.intro-left p {
    font-size: 2.4em;
    line-height: 48px;
    font-family: freight-text-pro, serif;
    margin-top: 16px;
    color: #343434;
    font-weight: 400;
}


a{
  color: #f35132;
}


a:hover{
  color: #f35132;
}

a:focus{
  color: #f35132;
}




.footer {
  font-size: 14px;
    font-family: "adelle-sans",sans-serif;
    color: #ced2da;
    position: absolute;
    bottom: 0px;
    display: flex;
    width: 1116px;
    font-weight: 700;
    padding: 32px 0px;
}


.footer a{
  font-size: 14px;
  font-family: "adelle-sans",sans-serif;
  color: #afb1b7;
  text-decoration: none;
  font-weight: bold;  
  text-decoration: none;
}

.footer a:hover{
    color: #f35132;
}

.social a:first-child{
  padding: 0px 24px 0px 24px;
}

.playing{
  margin-right: auto;
}

.playing p{
  font-family: "adelle-sans",sans-serif;
  font-size: 1em;
}

.playing a{
    font-family: "adelle-sans",sans-serif;
  font-size: 1em;
  font-weight: 400;
  color: #3f4145;
}

.playing a:hover{
  font-family: "adelle-sans",sans-serif;
  font-size: 1em;
  font-weight: 400;
  color: #f35132;
}



/*------------ work-------------*/




.grid-container{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 868px;
    padding: 68px 0px;
    margin: 0 auto 0px;

}

.grid-inner{
  position: relative;
  line-height: 0;
  margin-bottom: 18px;
  overflow: hidden;
  transition-property: scale;
  border: solid 1px #f2f3f5;
}

.grid-inner img{
    transition: 300ms;
    transition-timing-function: ease-out;
    transform-origin: (0,0);
}

.grid-inner:hover img{
     transform: scale(1.1);
}


.overlay{
  opacity: 0;
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0; 
  left: 0;
  padding-left: 26px;
  padding-right: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0, .8);
  opacity: 0;
  color: #fff;
  transition-property: opacity;
  transition-duration: 300ms;
  transition-timing-function: ease-out;

}



.overlay:hover{
  opacity: 1;
  cursor: pointer;

}




.overlay h1, .overlay a{
    font-size: 20px;
    font-weight: 700;
    margin-top: 10px;
    line-height: 1.35;
    text-align: center;
  font-family: "adelle-sans",sans-serif;
    color: #fff;
    transition-delay: 100ms;

}


.overlay p{
 font-family: freight-text-pro, serif;
   font-size: 16px;
  margin-top: 26px;
  letter-spacing: .3px

}

.overlay a:hover{
  color: #0fbaa9;
  text-decoration: none;
  text-decoration: none;
}




/*------------ case study -------------*/
  



.cs-container{
  width: 936px;
  padding-top: 68px;
  margin: 0 auto;
  padding-bottom: 32px;

}

.cs-intro{
  width: 620px;
  margin:0 auto;
}

.cs-intro img{
      border: solid 1px #e0e0e0;
}


.cs-detail{
    margin-top: 32px;
    line-height: 28px;
    font-size: 1em;
}

.cs-detail-2{
    margin-top: 88px;
    line-height: 28px;
    font-size: 1em;
}

.cs-detail-2 ul{
  list-style: disc;
    padding-left: 32px;
    font-family: freight-text-pro, serif;
    font-size: 1.2em;
    line-height: 28px;
    margin-top: 16px;
}

.cs-detail-2 ul li{
  margin-bottom: 8px;
  font-family: "adelle-sans",sans-serif;
  font-size: 1.65rem;

}

.cs-gallery{
  margin-top: 86px;
  margin-bottom: 32px;
}

.cs-footer{
  margin: 112px 0px 62px 0px;
  text-align: center;
}

.cs-footer a{
  font-size: 1.1em;
  font-family: "adelle-sans",sans-serif;
  color: #afb1b7;
  text-decoration: none;
  padding: 16px;
  margin: 5px;
  font-weight: bold;  
  text-decoration: none;
  letter-spacing: .3px;
  transition: 0.2s color ease-in-out;
}
.cs-footer a:hover{

  color: #f35132;
}

.fa{
  margin-left: 6px;
}

.line{
  height: 4px;
  width: 32px;
  background-color: #f35132;
  margin-top: 36px;
}

.fa{
  font-size: 16px !important;
}



.old-dc{
  display: flex;
  flex-wrap: wrap;
  margin-top: -20px;
}

.old-dc img{
  max-width: 100%;
  height: auto;
}

/*------------ help-------------*/


.info-container{
  width: 684px;
  padding-top: 68px;
  margin: 0 auto;
}





@media (max-width: 1168px) {
  .container{
    width: 100%;
  }
  .footer{
    width: 88%;
  }
}

@media screen and (max-width: 960px) {
  .intro{
    width: 100%;
  }

  .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
}

@media screen and (max-width: 868px) {
  .grid-container, .cs-container{
    width: 100%;
  }
   .cs-intro{
    width: 100%;
    line-height: 28px;
  }

}

@media screen and (max-width: 784px) {

  .intro-left{
    width: 100%;
    padding: 0px 26px 0px 0px;
  }

  .intro-left p{
    font-size: 22px;
    margin-top:18px;
    line-height: 28px;
  }

  .intro{
    top: 38%;
    width: 98%;
  }

  h1{
    font-size: 34px;
  }

  p{
    font-size: 1em;
    line-height: 1.5;
  }

  .cs-gallery {
    margin-top: 52px;
    margin-bottom: 32px;
}

  .cs-detail-2{
    margin-top: 52px;
  }

  .cs-detail-2 ul{
  list-style: disc;
    padding-left: 32px;
    font-family: freight-text-pro, serif;
    font-size: 1em;
    line-height: 26px;
    margin-top: 16px;
}

.footer{
  width: 88%;
}




}


@media (max-width: 684px) {



  .main-nav{
    margin-top: 12px;
  }

  .main-nav a {
    font-size: 12px;
    font-family: "adelle-sans",sans-serif;
    color: #afb1b7;
    text-decoration: none;
    padding: 0px;
    margin: 16px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: .3px;
    text-transform: uppercase;;
}
  
  .main-nav a:first-child{
    margin: 0px 26px 0px 0px;
    letter-spacing: .5px;
  }


  .grid-container{
    justify-content: center;
  }

  .intro{
    width: 98%;
  }

.info-container{
  width: 100%;
  padding-top: 68px;
  margin: 0 auto;
}

  



}

#return-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(0, 0, 0);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    display: block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 16px;
    top: 13px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: rgba(0, 0, 0, 0.9);
}
#return-to-top:hover i {
    color: #fff;
    top: 5px;
}




/*------------ animations and transitions -------------*/




.animated {
  -webkit-animation-duration: .75s;
  animation-duration: .75;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-timing-function: ease-in-out;
}

.animated2 {
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-delay: .25s;
  animation-timing-function: ease-in-out;
}

.animated3 {
  -webkit-animation-duration: .75s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-delay: .75s;
  animation-timing-function: ease-in-out;
}

.animated4 {
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-delay: .15s;
  animation-timing-function: ease-in-out;
}

.animated6 {
  -webkit-animation-duration: .75s;
  animation-duration: .55s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-delay: .35s;
  animation-timing-function: ease-in-out;
}

.animated7 {
  -webkit-animation-duration: .75s;
  animation-duration: .55s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  animation-delay: .5s;
  animation-timing-function: ease-in-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -48px, 0);
    transform: translate3d(0, -48px, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 0%, 0);
    transform: translate3d(0, 0%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  transition-delay: .2s
}

.fadeInUp2 {
  -webkit-animation-name: fadeInUp2;
  animation-name: fadeInUp2;
  transition-delay: .5s
}



@-webkit-keyframes fadeInUp2 { 
    0% { 
        opacity: 0; 
        -webkit-transform: translateY(48px); 
    } 
    100% { 
        opacity: 1; 
        -webkit-transform: translateY(0); 
    } 
} 

@keyframes fadeInUp { 
    0% { 
        opacity: 0; 
        transform: translateY(38px); 
    } 
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    } 
} 


@keyframes fadeIn { 
    0% { 
        opacity: 0; 
    } 
    100% { 
        opacity: 1; 
         
    } 
} 


.fadeIn{ 
    -webkit-animation-name: fadeIn; 
    animation-name: fadeIn; 
}

.fadeInUp { 
    -webkit-animation-name: fadeInUp; 
    animation-name: fadeInUp; 
}




@keyframes anim {
  0% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
  100% {
    height: 10px;
  }
}
@-webkit-keyframes anim {
  0% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
  100% {
    height: 10px;
  }
}
@-moz-keyframes anim {
  0% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
  100% {
    height: 10px;
  }
}
@-ms-keyframes anim {
  0% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
  100% {
    height: 10px;
  }
}
@-ie-keyframes anim {
  0% {
    height: 10px;
  }
  50% {
    height: 30px;
  }
  100% {
    height: 10px;
  }
}
* {
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
}



.bar {
  width: 8px;
  height: 100%;
  background-color: #f35132;
  position: absolute;
  bottom: 0;
  margin-bottom: -2px;
  -webkit-animation-name: anim;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-name: anim;
  -moz-animation-iteration-count: infinite;
  -ms-animation-name: anim;
  -ms-animation-iteration-count: infinite;
  -o-animation-name: anim;
  -o-animation-iteration-count: infinite;
  animation-name: anim;
  animation-iteration-count: infinite;
}

#bar-one {
  -webkit-animation-duration: 1.9s;
  -moz-animation-duration: 1.9s;
  -ms-animation-duration: 1.9s;
  -o-animation-duration: 1.9s;
  animation-duration: 1.9s;
  left: 0px;
}

#bar-two {
  -webkit-animation-duration: 0.7s;
  -moz-animation-duration: 0.8s;
  -ms-animation-duration: 0.7s;
  -o-animation-duration: 0.7s;
  animation-duration: 0.7s;
  left: 10px;
}

#bar-three {
  -webkit-animation-duration: 1.2s;
  -moz-animation-duration: 1.2s;
  -ms-animation-duration: 1.2s;
  -o-animation-duration: 1.2s;
  animation-duration: 1.2s;
  left: 20px;
}

spinner {
  height: 40px;
  width: 30px;
  display: block;
  overflow: hidden;
  position: absolute;
  margin-top: -14px;
  
}




/*------Featherlight---*/

.featherlight .featherlight-content{
  padding: 0px;
}


