/* Table of Content
==================================================
	- Google fonts & font family -
	- General -
    - typography -
    - Preloader -
	- Header -
    - box intro section -
    - Portfoilo section -
    - Footer -
    - About page -
    - Services page -
    - contact page -
    - Portfolio single page -
    - Responsive media queries -
*/


/* Google fonts & font family
==================================================*/

/*@import url(../../../fonts.googleapis.com/css-family=Poppins-400,500,600,700.css) tpa=https://fonts.googleapis.com/css?family=Poppins:400,500,600,700;*/



/* Fonts & font family
https://www.balbooa.com/knowledgebase/32-documentation-faq-joomla/176-how-to-add-custom-font-to-website-through-fontface
==================================================*/

@font-face {
    font-family: 'flamabasic';
    src: url('../fonts/flama-basic-webfont.eot');
    src: url('../fonts/flama-basic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-basic-webfont.woff2') format('woff2'),
         url('../fonts/flama-basic-webfont.woff') format('woff'),
         url('../fonts/flama-basic-webfont.ttf') format('truetype'),
         url('../fonts/flama-basic-webfont.svg#flamabasic') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'flamabold';
    src: url('../fonts/flama-bold-webfont.eot');
    src: url('../fonts/flama-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-bold-webfont.woff2') format('woff2'),
         url('../fonts/flama-bold-webfont.woff') format('woff'),
         url('../fonts/flama-bold-webfont.ttf') format('truetype'),
         url('../fonts/flama-bold-webfont.svg#flamabold') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'flamalight';
    src: url('../fonts/flama-light-webfont.eot');
    src: url('../fonts/flama-light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-light-webfont.woff2') format('woff2'),
         url('../fonts/flama-light-webfont.woff') format('woff'),
         url('../fonts/flama-light-webfont.ttf') format('truetype'),
         url('../fonts/flama-light-webfont.svg#flamalight') format('svg');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'flamamedium';
    src: url('../fonts/flama-medium-webfont.eot');
    src: url('../fonts/flama-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/flama-medium-webfont.woff2') format('woff2'),
         url('../fonts/flama-medium-webfont.woff') format('woff'),
         url('../fonts/flama-medium-webfont.ttf') format('truetype'),
         url('../fonts/flama-medium-webfont.svg#flamamedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* General
==================================================*/

.logo {
  font-family: 'flamabasic', sans-serif;
  font-size: 30px;
}
.logo > * {
  margin-left: -6px;
  font-weight: 700;
  display: inline-block;
  animation-name: appear;
  animation-duration: .01s;
  animation-fill-mode: both;
}
.logo > *:nth-of-type(1) {
  animation-delay: 1s
}
.logo > *:nth-of-type(2) {
  animation-delay: 1.4s
}
.logo > *:nth-of-type(3) {
  animation-delay: 1.7s
}
.logo > *:nth-of-type(4) {
  animation-delay: 2s
}
.logo > *:nth-of-type(5) {
  animation-delay: 2.1s
}
.logo > *:nth-of-type(6) {
  animation-delay: 2.4s
}
.logo > *:nth-of-type(7) {
  animation-delay: 2.7s
}
.logo > *:nth-of-type(8) {
  animation-delay: 3.0s
}
.logo > *:nth-of-type(9) {
  animation-delay: 3.3s
}
.logo > *:nth-of-type(10) {
  animation-delay: 3.6s
}
.logo > *:nth-of-type(11) {
  animation-delay: 3.9s
}
.logo > *:nth-of-type(12) {
  animation-delay: 4.2s
}
.logo > *:nth-of-type(13) {
  animation-delay: 4.5s
}
.logo > *:nth-of-type(14) {
  animation-delay: 4.8s
}
.logo > *:nth-of-type(15) {
  animation-delay: 5.1s
}
.logo > *:nth-of-type(16) {
  animation-delay: 5.4s
}
.logo > *:nth-of-type(17) {
  animation-delay: 5.7s
}
.logo > *:nth-of-type(18) {
  animation-delay: 6.0s
}
.logo > *:nth-of-type(19) {
  animation-delay: 6.3s
}
.logo > *:nth-of-type(20) {
  animation-delay: 6.6s
}
.logo > *:nth-of-type(21) {
  animation-delay: 6.9s
}
.logo > *:nth-of-type(22) {
  animation-delay: 7.1s
}
.logo > *:nth-of-type(23) {
  animation-delay: 7.3s
}
.logo > *:nth-of-type(24) {
  animation-delay: 7.6s
}
.logo > *:nth-of-type(25) {
  animation-delay: 7.9s
}
.logo > *:nth-of-type(26) {
  animation-delay: 8.1s
}
.logo > *:nth-of-type(27) {
  animation-delay: 8.4s
}
.logo > *:nth-of-type(28) {
  animation-delay: 8.7s
}
.logo > *:nth-of-type(29) {
  animation-delay: 9.0s
}
.logo > *:nth-of-type(30) {
  animation-delay: 9.3s
}
.logo > *:nth-of-type(31) {
  animation-delay: 9.6s
}
.logo > *:nth-of-type(32) {
  animation-delay: 9.9s
}
.logo > *:nth-of-type(33) {
  animation-delay: 10.2s
}
.logo > *:nth-of-type(34) {
  animation-delay: 10.4s
}
.logo > *:nth-of-type(35) {
  animation-delay: 10.7s
}
.logo > *:nth-of-type(36) {
  animation-delay: 11.0s
}

@keyframes appear {
  from {
    font-size: 0em;
  }
  to {
    font-size: 1em;
  }
}
.blink {
  font-size: 1.0em;
  font-weight: 400;
  display: inline-block;
  visibility: visible;
  width: auto;
  animation-name: flash;
  animation-duration: .8s;
  animation-timing-function: linear;
  animation-fill-mode: both;
  animation-iteration-count: infinite;
}
@keyframes flash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/*-------------------------designer */
html,
body {
    height: 100%;
    font-family: 'flamalight', sans-serif;
    line-height: 1.8;
    color: #999
}

.no-padding {
    padding-left: 0;
    padding-right: 0;
}

.no-padding [class="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.main-container {
    padding: 100px 0;
}

.center {
    text-align: center;
}

a {
    -webkit-transition: all .3s;
    transition: all .3s
}

.uppercase {
    text-transform: uppercase;
}

.h-30 {
    height: 30px
}

.h-10 {
    height: 10px
}

.color {
    color: #6fcbd3;
    font-size: 11px;
}

.divider {
	border-top: 1px solid #dadada;
	width: 12%;
	margin: 20px auto 15px auto;
}

.h2Container {
	width: 50%;
	margin: 50px auto 5px auto;
}


/* typography
==================================================*/

h1 {
    color: gray;
    font-size: 60px;
    text-transform: uppercase;
}

h3 {
    font-size: 30px;
    color: gray;
}

h2{
 color: #333333;
 font-size: 30px;
 font-weight:bold;
 letter-spacing: 3px;
 text-transform: uppercase;
 line-height: 40px;

}

h4{
 color: #666666;
 font-size: 16px;
 letter-spacing: 1px;
 font-weight:800;
}


h5 {
    color: #7F7F7F;
	font-size: 12px;
}

p {
     font-size: 16px;
	 font-style: 'flamalight',sans-serif;
}

li {
     font-size: 16px;
	 font-style: 'flamalight',sans-serif;
}

.workCat {
	font-size: 14px;
    letter-spacing: 3px;
}


/*//video//*/
.video-container {
  position:relative;
  padding-bottom:56.25%;
  padding-top:30px;
  height:0;
  overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
}

.emphasis {
  font-weight: 800;
  /* border-bottom: 2px solid currentColor;*/
  color: #848484; /* optional */
}

.emphasis1 {
  font-weight: 800;
  border-bottom: 2px solid currentColor;
  color: #696969; /* optional */
}
/* preloader
==================================================*/

#home {
    background: url(../img/home-bg-2.jpg);
    background-size: cover;
    height: 100vh;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1e1e1e;
    /* change if the mask should be a color other than white */
    z-index: 1000;
    /* makes sure it stays on top */
}

.pre-container {
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    position: relative;
    margin: 100px auto;
}

.double-bounce1,
.double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #6fcbd3;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: bounce 2.0s infinite ease-in-out;
    animation: bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes bounce {
    0%,
    100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}


/* header
==================================================*/

.box-header {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    height: 50px;
    width: 100%;
    z-index: 3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.box-header {
    height: 80px;
    background: transparent;
    box-shadow: none;
}

.box-header {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-header.is-fixed {
    position: fixed;
    top: -80px;
    background-color: rgba(255, 255, 255, 0.96);
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
}

.box-header.is-visible {
    -webkit-transform: translate1d(20%, 70%, 20%);
    transform: translate1d(100%, 100%, 50%);
    opacity: 60%;
}

.box-header.menu-is-open {
    background-color: rgba(255, 255, 255, 0.96);
}

.box-logo {
    display: block;
    padding: 1px;

}

.box-primary-nav-trigger {
    position: absolute;
	margin-right: 3%;
    right: 0;
    top: 0;
    height: 100%;
    width: 50px;
    background-color: #fff;
}

.box-primary-nav-trigger .box-menu-text {
    color: #6fcbd3;
    text-transform: uppercase;
    font-weight: 700;
    display: none;
}

.box-primary-nav-trigger .box-menu-icon {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    width: 18px;
    height: 2px;
    background-color: gray;
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s;
    list-style: none;
}

.box-primary-nav-trigger .box-menu-icon::before,
.box-primary-nav-trigger .box-menu-icon:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: gray;
    right: 0;
    -webkit-transition: -webkit-transform .3s, top .3s, background-color 0s;
    -webkit-transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: top .3s, background-color 0s, -webkit-transform .3s;
    transition: transform .3s, top .3s, background-color 0s;
    transition: transform .3s, top .3s, background-color 0s, -webkit-transform .3s;
}

.box-primary-nav-trigger .box-menu-icon::before {
    top: -5px;
}

.box-primary-nav-trigger .box-menu-icon::after {
    top: 5px;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked {
    background-color: rgba(255, 255, 255, 0);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before,
.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    background-color: 393939;
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::before {
    top: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

.box-primary-nav-trigger .box-menu-icon.is-clicked::after {
    top: 0;
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
}

.box-primary-nav-trigger {
    width: 100px;
    padding-left: 1em;
    background-color: transparent;
    height: 30px;
    line-height: 30px;
    right: 10px;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.box-primary-nav-trigger .box-menu-text {
    display: inline-block;
}

.box-primary-nav-trigger .box-menu-icon {
    left: auto;
    right: 1em;
    -webkit-transform: translateX(0) translateY(-50%);
    transform: translateX(0) translateY(-50%);
}

.box-primary-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(30, 30, 30, 0.90);
    z-index: 2;
    text-align: center;
    padding: 50px 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    list-style: none;
}

.box-primary-nav li {
    font-size: 22px;
    font-size: 1.375rem;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: .2em 0;
    text-transform: capitalize;
}

.box-primary-nav a {
    display: inline-block;
    padding: .4em 1em;
    border-radius: 0.25em;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}
.box-primary-nav a:focus {
    outline: none;
}

.no-touch .box-primary-nav a:hover {
    text-decoration: none;
    color: #ddd;
}

.box-primary-nav .box-label {
    color: #D3AE43;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
	letter-spacing: 1px;
    margin: 2.4em 0 .8em;
}

.box-primary-nav .box-social {
    display: inline-block;
    margin: 10px .4em;
}

.box-primary-nav .box-social a {
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 30px
}

.box-primary-nav.is-visible {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.box-primary-nav {
    padding: 150px 0 0;
}

.box-primary-nav li {
    font-size: 18px;
}


/* box-intro
==================================================*/

.box-intro {
    text-align: center;
    display: table;
    height: 100vh;
    width: 100%;
}

.box-intro .table-cell {
    display: table-cell;
    vertical-align: middle;
}

.box-intro em {
    font-style: normal;
    text-transform: uppercase
}

b i:last-child {
    color: #D3AE43 !important;
}

.box-intro h5 {
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #999;
    line-height: 1.7
}


/* mouse effect */

/*.mouse {
    position: absolute;
    width: 22px;
    height: 42px;
    bottom: 40px;
    left: 50%;
    margin-left: -12px;
    border-radius: 15px;
    border: 2px solid #D3AE43 ;
    -webkit-animation: intro 1s;
    animation: intro 1s;
}

.scroll {
    display: block;
    width: 3px;
    height: 3px;
    margin: 6px auto;
    border-radius: 4px;
    background: #D3AE43 ;
    -webkit-animation: finger 2s infinite;
    animation: finger 2s infinite;
}*/



*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }


.mouse_scroll {
    display: block;
    margin: 0 auto;
    width: 24px;
    height: 100px;
    /*background: blue;*/
    margin-top: 95px;
}


.m_scroll_arrows
{
  display: block;
  width: 5px;
  height: 5px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
   
  border-right: 2px solid #D3AE43;
  border-bottom: 2px solid #D3AE43;
  margin: 0 0 3px 4px;
  }


.unu
{
  margin-top: 1px;
}

.unu, .doi, .trei
{
    -webkit-animation: mouse-scroll 1s infinite;
    -moz-animation: mouse-scroll 1s infinite;
}

.unu
{
  -webkit-animation-delay: .1s;
  -moz-animation-delay: .1s;
  -webkit-animation-direction: alternate;
}

.doi
{
  -webkit-animation-delay: .2s;
  -moz-animation-delay: .2s;
  -webkit-animation-direction: alternate;
  margin-top: -6px;
}

.trei
{
  -webkit-animation-delay: .3s;
  -moz-animation-delay: .3s;
  -webkit-animation-direction: alternate;
  margin-top: -6px;
}




.mouse
{
height: 42px;
width: 24px;
  border-radius: 14px;
  transform: none;
  border: 2px solid #6fcbd3;
  top: 170px;
}

.wheel
{
  height: 5px;
  width: 2px;
  display: block;
  margin: 5px auto;
  background: white;
  position: relative;
  border: 2px solid #6fcbd3 ;
  -webkit-border-radius: 8px;
          border-radius: 8px;
  

}

.wheel
{
  -webkit-animation: mouse-wheel 0.6s linear infinite;
  -moz-animation: mouse-wheel 0.6s linear infinite;
}



@-webkit-keyframes mouse-wheel
{
   0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(6px);
    -ms-transform: translateY(6px);
    transform: translateY(6px);
  }
}

@-moz-keyframes mouse-wheel
{
  0% { top: 1px; }
  25% { top: 2px; }
  50% { top: 3px;}
  75% { top: 2px;}
  100% { top: 1px;}
}

@-webkit-keyframes mouse-scroll {

  0%   { opacity: 0;}
  50%  { opacity: .5;}
  100% { opacity: 1;}
}
@-moz-keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@-o-keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
@keyframes mouse-scroll {

  0%   { opacity: 0; }
  50%  { opacity: .5; }
  100% { opacity: 1; }
}
/*------------------*/

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

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

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

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



/* text rotate */

.box-headline {
    font-size: 120px;
    line-height: 1.0;
}

.box-words-wrapper {
    display: auto;
    position: relative;
}

.box-words-wrapper b {
    position: absolute;
    white-space: nowrap;
    left:0;
    top: 0;
}

.box-words-wrapper b.is-visible {
    position: relative;
    

}

.no-js .box-words-wrapper b {
    opacity: 10;
}

.no-js .box-words-wrapper b.is-visible {
    opacity: 1;
}

.box-headline.rotate-2 .box-words-wrapper {
    -webkit-perspective: 300px;
    perspective: 300px;
}

.box-headline.rotate-2 i,
.box-headline.rotate-2 em {
    display: inline-block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.box-headline.rotate-2 b {
    opacity: 0;
}

.box-headline.rotate-2 i {
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(-20px) rotateX(90deg);
    transform: translateZ(-20px) rotateX(90deg);
    opacity: 0;
}

.is-visible .box-headline.rotate-2 i {
    opacity: 1;
}

.box-headline.rotate-2 i.in {
    -webkit-animation: box-rotate-2-in 0.4s forwards;
    animation: box-rotate-2-in 0.4s forwards;
}

.box-headline.rotate-2 i.out {
    -webkit-animation: box-rotate-2-out 0.4s forwards;
    animation: box-rotate-2-out 0.4s forwards;
}

.box-headline.rotate-2 em {
    -webkit-transform: translateZ(20px);
    transform: translateZ(20px);
}

.no-csstransitions .box-headline.rotate-2 i {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
    opacity: 0;
}

.no-csstransitions .box-headline.rotate-2 i em {
    -webkit-transform: scale(1);
    transform: scale(1);
}

.no-csstransitions .box-headline.rotate-2 .is-visible i {
    opacity: 1;
}

@-webkit-keyframes box-rotate-2-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(90deg);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0deg);
    }
}

@keyframes box-rotate-2-in {
    0% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(90deg);
        transform: translateZ(-20px) rotateX(90deg);
    }
    60% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(-10deg);
        transform: translateZ(-20px) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0deg);
        transform: translateZ(-20px) rotateX(0deg);
    }
}

