/* reset */
html,body,div,span,h1,h2,h3,h4,h5,h6,p,em,img,strong,sub,sup,b,u,i,dl,dt,dd,ol,ul,li,fieldset,form,label,table,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{
    margin:0;
    padding:0;
    border:0;
    outline:none;
    vertical-align:baseline;
    background:transparent;
    font-size:100%;
}
a{
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
table{
    border-collapse:collapse;
    border-spacing:0;
}
td,td img{
    vertical-align:top;
}
input,select,button,textarea{
    margin:0;
    font-size:100%;
}
input[type="text"],input[type="password"],textarea{
    padding:0;
}
input[type="checkbox"]{
    vertical-align:bottom;
}
input[type="radio"]{
    vertical-align:text-bottom;
}
sub{
    vertical-align:sub;
    font-size:smaller;
}
sup{
    vertical-align:super;
    font-size:smaller;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{
    display:block;
}
nav ul{
    list-style:none;
}
html{
    overflow-y:scroll; 
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
/* --------------- /reset.css --------------- */

html {
    overflow-y:scroll;
    height:100%;
}
body {
    position: relative;
    /*height: 100%;*/
    font-family:"Open Sans","Arial", sans-serif;
    font-size:1em;
}

html, body {
    height: 100%;
}
#wrap {
    clear: both;
    height: auto !important;
    margin-bottom: -80px;
    min-height: 100%;
}
.front #wrap{margin-bottom: -139px;}
#wrap #footer-clear {
    height: 80px;
}
.front #wrap #footer-clear{height: 139px}
#footer {
    clear: both;
    height: 80px;
    position: relative;
}

.front #footer{height: 139px}

#header-wrap {
    /*position: fixed;
    top: 0;*/
    /*height: 78px;*/
    width: 100%;
    z-index: 100;
    background: #c25922;
    color:#fff;
}
#menu{
    position: fixed;
    top: 0;
    z-index: 100;
    background: #c25922;
    width:100%;
}
/*#container-wrap {
        min-height: 100%;
        overflow-y: hidden;
        position: relative;
        margin-bottom:-135px;
}*/
#container-wrap {
    position: relative;
}
#footer {
    font-size:0.750em;
    width: 100%;
    /*min-height:120px;
    position:absolute;*/
    bottom: 0;
}
#Container {
    /*position: static;
    margin-top: 0 !important;
    padding-bottom: 0px;
    margin-top:50px;
    */

}
/*#content {
        width: 100%;
padding-bottom: 140px;
        overflow: hidden;
        max-height: 100%;
        min-height: 100%;
        float: left;
}*/
#photo-bg-wrap {
    position: absolute;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    /*max-height: 100%;*/
    /*top:50px;*/
}
#photo-bg-wrap .cheat-padding {
    height: 78;
    width: 100%;
}
#photo-bg-wrap .photo-bg {
    width: 150%;
}
#photo-bg-wrap img {
    float: left;
    width: 392px;
    height: 392px;
    margin: 0;
}

/* var2 */
#photo-bg-wrap2 {
    position: absolute;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    /*max-height: 100%;*/
    /*top:50px;*/
}
#photo-bg-wrap2 .cheat-padding {
    height: 78;
    width: 100%;
}
#photo-bg-wrap2 .photo-bg {
    width: 150%;
}

#photo-bg-wrap2 img {
    float: left;
    width: 98;
    height: 98px;
    margin: 0;
}
/* end var2 
*/
#landing-content {
    z-index:2;
    padding:28px 0;
    width: 100%;
}
#header-wrap {
    font-size:0.750em;
}
.clear{
    clear: both;
    display: block;
}
.wrapper{
    margin:0 auto;
    padding-left: 6.25% ;
    padding-right: 6.25% ;
    position: relative;
    float:none;
    clear:both;
    /*	max-width:1280px;*/
    max-width:1024px;
    min-width:312px;
}

