html {
    background: #e7e7e7;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    text-align: center;
    color: #111;
}

body, h1, h2, h3, h4, h5, h6, ul, li, form, div, p {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
}

h1, h2, h3 {
    font-size: 29px;
    line-height: 34px;
    font-weight: normal;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

div {
    width: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: underline;
    color: #0d447b;
    outline: none;
}
    a:hover {
            text-decoration: none;
            color: #6699cc;
    }

em {
    font-style: normal;
    background: #f8ed37;
    padding: 1px 3px;
}

/************** COMMON ********************************************************/
.left {
    float: left;
    margin-right: 16px;
}

.right {
    float: right;
    margin-left: 16px;
}

.clear {
    clear: both;
}

.box {
    padding: 10px;

    -khtml-border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

/************** LAYOUT ********************************************************/
#main {
    width: 945px;
    position: relative;
    padding: 8px;
    background: #fff;
    margin-top: 20px;
    text-align: left;
    
    -moz-box-shadow: 0 3px 2px rgba(0,0,0,0.15), 0 0 18px rgba(255,255,255,0.25);
    -webkit-box-shadow: 0 3px 2px rgba(0,0,0,0.15), 0 0 18px rgba(255,255,255,0.25);
    box-shadow: 0 3px 2px rgba(0,0,0,0.15), 0 0 18px rgba(255,255,255,0.25);
}

#login {
    position: absolute;
    top: -5px;
    right: 0;
    padding: 6px 8px;
}

    #login a {
        color: #111;
        text-decoration: none;
    }

#header {
    width: 180px;
    float: left;
    background: #3b72aa;
}

    #header h1 {
        padding: 5px;
        font-size: 24px;
        font-weight: normal;
        padding-top: 6px;
        margin-bottom: 6px;
    }
    
    #header h1 a {
        background: url(../images/logo.gif) top left no-repeat;
        height: 51px;
        width: 110px;
        display: block;
        text-indent: -9999px;
        color: #fff;
    }
                
#sidebar {
    width: 200px;
    margin-right: 8px;
    float: left;
}

#advert {
    width: 120px;
    padding-left: 10px;
    padding-top: 20px;
    float: left;
}

#content {
    float: left;
    width: 737px;
    position: relative;
}

    #content h2 {
        margin: 26px 0;
        color: #111;
    }

/************** MENU **********************************************************/
#menu {
    width: 180px;
    float: left;
}
    #menu ul {
        list-style-type: none;
        float: left;
    }
    
        #menu ul li {
            float: left;
            margin-bottom: 6px;
            height: 34px;
        }
        
            #menu ul li a {
                display: block;
                width: 160px;
                background: #447bb2;
                padding: 8px 10px;
                float: left;
                color: #fff;
                
                -moz-border-radius: 5px;
                -webkit-border-radius: 5px;
                border-radius: 5px;
                
                text-align: left;
                font-weight: bold;
                text-decoration: none;
            }
            
            #menu ul li a:hover, #menu ul li a.active {
                text-decoration: none;
                background: #3c74ab;
            }
            
            #menu ul li:last-child {
                margin: 0;
            }

/************** ADD AD FORM ***************************************************/
#add_ad {
    color: #000;
    float: left;
    width: 180px;
    margin-bottom: 10px;
}

#add_ad span {
    background: #fff;
    padding: 8px 10px;
    width: 160px;
    display: block;
}

    #add_ad span a {
        display: block;
        line-height: 20px;
        padding-left: 22px;
        background: url(../images/plus_alt_16x16_h.png) center left no-repeat;
    }

    #add_ad ul.phones {
        background: #fff;
        list-style-type: none;
        padding: 4px 0;
    }
        
        #add_ad ul.phones li a {
            display: block;
            text-decoration: none;
            width: 160px;
            padding: 2px 10px;
        }

            #add_ad ul.phones li a:hover {
                text-decoration: underline;
            }

    .add_ad form p {
            margin: 10px 0;
    }

/************** PHONE ADS *****************************************************/
.phone_ad {
    float: left;
    position: relative;
    background: #fff;
    width: 210px;
    height: 214px;
    padding: 8px;
    border: 2px solid #ccc;
    margin-right: 15px;
    margin-bottom: 17px;

    -khtml-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;

    -moz-box-shadow: 0 0 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.1);
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
}

    .phone_ad:hover {
        border: 2px solid #999;
    }

    .phone_ad .ad_data {
        height: 160px;
        overflow: hidden;
    }

    .phone_ad p:first-letter {
        text-transform: uppercase;
    }

    .phone_ad h3 {
        font-size: 19px;
        font-weight: normal;
        line-height: 24px;
        margin: 12px 0;
    }
    
    .phone_ad h3 a {
        color: #111;
        text-decoration: none;
    }

    #content h2 span.need,
    #content h2 span.need a {
        color: #111;
    }

    #content h2 span.offer,
    #content h2 span.offer a {
        color: #29639d;
    }

    .need_one,
    .need_one:hover {
        border: 2px solid #d59629;
    }

    .phone_ad p {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 15px;
        word-wrap: break-word;
        white-space: normal;
        padding-left: 82px;
    }
        .phone_ad div.img {
            position: absolute;
            bottom: 15px;
            left: 10px;
        }

    .phone_ad p.price {
        display: block;
        margin: 0;
        position: absolute;
        top: -12px;
        right: -8px;
        background: #6699cc;
        color: #fff;
        width: 70px;
        padding: 5px 2px;
        font-size: 17px;
        line-height: 18px;
        text-align: center;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.25);

        -khtml-border-radius: 4px;
        -moz-border-radius: 4px;
        -webkit-border-radius: 4px;
        border-radius: 4px;

        -moz-box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
        -webkit-box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
        box-shadow: 2px 2px 1px rgba(0,0,0,0.1);
    }

    div.contact_data p {
        margin-bottom: 0;
    }

    .phone_ad p.needit {
        background: #d59629;
        color: #fff;
    }
        .phone_ad p.price span {
            font-weight: bold;
        }
        .date {
            color: #aaa;
        }
                
