﻿/* CSS layout */

html{
	height: 100%;
	min-height: 100%
}
body {
	margin: 0;
	padding: 0;
	background: #fbf8f4 url(../images/bg.jpg) repeat top left;
	/*text-align: justify;*/
	font-family:  'Open Sans', sans-serif;
	font-size: 100%;
	color: #5c5b5b;
	line-height: 1.2em;
	min-height: 100%;
	width: 100%;
    -webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	text-transform: none;
	font-family: 'Play', sans-serif;
	font-weight: 400;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2.4em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 150%;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #0580c6;
	/*color: #247eca;
	color: #025295;*/
}

a:hover {
	text-decoration: underline;
}

.full-width{
	width: 100%;
}

.page-width {
	width: 980px;
	margin: 0 auto;
}

#top-bar {
	width: 100%;
	height: 120px;
	/*background-color: #02488f;*/
	background-color: #f67c01;
}

#container{
	width: 980px;
	margin: -93px auto 1px auto;
	/*border-radius: 10px;*/
	box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
	-webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.3);
	background-color: #fff;
}
/* Header */

#header-wrapper {
	width: 980px;
	height: 100px;
	margin: 0 auto;
	padding: 0;
	background: #fff;
}

#header {
	padding: 0;
	height: 120px;
	color: #272727;
	padding-top: 8px;
	overflow: hidden;
	font-family: 'Play', sans-serif;
}

#logo {
	width: 510px;
	float: left;
	/*margin-top:20px;*/
	position: relative;
	overflow: hidden;
}

#logo img{
	padding-left: 5px;
}

#logo .header-caption {
	padding-left: 100px;
	padding-top: 28px;
    color: #f67c01;
    
}
#logo .header-caption h1{
    font-size: 32px;
}

#logo p{
	font-size: 0.9em;
	margin-top: 5px;
	color: #2956fa;
	font-family: 'Open Sans';
    font-style: italic;
    margin-left: 50px;
	
}

#minor-links{
	margin-top: 0; 
    margin-right: 10px;
	float: right; 
	padding-right: 10px; 
	text-align: right;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
}

#minor-links a{
    color: #f67c01;
}

#minor-links .cua-logo{
	margin-bottom: 0;
	vertical-align: bottom baseline;
}

#nav{
	width: 980px;
	margin: 0 auto;
	height: 42px;
	background: #2956fa;
	/*background: -moz-linear-gradient(#444, #02488f); 
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #02488f),color-stop(1, #444));	
	background: -webkit-linear-gradient(#444, #02488f);	
	background: -o-linear-gradient(#444, #02488f);
	background: -ms-linear-gradient(#444, #02488f);
	background: linear-gradient(#444, #02488f);*/
	/*-moz-border-radius: 50px;
	border-radius: 50px;*/
	/*-moz-box-shadow: 0px 0px 8px black, inset 0px -1px 0px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 0px 8px black, inset 0px -1px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 0px 8px black, inset 0px -1px 0px rgba(0,0,0,0.2);*/
	/*background-image: -ms-linear-gradient(rgb(77, 77, 77), rgb(51, 51, 51));*/
}

#menu{
	/*width: 100%;
	margin: 0;*/
	padding: 4px 0 0 0;
	list-style: none;  
}

#menu li{
	float: left;
	padding: 5px 0;
	position: relative;
}

#menu a{
	float: left;
	height: 28px;
	padding: 0 25px;
	color: #fff;
	text-transform: none;
	font: normal 14px/25px "Play", sans-serif;
    /*font: normal 16px/25px 'Volkhov', serif;*/
	text-decoration: none; 
	/*text-shadow: 0 1px 0 #000;*/

}

#menu li:hover > a{
	color: #fafafa;
}

*html #menu li a:hover{ /* IE6 */
	color: #fafafa;
}

#menu li:hover > ul{
	display: block;
}

/* Sub-menu */

