.grid-wrap {
	clear: both;
	margin: 0 auto;
	padding: 0;
	max-width: 1860px;
}
.grid-wrap1 {
	clear: both;
	margin: 0 auto;
	padding: 0;
	max-width: 1860px;
}
.grid {
	margin: 30px auto;
	padding: 0;
	list-style: none;
	min-height: 500px;
}

.js .grid {
	background: url(../img/loading.gif) no-repeat 50% 100px;
}

.js .grid.loaded {
	background: none;
}

.grid li {
	display: inline-block;
	overflow: hidden;
	width: 300px;
	text-align: left;
	vertical-align: top;
}

.js .grid li {
	display: none;
	float: left;
}

.js .grid.loaded li {
	display: block;
}

/* Title box */
.title-box h2 {
	display: block;
	margin: 7px;
	padding: 20px;
	background: #2E3444;
	color: #D3EEE2;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 300;
}

.title-box h2 a {
	display: block;
	font-weight: 900;
}

.title-box h2 a:hover {
	color: #D3EEE2;
}

/* Anchor and image */
.grid li > a,
.grid li img {
	display: block;
	outline: none;
	border: none;
}

.grid li > a {
	position: relative;
	overflow: hidden;
	margin: 7px;
}

/* Curtain element */
.grid .curtain {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
	background: #96cdc8;
}

.grid.swipe-right .curtain {
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

.grid.swipe-down .curtain {
	-webkit-transform: translate3d(0,-100%,0);
	transform: translate3d(0,-100%,0);
}

.grid.swipe-rotate .curtain {
	width: 200%;
	height: 200%;
	-webkit-transform: rotate3d(0,0,1,90deg);
	transform: rotate3d(0,0,1,90deg);
	-webkit-transform-origin: top left;
	transform-origin: top left;
}

/* Shadow */
.grid .curtain::after {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,1);
	content: '';
}

.grid.swipe-right .curtain::after,
.grid.swipe-rotate .curtain::after {
	left: -100%;
}

.grid.swipe-down .curtain::after {
	top: -100%;
}

/* Title */
.grid li h3 {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 18px;
	width: 100%;

	color: #D3EEE2;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 800;
	font-size: 1em;
	-webkit-transition: -webkit-transform 0.2s, color 0.2s;
	transition: transform 0.2s, color 0.2s;

}
.h2 {
	color: #D3EEE2;
	letter-spacing: 0.8px;
	font-weight: 100;
	font-size: 0.8em;
}
.h7 {
	color: #00000;
	letter-spacing: 0.8px;
	font-weight: 100;
	font-size: 0.8em;
}
.blue {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	width: 100%;
	background: darkblue;
	color: #D3EEE2;
	text-transform: uppercase;
	-webkit-transition: -webkit-transform 0.2s, color 0.2s;
	transition: transform 0.2s, color 0.2s;
}
.softblack {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 20px;
	width: 100%;
	background: #2E3444;;
	color: #D3EEE2;
	text-transform: uppercase;
	-webkit-transition: -webkit-transform 0.2s, color 0.2s;
	transition: transform 0.2s, color 0.2s;
}

/* Pseudo element for hover effect */
.grid li > a::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100.5%;
	height: 100.5%;
	border: 0px solid transparent;
	background: rgba(0,0,0,0);
	content: '';
	-webkit-transition: border-width 0.2s, border-color 0.2s;
	transition: border-width 0.2s, border-color 0.2s;
}

/* Hover effects */
.grid li.shown:hover h3 {
	color: #fff;
	-webkit-transform: translate3d(0,-30px,0);
	transform: translate3d(0,-30px,0);
}

.grid li.shown:hover > a::before {
	border-width: 14px;
	border-color: #2E3444;
}

/* Animations */

/* Swipe right */
.grid.swipe-right li.animate .curtain {
	-webkit-animation: swipeRight 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
	animation: swipeRight 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
}

@-webkit-keyframes swipeRight {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { -webkit-transform: translate3d(0,0,0); }
	100% { -webkit-transform: translate3d(100%,0,0); }
}

@keyframes swipeRight {
	0% {}
	50%, 60% { -webkit-transform: translate3d(0,0,0); transform: translate(0); }
	100% { -webkit-transform: translate3d(100%,0,0); transform: translate3d(100%,0,0); }
}

