#gimg {
    text-align:center;
    width:140px;
    display: block;
    margin: auto;
}
.small {
    font-size:70%;
}
body {
    word-break: break-all;
    font-family: "PT Sans", sans-serif;
}
#translit p {
    text-align:left;
}
#translit {
    text-align:center;
}
ul {
    padding-left: 20px;
    padding-right: 20px;
    font-size: 120%;
}
input {
    border-radius: 0;
    -webkit-appearance: none;
}
[contentEditable=true]:empty:not(:focus):before {
    content: attr(data-ph);
}

#send_comment {
    margin-top:20px;
}
#aftercontent {
    padding:20px;
    background:#FF8784;
}
.review:hover {
    opacity: 0.8;
}
#content {
    background:#ff7474bd;
}
#subcont {
    background:#FEFEE2;
    font-size:90%;
}
.oneday:hover {
    opacity:0.7;
}
button {
    cursor:pointer;
    font-family: "PT Sans", sans-serif;
}    
    .comment {
        margin-top:10px;
        font-style:italic;
    }
        .topmargin {
        margin-top:10px;
    }
    .revname,.revdata {
        display:inline-block;
    }

    .ratingstar:hover {
        cursor:pointer;
    }

        .textcenter {
        text-align:center;
    }
    #registrdiv {
        text-align:center;
    }
    .inlblock {
        display:inline-block;
    }
#sorting:hover,.tophref:hover,.underl:hover,.specialist a:hover {
    color:#65cdf7;
}
.tophref {
       color:#2ba8db;
       text-decoration:none;
}
        .filtrselect {
        cursor:pointer;
    }
    #sorting {
        color:#2ba8db;
        cursor:pointer;
        text-align:right;
    }
    .redcol {
        background:#FF8784 !important;
    }
    .fbut:hover {
        opacity:0.9;
        box-shadow: 0 0 1px 0 rgba(221, 221, 221, 1);
    }
    .frow {
        margin-bottom:10px;
    }
    #superpoisk :last-child {
        margin-bottom:0;
    }
    .underl {
        cursor:pointer;
        color:#2ba8db;
    }
    #superpoisk:hover {
        box-shadow: 0 0 3px 2px rgba(221, 221, 221, 1);
    }
    #cancelimg:hover,#cancelimg2:hover {
        opacity:1;
    }
        #cancelimg,#cancelimg2 {
            float:right;
        opacity:0.5;
        margin-bottom:10px;
        top:10px;
    }
    .footerdiv {
        display:inline-block;
        vertical-align:top;
    }
