/* 
  ------------------------------------------------
  PVII Affinity
  Copyright (c) 2013 Project Seven Development
  www.projectseven.com
  Boardroom Theme
  ------------------------------------------------
*/

/*Main Colours: Purple #3d1c61, Black, White*/

body {
	/*background-color: #25003a;BG*/
	/*background-image:url(../art/bg-body-repeat.jpg);*/
	background-color:#000;
	background-image:url(../art/bg-body.png);
	background-repeat:no-repeat;
	font-family: "Droid Sans", Optima, "Segoe UI", Arial, sans-serif;
	font-size:1.0em;
	margin: 0px 0px 30px 0px;
	color:#FFF;
}
#bodyright {
	/*background-color: #25003a;BG*/
	/*background-image:url(../art/bg-body-repeat.jpg);*/
	background-image:url(../art/bg-body-right.png);
	background-repeat:no-repeat;
	background-position:top right;
	min-height:1500px;
}

/*Drop Menu Magic Adjustments*/
.p7DMM03 {
	font-family: Cuprum, Optima, Arial, Helvetica, sans-serif;
	font-size: 1.0em;
}
.p7DMM03.p7DMM.p7dmm-left {
	padding-left: 20px;
}
.p7DMM03.p7DMM.p7dmm-right {
	padding-right: 20px;
}


/*Baseline Adjustment for images needed with strict DOCTYPE*/
img {vertical-align: bottom;}


/*Logo and Banner*/
#logo {
	/*padding: 3px 20px;BG*/
	position: relative;
	z-index: 10;
	padding-left:5px;
	background-image: -webkit-linear-gradient(#181121, #2d1f3d);
	background-image: linear-gradient(#181121, #2d1f3d);
	background-color: #2d1f3d;
	box-shadow: 0px 0px 30px #000;
}
#banner {
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color:rgba(255,255,255,.15)
}


/*Utility Rules for images. Scalable class makes images scale with window size.*/
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
	vertical-align: bottom;
}
/* 
Add the fancy class to the scalable class to add a drop shadow
<img class="scalable fancy"...>
*/
.fancy {
	border: 1px solid rgba(255,255,255,.5);
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
}
/* 
Add the accented class to the scalable class to add eounded corners and a border.
<img class="scalable accented"...>
*/
.accented {
	border-radius: 5px;
	border: 1px solid #222;
}


/*Layout Wrapper*/
#layout {
	/*max-width: 1360px;BG*/
	max-width: 1080px;
	margin: 0px auto;
	/*background-color: #FFF;BG*/
	box-shadow: 0px 0px 20px rgba(0,0,0,.5);
	border-radius: 0px 0px 7px 7px;
	/*GRADIENT AFTER THIS*/
	/*background-color:#FFF;*/
	/*background-image:url(../art/bg-layout-repeat.png);
	background-repeat:repeat-y;*/
/* IE9 SVG, needs conditional override of 'filter' to 'none' */

background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMwMTY0ZiIgc3RvcC1vcGFjaXR5PSIwLjg2Ii8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyMDBlMzMiIHN0b3Atb3BhY2l0eT0iMC44NiIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);

background: -moz-linear-gradient(top,  rgba(48,22,79,0.86) 0%, rgba(32,14,51,0.86) 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(48,22,79,0.86)), color-stop(100%,rgba(32,14,51,0.86))); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  rgba(48,22,79,0.86) 0%,rgba(32,14,51,0.86) 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  rgba(48,22,79,0.86) 0%,rgba(32,14,51,0.86) 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  rgba(48,22,79,0.86) 0%,rgba(32,14,51,0.86) 100%); /* IE10+ */

background: linear-gradient(to bottom,  rgba(48,22,79,0.86) 0%,rgba(32,14,51,0.86) 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#db30164f', endColorstr='#db200e33',GradientType=0 ); /* IE6-8 */





}

