/*
Theme Name: JMD Site
Theme URI: https://darkfirepress.com
Description: Wordpress and website theme for sites built by J. M. DeSantis
Version: 1.0
Author: J. M. DeSantis
Author URI: https://jmdesantis.com
*/

body  {
    font: 100% "Trebuchet MS", Helvetica, sans-serif;
	background: #000000; /*#A2A2A2;*/
	margin: 0; /* it's good practice to zero the margin and padding of body to account for differing browser defaults */
	padding: 0;
	text-align: center; /* centers the container in IE 5* browsers. The text is set to left aligned in #wrapper */
	color: #000000; /*#FFFFFF;*/
}

#wrapper {
	width: 960px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #F1F1F4; /*#F0F0F0; /*#2D2D2D;*/
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	/*border: 1px solid #ff6600;*/
	text-align: left; /* this overrides the text-align: center on the body element. */
}

#header {
    margin: 0px 0px 0px 0px; /* top,right,bottom,left */
	padding: 0px 0px 0px 0px;  
	text-align: center;
    background: #2D2D2D; /*#440055;*/
}

#header2 { /*used for the top menu*/
    font-family: Georgia, serif;
    font-size: large;
	font-weight: bold;
    margin: 0px 0px 2px 0px; /* top,right,bottom,left */
	padding: 0px 0px 0px 0px;  
	text-align: center;
    border: 1px solid #A2A2A2; /*#FF6A1F;*/
    background: #2D2D2D; /*#440055;*/
}

#sidebar {
	float: right; /* since this element is floated, a width must be given */
	width: 280px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	padding: 2px 4px 2px 4px; /* padding keeps the content of the div away from the edges */
	text-align: center;
	border-left: 1px solid #2D2D2D; /*#FF6A1F;*/
	font-size: small;
	margin: 8px 8px 8px 8px;
}

#mainContent {
    float: left;
    width: 940px;
	margin: 4px 8px 8px 8px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
	padding: 6px 12px 16px 12px; /* top,right,bottom,left remember that padding is the space inside the div box and margin is the space outside the div box */
	font-size: medium;
}

#mainContent table {
	align: center;
	text-align: center;
}

#mainContent table td img {
	border: 1px solid #FFFFFF;
}

#mainContent2 {  /*Used for extra ad space and featured title*/
    float: left;
    width: 940px; /*was 510px*/
	margin: 4px 8px 8px 8px; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
	padding: 6px 2px 8px 2px; /* top,right,bottom,left */
	border-bottom: 1px solid #000000; /*rgb(255,204,102);*/
	font-size: small;
}

#footer {
	clear: both;
    padding: 0 2px 0 50px; /* this padding matches the left alignment of the elements in the divs that appear above it. */
	background: #2D2D2D; /*#440055;*/
	color: #FFFFFF;
	font-size: x-small;
    border: 2px solid #A2A2A2;
}
#footer a:link {
	color: #FFFFFF;
    font-size: small;
}
#footer a:visited {
	color: #FFFFFF;
}
#footer a:hover {
	color: #FF6A1F;
}

#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 4px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	/*text-align: center;*/
}

.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}

.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}

.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
	text-align: center;
}

/*Sets the size of some specific texts throughout*/
h1 {
	font-size: x-large;
	margin: 0;
	padding: 0;
	text-align: center;
}
h2 {
	font-size: x-large;
}
h3 {
	font-size: large;
}
h4 {
	font-size: large;
}
h5 {
	font-size: medium;
}
h6 {
	font-size: medium;
}

/*Sets the colours of links*/
a:link		{ color: #993399; /*#CECEF6;*/ }  /*Basic link colour*/
a:visited	{ color: #993399; /*#DA81F5;*/ }  /*Colour of visited link*/
a:hover		{ color: #FF6A1F; }  /*Colour of rolled-over link*/
a:active	{ color: #FF2020; }  /*Colour of link as being clicked*/

/*SITE MENU CSS*/
#dfpmenu {
    margin: 0;
	padding: 0;
}
#dfpmenu ul {
	margin: 0;
	padding: 0;
	line-height: 60px;
}
#dfpmenu li {
	text-align: center;
	display: inline;
	margin: 0;
	padding: 0px 8px 0px 8px; /* top,right,bottom,left */
	list-style: none;
	float: left;
	position: relative;
}
#dfpmenu ul li a {
	text-decoration: none;
	height: 60px;
	display: block;
	color: #EB76FF; /*#F79842;*/
}
#dfpmenu ul ul {
	position: absolute;
	visibility: hidden;
	top: 5px;
	left: -1px;
}
#dfpmenu ul li:hover ul {
	visibility: visible;
}
#dfpmenu ul li ul li {
	background: #59455F; /*#bc6df2; #6D3892*/
	border: 1px solid #000000;
	width: 2px;
	text-align: left;
}
#dfpmenu a:hover {
	color: #FF6A1F;
}
#dfpmenu li:hover {
	color: #FF6A1F;
}
#dfpmenu ul li:hover ul li a:hover {
	color: #FF6A1F;
}
.clearFloat {
	clear: both;
	margin: 0;
	padding: 0;
}


#container #mainContent div table {
	text-align: center;
}

/* ROWS & COLUMNS */
.column {
    float: left;
    /*width: 25%;*/
	margin: 4px 2px 8px 2px; /* top,right,bottom,left space outside*/
    padding: 8px 4px 8px 4px; /* top,right,bottom,left space inside*/
}
/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Table Padding */
th, td {
  padding: 8px;
}

/*MailChimp Mailing List Sign Up Form Styles*/
#mc_embed_signup {
	clear: left;
	width: 280px;
	font-size: small;
}
#mc-embedded-subscribe-form {
	margin: 4px 0px 4px 0px;
	padding: 4px 4px 4px 4px;
	border: 1px dotted #FFFFFF;
}
div.mc-field-group {
	margin: 4px 0px 4px 0px;
	padding: 4px 4px 4px 4px;
}
div.mc-field-group {
	margin: 4px 4px 4px 4px;
	padding: 4px 4px 4px 4px;
}
div.mc-field-group label {
	font-size: small;
}