/*
Theme Name: Custom BUG Directory
Theme URI: http://preview.ait-themes.com/directory/wp1
Author: Xigko Website Design
Author URI: http://www.xigko.com
Description: Custom version of Directory theme for BUG websites
Version: 1.0
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
Template: directory
*/

@import url("../directory/style.css");

.contact-owner-button {display:none;}

.defaultContentWidth {
	width:1000px;
	}

body {
	background-color:#888888;
	}
	
#page {
	border:1px solid #999999;
	}

#logo {
	padding: 10px 5px;
	}
	
#logo img {
	height:90px;
	width:240px;
	}
	
li.category .description {
	vertical-align:middle !important;
	}
	
li.category .description h3 {
	margin-bottom:0 !important;
	}
	
.entry-content p {
	font-size:14px;
	}
	
#dir-search-button {
	background-color:transparent;
	}
	
#site-generator nav.footer-menu li a:hover,
#site-generator nav.footer-menu li.current_page_item a {
	font-weight:normal;
	color:#da0c0c;
	}
	
.children {
	padding-left:0;
	}
	
body.home #main h1.entry-title {
	background:none;
	color:#f20d0d;
	}
	
.dir-sorting .sort {
	display:none;
	}
	
#directory-search, #branding {
	background-image:none;
	}
	
#directory-search {
	background-color:#f50303;
	}
	
.home-page-title {
	text-transform:none !important;
	}
	
ul.subcategories li .description {
	padding-left:0px;
	}
	
.category-wrap-row .icon {
	display:none !important;
	}
	
ul.subcategories li h3 a:hover {
	text-decoration:underline;
	color:#F20D0D;
	}
	
ul.subcategories li, ul.subcategories li:nth-child(3n) {
	margin-right:10px;
	width:30%;
	}
	
.subcategories-xko-hide {
	display:none;
	}
	
.items .thumbnail {
	display:none;
	}
	
#access, .assistive-text {
	display:none !important;
	}
	
#header-widget {
	margin:0;
	padding:10px 5px;
	}
	
#header-widget aside.widget {
	padding-bottom:0;
	}
	
#secondary {
	padding-left:5px !important;
	padding-right:5px !important;
	padding-top:15px !important;
	}
#content {
	padding-top:15px !important;
	}
	
.topbar {display:none !important;}

#home-content-widget-1, #home-content-widget-2 {
	margin:0 !important;
	}
	
#home-content-widget-1 p, #home-content-widget-2 p  {
	color: #3c3c3c;
    font-size: 15px;
    line-height: 20px;
    padding-bottom:20px;
	}
	
#home-content-widget-1 aside.page_content_widget,
#home-content-widget-2 aside.page_content_widget {
	padding-bottom:0;
	}
	
.ratings, .user-values {
	background:none;
	}

.rating-title {
	color:#3c3c3c !important;
	}
	
#main h1.entry-title {
	text-transform: none;
	}
	
h1.entry-title .rating {
	display:none;
	}
	
.item-info {
	width:100%;
	float:none;
	font-size:14px;
	}
	
.item-map {
	width:100%;
	float:none;
	}
	
.item-address, .item-hours {
	padding: 0 0 20px 10px;
	background:none;
	}
	
dl.item-address dt.title {
	display:none;
	}

	
.hideme {display:none;}
.no-padding-left {padding-left:0 !important;}

#bug-creditcards li {
	display:inline;
	margin-right:10px;
	}
	
.display-bold {
	font-weight:bold;
	color:#333
	}
	
.top-padding {
	padding-top:5px;
	}
	
#social-icons {
	float:right;
	text-align:right;
	padding-bottom:0;
	}
	
#social-icons li {
	display:inline;
	margin-left:10px;
	}

#site-url {
	font-size:18px;
	padding-top:5px
	}
	
#supplementary {
	padding-top:10px;
	}
	
nav.footer-menu li {
	margin-left:0;
	}
	
nav.footer-menu li:after {
	content: " | ";
	}
	
nav.footer-menu li:last-child:after {
	content: "";
	}
	
.map-item-info .address {display:none;}

.map-item-info .title {
	padding-bottom:15px;
	}
	
body, #main h1, #main h2.subcategories-title, ul.subcategories li h3 a,
.map-item-info, #main aside h3.widget-title, .dir-sorting .label, #comments h2 {
	font-family: Helvetica, Arial, sans-serif !important;
	} 
	
.entry-content ul li {
	list-style:disc outside none;
	font-size:14px;
	}
	
#main h2.subcategories-title {
	margin-bottom:20px;
	}
	
ul.subcategories li h3 a {
	font-size:18px;
	}
	
.items .description a:hover {
	text-decoration:underline;
	}
	
.items .item-icon {
    display: table-cell;
    float: left;
    margin-right: 20px;
    position: relative;
	}

ul.items li {
	display:table;
	}
	
.items .description {
	display:table-cell;
	vertical-align:middle;
	}
	
.items .description h3 {
	margin-bottom:0 !important;
	}
	
.linkbox {
	border: 1px solid #cccccc;
	padding:10px;
	font-size:14px;
	line-height:24px;
	margin-bottom:20px;
	width:92%;
	}
	
.linkbox a:hover {
	text-decoration:underline;
	}
	
