﻿/*
* Box Theme
* Created by : Ahmed Eissa
* website : www.ahmedessa.net
* behance : https://www.behance.net/3essa
*/


/* 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('https://fonts.googleapis.com/css?family=PT+Sans+Narrow');

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

@import url('https://fonts.googleapis.com/css?family=Amatic+SC');

@import url('https://fonts.googleapis.com/css?family=Shadows+Into+Light&display=swap');

@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300');

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

html,
body {
	height: 100%;
	width: 100%;
	font-family: 'PT Sans Narrow', 'Poppins', sans-serif;
	font-size: 16px;
	//line-height: 1.5;
	color: #999;
	background: #e5e6e6;
}

img {
	//width:100%;
	opacity:0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;   
	-webkit-transition: opacity 500ms ease-in-out 100ms;

	-moz-transition: opacity 500ms ease-in-out 100ms;
	-o-transition: opacity 500ms ease-in-out 100ms;
	transition: opacity 500ms ease-in-out 100ms;
}

.box-primary-nav img {
	opacity:1;
}


img.b-loaded {
	opacity:1;
	width:auto;
}


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

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

.main-container {
	//display: table;
	//padding: 100px 0;
	//text-align: center;
}

#thumb-container {
	display: table;
	text-align: center;
	v-align: top;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	//background: #000;
	//border: 1px solid;
	width: 100%;
}

.xrow {
	width: 100%;
	text-align: center;
	padding: 20px 0 10px 0;
}

.xrow li {
	list-style: none;
	display: inline-block;
	//padding: 0 5px 0 5px;
	margin: 0 5px 0 5px;
	-webkit-transition: all .2s ease-in-out .2s;
	transition: all .2s ease-in-out .2s;
}

.selected {
	background: yellow;
	padding: 0 5px 0 5px;
	border-radius: 4px;
}

.middle-part {
	margin: 0 auto;
	width: 50%;
	//background: #ff0000;
}
@media screen and (max-width: 980px) {
	.middle-part {
		width: 40%;
		//background: yellow;
	}
}
@media screen and (max-width: 680px) {
	.middle-part {
		width: 50%;
		//background: silver;
	}
}
@media screen and (max-width: 520px) {
	.middle-part {
		width: 60%;
		//background: blue;
	}
}
@media screen and (max-width: 420px) {
	.middle-part {
		width: 70%;
		//background: tomato;
	}
}


.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important; }
.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}


@media (max-width:767px){.visible-xs-block{display:block!important}}

@media (min-width:768px) and (max-width:991px){.visible-sm-block{display:block!important}}

.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: #ffbf00;
    font-size: 11px;
}


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

h1 {
	//font-family: 'Amatic SC', cursive;
	font-family: 'Shadows Into Light', cursive;
	//font-family: 'Open Sans Condensed', sans-serif;
	//font-family: 'PT Sans Narrow', 'Poppins', sans-serif;
	//font-weight: bold;
	opacity: 0.8;
	color: #ffffff;
	font-size: 14px;
	letter-spacing: 2px;
	//text-transform: uppercase;
}

h3 {
    color: #393939;
}

.sub-heading {
	padding-top	: 5px;
	font-size		: 22px;
	font-weight	: 500;
	color		: #393939;
}

.dotted {
	//border-bottom	: 1px dotted rgba(0, 0, 0, 0.2);
	padding-bottom	: 30px;
}

@media screen and (max-width: 520px) {
	.dotted {
		border-bottom	: 1px dotted rgba(0, 0, 0, 0.2);
		padding-bottom	: 15px;
	}
}


/* preloader
==================================================*/

