@import "base.css";

body {
    background:#fff;
    margin:0;
}

#page {
    width:90%;
    min-width: 320px;
    max-width: 1200px;
    color:#222;
    margin: 0px auto;
}

#top {
    color:#fff;
    overflow:hidden;
    zoom:1;
    background:#6abbe2;
    border-radius:6px;
    padding:6px 15px;
}

#logo {
    width:430px;
    float:left;
    padding-top:10px;
}

#logo .phone {
    padding-left:28px;
}

#headimg {
    float:right;
    width:445px;
    height:168px;
    position:relative;
    overflow:hidden;
}

#headimg .img {
    position:absolute;
    right:0;
    top:0;
    z-index:1;
}

#headimg .blend {
    position:absolute;
    right:0;
    top:0;
    z-index:2;
}

#logo p {
    font-size:15px;
}

#logo p img {
    vertical-align:middle;
}

#logo p a {
    font-size:24px;
    font-weight:700;
    text-decoration:none;
    color:#fff;
}

#nav_wrap {
    background:#6abbe2;
    border-radius:6px;
    margin:8px 0;
    padding:6px 15px;
}

#nav {
    padding:0 28px;
}

#nav li a {
    line-height:24px;
    color:#fff;
    font-size:12px;
    font-weight:700;
    text-decoration:none;
}

#nav li {
    margin-right:35px;
}

#catalog {
    margin-bottom:8px;
}

#maincnt {
    padding-bottom:20px;
    overflow:hidden;
    zoom:1;
}

#sub_maincnt,#top_maincnt {
    font-size:0;
}

#sub_maincnt,#top_maincnt,#sub_maincnt div,#sub_maincnt p,#top_maincnt div,#top_maincnt p {
    height:8px;
}

#sub_maincnt div,#top_maincnt div {
    float:right;
    width:232px;
    margin-left:8px;
}

#sub_maincnt p,#top_maincnt p {
    margin-right:240px;
}

#rgtColumn {
    float:right;
    width:190px;
    overflow:hidden;
    border-left:1px solid #acdff8;
    border-right:1px solid #6abbe2;
    margin-left:8px;
    margin-bottom:-12000px;
    font-size:12px;
    padding:8px 20px 12000px;
}

#rgtColumn h1 {
    text-align:center;
}

#rgtColumn h2,#rgtColumn h3 {
    font-size:12px;
    font-weight:400;
}

#rgtColumn a {
    text-decoration:underline;
    color:#333435;
}

#rgtColumn ul {
    list-style:none;
    padding-left:0;
}

#cntColumn {
    overflow:hidden;
    zoom:1;
    border-left:1px solid #acdff8;
    border-right:1px solid #acdff8;
    margin-bottom:-12000px;
    padding:20px 30px 12000px 15px;
}

#order td {
    vertical-align:middle;
    padding:4px;
}

#footer {
    font-size:11px;
    margin:14px 0 0;
}

.more {
    text-decoration:underline;
    text-align:right;
}

.r-star-shape {
    position:relative;
    overflow:hidden;
    display:block;
    zoom:1;
    padding:8px 0;
}

.r-star-shape .content {
    border-left:1px solid #acdff8;
    border-right:1px solid #acdff8;
    overflow:hidden;
    zoom:1;
    padding:8px 15px;
}

.r-star-shape .cn {
    display:block;
    position:absolute;
    width:16px;
    height:16px;
    left:-8px;
    top:-8px;
    font-size:0;
    background:url(images/round2.png);
}

.r-star-shape .cn.tl,.r-star-shape .cn.bl {
    width:100%;
}

.r-star {
    position:relative;
    overflow:hidden;
    zoom:1;
    background:#54FF9F;
    padding:6px 0;
}

.r-star .content {
    background:#54FF9F;
    padding:0 15px;
}

.r-star .cn {
    position:absolute;
    width:12px;
    height:12px;
    left:-6px;
    top:-6px;
    background:url(images/round1.png);
    font-size:0;
}

.catlist {
    list-style:none;
    width:500px;
    float:left;
}

.catlist li {
    margin-bottom:0;
}

.catlist li a {
    color:#1b719b;
    font-size:12px;
    text-decoration:none;
}

.catlist li a.active {
    color:#a3aeb3;
}

.catlist li a:hover {
    text-decoration:underline;
}

.special {
    width:299px;
    float:right;
    height:131px;
    background:url(images/akcii.jpg) no-repeat;
}

.special h2,.special h2 a {
    text-align:center;
    font-size:20px;
    color:#5b2b01;
}

.tabCat {
    width:100%;
    font-size:12px;
}