/* Swipe down */
.grid.swipe-down li.animate .curtain {
	-webkit-animation: swipeDown 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
	animation: swipeDown 1.5s cubic-bezier(0.6,0,0.4,1) forwards;
}

@-webkit-keyframes swipeDown {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { -webkit-transform: translate3d(0,0,0); }
	100% { -webkit-transform: translate3d(0,100%,0); }
}

@keyframes swipeDown {
	0% {}
	50%, 60% { -webkit-transform: translate(0); transform: translate(0); }
	100% { transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }
}

/* Swipe rotate */
.grid.swipe-rotate li.animate .curtain {
	-webkit-animation: swipeRotate 1.5s ease forwards;
	animation: swipeRotate 1.5s ease forwards;
}

@-webkit-keyframes swipeRotate {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { -webkit-transform: rotate3d(0,0,1,0deg); }
	100% { -webkit-transform: rotate3d(0,0,1,-90deg); }
}

@keyframes swipeRotate {
	0% {}
	50%, 60% { -webkit-transform: rotate3d(0,0,1,0deg); transform: rotate3d(0,0,1,0deg); }
	100% { -webkit-transform: rotate3d(0,0,1,-90deg); transform: rotate3d(0,0,1,-90deg); }
}

/* Shadow */
.grid li.animate .curtain::after {
	-webkit-animation: fadeOut 1.5s ease forwards;
	animation: fadeOut 1.5s ease forwards;
	-webkit-animation-delay: inherit;
	animation-delay: inherit;
}

@-webkit-keyframes fadeOut {
	0% {} /* fixes Chrome 35.0.1916.114 issue (easing breaks) */
	50%, 60% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes fadeOut {
	0% {}
	50%, 60% { opacity: 1; }
	100% { opacity: 0; }
}

/* Hide image and title and show at half time */
.js .grid li img,
.js .grid li h3 {
	visibility: hidden;
}

.grid li.animate img,
.grid li.animate h3 {
	-webkit-animation: showMe 1.5s step-end forwards;
	animation: showMe 1.5s step-end forwards;
}

@-webkit-keyframes showMe {
	from { visibility: hidden; }
	60%, 100% { visibility: visible; }
}

@keyframes showMe {
	from { visibility: hidden; }
	60%, 100% { visibility: visible; }
}

.grid li.shown img,
.grid li.shown h3 {
	visibility: visible;
}

/*---------------menu start --------------------------------------------*/
.header {
    background-color: white;
	background: rgba(249,237,51, 0.9);
	box-shadow:0px 0px 60px 0px #3a3838;
	/*	background-image: url("../img/barbg2.png"); */
    position: fixed;
    z-index: 9;
    left: 0;
    top: 0;
    width: 100%;
		height: 7%;

    @media #{$small-only} {
        padding: 4px;
    }

    @media #{$medium-up} {
        padding: 4px 8px;
    }
  }

  .zindex{
    z-index: 5;
  }
    .brand-title-top {
        position: relative;
        @media #{$small-only} {
            width: 100px;
        }

        @media #{$medium-up} {
            width: 150px;
        }

        @media #{$xlarge-up} {
            width: 170px;
        }

    }

    .top-icon-menu {
      position: relative;
      top: -30px;
    }

    .brand-title-buttom {
        position: relative;
        top: 50px;
        @media #{$small-only} {
            width: 100px;
        }

        @media #{$medium-up} {
            width: 150px;
        }

        @media #{$xlarge-up} {
            width: 170px;
        }

    }

        .menuleft {
          background-image: url("../img/icon.png");
					background-repeat: no-repeat;
					background-size: 101px 45px;
					padding: 40px 65px;
					position: fixed;
					left: 5%;
					top: 0;
        }

				.menuright {
          background-image: url("../img/home.png");
					background-repeat: no-repeat;
					background-size: 60px 45px;
					padding: 35px 39px;
					position: fixed;
					right: 5%;
					top: 0;
        }
/*---------- stop menu ----------------------*/

