/*
 * MENU STYLINGS
 */

.top-bar {
	position: fixed;
	top: 0;
	left: 0em;
	width: 100%;
	height:70px;
	display: block;
	padding-left: 0;
	padding-right:0;
	padding-top: 26px;
	z-index: 2000;
	background:rgba(255,255,255,0.9);
}



.top-bar a.home {
	background: url(http://leftsidedesign.ca/visinc/images/52logosprite.png) no-repeat left top;
	text-indent: -9999px;
	width: 150px;
	height: 18px;
	/*margin-top: 9px;*/
	display: block;
}

.top-bar a.home:hover {
    background: url("../images/52logosprite.png") no-repeat scroll left -18px rgba(0, 0, 0, 0);
}

@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  .top-bar a.home, .splash .top-bar a.home {
    background: url(http://leftsidedesign.ca/visinc/images/52logosprite@2x.png) no-repeat left top;
	background-size:100%;
  }
}

a.menu-link {
	display: block;
	padding: 0;
	width: auto;
	/*height: 45px;*/
	height:18px;
	text-align: center;
	/*line-height: 45px;*/
	font-family: "ff-clan-sc-web-pro", sans-serif;
	text-align:right;
}
a.menu-link img {
	width: auto;
	margin-right: 8px;
}
.menu li a {
	text-align: right;
}
.menu li a:hover {
	color: #a00;
}
.menu, .menu > ul ul {
	/*clear: both;*/ /* NOT FOR 52 MEDIA */
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-ms-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.js .menu, .js .menu > ul ul {
	overflow: hidden;
	max-height: 0;
	background: rgba(0,0,0,0.1);
}
.menu.active, .js .menu > ul ul.active {
	max-height: 55em;
}
/*.menu > ul {
 border-top: 1px solid #808080;
 }*/
.menu li a {
	color: #000;
	display: block;
	/*padding: 0.8em;*/
	padding: 0.8em 0 !important;
	/*border-bottom: 1px solid #808080;*/
	position: relative;
}
.menu li.has-subnav > a:after {
	content: '+';
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	font-size: 1.5em;
	padding: 0.25em 0.5em;
}
.menu li.has-subnav > a.active:after {
	content: "-";
}
@media screen and (min-width: 769px) {/* (min-width: 48.25em) */
.pattern {
	overflow: visible;
}
a.menu-link {
	display: none;
}
.js .menu, .js .menu > ul ul {
	max-height: none;
	overflow: visible;
	background: none;
}
.js .menu > ul ul {
	background: #808080;
	display: none;
}
.js .menu > ul li:hover > ul {
	display: block;
}
.menu ul {
	margin: 0 0 0 -0.25em;
	border: 0;
}
.menu li a {
	border: 0;
}
.menu li.has-subnav > a {
	padding-right: 2em;
}
.menu li.has-subnav > a:after {
	content: ">";
	font-size: 1em;
	padding: 0.8em 0.5em;
}
.menu .level-1 > li.has-subnav > a:after {
	content: "▼";
}
.menu > ul li {
	margin: 0 0.25em;
}
/*.menu > ul > li {
	 display: inline-block;
	 position: relative;
	 }*/
	.menu > ul ul {
	position: absolute;
	top: 0;
	left: 12em;
	width: 12em;
}
.menu > ul ul li {
	position: relative;
}
.menu > ul ul.level-2 {
	top: 3em;
	left: 0;
}
}
@media all and (max-width: 768px) {
.js .menu, .js .menu > ul ul {
	overflow: hidden;
	max-height: 0;
	background: rgba(0,0,0,0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}
.js .menu {
	background: rgba(255,255,255,0.95);
	/*padding: 5px 0 0 50px; APRIL 25*/
	padding: 5px 0 0 0px;
	border: 0;
}
.js .menu.active {
	height: auto !important;
	max-height: 800px;
	z-index: 1000;
	/*padding: 5px 0 0 50px;*/
	padding: 5px 0 0 0;
}
.small-left, .big-right, .half, .half:nth-child(2) {
	float: none;
	clear: both;
	display: block;
	max-width: 100%;
}

}
 @media all and (max-width:480px) { /* FOR THE HOME PAGE ON PHONES */
.splash .top-bar {
	background:#000;
	padding:0 0 0 5%;
	height:70px;
}
.splash .top-bar a.home {
	background: url(http://leftsidedesign.ca/visinc/images/52-lightlogo.png) no-repeat left top;
	display:block;
	width:90%;
	/*margin:0 auto;*/
	float:none;
	clear:both;
	margin-top:26px;
}
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
  .splash .top-bar a.home {
    background: url(http://leftsidedesign.ca/visinc/images/52logosprite@2x.png) no-repeat left top;
	background-size:100%;
	width:150px;
  }
}
.splash .menu-link {
	display:none;
}
.splash #menu {
	/*height: auto !important;
	max-height: 800px;
	z-index: 1000;*/
	padding: 5px 0 0 0px;
}
.splash .menu li a {
	text-align:left;
}
.splash #intro {
	/*display:none;
	visibility:hidden;*/
	opacity:0;
	margin-bottom:130px;
}
}
body .container {
	max-width: 510px;
	padding: 70px 0 22px 0px;
}
body p {
	text-align: left;
	margin-bottom: 30px;
}
body {
	background-repeat: repeat;
	padding-top: 50px;
}
#intro {
	margin-bottom: 100px;
}
.red-top, .gray-top {
	border-top: 0;
}
.about .red-top:first-child {
	border-top:1px solid #a00;
}
body .menu .nav {
	display: block;
	margin: 0 auto;
	width: 90%;
	max-width: 510px;
	padding-top: 80px;
}

.nav li {
	margin-bottom:10px;
}

.nav li a {
	font-size:12px;
}
ul.sideNav {
	margin-bottom: 50px;
}
.navWrap {
	margin-top: 50px;
}
.menu.active li {
	margin-bottom: 5px;
}
.menu.active ul li:nth-last-child(2) {
	margin-bottom: 50px;
}
.big-right img {
	margin-bottom:30px;
}
#logo {
	display:none;
	visibility:hidden;
}
footer {
	position:relative;
}