.single-add {
    padding: 0 10px;
    margin-bottom: 20px;
}

    .single-add p {
        margin-bottom: 12px;
        font-size: 13px;
    }
    
    .single-add div.contact_data {
        padding-bottom: 8px;
        border-bottom: 1px solid #e7e7e7;
        margin-bottom: 18px;
    }
    
    .single-add p:first-letter {
        text-transform: uppercase;
    }
    
    .single-add p.desc {
        padding-bottom: 8px;
        border-bottom: 1px solid #e7e7e7;
        margin-bottom: 18px;
    }
    
/************** FILTERS *******************************************************/    
.filter {
    margin-bottom:12px;
    margin-top:12px;
    padding:0 8px;
    position: relative;
    border:2px solid #bcd2e4;
    background: #cce2f0;
    color:#00445e;
    font-size:13px;
    
    -khtml-border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

    .filter p {
        margin:8px 0;
        line-height: 18px;
    }
    
.locations {
   position:absolute;
   background:#fff;
   border:2px solid #bcd2e4;
   padding:0 5px;
   z-index: 5;
   top:26px;
   left:138px;
   height:300px;
   overflow:auto;
   
    -moz-box-shadow: 1px 3px 8px rgba(0,0,0,0.3);
    -webkit-box-shadow: 1px 3px 8px rgba(0,0,0,0.3);
    box-shadow: 1px 3px 8px rgba(0,0,0,0.3);
   
   -khtml-border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

.locations ul {
    margin: 5px 0;
}

.locations ul li {
    line-height: 16px;
    margin-bottom: 1px;
}

.locations ul li a {
    display: block;
    padding: 4px 6px;
    text-decoration: none;
}

.locations ul li a.close_locations {
    background: #DF4729;
    color: #fff;
    
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
}

.locations ul li a:hover {
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    
    background: #cce2f0;
    text-decoration: none;
}

/************** PHONE LIST ****************************************************/
div.phone_brands {
    float: right;
    width: 100px;
    padding-left: 10px;
}

div.phone_brands ul li {
    float: left;
    width: 100px;
    margin-bottom:3px;
}

    div.phone_brands ul li a {
        padding: 2px 6px;
        line-height: 18px;
        display: block;
    }
    
    div.phone_brands ul li a.active {
        font-weight: normal;
        -moz-border-radius: 5px;
        -webkit-border-radius: 5px;
        background: #6699cc;
        text-decoration: none;
        color:#fff;
    }
            
div.phones {
    float: left;
    width: 620px;
    margin-bottom: 20px;
}

div.phone {
    float: left;
    width: 90px;
    padding: 0 6px;
    height: 160px;
    text-align: center;
    position: relative;
}

    div.phone a {
        text-decoration: none;
    }
        
    div.phone a:hover {
        text-decoration: underline;
    }

    div.phone .img {
        width:70px;
        height:93px;
        overflow: hidden;
    }

div.phone .spec {
    position: absolute;
    top:20px;
    right:0;
}

    div.phone .spec a {
        display: block;
        height:16px;
        width:16px;
        text-indent: -9999px;
        background: url(../images/check_alt_16x16.png) no-repeat;
    }
        
    div.phone .spec a:hover {
        background: url(../images/check_alt_16x16_h.png) no-repeat;
    }

div.phone .izaberi {
    position: absolute;
    top:0;
    right:0;
}

    div.phone .izaberi a {
        display: block;
        height:16px;
        width:16px;
        text-indent: -9999px;
        background: url(../images/plus_alt_16x16.png) no-repeat;
    }
        
    div.phone .izaberi a:hover {
        background: url(../images/plus_alt_16x16_h.png) no-repeat;
    }

/************** PHONE SPEC ****************************************************/
#spec {
    float: left;
    width: 730px;
    margin-bottom: 25px;
}

#spec .add {
    margin-top: 10px;
    float: left;
    text-align: center;
    width: 240px;
    background: #E3E1D8;
}

    #spec .image {
        float: left;
        width: 260px;
    }

        #spec .img {
            float: left;
            width: 260px;
            height: 320px;
            background: #E3E1D8;
        }

        #spec .data {
            float: left;
            width: 450px;
            padding-left: 20px
        }

        #spec .data h3 {
            font-size: 17px;
            line-height: 20px;
            text-shadow: none;
            margin-bottom:0;
            margin-top:12px;
        }