/*---------- start background ------------------------*/
.picleft {
	background-image: url("../img/painting.jpg");
	background-repeat: no-repeat;
	background-size: 100% 90%;
	padding: 4% 10%;
	position: fixed;
	right: 0;
	top: 14%;
}

.picright {
	background-image: url("../img/about_painting.jpg");
	background-repeat: no-repeat;
	background-size: 100% 100%;
	padding: 4% 10%;
	position: fixed;
	left: 0;
	top: 15%;
}
/*.menubar {
	background-image: url("../img/menubar.png");
	background-repeat: no-repeat;
	background-size: 1000px 81px;
	padding: 40px 120px;
	position: fixed;
	right: 20%;
	top: 10%;
}*/
/*---------- stop background ------------------------*/
/*----------------- start change group year -----------------*/
// setting some styles first.
body {
  background-color:whitesmoke;
  font-family:Sans-serif;
}
nav {
	position:relative;
	z-index:999999;
  width:100%;
  text-align:center;
  margin:5em auto;

}
.menu {
  display:flex;
  justify-content:space-between;
}
.space {
  padding:.5em;
  text-decoration:none;
  color:steelblue;
}

// animation required properties
.containerWrap {
  perspective:1000;
}
.flip {
  transition:1150ms;
  transform-style:preserve-3d;
  transform-origin: 100% 1em;
  position:relative;

  &:hover {
  //transform:rotateZ(180deg);
  transform:rotateX(180deg);
  }
}
.flipContent {
  display:block;
  backface-visibility:hidden;
}
.front {
  position:absolute;
  top:20%;
  left:0;
  text-align:center;
  z-index:2;
}
.back {
  transform: rotateX(180deg);
  background-color:steelblue;
  color:whitesmoke;
}
/*----------------- stop change group year -----------------*/

@import
  box-sizing: border-box;
}
body

nav[role="full-horizontal"] {
  width: 100%;
}
nav[role="full-horizontal"] ul {
  width: 100%;
  list-style: none;
}
nav[role="full-horizontal"] ul > li {
  float: left;
  padding: .25em 1em;
  margin: 1.25em 1em;
  text-transform: uppercase;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.8);
  text-align: center;
  border-radius: .75em;
  transition-duration: .3s;
  transition-timing-function: ease-in-out;
  transition-property: background, color, padding, border-radius;
  box-shadow: 0.1em -0.1em 0 0.1em rgba(0, 0, 0, 0.2), inset 0 0 0 0.15em rgba(0, 0, 0, 0.4), -0.1em 0.1em 0 0.1em rgba(0, 0, 0, 0.2);
}
nav[role="full-horizontal"] ul > li:after {
  position: absolute;
  z-index: -1;
  content: "";
  right: 0;
  border-radius: 50%;
}
nav[role="full-horizontal"] ul > li:last-child:after {
  box-shadow: none;
}
nav[role="full-horizontal"] ul > li:hover {
  background-color: rgba(251, 93, 0, 0.8);
  padding-left: 3em;
}
nav[role="full-horizontal"] ul > li:hover > a {
  color: #fff;
}
nav[role="full-horizontal"] ul > li > a {
  color: #333;
  text-decoration: none;
  font-size: 1.3em;
  transition: color .3s ease-in-out;
}

/* small screens */
@media screen and (min-width: 1200px) {
nav[role="full-horizontal"] ul {
  width: 100%;
  list-style: none;
	margin-left: 12%;
}
}
@media screen and (max-width: 44em) {
  body {
    margin: 1.5em 0;
  }

  nav[role="full-horizontal"] ul {
    padding: 0 .5em;
  }
  nav[role="full-horizontal"] ul > li {
    width: 100%;
    padding: .45em .25em;
    margin: 0 0 .55em 0;
  }
  nav[role="full-horizontal"] ul > li:after {
    box-shadow: none;
  }

}



nav[role="full-horizontal"] ul > li1 {
  float: left;
  padding: .25em 1em;
  margin: 1.25em 1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  border-radius: .75em;

}

.bow {
	position: fixed;
	right: 0;
	top: 0;
	z-index: 9999999999999;
}
@media screen and (min-width: 415px) {
	.bow {
		width: 150px;
	}
}
@media screen and (max-width: 414px) {
	.bow {
		width: 25%;
	}
}

