/* Controls */

.control-container {
    clear: both;
    display: block;
    margin: 0 10px;
}
.controls {
    clear: both;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
    width: 100%;
}
.control-container .top { border-bottom: #ccc dotted 1px; }
.control-container .bottom { border-top: #ccc dotted 1px; }
.controls .view,
.controls .sort,
.controls .size-sort,
.controls .paginate {
    clear: none;
    display: block;
    float: left;
    margin: 0 0 10px 0;
    padding: 0;
}
.controls .view dl,
.controls .sort dl,
.controls .size-sort dl,
.controls .paginate dl {
    margin: 0;
}
.controls .view {
    margin-right: 5px;
}
.controls .paginate {
    float: right;
}
.control-container .controls .view dt {
    padding-bottom: 4px;
}
.control-container .controls .sort dt {
    padding-bottom: 5px;
}
.control-container .controls .size-sort dt {
    padding-bottom: 5px
}
.control-container .controls .paginate dt {
    margin: 4px 10px 0 0;
}
.controls .sort {
    margin-right: 5px;
}
.controls .view dt,
.controls .sort dt,
.controls .paginate dt, .controls .size-sort dt {
    clear: none;
    display: block;
    float: left;
    font-size: 12px;
    font-weight: bold;
    height: 16px;
    line-height: 1em;
    margin: 0;
    padding: 0;
}
.controls .size-sort select {
    float: left;
    clear: left;
    border: 1px solid #CCC;
    height: 19px;
    margin-right: 5px;
    width: 93px;
    cursor: pointer;
}
.controls .size-sort .button {    
    background-image: none;
    background-color: #07619E;
    border: none;
    height: 14px;
    padding: 3px 0;
    line-height: 13px;
    margin-top: -1px;
    float: right;
    margin-left: 0;
}
.controls .size-sort a.disabled {
    background-color: #666666;
}
.controls .size-sort .button:hover {
    opacity: 0.7;
}
.controls .view dd.i-grid,
.controls .sort dd.i-price {
    clear: left;
}
.controls .view dd,
.controls .sort dd,
.controls .paginate dd {
    clear: none;
    display: block;
    float: left;
    margin: 0 3px 0 0;
    padding: 0;
}
.controls .view dd a,
.controls .sort dd a,
.controls .paginate dd a {
    border: #ddd solid 1px;
    clear: none;
    display: block;
    float: left;
    font-size: 11px;
    height: 18px;
    line-height: 1em;
    margin: 0 auto;
    padding: 3px 0 0 0;
    text-align: center;
    vertical-align: middle;
    width: 18px;
}
.controls .view dd a {
    background: #f5f5f5;
    border: #ddd solid 1px;
    display: block;
    float: left;
    height: 0;
    overflow: hidden;
    padding: 18px 0 0 0;
    width: 18px;
}

/* View */


.controls .view .i-list,
.controls .view .i-grid,
.controls .view .i-mini {
    clear: none;
    display: block;
    float: left;
    margin: 0 3px 0 0;
}




/* Paginate */

.controls .paginate dd a {
    background-color: #f5f5f5;
    border-radius: 2px;
    font-weight: bold;
    text-decoration: none;
}
.controls .sort dd a.active,
.controls .paginate dd a.active,
.controls .view dd a.active {
    background-color: #f5f5f5;
    border-color: #aaa;
    color: #aaa;
}
.controls .sort dd a:hover,
.controls .paginate dd a:hover,
.controls .view dd a:hover {
    background-color: #f5f5f5;
    border-color: #aaa;
}



.controls .sort dd,
.controls .paginate .all {
    background: #fff url(../images/icons.png) no-repeat -6px -360px;
    border: none;
    padding: 0 0 0 8px;
    text-decoration: underline;
    white-space: nowrap;
    width: auto;
}
.controls .sort dd:first-child,
.controls .paginate .all {
    background-image: none;
}
.controls .sort .i-rel a,
.controls .sort .i-price a,
.controls .sort .i-name a,
.controls .paginate .all a {
    background-color: #fff;
    border: none;
    text-decoration: underline;
    white-space: nowrap;
    width: auto;
}

.controls .sort .i-rel a:hover,
.controls .sort .i-price a:hover,
.controls .sort .i-name a:hover,
.controls .paginate .all a:hover {
    background-color: #fff;
    border: none;
}

/* Icons */

.controls .paginate .num a {
    border-radius: 2px;
    border: #ddd solid 1px;
    height: 15px;
    overflow: hidden;
    padding: 3px 0 0 0;
    width: 18px;
}

.controls .sort .ascend a,
.controls .sort .descend a,
.controls .paginate .i-next a,
.controls .paginate .i-last a,
.controls .paginate .i-prev a,
.controls .paginate .i-first a,
.controls .view .i-grid a,
.controls .view .i-list a,
.controls .view .i-mini a {
    background-image: url(../images/icons.png);
    background-repeat: no-repeat;
    border-radius: 2px;
    border: #ddd solid 1px;
    height: 0;
    overflow: hidden;
    padding: 18px 0 0 0;
    width: 18px;
}
.controls .sort .ascend a,
.controls .sort .descend a {
    border-radius: none;
    border: none;
    height: 20px;
    padding: 3px 3px 0 20px;
    width: auto;
}
.controls .sort .ascend a { background-position: left 0px; }
.controls .sort .ascend a:hover,
.controls .sort .ascend a.active { background-position: left -20px; }
.controls .sort .descend a { background-position: left -40px; }
.controls .sort .descend a:hover,
.controls .sort .descend a.active { background-position: left -60px; }

.controls .paginate .i-next a { background-position: center -80px; }
.controls .paginate .i-next a:hover,
.controls .paginate .i-next a.active { background-position: center -100px; }
.controls .paginate .i-last a { background-position: center -120px; }
.controls .paginate .i-last a:hover,
.controls .paginate .i-last a.active { background-position: center -140px; }
.controls .paginate .i-prev a { background-position: center -160px; }
.controls .paginate .i-prev a:hover,
.controls .paginate .i-prev a.active { background-position: center -180px; }
.controls .paginate .i-first a { background-position: center -200px; }
.controls .paginate .i-first a:hover,
.controls .paginate .i-first a.active { background-position: center -220px; }

.controls .view .i-grid a { background-position: center -240px; }
.controls .view .i-grid a:hover,
.controls .view .i-grid a.active { background-position: center -260px; }
.controls .view .i-list a { background-position: center -280px; }
.controls .view .i-list a:hover,
.controls .view .i-list a.active { background-position: center -300px; }
.controls .view .i-mini a { background-position: center -320px; }
.controls .view .i-mini a:hover,
.controls .view .i-mini a.active { background-position: center -340px; }




