@media only screen and (max-width: 768px) {
    .address-layout .tab {
     margin:0 3% !important;
     width:94%;
    }
    .address-layout address-layout-1, .address-layout .address-layout-2 {
/*     width:100%;*/
     display:block;
    }
    .reviews-form-wrapper {
/*     width: 100%;*/
    }
    .reviews-form-wrapper .stars {
     width:auto !important;
    }
    .reviews-form-wrapper form input, .reviews-form-wrapper form textarea {
     max-width:100%;
     width:auto;
     min-width:300px;
    }
    .reviews-form-wrapper form input[type="submit"] {
     margin-bottom:32px;
    }
    .tab img, ymaps, iframe {
     max-width:100% !important;
     height: auto !important;
    }
    .content-rows.service-7 .rows p.top {
        font-size: 1.5em;
    }

    .content-rows.service-7 .rows p.p-middle {
        font-size: 1.3em;
    }

    .content-rows.service-7 .rows p.bottom {
        font-size: 1.2em;
    }

    .content-rows.service-7 .details a {
        font-size: 1.5em;
    }
    /*    @media screen and (min-width: 321px) {
            body {
                font-size: 14px;
            }
        }*/

    .main-rows .row .row-actions {
        width: 98%;
        padding: 0 1%;
    }

    .main-rows .row-title-icon {
        display: none;
    }

    .main-rows .row-title {
        display: block;
        text-align: left !important;
    }

    .header-right-mobile {
        display: block;
        width: 55%;
        float: left;
        text-align: center;
        /*margin-left: 20%;*/
    }

    .header-right {
        display: none;
    }

    .details-page #header .header-tel {
        text-align: center;
    }

    .header-middle {
        display: none;
    }

    #main-container {
        width: 100% !important;
    }

    #header-menu > ul > li {
        padding: 0;
        width: 100%;
    }

    #header .header-top {
        min-width: inherit;
        margin: 0;
        position: relative;
    }

    #header #header-menu {
        min-width: inherit;
    }

    .content-rows .content-rows-title {
        padding: 0 1em;
    }

    .content-rows .rows {
        /*min-width: inherit;*/
        /*margin: 1em auto;*/
    }

    .form-wrapper {
        min-width: inherit !important;
    }

    .content-rows .triangle {
        margin: 0 auto;
    }

    #header #header-menu > ul > li {
        padding: 13.5%;
    }

    #header #header-menu > ul > li > a {
        font-size: 2.3em;
    }

    .content-rows .row {
/*        width: 96%;
        height: auto;
        padding: 0 0.5em 4em 0.5em;*/
        width: 98%;
        height: auto;
        min-height: 0;
        padding: 0 1% 4em 1%;
    }

    .content-rows .row .row-content {
        /*margin: 5px;*/
        margin: 0;
        height: auto;
    }

    .content-rows .row .row-title {
        background: none !important;
        padding-left: 0;
        font-size: 2.5em;
    }

    .content-rows .row .row-text {
        /*font-size: 1em;*/
        font-size: 1.5em;
        line-height: 1.2;
        margin: 0;
        text-align: left;
    }

    .content-rows .row .row-text br {
        display: none;
    }

    .content-rows .row .row-actions .left a,
    .content-rows .row .row-actions .right a {
        /*font-size: 1em;*/
        font-size: 1.8em;
        line-height: 2em;
    }

    .content-rows .row .row-actions .right {
        width: 10em;
    }

    .content-form {
        width: 95%;
        min-width: inherit;
    }

    .content-form.form-type-1 .form-left,
    .content-form.form-type-2 .form-left {
        float: none;
        margin: 0 auto;
        /*max-width: 332px;*/
        /*padding: 0 1em;*/
        width: 100%;
    }

    .content-form.form-type-1 .form-left input,
    .content-form.form-type-2 .form-left input {
        width: 95%;
        padding-left: 2%;
        padding-right: 2%;
    }

    .content-form.form-type-1 .form-right,
    .content-form.form-type-1 .form-right,
    .content-form.form-type-2 .form-right {
        float: none;
        margin: 0 auto;
        /*padding: 0 1em;*/
        /*max-width: 332px;*/
        width: 100%;
    }

    .content-form.form-type-1 .form-right textarea,
    .content-form.form-type-2 .form-right textarea {
        width: 95%;
        padding: 10px 2% 10px 2%;
        border: 2px solid #999999;
        margin: 0 auto 10px auto;
        color: #999999;
        font-size: 14px;
    }

    .content-form.form-type-2 .form-right textarea {
        border: 2px solid #ffffff;
    }

    .content-form.form-type-1 .form-right input,
    .content-form.form-type-2 .form-right input {
        /*max-width: 332px;*/
        width: 100%;
    }

    .content-rows.contact-us {
        /*padding: 1em 0;*/
    }

    .content-rows.contact-us .content-rows-title p {
        font-size: 3em;
        line-height: 1;
    }

    .content-rows.partners-row {
        /*padding: 2em 0;*/
    }

    #footer {
        padding: 0;
        background: #1f262e;
        color: #969b9f;
    }

    #footer .mobile {
        display: block;
    }

    #footer .screen {
        display: none;
    }

    #footer .mobile ul {
        padding: 0;
        margin: 0;
        width: 100%;
    }

    #footer .mobile ul li {
        list-style: none;
        width: 100%;
        text-align: left;
        /*line-height: 4em;*/
    }

    #footer .mobile ul li a,
    #footer .mobile ul li span {
        display: block;
        font-size: 2em;
        line-height: 2em;
        margin-left: 0.7em;
        text-decoration: none;
    }

    #footer .mobile ul#first-footer-menu li {
        border-top: 2px solid #393a3c;
        background: #ffffff;
    }

    #footer .mobile ul#first-footer-menu li:hover {
        cursor: pointer;
    }

    #footer .mobile ul#first-footer-menu li a,
    #footer .mobile ul#first-footer-menu li span {
        background: url("../images/arrow1.png") 97% center no-repeat;
        background-size: 0.5em 1em;
        color: #333a40;
    }

    @media screen and (orientation: portrait) {
        #footer .mobile ul#first-footer-menu li a,
        #footer .mobile ul#first-footer-menu li span,
        #footer .mobile ul#second-footer-menu li a,
        #footer .mobile ul#second-footer-menu li span {
            /*background-size: 1em 1.7em;*/
        }
    }

    #footer .mobile ul#second-footer-menu li {
        border-top: 1px solid #ffffff;
        background: #333a42;
    }

    #footer .mobile ul#second-footer-menu li a {
        background: url("../images/arrow2.png") 97% center no-repeat;
        background-size: 0.5em 1em;
        color: #ffffff;
    }

    #footer .to-top-button a {
        width: 100%;
        display: block;
        border-top: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        height: 4em;
        background: #333a42 url("../images/mobile-to-top.png") center center no-repeat;
        /*background-size: 3em;*/
        background-size: 2em;
    }

    #footer .footer-copyright {
        height: 3em;
        line-height: 3em;
    }

    .to-bot-menu {
        margin: 0.3em 0.3em 0.5em;
        float: right;
        position: absolute;
        top: 0;
        right: 0;
    }

    .to-bot-menu a {
        display: block;
        width: 45px;
        height: 45px;
        background: url("../images/mobile-to-bot-menu-button.png");
    }

    .header-tel {
        margin-top: 0.3em;
    }

    #logo-mobile {
        margin-top: 0.3em;
        width: 45%;
        float: left;
    }

    #logo-mobile img {
        width: 100%;
        /*min-height: 45px;
        min-width: 100px;*/
    }

    #header {
        margin: 0;
    }

    #header .header-bottom {
        margin: 0;
    }

    .details-menu .mobile {
        display: block;
        overflow: hidden;
    }

    .tabs-menu-comtainer {
        display: none;
    }

    #details-page-menu {
        display: none;
    }

    .details-menu .top-part {
        display: none;
    }

    #footer #footer-top-row,
    #footer #footer-bottom-row {
        display: none;
    }

    @media screen and (min-width: 321px) {
        a.become-a-partner {
            width: 292px;
        }
    }

    .details-menu .middle .tab {
        padding: 0;
    }

    #content {
        padding-top: 1em;
    }

    .details-page #content {
        /*padding: 1em 1em 0 1em;*/
        /*padding: 1em 0.5em 0 0.5em;*/
        /*padding: 0.5em 0.5em 0 0.5em;*/
        padding: 0.5em 0 0 0;
    }

    .content-container .element-details-mobile {
        display: block;
    }

    .content-container .element-details-mobile .row:last-child .row-title {
        color: #ffff00 !important;
    }

    #tabs {