@-webkit-keyframes box-rotate-2-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0);
    }
    60% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-100deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-90deg);
    }
}

@keyframes box-rotate-2-out {
    0% {
        opacity: 1;
        -webkit-transform: translateZ(-20px) rotateX(0);
        transform: translateZ(-20px) rotateX(0);
    }
    60% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-100deg);
        transform: translateZ(-20px) rotateX(-100deg);
    }
    100% {
        opacity: 0;
        -webkit-transform: translateZ(-20px) rotateX(-90deg);
        transform: translateZ(-20px) rotateX(-90deg);
    }
}


/* portfolio section
==================================================*/

.portfolio .categories-grid span {
    font-size: 30px;
    margin-bottom: 30px;
    display: inline-block;
}

.portfolio .categories-grid .categories ul li {
    list-style: none;
    margin: 20px 0;
}

.portfolio .categories-grid .categories ul li a {
    display: inline-block;
    color: #888;
    padding: 0 10px;
    margin: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
    text-decoration: none;
	color: #6fcbd3;
	
}

.portfolio .categories-grid .categories ul li a.active {
    margin-left: 0;
    border-width:thin;

	background-color:#6fcbd3;
    padding: 0px 20px;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
}

.portfolio_filter {
    padding-left: 0;
}

.portfolio_item {
    position: relative;
    overflow: hidden;
    display: block;
}