#menu ul{
	list-style: none;
	margin: 0;
	padding: 0;    
	display: none;
	position: absolute;
	top: 38px;
	left: 0;
	z-index: 99999;    
	background: #2956fa;
	/*background: -moz-linear-gradient(#3f3d2d, #686760);
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #686760),color-stop(1, #3f3d2d));
	background: -webkit-linear-gradient(#3f3d2d, #686760);    
	background: -o-linear-gradient(#3f3d2d, #686760);	
	background: -ms-linear-gradient(#3f3d2d, #686760);	
	background: linear-gradient(#3f3d2d, #686760);*/	
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;

}

#menu ul ul {
  top: 0;
  left: 150px;
}

#menu ul li{
	float: none;
	margin: 0;
	padding: 0;
	display: block;  
	/*-moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
	-webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
	box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;*/
}

#menu ul li:last-child{   
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;    
}

#menu ul a{    
	padding: 10px;
	/*height: auto;*/
	width: auto;
	height: auto;
	line-height: 1;
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
}

*html #menu ul a{ /* IE6 */   
	height: 10px;
	/*width: 150px;*/
}

*:first-child+html #menu ul a{ /* IE7 */    
	height: 10px;
	/*width: 150px;*/
}

#menu ul a:hover {
	background: #f67c01;
	/*background: -moz-linear-gradient(#04acec,  #0186ba);	
	background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
	background: -webkit-linear-gradient(#04acec,  #0186ba);
	background: -o-linear-gradient(#04acec,  #0186ba);
	background: -ms-linear-gradient(#04acec,  #0186ba);
	background: linear-gradient(#04acec,  #0186ba);*/
}

#menu ul li:first-child a {
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

#menu ul li:first-child a:after{
	content: '';
	position: absolute;
	left: 40px;
	top: -8px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 8px solid #f67c01;
}

#menu ul ul li:first-child a:after {
	left: -8px;
	top: 12px;
	width: 0;
	height: 0;
	border-left: 0;	
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	border-right: 8px solid #871d2a;
}

#menu ul li:first-child a:hover:after {
	border-bottom-color: #f67c01; 
}

#menu ul ul li:first-child a:hover:after {
	border-right-color: #f67c01; 
	border-bottom-color: transparent; 	
}


#menu ul li:last-child > a {
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px;
}



/* Clear floated elements */
#menu:after{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menu             { zoom: 1; } /* IE6 */
*:first-child+html #menu { zoom: 1; } /* IE7 */

#list-content, #list-content ul {
  margin: 0;
  padding-left: 20px;
}
#list-content li {
  margin: 0;
  padding: 2px 0;
}

#paragraph-content, #quote-content {
  text-align: justify;
}

.mm-content-base {
  background-color: #ed8600;
}

/*
h3 {
  margin: 0px;
  font-size: 16px;
  padding: 5px 0px 2px;
  font-style: italic;
  border-bottom: 1px solid #CCC;
  margin-bottom: 5px;
}
*/


/*#slideshow {
	margin: 0;
	height: 300px;
	background: #f0f0f0;
	width: 100%;
}*/

/* Page */

#page {
	/*margin: 0 auto;*/
	padding-left: 20px;
    padding-right: 20px;
	/*background-color: #fff;*/
	position: relative;
	/*overflow: hidden;*/
    font-size:0.9em;
}

#page h1, #page h2, #page h3, #page h4, #page h5{
	font-family: 'Signika', sans-serif;
	/*text-shadow: 0 1px 1px #3e3e3e;*/
}

#page h5{
	font-size: 26px;
	color: #2956fa;
	font-weight: normal;
	line-height: 1.2em;
	border-top: 3px solid #f67c01;
	padding-top: 3px;
    margin-bottom: 0.6em;
}

.page-title{
	font-size: 28px;
	color: #2956fa;
	font-weight: normal;
	line-height: 1.2em;
	border-bottom: 1px solid #f67c01;
	padding: 3px 0;
	margin-bottom: 20px;
}