#preloader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #000;
	/* 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: #ffbf00;
	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;
	display: inline-block;
	top: 0px;
	//left: 0;
	//background: rgba(0, 255, 255, 0.95);
	height: 50px;
	width: 100%;
	text-align: center;

	z-index: 3;

	// box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;

	-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: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

.box-header.menu-is-open {
    //background-color: rgba(255, 0, 0, 1);
    background: transparent;
}

.box-header2 {
    position: absolute;
    top: 0;
    right: 0;
    //background: #cc0000;
    height: 50px;
   width: 70px;
    z-index: 9;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    -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-logo {
	//display: block;
	padding-top: 10px;
	//background-image : url('../img/D-only-Yellow.png');

	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;

//  -webkit-filter: sepia(1);
//  filter: sepia(1);
}

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

.box-primary-nav-trigger .box-menu-text {
    color: #ffb400;
    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: #ffb400;
    -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: #ffb400;
    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: #ffb400;
}

.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%);
}



.middle > * {
  vertical-align: middle;
}

.box-primary-nav {
	//padding: 17px 0 0;
	display: table;
	height: 100vh;
	width: 100%;

	background: #222;
	position: fixed;
	left: 0;
	top: 0;

	//border: 1px solid #ccc;

	 //background: rgba(0, 0, 0, 1.0);
	z-index: 6;
	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;

	background:    url(../img/blackboard.jpg) center no-repeat;
}



.table-container {
	display: table;
	text-align: center;
  display: table;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
	//background: #cc0000;
}





.place-at-middle {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}




.v-middle {
	//position: absolute;
    display: table-cell;
    vertical-align: middle;
}

.box-primary-nav li {
    font-size: 18px;
    font-weight: 100;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    //margin: .2em 0;
    text-transform: capitalize;
	//border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
	color: #ccc;
}

.lowercase {
	text-transform: lowercase;
}

.box-primary-nav a {
    display: inline-block;
   padding-top: 1em;
    border-radius: 0.25em;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: normal;
}

.box-primary-nav li a:hover
.box-primary-nav li a:focus {
	color: #ffcc00;
}

.box-primary-nav li a:active {
	color: #45b3a8;
}




.xrow ul li a {
	color: #444;
}

.xrow ul li a:hover,
.xrow ul li a:focus {
	color: #d67e01;
}

.xrow ul li a:active {
	color: #45b3a8;
}

///////////////////


//////////////////

.uplift {
   padding-top: 0.2em;
}

.box-primary-nav a:focus {
    outline: none;
    color: #fbf772;
}

.no-touch .box-primary-nav a:hover {
    text-decoration: none;
    color: #fbf772;
}
.no-touch .box-primary-nav a:active {
    text-decoration: none;
    color: #45b3a8;
}

.box-primary-nav .box-label {
	display: block;
	color: #ffbf00;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 17px;
	// margin: 2.4em 0 .8em;
	text-align: center;
}

.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-intro
==================================================*/

.box-intro {
	text-align: center;
	display: table;
	height: 100vh;
	width: 100%;
	background:    url(../img/blackboard.jpg) center no-repeat;
	background-attachment: fixed;
	//background: #cc0000;
}

.box-intro .table-cell {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	//background: #cc0000;
}


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

b i:last-child {
    color: #ffbf00 !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 #888;
    -webkit-animation: intro 1s;
    animation: intro 1s;
}

.dot {
  height: 25px;
  width: 25px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.square {
	position: absolute;
	width: 32px;
	height: 32px;
	bottom: 8%;
	left: 50%;
	margin-left: -12px;
	border-radius: 50%;
	// border: 1px solid #888;
	-webkit-animation: intro 1s;
	animation: intro 1s;
	padding-top: 5px;
	//padding-bottom: 4px;
	background: #ff9933;
	-webkit-transition: all .3s;
	transition: all .3s
}

.square:hover {
	background: #000;
	-webkit-transition: all .3s;
	transition: all .3s;
}

.square:active {
	background: #cc0000;
	-webkit-transition: all .3s;
	transition: all .3s
}

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

@-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: 30px;
	//line-height: 1.0;
	 letter-spacing: 2px;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
	color:#fff;
	font-weight: 900;
	text-align: center;
}

.box-words-wrapper {
	display: inline-block;
	//position: relative;
	//width: 117px;
	//background: #f00;
	text-align: center;
}

.box-words-wrapper b {
    display: inline-block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
	text-align: center;
	//width: 140px;
}

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

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

.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;
font-weight: normal;
}

.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.2s forwards;
    animation: box-rotate-2-in 0.2s forwards;
}

.box-headline.rotate-2 i.out {
    -webkit-animation: box-rotate-2-out 0.2s forwards;
    animation: box-rotate-2-out 0.2s 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
==================================================*/
.space {
	padding-top: 20px;
	padding-right: 30px;
	padding-bottom: 20px;
	padding-left: 4px;
}

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

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

.portfolio .categories-grid .categories ul li a {
	font-size: 12px;
    display: inline-block;
    color: #60606e;
    padding: 0 3px;
    //margin: 0 0px;
    -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;
    background-color: #ffffcc;
}

.portfolio .categories-grid .categories ul li a.active {
    //margin-left: 0;
    background-color: #ffbf00;
    padding: 0px 3px;
    color: white;
    border-radius: 2px;
    text-decoration: none;
}

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

.portfolio_item .portfolio_item_hover {
    position: absolute;
    top: 0px;
    left: 0px;
    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: #fff;
    font-size: 18px;
    -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;
    background-color: #ffbf00;
    padding: 5px 20px;
    border-radius: 25px;
    color: #333;
    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: 10px;
    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 3px; // spacing - isotope cats
    -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: 20px;
}

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

.portfolio_container {
	float: left;
}

#folio-wrap, #folio-wrap1, #folio-wrap2, #folio-wrap3, #folio-wrap4, #folio-wrap5, #folio-wrap6, #folio-wrap7 {
	float: left;
	//clear:both;
	width: 100%;
	//background: #cc0000;
}

