@font-face {
    font-family: 'TT Norms';
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Regular.eot');
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Regular.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Regular.woff2') format('woff2'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Regular.woff') format('woff'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms';
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Light.eot');
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Light.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Light.woff2') format('woff2'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Light.woff') format('woff'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms';
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Medium.eot');
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Medium.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Medium.woff2') format('woff2'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Medium.woff') format('woff'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'TT Norms';
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Bold.eot');
    src: url('/local/templates/microfin/fonts/subset-TTNorms-Bold.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Bold.woff2') format('woff2'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Bold.woff') format('woff'),
        url('/local/templates/microfin/fonts/subset-TTNorms-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Ethnocentric';
    src: url('/local/templates/microfin/fonts/EthnocentricRg-Regular.eot');
    src: url('/local/templates/microfin/fonts/EthnocentricRg-Regular.eot?#iefix') format('embedded-opentype'),
        url('/local/templates/microfin/fonts/EthnocentricRg-Regular.woff2') format('woff2'),
        url('/local/templates/microfin/fonts/EthnocentricRg-Regular.woff') format('woff'),
        url('/local/templates/microfin/fonts/EthnocentricRg-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



body {
    font-family: sans-serif;
}
.header_top_line {
    box-shadow: 0 1px 8px rgba(0,0,0,.5);
    background-color: #f6f6f6;
    padding: 6px 0px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}
.header_top {
    padding: 20px 0;
    margin-top: 35px;
}
.l_p_none {
    padding-left: 0;
}

.b_red {
    border-bottom: 1px solid #d72024;
    margin: 20px 0;
}

.lr_border {
    border-right: 1px solid;
    border-left: 1px solid;
}

.tb_gray {
    /* border-bottom: 3px solid #dadada; */
    /* border-top: 3px solid #dadada; */
}

.header {
    font-size: 14px;
    padding-bottom: 6px;
    color: #333;
}

span.phone {
    font-size: 25px;
    font-weight: bold;
}
ul.navbar-nav {
    margin: 0;
    padding: 0;
    display: table;
    width: 100%;
}
.home_prem {
    background: #f6f6f6;
    border-radius: 5px;
    padding: 20px;
}
.home_text {
    padding-top: 70px;
    padding-bottom: 70px;
}

.home_text h1 {
    margin-bottom: 40px;
}
.home_prem_item {
    display: flex;
}

.home_prem_item + .home_prem_item {
    margin-top: 20px;
}

.home_prem_item-img {
    max-width: 73px;
    margin-right: 20px;
}

.home_prem_item-text .description {
    line-height: 20px;
}
.navbar-light .navbar-nav li:first-child .nav-link {
    border-radius: 6px 0 0 6px;
}

.navbar-light .navbar-nav li:last-child .nav-link {
    border-radius: 0px 6px 6px 0;
}

.navbar-light .navbar-nav .nav-link:hover,.navbar-light .navbar-nav .nav-link.selected {
    background: #fc0101;
    color: #fff;
}

.navbar-light .navbar-nav li:before {
    background-color: #42b1e0;
    content: "";
    display: block;
    position: absolute;
    width: 1px;
    height: 100%;
}

.navbar-light .navbar-nav li:first-child:before {
    display: none;
}
.i_map {
    margin-right: 10px;
    max-width: 23px;
    margin-bottom: 0;
}
.form-check {
    padding: 0;
    float: left;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 25px;
    margin-top: 5px;
}

.pretty.p-curve .state label:after, .pretty.p-curve .state label:before {
    border-radius: 6px;
}
.logo {
    padding-top: 3px;
}

.logo img {
    padding: 0;
}

.logo span {
    font-size: 64px;
    color: #d72024;
    font-weight: bold;
    margin-left: 20px;
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    line-height: 1.1;
}

.name {
    font-size: 23px;
    font-weight: 500;
    color: #2a3769;
    padding: 14px 0 14px 0;
}

ul.menu {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 0;
}

ul.menu li {
    display: inline-block;
    margin-left: 20px;
    text-transform: uppercase;
}

ul.menu li a {
    color: #333;
}

ul.menu.bottom {
    margin: 0;
    padding: 0;
}

ul.menu.bottom li {
    text-transform: inherit;
}
.footer {
    box-shadow: 0 1px 8px rgba(0,0,0,.5);
    background-color: #f6f6f6;
    padding: 30px 0 10px;
}

.footer p {
    font-size: 15px;
    margin-bottom: 0;
}

.footer_info p:first-child {
    margin-bottom: 20px;
}
.r_b_text {
    /* text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white; */
    font-size: 30px;
    color: #333;
    font-weight: 500;
}

.fon.icons img {
    float: left;
    margin-right: 8px;
}

.fon.icons {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.2;
    color: #333;
}

.fon.icons span {
    color: #fc0101;
}

.tizers {
    margin: 20px 0;
}

.title_red {
    font-size: 25px;
    color: #d72024;
    font-weight: 500;
}

.foot_r {
    /* margin-top: 11px; */
    /* border-top: 2px solid #d72024; */
    /* padding-bottom: 30px; */
}

.foot.title_red {
    font-size: 20px;
    line-height: 1;
    color: #2a3769;
    margin-top: 26px;
}

.content {
    margin-top: 30px;
    margin-bottom: 70px;
}

.reviews .fio {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
}

.reviews .item {
    margin-bottom: 30px;
    border-bottom: 2px solid #D72024;
    padding-bottom: 20px;
}

.question a {
    /* text-decoration: underline dotted; */
}

.calc-wrapper{
    border: none;
    border-radius: 6px;
    padding: 22px;
    background: #fff;
    margin: 40px 0 0;
    box-shadow: 2px 2px 20px #00000052;
    border: 3px solid #00a0e3;
}

.ui-slider-horizontal .ui-slider-handle {
    top: 0
}

.sumInputTitle{
    text-transform: uppercase;
    margin-bottom: 0;
}

.sum-input-wrapper{
    border: none;
    font-size: 19px;
    margin-bottom: 10px;
}

#sumInput{
    display: inline-block;
    max-width: 145px;
    width: auto;
    border: none;
	padding: 0;
}

.days-wrapper{
    /* font-weight: bold; */
}

label[for="daysInput"]{
    margin-top: 15px;
    margin-bottom: 15px;
}

.calc-wrapper input:focus,
span.ui-slider-handle:focus,
span.ui-slider-handle:active
{
    box-shadow: none;
    outline-width: 0;
}
.calc-wrapper .ui-slider{
    background: none;
    border: none;
    border-bottom: none;
    border-radius: 6px;
    background: #fc0101;
    height: 6px;
}

.percent-sum-wrapper{
    font-weight: bold;
    color: #fc0101;
    font-size: 19px;
}

.calc-wrapper .ui-slider .ui-slider-range{
    background: #f6f6f6;
    border-bottom: none;
    border-radius: 6px 6px 6px 0;
    padding: 0;
}
.calc-wrapper .ui-slider > span{
    border: none;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    top: -10px;
    cursor: pointer;
    z-index: 3;
    background: #99ccff;
    border: 3px solid #ee1d25;
    border-radius: 20px 20px 20px 20px;
    -webkit-border-radius: 20px 20px 20px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,.1);
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
.calc-wrapper .ui-slider > span:before {content: "";display: block;position: absolute;width: 10px;height: 10px;border-radius: 30px;background-color: #00a0e3;position: absolute;top: 4px;left: 4px;}
.pretty.p-svg input:checked ~ .state .svg {
    opacity: 1;
    font-size: 25px;
    bottom: 0 !important;
    left: 0px !important;
    top: unset;
}

.btn-base{
    /* background: #fc0101; */
    /* color: #fff; */
    border-radius: 6px !important;
    font-size: 19px;
    text-transform: uppercase;
    padding: 3px 10px;
    outline: none;
    background: rgb(0,153,255);
    background: -moz-linear-gradient(180deg, rgba(0,153,255,1) 0%, rgba(153,204,255,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,153,255,1) 0%, rgba(153,204,255,1) 100%);
    background: linear-gradient(180deg, rgba(0,153,255,1) 0%, rgba(153,204,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0099ff",endColorstr="#99ccff",GradientType=1);
    color: #fff;
}
#psk {
    font-size: 14px;
    margin-bottom: 0px;
    margin-top: 8px;
}
#percent{
    font-size: 15px;
    margin-bottom: 14px;
    margin-top: 8px;
}

#percentSum{
    margin-bottom: 0;
    clear: both;
}

.background-form #daysInput{
    width: 60px !important;
    border: none;
}

.calc-wrapper #daysInput{
	padding: 0;
	width: 50px;
    border: none;
    text-align: center;
}

/*Order Form*/

.background-form{
    margin-bottom: 30px;
}

.gradient{
        /* padding: 70px 0 0px; */
        /* margin: -30px 0 0 0; */
        /* background: url(/local/templates/microfin/images/slider_bg_newyear.jpg); */
        /* background-repeat: no-repeat; */
}
.gradient>.container {
     background: url(/local/templates/microfin/images/slider_bg.png); 
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 70%;
    padding-bottom: 50px;
    background: none;
}
.background-form #sumInput{
    font-size: 45px;
}