.page-content{
    padding-right: 20px;
    
}

#page .intro {
	width: 272px;
    height: 285px;
	float: left; 
	margin-right: 50px;
    text-align: justify;
    padding-bottom: 10px;
    border-bottom: 2px solid #f67c01;
}
#page .intro p{
	/*font-size: 0.8em;*/
}

#page img.banner{
    border-radius: 10px;
    height: 224px;
    width: 100%;
    border: 1px solid #ccc;
}

#page-bodytext {
	text-align: justify;
}
#page-bodytext p{
    margin-bottom: 20px;
}

.box {
	overflow: hidden;
	margin: 1em;
	/*margin-right: -20px;*/
}

#content-box1{
	/*margin: 0 20px 0;*/
	width: 272px;
    height: 285px;
	float: left;
	overflow: hidden;
    padding-bottom: 10px;
    border-bottom: 2px solid #f67c01;
}

#content-box2{
	margin: 40px 0 0 50px;
	width: 272px;
    height: 285px;
	float: right;
	overflow: hidden;
	background-color: #f67c01;
	min-height: 265px;
	padding: 20px;
	font-size: 14px;
}

#content-box2 h5{
	font-family: 'Signika', sans-serif;
	font-size: 26px;
	color: #fff;
	font-weight: normal;
	line-height: 1.2em;
	border: none;
	margin: -13px 0 -1px;
}

#content-box2 p{
	margin-top: 20px;
	line-height: 1.2em;
	color: #fff;
    /*font-size: 0.8em;*/
}

#content-box3{
	width: 272px;
	float: right;
	height: 285px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f67c01;
}

#content-box3 h4{
    font-family: 'Open Sans';
}

#content-box3 .feeds{
    /*border: 1px solid rgba(0,0,0,0.3);*/
    width: 100%;
}

.feeds ul{
    padding-left: 5px;
}

.feeds ul > li{
    /*font-size: 0.8em;*/
}

/*news scroller*/

div#mysagscroller{
	width: 100%; /*width of scroller*/
	height: 190px;
	margin-top: -10px;
}
div#mysagscroller ul li img{
	border-width: 0;
	display: inline-block ; /*this causes each image to be flush against each other*/
	float: left;
	margin-right: 8px;
}

div#mysagscroller h2{
	font-family: 'Open Sans';
    font-size: 14px;
	margin-bottom: 10px;
}

/* Content */

#content {
	float: left;
	/*width: 590px;*/
	width: 670px;
	/*padding: 30px 30px 0px 30px;*/
	/*padding: 10px;*/
    /*font-size: 0.8em;*/
	background-color: #FFFFFF;
    text-align: justify;
}

#content h3, #page h3{
	margin: 25px 0 10px 0;
	font-size: 20px;
	color: #3a3a3a; 
}

ul.content-list li{
    /*list-style:disc;*/
    display: list-item;
    margin: 6px 0 6px 20px;
    list-style-image: url(../images/bg-list.gif);
}

#content ul ul li {
    display: list-item;
    margin: 6px 0 6px 20px;
    list-style-image: url(../images/menu-inner-arrow.html);
}

h4.list-header{
    margin-bottom: 0;
    font-size: 1.0em;
}

#content ol li, #page ol li {
    list-style: decimal;
    display: list-item; 
    margin: 10px 0 10px 20px;
}

#content p{
    margin-bottom: 20px;
}

.post {
	clear: both;
	padding-bottom: 10px;
	padding-right: 10px;
}

.post .title {
	padding-top: 10px;
	letter-spacing: -4px;
	text-transform: lowercase;
	font-size: 50px;
	padding-right: 10px;
}

.post .title a {
	border: none;
	color: #272727; 
}

.post .meta {
	padding-bottom: 10px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: italic;
}