/*Default Row Structures*/
.affinity-row {
	padding: 0px;
	color:#DADADA;
}
/*This rule assigns a gray gradient background to every other row*/
.affinity-row:nth-child(even) {
	/*background-color: #2B2B2B;
	background-image: -webkit-linear-gradient(#000, #2B2B2B);
	background-image: linear-gradient(#000, #2B2B2B);BG*/
	background-color:rgba(0,0,0,.37)
}
/*Turns off the Background for Nested Rows*/
.affinity-row .affinity-row:nth-child(even) {
	background-color: transparent;
	background-image: none;
	background-image: none;
}

/*Clear Fix to Clear Floats*/
.affinity-row:after {
	visibility: hidden;
	display: block;
	content: "\0020";
	clear: both;
	height: 0;
}

/*Strctural wrapper for 2-column row*/
.affinity-row .column-half {
	width: 50%;
	float: left;
}

/*Strctural wrapper for 3-column row*/
.affinity-row .column-third {
	width: 33.3333333%;
	float: left;
}
/*Strctural wrapper for 4-column row*/
.affinity-row .column-fourth {
	width: 25%;
	float: left;
}
.affinity-row .column-fourth .column-content-gallery {
	text-align:center;
	line-height: 1.35;
	padding: 24px 24px;
}
}
/*Strctural wrapper for 5-column row*/
.affinity-row .column-fifth {
	width: 20%;
	float: left;
}

/*Strctural wrapper for 2-column sidebar-left row*/
.affinity-row.sidebar-left .column-1 {
	width: 76%;
	float: right;
}
.affinity-row.sidebar-left .column-2 {
	width: 24%;
	float: right;
}
.affinity-row.sidebar-left .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-left .column-2 .column-content {
	font-size: .9em;
}

/*Strctural wrapper for 2-column sidebar-right row*/
.affinity-row.sidebar-right .column-1 {
	width: 65%;
	float: left;
}
.affinity-row.sidebar-right .column-2 {
	width: 35%;
	float: left;
}
.affinity-row.sidebar-right .column-content {
	line-height: 1.5;
}
.affinity-row.sidebar-right .column-2 .column-content {
	font-size: .9em;
}
.left-border {
	/*border-left: 1px solid #000;*/
}
.right-border {
	/*border-right: 1px solid #3d1c61;*/
}
.left-right-border {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}

