.valign {
    display: inline-block;
    vertical-align: middle;
}

.inline-block {
    display: inline-block;
}

/* For crossbrowser disabling selecting text by user */
.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

* {
    font-family: 'PT Sans', sans-serif;
}

/*-------------------------------------------------little reset-----------------------------------------------------*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre,
form, fieldset, input, p, blockquote, table, th, td, embed, object, figure, select, ul li ul, ul li ol, ul li ul li, ul li ol li {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

fieldset, img, abbr {
    border: none;
}

address, caption, cite, code, dfn, em,
h1, h2, h3, h4, h5, h6, strong, th, var {
    font-weight: normal;
    font-style: normal;
}

a, ins {
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    border: none;
}

/* floats */
.left {
    float: left !important;
}

.right {
    float: right !important;
}

/* text align */
.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

.bold {
    font-weight: bold;
}

a {
    text-decoration: underline;
}

.comments a {
    text-decoration: none;
}

/*------------------------------------------------------ row -----------------------------------------------------*/
.row {
    margin: 0 auto;
    max-width: 1270px;
    width: 100%;
}

.row:before, .row:after {
    content: " ";
    display: table;
}

.row:after {
    clear: both;
}

/*----------------------------------------------------- columns ---------------------------------------------------*/
.columns, .column {
    float: left;
    padding: 0 10px;
    position: relative;
}

.column:first-child {
    padding-left: 0;
}

.column:last-child {
    padding-right: 0;
}

[class*="column"] + [class*="column"].end {
    float: left;
}

/*---------------------------------------------------- grid -------------------------------------------------------*/
/* small-12, large-3 ...*/
@media only screen and (min-width: 0) {
    body .xsmall-1 {
        width: 8.33333%;
    }

    body .xsmall-2 {
        width: 16.66667%;
    }

    body .xsmall-3 {
        width: 25%;
    }

    body .xsmall-4 {
        width: 33.33333%;
    }

    body .xsmall-5 {
        width: 41.66667%;
    }

    body .xsmall-6 {
        width: 50%;
    }

    body .xsmall-7 {
        width: 58.33333%;
    }

    body .xsmall-8 {
        width: 66.66667%;
    }

    body .xsmall-9 {
        width: 75%;
    }

    body .xsmall-10 {
        width: 83.33333%;
    }

    body .xsmall-11 {
        width: 91.66667%;
    }

    body .xsmall-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 480px) {
    body .small-1 {
        width: 8.33333%;
    }

    body .small-2 {
        width: 16.66667%;
    }

    body .small-3 {
        width: 25%;
    }

    body .small-4 {
        width: 33.33333%;
    }

    body .small-5 {
        width: 41.66667%;
    }

    body .small-6 {
        width: 50%;
    }

    body .small-7 {
        width: 58.33333%;
    }

    body .small-8 {
        width: 66.66667%;
    }

    body .small-9 {
        width: 75%;
    }

    body .small-10 {
        width: 83.33333%;
    }

    body .small-11 {
        width: 91.66667%;
    }

    body .small-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 640px) {
    body .medium-1 {
        width: 8.33333%;
    }

    body .medium-2 {
        width: 16.66667%;
    }

    body .medium-3 {
        width: 25%;
    }

    body .medium-4 {
        width: 33.33333%;
    }

    body .medium-5 {
        width: 41.66667%;
    }

    body .medium-6 {
        width: 50%;
    }

    body .medium-7 {
        width: 58.33333%;
    }

    body .medium-8 {
        width: 66.66667%;
    }

    body .medium-9 {
        width: 75%;
    }

    body .medium-10 {
        width: 83.33333%;
    }

    body .medium-11 {
        width: 91.66667%;
    }

    body .medium-12 {
        width: 100%;
    }
}

