html, body{
	min-height:100%;
}
body{
	margin:0px;
	background-color:#d8d8d8;
	background-repeat:repeat-y;
	font-size:12px;
	min-width:320px;
	font-family: "OpenSansRegular", Arial, Helvetica, sans-serif
}
body#referrals{
	background-image:url(../images/grn_sidebar_bg.png);
}
body#jobs{
	background-image:url(../images/blu_sidebar_bg.png);
}

h1,h2,h3,h4{
	-webkit-font-smoothing: antialiased;
	margin: .5em 0 .9em;
	font-weight:bold;
}
h2{
	font-size: 1.5em;
}
h3{
	font-size: 1.17em;
}

p{
	margin: .5em 0 1em;
}

#header{
	/* background:url(../images/bg-header.png) repeat-x; */
	background: #32332d url(../images/bg-header.png) repeat-x;
	/* position:relative; */
	position:absolute;
	//z-index:10;
	margin:0 auto;
	width:100%;
	padding:16px 0px 18px 0px;
	z-index: 200;
}
#header:after{
    content:'';
    display:block;
    clear:both;
}


.logo{
    float:left;
    background:url(../images/logo.png) no-repeat;
    width:119px;
    height:40px;
    text-indent:-9999px;
    overflow:hidden;
    margin: 0 0 0 18px;
}
.logo a{
    height:100%;
    display:block;
}

#header .slogan{
    float:left;
    font-size:29px;
    line-height:30px;
    text-transform:uppercase;
    font-style:italic;
    font-weight:normal;
    color:#c2c2c2;
    text-indent:-9999px;
    overflow:hidden;
    background:url(../images/text-slogan.png) no-repeat;
    width:118px;
    height:24px;
    margin: 10px 0 0 22px;
}
.header-shadow{
    -webkit-box-shadow:  0px 2px 6px rgba(0, 0, 0, 0.95);
    -moz-box-shadow:     0px 2px 6px rgba(0, 0, 0, 0.95);
    box-shadow:          0px 2px 6px rgba(0, 0, 0, 0.95);
}

.header-shadow .return-link, .header-shadow .return-link{
	float: right;
	font-size: 13px;
	color: #ddd;
	display: block;
	margin-right: 18px;
	margin-top: 4px;
	padding:7px 5px;
	/* border-radius: 3px; */
}
.header-shadow .return-link:hover, .header-shadow .return-link:hover{
	/*color:#222;
	background:#ddd;*/
	color:#fff;
	/* background:#555; */
	background:#111;
}


div#main{
	/* width:100%; */
	min-height: 100%;
	margin-left: 512px;
	margin-right: 0;
	margin-bottom: -50px;
	background: #d8d8d8;
}

#clearheader {
	height: 74px;
}

#top_panel{
	display:none;
}

#left_panel{
	/* background-color:#115676; */
	width: 512px;
	/*position:absolute;
    //height:auto;
	//bottom: 0;
	//top: 0;*/
	float:left;
	height:100%;
	
	z-index: 100;
	margin-left: -512px;
	left: -1px;
}
#left_panel_inner{
	/* padding-top:74px; */
}

img#l_panel_tout{
	width:100%;
	height:auto;	
}

#right_panel{
	/* position:absolute; */
	/* top:74px; */
	/* left:200px; */
	/* width:auto; */
	/* right:0px; */
	margin-left:200px;
	
	width: 100%;
	float: left;
	position: relative;
	z-index: 1;
	margin: 0 -1px;
	background: #d8d8d8;
	
	padding-bottom: 30px;
}

.item{
	/* width:260px; */
	width:245px;
	margin: 15px 0px 0px 15px;
	float:left;
	background-color:#ECEDE7;
	box-shadow: 0px 5px 8px rgba(0,0,0,0.3);
	padding:24px;
	font-size: 12px;
	line-height: 20px;
	font-family: OpenSansRegular, Arial, Helvetica, sans-serif;
}
.item ul{
	padding: .5em 0 0 3em;
	margin: 0;
}
.item#welcome-msg{
	/* float:none; */
	/* clear:both; */
	/* width:auto; */
	/* margin-right: 15px; */
	background: #32332d;
	color: #eee;
	-webkit-font-smoothing: antialiased;
}
.item#welcome-msg h2{
	color: #eee;
	font-size: 2.5em;
	letter-spacing: 1px;
	line-height: 1em;
}

.item.bigger{
	width:582px;
}