.container.centered .half, .container.centered .big-right, .container.centered .small-left {
max-width:510px;
margin:0 auto;
}

.top-wrap {
width:100%;
max-width:510px;
margin:0 auto;
}

@media all and (max-width:567px){
.top-wrap {
width:90%;
}

}

@media all and (max-width:480px){
.splash .top-wrap {
	width:100%;
}

}


/*
 * ADJUSTING NAV FOR SMALL SCREEN HEIGHTS
 */

@media all and (max-height:320px) {

body .menu .nav {
padding-top:68px;
}
.splash .menu .nav li:first-child {
height:0;
line-height:0;
}

.menu .nav li, .menu.active .nav li {
margin-bottom:5px;
}

}

@media all and (min-height:321px) and (max-height:400px) and (orientation:landscape) {
.splash .menu .nav li:first-child {
height:0;
line-height:0;
}
body .menu .nav {
padding-top:68px;
}
.menu .nav li, .menu.active .nav li {
margin-bottom:6px;
}
}/****************/

/*
* THIS IS FOR LEFT SIDE VISINC
*/
#footer2 {position:relative;}
#footer2 p { margin-bottom: 0;margin-top:15px;}
#footer2 p a { text-indent: -9999px; width: 25px; height: 30px; display: block; cursor: auto; position: relative; overflow: hidden;   border-top-left-radius: 20px; -webkit-border-top-left-radius: 20px; border-bottom-left-radius: 20px; -webkit-border-bottom-left-radius: 20px;
    transition: all 1s; -moz-transition: all 1s; -webkit-transition: all 1s; -o-transition: all 1s; opacity: 0.3; filter: alpha(opacity=30); z-index:20000;}

#footer2 p a:hover {  opacity:1; filter:alpha(opacity=100); width: 162px; }


#footer2 a .credit-small { width: 25px; height: 27px; display: block; background: url('http://leftsidedesign.ca/visinc/images/credit-v-grey.png') no-repeat left; position: absolute; top: 0; left: 0; z-index: 600; }


#footer2 a .credit-full { width: 145px; height: 22px; display: block; background: url('http://leftsidedesign.ca/visinc/images/credit-text-blue.png') no-repeat right; position: absolute; top: 3px; right: 0; z-index: 500;
    transition: all 2s; -moz-transition: all 2s; -webkit-transition: all 2s; -o-transition: all 2s; opacity: 0; filter: alpha(opacity=0); }

#footer2 a:hover .credit-full { opacity:1; filter:alpha(opacity=100); }
