a{
	text-decoration: none;
}
li{
	line-height:1.7em;
}
h2{
	margin-bottom:5px !important;
}

#memberships h3,.ad_types h3{
    margin-bottom:10px !important;
    margin-top:8px !important;
}

.ad_types h3 a{
	text-decoration:none;
}

img.border{
	border:1px solid #ccc;padding:4px;
}
.clr{
	clear:both;
}

p.error{
    background:#ffdcdb;
    padding:7px;
    border-top:solid 3px #d10700;
}


#main .pagination{
	border:none !important;
}
.edit_items{
	padding:5px;background:#f4f4f4;
}
a.email{
	color:#666 !important;
	background:#f4f4f4;
	padding:7px 7px;
	border:1px solid #ccc;
	border-radius:10px;
}

a.email:hover{
	color:#fff !important;
	background:#666 !important;
	padding:7px 7px;
	border:1px solid #ccc;
	border-radius:10px;
}

ul.items_list li{
	float:left;
	width:25%;
	display:block;
}

.cat_list li{
	float:left;
	width:150px;
	padding-right:10px;
	display:block;
}

h3 span.category_count{
	font-style:italic !important;
	color:#ccc;
	font--size:12px !important;
}

.ad_types h3{}
.personal_list li{
	list-style: none;
}

#latest .latest_list > li{
	list-style: none;
	padding:5px;
	border-bottom:1px dashed #ccc;
	overflow:auto;
	margin-bottom:5px;
}

#latest .latest_left{
	float:left;
	width:25%;padding:5px 0 0 0;
	overflow:hidden;
}

#latest .latest_right{
	float:left;
	width:75%;
	padding:5px 0 0 0;
}

#latest .latest_list img{
	text-align: center;
}

#latest .read_more{
	float:right;
	margin:0 10px 5px 0;

}

.latest_list h3{
	margin-bottom:7px !important;
	padding-bottom:5px;
}

.latest_list h3 a{text-decoration:none;}

#latest .price{
	text-align: center;
	font-size:20px;
	color:#000;padding:5px 10px;
	background:#f4f4f4;
	color:#666;
	margin-top:10px;
	border-radius:10px;
	width:63%;
}

#listing .meta{
	padding:5px;
	background:#f4f4f4;
	margin-bottom:10px;
}

#listing .listing_left{
	float:left;
	width:60%;
	overflow:hidden;
}

#listing .listing_right{
	float:left;
	width:35%;
}

#listing .thumbs{
	margin-top:10px;
}

#listing .thumbs img{
	margin-right:5px;
}

#listing .listing_info,#listing .seller_info{
	list-style:none;
	margin:0;
	padding:0;
}

#listing .listing_info_head{
	padding:5px;
	color:#fff;
	background:#000;
	margin:5px 0 5px 0;
}

#listing .contact_seller{
	margin:20px 0 0 30px;
	text-align: center;
	cursor: pointer;
}

/* Contact Form */
#listing #contact_form{
	display:none;
}

#listing #contact_form label{
	min-width:100px;
	display:inline-block;
}

#latest.featured li{
	margin-bottom:5px;
}

ul.fields_list li{
	list-style: none;
	border-bottom:dashed 1px #ccc;
	padding:5px 0 !important;
}

ul.fields_list li span{
	font-weight:bold;
	width:150px;
	display:inline-block;
}

.listed_on{
	padding:4px 0;
	background:#f4f4f4;
}

.memberships_list > li{
    padding:10px 0 10px 0;
    margin-border:10px;
    border-bottom:#cccccc dotted 1px;
    clear:both;
}

.memberships_list > li img,.memberships_list > li h3{
    padding-top:20px;
}

/* Frontend Form */
.front-end-edit ul {
        padding: 0 !important;
    }
    .front-end-edit li {
        list-style: none;
        margin-bottom: 6px !important;
    }
    .front-end-edit label {
        margin-right: 10px;
        display: block;
        float: left;
        width: 200px !important;
    }
    .front-end-edit .radio label {
        float: none;
    }
    .front-end-edit .readonly {
        border: none !important;
        color: #666;
    }    
    .front-end-edit #editor-xtd-buttons {
        height: 50px;
        width: 600px;
        float: left;
    }
    .front-end-edit .toggle-editor {
        height: 50px;
        width: 120px;
        float: right;
    }
    .front-end-edit input[type="text"],.front-end-edit input[type="email"]{
    	border-radius:5px;
    	border:1px #ccc solid;
    	padding:3px;
    	width:190px;
    	height:20px;
    }

     .front-end-edit select{
    	border-radius:5px;
    	border:1px #ccc solid;
    	padding:3px;
    	width:200px;
    	height:30px;
    }

    #jform_rules-lbl{
        display:none;
    }

    #access-rules a:hover{
        background:#f5f5f5 url('http://www.mi-light.org/media/com_jdclassifieds/images/slider_minus.png') right  top no-repeat;
        color: #444;
    }

    fieldset.radio label{
        width: 50px !important;
    }

    .front-end-edit #editor-xtd-buttons{display:none;}


    /* Grey Button */
    .grey_btn {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
	background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
	background-color:#f9f9f9;
	-webkit-border-top-left-radius:9px;
	-moz-border-radius-topleft:9px;
	border-top-left-radius:9px;
	-webkit-border-top-right-radius:9px;
	-moz-border-radius-topright:9px;
	border-top-right-radius:9px;
	-webkit-border-bottom-right-radius:9px;
	-moz-border-radius-bottomright:9px;
	border-bottom-right-radius:9px;
	-webkit-border-bottom-left-radius:9px;
	-moz-border-radius-bottomleft:9px;
	border-bottom-left-radius:9px;
	text-indent:0;
	border:1px solid #dcdcdc;
	display:inline-block;
	color:#666666 !important;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	font-style:normal;
	height:29px;
	line-height:29px;
	width:100px;
	text-decoration:none;
	text-align:center;
	text-shadow:1px 1px 0px #ffffff;
}
.grey_btn:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) );
	background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
	background-color:#e9e9e9 !important;
}.grey_btn:active {
	position:relative;
	top:1px;
}

