#uh {
    background: #6e6077 url(https://www.polishgirl4u.com/img/nowababa1.jpg) no-repeat scroll center top;
    color: #fff;
    display: block;
    margin: 0 auto;
    padding: 19px 0 77px;
    position: relative;
    background-size: cover;
}

#insider_uh {
    height: 447px;
    margin: 39px auto 0;
    width: 79%;
}

#twologo {
    color: #fff;
    display: block;
    float: right;
    font-size: 22px;
    margin: 279px auto 0;
    text-align: right;
    font-weight: 700;
    text-shadow: 4px 2px 4px #1a2405;
    max-width: 50%;
}

#frst_form {
    background: #fff;
    border-radius: 10px;
    clear: left;
    float: left;
    margin-top: 20px;
    min-width: 247px;
    padding: 20px 0;
    width: 485px;
    border: 3px solid #e16868;
    position: absolute !important;
}

#logo_c {
    float: left;
    clear: both;
    width: 100%;
    margin-bottom: 33px;
    min-height: 63px;
}

#logo_c img {
    clear: both;
    display: block;
    margin: -60px auto 0 auto;
    width: auto;
}

#signin, #join1 {
    border: 1px solid #d1e2e7;
    cursor: pointer;
    padding: 10px 20px;
    position: absolute;
    width: 100px;
    font-size: 15px;
    text-align: center;
    border-radius: 10px;
    font-weight: bold;
}

#signin {
    right: 180px;
    top: 424px;
    background: #fff;
    border: 1px solid #e16868;
    color: #e16868;
}

#join1 {
    right: 335px;
    top: 424px;
    background: #e16868;
    color: #fff;
}

#regi_a {
    display: block;
    width: 80%;
    margin: 0 auto;
    font-weight: 400;
    font-size: 21px;
    font-family: "Open Sans";
}

#regi_a .mylab {
    float: left;
    padding: 7px 15px 0 0;
    width: calc(30% + 15px);
}

#regi_a .mybox {
    float: left;
    width: 62%;
}

#regi_a #mwiek_od {
    float: left;
    width: calc(49% - 10px);
}

#regi_a #mwiek_do {
    float: right;
    width: calc(49% - 10px);
}

#regi_a #m_mys {
    float: left;
    height: 100%;
    width: 24px;
    text-align: center;
    display: block;
    padding: 7px 0;
}

#pan, #wiek, #kontynent {
    margin: 2px 0;
    text-align: center;
    width: 100%;
    float: left;
}

#frst_form button {
    background: #fff;
    border: 1px solid #e16868;
    border-radius: 5px;
    color: #e16868;
    cursor: pointer;
    font-size: 24px;
    font-weight: 700;
    margin: 23px auto;
    padding: 12px 21px;
    width: 100%;
    box-shadow: 4px 4px 12px #e16868;
}

#frst_form button:hover {
    background: #fff;
    color: #e16868;
    border: 1px solid #e16868;
    box-shadow: 1px 1px 6px #e16868;
}
#regi_a select, #search_body select, #invit_body select {
    background: transparent none repeat scroll 0 0;
    background: #fff url(../img/select_bg.gif)no-repeat;
    background-position: center right;
    border: 1px solid #ccc;
    -webkit-appearance: none;
    -moz-appearance: none;
    -moz-user-select: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 22px;
    font-weight: 400;
    height: 44px;
    padding: 0 31px 0 8px;
    color: #555;
}
#regi_a div span,
#regi_a div label {
    color: #222;
    font-family: 'Open Sans Condensed', sans-serif
}
@media screen and (min-width:1580px) {
    #grid {
        width: 1493px;
        margin: 0 auto;
    }
}

@media screen and (max-width:1580px) {
    #first_info span {
        margin: 20px 40px;
    }
}

@media screen and (max-width:1460px) {
    #frst_form {
        margin-top: 20px;
    }
    #uh {
        padding: 20px 0 42px;
    }
    #signin {
        right: 152px;
    }
    #join1 {
        right: 305px;
    }
}

@media screen and (max-width:1388px) {
    #first_info img {
        margin: 10px calc(50% - 150px);
    }
    #first_info span {
        width: 100%;
        margin: 0;
        max-width: none;
        text-align: justify;
    }
    .userhit {
        width: 22%;
    }
    .rz_tresc {
        font-size: 16px;
    }
}

@media screen and (max-width:1235px) {
    #frst_form {
        border: 1px solid #e16868;
    }
    #logo_c img {
        clear: both;
        display: block;
        margin: 0 auto;
        width: 150px;
    }
    #signin {
        background: #fff;
        border: 2px solid #e16868;
        cursor: pointer !important;
        padding: 4px 11px !important;
        position: absolute !important;
        right: 20px !important;
        top: 15px !important;
    }
    #join1 {
        background: #e16868;
        border: 2px solid #e16868;
        cursor: pointer !important;
        padding: 4px 11px !important;
        position: absolute !important;
        left: 20px !important;
        top: 15px !important;
    }
    #twologo {
        margin: -20px auto -11px;
        font-size: 15px;
        text-align: center;
        float: none;
    }
    #insider_uh {
        width: 485px;
    }
    .home .arti li {
        width: 30%;
        min-height: 567px;
    }
}

@media screen and (max-width:1062px) {
    .rz_tresc {
        font-size: 15px;
    }
    #uh {
        background-position: left top;
    }
    .home .main_hit,
    #text .main_hit {
        width: 18%;
    }
}

@media screen and (max-width:995px) {
    #logo_c {
        min-height: 63px;
    }
    .userhit {
        width: 30%;
    }
}