@media only screen and (min-width: 1024px) {
    body .large-1 {
        width: 8.33333%;
    }

    body .large-2 {
        width: 16.66667%;
    }

    body .large-3 {
        width: 25%;
    }

    body .large-4 {
        width: 38.33333%;
    }

    body .large-5 {
        width: 41.66667%;
    }

    body .large-6 {
        width: 50%;
    }

    body .large-7 {
        width: 58.33333%;
    }

    body .large-8 {
        width: 61.66667%;
    }

    body .large-9 {
        width: 75%;
    }

    body .large-10 {
        width: 83.33333%;
    }

    body .large-11 {
        width: 91.66667%;
    }

    body .large-12 {
        width: 100%;
    }
}

body {
    background-color: #fff;
}

h1 {
    font-size: 28px;
    margin: 0 0 20px;
}

h2 {
    margin: 15px 0 10px;
    font-size: 28px;
}

.italic {
    font-style: italic;
}

.mark {
    color: #f00;
}

.mark-border {
    background: rgb(253, 253, 213);
    border: 1px solid rgb(211, 211, 62);
    padding: 8px 10px;
    margin-top: 20px;
}

.mark-block {
    background-color: #EDF8EE;
    padding-left: 170px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-top: 10px;
    position: relative;
    margin: 20px 0;
    min-height: 130px;
}

.mark-block img {
    height: 130px;
    position: absolute;
    left: 10px;
    top: 10px;
}

.center {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

header {
    padding: 15px 0;
    border-bottom: 2px solid #e5e5e5;
}

header .row {
    padding: 0 15px;
}

.logo-txt {
    line-height: 50px;
    text-transform: uppercase;
    color: #0757A8;
    font-size: 24px;
    font-weight: 700;
    margin: 0 15px;
}

.header-date {
    color: #96a0a8;
    font-size: 12px;
    line-height: 57px;
}

#user-city2 {
    font-size: 13px;
    line-height: 54px;
    margin: 0 15px;
    color: #05519d;
}

.main-menu {
    margin-left: 55px;
}

.main-menu li {
    display: inline-block;
}

.main-menu li a {
    padding: 2px 4px;
    text-decoration: none;
    text-transform: uppercase;
    color: #1b354a;
    font-size: 14px;
    font-weight: 700;
    margin-right: 6px;
    border: 1px solid transparent;
}

.main-menu li a:hover {
    border: 1px solid #747581;
    color: #80818e;

}

@media only screen and (max-width: 750px) {
    header {
        padding: 10px 0;
    }

    img.left {
        height: 35px;
        width: auto;
    }

    .main-menu {
        display: none;
    }

    .logo-txt {
        line-height: 40px;
    }

    header .row {
        padding: 0 10px;
    }

    .header-date {
        line-height: 47px;
    }

    #user-city2 {
        display: none;
    }

}

@media only screen and (max-width: 480px) {
    .header-date {
        line-height: 10px;
        margin-left: 43px;
    }

    .header-date {
        display: block;
    }
}

/*---------------------------------------------------- main ------------------------------------------------------*/
main {
    padding: 20px 0;
    font-size: 18px;
}

.content img {
    max-width: 100%;
}

.sber {
    margin: 25px 0;
}

.sber img {
    border: 1px solid #ccc;
}

.img-label {
    font-family: "Arial";
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
}

/*---------------------------------------------------- aside ------------------------------------------------------*/
blockquote {
    padding: 20px;
}

.news {
    width: 100%;
}

.news-title {
    background-color: #0757A8;
    color: #ffffff;
    padding: 5px 15px;
    font-size: 20px;
    font-weight: bold;
}

.news-text {
    font-size: 15px;
    padding: 15px 30px;
    background-color: rgba(7, 87, 168, 0.2);
}

.news-text img {
    max-width: 100%;
}