CSS
/*.img{

     opacity: 0.5;
    filter: alpha(opacity=50);
}*/

/*DARKEN*/
.brighten img {
  -webkit-filter: brightness(0%);
  -webkit-transform: translate(-100%);
    transform: translate(-100%);
}

.brighten img:hover {
  -webkit-filter: brightness(40%);
}


.portfolio_item .portfolio_item_hover {
    position: absolute;
    top:   0px;
    left: 0px;
	color:#fff;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .8);
    -webkit-transform: translate(-100%);
    transform: translate(-100%);
    opacity: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;

}



.portfolio_item .portfolio_item_hover .item_info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    padding: 10px;
    width: 100%;
    font-weight: bold;
}

.portfolio_item .portfolio_item_hover .item_info span {
    display: block;
    color: #f2f2f2;
	letter-spacing: 1px;
    font-size: 12px;
    top:100px; 
    height: 100%;
    width: 100%;
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
    opacity: 0;
}

.portfolio_item .portfolio_item_hover .item_info em {
    font-style: normal;
    display: inline-block;
	
	border-style: solid;
	border-color: #6fcbd3;
	border-width: thin;
	
	/*background-color:#6fcbd3;*/
	border-radius: 20px;
	
    /*work title when hover on work*/
    padding: 5px 20px;
    /*border-radius: 25px;*/
    color: #fff;  
    margin-top: 10px;
    -webkit-transform: translateX(-100px);
    transform: translateX(-100px);
    -webkit-transition: all .3s ease-in-out .3s;
    transition: all .3s ease-in-out .3s;
    opacity: 0;
    font-size: 14px;
    letter-spacing: 2px;
}