@media screen and (max-width:950px) {
    form#upd_unc_email {
        display: block;
        height: 24px;
    }
    #inheader {
        width: 96%;
    }
    .rz_tresc {
        font-size: 14px;
    }
    .login,
    .name,
    .kraj,
    .main_hit a,
    .main_hit a img {
        width: 100%;
        float: left;
        text-align: center;
    }
    .main_hit a img {
        float: left;
        width: 95%;
    }
    .main_hit a .login .name {
        float: left;
        width: 100%;
        font-size: 15px;
        margin-top: 10px;
    }
    .main_hit a .login .kraj {
        float: left;
        width: 100%;
        font-size: 12px;
    }
    .main_hit a img {
        width: calc(100% - 10px);
        height: inherit;
    }
    .main_hit a {
        display: block;
        height: auto;
        width: 100%;
    }
    .home .main_hit,
    #text .main_hit {
        margin: 0 8px 150px;
        width: 20%;
    }
    .thumbs_home {
        height: 335px;
        margin-top: 20px;
    }
    #grid {
        width: 100%;
    }
    #comm {
        display: none;
    }
    .chatopen .userhit {
        width: 30% !important;
    }
    .userhit {
        width: 23%;
    }
    li#Hunr,
    li#Hdzw {
        display: block !important;
    }
    #menudiv ul li {
        margin: 0 0 0 45px;
    }
    #SU_chat {
        right: 10px;
        width: 42%;
    }
    #lovehive_cont {
        width: 100%;
        padding: 0;
    }
    .chatopen #lovehive_cont {
        padding: 0;
        width: 56%;
    }
    #ud_l,
    #ud_r,
    #userhead {
        width: 100%;
        float: left;
        display: block;
        margin: 0;
    }
    #ud_r {
        margin: 10px 0 0 0;
    }
}

@media screen and (max-width:700px) {
    #stopka {
        font-size: 11px;
    }
    #ftda {
        font-size: 15px;
    }
    .home .arti li {
        width: calc(100% - 20px);
    }
    #deusexmachina.fancyD {
        margin-top: 5px;
        padding: 15px;
        width: calc(95% - 30px);
    }
    #fblogin_butt {
        font-size: 18px;
    }
    #both_t,
    #both_b {
        width: 280px;
    }
    .ud_thumb .rotdiv,
    .ud_thumb .deldiv {
        visibility: visible;
    }
    .userhit {
        width: 30%;
    }
    .home .main_hit,
    #text .main_hit {
        width: 29%;
    }
    #userdata {
        display: block;
    }
    #prof_opis {
        float: left;
        font-size: 14px;
        margin: 8px;
        width: 95%;
        max-height: 60px;
    }
    #may {
        font-size: 16px;
    }
}

@media screen and (max-height:550px) {
    #SU_chat #chatRight {
        background: none;
    }
}

@media screen and (max-width:550px) {
    .main_hit a img {
        width: calc(100% - 10px);
        height: inherit;
    }
    #dzi {
        margin: 19px 0 0 0;
        font-size: 17px;
    }
    .main_hit span {
        font-size: 10px !important;
    }
    #justtext h2 {
        font-size: 14px !important;
    }
    .thumbs_home {
        height: 592px;
    }
    #regi_a div span,
    #regi_a div label {
        color: #fff;
    }
    #frst_form {
        background: none;
        box-shadow: none;
        border: none;
    }
    #first_info img {
        margin: 0 auto 10px auto;
        width: 243px;
        float: none;
    }
    #mail_tr {
        font-size: 13px;
        height: calc(100% - 93px);
        margin: 0 2%;
        padding: 4px;
        top: 44px;
        width: calc(96% - 8px);
    }
    #regi_a select,
    #search_body select,
    #invit_body select {
        font-size: 16px;
        height: 34px;
        padding: 0 33px 0 8px !important;
    }
    .ajaxloading {
        background-position: 8px 6px !important;
        bottom: 9px;
        font-size: 12px;
        height: 10px;
        left: 10px;
        padding: 6px 9px 12px 31px;
        width: 75px;
        z-index: 9999;
    }
    #first_info {
        margin: 0;
        min-height: 700px;
    }
    #first_info #exspan {
        font-size: 14px;
        text-align: justify;
        width: 99%;
        padding: 0;
        margin: 0;
        font-weight: bold;
    }
    #uh {
        background: #6e6077 url(https://www.polishgirl4u.com/img/nowababa1_small.jpg) no-repeat scroll left top;
        float: left;
        margin: 0;
        padding: 0;
        width: 100%;
        padding-bottom: 20px;
        border-bottom: 1px solid #d7cece;
    }
    #insider_uh {
        width: 100%;
        height: 335px;
    }
    #twologo {
        display: none;
    }
    #regi_a {
        display: block;
        width: 85%;
        margin: 0 auto;
    }
    #regi_a .mylab {
        float: left;
        width: 100%;
        padding: 0;
        font-size: 17px;
        text-align: left;
    }
    #regi_a .mybox {
        float: left;
        width: 100%;
    }
    #regi_a select {
        background-position: right top;
        font-size: 20px;
        height: 42px;
        line-height: 22px;
        padding: 0 40px 0 12px;
    }
    #regi_a #m_mys {
        padding: 5px 0 0;
    }
    #frst_form {
        height: 100%;
    }
    #frst_form {
        border-radius: 0;
        float: none;
        margin: 0 auto;
        padding: 0 30px;
        width: calc(100% - 60px);
    }
    #logo_c {
        width: calc(100% - 28px);
        float: none;
        margin: 2px auto;
    }
    #logo_c img {
        width: 150px;
        margin: 7px auto 0 auto;
    }
    #frst_form button {
        font-size: 17px;
        margin: 16px auto;
        padding: 13px 0;
        width: 100%;
    }
    .home .main_hit,
    #text .main_hit {
        width: 36%;
        height: 145px;
    }
}
