/*
 * GLOBAL
 */

*, a {
	text-decoration:none;
}
li {
	list-style-type:none;
}
img {
	max-width:100%;
}
* {
	box-sizing:border-box;
}
body .container {
	width:90%;
	max-width:850px;
}
body {
	background: url(../images/layout/bglight.gif) center center no-repeat;
	/*padding-top: 100px;*/
	color:#333;
}

body.splash {
	background: url(../images/layout/bg.jpg) center center no-repeat;
}


body, html {
	height: 100%;
}

.splash .menuHome#menu {
	display:none;
}

.fl {float:left;}
.fr {float:right;}
.red-top, .gray-top {
	border-top:1px solid #a00;
	padding-top:10px;
}
.gray-top {
	border-top:1px solid #ccc;
}
p {
	line-height:160%;
	text-align:justify;
	margin-bottom:10px;
}
p a, p a:visited {
	color: #A51642;
}
.half {
	margin-bottom:30px;
}
.gray-top.small-left li {
	border-bottom:1px solid #ccc;
	padding-bottom:9px;
}
.gray-top.small-left li:last-child {
	border-bottom:0;
}
p em {
	font-style:normal!important;
	color:#000;
	font-weight:bold;
}
/* HOPING TO GET CORRECT SIZE IMAGES SO THIS ISN'T NECESSARY: */
.container img {
	max-width:100%;
	height:auto;
}

.sideNav a, .nav a {
	text-transform:uppercase;
}

.navWrap {
	border-top:1px solid #ccc;
	margin-top:40px;
	padding-top:6px;
}

#logo a {
background: url(../images/52logosprite.png) no-repeat left top;
text-indent: -9999px;
width: 150px;
height: 18px;
margin-top: 9px;
display: block;
}

#logo a:hover {
background: url(../images/52logosprite.png) no-repeat left -18px;
}

/*visinc footer snippet*/
/* IF REVETIVING BACK TO RIGHT SIDE, ADD POSITION:RELATIVE TO LINE 109 */

footer {
	padding-bottom:20px;
}

footer p {
    margin-bottom: 0;
    float:right;
}
footer 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);
}
footer p a:hover {
    opacity:1;
    filter:alpha(opacity=100);
    width: 162px;
}
footer a .credit-small {
    width: 25px;
    height: 27px;
    display: block;
    background: url('../images/credit-v-grey.png') no-repeat left;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 600;
}
footer a .credit-full {
    width: 128px;
    height: 22px;
    display: block;
    background: url('../images/credit-text-blue.png') no-repeat right;
    position: absolute;
    top: 3px;
    left: 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);
}
footer a:hover .credit-full {
    opacity:1;
    filter:alpha(opacity=100);
}
/*************
****************/

#footer2 {
	padding-bottom:20px;
}

#footer2 p {
    margin-bottom: 0;
    /*float:right;*/
}
#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);
}
#footer2 p a:hover {
    opacity:1;
    filter:alpha(opacity=100);
    width: 162px;
}
#footer2 a .credit-small {
    width: 25px;
    height: 27px;
    display: block;
    background: url('../images/credit-v-grey.png') no-repeat left;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 600;
}
#footer2 a .credit-full {
    width: 128px;
    height: 22px;
    display: block;
    background: url('../images/credit-text-blue.png') no-repeat right;
    position: absolute;
    top: 3px;
    left: 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);
}




 @media all and (min-width:871px) and (max-width:960px) {
.container .small-left {
	width:30%;
}
}
 @media all and (min-width:769px) and (max-width:870px) {
.container .small-left {
	width:23%;
}
}



/*
 * DESKTOP
 */