/*Column Content*/
.column-content {
	line-height: 1.35;
	padding: 24px 24px;
}
.affinity-row.sidebar-right .column-content,
.affinity-row.sidebar-left .column-content,
.affinity-row.thirds.full-height .column-content {
	padding: 30px;
}
/*Padding Management for Nested Rows*/
.no-pad-left-top-bottom {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	padding-left: 0px !important;
}
.no-pad-right-top-bottom {
	padding-top: 0px !important;
	padding-right: 0px !important;
	padding-bottom: 0px !important;
}
.no-pad-top-bottom {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

.inner-container {
background-color: #402263;
border: 1px solid #553f6e;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
-moz-box-shadow: 0px 0px 5px #000000;
-webkit-box-shadow: 0px 0px 5px #000000;
box-shadow: 0px 0px 5px #000000;
padding:10px;
/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
}


/*Headings*/
h1, h2, h3, h4 {
	font-family: Cuprum, Optima, Arial, Helvetica, sans-serif;
	line-height: normal;
	margin: 0px 0px 0px 0px;
	color:#DADADA;
}
.column-content h1:first-child,
.column-content h2:first-child,
.column-content h3:first-child,
.column-content h4:first-child {
	margin-top: 10px;
}
/*Use this class when you add a heading inside a row that contains multiple columns.*/
.inner-row-heading {
	position: relative;
	top: 20px;
	margin: 0px 0px 0px 24px;
}
a {
	color: #d7b2ff;
	text-decoration: none;
	-webkit-transition: all linear .25s .1s;
	transition: all linear .25s .1s;
}
a:hover{
	color: #FFF;
}
a.open
 {
	color: #FFF;
}

/*Footer and Copyright*/
.footer {
	color: #000;
	font-size: 0.8em;
	border-radius: 0px 0px 5px 5px;
	border-top: 1px solid;
	border-color: #FFF;
	background-color: #868686 !important;
	background-image: -webkit-linear-gradient(#2d1f3d, #181121) !important;
	background-image: linear-gradient(#2d1f3d, #181121) !important;
}
.footer h3, .footer h4 {
	font-family: "Droid Sans", Optima, "Segoe UI", Arial, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	margin: 10px 0px 0px 0px;
}
.footer ul {
	margin: 0px;
	padding: 0px;
	margin-top: 10px;
}
.footer li {
	list-style-type: none;
	line-height: 1.75;
}
.footer a {
	color: #666;
	text-decoration:none;
}
.footer a:hover, .footer a:focus {
	color: #FFF;
	text-decoration:none;
}
.copyright {
	font-size: 0.85em;
	text-transform: uppercase;
	clear: both;
	padding: 5px 10px 15px 20px;
}


/*Assign this class to set large text and the stylish Cuprum font*/
.column-content.largesse, .largesse {
	font-size: 1.05em;
	line-height: 1.35em;
	font-family: Cuprum, Optima, Arial, Helvetica, sans-serif;
	color:#FFF;
}
/*Use this class to asign a black accent box around your content*/
.affinity-row .blast {
	font-family: Cuprum, Optima, Arial, Helvetica, sans-serif;
	font-size: 1.05em;
	line-height: 1.25;
	color: #BBB;
	border-radius: 0px 0px 10px 10px;
	padding: 24px 24px;
	background: -webkit-linear-gradient(#2d1f3d, #181121);
	background: linear-gradient(# 2d1f3d, #181121);
	background-color: #2d1f3d;
	margin-bottom: 20px;
}
/*Add the gray class to the blast class to make your accent box gray*/
.affinity-row .blast.gray {
	background: -webkit-linear-gradient(#75509e, #3d1c61);
	background: linear-gradient(#75509e, #3d1c61);
	background-color: #75509e;
	color: #e4ccfe;
}
.affinity-row.sidebar-left .column-content .blast,
.affinity-row.sidebar-right .column-content .blast,
.full-round {
	border-radius: 6px !important;
}
.news-top {
	margin:0px;padding:5px;
	width:100%;
	/*border:1px solid #ffffff;*/
	background-color:rgba(61,28,97,.25);
	
	-moz-border-radius-bottomleft:0px;
	-webkit-border-bottom-left-radius:0px;
	border-bottom-left-radius:0px;
	
	-moz-border-radius-bottomright:0px;
	-webkit-border-bottom-right-radius:0px;
	border-bottom-right-radius:0px;
	
	-moz-border-radius-topright:5px;
	-webkit-border-top-right-radius:5px;
	border-top-right-radius:5px;
	
	-moz-border-radius-topleft:5px;
	-webkit-border-top-left-radius:5px;
	border-top-left-radius:5px;
}

.news-content {
	margin:0px;padding:5px;
	width:100%;
	/*border:1px solid #ffffff;*/
	background-color:rgba(61,28,97,.25);
	
	-moz-border-radius-bottomleft:5px;
	-webkit-border-bottom-left-radius:5px;
	border-bottom-left-radius:5px;
	
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-right-radius:5px;
	
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
	
	-moz-border-radius-topleft:0px;
	-webkit-border-top-left-radius:0px;
	border-top-left-radius:0px;
}
.adminstyle {
	margin:0px;padding:0px;
	width:100%;
	border:1px solid #ffffff;
	
	-moz-border-radius-bottomleft:5px;
	-webkit-border-bottom-left-radius:5px;
	border-bottom-left-radius:5px;
	
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-right-radius:5px;
	
	-moz-border-radius-topright:5px;
	-webkit-border-top-right-radius:5px;
	border-top-right-radius:5px;
	
	-moz-border-radius-topleft:5px;
	-webkit-border-top-left-radius:5px;
	border-top-left-radius:5px;
}

.adminstyle table{
    border-collapse: collapse;
        border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
}
.adminstyle table thead tr{
    border-top: 1px solid #3d1c61;
    border-bottom: 1px solid #3d1c61;

	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-right-radius:5px;
}
.adminstyle table tr:first-child td:first-child {
	-moz-border-radius-topleft:5px;
	-webkit-border-top-left-radius:5px;
	border-top-left-radius:5px;
}
.adminstyle table tr:first-child td:last-child {
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
}
.adminstyle tr:last-child td:first-child{
	-moz-border-radius-bottomleft:5px;
	-webkit-border-bottom-left-radius:5px;
	border-bottom-left-radius:5px;
}
.adminstyle tr:last-child td:last-child{
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-right-radius:5px;
}

.adminstyle tr:hover td{
	
}
.adminstyle tr:nth-child(odd){ background-color:#2d1f3d; }
.adminstyle tr:nth-child(even)    { background-color:#181121; }
.adminstyle td{
	vertical-align:middle;
	border:1px solid #3d1c61;
	border-width:0px 1px 1px 0px;
	/*text-align:left;*/
	padding:5px;
	font-size:10px;
	font-family:Arial;
	font-weight:normal;
	color:#ededed;
}
.adminstyle tr:last-child td{
	border-width:0px 1px 0px 0px;
}
.adminstyle tr td:last-child{
	border-width:0px 0px 1px 0px;
}
.adminstyle tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}
/*.adminstyle tr:first-child td{
		background:-o-linear-gradient(bottom, #563b75 5%, #3d1c61 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #563b75), color-stop(1, #3d1c61) );
	background:-moz-linear-gradient( center top, #563b75 5%, #3d1c61 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#563b75", endColorstr="#3d1c61");	background: -o-linear-gradient(top,#563b75,3d1c61);
	background-color:#563b75;
	text-align:center;
	border-bottom:1px solid #FFF;
	border-left:0px;
	font-size:14px;
	font-family:Arial;
	font-weight:bold;
	color:#ffffff;
}*/
/*.adminstyle tr:first-child:hover td{
	background:-o-linear-gradient(bottom, #563b75 5%, #3d1c61 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #563b75), color-stop(1, #3d1c61) );
	background:-moz-linear-gradient( center top, #563b75 5%, #3d1c61 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#563b75", endColorstr="#3d1c61");	background: -o-linear-gradient(top,#563b75,3d1c61);

	background-color:#563b75;
}*/
.adminstyle tr:first-child td:first-child{
	border-width:0px 0px 1px 0px;
}
.adminstyle tr:first-child td:last-child{
	border-width:0px 0px 1px 0px;
}


/*FIRST TABLE CODE ENDS HERE*/
.CSSTableGenerator {
	margin:0px;padding:0px;
	width:100%;
	border:1px solid #ffffff;
	
	-moz-border-radius-bottomleft:5px;
	-webkit-border-bottom-left-radius:5px;
	border-bottom-left-radius:5px;
	
	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-right-radius:5px;
	
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
	
	-moz-border-radius-topleft:0px;
	-webkit-border-top-left-radius:0px;
	border-top-left-radius:0px;
}

.CSSTableGenerator table{
    border-collapse: collapse;
        border-spacing: 0;
	width:100%;
	height:100%;
	margin:0px;padding:0px;
}
.CSSTableGenerator table thead tr{
    border-top: 1px solid #FFF;
    border-bottom: 1px solid #FFF;

	-moz-border-radius-bottomright:5px;
	-webkit-border-bottom-right-radius:5px;
	border-bottom-right-radius:5px;
}
.CSSTableGenerator table tr:first-child td:first-child {
	-moz-border-radius-topleft:0px;
	-webkit-border-top-left-radius:0px;
	border-top-left-radius:0px;
}
.CSSTableGenerator table tr:first-child td:last-child {
	-moz-border-radius-topright:0px;
	-webkit-border-top-right-radius:0px;
	border-top-right-radius:0px;
}.CSSTableGenerator tr:last-child td:first-child{
	-moz-border-radius-bottomleft:5px;
	-webkit-border-bottom-left-radius:5px;
	border-bottom-left-radius:5px;
}.CSSTableGenerator tr:hover td{
	
}
.CSSTableGenerator tr:nth-child(odd){ background-color:#2d1f3d; }
.CSSTableGenerator tr:nth-child(even)    { background-color:#181121; }
.CSSTableGenerator td{
	vertical-align:middle;
	
	
	border:1px solid #ffffff;
	border-width:0px 1px 1px 0px;
	text-align:left;
	padding:5px;
	font-size:10px;
	font-family:Arial;
	font-weight:normal;
	color:#ededed;
}.CSSTableGenerator tr:last-child td{
	border-width:0px 1px 0px 0px;
}.CSSTableGenerator tr td:last-child{
	border-width:0px 0px 1px 0px;
}.CSSTableGenerator tr:last-child td:last-child{
	border-width:0px 0px 0px 0px;
}
/*.CSSTableGenerator tr:first-child td{
		background:-o-linear-gradient(bottom, #563b75 5%, #3d1c61 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #563b75), color-stop(1, #3d1c61) );
	background:-moz-linear-gradient( center top, #563b75 5%, #3d1c61 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#563b75", endColorstr="#3d1c61");	background: -o-linear-gradient(top,#563b75,3d1c61);
	background-color:#563b75;
	text-align:center;
	border-bottom:1px solid #FFF;
	border-left:0px;
	font-size:14px;
	font-family:Arial;
	font-weight:bold;
	color:#ffffff;
}*/
/*.CSSTableGenerator tr:first-child:hover td{
	background:-o-linear-gradient(bottom, #563b75 5%, #3d1c61 100%);	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #563b75), color-stop(1, #3d1c61) );
	background:-moz-linear-gradient( center top, #563b75 5%, #3d1c61 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr="#563b75", endColorstr="#3d1c61");	background: -o-linear-gradient(top,#563b75,3d1c61);

	background-color:#563b75;
}*/
.CSSTableGenerator tr:first-child td:first-child{
	border-width:0px 1px 1px 0px;
}
.CSSTableGenerator tr:first-child td:last-child{
	border-width:0px 0px 1px 0px;
}
.fb-activity, .fb-activity iframe[style] {width: 100% !important;}

@media only screen and (min-width: 0px) and (max-width: 700px) {
body {
	margin: 0px;
}
#bodyright {
	/*background-color: #25003a;BG*/
	/*background-image:url(../art/bg-body-repeat.jpg);*/
	background-image:url(../art/bg-body-right-mobile.png);
	background-repeat:no-repeat;
	background-position:top right;
}
.p7DMM03.p7DMM.p7dmm-left, .p7DMM03.p7DMM.p7dmm-right {
	padding: 0px !important;
}
#layout {
	max-width: none;
	padding: 0px;
}
.column, .column-1, .column-2, .column-3,
.column-half, .column-third, .column-fourth,
.column-fifth {
	float: none !important;
	width: auto !important;
}
.column-content {
	height: auto !important;
	max-height: 888678px;
	border: none !important;
}
}
/*Medium windows - reduce padding content padding*/
@media only screen and (min-width: 700px) and (max-width: 1380px) {
#layout {max-width: none;}
/*#bodyright {*/
	/*background-color: #25003a;BG*/
	/*background-image:url(../art/bg-body-repeat.jpg);*/
	/*background-image:url(../art/bg-body-right-mobile.png);
	background-repeat:no-repeat;
	background-position:top right;*/
}

}