td.img {
    width:137px;
    padding:0 10px 10px 0;
}

.blockName {
    height:30px;
}

.buttonBG {
    vertical-align:middle;
    width:92px;
    padding:0 35px 10px 10px;
}

.buttonBG a {
    display:block;
    background:url(images/button.png) no-repeat;
    width:92px;
    height:25px;
    padding-top:2px;
    color:#5b2b01;
    text-align:center;
}

.buttonBG a:hover {
    text-decoration:none;
}

.left,.right,.left a,.right a {
    color:#1b719b;
}

.center,.center a {
    color:#333435;
}

.left,.right {
    width:300px;
}

.left {
    float:left;
}

.right {
    float:right;
}

.center {
    margin:0 320px;
}

.news img {
    float:left;
    margin:0 10px 10px 0;
}

.clearfloat {
    clear:both;
    height:0;
    font-size:1px;
    line-height:0;
}

.adminButton {
    font-family:Arial, Helvetica, sans-serif;
    background:transparent;
    border:1px dotted #000;
    color:#000;
    font-size:9px;
}

#page .pager {
    font-size:12px;
    line-height:26px;
    margin:0 0 0 -3px;
}

#page .pager a {
    color:#070707;
    text-decoration:underline;
    margin:0 6px;
}

#page .pager b {
    color:#fff;
    background:#54FF9F;
    margin:0 3px;
    padding:7px 5px 5px 6px;
}

div.gen-wrapper {
    padding-top:20px;
    padding-left:180px;
    overflow:hidden;
    margin:0 0 20px;
}

table.forms-table {
    width:560px;
    border-collapse:collapse;
    border-spacing:0;
}

table.forms-table td.field-name {
    width:150px;
    text-align:right;
}

table.forms-table td {
    vertical-align:top;
    padding:5px 10px 5px 0;
}

input.textfield,select.textfield {
    background:#f4f4f4 none;
    border:1px solid #a5a5a5;
    width:400px;
    font-size:14px;
    line-height:22px;
    height:22px;
}

span.important {
    color:#b30f0f;
    font-size:14px;
    font-weight:700;
}

textarea.textarea {
    background:#f4f4f4 none;
    border:1px solid #a5a5a5;
    width:390px;
    font-size:14px;
    line-height:20px;
    height:150px;
}

#clon_items {
    color:#FFF;
    padding-left:5px;
    padding-top:2px;
    padding-bottom:5px;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    background:#54FF9F;
    display:block;
    float:left;
    height:18px;
    width:85px;
}

.r-star-shape .cn.tr,.r-star-shape .cn.br,.r-star .cn.tr,.r-star .cn.br {
    margin-left:100%;
}

.r-star-shape .cn.bl,.r-star-shape .cn.br,.r-star .cn.bl,.r-star .cn.br {
    top:auto;
}

.tabCat h3 a,.news h3,.news h3 a {
    font-size:14px;
    color:#333435;
}