.post .meta a {
}

.post .entry {
	text-align: justify;
	margin-bottom: 25px;
	padding: 10px 0px 0px 0px;
}

.links {
	display: block;
	width: 96px;
	padding: 2px 0px 2px 0px;
	background: #A53602; 
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
	color: #FFFFFF;
    
}/* boxes */
#box2 {
	width: 370px;
	overflow: hidden;
	float: left;
}

#content ul.imageList {
	list-style: none;
}

#content ul.imageList li {
	padding: 20px 0 20px 0;
}

#content ul.imageList li.first {
	padding-top: 0;
}

#content ul.imageList li.last {
	padding-bottom: 0;
}

#content ul.imageList li img {
	float: left;
}

#content ul.imageList li p {
	padding: 0px 0px 0px 10px;
	margin: 0;
}


/* Sidebar */

#sidebar-bg {
	float: right;
	width: 250px;
	background-color: #FFFFFF;
    padding: 10px;
    /*box-shadow: 0px 1px 0px #9a9a9a;
    text-shadow: 0px 1px 0px #fff;
    background-image: -ms-linear-gradient(rgb(255, 255, 255), rgb(238, 238, 238));
    background-color: rgb(238, 238, 238);
    border: 1px solid #ddd;
    padding-left: 20px;*/
    background: #f67c01;
    border-radius: 10px;
}

.widget {
    clear: both;
    /*margin: 0 0 2.2em 0;*/
    box-shadow: 0px 1px 0px #9a9a9a;
    text-shadow: 0px 1px 0px #fff;
    background-image: -ms-linear-gradient(rgb(255, 255, 255), rgb(238, 238, 238));
    background-color: rgb(238, 238, 238);
    border: 1px solid #ddd;
    padding-left: 20px;
    
}

.widget::before {
    border: 1px dashed #ccc;
    content: "";
    box-shadow: 0 0 0 1px #fff;
    left: 3px;
    right: 3px;
    top: 3px;
    bottom: 3px;
}

#sidebar {
	overflow: hidden;
	width: 100%;
	/*padding-left: 10px;*/
    font-family: "Quicksand", sans-serif;
	font-size: 16px;
	line-height: 1.4em;
    text-transform: uppercase;
	/*margin-top: 48px;*/
    /*border: 1px solid #02488f;*/
    
}

#sidebar h3{
    margin-top: 1px; 
    border-bottom: 1px solid #fff; 
    padding: 10px 5px; 
    text-transform: uppercase; 
    color: #fff; font-family: 'Quicksand';
}

#sidebar a{
    color: #fff;
    text-decoration: none;
}

#sidebar a:visited {
	color: #ddd;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar ul > li
{
    list-style-image: none;
    padding: 10px 0;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin-left: -5px;
	/*padding-bottom: 30px;*/
}

#sidebar li li {
	margin: 0 10px;
	line-height: 20px;
	/*background: url(/images/dot.gif);*/
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.27);
	
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

/*#sidebar li li:last-child{
	padding-bottom: 10px;
	border-bottom: 1px solid #871d2a;
}*/


#sidebar h2 {
	height: 38px;
	margin-bottom: 10px;
	padding: 5px 0 0 0px;
	border-bottom: 1px solid #e0cd19;
	letter-spacing: -2px;
	font-size: 20px;
}

#sidebar p {
	margin: 0 0px;
	padding: 0px 20px 20px 20px;
	text-align: justify;
}

#sidebar a {
	border: none;
}

#sidebar a:hover {
	text-decoration: underline;
}

#sidebar .more{
	border-top: 1px solid #DEDEDE;
	padding-top:10px;
}

#grid {
    overflow: hidden; 
    width: 100%; 
    margin: 0 auto;
}

#grid ul{
    width: 100%;
    display: inline-block; 
    list-style:none;
}

#grid ul li {
    float: left;
    margin-left: 20px;
    list-style: none;
}

