#recovery, #upload-photo, #write-message, #submit-quote, #dialog-confirm { background:#fff; }
#recovery .title, #upload-photo .title, #write-message .title, #submit-quote .title, #dialog-confirm .title { background-image: none !important; }
#write-message .content #write-message-form textarea {margin: 0px; width: 500px; height: 135px;}

#dialog-confirm { width:230px; } 
#dialog-confirm .title { padding: 20px;height: 20px; }
#dialog-confirm .title .left { width:80% }
#dialog-confirm .title .right .exit { width: 40px; height: 40px; top: 5px; }
#dialog-confirm .content .wrap { margin: 25px 20px; } 
#dialog-confirm .content .wrap .no { margin-left: 10px; } 

#submit-quote .list-quotes p > a.title { background:none; padding:0;  }
#submit-quote .list-quotes p, #submit-quote .list-quotes p > a.title { color: #333333; line-height: 24px; font-size: 1.1em; font-weight: 400; margin-bottom: 0; }
#submit-quote .list-quotes p img { float: left; margin-right: 22px; }
#submit-quote .list-quotes p > a.title { display: block; }
#submit-quote .list-quotes p > a.title, #submit-quote .list-quotes .author { margin-left: 76px; }

.content .wrap{ margin:25px 45px;}
.popup .error { color: #c05520; font: 14px 'Arial'; margin-bottom: 20px; }
.popup .error span {margin-right:10px; font: 12px 'Arial'; font-weight: bold; text-transform: uppercase; padding: 0 6px; background-color: #c05520; color: #ffffff; -webkit-border-radius: 9px; -moz-border-radius: 9px; -ms-border-radius: 9px; -o-border-radius: 9px; border-radius: 9px; position: relative; top: -1px; left: 1px;}
.popup .content p { font: 14px 'Arial'; padding-bottom:16px;}
textarea:focus, input:focus{outline: 0;}

.content-slide p a.title {
    color: #333333;
    font-weight: 400;
    text-decoration: none;
}

#LoginButton-su{ margin-top:0.5em; }

.authors-page p { color: #262626; line-height: 20px; font-size: 14px; margin-bottom: 20px; }
.authors-page .tl-first { width: 165px; }
.authors-page .tl-second { width: 155px; }
.authors-page .tl-last { max-width: 140px; }

.pager .prev { margin-right: 20px; }
.pager .first { margin-right: 28px; }

.s-picture{margin-top:30px;}

.list-quotes .wrap-ico span.save { color: #4c3f39; font: 12px "Arial"; margin-left: 15px; padding: 0 0 0 17px; }
.list-quotes .wrap-ico span.save { font-size: 0.75em; background: url("http://www.azquotes.com/public/images/sprite-ico-sd70ccd4aaa.png") no-repeat; }
.list-quotes .wrap-ico span.save { background-position: 0 -102px; }

.slide .content-slide span.save{
    color:#4c3f39;
    font-size:0.84em;
    display:inline-block;
    min-height:20px;
    line-height:20px;
    text-align:left;
    padding-left:20px;
    background:url('../images/new_sprites.png') no-repeat;
    background-position:-15px -760px;
}

.auth_user a.username > img {max-height: 34px;}

#wrap { background: #fef8f2; }

.ui-menu-item{width: 280px;}
.w{width:48%}

#write-message-btn{margin-bottom: 10px; };
.topics .view-all{margin-right: 6px;font-size: 0.9em;line-height: 22px;}
.profile-block .wrap-profile .avatar img { margin:0 auto; }

.list-quotes .pics .picture-quote{width: 300px; float: left; margin-right: 20px;}
.list-quotes .pics p{ overflow: hidden; }
.list-quotes .pics > a{ display:inline }
.leftcol_tag .pics .author {margin-left: 0px;}


.fileContainer [type=file] {
    cursor: pointer;
    display: block;
    filter: alpha(opacity=0);
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 135px;
    height: 29px;
}

.fileContainer {
    position: relative;
    width: 111px; 
    border:none;
    border-radius:2em;
    padding:0.5em 1.0em;
    background: #ffa83c; /* Old browsers */
    background: linear-gradient(to bottom,  #ffa83c 0%,#ff8a2d 100%); /* W3C */
    text-align:center;
    text-transform:uppercase;
    text-decoration:none;
    cursor:pointer;
    color:#fff;
    font-size:12px;
    font-weight:500;
}

.fileContainer:hover{ background:linear-gradient(to bottom, #ffc03c 0%, #ffaa2d 100%); }
.fileinner{ margin: 4px 0 10px 10px; font: 14px 'Open Sans'; }

.search-result-sub { position: absolute; left: 100px; top: 45px; z-index: 999; width: 300px; background: #ffffff; border: 1px solid #a94c1c; -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px; }
.search-result-sub ul, .search-result-sub li, .search-result-sub a { display: block; }
.search-result-sub a { color: #a23715; font-size: 13px; font-weight: 600; }
.search-result-sub a:hover { color: #ff7823; }
.search-result-sub li { border-bottom: 1px solid #ede0d3; padding: 5px 10px; margin: 5px 0; }
.search-result-sub li:last-child { border-bottom: none; }

.list-quotes .wrap-ico a.del, .list-quotes .wrap-ico a.edit-quote {cursor:pointer; }
.list-quotes .wrap-ico a.del, .list-quotes .wrap-ico a.edit-quote, .list-quotes .wrap-ico span.on-approve { -webkit-transition: all 0s; -moz-transition: all 0s; -o-transition: all 0s; transition: all 0s; font: 12px 'Arial'; color: #4c3f39; padding: 0 0 0 17px; margin-left: 15px; }
.list-quotes .wrap-ico a.del:hover, .list-quotes .wrap-ico a.edit-quote:hover, .list-quotes .wrap-ico span.on-approve:hover, .list-quotes .wrap-block a.del:hover, .list-quotes .wrap-block a.edit-quote:hover, .list-quotes .wrap-block span.on-approve:hover { color: #FF7823; }
.list-quotes .wrap-ico a.del span, .list-quotes .wrap-ico a.edit-quote span, .list-quotes .wrap-ico span.on-approve span, .list-quotes .wrap-block a.del span, .list-quotes .wrap-block a.edit-quote span, .list-quotes .wrap-block span.on-approve span  { color: #ff641d; }
.list-quotes .wrap-ico a.del, .list-quotes .wrap-ico a.edit-quote, .list-quotes .wrap-ico span.on-approve {color: #8C8784;}
.list-quotes .hover .wrap-ico a.del, .list-quotes .hover .wrap-ico a.edit-quote, .list-quotes .hover .wrap-ico span.on-approve {color: #4c3f39;}

/* picture quotes */
.tabs {width:100%;display:inline-block;}
.tab-links{margin:0px 14px 0px 11px;border-bottom: 1px solid #e8dcd8;}
.tab-links:after {display:block; clear:both; content:'';}
.tab-links li { margin:0 0 -1px; list-style:none; display: inline; }
.tab-links a { margin:0; padding: 3px 10px 2px 10px; text-decoration: none; }
.picturequote li.active a, .picturequote li.active a:hover { background-color: #fff; border: 1px solid #e8dcd8; border-bottom: none; border-radius: 3px 3px 0px 0px;}
.tab-content { padding:3px; background:#fff; }
.tab { display:none; }
.tab.activeTab { display: block; }
#photo, #presets { padding-top: 8px; }
#photo div, #presets div { padding: 3px; margin: 3px; float: left; }
/* end picture quotes */

p.single-quote{font: 300 28px/33px "Open Sans",Arial,sans serif; margin-bottom: 20px;}

.progress-bar {
    background-color: whiteSmoke;
    border: 1px solid #D9AC9E;
    border-radius: 2px;
    height: 10px;
    position: relative;
    display: none;
}

.progress-bar > span {
    height: 10px;
    background-color: blue;
    display: block;
    text-indent: -9999px;
    background: #c96526; /* Old browsers */
    background: -moz-linear-gradient(top, #c96526 0%, #b7451a 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c96526), color-stop(100%,#b7451a)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #c96526 0%,#b7451a 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #c96526 0%,#b7451a 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #c96526 0%,#b7451a 100%); /* IE10+ */
    background: linear-gradient(to bottom, #c96526 0%,#b7451a 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c96526', endColorstr='#b7451a',GradientType=0 ); /* IE6-9 */
}

.pager .prev.inactive{display:none;}
.pager .next.inactive{display:none;}

.s-picture .simple_picture_native { display:block; border: 1px solid #e8dcd8; box-shadow: 0 1px 10px 2px #bea69c; margin: 0 auto 20px; padding: 0; height: auto; }

.alp .wrapper .authors .active.choose{display:none;}
.pager{margin-bottom:26px;}


.pager.pg-margin li.prev span, .pager.pg-margin li.next span  { display: inline-block; padding: 5px 8px; color: #fff; background: #c6c2c1; font-size: 0.8em; font-weight: 600; text-align: center; text-decoration: none; -webkit-border-radius: 2px; -moz-border-radius: 2px; -ms-border-radius: 2px; -o-border-radius: 2px; border-radius: 2px; }
.pager.pg-margin li.next { float:right; }

#upload-photo #before{margin-bottom:10px}
#upload-photo .progress-bar, #upload-photo #before{font: 14px 'Open Sans';}
#footer .gray .wrapper{	max-width:1280px; }

.s-picture #embed { font-size: 11px; }

#cloud_bar_bottom a:hover { color: #ff7823; }
#cloud_bar_bottom { margin: 0 0 22px; }
#cloud_bar_bottom a, #cloud_bar_bottom span { margin-right: 16px; font-size: 14px; }
#cloud_bar_bottom a { color: #a23715; }
#cloud_bar_bottom span { color: #464646; font-weight: bold; }

.front #wrap { margin-bottom: -60px; overflow: hidden; }

.profile h3 { font-size: 1.2em; }

.front .leftcol{width:66.67%;}
.front .rightcol{ width:29.17%; margin-left:4.13%;}
.front .rightcol h3{margin-left:25px;}

.leftcol_tag .list-quotes .author::after {
    margin-left: -91px;
    padding-right: 106px;
}

.list-quotes p > a.zoom-cur { max-width: 600px; }
.list-quotes p > a.zoom-cur img { max-width: 640px; width: 100%; }
.zoom-cur { cursor: pointer; }
#rightcol-topics{display:none !important;}
#leftcol-topics ul > li > span {  margin-right: 6px;  font-size: 0.9em;  line-height: 22px; font-weight: 600;}

#up-share-container{float:right;width:130px;margin-top:11px;}

/* adaptive 960 and less */
@media all and (max-width: 960px) {
    /*#tinynav2 { display: none; }*/
    .profile .wrap-profile:after { content: ""; display: block; margin-top: 36px; width: 100%; height: 1px;}
    .profile .rbm { margin-top: -24px}
    #up-share-container{display:none;}
    .front .leftcol, .front .rightcol { float: none; clear: both; width: 100%; border-radius: 0; box-shadow: none; margin: 0; }
    .pager .prev { float: left; display: inline-block; margin: 0; width: 45%; }
    .pager .prev a { padding: 9px 0; width: 100%; text-align: center; -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; }
    .pager .prev.inactive, .pager .next.inactive {display: inline-block;}
    .pager .prev span, .pager.pg-margin li.prev span { color: #fff; font-size: 0.8em; font-weight: 600; background: #c6c2c1; padding: 9px 0; width: 100%; text-align: center; -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; }
    .pager .next span, .pager.pg-margin li.next span { color: #fff; font-size: 0.8em; font-weight: 600; background: #c6c2c1; padding: 9px 0; width: 100%; text-align: center; -webkit-border-radius: 5px; -moz-border-radius: 5px; -ms-border-radius: 5px; -o-border-radius: 5px; border-radius: 5px; }
    .mainmenu ul li:last-child{display:none;}
    p.single-quote{font: 400 20px/26px "Open Sans",Arial,sans serif;margin-bottom: 14px;}
    .s-picture .simple_picture_native { margin-bottom: 0; margin-left: 0; width:100% }
    .alp .wrapper .authors .active.choose{display:block;}
    #cloud_bar_bottom { display: none; }
    .hot-topics h3 { font-size: 1.0em;}
    .pager .prev a { background: #a94c1c; }
    .list-one-quote .center:before{margin-bottom:10px;}
    .list-one-quote .center.c-bottom .prev, .list-one-quote .center.c-bottom .next {margin-top:-4px}
    .list-one-quote .wrap-block {margin-top:30px}
    .s-picture { margin-top: 0px; }
    .profile h3 { margin-top: 6px; }
    #cloud_bar { display: none; }
    #leftcol-topics{display:none;}
    #rightcol-topics{display:block !important;}
}

.photo-bg > a > img{ width:98px; height:98px; }
.gray{
    padding:1.1em 0;
    z-index: 3;
    position: relative;
}

.most-popular {margin-top: 20px;}
.most-popular .list-author {margin-bottom: 8px;}
.most-popular .list-author li{width:48%;float: none;display: inline-block;margin-bottom:4px;}
.most-popular .list-author .people a{font-size: 0.98em;font-weight: 600;}
.most-popular .list-author .people .post{font-size: 0.9em;}

.related-n-topics {margin-top: 20px; overflow: auto; margin-bottom: 28px;}
.related-n-topics .list > li{width:50%;float: left;display: inline-block;margin-bottom:4px;}
.related-n-topics .list-author .name { font-size: 14px; border: none; color: #a23715; float: left; line-height: 19px; margin: -2px 0 5px; text-decoration: underline; }
.related-n-topics .title {color: #464646;font-weight: bold; font-size: 14px;margin-bottom:3px;}

#cloud_bar_bottom div { color: #464646; font-weight: bold; font-size: 14px; margin-bottom: 3px;}

@media all and (max-width: 1020px) { 
    .related-n-topics {display:none;}
    .profile .wrap-profile:after { content: ""; display: block; margin-top: 36px; width: 100%; height: 1px;}
    .profile .rbm { margin-top: -24px}
    .most-popular {margin-top: 14px;}
    .most-popular .list-author li { margin-bottom: 5px; margin-left: 1%; width: 48%; display: -moz-inline-stack; display: inline-block; vertical-align: top; *vertical-align: auto; zoom: 1; *display: inline;margin-bottom: 8px; }
    .most-popular .list-author .people { float: none; width: auto; }
    .most-popular .list-author .img, .most-popular .list-author .post { display: none; }
}

.sbtitle{ margin-bottom: 10px; margin-top:25px; color: #a23715;}
.sbtitle:after{ content: ""; display: block; margin-top: 10px; width: 100%; height: 1px; background: #a23715;margin-bottom:25px; }

.sbtitle-a{color: #333333;font-weight:600}

.search-result-sur { left: 0px; top: 35px;}

@media all and (max-width: 960px){
    .profile .wrap-profile:after { content: ""; display: block; margin-top: 36px; width: 100%; height: 1px;}
    .profile .rbm { margin-top: -24px}
    .search-result-sur { 
        position: absolute;
        left: 0px;
        top: 35px;
        width: 368px;
        background: #ffffff;
        border: 1px solid #a94c1c;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        -ms-border-radius: 3px;
        -o-border-radius: 3px;
        border-radius: 3px;
    }
    
    .ui-menu-item {
        width: 348px;
    } 
}

@media (max-width: 480px){
    .profile .wrap-profile:after { content: ""; display: block; margin-top: 36px; width: 100%; height: 1px;}
    .profile .rbm { margin-top: -24px}
    .search-result-sur { 
         width: 338px;
    }
    .ui-menu-item {
        width: 318px;
    } 
}

@media (max-width: 450px){
    .profile .wrap-profile:after { content: ""; display: block; margin-top: 36px; width: 100%; height: 1px;}
    .profile .rbm { margin-top: -24px}
    .search-result-sur { 
         width: 268px;
    }
    .ui-menu-item {
        width: 248px;
    } 
}

.pager .prev a {margin-bottom: 13px;}
.pager .next a {margin-bottom: 13px;}

.ads-topic-right-center { margin-left: 18px; }
@media all and (max-width: 960px){
    .ads-topic-right-center { margin-left: 0px; } 
    .mainmenu li a { text-align: left; }
}


/*#footer .fmenu .wrapper .logo {display: none;}*/
.adslot_nashe  {width: 125px; height: 125px; }
@media (min-width:180px) { .ads_nashe { width: 100%;height: 50px; }  }
@media (min-width:200px) { .ads_nashe { width: 100%;height: 100px; }  }
@media (min-width:250px) { .ads_nashe { width: 100%;height: 100px; } }
@media (min-width:300px) { .ads_nashe { width: 320px;height: 100px; } }
@media (min-width:336px) { .ads_nashe { width: 100%;height: 100px; } }
@media (min-width:468px) { .ads_nashe { width: 468px;height: 60px; } }
@media (min-width:728px) { .ads_nashe { width: 100%;  }  }

.ads_quote {width: 125px; height: 125px; }
@media (min-width:180px) { .ads_quote { width: 100%;height: 50px; }  }
@media (min-width:200px) { .ads_quote { width: 100%;height: 100px; }  }
@media (min-width:250px) { .ads_quote { width: 100%;height: 100px; } }
@media (min-width:300px) { .ads_quote { width: 320px;height: 100px; } }
@media (min-width:336px) { .ads_quote { width: 100%;height: 100px; } }
@media (min-width:468px) { .ads_quote { width: 468px;height: 60px; } }
@media (min-width:600px) { .ads_quote { width: 100%; } }

.nash_ad1 {width: 125px; height: 125px; }
@media (min-width:180px) { .nash_ad1 { width: 100%;height: 50px; }  }
@media (min-width:200px) { .nash_ad1 { width: 100%;height: 100px; }  }
@media (min-width:250px) { .nash_ad1 { width: 100%;height: 100px; } }
@media (min-width:300px) { .nash_ad1 { width: 320px;height: 100px; } }
@media (min-width:336px) { .nash_ad1 { width: 100%;height: 100px; } }
@media (min-width:468px) { .nash_ad1 { width: 468px;height: 60px; } }
@media (min-width:600px) { .nash_ad1 { width: 100%; } }

.nash_ad2 {width: 125px; height: 125px; }
@media (min-width:180px) { .nash_ad2 { width: 180px;height: 150px; }}
@media (min-width:200px) { .nash_ad2 { width: 200px;height: 200px; } }
@media (min-width:250px) { .nash_ad2 { width: 250px;height: 250px; } }
@media (min-width:300px) { .nash_ad2 { width: 300px;height: 250px;} }
@media (min-width:336px) { .nash_ad2 { width: 336px;height: 280px;} }
@media (min-width:468px) { .nash_ad2 { width: 468px;height: 60px;} } 
@media (min-width:728px) { .nash_ad2 { width:100% }}

.nash_ad3 {width: 125px; height: 125px; }
@media (min-width:180px) { .nash_ad3 { width: 180px;height: 150px; }}
@media (min-width:200px) { .nash_ad3 { width: 200px;height: 200px; } }
@media (min-width:250px) { .nash_ad3 { width: 250px;height: 250px; } }
@media (min-width:300px) { .nash_ad3 { width: 300px;height: 250px;} }
@media (min-width:336px) { .nash_ad3 { width: 336px;height: 280px;} }
@media (min-width:468px) { .nash_ad3 { width: 468px;height: 60px;} } 
@media (min-width:728px) { .nash_ad3 { width:100% }}

.ad_nashe_300 {width: 125px; height: 125px; }
@media (min-width:180px) { .ad_nashe_300 { width: 180px;height: 150px; }}
@media (min-width:200px) { .ad_nashe_300 { width: 200px;height: 200px; }} 
@media (min-width:250px) { .ad_nashe_300 { width: 250px;height: 250px; }}
@media (min-width:300px) { .ad_nashe_300 { width: 300px;height: 250px; }} 
@media (min-width:1024px) { .ad_nashe_300 { width:300px;height:600px;}} 