/*        display: none;*/
	font-size:1.7em;
    }

    .details-page .content-container {
        padding: 0;
    }

    .details-page .order {
        margin: 1em 0;
        overflow: hidden;
    }

    .details-page .make-an-order a {
        font-size: 1em;
        line-height: 2.5em;
        /*float: left;*/
        padding: 0 1em;
    }

    .details-page .addresses a {
        font-size: 1em;
        /*line-height: 2.5em;*/
        line-height: 1;
        /*float: right;*/
        margin: 0;
    }

    .element-details-mobile .row-title {
        color: #505050;
        font-size: 2.3em;
        /*line-height: 1.1;*/
        line-height: 1.7;
        margin-bottom: 0.1em;
        padding-left: 0.4em;
        padding-right: 1.8em;
        background-size: 30px 12px !important;
    }

    .element-details-mobile .row-title:hover {
        cursor: pointer;
    }

    .element-details-mobile .row-title.title-bg-1 {
        background: #006798 url("../images/spoilers-down-white.png") no-repeat right 0.4em center;
        color: white;
    }

    .element-details-mobile .row-title.title-bg-1.active {
        background: #006798 url("../images/spoilers-up-white.png") no-repeat right 0.4em center;
    }

    .element-details-mobile .row-title.title-bg-2 {
        background: #009933 url("../images/spoilers-down-white.png") no-repeat right 0.4em center;
        color: white;
    }

    .element-details-mobile .row-title.title-bg-2.active {
        background: #009933 url("../images/spoilers-up-white.png") no-repeat right 0.4em center;
    }

    .element-details-mobile .row-title.title-bg-3 {
        background: #ffcc00 url("../images/spoilers-down-grey.png") no-repeat right 0.4em center;
        color: #333333;
    }

    .element-details-mobile .row-title.title-bg-3.active {
        background: #ffcc00 url("../images/spoilers-up-grey.png") no-repeat right 0.4em center;
    }

    .element-details-mobile .row-title.title-bg-4 {
        background: #990000 url("../images/spoilers-down-white.png") no-repeat right 0.4em center;
        color: white;
    }

    .element-details-mobile .row-title.title-bg-4.active {
        background: #990000 url("../images/spoilers-up-white.png") no-repeat right 0.4em center;
    }

    .element-details-mobile .row-title.title-bg-5 {
        background: #396765 url("../images/spoilers-down-white.png") no-repeat right 0.4em center;
        color: white;
    }

    .element-details-mobile .row-title.title-bg-5.active {
        background: #396765 url("../images/spoilers-up-white.png") no-repeat right 0.4em center;
    }

    .element-details-mobile .row-content {
        margin: 0.4em 0;
        font-size: 1.5em;
        line-height: 1.2;
        display: none;
    }

    .element-details-mobile .row-content img {
        max-width: 30%;
        height: auto;
    }

    .mobile-service-link {
        display: block;
        width: 98%;
        margin: 0 auto;
    }

    .mobile-service-link a {
        background: #333a40;
        color: #ffffff;
        text-decoration: none;
        font-size: 1.8em;
        /*max-width: 331px;*/
        width: 100%;
        display: block;
        text-align: center;
        line-height: 2.5em;
        border-radius: 2px;
        margin: 1em auto 1em auto;
    } .servdesc, .servdesc2 {text-align: left; font-size: 1em; }

    .front #header .header-top {
        min-width: 100%;
    }

    .front .service-6 #y-map {
        width: 80% !important;
        margin: 0 auto;
    }

    #header .header-tel {
        font-size: 1.9em;
        float: none;
    }

    @media only screen and (orientation: landscape) {
        #header #header-menu > ul > li {
            padding: 5%;
        }
    }

    #write-to-us {
        min-height: 540px;
    }

    @media only screen
    and (min-width: 320px)
    and (max-width: 480px) {

        #header .header-tel {
            /*text-align: right;*/
        }

        .content-rows .row .row-actions .left {
            margin-left: 0;
        }

        .content-rows .row .row-actions .right {
            margin-right: 0;
        }

        .content-rows .content-rows-title p {
            font-size: 1.3em;
        }

    }

    @media only screen
    and (min-width: 320px)
    and (max-width: 480px)
    and (orientation: landscape) {
        #header .header-tel {
            /*text-align: left;*/
        }
    }

    @media screen and (max-width: 320px) {
        #adress-title > p {
            font-size: 1.5em;
        }
    }

    #header-menu-scrolled {
        display: none !important;
    }

    .header-container .wrapper-container {
        /*width: 100%;*/
        display: block;
        border-right: 55px solid white;
        min-height: 52px;
    }

    #logo {
        display: none;
    }

    .details-page #main-container {
        min-width: 240px;
    }

    #reviews-form {
        /*display: none;*/
    }

    .details-page #header .header-tel {
        font-size: 1.8em;
    }

    span.become-a-partner {
        /*font-size: 1.3em;*/
        width: 82%;
        max-width: 330px;
        font-size: 1.8em;
        line-height: 2em;
    }

    .reviews-comments {
        display: none;
    }

    .reviews-comments.mobile {
        display: block;
    }

    .reviews-comments.mobile .reviews-form-wrapper {
        width: 100%;
        margin: 1em 0;
    }

    .reviews-comments.mobile .reviews-form-wrapper form input {
        padding: 0 2%;
    }

    .reviews-comments.mobile .reviews-form-wrapper form input[type='submit'] {
        text-decoration: none;
        font-size: 1.8em;
        width: 100%;
        height: auto;
        display: block;
        text-align: center;
        line-height: 2em;
        border-radius: 2px;
        margin: 1em auto 1em auto;
    }

    .reviews-comments.mobile .comments-controls .left span,
    .reviews-comments.mobile .comments-controls .right span {
        font-size: 1.5em;
    }

    .reviews-comments.mobile .comment-text *,
    .reviews-comments.mobile .comment-author-info * {
        font-size: 1.3em;
    }

    .reviews-comments.mobile #reviews-form-title {
        text-align: center;
        margin: 0;
        font-size: 2em;
        line-height: 1.1;
    }

    .reviews-comments.mobile form label {
        font-size: 1.7em;
        text-align: center;
        width: 100%;
        line-height: 1.5;
    }

    .reviews-comments.mobile form input,
    .reviews-comments.mobile form textarea {
        width: 96%;
        font-size: 1.5em;
    }

    .reviews-comments.mobile form textarea {
        width: 96%;
        height: 59px;
        padding: 2%;
    }

    .reviews-form-wrapper #reviews-form-mobile > div {
        margin-bottom:0.8em;
    }

    .reviews-form-wrapper #reviews-form-mobile .stars {
        width: 100% !important;
        height: auto !important;
    }

    .reviews-form-wrapper #reviews-form-mobile .stars > img {
        width: 14%;
        height: auto;
        display: block;
        float: left;
        margin: 0 3%;
    }

    .element-details-mobile .row-content #reviews-form-mobile {
        font-size: inherit;
    }

    .search-page #header {
        margin-bottom: 0;
    }

    .search-page #content {
        width: 98%;
        margin: 0 auto;
    }

    .search-head {
        font-size: 2.3em;
        margin: 0.1em 0 0.3em 0;
    }

    .search-page #content {
        padding: 0;
    }

    .search-result-rows .row-detail-url {
        display: none;
    }

    .search-result-rows .row {
        padding: 0.5em;
    }

    .search-result-rows .row-section {
        font-size: 2em;
    }

    .search-result-rows .row-title {
        font-size: 2.3em;
        margin: 0.3em 0;
    }

    .search-result-rows .row-description {
        font-size: 1.5em;
        width: 100%;
    }

    .bot-search-form {
        border-top: 2px solid #393a3c;
        background: #ffffff;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .bot-search-form form {
        display: block;
        margin: 0;
        padding: 0 6em 0 0;
        background: #f2f2f2 url("../images/mobile-search-form.png") no-repeat center right 0.7em;
        background-size: 2.3em;
        text-align: left;
    }

    .bot-search-form input {
        padding: 0;
        border: 0;
        outline: 0;
        display: block;
        width: 100%;
        background: #f2f2f2;
        font-size: 2em !important;
        height: 2em;
        margin: 0 0 0 0.7em;
        font-style: italic;
    }

    .empty-search-message {
        font-size: 1.5em;
    }

    .search-after {
        display: none;
    }

    .content-form .form-right input[type="submit"] {
        font-size: 2em;
        width: 99.7%;
        margin-bottom: 10px;
    }

    .details-page .order a {
        font-size: 1.8em;
        line-height: 2em;
    }

    .details-page .order > div {
        width: auto;
    }

    .details-page .order .make-an-order {
        float: left;
    }

    .details-page .order .addresses {
        float: right;
        padding: 0 1em;
    }

    .details-page .order .addresses a {
        line-height: 1em;
        margin-top: 0.5em;
    }

    .details-page .order {
        display: none;
    }

    #header #detail-page-top-menu {
        display: none;
    }

    #map-button {
        font-size: 1.5em;
    }

    #content-rows-partners .content-rows-title p {
        font-size: 2.5em;
    }

    #content-rows-partners .rows.middle p {
        font-size: 1.3em;
    }

    @media screen and (orientation: portrait) {
        #map-button {
            margin-right: 2em;
        }

        .content-rows .content-rows-title p {
            font-size: 1.5em;
        }

        .addresses-rows .rows-left,
        .addresses-rows .rows-middle,
        .addresses-rows .rows-right {
            float: left;
            width: 100%;
            overflow: hidden;
            margin-bottom: 1em;
        }

        .addresses-rows .rows-left .item-title,
        .addresses-rows .rows-middle .item-title,
        .addresses-rows .rows-right .item-title {
            margin-left: 0;
            width: 100%;
            float: none;
            text-align: center;
        }

        .addresses-rows .rows-left .item-content,
        .addresses-rows .rows-middle .item-content,
        .addresses-rows .rows-right .item-content {
            margin-left: 0;
            width: 100%;
            text-align: center;
            float: none;
            margin-bottom: 0;
        }

        .addresses-rows .row-item .item-title {
            font-size: 2.1em;
        }

        .addresses-rows .row-item .item-content {
            font-size: 1.8em;
        }
    }

    @media screen and (orientation: landscape) {
        .content-form.form-type-1 .form-left input[type="text"],
        .content-form.form-type-1 .form-left input[type="email"],
        .content-form.form-type-1 .form-left input[type="number"],
        .content-form.form-type-1 .form-right textarea,
        .content-form.form-type-2 .form-left input[type="text"],
        .content-form.form-type-2 .form-left input[type="email"],
        .content-form.form-type-2 .form-left input[type="number"],
        .content-form.form-type-2 .form-right textarea {
            margin-bottom: 0.4em;
        }

        #map-button {
            margin-right: 5em;
        }

        .content-rows .row .row-actions .right {
            float: left;
        }

        .addresses-rows .rows-left,
        .addresses-rows .rows-middle,
        .addresses-rows .rows-right {
            float: left;
            width: 50%;
            overflow: hidden;
        }

        .addresses-rows .rows-left .item-title,
        .addresses-rows .rows-middle .item-title,
        .addresses-rows .rows-right .item-title {
            margin-left: 0;
            width: 100%;
            float: none;
            text-align: center;
        }

        .addresses-rows .rows-left .item-content,
        .addresses-rows .rows-middle .item-content,
        .addresses-rows .rows-right .item-content {
            margin-left: 0;
            width: 100%;
            text-align: center;
            float: none;
            margin-bottom: 0;
        }

        .addresses-rows .row-item .item-title {
            font-size: 1.8em;
        }

        .addresses-rows .row-item .item-content {
            font-size: 1.7em;
        }

        .addresses-rows .clear {
            display: none;
        }
    }

    .content-rows .row .row-actions .left a {
        padding: 0 1em;
    }

    .content-rows .row .row-actions .left {
        margin: 0;
    }

    .content-rows .row .row-actions .right {
        margin: 0;
    }

    .content-rows.application .content-rows-title span.big {
        font-size: 1.2em;
        line-height: 1;
        display: block;
    }

    .content-rows.application .content-rows-title span.small {
        font-size: 1em;
        line-height: 1;
        display: block;
    }

    @media screen and (orientation: landscape) {
        .content-rows.application .content-rows-title span.small {
            font-size: 0.7em;
        }

        .content-rows.service-7 .content-border {
            margin-bottom: 0;
        }

        .content-rows.application .content-rows-title span.big {
            font-size: 0.9em;
        }

        .content-form .form-left input[type="text"],
        .content-form .form-left input[type="email"],
        .content-form .form-left input[type="number"] {
            font-size: 16px;
            padding-top: 1.2em;
        } 
    }

    .element-details-mobile .reviews-row {
        font-size: inherit;
    }

    .servdesc, .servdesc2  {
        width: 98%;
        padding: 1%;
        display:block;
    }

    body.details-page {
        overflow: inherit;
    }

    .details-page .details-menu > .mobile {
        margin: 0 0 0.8em 0.5em;
    }

    .imprint,
    .imprint .dh {
        font-size: 1.5em;
    }

    .imprint .dh {
        margin: 0.5em 0;
    }
}