.background-form #slider-sum{
    margin-bottom: 18px ;
}

.background-form .calc-wrapper{
    border: 3px solid #D72024;
    margin: 90px 0 0;
}
.background-form input[type="text"],
.background-form select
{
    background: #ececec;
    border-radius: 12px;
}
.background-form .sum-input-wrapper > input{
    background: #fff;
}
.background-form .sumInputTitle{
    font-size: 20px;
}
.background-form #percentSum{
    font-size: 23px;
}
.background-form .days-wrapper{
    font-size: 40px;
}
.background-form .pretty{
    font-size: 22px;
}
.background-form #sumInput{
    max-height: 60px;
}
.pers{
    white-space: normal;
    font-size: 12px !important;
    margin-top: -10px;
    margin-bottom: 8px;
}
.pers.pretty.p-svg input:checked ~ .state .svg {
    top: -5px;
}
.pers.pretty .state label::before {
   top: 0;
}
.checks{
    margin-bottom: 9px;
    margin-top: 27px;
}
.star{
    color: #D72024;
    font-weight: bold;
}

/*End Order*/

.header a{
    color: #333;
    text-decoration: underline;
}
#myCity p{margin-left: 20px; margin-bottom: 5px;}
#myCity p.title{margin-left: 0;font-weight: bold;margin-top: 10px;}