h1 a:visited,#likeh1 a:visited {
    color:#333;
}
h1 a,#likeh1 a {
    color:#333;
}
h1 a:hover,#likeh1 a:hover {
    color:#a09e9e;
}
@media (min-width: 1000px) {
    .ad {
        padding:20px 0;
        text-align:center;
    }
    #outputtext {
        text-shadow: unset;
        color:#333;
    }
    #answer {
        color: #d0fdd2;
        background: #00000030;
    }
    .smallertext {
        font-size:80%;
    }
    #translit textarea {
        width:100%;
        height:60px;
    }
    #copyright {
        text-align: center;
    }
    #poisk {
        padding: 20px 0 0 0;
        background: #d90012;
    }
    #outputtext {
        margin-bottom:20px;
    }
    #outputtext:hover, #inputtext:hover {
        opacity: 1;
        background-color: lightyellow;
    }
    #trbut:active {
        background: #23821df7;
        filter: contrast(0.8);
        transition: all 0.1s;
        color: #fff;
    }
    #trbut:hover {
        opacity: 1;
        cursor: pointer;
        background: #00afca8c;
    }
    #trbut {
        font-family: "PT Sans", sans-serif;
        text-shadow: 0 1px 0 #000;
        background: #0033a0;
        box-shadow: 0 0 2px 1px rgba(221, 221, 221, 1);
        font-weight: bold;
        height: 50px;
        font-size: 105%;
        color: #fff7db;
        margin: 0;
        padding: 0;
        width: 100%;
        border: 0;
    }
    #trbutdiv {
        margin: 10px 0 10px 0;
    }
    #outputtext, #inputtext {
        text-shadow: none;
        border-radius: 4px;
        color: #888;
        padding: 10px;
        width: 100%;
        height: 140px;
        overflow: auto;
        background-color: #fff;
        box-sizing: border-box;
    }
    #nowpoisk {
        background: #d90012;
        padding: 1px 0 20px 0;
    }
    #searchedcities,#searchedcities2 {
        position:absolute;
        background:white;
        z-index:2;
    }
    #header {
        background: #d90012;
        padding: 1px;
    }
        #gmap {
        height:50vh;
    }
    .h2margin {
        margin-top:20px;
    }
    #kontakt {
        position:absolute;
        left:0;
        top:30px;
        margin-top:0;
        margin-bottom:0;
    }
    .topdiv {
    margin-bottom:10px;
    width: 130px;
}
    #header h1 {
        word-break: break-word;
        padding-right: 40px;
        color: #fff;
        margin: 12px 0 1px 120px;
        text-shadow: 0 1px 0 #000;
        text-align: left;
    }
    #header h1 a {
        text-decoration:none;
    }
    #addreview {
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
        position:absolute;
        background:#fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.22);
        width:600px;
        padding:40px;
        color: #000;
    }
    #reviews h3 {
        color:#fff;
        text-shadow: 0 1px 0 #000;
    }
    #addrevfullcont h3 {
        color:#000;
        text-shadow: 0 1px 0 #fff;
    }
    #reviews {
        color:#fff;
        background: #d90012;
        position:relative;
        margin:0;
        box-shadow: 0 1px 3px 2px rgba(221, 221, 221, 1);
        width:100%;
        padding:1px 40px 20px 40px;
        
        box-sizing: border-box;
    }
        #reviews {
        text-align:center;
        min-height:60px;
    }
    #addreviewbutt {
        margin-top:30px;
    }
    .review {
        color:#333;
        margin-bottom:10px;
        background:#f9f7f7;
        text-align:left;
        padding:20px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.22);
    }
    #subcontent {
    margin-left:40px;
    margin-right:40px;
    text-align:center;
}
    #rbreads {
        position:absolute;
        right:40px;
        top:0;
        text-align:right;
    }
    .formdiv p {
        height:22px;
    }
    .footerdiv {
        margin-right:20px;
        margin-bottom:20px;
    }
    .breads {
        position:absolute;
        left:40px;
        text-align:left;
        top:0;
    }
        #footer a {
        color:#2b2b2b;
    }
        #footer a:hover {
            color:#fff;
        }
        #tcontact
    {
        margin:10px 0 14px 0;
        color:#fff;
    }
    .ccontact
    {
        margin:0 0 6px 0;
        color: #fff;
    }
    .usluga:active {
        bottom: -2px;
        position: relative;
    }
    #content {
        text-shadow: 0 1px 0 #000;
        font-size: 120%;
        background: #d90012;
        text-align:left;
        vertical-align:top;
        padding:1px 40px 20px 40px;
        color:#fff;
    }
    #footer {
        /*border-top: 2px solid #fff;*/
        padding:20px 40px 10px 40px;
        text-align:left;
        margin:0;
        background:#d90012;
        color:#333;
    }
    h1,#likeh1 {
        text-align:center;
        margin-bottom:0;
        font-size: 2em;
        font-weight: bold;
        margin-top:20px;
    }
    #likeh12 {
        text-align:left;
        margin-bottom:10px;
        font-size: 2em;
        font-weight: normal;
        margin-top:0;
    }
    #smallh1 {
        font-size: 1em;
        text-align:left;
        margin:0;
        font-weight: normal;
        font-family: 'Proxima Nova', Arial, 'Helvetica Neue', sans-serif;
    }
    #likeh2 {
        font-size: 1.5em;
        text-align:center;
        margin:0 0 20px 0;
        font-weight: bold;
    }
    .usluga div {
        margin:auto;
        position:absolute;
        top:50%;
        left:50%;
        transform: translate(-50%, -50%);
    }

    .usluga {
        position:relative;
        text-align:center;
        vertical-align:top;
        background: #F5F5F5;
        opacity: 1;
        box-shadow: 0 2px 4px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.22);
        color: #000;
        display:inline-block;
        margin:9px;
        cursor:pointer;
        border-radius: 4px;
        width:184px;
        height:184px;
    }
    .usluga:hover {
        box-shadow: 0 0 3px 2px rgba(221, 221, 221, 1);
        cursor:pointer;
    }
    body {
        min-width:900px;
        max-width:900px;
        padding:0 0 0 0;
        text-align:left;
        margin:auto;
        
        background:#eee;
        overflow-y: scroll;
        font-family: "PT Sans", sans-serif;
    }
    #topad {
        margin-left:-40px;
        margin-right:-40px;
        margin-bottom:10px;
    }
    #body {
        text-align:center;
        box-sizing:border-box;
        border-radius: 4px;
        width:100%;
        background:#fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.22);
        display:inline-block;
        padding:0 0 0 0;
        color:#333;
    }
    #profilrating {
        text-align:center;
    }
    .width580 {
        width:580px;
    }
    .textcenter {
        text-align:center;
    }
    #telicon {
        width:16px;height:16px;
    }
    #cancelimg3 {
        box-shadow:none;
        position:absolute;
        width:30px;
        right:20px;
        top:10px;
        cursor:pointer;
    }
    #cancelimg4 {
        box-shadow:none;
        position:absolute;
        width:30px;
        right:10px;
        top:10px;
        cursor:pointer;
    }
    #cancelimg2 {
        position:absolute;
        width:30px;
        right:10px;
        cursor:pointer;
    }
    #gmaps {
        display:none;
        margin-bottom:0;
        margin-top:44px;
    }
    .conttext,#telo {
        text-align:left;
        margin:0 40px 0 40px;
    }
    .fio {
        width:200px;
    }
    .smallnumber {
        width:20px;
    }
    .mediumnumber {
        width:40px;
    }
    #noflats {
        margin-top:30px;
        background:#FFFFCC;
    }    
    #note {
        box-shadow: 0 0 2px 1px rgba(221, 221, 221, 1);
        background:#FFFFCC;
        margin-top:-20px;
        padding:20px;
        margin-bottom:20px;
        position:relative;
        display:none;
    }
    #cancelimgnote {
        position:absolute;
        top:0;
        right:0;
    }
    #back_btn img {
        width:70px;
    }
    #back_btn img:hover {
        opacity:0.9;
    }
    #back_btn:active {
        position: relative;
        top: 2px;
    }
    #back_btn {
        margin-bottom: 10px;
        margin-left: 40px;
        cursor: pointer;
        float: left;
        margin-top: 10px;
    }    
    .inputcity {
        position:relative;
        display:inline-block;
    }
    #outputtext {
        font-size: 18px;
    }
    textarea {
        font-size: 18px;
        font-family: "PT Sans", sans-serif;
    }
}
@media (max-width: 1001px) {
    .ad {
        padding:10px 0 0 0;
        text-align:center;
    }
    textarea {
        font-size: 18px;
        font-family: "PT Sans", sans-serif;
    }
    body {
        font-size: 18px;
    }
    #answer {
        color: #001dff;
        background: #00000030;
        font-size: 130%;
    }
    #translit textarea {
        font-size: 110%;
        width: 100%;
        height: 10vh;
    }
    #trbut {
        font-family: "PT Sans", sans-serif;
        background: #fff;
        box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.96);
        font-weight: bold;
        height: 50px;
        font-size: 105%;
        color: #693034c4;
        margin: 0;
        padding: 0;
        width: 100%;
        border: 0;
    }
    #inputtext {
        margin-top:10px;
    }
    #outputtext {
        margin-bottom:0;
    }
    #trbutdiv {
        margin: 6px 0 10px 0;
    }
    #trbut:active {
        background: #23821df7;
        filter: contrast(0.8);
        transition: all 0.1s;
        color: #fff;
    }
    #outputtext, #inputtext {
        opacity: 0.8;
        color: #888;
        padding: 10px;
        width: 100%;
        height: 140px;
        overflow: auto;
        background-color: #fff;
        box-sizing: border-box;
    }
    #nowpoisk h3 {
        text-align: center;
        margin-bottom: 10px;
    }
    #nowpoisk {
        word-break: break-all;
        padding: 0 10px;
        text-align: left;
        margin-bottom:20px;
        }
    .inputcity:first-child {
        margin-top:10px;
    }
    .inputcity {
        text-align: center;
        position:relative;
    }
    #showbtn {
        text-align: center;
        margin-top:10px;
    }
    #searchedcities,#searchedcities2 {
        position:absolute;
        background:white;
        z-index:2;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
    }
    #back_btn {
        float:left;
        margin-right:10px;
        margin-left:10px;
        margin-top: 10px;
    }
    #back_btn img {
        width:15vw;
    }
    button { 
        margin-top:10px;
        font-family: "PT Sans", sans-serif;
    }
    #note {
        box-shadow: 0 0 2px 1px rgba(221, 221, 221, 1);
        background:#FFFFCC;
        padding:10px 30px 10px 10px;
        margin-bottom:10px;
        position:relative;
        display:none;
        text-align:left;
    }
    #cancelimgnote {
        position:absolute;
        top:10px;
        right:2px;
    }
    #noflats {
        margin-top:10px;
    }
    #copyright {
        text-align: left;
        margin-top:10px;
        color:#e2e2e2;
    }
    #hideflatbutt:active {
        top:2px;
        position:relative;
    }
    #hideflatbutt {
        padding: 10px;
        box-shadow: 0 0 2px 1px rgba(221, 221, 221, 1);
        cursor: pointer;
        color: #dddee0;
        float:right;
    }
    #hideflatbutt:hover {
        opacity: 1;
        color: #c2d1f0;
        box-shadow: 0 0 4px 1px rgba(221, 221, 221, 1);
        background: #fbfbfb;
    }
    h3 {
        font-family: 'Proxima Nova', Arial, 'Helvetica Neue', sans-serif;
    }
    #flatrating {
        display:inline-block;
    }
    #fotki {
        width:100%;
        margin-top:10px;
    }
        #fotki a {
        width:100%;
    }
    .imageinflat {
        width:100%;
    }
        .imageinflat img {
        width:100%;
    }
    .topmarginmob {
        margin-top:10px;
    }
    #rbreads {
        display:none;
    }
    input::-webkit-input-placeholder {
        
    }
    #citysearch {
        
    }
    #cancelimg4 {
        box-shadow:none;
        position:absolute;
        width:30px;
        right:2px;
        top:2px;
        cursor:pointer;
    }
    #cancelimg3 {
        box-shadow:none;
        position:absolute;
        width:30px;
        right:10px;
        top:6px;
        cursor:pointer;
    }
    #addreview {
        z-index:2;
        background:#f9f9ff;
        text-align:center;
    }
    #addreview {
        box-shadow: 1px 2px 2px 1px rgba(0,0,0,0.25), 1px 1px 1px 2px rgba(0,0,0,0.22);
        
        width:100%;
        padding-top:10px;
        padding-bottom:1px;
        
        position: relative;
        
        top:50%;
    }
    #sendreviewform {
        margin:10px 0 10px 0;
    }
    #reviews h3 {
        margin-top:0;
        margin-bottom:20px;
    }
        #reviews {
        z-index:1;
        text-align:center;
        margin-bottom:0;
    }
    #content div p {
        margin-bottom:0;
    }
    #content subcont {
        padding-bottom:10px;
    }
    #addreviewbutt {
        margin-left:20px;
        margin-top:10px;
    }
    .review {
        margin-bottom:16px;
        background:#f9f7f7;
        width:100%;
        padding:10px;
        text-align:left;
        box-shadow: 0 2px 4px rgba(0,0,0,0.25), 0 2px 4px rgba(0,0,0,0.22);
        box-sizing:border-box;
}
#send_comment {
    margin-top:20px;
    margin-bottom:10px;
}
.h2margin h2 {
    text-align:center;
}
        #views {
        text-align:right;
    }
    #views div img {
       height:18px;
       vertical-align: middle;
       display: block;
    }
    #views div {
        
        vertical-align: middle;
        display:inline-block;
    }
    .formdiv p {
        height:24px;
        vertical-align: middle;
        line-height: 24px;
        font-size:16px;
    }
    .fullwidth {
        margin-top:10px;
        width:100%;
    }
    .warn {
        background:#FF8784;
    }

    .inlbl {
        display:inline-block;
    }
   #cancelimg2 {
       float:right;
        width:30px;
        
        cursor:pointer;
   }
    .footerdiv {
        padding-left:0;
    }
    #tcontact
    {
        margin: 10px 0 1px 0;
        color:#fff;
    }
    .ccontact
    {
        margin:0 0 6px 0;
        color: #c3c3c3;
    }
    #poisk {
        color: #fff;
        background: #0033a0ad;
        padding: 20px 0;
    }
    #content {
    box-shadow: -1px 0px 4px rgba(0,0,0,0.25);
    padding: 1px 10px 0 10px;
    text-align:left;
    }
    #footer {
        text-align:left;
        margin:0 0 0 0;
        background:#d90012c2;
        color:#959595;
        box-shadow: 0 0 10px #b1b1b1;
        padding:1px 10px 10px 10px;
    }
    #footer a {
        color:#333;
    }
    #krop {
        margin-top:10px;
        background-color: #FFFFCC;
        text-align:left;
    }
    .topdiv {
        display:inline-block;
        vertical-align:top;
        margin-top:10px;
    }
    h2,#likeh2 {
        text-align:left;
        margin:0 10px 10px 10px;
        font-size:5vw;
    }
    .onlypc {
        display:none;
    }
    #telicon {
        height:5vw;
    }
    h1,#likeh1 {
        text-align:left;
        font-size:6vw;
        margin:10px 10px 10px 10px;
        font-weight: bold;
    }
    body {
        width:100%;
        text-align:left;
        margin:auto;
        background:#fff;
    }
    #topad {
        margin-bottom:10px;
        height:100px;
    }
    #body {
        text-align:center;
        box-sizing:border-box;
        border-radius: 2px;
        width:100%;
        background:#fff;
        box-shadow: 0 0 3px 2px rgba(221, 221, 221, 1);
        display:inline-block;
        padding:0;
        color:#333;
    }
    a {
    -webkit-tap-highlight-color: transparent;
}
    input[type='text'],
    input[type='password'],
    input[type='number'],
    input[type='file'],
    input[type='submit'],
    input[type='date'],
    input[type='tel'],
    textarea,
    select:focus,
    select,
    .g-recaptcha{
      font-size: 18px;
      box-sizing: border-box;
    }
    #header h1 a {
        text-decoration:none;
    }
    #reviews {
        box-shadow: -2px 3px 2px 1px rgba(0,0,0,0.25);
        width:100%;
        position: relative;
        top:50%;
        padding-top:40px;
        padding-bottom:10px;
        padding-left: 10px;
        padding-right: 10px;
        box-sizing: border-box;
    }
    ul {
        margin-bottom: 10px;
        margin-top:10px;
    }
    #translit form {
        margin-top:10px;
    }
}