.item h2{
	margin:0px;
	font-weight: 100;
	font-family: ChunkFiveRomanRegular, Arial, Helvetica, sans-serif;
	color:#32332d;
}
.item ul{
	list-style: disc;
}

.more{
	display:none;
}

a{
	text-decoration:none;
	color:#777;
}
a .h{
	visibility: hidden;
	color: #d00;
}
a:hover .h{
	visibility: visible;
}

.lessButton{
	display:none;
}


#footer {
	width: 100%;
	clear: both;
	height: 50px;
	margin-top:50px;
	line-height: 50px;
	background: #32332d url(../images/bg-header.png) repeat-x;
	color: #FFF;
	font-weight: bold;
	text-align: center;
	position: relative;
}


span.money{
	color:green;
	font-size:1.5em;
	line-height:1em;
}




/**** Masonry Transitions ****/

.masonry,
.masonry .masonry-brick {
  -webkit-transition-duration: 0.2s;
     -moz-transition-duration: 0.2s;
      -ms-transition-duration: 0.2s;
       -o-transition-duration: 0.2s;
          transition-duration: 0.2s;
}

.masonry {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
      -ms-transition-property: height, width;
       -o-transition-property: height, width;
          transition-property: height, width;
}

.masonry .masonry-brick {
  -webkit-transition-property: left, right, top;
     -moz-transition-property: left, right, top;
      -ms-transition-property: left, right, top;
       -o-transition-property: left, right, top;
          transition-property: left, right, top;
}



/* MODALS */
#modalOuter{
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    min-height:983px;
    background:rgba(0,0,0,.6);

    z-index:9;
    display:none;
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa000000, endColorstr=#aa000000);
	/* For IE 8*/
     -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa000000, endColorstr=#aa000000)";
}

#modalInner{
    position:relative;   
    width: 480px;
    margin:0px auto;
    margin-top:100px;
    margin-bottom:20px;
    box-shadow: 0px 0px 20px #999;
    border-radius: 6px;
    padding:20px;
    /* background: #bc0d26; */
    background: #fff;

}
.closeButton {
	cursor: pointer;
	width: 29px;
	height: 29px;
	background: url(../images/close.png);
	position: absolute;
	left: 0;
	top: 0;
	margin-top: -10px;
	margin-left: -10px;
}

.btn.btn-join{
	float: right;
	margin-top: -1px;
	margin-left: 2px;
}
#welcome-msg .btn.btn-refer{
	margin-top: 12px;
}
#welcome-msg .btn.btn-refer,
#welcome-msg .btn-refer-sml{
	margin-left: 0;
	margin-right: 0;
	width: 100%;
}
#welcome-msg .btn-refer-sml{
	padding: 4px 3px 6px;
	margin-top: 6px;
	font-weight: bolder;
}

.btn-mini [class^="icon-"],
.btn-mini [class*=" icon-"] {
  margin-top: -1px;
}

.btn-mini {
  padding: 1px 8px 2px;
  font-size: 10.5px;
  line-height: 1.3em;
  -webkit-border-radius: 3px;
     -moz-border-radius: 3px;
          border-radius: 3px;
}	




/* MEDIA QUERIES */

@media (max-width: 1142px) {
	div#main {
		margin-left: 398px;
	}
	#left_panel {
		width: 398px;
		margin-left: -398px;
	}
	#left_panel_inner{
		padding-top:15px;
	}
}

@media (max-width: 1014px) {
	div#main {
		margin-left: 298px;
	}
	#left_panel {
		width: 298px;
		margin-left: -298px;
	}
}

@media (max-width: 915px) {
	div#main {
		margin-left: 0;
	}
	#left_panel {
		display:none;
		margin-left: 0;
	}
	#right_panel {
		width: 630px;
		margin: 0 auto;
		float: none;
	}
	#top_panel{
		display:block;
		background-color: #115676;
		background-image: url(../images/blu_sidebar_bg.png);
		text-align:center;
	}
	
	#jobs #top_panel{
		background-image: url(../images/blu_sidebar_bg.png);
	}
	#referrals #top_panel{
		background-image: url(../images/grn_sidebar_bg.png);
	}
	
	#top_panel img#top_panel_tout{
		width:90%;
		max-width:769px;
		height:auto;
	}
}
@media (max-width: 630px) {
	#right_panel {
		width: 322px;
	}
	#header .return-link{
		display:none;
	}
}
