/*
Theme Name: Casinotown Theme
Theme URI: flytonic/themes/casinotown-theme
Description: Casinotown theme for the Flytonic Framework for wordpress.  A responsive wordpress theme for affiliates promoting sportsbook, poker, casino, and other gambling sites.
Version: 1.2
Author: Thomas Calkins
Author URI: #
Template: flytonictheme
*/

/**************** Body and Common *****************/

a, a:visited {color:#009900; text-decoration: none;}
a:hover { text-decoration: none; color:#888;	}
body {margin:0; background:#111; color:#ddd; font-family:Arial, Helvetica, sans-serif; font-size:10px; line-height:10px;   }
#main{width:1000px; margin:0px auto 0px auto;  }
img {border:0;}

.tablewidget,.textwidget,{margin:0 0 20px 0;}
.bannerwidget{display: block; margin:0 auto 20px auto; float:none; text-align:center; 	}
. img{margin:0 auto; text-align:center; display:block; padding:10px 0 0 0;}
.bylines{ margin:0px 0px 6px 0px;  font-size:11px; color:#777;  }

.articleexcerpt .bylines{ margin:-10px 0 12px 0;  font-size:11px; color:#AAA;  }

.excerptlist{ margin-bottom:25px;}
.articleexcerpt{ overflow:hidden; padding-bottom:12px; margin-bottom:6px; }
.articleexcerpt .articleimg{ float:left; padding:4px; border:1px solid #666; margin: 0px 8px 0px 0px;}
.articleexcerpt h3{ margin:0 0 12px 0 !important;}
.moreinfo{font-size:.8em; margin:0 0 5px 0; padding-top:3px; }

.breadcrumb{ margin-top:10px; padding:5px 15px; font-size:.9em; background:#1d1d1d;   color:#bbb; font-family:Verdana; font-weight:bold; clear:both;}
.current_crumb{font-weight:normal;}

/****************** HEADER ***************************/
#header {width:100%; background:#000 url("images/headerbg.gif") repeat-x top;  overflow:hidden; padding:20px 0; }
#header h2{ line-height:.8em; font-size:2em; color: #FFF; margin:0 0 2px 0; }
#header h3 { margin:0px 0px 0px 5px; color:#0099FF; font-size:1.1em; }
#header-left{float:left;  padding:0 25px; overflow:hidden;}
#header-middle{float:left; padding:0 0 0 40px; overflow:hidden;}
#header-right{float:right;  padding:0 10px 0 0; margin:0 0 0 25px; }
#header-right ul{ margin:2px 0 6px 0; padding:0; }	 
#header-right li{ display:inline; list-style:none; margin-right:5px; }	  

#header-left a, #header-left a:visited{color:#FFF;text-decoration:none;}
#header-left a:hover{color:#DDD; text-decoration:none;}

#searchheader{ clear:both; padding:10px 0 30px 0; display:none; width:460px; margin:0 auto;}

#searchheader .topsearchform { margin:0; padding:5px 0 0 0; overflow:hidden; }
#searchheader .topsearchinput{width:404px; color:#aaa; background:#222;   border:0;  padding:6px 5px 6px 10px; font-size:1.5em;   margin:0; float:left; border:1px solid #333; }


/****************** Navbar ***************************/

#navbar{width: 990px; color:#000; background:#FFF url("images/navbg.gif") repeat-x; padding:0 5px; clear:both;  border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomleft:5px; -moz-border-radius-bottomright:5px; overflow:hidden;} 
#nav{display: block; width:100%; margin:0;  height:40px;  }
#nav, #nav ul {line-height: 28px; margin:0; padding:0; list-style: none; background:#FFF url("images/navbg.gif") repeat-x; }
#nav li {float: left; font-size:1.3em; text-transform:none; font-weight:bold; background:url("images/rnav.gif") right no-repeat;}
#nav li a,#nav li a:visited {color:#111; display:block; padding:6px 13px 6px 13px; background:url("images/rnav.gif") right no-repeat;}
#nav li a:hover, #nav li a:active {color:#009900; background:#F5F5F5 url("images/rnav.gif") right no-repeat; }	
#nav li ul {position: absolute; left: -999em; width:160px; margin:0 0 0 -2px; line-height: 14px; background:#FFF; border:1px solid #999; border-top:1px solid #FFF; padding:4px; }
#nav li li { width: 160px; margin:0;  background:none; font-weight:normal; font-size:.9em; }
#nav li li a, #nav li li a:visited {color:#222; padding:4px 10px 4px 10px; background:none;}
#nav li li a:hover, #nav li li a:active {color:#222; text-decoration:underline; background:none;  }
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
left: auto; }
#nav li li ul,  #nav li.current-menu-item li ul, #nav li.current-menu-parent li ul{ margin: -31px 0 0 160px; border-top:1px solid #999;  visibility:hidden; font-size:1.1em;}
#nav li li:hover ul { visibility:visible;}
#nav li.dropdn{ background:url("images/arrowdn.png") right center no-repeat; }
#nav li.dropdn a,#nav li.dropdn a:visited {padding:6px 20px 6px 12px; }
#nav li ul li.dropdn{ background:url("images/rarrow.png") right center no-repeat; }
#nav li.current-menu-item a, #nav li.current-menu-parent a {color:#009900;}
#nav li.current-menu-item, #nav li.current-menu-parent {color:#009900;}
#nav li.current-menu-item a:hover, #nav li.current-menu-parent a:hover {background:#F5F5F5 url("images/rnav.gif") right no-repeat; color:#666;}	
#nav li.current-menu-item li, #nav li.current-menu-parent li { background:none;}	
#nav li.current-menu-item li a, #nav li.current-menu-parent li a {background:none; }	
#nav li.current-menu-item li a:hover, #nav li.current-menu-parent li a:hover { background:none;  }	
#nav li.current-menu-item ul {margin-top:-1px;}	

#navbar .left{float:left;}
#navbar .right{float:right; }

/************************ Search *******************************************/

.topsearchform { margin:0; padding:5px 0 0 0; overflow:hidden; }
.topsearchinput{width:120px; color:#aaa; background:url("images/searchinput.png") no-repeat; border:0;  padding:7px 5px 8px 10px;   margin:0; float:left;  }
.topsearchsubmit{width:39px; height:31px; background:url("images/buttons.png") -140px -164px  no-repeat; border:none; padding:0; float:left;  }					
.topsearchsubmit:hover{background:url("images/buttons.png") -184px -164px  no-repeat; cursor:pointer;}

#searchform{ margin:0; padding:5px 0 0 0; overflow:hidden; }
#searchinput{width:160px; color:#aaa; background:#222 url("images/searchinput.png") no-repeat; border:1px solid #222;  padding:7px 5px 7px 10px;   margin:0 0 0 30px; float:left;  }
#searchsubmit{width:39px; height:31px; background:url("images/buttons.png") -140px -164px  no-repeat; border:none; padding:0; float:left;  }					
#searchsubmit:hover{background:url("images/buttons.png") -184px -164px  no-repeat; cursor:pointer;}

/******************** Main Layout ***************************/

#middlecontent { float:left; background:#000 url("images/middletop.gif") repeat-x 0 20px; padding:10px 20px 40px 20px; width:640px; font-size:1.3em;  line-height:1.4em; margin-top:10px; border-top-left-radius: 8px; border-top-right-radius: 8px; -moz-border-radius-topleft:8px; -moz-border-radius-topright:8px; } 	  
#middlecontent p{padding: 0px 0px 12px 0px; margin: 0px; } 
#middlecontent h1, #middlecontent h2, #middlecontent h3, #middlecontent h4{ line-height:.9em; color:#FFF;   }
#middlecontent h1{ background:url("images/toph1.gif") top repeat-x; padding:13px 15px 12px 15px; font-size:1.5em; margin:-10px -20px 20px -20px; border-top-left-radius: 8px; border-top-right-radius: 8px; -moz-border-radius-topleft:8px; -moz-border-radius-topright:8px;    }
#middlecontent h2{ font-size:1.3em; margin:8px 0px 18px 0px; padding:10px 10px; background:url("images/centerh2bg.gif") repeat-x;}
#middlecontent h3{ font-size:1.1em; margin:2px 0px 16px 0px;}
#middlecontent h4{ font-size:1.1em; margin:2px 0px 14px 0px;}
#middlecontent ul{ padding:0 0 0 25px; margin:2px 0 12px 25px; overflow:hidden;}
#middlecontent ol{ padding:0 0 0 25px; margin:2px 0 12px 25px; overflow:hidden;}
#middlecontent ul li{ list-style:url("images/sidebullet.png") outside; margin:0 0 8px 0; line-height:1.2em;}

#middlecontent ol li{ list-style:decimal; margin:0 0 8px 0; line-height:1.2em;}

.full h1 {margin:-10px -1.25% 20px -1.25% !important;}
.full{width:97.5% !important;  padding:10px 1.25% 25px 1.25% !important;}

/******************** Sidebars ***************************/

#sidebar .block{ padding:0px 10px 10px 10px; background:#222; margin-bottom:20px;  border-radius: 5px;  -moz-border-radius:5px; }
				  
#sidebar{padding:0 0 40px 0; margin-top:10px;  width:300px;  line-height:1.4em; font-size:1.3em; }
#sidebar h2{background:url("images/toph1.gif") top repeat-x; padding:13px 15px 12px 15px; font-size:1.4em; margin:0 -10px 2px -10px; border-top-left-radius: 8px; border-top-right-radius: 8px; -moz-border-radius-topleft:8px; -moz-border-radius-topright:8px;   }
#sidebar ul, #sidebar ol{margin: 0 -10px;  padding: 0 0 5px 0; font-size:.9em;   }
#sidebar ul li{padding: 10px 10px; background: url("images/bottomwidget.gif") repeat-x bottom;  list-style:url("images/sidebullet.png") inside; font-size:1.1em; line-height:1.1em;   }
#sidebar ol li{padding: 10px 10px; background: url("images/bottomwidget.gif") repeat-x bottom;  list-style:decimal inside; font-size:1.1em; line-height:1.1em;   }
		  
.leftside{float:left; margin-right:20px;}		  
.rightside{ float:right; margin-left:20px;}	

#sidebar li a, #sidebar li a:visited{ color:#999; }	  
#sidebar li a:hover{ color:#999; text-decoration:underline;}	

/******************* Image format ****************************************/

p img {padding: 0; max-width: 100%;	}
img.centered, .aligncenter, div.aligncenter {display: block; margin:10px auto 10px auto; float:none; text-align:center; padding:1px;	}
img.alignright {float: right; margin: 0px 0px 5px 10px; border:1px solid #111; padding:1px;}
img.alignleft {float: left; margin: 0px 10px 5px 0px; border:1px solid #111; padding:1px;	}
.alignright {float: right; }
.alignleft {float: left; }

#middlecontent img[class*="align"],
img[class*="wp-image-"] {
height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
#middlecontent img.size-full {
max-width: 97.5%;
width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}

/****************** Captions *****************************/

.wp-caption {border: 1px solid #ddd; text-align: center; background: #EEE; padding-top: 2px; margin: 6px;
-moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
.wp-caption img {margin: 0; padding: 0; border: 0 none; }
.wp-caption p.wp-caption-text {font-size: 11px; line-height: 17px; padding: 0 2px 3px; margin: 0; }

/******************* Comments ****************************************/

#middlecontent blockquote { margin:10px 100px 15px 30px; padding: 10px 10px 0px 10px; border-left: 4px solid #333;  font-family:Georgia, "Times New Roman", Times, serif; color:#eee; font-size:14px; background:#444; font-style:italic; }
#middlecontent blockquote p {	margin: 0; }

#middlecontent h3.commentsheading  {font-size:1.3em; margin:8px 0px 18px 0px; padding:10px 10px; background:url("images/centerh2bg.gif") repeat-x; }
.commentposts{ padding-top:35px; margin-top:35px; border-top:1px solid #333;}

#respond{padding-top:35px; margin-top:35px; border-top:1px solid #333;}	 
#respond:after { content: ".";  display: block; height: 0; clear: both; visibility: hidden;	}

#commentform {margin: 5px 10px 0 0;	}
#commentform input {width: 40%; padding: 5px; margin: 5px 5px 1px 0;	border:2px solid #DDD; color:#888; border-radius:4px; -moz-border-radius:5px;	}
#commentform textarea {	padding: 5px; width: 60%;	border:2px solid #DDD; color:#666; border-radius:4px; -moz-border-radius:5px; color:#888; }
#commentform label { color:#777; font-weight:bold;}	
	
#commentform #submit {margin: 0; width:100px; background:#666; border:1px solid #555; border-radius:4px; -moz-border-radius:4px; -webkit-border-radius:4px; color:#fff;  padding:8px;  text-align:center;  text-transform:uppercase;	}
#commentform #submit:hover { background:#009900;cursor:pointer; }

.alt {margin: 0;padding: 10px;}

.commentlist {padding: 0;margin:0px 40px 0px 20px;text-align: justify; color:#999;}

.commentlist li {margin: 15px 0 10px;padding: 5px 5px 10px 10px;list-style: none !important; border-top:1px solid #444; border-bottom:1px solid #444;	}
.commentlist li ul.children li {border-top:1px solid #111; border-bottom:1px solid #111;	}
.commentlist li ul li { margin-right: -5px;	margin-left: 10px;}
.commentlist p {margin: 10px 5px 10px 0;}

.children { padding: 0; }

#commentform p {margin: 5px 0;	}

.nocomments {text-align: center; margin: 0; padding: 0;	}

div.comment-author { color:#333; font-size:10px;}

div.reply { margin:-5px 0 0 10px; color:#333; font-size:10px;}
div.reply a:hover, div.comment-author a:hover { color:#009900; text-decoration:none; }
div.reply a, ol.commentlist li div.reply a:visited, div.comment-author a, div.comment-author a:visited{ color:#666; text-decoration:none; font-size:10px; }

.fn{font-size:12px; font-style:normal; font-weight:bold; color:#AAA;}

.avatar {float:left; padding:3px 10px 3px 0;}
/************************** Featured In Post Table ***********************/

.featured{ padding:15px; overflow:hidden; border:1px solid #333; background:url("images/featmidbottom.gif") repeat-x bottom; border-radius:5px; -moz-border-radius:5px; margin-bottom:30px; line-height:1.4em; clear:both;}
.featured .left{ float:left; width:420px;}
.featured .right{ float:left; margin-left:15px; width:170px;}
.featured h2{ margin-top:0 !important;}
.featured span{ font-size:1.4em; font-weight:bold;}

.featured .left .top{ margin-bottom:10px; overflow:hidden;}
.featured .left .top img{ float:left; margin:0 10px 0 0;}
.featured .left .bottom{line-height:1.3em; font-size:.9em;}
.featured .right img{ margin:0 0 10px 0; border:1px solid #333;}

.featured a.vbutton,.featured a.vbutton:visited{ display:block; background:url("images/buttons.png") -4px -4px no-repeat; font-size:20px; width:135px; color:#FFF; line-height:39px; font-weight:bold; text-shadow:1px 1px 1px #666; margin:0 auto 7px auto; text-align:center; }
.featured a.vbutton:hover{ background:url("images/buttons.png") -142px -4px no-repeat; text-decoration:none; }
.featured a.rbutton,.featured a.rbutton:visited{ display:block; background:url("images/buttons.png") -4px -48px no-repeat; font-size:20px; width:135px; color:#FFF; line-height:39px; font-weight:bold; text-shadow:1px 1px 1px #666; margin:10px auto 0 auto; text-align:center; }
.featured a.rbutton:hover{ background:url("images/buttons.png") -142px -48px no-repeat; text-decoration:none; }

/************************** Top Sites Widget ***********************/

.toprooms { margin:0px 0px 5px 0px; font-size:1em; margin:0 -10px; width:300px;  }
.toprooms th{background:#000; color:#FFF; font-weight:bold;  }
.toprooms td{ background:url("images/bottomwidget.gif") bottom repeat-x; padding:8px 2px;}
.toprooms a.rbutton{ display:block; background:url("images/buttons.png") -180px -92px no-repeat; width:69px; color:#FFF; line-height:25px; font-weight:bold; text-shadow:1px 1px 1px #666;}
.toprooms a.rbutton:hover{ background:url("images/buttons.png") -180px -124px no-repeat; text-decoration:none;}
.toprooms a.vbutton{ display:block; background:url("images/buttons.png") -256px -92px no-repeat; width:37px; color:#FFF; line-height:25px; font-weight:bold; text-shadow:1px 1px 1px #666; font-size:1.2em;}
.toprooms a.vbutton:hover{ background:url("images/buttons.png") -256px -124px no-repeat; text-decoration:none;}

/************************** Featured  Widget ***********************/

.featwidget{  background:#111 url("images/widget2bg.gif") repeat-x; height:103px; padding:30px 10px 25px 10px;  color:#FFF; font-size:1.1em; font-weight:bold; margin:10px 0;}
.featwidget img {margin:0 auto 10px auto; display:block;}

a.buttonfeat,a.buttonfeat:visited{ display:block; background:url("images/buttons.png") -4px -4px no-repeat; font-size:20px; width:135px; color:#FFF; line-height:39px; font-weight:bold; text-shadow:1px 1px 1px #666; margin:10px auto 0 auto; text-align:center; }
a.buttonfeat:hover{ background:url("images/buttons.png") -142px -4px no-repeat; text-decoration:none; }

/************************** Top Sites Widget 2 ***********************/
.bonusrow{ padding:15px 10px 10px 10px; background:#000 url("images/widget1bg.gif") repeat-x; height:53px; margin-top:10px; font-weight:bold; font-size:1.4em; line-height:1.3em; overflow:hidden;}
.bonusrow .col1{ float:left; width:70px;}
.bonusrow .col2{float:left; padding:0 11px; width:50px;}
.bonusrow .col3{float:right; width:103px; padding-top:12px;}

.bonusrow a.reviewbutton{ display:block; background:url("images/buttons.png") -4px -92px no-repeat;line-height:33px; color:#FFF; text-decoration:none; width:103px; text-shadow:1px 1px 1px #666; font-weight:bold; font-size:.9em;}
.bonusrow a.reviewbutton:hover{text-decoration:none; background:url("images/buttons.png") -4px -128px no-repeat;}

/************************** In Post Bonus Table  ***********************/

.midsites { margin:0 0 25px 0; }
.midsites th{color:#FFF;font-size:.8em; background:#000; font-weight:bold; border-bottom:1px solid #2a2a2a; border-top:1px solid #2a2a2a;}
.midsites td{background:url("images/bonustablebg.gif") repeat-x bottom; font-size:.9em; border-bottom:1px solid #5e5e5e;}
.midsites span{ color:#999; font-size:1.2em; font-weight:bold;}
.midsites .welcome{ font-size:.8em; line-height:1.1em;}

.midsites a.reviewbutton{ display:block; background:url("images/buttons.png") -112px -92px no-repeat; line-height:30px; color:#FFF; text-decoration:none; width:63px; text-shadow:1px 1px 1px #666; font-weight:bold;}
.midsites a.visitbutton{ display:block; background:url("images/buttons.png") -4px -168px no-repeat; color:#FFF; line-height:30px; text-decoration:none; width:63px; font-weight:bold; text-shadow:1px 1px 1px #666; }
.midsites a.reviewbutton:hover{text-decoration:none; background:url("images/buttons.png") -112px -126px no-repeat;}
.midsites a.visitbutton:hover{text-decoration:none; background:url("images/buttons.png") -70px -168px no-repeat;}

/************************** In Post Bonus Table 2  ***********************/
.siteblock{background:url("images/bonustablebg.gif") repeat-x bottom;  border-bottom:1px solid #5e5e5e; padding:5px; overflow:hidden; margin:-15px 0 25px 0; }
.siteblock .left{ width:190px; float:left; margin-right:20px; padding-bottom:8px;}
.siteblock .right{ width:415px; float:left;}
.siteblock span{font-size:1.2em; font-weight:bold;}
.siteblock h3{ margin-bottom:10px !important; font-size:1.3em !important;}

.siteblock a.vbutton,.siteblock a.vbutton:visited{ display:block; background:url("images/buttons.png") -4px -4px no-repeat; font-size:20px; width:135px; color:#FFF; line-height:39px; font-weight:bold; text-shadow:1px 1px 1px #666; float:left; text-align:center; margin:0 15px 10px 0;}
.siteblock a.vbutton:hover{ background:url("images/buttons.png") -142px -4px no-repeat; text-decoration:none; }
.siteblock a.rbutton,.siteblock a.rbutton:visited{ display:block; background:url("images/buttons.png") -4px -48px no-repeat; font-size:20px; width:135px; color:#FFF; line-height:39px; font-weight:bold; text-shadow:1px 1px 1px #666;  float:left; text-align:center; margin-bottom:10px; }
.siteblock a.rbutton:hover{ background:url("images/buttons.png") -142px -48px no-repeat; text-decoration:none; }

/************************** Review Page ***********************/

#reviewsummary{ margin:0 0 25px 0; border-top:2px solid #555; border-left:1px solid #555; border-bottom:1px solid #555; border-right:1px solid #555;font-size:.9em; color: #ddd; border-bottom:2px solid #555;}

#reviewsummary th{ text-align:left;  border-right:1px solid #444;  background:#222 url("images/bottomwidget.gif") bottom repeat-x;}
#reviewsummary td{ background:#333;  background:#222 url("images/bottomwidget.gif") bottom repeat-x; padding-bottom:8px;}
#reviewsummary td.bonus{ font-size:1.3em; font-weight:bold; }

.screenshots { margin-bottom:10px; text-align:center;}
.screenshots img{ margin:0 10px; }

a.bigbutton, a.bigbutton:visited{ display:block; background:url("images/buttons.png") -4px -4px no-repeat; font-size:20px; width:135px; color:#FFF; line-height:39px; font-weight:bold; text-shadow:1px 1px 1px #666;  margin:8px auto; text-align:center; }
a.bigbutton:hover{ background:url("images/buttons.png") -142px -4px no-repeat; text-decoration:none; }

/************************** Footer************************/

#footer { width:97%; overflow:hidden; padding:15px 1.5% 15px 1.5%; margin:10px 0 0 0; font-size:1.1em; background:#000 url("images/footerbg.gif") top repeat-x;  line-height:1.3em; color:#FFF; }

#footer a{color:#FFF; text-decoration:underline; }
#footer a:hover{color:#FFF; text-decoration:none; }

.topfooter{overflow:hidden; margin:0 0 30px 0; }
.topfooter h2{margin:0px 0px 14px 0px; line-height:.95em; font-size:1.2em; padding:0 0 0 15px; background:url("images/h2dot.png") left center no-repeat; }

.footerwidget{ float:left; width:22%; margin:0 1.5% 0 1.5%; line-height:1.1em;}
.footerwidget ul{ margin:0 0 20px 16px; padding:0;}
.footerwidget li{ list-style:none; margin:0 0 7px 0;}

/************************** Pagination ************************/

#middlecontent .pagination {clear:both;padding:30px 0;line-height:13px; margin:0 0 15px 0;}

#middlecontent .pagination span, #middlecontent .pagination a {display:block;float:left;margin: 2px 7px 2px 0;padding:9px 9px 9px 9px;text-decoration:none;width:auto;color:#FFF;background: #333; text-decoration:none; border-radius:4px; -moz-border-radius:4px;}

#middlecontent .pagination a:hover{color:#fff;background: #009900;}

#middlecontent .pagination .current{padding:9px 9px 9px 9px;background: #009900;color:#fff;}

#middlecontent .pagination a.last{ background:#444; color:#FFF;}
#middlecontent .pagination a.last:hover{ background:#333; color:#FFF;}

/************************ Author Bios *******************************************/

.authorbio{padding:15px; background:#222; border:1px solid #111;  margin:30px 0; overflow:hidden; }
.authorbio h3{ margin:0 0 5px 0 !important; font-size:14px!important;}
.authorbio img{ float:left; margin:0 12px 0 0; border:2px solid #111;}
.authorbio span{ font-size:.9em; font-style:italic;}
.authorbio p{ padding:0 0 5px 0 !important;}