#folio-wrap7 {
	background: #222;

	padding-right:0px;
	padding-left:0px;
	margin-right:auto;
	margin-left:auto;
	width: 100%;
	display: table;

	text-align: center;
}


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

footer {
	padding: 14px 0;
	margin-top: 0.5em;
	position: fixed;
	bottom: 0px;
	width: 100%;
	text-align: center;
	background: #f5f5f5;
	//background: #000;
	z-index : 2;
}
 
footer2 {
	padding: 30px 0;
	margin-top: 0.5em;
	position: fixed;
	bottom: 0px;
	width: 100%;
	text-align: center;
	background: #f5f5f5;
	//background: #000;
}


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

footer img {
    margin: 0 auto;
}


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

.cd-top {
    display: inline-block;
    height: 30px;
    width: 30px;
    position: fixed;
    bottom: 10px;
    line-height: 30px;
    font-size: 20px;
    right: 10px;
    text-align: center;
    color: #fff;
    background: rgba(255, 191, 0, 0.8);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
	z-index: 4;
}

.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: #ffbf00;
    opacity: 1;
    color: #fff;
}


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

.top-bar {
    //color: #333;
    padding: 40px 0 10px;
    background: -webkit-linear-gradient( rgba(255, 255, 255, .0), rgba(255, 255, 255, .8)), url(../img/01.jpg);
    background: linear-gradient( rgba(255, 255, 255, .0), rgba(255, 255, 255, .8)), url(../img/01.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    text-align: center;
}

.top-bar h1 {
	font-size: 30px;
	text-transform: uppercase;
	font-weight: 700;
 	//color: #fff;
	opacity: 0.5;
	// line-height: 50px;
}

.top-bar p {
    font-size: 15px;
   // text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.top-bar p a {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar p a:hover,
.top-bar p a:focus {
    color: #ffcc00;
    text-decoration: none;
}
.top-bar p a:active {
    text-decoration: none;
    color: #45b3a8;
}


/*
@media (orientation: landscape) {
	.top-bar {
		padding: 20px 0 10px;	
	}
}
@media (orientation: portrait) {
	.top-bar {
		padding: 20px 0 10px;	
	}
}
*/

.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 {
	//background: #ff0000;
	//border: 1px solid;
	//margin-right: 1px;
	margin-bottom: 20px !important;
}

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




.work-box {
	//background: #ccc;
	//border: 1px solid;
	min-height: 154px;
	padding: 10px;
}

.work-box-2 {
	//background: #ccc;
	min-height: 205px;
}

.work-box-3 {
	//background: #ccc;
	min-height: 120px;
}

.icon-box {
	//background: #ff0000;
	width: 60px;
	height: 60px;
	display: table-cell;
	text-align: center;
	z-index: 999;
}
/* 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: #9a9a9a;
    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: #9a9a9a;
}

.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: #ffbf00;
    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: #ffbf00;
    text-align: center;
    line-height: 33px;
    margin-right: 10px;
    color: #fff;
    font-size: 21px;
}

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

.xtraspace {
	margin-top: 10px;
	margin-bot: 10px;
}


.button-a {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;

	-moz-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	-ms-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;

	color: #fff;

	border-radius: 2px;
	border: 1px solid;
	cursor: pointer;
	display: inline-block;

	font-weight: 200;

	font-size: 0.7rem;
	letter-spacing: .2rem;

	//height: 1.85rem;
	//line-height: 2.95rem;
	padding: 0.5rem;

	margin-top: 10px;

	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
}



.button-a:hover {
	-moz-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	-webkit-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	-ms-transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;

	background-color: rgba(0, 0, 0, 0.5);
}



.color1 {
	background-color: rgba(165, 255, 0, 0.5);
}
.color2 {
	background-color: rgba(255, 165, 0, 0.5);
}
.color3 {
	background-color: rgba(0, 165, 255, 0.5);
}
.color4 {
	background-color: rgba(255, 96, 0, 0.5);
}

.btn-box {
    background: #ffbf00;
    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: #F5B700;
    color: #fff;
}


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

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

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

/* column
==================================================*/


/* /////////////////////////////////////////////////////////// */


.quarter {
	display: inline-block;
	position: relative;
	min-height:1px;

	width:25%;

	margin: 10px;
	//text-align: left;
	color: #000;


	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;
}

.vector-icon {
	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;
}

.quarter .vector-icon:hover {
	-webkit-transform	: scale(1.05);
	-ms-transform	: scale(1.05);
	transform		: scale(1.05);
}

@media (max-width:768px){
	.quarter {
		width: 40%;
		padding: 0px;
		margin-bottom: 50px;
		//border: 1px solid;
	}
}

.sq-div-1 { 
      box-sizing: border-box;
      float: right;
	background: #ccc;
    }
.sq-div-2 { 
      box-sizing: border-box;
      float: left;
	background: #ccc;
    }
.sq-div-3 { 
      box-sizing: border-box;
      float: right;
	background: #ccc;
    }
.sq-div-4 { 
      box-sizing: border-box;
      float: left;
	background: #ccc;
    }

/* /////////////////////////////////////////////////////////// */



.wrapper {
	padding: 5px;
	max-width: 960px;
	width: 95%;
	margin: 20px auto;
}
header {
	padding: 0 15px;
}

.columns {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: 5px 0;
}

.column {
	flex: 1;
	border: 1px solid gray;
	margin: 2px;
	padding: 10px;
	&:first-child { margin-left: 0; }
	&:last-child { margin-right: 0; }
	
}



@media screen and (max-width: 980px) {
  .columns .column {
		margin-bottom: 5px;
    flex-basis: 40%;
		&:nth-last-child(2) {
			margin-right: 0;
		}
		&:last-child {
			flex-basis: 100%;
			margin: 0;
		}
	}
}

@media screen and (max-width: 680px) {
	.columns .column {
		flex-basis: 100%;
		margin: 0 0 5px 0;
	}
}


.keep-gap-1, .keep-gap-2, .keep-gap-3, .keep-gap-4 {
	//background: #eeffcc;
}

.col-x {
	display: inline-block;
	width: 19.66666%;
	border-radius: 4px;
	border: 1px solid #fff;
	padding: 10px;
	background: #fff;
	//background: #222;
	margin: 2px 2px 2px 2px;
	color: #222;
	//color: #ccc;
	text-align: center;
}
.col-y {
	display: inline-block;
	width: 24.44444%;
	border-radius: 4px;
	//border: 1px solid #fff;
	padding: 15px;
	background: #fff;
	//background: #222;
	margin: 2px 2px 2px 2px;
	color: #222;
	//color: #ccc;
	text-align: center;
}

.col-z {
	display		: inline-block;
	//width		: 24.44444%;
	border-radius	: 4px;
	padding		: 15px;
	background	: #ffd56f;
	border		: 1px solid #fff;
	//background	: #222;
	margin		: 2px 2px 2px 2px;
	color		: #222;
	//color		: #ccc;
	text-align	: center;
	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;
}

.col-z:hover {
	background	: #fff;
	border		: 1px solid #ccc;

	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;
}

.col-x img {
	width: 100%;
	padding-bottom: 8px;
}

.col-y img {
	width: 100%;
	//padding: 2px;
}

.col-x .overlay img {
	//vertical-align	: bottom;
	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;
}

.col-y .overlay img {
	//vertical-align	: bottom;
	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;
}

.col-x:hover .overlay img {
	-webkit-transform	: scale(1.03);
	-ms-transform	: scale(1.03);
	transform		: scale(1.03);
}

.col-y:hover .overlay img {
	-webkit-transform	: scale(1.03);
	-ms-transform	: scale(1.03);
	transform		: scale(1.03);
}

.col-xs-3 {
	//background: #ccc;
}

/* Responsive media queries
==================================================*/
@media (max-width: 1680px) {

	.col-x {
		width: 19.55555%;
		//background: #ff0000;
	}
	.col-y {
		width: 32.22222%;
		//background: #ff0000;
	}
}

@media (max-width: 1280px) {
	//.col-x {
		//width: 24.44444%;
		//background: #ff00cc;
	//}
	.col-y {
		width: 32.22222%;
		//background: #ff00cc;
	}
	.center  {
		//margin-top: 50px;
	}
}


@media (max-width: 980px) {
	.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;
	}
	.f {
		width: 48%;
		padding-left: 0px;
		//margin: 10px 10px 10px 10px;
	}
	.keep-gap-1{
		padding-right: 20px;
	}

	.keep-gap-3{
		padding-right: 20px;
	}

	.col-md-3 {
		width: 50%;
		float: left;
		padding-left: 10px;
		margin: 0px 0px 0px 0px;
	}
	.col-md-4 {
		width:50%;
		float: left;
		//background: #eee;
	}
	.col-md-4m {
		width:50%;
		float: left;
		//background: #eee;
	}
	.work-box {
		min-height: 170px;
	}
	.col-xs-3 {
		width: 50%;
	}
	.col-x {
		width: 24.44444%;
		//background: #cc0000;
	}
	.col-y {
		width: 32.22222%;
	}
	.col-md-12 {
		width: 100%;
	}

}

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

    .box-headline {
        font-size: 28px;
    }
    .box-intro h5 {
        font-size: 12px;
    }
    .box-primary-nav a {
        //padding: 5px 1em;
        font-size: 14px;
    }
    .box-primary-nav {
        padding: 17px 0 0;
    }
    .box-primary-nav .box-social a {
        font-size: 23px;
    }
	.top-bar {
		padding: 30px 0 20px;
	}

    .portfolio .categories-grid .categories ul li {
        //float: none;
	//background:#000;
    }
	.col-md-3 {
		width: 50%;
		padding-left: 10px;
		margin: 0px 0px 0px 0px;
	}
	.col-md-4 {
		width:50%;
		float: left;
		//background: #ffc;
	}
	.col-md-4m {
		width:100%;
		//float: left;
		//background: #eee;
	}
	.work-box {
		min-height: 170px;
	}

	.col-xs-3 {
		width: 50%;
	}
	.col-x {
		width: 32.33333%;
		//background: #cccccc;
	}
	.col-y {
		width: 47.99999%;
	}
	.col-md-12 {
		width: 100%;
	}
}