#grid ul li:first-child {
	margin-left: 0;
}

#grid h3  {
    /*text-align: center;*/
    margin-top: 0;
    /*font-family: "Volkhov", sans-serif;*/
    color:#2956fa;
    /*text-transform: uppercase;*/
    font-size: 1.28em;
}

#grid img{
    box-shadow: 1px 2px 3px #ccc;
    border-radius: 5px; 
}

/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 20px;
}

#calendar table {
	width: 100%;
}

#calendar tbody td {
	text-align: center;
}

#calendar #next {
	text-align: right;
}



/*  Product List  */
#productlist{
	margin: 0px auto; 
	width: 960px;
}

.productcols {
	margin: 0px auto; 
	padding: 5px 0px 0px 35px; 
	width: 980px; 
	text-align: left; 
}

#productlist div.col {
	margin: 0px auto; 
	padding: 0px 10px 0px 0px; 
	width: 230px; 
	text-align: left; 
	vertical-align: top; 
	float: left; 
	display: inline-block;
}
#productlist div.col a {
	margin: 0px 0px 3px; 
	/*color: rgb(136, 138, 143); 
	font-size: 11px; */
	text-decoration: none; 
	display: block;
}

/* Footer */

footer{
	/*border-top: solid 2px #f67c01;*/
	background: url("../Images/bg_footer.html") repeat; 
	min-height: 140px; 
	overflow: hidden; 
	clear: both; 
	font-size: 0.9em; 
    color: #444;
	position: relative;
}

#footer-back{
    background:url("../Images/bg_footer_top.jpg") repeat-x center top;
    height: 19px;
}


.footer-wrapper {
	padding: 20px 0;
    font-family: 'Play', sans-serif;
    text-shadow: 1px 1px 0px rgba(255,255,255,0.9);
}

.follow-us{
    float:right; 
    width: 272px;
}

.socialmedial-list{
    overflow: hidden;
	margin-bottom: 11px;
    display: block;
	list-style-type: none;
    float: right;
}

.socialmedial-list li {
    margin-left: 10px;
    float: left;
}

.button {
	display: block;
}

.icon.button, .button, .text.button, .remove{
   transition-property: opacity;
   transition-duration: 0.3s;
   transition-timing-function: ease;
   transition-delay: 0s;
}

.icon.button, .icon.button:hover, .text, .icon_text{
    display: inline-block;
	border-radius: 25px !important;
}

.icon.button a{
    height: 32px;
    width: 32px;
    text-indent: 100%;
	overflow: hidden;
	display: block;
	white-space: nowrap; 
}

/*.icon.button a:hover {
    height: 32px;
    width: 32px;
    text-indent: 100%;
	overflow: hidden;
	display: block;
	white-space: nowrap; 
}*/

/*.icon-fb{
    background: url("/Images/sprite_icons.png") no-repeat scroll;
    background-color: transparent;
    background-position: center -656px;
    background-size: auto;
}*/



.icon-fb{
    background: url("../Images/sprite-social-icons-horizontal.png") no-repeat scroll;
    background-color: transparent;
    background-position: -28px center;
    background-size: auto;
}

/*.icon-tw{
    background: url("/Images/sprite_icons.png") no-repeat scroll;
    background-color: transparent;
    background-position: center -710px;
    background-size: auto;
}*/

.icon-tw{
    background: url("../Images/sprite-social-icons-horizontal.png") no-repeat scroll;
    background-color: transparent;
    background-position: 2px center;
    background-size: auto;
}

.icon-gplus{
    background: url("../Images/sprite-social-icons-horizontal.png") no-repeat scroll;
    background-color: transparent;
    background-position: -86px center;
    background-size: auto;
}

.icon-in{
    background: url("../Images/sprite-social-icons-horizontal.png") no-repeat scroll;
    background-color: transparent;
    background-position: -233px center;
    background-size: auto;
}