.logo{
    width:150px;
    float:left;
    height:50px;
}
.logo a{
    display:block;
    background:url('../images/newlogo.png') no-repeat center center;
    background-size:contain;
    height:50px;
}
.mainmenu, .footmenu{
    text-align:center;
    overflow:hidden;
    margin:0 auto;
}
.account{
    float:right;
}
#showhide{
    display:none;
}
.mainmenu ul, .footmenu ul{
    display:block;
    font-size:0;/* fix bug from inline-block */
}
.mainmenu li, .footmenu li{
    font-size:12px;/* fix bug from inline-block */
    list-style:none;
    display:inline-block;
}
.mainmenu li a, .footmenu li a{
    display:block;
    height:50px;
    line-height:50px;
    text-transform:uppercase;
    color:#fff;
    font-weight:700;
    padding:0 10px;
    text-decoration:none;
}
.footmenu li a{
    height:80px;
    line-height:80px;
    text-transform:none;
}
.mainmenu li.active a, .footmenu li.active a{
    background:#d4732c;
}
.mainmenu li a:hover, .footmenu  li a:hover{
    color:#f1ddd7;
}

.mainmenu li a:hover {
    background:#d4732c;
}

.search_wrapper{
    width:50px;
    float:left;
    position:relative;
}
.s_form{
    display:none;
    position:absolute;
	top:9px;
	right: 5px;
	width: 256px;
    z-index:300;
    height:50px;
    font-size:14px;

}
.s_form input.ui-autocomplete-input{
    color:#747474;
    border:none;
    background:#fff;
	padding:4px;
	padding-left:10px;
	border-radius:4px 0 0 4px;
    width:220px;
    float:left;
    box-sizing:border-box;
	height:34px;
	line-height:34px;
}

.az{
    display:none;
}

.user, .auth_user{

    width:150px;
    height:50px;
    line-height:50px;
    text-align:right;
    float:right;
    position:relative;

}
.user{
    width:auto;
}
.auth_user{
    padding-left: 44px;
    width: 106px;
    position: relative;
}
.auth_user a.username > img{
    position: absolute;top: 8px;left: 0;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; -ms-border-radius: 3px; -o-border-radius: 3px; border-radius: 3px;
    border: 1px solid #ce7a4e;
}

ul.submenu{
    display:none;
    background: #b35b2d;
    position: absolute;
    top: 50px;
    right: 0;
    width: 230px;
    z-index: 300;
    line-height:16px;
    text-align:left;
    padding-top:1em;
    padding-bottom:1.4em;
}
.submenu li{
    margin:0.2em 1.9em;
    padding:0.4em;
    list-style:none;
    border-bottom:1px solid transparent;
}
.submenu li:nth-child(3), .submenu li:nth-child(4), .submenu li:nth-child(5){
    border-bottom:1px solid #c47348;
}
.submenu li a{
    display:block;
    text-decoration:none;
    color:#fff;
    font-weight:700;

}
.submenu span{
    display:block;
    padding:2px;
    float:right;
    background:#c47348;
}
.submenu li a:hover{
    color:#ffc790;
}
.login , .signup, .username{
    text-transform:uppercase;
    color:#f0d5c8;
    color:#fff;
    text-decoration:none;
    font-weight:700;
}
.signup{
    margin-left:0.8em;
}
.login:hover , .signup:hover{
    color:#f1ddd7;
}