.news-text .step {
    font-weight: bold;
    padding: 20px 0 5px;
}
 li {
margin-bottom: 15px;
}
.photo-aside {
    height: 200px;
    width: auto;
    margin-bottom: 15px;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.tutorial-image{width: 100%;height: 14em;padding-top:20px; max-width: 100%;}
.tutorial {
background-repeat: no-repeat;
background-size: auto auto;
height: 100%;
max-width: 100%;
}
.s1 {background-image: url("../img/tutorial.jpg"); }
.s2 {background-image: url("../img/tutorial_steps.jpg");}
.s3 {background-image: url("../img/100000.jpg");}
.s4 {background-image: url("../img/tutorial1.jpg");}
.s5 {background-image: url("../img/win.jpg");}
.s6 {background-image: url("../img/toreal.jpg");}
.s7 {background-image: url("../img/fillup.jpg");}
.s8 {background-image: url("../img/mob/3.jpg");display:none}
.s9 {background-image: url("../img/mob/4.jpg");display:none}

.intext-photo {
    padding: 0px;
}

.banner {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.aside {
    position: relative;
}

.sidebar.fixed {
    position: fixed;
    top: 10px;
    right: 330px;
    width: 403px;
}

.sidebar a {
    font-weight: bold;
}

@media only screen and (min-width: 1024px) {
    .sticky {
        position: fixed;
        z-index: 101;
    }

    .stop {
        position: relative;
        z-index: 101;
    }
}

/*---------------------------------------------------- comments ------------------------------------------------------*/
.comments p {
    font-family: "Arial";
}

.comments hr {
    display: inline-block;
    margin: 10px 0;
}

.comments textarea {
    color: #777;
    min-height: 50px;
    width: 100%;
}

.comments .fbcity {
    color: #999;
    font-weight: normal;
}

.fb-button {
    background-color: #4267b2;
    border-color: #4267b2;
    border-radius: 2px;
    font-family: "Arial";
    font-size: 14px;
    font-weight: bold;
    display: inline-block;
    color: #ffffff;
    padding: 4px 16px;
    float: right !important;
    display: inline-block;
    position: relative;
    left: 5px;
}

.fb-button:hover, .fb-button:active {
    background-color: #365899;
    border-color: #365899;
}

.lastcomm {
    color: #365899;
}

.user-photo {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
}

.comment-block {
    margin-top: 20px;
    padding-left: 60px;
    position: relative;
}

.fbtext {
    font-size: 14px;
}

.fbtext img {
    max-width: 85%;
    margin: 15px 0 5px 0;
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .fbtext img {
        max-width: 100%;
    }
}

@media (max-width: 424px) {
    header p {
        color: #bbb;
    }

    .mail, .rss {
        display: none !important;
    }

    .nav {
        display: none;
    }

    header {
        border-bottom: 1px solid #ddd;
    }

    main {
        font-size: 16px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 19px;
    }

    .likeit {
        display: none;
    }

    .totake a {
        font-size: 18px;
    }

    .mark-block {
        padding: 10px;
        text-align: center;
    }

    .mark-block img {
        position: static;
    }

    .comments textarea {
        min-height: 35px;
    }

    .lastcomm {
        display: inline-block;
        margin: 25px 0 0;
    }

    .comment-block .fbaction {
        margin-top: 5px;
    }

    .fbaction a, .fbaction span {
        font-size: 11px;
    }
}

.fbaction {
    font-size: 13px;
    color: #3B5998;
    margin-top: 10px;
}

a, a:link, a:active {
    color: #3B5998;
}

a.fb-buttonv, a.fb-button:link, a.fb-button:active
a:hover {
    color: #fff;
}

.fbtime {
    color: #999999;
    cursor: help;
    border-bottom: 1px dotted #999999;
}

.user-name {
    color: #3B5998;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
}

.like:before {
    content: '';
    display: inline-block;
    background-image: url('../img/comment/like.png');
    margin: 0 5px;
    height: 15px;
    position: relative;
    top: 2px;
    width: 13px;
}

footer {
    padding: 57px 0 20px 0;
    text-align: center;
    background-color: #fff;
}

footer p {
    /* color: #ccc; */
    font-size: 14px;
}

.article p {
    text-indent: 20px;
    margin: 20px 0 10px 0;
}

.list-instructions {
    list-style: decimal inside;
}

.list-instructions li {
    margin: 0 0 5px 10px;
}