aside.widget {
	padding-bottom:10px;
	}

.img-responsive {
	display: block;
  	height: auto;
  	max-width: 100%;
}

img[class*="align"], img[class*="wp-image-"] {
	border:none;
	}
	

/*----------------------------------------*/	
/* Media Queries */
/*----------------------------------------*/

@media only screen and (max-width:240px) {
	.defaultContentWidth, #directory-search .defaultContentWidth, #dir-search-button {
   	 	margin: 0;
    	max-width: 240px;
    	width: 100%;
		}
	#content {
		box-shadow:none;
		}
	#logo img {
		text-align:left;
		margin:0 auto;
		width:220px;
		height:86px;
		}
	#logo {
    	padding: 10px;
    	text-align: left;
		}
	#main, #wrapper-row, #primary, #secondary {
		width:100%;
		}
	nav.footer-menu {
		padding:0 0 20px;
		}
	nav.footer-menu li {
		margin-left:0;
		margin-right:10px;
		}
	#page.narrow {
		width:100%;
		}
	#secondary {
		max-width:95%;
		padding-left:5px !important;
		padding-right:10px !important;
		}
	#dir-search-button input {
		background-position: 70px center;
		width:226px;
		}
	#widget-head {
		display:none;
		}
	#secondary #oio-banner-2 {
		display:none !important;
		}
}

@media only screen and (max-width:320px) {
	#main, #wrapper-row, #primary, #secondary {
		width:100%;
		}
	.defaultContentWidth {
		width:100%;
		}
	nav.footer-menu {
		padding:0 0 20px;
		}
	nav.footer-menu li {
		margin-left:0;
		margin-right:10px;
		}
	#page.narrow {
		width:100%;
		}
	#secondary {
		max-width:97%;
		padding-left:5px !important;
		padding-right:10px !important;
		}
	#logo img {
		margin:0 auto !important;
		}
	#widget-head {
		display:none;
		}
	#dir-search-advanced {
		width:245px;
		}
	#dir-search-inputs {
		padding-left:2%;
		padding-right:2%;
		}
	#dir-search-button {
		width:94%;
		}
	#dir-search-button input {
		padding:6px 8px;
		width:96%;
		}
	#content, .onecolumn #content {
		padding-left:10px;
		}
	.item-image {
		width:30%;
		}
	#secondary .oio-banner-zone img {
		width:285px !important;
		height:235px !important;
		}

}

/*----------------------------------------*/
/* Mobile (Portrait) / Design for a width of 320px to 767px -----*/
/*----------------------------------------*/

@media only screen and (max-width: 767px) {
	body {
		overflow-y:scroll;
		overflow-x:hidden;
		}
	#logo img {
		text-align:left;
		margin:0 auto;
		}
	#logo {
    	padding: 10px;
    	text-align: left;
		}
	#widget-head {
		display:none;
		}
	ul.subcategories li, ul.subcategories li:nth-child(3n) {
		margin-right:0px;
		width:47%;
		}
	#main h2.subcategories-title {
		text-align:center;
		}
		
	.dir-sorting form {
		line-height:4em;
		}
		
	#content nav {
		margin:0;
		}
		
	#social-icons {
		text-align:left;
		}
		
	#social-icons li {
		margin-left:0px;
		margin-right:10px;
		}
}

/*----------------------------------------*/
/*-----Mobile (Landscape) / Design for a width of 480px to 767px -----*/
/*----------------------------------------*/
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.dir-sorting .label {
		margin-bottom:1em;
		}
	.dir-sorting form {
		float:left;
		}
	#logo img {
		text-align:left;
		}
	defaultContentWidth {
		width:100%;
		}
	#content {
		box-shadow:none;
		}
	#primary {
		width:100%;
		}
	ul.subcategories li, ul.subcategories li:nth-child(3n) {
		margin-right:0px;
		width:47%;
		}

}

/*----------------------------------------*/
/*----- Tablet (Portrait) / Design for a width of 768px -----*/
/*----------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.defaultContentWidth {
		width:100%;
		}
	#content {
		box-shadow:none;
		}
	.dir-sorting form {
		float:left;
		margin-top:1em;
		}
	#logo img {
		text-align:left;
		margin:0 5px;
		}
	#logo {
    	padding: 10px 0px;
    	text-align: left;
    	float:left;
		}
	ul.subcategories li {
		display:inline-block !important;
		margin-right:20px;
		}
	ul.subcategories li:nth-child(2n), ul.subcategories li:nth-child(2n+1) {
		display:inline-block;
		width:48%;
		}
	ul.subcategories li:nth-child(3n) {
    	margin-right: 0px;
		}
	ul.subcategories li:nth-child(2n) {
    	margin-right: 0;
		}	
	#primary {
		width:70%;
		}
	#content {
		padding:50px 20px 0;
		}		
	body.single #primary, body.single .onecolumn #content {
		width:100%;
		}
	body.single #content {
		max-width:95%;
		}	
	#header-widget #oio-banner-1 {
		width:468px !important;
		height:68px !important;
		float:right;
		}
	#header-widget .oio-banner-zone li {
		width:462px !important;
		height:64px !important;
		}
	#widget-head {
		padding:10px;
		}

}