@import url("forms.css");
@import url("columns.css");


/* LAYOUT
------------------------------------*/

.margin,
#container{
    width:960px;
    margin:0 auto;
}
#wrapper{
    background-position:top;
    background-image: url(../images/background_content.jpg);
    background-repeat: no-repeat;
    min-height: 100%;
	#display:table;
}
body#content1 #wrapper{
    background-image: url(../images/background_home.jpg);
}

/* HEADER
------------------------------------*/

#header{
    position:relative;
    height:65px;
    margin: 0 0 50px 0;
}
#header ul{
    margin:0;
    padding:0;
    list-style:none;
    position: absolute;
    z-index: 10;
    top:33px;
    left: 0;
    right:0;
}
#header ul li{
    float:left;
    margin:0;
    padding: 0;
    position: relative;
}
#header ul li a{
    float:left;
    color:black;
    font-weight:bold;
    text-decoration:none;
    height: 32px;
    background: url(../images/divider.jpg) left top no-repeat;
    padding: 0 15px;
    line-height: 32px;
    font-size: 12px;
}
#header ul li a:hover,
#header ul li.level2_selected a{
    color: white;
}
#header ul li:hover ul{
    display: block;
}
#header ul li ul{
    display: none;
    position: absolute;
    z-index: 10;
    left: 0;
    top: 32px;
    border: 2px solid #ECCB60;
    border-bottom: none;
    width: 240px;
}
#header ul li ul li.leveln_selected a,
#header ul li ul li.leveln a{
    color: white;
    background: black;
    font-size: 12px;
    border-bottom: 2px solid #ECCB60;
    width:210px;
}
#header ul li ul li.leveln_selected a:hover,
#header ul li ul li.leveln a:hover{
    color: black;
    background: #ECCB60;
}

#header ul li.home a{
    text-indent: -1000px;
    background:url(../images/home_icon_off.gif) no-repeat;
    width:13px;
    padding:0 10px 0 0;
}
#header ul li.home:hover a{
    background:url(../images/home_icon.gif) no-repeat;
}


/* CONTENT
------------------------------------*/

body#content1 #content{
    padding: 0 0 0 470px;
}
body #content{
    padding: 0 0 0 300px;
}

#components{
    padding: 0 0 50px 0;
}

/* SUBMENU
------------------------------------*/

#submenu{
    padding: 10px 0;
    margin: 0 0 30px 0;
    border-top: 1px solid #ECCB60;
    border-bottom: 1px solid #ECCB60;
}
#submenu ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
#submenu ul li{
    float: left;
    padding: 0;
    margin: 0;
}
#submenu ul li a{
    float: left;
    text-decoration: none;
    font-size: 15px;
    background:black;
    display: block;
    padding: 3px 8px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    color: white;
    margin: 0 10px 0 0;
}
#submenu ul li.level2_selected a,
#submenu ul li a:hover{
    background: #ECCB60;
    color: black;
}

/* FOOTER
------------------------------------*/

#footer{
    background: black;
    color: white;
    position: relative;
    margin-top: -40px; /* negative value of footer height */
    height: 40px;
    clear:both;
}

#footer .margin {
    padding: 10px 0 0 0;
}

#footer p{
    margin: 0;
    padding: 0;
}
#footer a{
    color: white;
}
#footer a:hover{
    color: #ccc;
}
#cyberdesign{
    float: right;
    font-size: 11px;
}

/* Wines Module
-------------------------------------------------*/

#searchform dl.left, #searchform dl.right { width: 49%; float: left;}
#searchform dl dt { float: left; width: 100px; padding: 4px 0; min-height: 1.5em; clear: left; }
#searchform dl dd { margin-left: 100px;  padding: 4px 0; }



table#searchresults
{
    clear: both;
    margin-left: -300px;
    width: 960px;
    font-family: arial;
}

/* tables */
table.tablesorter {
    font-family:arial;
    margin:10px 0pt 15px;
    border: 1px solid #F0D294;
    width: 100%;
    text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {


    background-color: #EFD49D;
    font-family: inherit;
    font-size: 8pt;
    padding: 4px 15px 4px 4px;

}
table.tablesorter thead tr .header {
    background-image: url(../images/blue/bg.gif);
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
table.tablesorter tbody td {
    font-family: inherit;
    padding: 7px;
    vertical-align: top;
    font-size: 11px;
    border-right: 1px solid #F0D294;
}

table.tablesorter tbody td:last-child
{ border-right: none;}

table.tablesorter tbody tr:nth-child(2n+1) td {
    background-color: rgba(0,0,0,0.05);
}


table.tablesorter thead tr .headerSortUp {
    background-image: url(../images/blue/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
    background-image: url(../images/blue/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
    background-color: #D3AD4C;
}

/* TABLE RESULTS
-----------------------------------*/
#results,#sort{
    clear: both;
    margin-top:3em;
    margin-left: -300px;
    width: 960px;
}
#results .wine{
    border: 1px solid #ECB360;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 0 0 2em 0;
    padding: 1em;
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.25);
    box-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
#results .wine a.label{
    float:left;
    margin: 0 1em 1em 0;
    border: 1px solid #ECB360;

}
#results .wine a.label,
#results .wine a.label img{
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background-color: white;

    width: 150px;
    height: 150px;
}
#results .wine .rating{
    float: right;
}
#results h2, #results h3, #results h4{
    margin: 0 0.2em 0.2em 0;
}
#results h3 span{
    color: #444;
}
#results table{
    margin-top: 2em;
}
#results table td{
    padding: 0.1em 0.8em 0.1em 0;
}
#results .foot{
    clear: both;
    background-color:#ECB360;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
    height: 2em;
    margin: 0 -1em -1em -1em;
    padding: 0 1em 1em 1em;
}

#results .foot a{
    line-height: 3em;
}
#results dd,
#results dt{
    float:left;
}
#results dl{
    float: right;
    margin: 0.5em 0 0 5em;
}
#results dd{
    font-size: 24px;
}
#results dd span{
    font-size: 12px;
}
#results dt{
    padding: 6px 0;
    color: #444;
}

/* SORT
-----------------------------------*/

#sort input{
    border: 0;
    background-color: #946B29;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 5px;
    #padding:0;
    color: white;

    -moz-border-radius: 3px;
    -webkit-border-radius:3px;
    border-radius: 3px;
}
#sort input:hover{
    background:#ECCB62;
}
#sort{
    text-align:center;
    position: relative;
}
#sort #loader{
    position: absolute;
    bottom: -200px;
    left: 50%;
    margin-left: -50px;
    display:none;
}
#sort.loading #loader{
    display: block;
}
#results.loading{
    opacity: 0.1;
   -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=10)";
    filter: alpha(opacity=10);
}