.feedback-wrapper input[type="text"],
.feedback-wrapper textarea,
.feedback-wrapper select{
    background: #ececec !important;
    border-radius: 12px !important;
}

.calc-main #sumInput{
    font-size: 40px;
}


.fon.tb_gray.icons {background: #f6f6f6;padding: 40px 0;}
.slider.gradient .container {
   background-image: url(/local/templates/microfin/images/slider_bg3.png);
   background-position: right bottom;
   background-repeat: no-repeat;
}
.navbar-light .navbar-nav .nav-link {
    padding: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    background: #00a0e3;
    color: #fff;
    font-size: 16px;
    align-items: center;
    transition: all 0.3s;
    text-decoration: none;
    font-weight: 300;
    text-transform: initial;
}

li.nav-item {display: table-cell;text-align: center;position: relative;}

li.nav-item:last-child {
    margin-right: 0;
}

.slogan {
    font-size: 18px;
    font-weight: normal;
}
.header_slogan {
    text-align: right;
    font-size: 25px;
    line-height: 26px;
    font-weight: bold;
    margin-left: 0;
}
.phone_block {
    margin: 0;
    text-align: right;
    font-size: 16px;
    line-height: inherit;
}


.adressa a {
    margin-left: 25px;
}
span#dayType {
    padding-left: 5px;
}

.btn-base:hover {
    box-shadow: 0 1px 8px rgba(0,0,0,.5);
    color: #fff;
}
.pt-1 {
    padding: 5px 0 0 0!important;
}
.adressa {
    text-align: right;
}

.how_title {
    font-size: 26px;
    color: #333;
    font-weight: 500;
}

.how_item {
    text-align: center;
    background-color: #f6f6f6;
    height: 100%;
    border: 1px solid #b2e1f5;
    padding: 0 20px;
}

.how_img {
    padding: 11px 0 9px;
}

.how_text {
    color: #666666;
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 11px;
}