.news,.hidden {
    overflow:hidden;
    zoom:1;
}
#order table tr td input[type="reset"] {
    background: transparent;
    border: 2px solid red;
    color: red;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
}
#order table tr td input[type="submit"] {
    background: transparent;
    border: 2px solid #6abbe2;
    color: #6abbe2;
    font-weight: bold;
    margin-bottom: 20px;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
}
#order table tr td input[type="reset"]:hover {
    transition: all 0.3s;
    background: red;
    color: white;
}
#order table tr td input[type="submit"]:hover {
    transition: all 0.3s;
    background: #6abbe2;
    color: white;
}
#maincnt #rgtColumn .last-news-pagination a, #maincnt #cntColumn .last-news-pagination a {
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #6abbe2;
    color: #6abbe2;
    text-decoration: none;
    background: transparent;
    margin-right: 10px;
    font-weight: bold;
    cursor: pointer;
}
#maincnt #rgtColumn .last-news-pagination a:hover, #maincnt #cntColumn .last-news-pagination a:hover {
    background: #6abbe2;
    transition: all 0.3s;
    color: #fff;
}
@media screen and (min-width: 1005.85px) {
    .close {
        display: none;
    }
    .burger {
        display: none;
    }
}
@media screen and (max-width: 1005.80px) {
    .burger {
        display: flex;
        flex-direction: column;
        border: 2px solid #fff;
        align-items: center;
        justify-content: center;
        position: fixed;
        z-index: 2;
        left: 15px;
        top: 15px;
        width: 45px;
        height: 45px;
        background: #6abbe2;
    }
    .burger span {
        display: block;
        width: 25px;
        height: 5px;
        background: #fff;
    }
    .burger span:nth-child(2) {
        margin-top: 5px;
        margin-bottom: 5px;
    }
    #top {
        display: flex;
        flex-direction: column-reverse;
    }
    #nav_wrap {
        background: transparent;
    }
    #logo {
        width: 100%;
    }
    #logo p {
        text-align: center;
    }
    #logo p a {
        font-size: calc(12px + 1vw);
        text-align: center;
    }
    #logo h3 {
        font-size: calc(12px + 1vw);
    }
    #logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #headimg {
        width: 100%;
        text-align: center;
    }
    #headimg .blend {
        display: none;
    }
    #headimg .img {
        position: static;
        height: auto !important;
    }
    #top_maincnt {
        display: none;
    }
    #sub_maincnt {
        display: none;
    }
    #cntColumn {
        padding: 20px;
        margin-bottom: 0;
        overflow: unset;
        border: 1px solid #acdff8;
        border-radius: 5px;
        display: flex;
        flex-direction: column;
    }
    #cntColumn .evac-working, #cntColumn .cont-tel{
        font-size: calc(9px + 1vw) !important;
    }
    #cntColumn .imgs span strong {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #cntColumn p  {
        text-align: left !important;
    }
    #cntColumn p .main-text strong span {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: left !important;
        font-size: calc(9px + 1vw) !important;
    } 
    #cntColumn p {
        line-height: 1.5;
    }
    #cntColumn p .main-text strong span img {
        float: none !important;
    }
    #maincnt {
        display: flex;
        flex-direction: column;
    }
    #maincnt #rgtColumn {
        display: flex;
        flex-direction: column;
        float: none;
        padding: 20px;
        margin-bottom: 0;
        overflow: unset;
        width: auto;
        margin-left: 0;
        margin-bottom: 20px;
        border: 1px solid #6abbe2;
        border-radius: 5px;
    }
    #maincnt #rgtColumn .last-news-pagination {
        margin: 0;
        padding: 0;
    }

    #maincnt #rgtColumn .news-wrapper {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    #maincnt #rgtColumn .news-wrapper .last-news-row {
        width: 100%;
        margin-bottom: 20px;
    }
    #maincnt #rgtColumn .news-wrapper .last-news-row .last-news-row-text {
        font-size: calc(5px + 1vw);
    }
    #footer .content .center {
        display: none;
    }
    #footer .content .right {
        display: none;
    }
    #footer .content .left {
        width: 100%;
        text-align: center;
    }
    #nav {
        padding: 0;
    }
    ul.tabs {
        padding: 0;
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        z-index: 1;
        background: #6abbe2;
        width: 100%;
        left: 0;
        border-radius: 0;
        height: 100%;
        align-items: center;
        justify-content: center;
        transform: translate(-100%, 0);
        transition: all 0.5s;
    }
    ul.tabs.active {
        transform: translate(0, 0);
        transition: all 0.5s;
    }
    #nav li {
        margin-right: 0;
    }
    .close {
        display: block;
        position: fixed;
        top: 10px;
        z-index: 2;
        background: 0;
        border: 0;
        font-size: 24px;
        right: 15px;
        color: #fff;
    }
    #cntColumn .imgs span strong img {
        width: 100% !important;
        margin: 0 !important;
    }
    #cntColumn p strong span img {
        width: 100% !important;
        margin: 0 !important;
    }
    #cntColumn p strong img {
        width: 100% !important;
    }
    .contacts-page span {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #cntColumn p.contacts-paragraph {
        text-align: center !important;
    }
    .last-news-row {
        display: flex;
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #order {
        width: 100%;
    }
    #order table {
        width: 100%;
        border-radius: 5px;
    }
    #order table tr {
        display: flex;
        flex-direction: column;
        margin: 5px 0;
    }
    #order table tr td {
        width: auto;
        padding: 5px;
    }
    #order table tr td input, #order table tr td textarea, #order table tr td select  {
        width: 96%;
    }
    #order table tr td input[type="reset"] {
        background: transparent;
        border: 1px solid red;
        color: red;
        font-weight: bold;
        margin-bottom: 20px;
        border-radius: 5px;
        padding: 10px 0;
        width: 100%;
    }

    #order table tr td input[type="submit"] {
        background: transparent;
        border: 2px solid #6abbe2;
        color: #6abbe2;
        font-weight: bold;
        margin-bottom: 20px;
        border-radius: 5px;
        padding: 10px 0px;
        width: 100%;
    }

}
@media screen and (max-width: 400px) {
    #logo h3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px;
    }
    #logo h3 span {
        margin-bottom: 10px;
    }
}