.portfolio_item:hover .portfolio_item_hover {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.portfolio .categories-grid .categories ul li {
    float: left;
}

.portfolio .categories-grid .categories ul li a {
    padding: 0 10px;
    -webkit-transition: all .2s ease-in-out .2s;
    transition: all .2s ease-in-out .2s;
}

.portfolio_filter {
    padding-left: 0;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-inner {
    padding-bottom: 0 !important;
    padding-top: 55px;
}


/* footer
==================================================*/

footer {
    padding: 30px 0;
    text-align: center;
    background: white;
	
}

.copyright {
    color: #ccc;
    margin-bottom: 0;
	
}

footer img {
    margin: 0 auto;
}


/* backto top
==================================================*/

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 20px;
    line-height: 40px;
    font-size: 20px;
    right: 10px;
    text-align: center;
    color: #fff;
    background:#6fcbd3;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-fade-out {
    opacity: .5;
}

.no-touch .cd-top:hover,
.no-touch .cd-top:focus {
    background-color: #6fcbd3;
    opacity: 1;
    color: #fff;
}


.button {
    background-color: #d3ae43; 
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}



/* About page
==================================================*/

.gif-responsive_1 { 
        display: auto;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
        border: 0;
}


.top-bar {
    padding: 340px 0 230px;
    background: url(../img/about_main.jpg);
    background: url(../img/about_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.top-bar_1-1 {
	background-color:#f2f2f2;
    padding: 50px 0 100px;
	/*background: url(../img/01_1.jpg); */
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.top-bar_1 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/01_1.jpg);
    background: url(../img/case_project0.jpg);
    background-size: cover;

    background-position: center center;
    text-align: center;
}

.top-bar_2 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case2_project_main.jpg);
    background: url(../img/case2_project_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.top-bar_3 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case3_main.jpg);
    background: url(../img/case3_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}


.top-bar_4 {
    color: #333;
    padding: 0 0;
    /*background: url(../img/about_main.jpg); */
    background-size: cover;
    background-position: center center;
    text-align: center;
}


.top-bar_4_1 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case4_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.top-bar_5 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case5_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.top-bar_6 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case6_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.top-bar_7 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case7_main.jpg);
    background-size: cover;

    background-position: center center;
    text-align: center;
}