.username{
    display:block;
    background:url('../images/new_sprites.png') right -900px no-repeat;
    padding-right:20px;
}
a.submenu_active{
    background: url("../images/new_sprites.png") right -955px no-repeat transparent;	
}
.sign, .create , .enter, .cancel{
    border:none;
    border-radius:2em;
    padding:0.5em 1.0em;
    background: #ffa83c; /* Old browsers */
    background: linear-gradient(to bottom,  #ffa83c 0%,#ff8a2d 100%); /* W3C */
    box-sizing:border-box;
    text-align:center;
    text-transform:uppercase;
    text-decoration:none;
    font-weight:700;
    cursor:pointer;
}
.cancel{
    background:#bfbfbf;
    background:linear-gradient(to bottom, #bfbfbf 0%, #aaaaaa 100%);
}
.create, .enter, .cancel{
    color:#fff;
    font-size:0.85em;
    font-size:12px;
    font-weight:500;
}
.create:hover, .enter:hover{
    background:linear-gradient(to bottom, #ffc03c 0%, #ffaa2d 100%);
}
.cancel:hover{
    background:linear-gradient(to bottom, #cfcfcf 0%, #bfbfbf 100%);
}

.title{
    color:#d5cec9;
    margin-right:1em;
    display:inline-block;
}
.alp{
    background:#a96e50;
    overflow:hidden;
    height:28px;
    line-height:28px;
    text-align:center;	
    padding-top:50px;
}
/*
.title{
        margin-left:150px;
        float:left;
        color:#d5cec9;
        margin-right:1em;
}
.authors{
        float:left;
}*/

.authors{
    display:inline-block;
}
.authors li{
    text-align:center;
    list-style:none;
    display:inline-block;
}
.authors li a{
    display:block;
    color:#f0d5c8;
    text-decoration:none;
    padding:0 0.4em;
    font-weight:700;
}
.authors li a:hover{
    background:#c38363;
}
.authors li.active a{
    background:#c38363;
}
#grey-bg, .popup {
    display: none;
}
#grey-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.5;
    top: 0;
    left: 0;
    z-index: 200;
}
.popup {
    position: fixed;
    width: 592px;
    top: 200px;
    left: 50%;
    margin-left: -296px;
    background-color: #ffffff;
    z-index: 999;
    border-radius: 3px;
    box-shadow: #521c00 0 5px 15px;
    padding:0;
    background:#fff url('../images/line.png') no-repeat center 95px;
}

.popup .title{
    position:relative;
    display:block;
    overflow:hidden;
    color:#fff;
    margin:0;
    padding: 25px 65px;
    background: #c25922 url('../images/new_sprites.png') no-repeat 20px -340px;
}
.popup .title .right{
    text-align:right;
}
.left, .right{
    float:left;
    width:50%;
}
.left{

}
.left .wrap, .right .wrap{
    margin:25px 45px;
}
.exit{
    text-decoration:none;
    position:absolute;
    right:10px;
    display:block;
    background:#c25922 url('../images/new_sprites.png') no-repeat 0 -300px;
    width:50px;
    height:50px;
    top:10px;
}
.item{
    margin-bottom:1em;
}
.item label, .right p{
    color:#000;
    font-weight:700;
    font-size:0.84em;
}
.item input{
    padding:5px;
    border:1px solid #d5c6bf;
}
.item a{
    color:#a23715;
    font-size:0.84em;
}
.desc{
    margin-top:1em;
}
#LoginButton{
    margin-top:0.5em;
}

.wrapper_main-page .leftcol,
.wrapper_main-page .rightcol {
	float: left;
}

.wrapper_main-page .leftcol {
	margin-right: 0;
	width: 66.67%;
}

.wrapper_main-page .rightcol {
	margin-left: 4.13%;
	width:29.17%;
}

.landing-content{}
.leftcol, .rightcol{
    background:#fff;
    border-radius:2px;
    box-shadow:0 5px 15px #521c00;
}
.leftcol{
    float: left;
    margin-right: -294px;
    width: 100%;
}

.leftcol-inner {
	padding-right: 294px;
}

#landing-content .leftcol{
    overflow:hidden;
}

.rightcol{
	float: right;
	width: 300px;
	margin-left: -10px;
}

.leftcol h1{
    color:#333333;
    font-weight:700;
    font-size:1.250em;
    text-align:left;
    margin-top:1.3em;
    margin-bottom:1.0em;
}

.leftcol .h1-index {
    margin-left: 44px;
}

.rightcol h3{
    color:#4c3f39;
	margin:1.4em 1.4em 1em 0;
    font-weight:700;
    font-size:1.125em;
}
.block{
	padding:0.4em 0em 1.4em 3.1em;
}
.block h4{
    font-weight:500;
    padding-left:30px;
    background:url('../images/new_sprites.png') no-repeat;
    min-height:30px;
    line-height:30px;
}
.block h4 a{
    color:#4c3f39;
    font-weight:600;	
    font-size:0.875em;
}
.block  a:hover{
    color: #ff7823;
}
.block span{
    margin-right:0.8em;
    font-size:0.84em;
    color:#262626;
}
.block li{
    list-style:none;
}

.block a{
    color:#a23715;

    font-size:0.8em;	
    font-weight:600;
    line-height:1.2em;
    border-bottom:1px solid;
    text-decoration:none;
}
.block a.zoom-cur{
    border: none;
}
.holidays h4{
    background-position:-15px -408px;
}
.birthdays h4{
    background-position:-15px -458px;
}
.deaths h4{
    background-position:-15px -508px;
}
.p_topics h4{
    background-position:-15px -558px;
}
.p_authors h4{
    background-position:-15px -608px;
}
.slider{
    position:relative;
    overflow:hidden;
    margin-bottom: 10px;
}