.add_btn{
	float:right;
	margin-right:10px;
    margin-bottom:5px;
}
.bottom_save{margin:20px 10px 15px 20px;}

/* Membership Pages */

#memberships h3{
    font-size:16px;
}
.memberships_list{
    list-style:none !important;
    position:relative;
}
.memberships_list h3{
    line-height:1.8em;
}

.memberships_left{
    float:left;
    width:25%;
}

.memberships_right{
    float:left;
    width:60%;
}

#memberships ul.specs{
    margin-top:10px;
    padding:15px 15px 15px 30px !important;
    background:#f4f4f4;
    overflow:hidden;
}

.spec_items{
    float:left;
    width:200px;
}

.buynow{
    float:right;
    width:100px;
    padding:10px 10px 0 0;
}

#membership h4{
    font-size:18px !important;
    font-weight:bold;  
}

#membership .membership_img{
    float:left;
    overflow:hidden;
    margin-right:10%;
}

#membership .membership_specs{
    float:left;
    width:40%;
    margin-top:30px;
    padding:20px;
    border-radius:5px;
    background:#f4f4f4;
    border:#ccc solid 1px;
}

#membership .membership_specs ul li{
    font-size:15px;
}

#membership .membership_description{
    margin:0 0 20px 0;
    display:block;
}

#membership .membership_description_heading{
    padding:5px;
    background:#f4f4f4;
    border:#ccc solid 1px;
}

a.create_ad{
    background:#f4f4f4;
    color:#666;
    padding:10px;
    border-radius:5px;
    border:#ccc solid 1px;
}

ul.order_list{
    list-style:none;
}

ul.order_list li{
    padding:10px 0 10px 0 !important;
    border-bottom:#ccc dashed 1px;
    list-style:none !important;
}

ul.order_list h4{
    font-size:16px;
    padding:5px 0 5px 0;
    margin:5px 0 5px 0;
    background:#f4f4f4;
    display:block;
}

footer{
    margin-top:20px;
}

/* Add Listing Page */

.type-box {
        font-size: 12px;
        color: #333;
        display: block;
        padding: 10px;
        background: rgb(255,255,255);
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 1)), color-stop(47%, rgba(246, 246, 246, 1)), color-stop(100%, rgba(237, 237, 237, 1)));
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
        background: -o-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
        background: -ms-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(246, 246, 246, 1) 47%, rgba(237, 237, 237, 1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed', GradientType=0 );
        border: #d8d8d8 1px solid;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -moz-box-shadow: 0 0 4px rgba(000, 000, 000, 0.1) inset;
        -webkit-box-shadow: 0 0 4px rgba(000, 000, 000, 0.1) inset;
        box-shadow: 0 0 3px rgba(000, 000, 000, 0.1) inset;
        text-align: center;
    }
    .type-box img{
        width:100%;
        margin:0;
        padding:0;
    }
    
    .type-button {
        width: 19%;
        float: left;
        margin: 1%;
        height:auto;
    }
    
     .ad_image{
        display:block;
        width:100%;
        margin-bottom:20px;
    }
    
    .featured_info{
    	background:#f4f4f4;
    	display:none;
    }
    
    .myads_is_featured{
    	background:#ff0000;
    	padding:3px;
    	border-radius:5px;
    	color:#fff;
    	margin-left:10px;
    	font-size:11px;
    }

	.line{
		background:#ccc;
		height:1px;
		margin:5px 0 5px 0;
		
	}

/* Start Media Queries */
@media only screen and (min-width : 240px)  and (max-width : 900px) {
    .memberships_left{
        float:none;
        width:100%;margin:auto;
        display:block;
    }

    .memberships_right{
        float:none;
        width:100%;
    }

    #membership .membership_img{
        float:none;
        margin:auto;
        text-align: center;
        width:100%;
        margin:auto;display:block;
    }

    .membership_specs{
        float:none !important;;
        width:90% !important;;
    }
    
    .ad_image{
        display:none;
    }
    
}

@media only screen and (max-width : 700px) {
    .ad_image{
        display:block;
        width:100%;
    }

    #listing .listing_left{
        float:none;
        width:100%;
        overflow:auto;
    }
    
     #listing .listing_left .main-image{
        /*width:100% !important;*/
        display:none;
     }

    #listing .listing_right{
         float:none;
        width:100%;
    }
    
    .latest_left img{
        display:none;
     }
    
    .thumbs{
        margin-bottom:20px;
    }
    
    .thumbs img{
        width:25% !important;
    }


}

@media only screen and (min-width : 700px) {
	.name_field{
		width:400px;
	}
	
	.cat_field{
		width:200px;
	}

}