.typs_item {
    height: 100%;
    text-align: center;
    color: #fff;
    min-height: 483px;
    max-width: 334px;
    margin: 0 auto;
    padding: 16px 0;
    box-shadow: 5px 5px 18px rgba(0, 0, 0, 0.5);
    background-size: cover;
}

.typs_link a {
    color: #fff;
    display: block;
    max-width: 250px;
    margin: 10px auto 0;
    height: 45px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.typs_title {
    font-size: 33px;
    line-height: 23px;
    padding-bottom: 29px;
}

.typs_icon {
    padding-bottom: 5px;
    height: 83px;
}

.typs_text {
    font-size: 27px;
    line-height: 32px;
}

.rew_slider {
    margin-bottom: 50px;
}

.rew_title {
    text-align: right;
    font-size: 28px;
    FONT-WEIGHT: 500;
}

.rew_text {
    font-size: 20px;
    text-align: right;
}

.how_all {
    font-size: 20px;
    text-decoration: underline;
    color: #00a0e3;
}

.rew_item {
    display: flex;
    max-width: 90%;
    margin: 0 auto;
    background-color: #f6f6f6;
    padding: 20px 40px 20px 20px;
}

.rew_img {
    width: 200px;
    flex: none;
    text-align: center;
}
.rew_img img {
    border-radius: 100px;
}

.typs_item .rew_rating {
    margin-top: 15px;
    padding-bottom: 10px;
}

.typs_item .form-check {
    float: none;
    font-size: 20px;
}

.pretty .state label:before {
    background-color: #fff;
}
.rew_rating {
    margin-top: 10px;
}
.counters-bg {
    background-color: #f6f6f6;
    box-shadow: 0 4px 8px rgba(0,0,0,.5);
}

.counters-item {
    text-align: center;
    padding: 20px 0 10px;
}

.counters-item_title {
    font-size: 25px;
    color: #00a0e3;
}

.counters-item_nuber {
    FONT-WEIGHT: 900;
    font-size: 51px;
    line-height: 36px;
    color: #e31e25;
    font-family: 'Ethnocentric';
    margin-bottom: 1px;
}



@media (max-width: 1200px) {
    .calc-main .percent-sum-wrapper{
        font-size: 16px;
    }
    #percent {
        font-size: 14px;
    }

}

@media (max-width: 992px) {
    .calc-main {
        max-width: 360px;
        margin: 15px auto;
    }
}
.navbar-expand-lg .navbar-collapse{
    justify-content: flex-end;
}
.nav-item{
    /* min-width: 36%; */
}


@media (max-width: 768px) {
.slogan {
    text-align: center;
    clear: both;
}

.menu {
    margin: 11px 0 0 0;
}

.fon.tb_gray.icons .col-sm-1 {
    display: none;
}

.pt-1 {
    margin: 15px 0;
}
.name.text-right {
    float: right;
}}

@media (max-width: 767px) {
    .rew_item {
        flex-wrap: wrap;
        text-align: center;
    }
.header {
    padding-top: 20px;
}
    .rew_img {
        margin: 0 auto;
    }

    .rew_title {
        text-align: center;
        font-size: 23px;
    }

    .rew_text {
        text-align: center;
        font-size: 18px;
        line-height: 23px;
    }
    .adressa {
    text-align: center;
}

.adressa a {
    margin: 0;
}

.adressa a + a {
    margin-left: 10px;
}

.header_slogan {
    margin: 10px 0 10px 0;
    text-align: center;
}

.phone_block {
    text-align: left;
}

span.phone {
    display: block;
}
.main-slider {
    display: none;
}

.gradient {
    margin: 0;
    background-size: cover;
}

.header_top {
    padding: 20px 15px;
}

.header_menu {
    position: absolute;
    right: 0;
    top: -89px;
}

.header_menu_wrapper {
    position: relative;
}

ul.navbar-nav {
    display: flex;
    position: absolute;
    width: 100vw;
    right: -15px;
    top: 60px;
    z-index: 999;
}
.navbar-light .navbar-nav a {
    border-radius: 0!important;
}
ul.menu.bottom {
    display: none;
}
}
.counters-item_nuber span {
    font-family: 'TT Norms', sans-serif;
}