/*
  CSS definition for Website Baker module: Ad Baker
  Copyright (C) 2008, Michael Halliday
  Contact me: administration(at)goodoldtrucks.com, http://goodoldtrucks.com

  This CSS file is free software. You can redistribute it and/or modify it
  under the terms of the GNU General Public License  - version 2 or later,
  as published by the Free Software Foundation: http://www.gnu.org/licenses/gpl.html.

  This CSS file is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
*/
@charset "utf-8";
/*******************************************************************************
    Below are styles for the main list(s) of ads
********************************************************************************/
/*style for main ad div*/
.ads {
    margin: 5px auto;
    border: 1px solid black;
    overflow: hidden;
}
    .ads hr {
        padding: 0;
        margin: 0;
    }
/*style for ad thumbnail*/
.thumb {
    float: left;
    /*width: 150px;*/
    padding: 5px;
}
    .thumb img {
        border: 0;
    }
/*style for short description*/
.desc-short {
    margin: 0 0 0 5px;
    padding: 5px 0 5px 0;
    text-align: left;
}
/*style for ad title*/
.title {
    font-size: 20px;
}
/*style for ad price*/
.price {
    font-size: 15px;
}
/*style for ad date*/
.datespan {
    float: right;
}
/*******************************************************************************
    Below are styles for the full veiw of the ads
********************************************************************************/
    .full_ad {
        margin: 0 auto;
        min-height: 250px;
		border: 1px solid black;
    }
    .ad_info {
        float: left;
        margin: 5px;
        border-left: 1px solid grey;
		border-right: 1px solid grey;
		border-bottom: 1px solid grey;
        text-align: left;
    }
	.info_title {
		width: 150px;
        border-right: 1px solid grey;
        font-weight: bold;
	}
	.info {
        width: 175px;
	}
    .info, .info_title {
        padding: 5px 2px 5px 2px;
        border-top: 1px solid grey;
        height: 25px;
        vertical-align: middle;
        text-indent: 3px;
    }
    .full_title {
        text-transform: uppercase;
        font-weight: bolder;
        font-size: 20px;
        text-decoration: underline;
        padding: 10px 0 10px 0;
        text-align: center;
    }
    .full_thumb {
        margin: 5px 5px 5px 305px;
    }
        .full_thumb img {
           border: none;
        }
    .full_desc {
        margin-top: 50px;
        padding: 10px;
    }
/*******************************************************************************
    Style for image buttons -> images used in anchor tags (ie edit and delete links)
********************************************************************************/
.img-button {
    border: none;
}
/*remove under line from all links*/
a {
    text-decoration: none;
}
/*******************************************************************************
    User menu styles
********************************************************************************/
#userMenu {
    text-align: center;
    border-bottom: 2px solid blue;
    margin-bottom: 10px;
    height: 25px;
}
    #userMenu a {
        text-decoration: none;
        display: block;
        float: left;
        border: 1px solid blue;
        width: 100px;
        height: inherit;
        line-height: 25px;
        color: black;
        text-transform: uppercase;
    }
    #userMenu a:hover {
        color: white;
        background: blue;
    }
/*******************************************************************************
    Styles for the list of ad categories
********************************************************************************/
#catTable {
width: 100%;
text-align: center;
}
    #catTable .cat {
        text-align: center;
    }
    #catTable td {
        text-align: left;
        vertical-align: top !important;
        padding: 20px 0 20px 0;
    }
    #catTable th {
        text-align: center;
    }
        #catTable td a {
            text-decoration: none;
            margin: 0 auto;
        }
    #catTable ul {
        padding: 0;
        margin: 0;
    }
/*******************************************************************************
    styles for forms
********************************************************************************/
/*large form container div*/
.largeForm {
    margin: 0 auto;
}
    .largeForm table {
        width: 100%;
        margin: 0 auto;
    }
    .largeForm td {
        vertical-align: top;
        border: none;
    }
.input {
    margin-left: 10px;
}
/*changes colour of current input*/
.inputs:focus {
    background: #A3EAED;
}
.error {
    margin-left: 10px;
    background: red;
    color: #FFFFFF;
}
/*style for form error messages*/
.errorMsg {
    color: red;
    text-transform: uppercase;
}
/*******************************************************************************
styles for list of users ads and ads in the backend
********************************************************************************/
#adTable {
    width: 100%;
    text-align: center;
    margin: 0 auto;
}
    #adTable td {
    }
    #adTable th {
        border-bottom: 1px solid black;
    }
.pagLink {
    padding: 10px 0 10px 0;
}
/*Stylesfor alternating color rows*/
.List1, .List2 {
    width: 100%;
    height: auto;
}
.List1 {
    background: #B7FFAF;
}
.List2 {
    background: #FFFFFF;
}
/*******************************************************************************
    Styles to indicate status of ads, categories etc
********************************************************************************/
/*New ad*/
.new {

}
/*expired ad*/
.expired {
    background: orange;
}
/*suspended item*/
.suspended {
    background: magenta;
}
/*deactivated ad*/
.deactivated {
    background: #E6B646;
}
/*******************************************************************************
    Below are styles for ad preview
********************************************************************************/
.preview {
    width: 560px;
    margin: 0 auto;
    min-height: 275px !important;
    border: 1px solid black;
    background: white;
}
.pre_header {
    text-align: center;
    padding: 0 0 5px 0;
}
.pre_info_tbl {
    float: left;
    margin: 5px;
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    text-align: left;
}
.pre_info_title {
    width: 150px;
    border-right: 1px solid black;
    font-weight: bold;
}
.pre_info {
    width: 175px;
    text-indent: 3px;
}
.pre_info, .pre_info_title {
    padding: 5px 2px 5px 2px;
    border-top: 1px solid black;
    height: 25px;
    vertical-align: middle:
}
.pre_title {
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 20px;
    text-decoration: underline;
    padding: 10px 0 10px 0;
    text-align: center;
}
.pre_thumb {
    margin: 5px 5px 5px 305px;
}
    .pre_thumb img {
       border: none;
    }
.pre_desc {
    margin-top: 50px;
    padding: 10px;
}
.pre_links {
    text-align: center;
    padding-top: 10px;
}
.pre_button {
    padding: 5px;
    background: #DBDBDB;
    text-transform: uppercase;
    text-align: center;
    color: #000000;
    height: 20px;
    width: 120px;
    line-height: 20px;
    border: #000000 solid 1px;
    margin-left: 5px;
}