/*@import url('https://fonts.googleapis.com/css?family=Oswald');*/


/*--------------default---------------------------*/

* {
    border: 0 none;
    outline: 0;
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style-type: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: verdana;
}

/*modal windows*/

.modal_window {
    overflow: hidden;
    -webkit-transform: scale(0);
    transform: scale(0);
    width: 500px;
    border-radius: 10px;
    background-color: #f0f0f0;
    border: 1px solid #333;
    padding: 20px 40px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    -webkit-box-shadow: 2px 2px 45px 1px rgba(0, 0, 0, 0.76);
    box-shadow: 2px 2px 45px 1px rgba(0, 0, 0, 0.76);
}
.modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: rgba(36, 36, 36, 0.69);
    -webkit-transition: all 0.8s 0.5s;
    transition: all 0.8s 0.5s;
    overflow: hidden;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.modal_checkbox:checked ~ .modal_overlay {
    height: 100%;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}
.modal_checkbox:checked ~ .modal_overlay .modal_window {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.5s 0.5s;
    transition: all 0.5s 0.5s;
}
.modal_window .close {
    color: #bc4f1f;
    text-align: right;
    display: block;
}
.send,
.modal_ok {
    text-align: center;
    line-height: 30px;
    display: block;
    color: #fff;
}
.send,
.modal_ok,
.input_modal,
.button_modal {
    margin: 10px 0;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #999;
}
.input_modal {
    width: 100%;
    background-color: #fff;
    padding-left: 10px;
}
.send,
.modal_ok,
.button_modal {
    width: 50%;
    border-radius: 4px;
    background-color: #5ab157;
    margin: 30px 25%;
}

/*modal windows end*/


/*form*/


/*form end*/

.text_center {
    text-align: center;
}
button {
    cursor: pointer;
}
.tabs_plan .warning,
.warning {
    text-align: center;
    color: #ff9300;
    font-weight: bold;
}
.button {
    background-color: #ff0080;
    padding: 3px 12px 6px;
    margin: auto;
    cursor: pointer;
    text-align: center;
    border-radius: 5px;
    width: auto;
    font-family: Oswald;
    color: #fff;
    font-size: 24px;
    border: 1px solid #ff0080;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.button:hover {
    background-color: #fff;
    border: 1px solid #ff0080;
    color: #333;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.wrap_button {
    text-align: center;
    padding-top: 40px;
}

/*--------------------------- html body ---------------------*/

html {
    background-color: #fafafa;
}
body {}

/*-------------- top nav ------------------------------*/

#wrap_top {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    z-index: 1;
    background: #fff;
    -webkit-box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.32);
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.32);
}
#top {
    width: 90%;
    max-width: 1320px;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
nav {}
nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
nav ul li {
    margin: 0 5px;
    height: 90px;
    line-height: 130px;
    padding: 0 5px;
    font-size: 19px;
}
nav ul li:last-child {
    margin: 0 0 0 5px;
    padding: 0 0 0 5px;
}
nav ul li a {
    display: block;
    color: #777;
    font-family: Oswald;
}
nav ul li:hover {
    border-bottom: 4px solid #ff0080;
}
nav ul li:hover a {
    color: #ff0080;
}
.menu_active a {
    color: #000;
}

/*---------------------- header --------------------------------------*/

header {
    background-color: #fafafa;
    color: #fafafa;
    border-bottom: 1px solid #bbb;
    width: 100%;
    overflow: hidden;
}
h1 {
    font-size: 47px;
    font-family: Oswald;
    line-height: 55px;
    font-weight: 200;
    margin-bottom: 10px;
}
.header-logo {
    font-size: 2.5em;
    font-family: Impact;
    color: #333;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.35), -1px -1px rgba(255, 255, 255, 0.61);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.header-logo span {
    color: #172f84;
    margin: 0 0 5px 20px;
    display: inline-block;
    font-family: Oswald;
    font-weight: bold;
}
.header-logo img {
    width: 75px;
}
#wrap_header_home {
    background: linear-gradient(135deg, #172f84 0%, #2e549f 46%, #003463 100%);
    width: 100%;
}
#header_home {
    margin: 90px auto 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    width: 90%;
    max-width: 1320px;
}
#header_home_text {
    float: left;
    width: 70%;
    line-height: 25px;
    margin-right: 15px
}
#header_all_text {}
.header_home_flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
#header_home_text p {
    margin-bottom: 16px;
    font-size: 19px;
}
#header_home_text ul li {
    list-style-type: disc;
    margin-left: 25px;
    font-size: 18px;
}
#header_home_img {
    margin: 25px 0;
    float: right;
    width: 30%;
    height: 340px;
}