.top-bar_8 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case8_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}
.top-bar_9 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case9_main.jpg);
    background-size: cover;

    background-position: center center;
    text-align: center;
}
.top-bar_10 {
    color: #333;
    padding: 340px 0 230px;
    background: url(../img/case10_main.jpg);
    background-size: cover;
    background-position: center center;
    text-align: center;
}

.top-bar h1 {
    font-size: 60px;
    text-transform: uppercase;
    font-weight: 700;
    color: white;
    line-height: 50px;
}

.top-bar p {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 500;
    color: #777;
}

.top-bar p a {
    color: #777;
}

.top-bar p a:hover,
.top-bar p a:focus {
    color: #555;
    text-decoration: none;
}

.social-ul {
    list-style: none;
    display: inline-block;
    padding-left: 0;
}

.social-ul li {
    margin: 0 10px;
    float: left;
}

.social-ul li a {
    font-size: 25px;
    color: #555;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.social-ul li a:hover {
    color: #888;
}


/* Services page
==================================================*/

.size-50 {
    font-size: 50px;
}

.service-box {
    margin-bottom: 30px;
}

.service-box h3 {
    margin-top: 0;
}


/* contact page
==================================================*/

.details-text i {
    margin-right: 10px;
}

.textarea-contact {
    height: 200px;
    width: 100%;
    border: solid 1px rgba(0, 0, 0, .1);
    position: relative;
}