.owl-prev, .owl-next{
    display:block;
    width:50px;
    height:50px;
    position:absolute;
    background:url('../images/new_sprites.png') no-repeat;
    top:20%;
    margin-top:-25px;
    z-index:10;
    text-indent:-999px;
}
.owl-next{
    right:0;
    background-position:0 -700px;
}
.owl-prev{
    left:0;
    background-position:0 -650px;
}
.owl-prev:hover, .owl-next:hover{
    opacity:0.8;
}
.slide{
    overflow:hidden;
}
.content-slide{
    text-align:left;
    margin-left:44px;
    margin-right:44px;
    overflow:hidden;
    min-height:48px;
    float: right;
}

.content-slide_top:after {
    position: absolute;
    content: "";
    display: block;
    margin-left: -44px;
    margin-top: 18px;
    padding-right: 88px;
    width: 100%;
    height: 1px;
    background: none repeat scroll 0 0 #ede0d3;
}

.content-slide_bottom {
    margin-left: 0;
    margin-top: 5px;
    min-height: 10px !important;
}

.content-slide p{
    font-size:1.50em;
    color:#333333;
    font-weight:400;
}
.q_user{
    text-align:left;
    font-weight:700;
    margin-top:1em;

}
.q_user a, .q_user a:active, .q_user a:link{
    color:#a23715;
    font-size:1.063em;
}
.q_user a:hover{
    color: #ff7823;
}
.q_tags{
    margin: 23px 0 0 44px;
    color:#b4b4b4;
    text-align:left;
    font-size:0.80em;
    font-weight:600;
    overflow:hidden;
    float: left;
    width: 34%;
}
.q_tags a{
    color: #a23715;
    line-height: 21px;
}
.q_tags a:hover{
    color: #ff7823;
}
.q_actions{
    margin-top:1em;overflow:hidden;
}

.wrap-ico {
    float: right;
}

.wrap-ico .pn, 
.wrap-ico .fb, 
.wrap-ico .tw, 
.wrap-ico .gl {
    background-attachment: scroll;
    background-clip: border-box;
    background-color: rgba(0, 0, 0, 0);
    background-image: url("../images/sprite-ico-s492036ecac.png");
    background-origin: padding-box;
    background-position: 0 0;
    background-repeat: no-repeat !important;
    background-size: 18px auto !important;
    display: inline-block;
    height: 18px;
    margin-left: 6px;
    position: relative;
    top: 4px;
    width: 18px;
}

.wrap-ico .pn {
    background-position: 0 -36px;
}

.wrap-ico .fb {
    background-position: 0 0;
}

.wrap-ico .tw {
    background-position: 0 -54px;
}

.wrap-ico .gl {
    background-position: 0 -18px;
}

.q_links{
    float:left;
    margin-right: 15px;
    text-align:right;
    overflow:hidden;
}
.q_links a:hover{
    color: #ff7823;
}
.q_save, .q_create{
    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;
}
.q_save{
    background-position:-15px -760px;
}
.q_create{
    background-position:-15px -815px;
}
.gray{
    background:#e2e2e2;
    overflow:hidden;
    padding:1em 0;
    text-align:center;
}
.c1, .c2, .c3{
    background: url("../images/new_sprites.png") no-repeat transparent;
    color: #71625B;
    display: inline-block;
    font-weight: 700;
    min-height: 35px;
    padding-left: 40px;
    text-align: left;
    vertical-align: top;
    width: 30%;
    box-sizing:border-box;
}
.c1{
    background-position:-10px -1300px;
}
.c2{
    background-position:-10px -1415px;
}
.c3{
    background-position:-10px -1530px;
}
.fmenu{
    background:#571b00;
    background: rgba(87, 27, 0, 0.851);
    color:#FFF;
    height:80px;
}
.fmenu .logo{
    height:80px;
    line-height:80px;
    vertical-align:middle;
}
.fmenu .logo a{
    height:80px;
}

/* responsive */

@media all and (min-width: 1320px){
    .account{
        width:auto;
    }
    .search_wrapper{
        width:auto;
        height:50px;
    }
	
    .s_form{
		margin-top: 8px;
        display:block;
        width:220px;
        position:relative;
        top:auto;
        right:auto;
    }
    .s_form input.ui-autocomplete-input{
        width:180px;
    }
}