/*-----------------main----------------------*/

h2 {
    text-align: center;
    margin: 16px;
}
.main_home_text {
    text-align: center;
    margin: 40px auto 20px auto;
    max-width: 1220px;
    width: 85%;
}
.main_home_text h2 {
    font-size: 30px;
    font-weight: lighter;
    color: #333;
}

/*------------------------section---------------------*/

.wrap_tariff {
    width: 95%;
    max-width: 1320px;
    margin: auto;
    overflow: hidden;
}
.tariff {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -20px;
}
.tatiff_wrap_buy {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.tariff-buy {
    -webkit-box-shadow: 0px 2px 7px 2px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 2px 7px 2px rgba(0, 0, 0, 0.08);
    width: 300px;
    margin: 40px 10px;
    border-top: 2px solid #fff;
    border-bottom: 1px solid #e3dede;
    position: relative;
}
.best_buy {
    -webkit-box-shadow: 0px 2px 7px 2px rgba(0, 0, 0, 0.08);
    box-shadow: 0px 2px 10px 5px rgba(0, 0, 0, 0.11);
    margin-top: 20px;
    border-bottom: 1px solid #d4d4d4;
    /*    padding-top: 5px;*/
}
.tariff_buy-header {
    height: 50px;
    background-image: -webkit-gradient(linear, left top, right top, from(#2B93EC), to(#216cac));
    background-image: linear-gradient(90deg, #2B93EC, #216cac);
    margin-top: 15px;
    border-bottom: 1px solid #666;
    border-top: 1px solid #4ba3ef;
    color: #fff;
    font-size: 1.625em;
    text-align: center;
    line-height: 50px;
}
.tariff_buy-body {
    padding: 15px 15px 25px 15px;
}
.tariff_buy_body-price {
    color: #6f6f6f;
    font-size: 1.875em;
    font-family: verdana;
    font-weight: bold;
    line-height: 50px;
    text-align: center;
}
.tariff_buy_body-netto {
    font-size: 0.9em;
    display: block;
    text-align: center;
    margin: -10px auto 15px;
    color: #ff8023;
}
.tariff_buy-button {
    background-color: #9BCD37;
    width: 170px;
    height: 40px;
    margin: auto;
    border-radius: 7px;
    position: absolute;
    bottom: -20px;
    border: 2px solid rgba(0, 0, 0, 0.07);
    left: 0;
    right: 0;
    -webkit-box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.17);
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.17);
    color: #fff;
    font-size: 1.1em;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}

/*---------------------------akordion---------------------------*/

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.tabs {
    width: 95%;
    min-width: 320px;
    max-width: 1320px;
    padding: 0px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.tabs ul {
    margin-bottom: 20px;
}
.tabs ul li {
    list-style-type: disc;
    margin-left: 16px;
    line-height: 23px;
}

/* Стили секций с содержанием */

.tabs > article {
    display: none;
    padding: 25px;
    background: #fff;
    border: 1px solid #ddd;
    width: 100%;
    margin-bottom: 100px;
}
.tabs article section {
    margin: 16px 0;
    width: 100%;
}
.tabs > article > p {
    margin: 0 0 5px;
    line-height: 1.5;
    color: #383838;
    /* прикрутим анимацию */
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
.tabs_plan-header {
    text-align: center;
    font-size: 1.5em;
}

/* Описываем анимацию свойства opacity */

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Прячем чекбоксы */

.tabs > input {
    display: none;
    position: absolute;
}

/* Стили переключателей вкладок (табов) */

.tabs > label {
    margin: 0px 0px -1px;
    padding: 15px 25px;
    width: calc(25% - 30px);
    font-weight: 600;
    text-align: center;
    color: #aaa;
    border: 0px solid #ddd;
    border-width: 1px 1px 1px 1px;
    background: #f1f1f1;
    border-radius: 3px 3px 0 0;
}

/* Шрифт-иконки от Font Awesome в формате Unicode 

.tabs > label:before {
font-family: fontawesome;
font-weight: normal;
margin-right: 10px;
}
.tabs > label[for*="1"]:before {
content: "\f19a";
}
.tabs > label[for*="2"]:before {
content: "\f17a";
}
.tabs > label[for*="3"]:before {
content: "\f13b";
}
.tabs > label[for*="4"]:before {
content: "\f13c";
}*/


/* Изменения стиля переключателей вкладок при наведении */

.tabs > label:hover {
    color: #888;
    cursor: pointer;
}

/* Стили для активной вкладки */

.tabs > input:checked + label {
    color: #555;
    border-top: 1px solid #009933;
    border-bottom: 1px solid #fff;
    background: #fff;
}

/* Активация секций с помощью псевдокласса :checked */

#tab1:checked ~ #content-tab1,
#tab2:checked ~ #content-tab2,
#tab3:checked ~ #content-tab3,
#tab4:checked ~ #content-tab4 {
    display: block;
}

/*----------------------------------footer--------------------------*/

footer {
    min-height: 100px;
    width: 100%;
    background-color: #eaeaea;
    margin-top: 50px;
    background: linear-gradient(135deg, #333 0%, #444 46%, #222 100%);
}

/*------------------------table----------------------------------------------*/

table {
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 13px;
    border-collapse: collapse;
    text-align: center;
    margin: 60px auto;
    border: solid 1px #aaa;
    line-height: 21px;
    width: 95%;
    max-width: 1320px;
}
th,
td:first-child {
    background: #7d9fbc;
    color: fff;
    padding: 4px 10px;
}
th,
td {
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: #ccc;
    padding: 4px 5px;
}
th:first-child,
td:first-child {
    text-align: left;
}
table .thead {
    color: #000;
    text-align: center;
    font-weight: bold;
    background-color: #ddd;
}
.green {
    color: #05c605;
    font-weight: 900;
    font-size: 16px;
}
.red {
    color: #eb3f00;
    font-weight: 900;
    font-size: 16px;
}
.orange {
    color: #2000a5;
    font-size: 10px;
    margin-left: 5px;
}
table thead #tr_header {
    background: linear-gradient(135deg, #172f84 0%, #2e549f 46%, #003463 100%);
    height: 40px;
}
#tr_header th {
    background: none;
    color: #fff;
    font-weight: normal;
    font-size: 15px;
}
.tr_price td {
    padding: 7px;
}
.footnote td {
    padding: 5px;
    color: #2000a5;
    line-height: 18px;
    text-align: center;
    background-color: #fff;
}

/*---------------------media----------------------*/


/* Убираем текст с переключателей 
* и оставляем иконки на малых экранах
*/

@media screen and (max-width: 1000px) {
    h1 {
        font-size: 35px;
    }
    #header_home_text p {
        margin-bottom: 16px;
        font-size: 17px;
    }
    #header_home_text ul li {
        margin-left: 25px;
        font-size: 16px;
        width: 100%;
    }
    .tabs > label {
        font-size: 13px;
        width: calc(25% - 10px);
        padding: 8px 15px
    }
}
@media screen and (max-width: 750px) {
    #top nav {
        display: none;
    }
    #top {
        padding: 5px 0;
    }
    h1 {
        font-size: 28px;
    }
    #header_home_text p {
        margin-bottom: 16px;
        font-size: 16px;
    }
    #header_home_text ul li {
        margin-left: 25px;
        font-size: 15px;
        width: 100%;
    }
    #header_home_text {
        width: 100%;
    }
    #header_home_img {
        display: none;
    }
    #tr_header th {
        font-size: 2vw;
    }
    #wrap_top {
        position: relative
    }
    table {
        font-size: 1.7vw;
        line-height: 2.3vw;
    }
    th,
    td:first-child {
        padding: 0.1vw 0.4vw;
    }
    .red,
    .green {
        font-size: 1.9vw;
    }
    #header_home {
        margin-top: 0px;
    }
}
@media screen and (max-width: 680px) {
    .tabs > label {
        font-size: 8px;
        padding: 3px 3px;
        width: 25%;
    }
    .tabs > label:before {
        margin: 0;
        font-size: 18px;
    }
}

/* Изменяем внутренние отступы 
*  переключателей для малых экранов
*/
