@media (max-width: 1000px) {
    body {
        min-width: 640px;
    }
    .wrapper {
        min-width: 640px;
    }
    .container {
        width: 640px;
    }
    /* header */
    .topfon {
        background: none;
    }
    .topfon:after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: calc(40% + 19px);
        height: 83px;
        background: #33aeb0;
    }
    .maingreen .topfon:after {
        left: 0;
        right: auto;
        background: #de4347;
    }
    .called .topfon:after {
        height: 132px;
    }
    .topangle {
        height: 133px;
        padding-bottom: 22px;
    }
    .stripe {
        height: 266px;
        width: 144%;
        left: -72%;
        top: -133px;
        transform: skewX(-8deg);
    }
    .maingreen .stripe {
        right: -72%;
        transform: skewX(8deg);
    }
    .topthere {
        width: 65%;
        padding: 6px 40px;
    }
    .maingreen .topthere {
        width: 65%;
        padding: 6px 0 6px 20px;
    }
    .toplogo {
        margin-right: 5px;
    }
    .maingreen .toplogo {
        margin-right: 0;
    }
    .topbetv {
        width: 10%;
    }
    .topother {
        width: 25%;
    }
    .maingreen .topother {
        padding-left: 40px;
    }
    .topname {
        max-width: 260px;
    }
    .topname.lesser {
        font-size: 16px;
    }
    .topothername .long {
        display: none;
    }
    .topothername .short {
        display: inline;
    }
    .tomcall {
        display: inline-block;
        vertical-align: top;
        width: 20px;
        height: 20px;
        position: relative;
    }
    .tomcall span,
    .tomcall span:before,
    .tomcall span:after {
        content: '';
        display: block;
        position: absolute;
        height: 2px;
        width: 20px;
        left: 0;
        background: #fff;
    }
    .tomcall span {
        top: 10px;
    }
    .tomcall span:before {
        top: -6px;
    }
    .tomcall span:after {
        top: 6px;
    }
    .called .tomcall span {
        background: none;
    }
    .called .tomcall span:before {
        top: 0;
        transform: rotate(-45deg);
    }
    .called .tomcall span:after {
        top: 0;
        transform: rotate(45deg);
    }
    .topothermenu {
        display: none;
    }
    .called .topothermenu {
        display: block;
    }
    .tompoint {
        display: block;
        color: #fff;
    }
    .tompoint:hover {
        color: #191919;
    }
    .toputils {
        margin: -15px 0 20px;
    }
    .toplever {
        padding-left: 10px;
    }
    .topsocials {
        padding-right: 10px;
    }
    .topmainmenu {
        height: 32px;
    }
    .menuline {
        width: 100%;
        margin: 0;
        padding: 0;
        font-size: 16px;
        line-height: 22px;
    }
    .menupoint.house {
        margin: 0;
        height: 22px;
        padding: 5px 7px;
        width: 23px;
        float: left;
    }
    .menupoint.house a{
        width: 23px;
        height: 22px;
        background: url(/images/ico_house_p.png) center center no-repeat;
    }
    .menuflex {
        margin-left: 40px;
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-between;
    }
    .mpwrap {
        padding: 5px;
    }
    .current_child + .submenu {
        margin-top: -25px;
    }
    .current_child,
    .submenu {
        padding-bottom: 7px;
    }
    .current_child,
    .submenu li {
        font-size: 15px;
        line-height: 18px;
        height: 18px;
    }
    .submenu li a,
    .current_child a {
        height: 18px;
    }
    /* footer */
    footer .topfon:after {
        margin-left: -30px;
        right: auto;
        border-left: 60px solid #33aeb0;
        border-bottom: 10px solid #de4347;
        visibility: hidden;
    }
    .subscribeform {
        padding: 0 10px;
    }
    .subscribeform input {
        width: 150px;
        height: 15px;
        font-size: 13px;
        line-height: 15px;
        background: #ddd;
    }
    .subscribeform button {
        width: 40px;
        height: 15px;
        font-size: 12px;
        line-height: 15px;
        background: #000;
        color: #fff;
    }
    .sponsorthanks {
        font-size: 14px;
        padding: 15px 0;
    }
    .bricks {
        display: block;
        height: auto;
        text-align: center;
        margin: 10px 0;
    }
    .bricks > a,
    .bricks > span {
        display: inline-table;
        vertical-align: top;
    }
    .bricks > a > span,
    .bricks > span > span {
        display: table-cell;
        vertical-align: middle;
        height: 100px;
    }
    .subscribeform .long {
        display: none;
    }
    .subscribeform .short {
        display: inline;
    }
    /* popups */
    #bigpopup {
        width: 560px;
        margin-left: -300px;
        padding: 20px;
    }
    /* main */
    .tile-30years {
        display: none;
    }
    /* pages */
    .gallery,
    .gallery-cd {
        padding: 20px 10px;
    }
    .gal-unit:nth-child(even) {
        margin-right: 0;
    }
    .rulers {
        margin: 0 20px;
    }
    .rule-unit {
        width: 200px;
    }
    .tp-table {
        margin: 0 5px;
        width: 630px;
        border-spacing: 10px;
    }
    .tp-column:only-child {
        margin: 0 31px;
    }
    .partner-list {
        margin: 0;
    }
    .partners .text {
        margin: 0;
    }
    .textpage img {
        max-width: 100%;
    }
    .com-top {
        height: 60px;
    }
    .com-list {
        width: 300px;
    }
    .com-line {
        width: 280px;
    }
    .com-info {
        margin-left: 320px;
    }
    .calendar {
        padding: 0;
    }
    .cal-unit {
        padding: 10px;
    }
    .cal-right {
        margin-left: 150px;
    }
    .open .cal-info {
        display: block;
    }
    .cal-info > div {
        width: auto;
    }
    .cal-descr:only-child, .cal-column:only-child {
        width: auto;
    }
    .cal-morephoto {
        margin: 20px 0;
    }
    .press-unit:nth-child(even) {
        margin-right: 0;
    }
    .video-list {
        margin: 0 0 0 -20px;
    }
    .video-item {
        margin: 0 0 40px;
        width: 640px;
    }
    .video-item iframe {
        width: 640px;
        height: 360px;
    }
    .rel-image {
        margin: 0 20px 10px 0;
    }
    .rel-image + .rel-info {
        margin-left: 0;
    }
    .projects {
        padding: 0;
    }
    .proj-unit {
        margin-bottom: 20px;
    }
    .proj-photo,
    .proj-photo img {
        height: 320px;
        width: 320px;
    }
    .proj-desc {
        height: 280px;
        width: 280px;
        padding: 20px;
    }
    .proj-cell {
        height: 280px;
        width: 280px;
    }
    .proj-arr {
        top: 20px;
        right: 20px;
    }
    .proj-desc h2 {
        font-size: 22px;
        line-height: 22px;
    }
    .proj-desc h3 {
        font-size: 18px;
        line-height: 22px;
    }
    .proj-short {
        font-size: 16px;
        line-height: 20px;
    }
    .archive .proj-unit {
        width: 640px;
        margin: 0 0 40px;
        float: none;
    }
    .archive .proj-header {
        width: 640px;
        height: 450px;
    }
    .archive .proj-photo,
    .archive .proj-photo img {
        width: 450px;
        height: 450px;
    }
    .archive .proj-desc {
        height: 390px;
        width: 390px;
        padding: 30px;
    }
    .archive .proj-cell {
        height: 390px;
        width: 390px;
    }
}
@media (max-width: 1000px) and (min-width: 661px) {
    /* main page */
    .mp-unit.tablet-thin {
        height: 220px;
    }
    .mp-unit.tablet-wide {
        width: 620px;
    }
    .tablet-thin .mp-descr {
        top: 0;
        padding-top: 55px;
    }
    .tablet-red .mp-descr {
        background: #de4347;
    }
    .tablet-green .mp-descr {
        background: #33aeb0;
    }
    .mp-unit.tablet-thin .mp-time {
        margin-top: 0;
    }
    .tablet-green .mp-topangle:before {
        border-top-color: #b0d2d3;
    }
    .tablet-green .mp-botangle:before {
        border-bottom-color: #b0d2d3;
    }
    .mp-tablet-duotone .duotone-gray {
        opacity: 0
    }
}