@media screen
and (min-width: 550px)
and (max-width: 700px)
    /*and (min-height: 1100px)
    and (max-height: 1200px)*/ {

}

/*@media screen and (max-width: 1200px) {
    .content-rows .row .row-actions .left {
        margin-left: 1em;
        *//*margin: 0;*//*
    }

    .content-rows .row .row-actions .right {
        margin-right: 1em;
        *//*margin: 0;*//*
    }
}*/

@media screen and (min-width: 1201px) {
    .content-rows .row .row-actions .left {
        margin-left: 2em;
    }

    .content-rows .row .row-actions .right {
        margin-right: 2em;
    }
}

@media screen and (min-width: 500px) and (max-width: 640px) {
    .content-rows .row .row-text {
        font-size: 1.2em;
    }

    .content-rows .content-rows-title p {
        font-size: 2em;
    }

    .content-form .form-right input[type="submit"] {
        font-size: 2em;
    }

    .content-rows .row .row-content {
        /*height: 10em;*/
    }

    .content-rows .row .row-actions .left a,
    .content-rows .row .row-actions .right a {
        font-size: 1.7em;
    }

    .content-rows .row {
        padding: 0 0.5em 5em 0.5em;
    }

    .become-a-partner {
        font-size: 1.8em !important;
        width: 10em !important;
    } 
}

@media screen and (min-width: 300px) and (max-width: 355px) {
    .details-page .make-an-order a,
    .details-page .order .addresses a {
        font-size: 1.45em;
    } 
}