@media all and (min-width:769px) {
body p {
	font-size:97%;
}
a.menu-link, .top-bar {
	display: none;
}

/*
 * for the menu
 */


	.nav {
	margin: 0 auto;
	list-style: none;
	position: relative;
	display:inline-block;
	float:right;
}
.nav li {
	display: inline-block;
	margin-left: 10px;
}
.nav li a {
	color: #000;
	font-size: 11px;
	display: block;
	float: left;
	width: 100%;
	padding: 6px 0 4px;
	text-decoration: none;
	text-transform: uppercase;
}
.nav li a:hover {
	color: #000;
}
#magic-line {
	position: absolute;
	top: -8px;
	width: 100px;
	height: 2px;
	background: #a00;
	-webkit-transition: background 400ms ease-in-out;
	-moz-transition: background 400ms ease-in-out;
	-ms-transition: background 400ms ease-in-out;
	-o-transition: background 400ms ease-in-out
}
#magic-line.current_page_item {
	position: absolute;
	top: -2px;
	width: 100px;
	height: 2px;
	background: #a00;
}
#magic-line.hover {
	background: #000!important;
	-webkit-transition: background 400ms ease-in-out;
	-moz-transition: background 400ms ease-in-out;
	-ms-transition: background 400ms ease-in-out;
	-o-transition: background 400ms ease-in-out;
	transition: background 400ms ease-in-out;
}
.nav li a {
	position: relative;
}
.nav li a:after {
	position: absolute;
	top: 0;
	right: -15px;
	width: 15px;
	content: "";
	height: 100%;
	display: inline-block;
	z-index: 1000;
}
/* /menu */

#menu li:last-child, #menu li:last-child a {
	margin-right:0;
	padding-right:0;
}
#logo {
	float:left;
}
.small-left {
	float:left;
	max-width:310px;
	width:100%;
}
.big-right {
	float:right;
	max-width:510px;
}
.half {
	width:49%;
	min-width:300px;
	max-width:410px;
	float:left;
	margin-right:0.5%;
}
.half:nth-child(2) {
	float:right;
	margin-right:0;
}

footer {
	position:static;
}

#footer2 p {
	position:fixed;
	top:10px;
	right:10px;
}


}

body.splash {
	background: url(../images/layout/bg.jpg) center center no-repeat;
}
#intro {
	position: relative;
	margin-top: 50px;
	margin-bottom: 160px;
	text-align:center;
}
/* SIDENAV FOR TEAM AND COMPLETED PAGES */

.sideNav li {
	border-top:1px solid #ccc;
	line-height:190%;
}
.sideNav li a {
	font-size:12px;
	margin-top:9px;
	display:inline-block;
	position:relative;
	text-transform:uppercase;
}
/*.sideNav a:after {
	content:"";
	position:absolute;
	height:2px;
	width:0;
	display:block;
	top:-13px;
	left:0;
	opacity:0;
	background:#000;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}
.sideNav a:hover:after {
	width:100%;
	opacity:1;
}
.sideNav a.current:after {
	position:absolute;
	width:100%;
	background:#a00;
	opacity:1;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}*/

/********************/
.sideNav a:before {
content: "";
position: absolute;
height: 2px;
width: 0;
display: block;
top: -4px;
left: 0;
opacity: 0;
background: #000;
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}

.sideNav a:hover:before {
	width:100%;
	opacity:1;
}

.sideNav a.current:before {
background:#a00;
}

.sideNav a:after {
	position:absolute;
	top:0;
	left:0;
content:"";
height: 310px;
top:0;
width:310px;
overflow:visible;
background:none;
}

/*.sideNav a:hover:after {
	width:310px;
	opacity:1;
}*/

.sideNav li a {
margin-top:0;
padding-top:9px;
}

.sideNav a.current:before {
	position:absolute;
	width:100%;
	background:#a00;
	opacity:1;
	-webkit-transition: all 500ms ease-in-out;
	-moz-transition: all 500ms ease-in-out;
	-ms-transition: all 500ms ease-in-out;
	-o-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}



/* TRYING TO CENTER */

.block {
    text-align: center;
    height:100%;
}
/* The "ghost", nudged to maintain perfect centering */
.block:before {
    content:'';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
      /* Adjusts for spacing */
}
/* The element to be centered, can
   also be of any width and height */
 .centered {
    display: inline-block;
    vertical-align: middle;
    width: 300px;
 }

 /*
 END CENTER
 */

 /* RE-ALIGNING TEXT AFTER THE CENTRING */


.contact .centered .half ul li {
text-align:left;
}

.centered .big-right {
	text-align:justify;
}

.centered .sideNav {
	text-align:left;
}


body.smallPad {
	padding-top:60px;
}