/************** SHORT ADS *****************************************************/
.short_ads_add {
    position: relative;
    margin-bottom: 10px;
}

.short_ads_addbox {
    position: absolute;
    z-index: 1;
    top: 25px;
    left: -4px;
    width: 340px;
    padding: 24px 16px;
    background: #e7e7e7;
    border:2px solid #9a9da1;
    
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.25);
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

    .short_ads_add p {
            margin-bottom: 20px;
    }

.short_ads {}
.short_ad {
    float: left;
    position: relative;
    background: #fff;
    width: 205px;
    height: 110px;
    padding: 10px;
    font-size: 13px;
    line-height: 16px;
    border: 2px solid #ccc;
    margin-right: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    
    -khtml-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    
    -moz-box-shadow: 0 0 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.1);
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
}
    .short_ad:hover {
        border: 2px solid #999;
    }
    .short_ad p:first-letter {
        text-transform: uppercase;
    }
        .short_ad p {
            margin-bottom: 12px;
        }

/************** CONTACT *******************************************************/
.contact_form {
    margin-top: 20px;
}

/************** PROFILE *******************************************************/
.your_ad {
    border: 2px solid #ccc;
    padding: 12px;
    margin-bottom: 12px;
    
    -khtml-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    
    -moz-box-shadow: 0 0 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,0.1);
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
}
.your_ad p {
    margin-bottom:8px;
}
    .your_ad h3 {
        font-size: 24px;
        padding-bottom: 0px;
        margin-bottom:8px;
    }

/************** FOOTER ********************************************************/
#footer {
    text-align: left;
    width: 940px;
    padding: 20px 5px;
    font-size: 13px;
}
    #footer p {
        color: #666;
        line-height: 16px;
        }
        #footer p a {
            color: #666;
        }

/************** FORMS *********************************************************/
label {
    display: block;
    margin-bottom: 4px;
}

form div {
    overflow: hidden;
}

input[type="radio"],
input[type="checkbox"],
.radio, .checkbox {
    margin: 0 .25em 0 0;
}

fieldset {
    border: 2px solid #ccc;
    padding: 1em;
    margin: 0 0 1.5em 0;
}

legend {
    padding: 2px 5px;
}

input[type="text"],
input[type="password"],
textarea,
.field,
.area,
select {
    border: 2px solid #aaa;
    padding: 4px;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    width: 240px;
    line-height: 1.2em;
    font-size:13px;
    margin: 0;
    margin-bottom: 8px;
    
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

select {
    width: 312px;
}

textarea,
.area {
    overflow: auto;
    height: 120px;
    font-family: 'Open Sans', sans-serif;
    width: 300px;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
.focus {
	background: #f5f5f5;
	outline: none;
        border:2px solid #111;
}

input.button {
    border: none;
    background: #222 url(../images/alert-overlay.png) repeat-x;
    display: inline-block;
    padding: 5px 10px 6px;
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    line-height: 1;

    -khtml-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;

    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(0,0,0,0.25);

    position: relative;
    cursor: pointer;
    font-size: 14px;
}

    input.button:hover {
        background-color: #111;
        color: #fff;
    }

/************** COMMON ********************************************************/
.message, .intro, .notice {
    margin-bottom:12px;
    margin-top:12px;
    padding:0 8px;
    -khtml-border-radius:3px;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
}

    .message p, .intro p, .notice p {
        margin:8px 0;
        line-height: 18px;
    }

    .error {
        border:2px solid #a6250f;
        background:#DF4729;
        color:#fff;
    }

    .error a {
        color:#fff;
    }

    .intro {
        border:2px solid #bcd2e4;
        background: #cce2f0;
        color:#00445e;
        font-size:13px;
    }

    .intro a {
        color:#00445e;
        font-weight: bold;
    }

    .notice {
        border:2px solid #ffdb35;
        background:#f4e391;
        color:#000;
        font-size:13px;
    }

    .notice a {
        color:#000;
        text-decoration: underline;
        font-weight: bold;
    }
                
.pag {
    width: 737px;
    float: left;
    margin-bottom: 20px;
}
    .pag p {
        font-size: 13px;
    }
        .pag p a {
            margin: 0 2px;
        }

/************** SEARCH ********************************************************/
#search_results {
    padding-top: 20px;
}

#search_field {
    margin-bottom: 10px;
    float: left;
    background: url(../images/search_field.gif) top left no-repeat;
    padding-left: 6px;
    width: 174px;
    height: 34px;
}

    #search_field input {
        border:none;
    }

    #search_field input.field {
        margin: 0;
        padding: 8px 4px;
        background: none;
        width: 132px;
        float: left;
        outline: none;
        color: #fff;
    }

    #search_field input.s_button {
        margin: 0;
        padding: 0;
        height: 34px;
        float: right;
        width: 32px;
    }
                
.highlight {
    background-color: yellow;
    padding: 1px;
}