@media all and (max-width: 1040px) {
    .q_links {
        display: none;
    }
}

@media all and (max-width: 1080px){
    .mainmenu li a{
        padding:0 0.5em;
    }
}
@media all and (max-width: 1024px){
    .c1, .c2, .c3{
        font-size:0.85em;
    }
    .wrapper{
        margin:0 auto;
    }
    .az select{
        display:none;
    }
}
@media all and (max-width: 960px){
        .s_form {
		right: -30px;
		width: 406px;
	}
	.s_form input.ui-autocomplete-input {
		width: 370px;
	}
    .leftcol .h1-index{
        margin-left: 0;
        text-align: center;
    }

    #wrap{
        overflow: hidden;
    }
    #footer{
        position: relative;
    }

    .owl-height {
        border: 1px solid #ede0d3;
        border-radius: 5px;
        padding: 15px 16px 8px;
        position: relative;
    }

    .content-slide_bottom {
        margin-left: 0 !important;
        margin-right: -10px !important;
        margin-top: 21px;
        min-height: 10px !important;
    }

    .user, 
    .auth_user {
        display: none;
    }

    .footmenu li:nth-child(n+4){
        display:none;
    }
    #photo-bg-wrap{
        display:none;
    }
    #photo-bg-wrap2{
        display:none;
    }	
    .auth_user {
        width:70px;
        background: url("../images/new_sprites.png") 0px -50px no-repeat transparent;

    }
    .username {
        display:block;
        width:70px;
        height:50px;
        text-indent:300%;
        white-space: nowrap;
        padding:0px;
        overflow:hidden;
        background: url("../images/new_sprites.png") right -900px no-repeat transparent;
    }

    .collapse{
        text-decoration:none;
        height:50px;
        display:block;
        background: url("../images/new_sprites.png") ;
        background-position: 5px -1000px;
        background-repeat: no-repeat;
        background-size: 65px auto;
    }
    .collapse:hover{
        opacity:0.8;
    }
    .account { 
        float: right;
    }
    .mainmenu{
        text-align:left;
        min-width:110px;
        float:right;
    }
    .mainmenu ul{
        display:none;
        position:absolute;
        top:50px;
        width:230px;
        z-index:300;
        padding-top:1em;
        padding-bottom:1.4em;
        background: #B35B2D;
    }
    .mainmenu li{
        display:block;
        float:none;
        background:#b35b2d;
        padding:0;
    }
    .showhide_active{
        background-color:#b35b2d;
    }
    .mainmenu li a{
        display: block;
        height: 30px;
        line-height: 30px;
        text-transform: none;
        color: #f0d5c8;
        font-weight: 700;
        padding: 0 1em;
        text-decoration: none;
    }
	
    .wrapper_main-page .leftcol, 
    .wrapper_main-page .rightcol,
    .leftcol, .rightcol{
        float:none;
        clear:both;
        width:100%;
        border-radius:0;
        box-shadow:none;
        margin:0;

    }
    .rightcol{
        margin-top:2em;
        border-top:1px solid #e3dcd5;
    }
    .q_links {
        float:none;
        clear:both;
        width: 100%;
        text-align: center;
        margin-top:1em;
    }
    .q_links{display:none;}
    .rightcol h3{
        text-align:center;
        margin-right: 0;
    }
    .block{
		padding:1.4em 3em ;
    }
    .fmenu{
        background:#571b00;
    }
    #footer .left, #footer .right{
        float:none;
        clear:both;
        width:100%;
        text-align:center;
        margin-top:1em;
    }
    #footer .right{display:none;}
    #showhide{
        display:block;
        float:left;
        background-image:url('../images/new_sprites.png');
        background-position: 5px -933px;
        background-repeat: no-repeat;
        background-size: 65px auto;
        height:50px;
        width:50px;
        padding:0;
    }
    #showhide:hover{
        opacity:0.8;
    }
    .alp{
        display:none;
    }
    #header-wrap{
        height:50px;
    }
    #landing-content{
        padding-top:0px;
    }

    .az{
        position:relative;
		z-index: 1;
        display:block;
        float:left;
        line-height:50px;
        width:60px;
        height:50px;
        text-align:center;
        color: #F0D5C8;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        background-position: 5px -1070px;
        background-repeat: no-repeat;
        background-size: 65px auto;
        background-image:url('../images/new_sprites.png');
    }
    .az:hover{
        opacity:0.8;
    }
    .az select{
        cursor:pointer;
        display:block;
        opacity:0;
        position:absolute;
        top:0;
        left:0;
        width:100%;
        height:100%;
        z-index:900;
    }
    /**/
    #grey-bg {
        position: fixed;
        width: 100%;
        height: 100%;
        background-color: #000000;
        opacity: 0.5;
        top: 0;
        left: 0;
        z-index: 200;
    }
    .popup {
        position: absolute;
        width: 320px;
        top: 50px;
        left: 50%;
        margin-left: -160px;
        background:#fff;
        z-index: 999;
        border-radius: 3px;
        box-shadow: #521c00 0 5px 15px;
        padding:0;
    }

    .popup .title{
        position:relative;
        display:block;
        overflow:hidden;
        color:#fff;
        margin:0;
        padding: 25px 50px;
        background: #c25922 url('../images/new_sprites.png') no-repeat 0px -995px;
    }
    .popup .title .create{
        display:inline-block;
    }
    .popup .title .right{
        margin-top:1em;
        text-align: left;
    }
    .left, .right{
        float:none;
        clear:both;
        width:auto;
        overflow:hidden;
    }
    .left h2{}
    .left .wrap, .right .wrap{
        margin:25px;
    }
    .item label{
        float:none;
        clear:both;
        display:block;
        margin-bottom:0.2em;
    }
    #l-email, #l-password{
        width:100%;
    }

    .exit{
        text-decoration:none;
        position:absolute;
        right:10px;
        display:block;
        background:#c25922 url('../images/new_sprites.png') no-repeat 0 -300px;
        width:50px;
        height:50px;
        top:10px;
    }
    .slide{
        padding: 0 43px 0 16px;
    }
    .content-slide{
        margin-left:0;
        margin-right:0;
        overflow:hidden;
        min-height:48px;
    }
    .q_actions{
        margin-top:0;
    }
    .q_tags{
        margin-bottom:0;
        margin-left: -16px;
        width: 55%;
    }
    /**/	
}
@media all and (max-width:480px){
    	  .logo {
	    position: absolute;
	    left: 0;
	    right: 0;
	    margin: auto; 
	  }

	  .mainmenu {
	    float: left;
	  }
          
    .owl-prev, .owl-next{
        background-size:50px;
    }
    .owl-next{
        right:10px;
        background-position:30px -670px;
    }
    .owl-prev{
        left:10px;
        background-position:0 -630px;
    }
    .user, .auth_user{
        display:none;
    }
    .content-slide p {
        font-size: 1.2em;
        color: #333333;
        font-weight: 400;
    }
    .user{
        width: auto;
    }
    .search_wrapper{
        width:50px;
    }

    .s_form{
		width: 376px;
		right: 0;
    }

    .s_form input.ui-autocomplete-input{
		width: 340px;
    }

    .fmenu .logo {
        width:60px;
    }
    .fmenu .logo a {
        background:url('../images/az-small.png') no-repeat center center;
        background-size:40px;
    }
}

@media all and (max-width:450px) {
	.s_form{
		width: 307px;
		right: 0;
}

	.s_form input.ui-autocomplete-input{
		width: 270px;
	}
}

@media all and (max-width:360px){
	.s_form{
		width: 276px;
		right:10px;
	}

	.s_form input.ui-autocomplete-input{
		width: 240px;
	}

    .mainmenu { 
        min-width: 110px;
        width:110px;
    }
    #showhide, 	.az{
        /*width:50px;*/
    }
    .wrapper{
        padding:0 4px;
    }
}

@media all and (max-width:360px){
	.s_form{
		width: 266px;
	}

	.s_form input.ui-autocomplete-input {
	   width: 228px;
	}
}

.mainmenu, .footmenu {
    margin: 0 auto;
    overflow: hidden;
    text-align: right;
}

#footer .fmenu .wrapper .logo {
    right: inherit;
}

.pager.pg-margin { margin-right:0px;padding-right:0px; }
.s-picture .simple_picture { width: 95%; }
.s-picture .icons-quote { margin-right:0px; }