@media only screen and (max-width: 520px) {
    .box-headline {
        font-size: 26px;
    }
    .box-intro h5 {
        font-size: 12px;
    }
    .main-container {
        //padding: 10px;
    }
	.col-md-3 {
		width: 50%;
		
	}
	.col-md-4 {
		width:100%;
		//float: left;
		//background: #ccc;
	}
	.col-xs-3 {
		width: 49.99999%;
	}
	.col-x {
		width: 48.55555%;
		//background: #ff0000;
	}
	.col-md-12 {
		width: 100%;
	}

	.service-box {
		border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
	}
}

@media only screen and (max-width: 520px) {
	.top-bar h1 {
		font-size: 24px;
		padding-top: 0px;
	}
	.box-logo img {
		width: 24px;
	-moz-transition	: all 0.3s ease-in-out;
	-o-transition	: all 0.3s ease-in-out;
	-webkit-transition	: all 0.3s ease-in-out;
	-ms-transition	: all 0.3s ease-in-out;
	transition		: all 0.3s ease-in-out;
	}
}

@media only screen and (max-width: 480px) {
	.box-logo {
		//display: block;
		padding: 6px 0px 6px 0px;
		//width: 100%;
		//background: #ff0000;
	}
	.box-logo-big {
		//display: block; DO NOT USE IT
		//padding: 10px;
		//display: block;
		width: 60%;
		text-align: center;
		align: center;
		//border: 1px solid white;
	}
	.box-intro .box-logo-big-home {
		width: 75%;
		max-width: 350px;
		//border: 1px solid white;
	}
	.box-headline {
		font-size: 24px;
	}
	.box-intro h5 {
	font-size: 12px;
	}
	.top-bar {
		padding: 20px 0 10px;
	}

	.col-md-3 {
		width: 100%;
	
	}

	.col-xs-3 {
		width: 50%;
	}

	.col-x {
		width: 47.55555%;
		//background: #ff0000;
	}

	.col-md-12 {
		width: 100%;
	}

	footer {
		//position: fixed;
		//bottom: 0px;
		padding: 14px 0;
	}

	footer2 {
		padding: 14px 0;
	}

	.cd-top {
		height: 30px;
		width: 30px;
		bottom: 10px;
		line-height: 30px;
		font-size: 20px;
		right: 10px;
	}
    .main-container {
        //padding: 10px;
    }
}

/*
@media screen and (max-width: 480px) {
  .col-xxs-12 {
    display: block;
    clear: both;
    //width: 100%;
    float: left;
  }
*/
}