.textarea-contact textarea {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 20px;
    background-color: transparent;
    float: left;
    z-index: 2;
    font-size: 14px;
    color: gray;
    resize: none;
}

.textarea-contact > span {
    position: absolute;
    top: 20px;
    left: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 12px;
    text-transform: uppercase;
    color: #cdcdcd;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 1;
}

.input-contact {
    height: 40px;
    width: 100%;
    border: solid 1px rgba(0, 0, 0, .1);
    position: relative;
    margin-bottom: 30px;
}

.input-contact input[type="text"] {
    height: 100%;
    width: 100%;
    border: 0;
    padding: 0 20px;
    float: left;
    position: relative;
    background-color: transparent;
    z-index: 2;
    font-size: 14px;
    color: gray;
}

.input-contact > span {
    position: absolute;
    top: 50%;
    left: 20px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 12px;
    text-transform: uppercase;
    color: #cdcdcd;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    z-index: 1;
}

.input-contact > span.active,
.textarea-contact > span.active {
    color: #D3AE43;
    font-size: 10px;
    top: 0px;
    left: 5px;
    background-color: #fff;
    padding: 5px
}

input:focus,
textarea:focus {
    outline: none;
}

.contact-info {
    margin-top: 20px;
}

.contact-info i {
    height: 30px;
    width: 30px;
    display: inline-block;
    background: #D3AE43;
    text-align: center;
    line-height: 33px;
    margin-right: 10px;
    color: #fff;
    font-size: 21px;
}