.lightbrown{
    background: rgb(168, 159, 142) url("../Images/bg_rpt_lightbrown.jpg") repeat;
    border: 1px solid #8d826d !important;
}

.clearDiv {
	clear: both;
}


/* ol list */

ol{
	counter-reset: li; /* Initiate a counter */
	list-style: none; /* Remove default numbering */
	*list-style: decimal; /* Keep using default numbering for IE6/7 */
	padding: 0;
	margin-bottom: 4em;
	text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

ol ol{
	margin: 0 0 0 2em; /* Add some left margin for inner lists */
}

.rounded-list a{
	position: relative;
	display: block;
	padding: .4em .4em .4em 2em;
	*padding: .4em;
	margin: .5em 0;
	background: #ddd;
	color: #444;
	text-decoration: none;
	border-radius: .3em;
	transition: all .3s ease-out;	
}

.rounded-list a:hover{
	background: #eee;
}

.rounded-list a:hover:before{
    transform: rotate(360deg);	
}

.rounded-list a:before{
	content: counter(li);
	counter-increment: li;
	position: absolute;	
	left: -1.3em;
	top: 50%;
	margin-top: -1.3em;
	background: #87ceeb;
	height: 2em;
	width: 2em;
	line-height: 2em;
	border: .3em solid #fff;
	text-align: center;
	font-weight: bold;
	border-radius: 2em;
	transition: all .3s ease-out;
}

.rectangle-list a{
	position: relative;
	display: block;
	padding: .4em .4em .4em .8em;
	*padding: .4em;
	margin: .5em 0 .5em 2.5em;
	background: #ddd;
	color: #444;
	text-decoration: none;
	transition: all .3s ease-out;	
}

.rectangle-list a:hover{
	background: #eee;
}	

.rectangle-list a:before{
	content: counter(li);
	counter-increment: li;
	position: absolute;	
	left: -2.5em;
	top: 50%;
	margin-top: -1em;
	background: #fa8072;
	height: 2em;
	width: 2em;
	line-height: 2em;
	text-align: center;
	font-weight: bold;
}

.rectangle-list a:after{
	position: absolute;	
	content: '';
	border: .5em solid transparent;
	left: -1em;
	top: 50%;
	margin-top: -.5em;
	transition: all .3s ease-out;				
}

.rectangle-list a:hover:after{
	left: -.5em;
	border-left-color: #fa8072;				
}

ul.box {
     position: relative;
     z-index: 1; /* prevent shadows falling behind containers with backgrounds */
     overflow: hidden;
     list-style: none;
     margin: 0;
     padding: 0; 
     list-style-image: none;
}

ul.box li {
    list-style-image: none;
    position: relative;
     float: left;
     width: 240px;
     height: 280px;
     padding: 0;
     border: 1px solid #efefef;
     margin: 0 30px 30px 0;
     background: #fff;
     -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
     -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
}


 ul.box li:before,
 ul.box li:after {
     content: '';
     z-index: -1;
     position: absolute;
     left: 10px;
     bottom: 10px;
     width: 70%;
     max-width: 300px; /* avoid rotation causing ugly appearance at large container widths */
     max-height: 100px;
     height: 55%;
     -webkit-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
     -moz-box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
     -webkit-transform: skew(-15deg) rotate(-6deg);
     -moz-transform: skew(-15deg) rotate(-6deg);
     -ms-transform: skew(-15deg) rotate(-6deg);
     -o-transform: skew(-15deg) rotate(-6deg);
     transform: skew(-15deg) rotate(-6deg); 
 }


 ul.box li:after {
     left: auto;
     right: 10px;
     -webkit-transform: skew(15deg) rotate(6deg);
     -moz-transform: skew(15deg) rotate(6deg);
     -ms-transform: skew(15deg) rotate(6deg);
     -o-transform: skew(15deg) rotate(6deg);
     transform: skew(15deg) rotate(6deg); 
 }

 /* Shared styles */

.drop-shadow {
    position:relative;
    float:left;
    width: auto;
    padding:1em;
    /*margin: 2em 10px 4em;*/
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
        -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}

.drop-shadow:before,
.drop-shadow:after {
    content:"";
    position:absolute;
    z-index:-2;
}

.drop-shadow p {
    font-size:16px;
    font-weight:bold;
}

/* Lifted corners */

.lifted {
    -moz-border-radius:4px;
            border-radius:4px;
}

.lifted:before,
.lifted:after {
    bottom:15px;
    left:10px;
    width:50%;
    height:20%;
    max-width:300px;
    max-height:100px;
    -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
        -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
            box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform:rotate(-3deg);
        -moz-transform:rotate(-3deg);
        -ms-transform:rotate(-3deg);
            -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}

.lifted:after {
    right:10px;
    left:auto;
    -webkit-transform:rotate(3deg);
        -moz-transform:rotate(3deg);
        -ms-transform:rotate(3deg);
            -o-transform:rotate(3deg);
            transform:rotate(3deg);
}

/* box image */
#box-image
{
    position: relative;
    width: 60%;
    background: #ddd;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 2em 1.5em;
    color: rgba(0,0,0, .8);
    text-shadow: 0 1px 0 #fff;
    line-height: 1.5;
    margin: 60px auto;
}


#box-image:before, #box-image:after 
{
    z-index: -1; 
	position: absolute; 
	content: "";
	bottom: 15px;
	left: 10px;
	width: 50%; 
	top: 80%;
	max-width:300px;
	background: rgba(0, 0, 0, 0.7); 
	-webkit-box-shadow: 0 15px 10px rgba(0,0,0, 0.7);   
	-moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
	-webkit-transform: rotate(-3deg);    
	-moz-transform: rotate(-3deg);   
	-o-transform: rotate(-3deg);
	-ms-transform: rotate(-3deg);
	transform: rotate(-3deg);
}

#box-image:after 
{
    -webkit-transform: rotate(3deg);
	-moz-transform: rotate(3deg);
	-o-transform: rotate(3deg);
	-ms-transform: rotate(3deg);
	transform: rotate(3deg);
	right: 10px;
	left: auto;
}
 img.profile-picture{
     width: 250px;
     padding: 10px;
     float: left;
     box-shadow: 1px 1px 2px 1px rgba(0,0,0,0.3);
     background-color: rgb(250, 250, 250);
 }

#career-form{
    position:relative;
	overflow: hidden;
    width: 50%;
    margin-top: 20px;
}

#career-form input{
    width: 99%;
	padding: 6px 12px;
    /*font-size: 1.8em;*/
    font-family: 'open sans',sans-serif;
	font-weight: 300;
    margin: 0 0 16px 0;
    border-width: 1px;
 }

#contact-form{
    position:relative;
	overflow: hidden;
    width: 49%;
    margin-top: 20px;
}

#contact-form input, #contact-form textarea {
    width: 99%;
	padding: 6px 12px;
    /*font-size: 1.8em;*/
    font-family: 'open sans',sans-serif;
	font-weight: 300;
    margin: 0 0 16px 0;
    border-width: 1px;
}

    #contact-form textarea{
        height: 100px;
    }

    #contact-form select{
        width: 100%;
        line-height: 1em;
        padding: 10px 16px;
        /*font-size: 1.8em;*/
        font-family: 'open sans',sans-serif;
        font-weight: 300;
        margin: 0 0 16px 0;
        border-width: 1px;
    }

    #contact-form select option {
	    font-family: 'open sans',sans-serif;
        font-weight: 300;
    }
#career-form input[type=submit], #contact-form input[type=submit]{
    width: 150px;
    float: right;
    margin-right: 5px;
    background-color: #2956fa;
    color: #fff;
}

.back-to-top {
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
}