@charset "utf-8";
/* CSS Document */
/*responsive menu style - START*/
@import url(http://fonts.googleapis.com/css?family=roboto);
body {
  background: #212121;
  font-size: 22px;
  line-height: 32px;
  color: #ffffff;
  margin: 0;
  padding: 0;
  word-wrap: break-word !important;
  font-family: 'roboto', sans-serif;
}

h1 {
  font-size: 60px;
  text-align: center;
  color: #FFF;
}

h3 {
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  color: #FFF;
}

h3 a { color: #FFF; }

a { color: #27ccdc; }

h1 {
  margin-top: 100px;
  text-align: center;
  font-size: 60px;
  line-height: 70px;
  font-family: 'roboto', sans-serif;
}

#container {
  margin: 0 auto;
  max-width: 890px;
}

p { text-align: center; }
 .toggle, [id^=drop] {
 display: none;
}

nav {
  margin: 0;
  padding: 0;
  background-color: #254441;
}

#logo {
  /*padding: 0 10px;*/
  padding-left: 10px;
  padding-top: 15px;
  float: left;
  font-size: 20px;
  vertical-align: middle;
}

nav:after {
  content: "";
  display: table;
  clear: both;
}

nav ul {
  float: right;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
}

nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  background-color: #254441;
  z-index: 999999;
}

/*change by victor*/
nav > ul > li > a {
  display: block;
  padding: 0 15px; /*org valu: 0 15px*/
  color: #FFF;
  font-size: 15px;
  line-height: 70px;
  text-decoration: none;
}


nav  ul  ul   {
  display: block;
  padding: 0 0px;
  color: #FFF;
  font-size: 15px;
  line-height: 60px;
  text-decoration: none;
  margin-top: 10px;
}

nav > ul > li > ul > li > a {
  display: block;
  padding: 0 20px;
  color: #FFF;
  font-size: 15px;
  line-height: 60px;
  text-decoration: none;
}

.toggleFB {
	display: none;
}

#fb-bottom {
	display:block;
	position: fixed;
	right:10px;
	bottom: 10px;
}

/*changed by victor*/


nav ul li ul li:hover { background: #27ccdc; }

nav a:hover { background-color: #27ccdc; }

nav ul ul {
  display: none;
  position: absolute;
  top: 60px;
}

nav ul li:hover > ul { display: inherit; }

nav ul ul li {
  width: 300px;
  float: none;
  display: list-item;
  position: relative;
}

nav ul ul ul li {
  position: relative;
  top: -60px;
  left: 170px;
}

li > a:after { content: ' +'; }

li > a:only-child:after { content: ''; }

.selected {
	background-color: #27ccdc;
}

/* Media Queries
--------------------------------------------- */

@media all and (max-width : 768px) {

#logo {
  display: block;
  text-align: left;
  float: left;
  padding-left: 25px;
  padding-top: 13px;
  line-height: 50px;
  vertical-align: middle;
}

nav { margin: 0; }

.toggle + a,
 .menu { display: none; }

.toggle {
  display: block;
  background-color: #254441;
  padding: 0 20px;
  color: #FFF;
  font-size: 15px;
  line-height: 65px; /*change by victor : org value : 60px */
  text-decoration: none;
  border: none;
  margin-bottom: -2px; /*added by victor*/
}

.toggle:hover { background-color: #27ccdc; }

[id^=drop]:checked + ul { display: block; }

nav ul li {
  display: block;
  width: 100%;
}

nav ul ul .toggle,
 nav ul ul a { padding: 0 140px; }

nav ul ul ul a { padding: 0 80px; }

nav a:hover,
 nav ul ul ul a { background-color: #27ccdc; }

nav ul li ul li .toggle,
 nav ul ul a { background-color: #212121; }

nav ul ul {
  float: none;
  position: static;
  color: #ffffff;
}

nav ul ul li:hover > ul,
nav ul li:hover > ul { display: none; }

nav ul ul li {
  display: block;
  width: 100%;
}

nav ul ul ul li { position: static;

}

/*added by victor*/
nav  ul  ul   {
  padding: 0 0px;
  color: #FFF;
  font-size: 20px;
  line-height: 60px;
  text-decoration: none;
  margin-top: 0px;
}


#q_selected {
	background-color:#27ccdc;
}

nav ul li {
	border-bottom: 2px solid #27ccdc;
}

.toggleFB {
    display:inline-block;
	margin-left: 50px;
	line-height: 61px;
	vertical-align:middle;
	
}

#patch {
	 display: block;
	 margin-left: -8px;
}

nav #vertAlgnMid {
  /*width:30px;
  height: 26px;*/

  line-height: 59px; 
  vertical-align:middle;
  margin-top: -5px;

}

nav .menu {
	margin-top: 0px;
	z-index: 99999999;
}

#fb-bottom {
	display:none;
}

#menuRight {
	float:right;
}
/*added by victor*/
}

@media all and (max-width : 330px) {

nav ul li {
  display: block;
  width: 100%; /*org value : 94%*/
}

}
/*responsive menu style - END*/



/*responsive gallery style - START */
    body {
      margin: 0;
      padding: 0;
      background: #000;
      font: 10px/13px 'Lucida Sans',sans-serif;
    }
    .wrap {
      overflow: hidden;
      margin: 10px;
	  z-index: 99999;
    }
    .box {
      float: left;
      position: relative;
      width: 20%;
      padding-bottom: 20%;
    }
    .boxInner {
      position: absolute;
      left: 10px;
      right: 10px;
      top: 10px;
      bottom: 10px;
      overflow: hidden;
    }
    .boxInner img {
      width: 100%;
    }
    .boxInner .titleBox {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      margin-bottom: -120px;
      background: #000;
      background: rgba(0, 0, 0, 0.7);
      color: #FFF;
      padding: 10px;
      text-align: center;
      -webkit-transition: all 0.3s ease-out;
      -moz-transition: all 0.3s ease-out;
      -o-transition: all 0.3s ease-out;
      transition: all 0.3s ease-out;
    }
    body.no-touch .boxInner:hover .titleBox, body.touch .boxInner.touchFocus .titleBox {
      margin-bottom: 0;
    }
    @media only screen and (max-width : 480px) {
      /* Smartphone view: 1 tile */
      .box {
        width: 100%;
        padding-bottom: 100%;
      }
    }
    @media only screen and (max-width : 650px) and (min-width : 481px) {
      /* Tablet view: 2 tiles */
      .box {
        width: 50%;
        padding-bottom: 50%;
      }
    }
    @media only screen and (max-width : 1050px) and (min-width : 651px) {
      /* Small desktop / ipad view: 3 tiles */
      .box {
        width: 33.3%;
        padding-bottom: 33.3%;
      }
    }
    @media only screen and (max-width : 1290px) and (min-width : 1051px) {
      /* Medium desktop: 4 tiles */
      .box {
        width: 25%;
        padding-bottom: 25%;
      }
    }
/*responsive gallery style - END */



/*background image START*/
		img.bg {
			/* Set rules to fill background */
			min-height: 100%;
			min-width: 1024px;
			
			/* Set up proportionate scaling */
			width: 100%;
			height: auto;
			
			/* Set up positioning */
			position: fixed;
			top: 0;
			left: 0;
		}
		
		@media screen and (max-width: 1024px){
			img.bg {
				left: 50%;
				margin-left: -512px; }
		}

/*background image END*/