.contact-info p {
    display: inline-block;
    margin-right: 20px;
}

.btn-box {
    background: #6fcbd3;
    padding: 10px 50px;
    border-radius: 0;
    color: #fff;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.btn-box:hover,
.btn-box:focus {
    background: #6adbe5;
    color: #fff;
}


/* single project page
==================================================*/

.cat-ul {
    padding-left: 0;
    list-style: none
}

.cat-ul li i {
    margin-right: 10px;
    color: #D3AE43;
}

/* Responsive media queries
==================================================*/

@media (max-width: 991px) {
    .portfolio .categories-grid span {
        margin-bottom: 0;
        text-align: center;
        width: 100%;
    }
    .portfolio .categories-grid .categories ul li {
        text-align: center;
    }
    .portfolio .categories-grid .categories ul li a {
        margin-left: 0;
    }
    .col-md-6 h3 {
        margin-top: 30px;
    }
}

@media only screen and (max-width: 670px) {
    .box-headline {
        font-size: 100px;
    }
    .box-intro h5 {
        font-size: 12px;
    }
    .box-primary-nav a {
        padding: 5px 1em;
        font-size: 14px;
    }
    .box-primary-nav {
        padding: 80px 0 0;
    }
    .box-primary-nav .box-social a {
        font-size: 23px;
    }
    .top-bar h1 {
        font-size: 20px;
        line-height: 10px;
    }
    .portfolio .categories-grid .categories ul li {
        float: none;
    }
}

@media only screen and (max-width: 520px) {
    .box-headline {
        font-size: 73px;
    }
	.box-intro h5{
		color:#D2AD43;
        font-size: 12px;
    }
    .main-container {
        padding: 50px 0;
    }
}

@media only screen and (max-width: 420px) {
    .box-headline {
        font-size: 50px;
    }
    .box-intro h5 {
        font-size: 12px;
    }
    .top-bar h1 {
        font-size: 30px;
        line-height: 30px;
    }
}
/*container 两侧边距*/
.portfolio-div{
    margin:0 50px;
}
.portfolio-div .col-md-3{
    overflow: hidden;
    padding:0 20px 40px;
}
@media (max-width: 1440px) {
    .portfolio-div .col-md-3{
        padding:0 10px 10px;
    }
}
.portfolio-div .col-md-3 img{
    width:100% !important;
    height:100% !important;
}


