﻿
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0px;
    padding: 0px;
    border: 0px none;
    font: inherit;
    vertical-align: baseline;
}
html, body {
    overflow-x: hidden;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: none;
}

html {
    min-height: 110%;
}

body {
    font-family: "PT Sans", arial, sans-serif;
    background: none repeat scroll center center rgb(241, 242, 242);
    color: rgb(0, 0, 0);
    margin: 0px;
    padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 1em 0px 0.5em;
    line-height: 1.2em;
    font-weight: 300;
    font-family: "Roboto", Verdana, arial, sans-serif;
}

h1 {
    font-size: 1.8em;
}

h2 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.2em;
}

b {
    font-weight: bold;
}

p {
    line-height: 1.4em;
    margin-bottom: 1.6em;
}

p,
ul,
ol {
    font-size: 1.25em;
}

h2 {
    font-weight: bold;
}

.wrap {
    margin: 0px auto;
    max-width: 1200px;
    display: block;
}

.structblock::after {
    content: ".";
    display: block;
    height: 0px;
    clear: both;
    visibility: hidden;
}

header {
    width: 100%;
    margin-bottom: 30px;
}

header .panel {
    width: 1200px;
    margin: 80px auto 0px;
}

header .logo {
    position: relative;
    top: 60px;
    left: 35px;
    margin-bottom: -100px;
    float: left;
    background: url(../png/iam.png) repeat scroll 0% 0% rgb(221, 221, 221);
    border: 6px solid rgb(255, 255, 255);
    border-radius: 50px;
    width: 78px;
    height: 78px;
}

header .name {
    position: relative;
    top: 95px;
    left: 150px;
    text-transform: uppercase;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 150%;
}

.sec_main {
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: top;
    width: 730px;
    margin-right: 23px;
    padding: 90px 30px 30px;
    background: url(../png/title.png) no-repeat scroll 30px -41px rgb(255, 255, 255);
    border: 1px solid rgb(222, 223, 223);
    border-radius: 2px;
}

.sec_main h1 {
    margin: 0px 0px 0.5em;
    text-transform: uppercase;
    font-weight: bold;
}

.postmemo {
    padding: 10px 0px;
    float: left;
    position: relative;
    top: -68px;
    left: 34px;
    margin-bottom: -70px;
}

.postmemo .date {}

.postmemo .author {
    margin-left: 110px;
}

.sec_sidebar {
    display: inline-block;
    width: 380px;
    vertical-align: top;
}

.sidebar_block {
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.1);
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
    padding: 30px;
    background: none repeat scroll 0% 0% rgb(255, 255, 255);
    border: 1px solid rgb(222, 223, 223);
    border-radius: 2px;
}

.sec_sidebar .lastpost {
    margin-bottom: 2em;
    font-size: 0.8em;
}

.lastpost p {
    margin: 0px;
    line-height: 1.2em;
}

.lastpost p.title {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.lastpost .title a {
    color: rgb(8, 87, 176);
    text-decoration: none;
}

.lastpost .data {
    color: rgb(102, 102, 102);
    font-size: 80%;
}

.lastpost .comment {
    margin-left: 1em;
}

.lastpost .comment a {
    color: rgb(17, 17, 17);
}

.friendsonline {}

.friendsonline img {
    margin: 0px 15px 15px 0px;
    border: 6px solid rgb(230, 231, 232);
    border-radius: 50px;
}

.friendsonline img:hover {
    border: 6px solid rgb(57, 181, 74);
}

.friendsonline span {
    text-decoration: underline;
    color: rgb(57, 181, 74);
}

.vk-container {
    font-family: tahoma, arial, verdana, sans-serif, Lucida Sans;
    font-size: 11px;
    line-height: 17px;
    color: black;
    text-decoration: none;
}

.vk-header {
    background: none repeat scroll 0% 0% rgb(218, 226, 232);
    padding: 4px 4px 4px 6px;
    margin-bottom: 10px;
}

.vk-logo {
    width: 16px;
    height: 16px;
    float: right;
    margin-top: -1px;
}

.vk-header-text {
    padding: 2px 3px 1px;
    line-height: 100%;
    color: rgb(69, 104, 142);
    font-weight: bold;
    margin-left: 60px;
}

.vk-avatar img {
    float: left;
    margin-right: 10px;
    max-height: 50px;
    max-width: 50px;
}

.vk-comment,
.vk-comment-load {
    margin-bottom: 15px;
    position: relative;
    border-bottom: 1px solid rgb(218, 225, 232);
    padding-bottom: 15px;
}

.vk-comment-name {
    color: rgb(43, 88, 122);
    font-weight: bold;
    font-size: 14px;
    margin-left: 60px;
}

.vk-comment-text {
    margin-left: 60px;
    font-size: 14px;
    line-height: 17px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.vk-comment-date {
    margin-left: 60px;
    color: rgb(153, 153, 153);
}

.vk-comment-date1 {
    color: rgb(43, 88, 122);
    text-decoration: none;
    font-size: 14px;
}

.vk-comment-date1:hover {
    color: rgb(165, 192, 213);
    cursor: pointer;
}

.vk-comment-like {
    position: absolute;
    right: -5px;
    bottom: 10px;
    background: url(../png/like.png) no-repeat scroll left center transparent;
    width: 30px;
    height: 16px;
    display: inline-block;
    text-decoration: none;
}

.vk-comment-like:hover {
    opacity: 0.5;
    cursor: pointer;
}

.vk-comment-like-count {
    padding-left: 14px;
    font-weight: bold;
    color: rgb(114, 149, 178);
    font-size: 10px;
}

footer {
    width: 1200px;
    margin: 0px auto;
    padding: 30px;
    text-align: center;
    font-size: 0.9em;
}

footer p {
    margin: 0px;
    color: rgb(0, 0, 0);
}

@media screen and (max-width: 1230px) {
    header .panel {
        width: 994px;
    }

    .wrap {
        width: 994px;
    }

    .sec_sidebar {
        width: 310px;
    }

    .sec_main {
        width: 594px;
        margin-right: 19px;
    }

    .lastpost .comment a {
        font-size: 14px;
    }

    header .logo {
        top: 46px;
        left: 17px;
    }
}

@media screen and (max-width: 999px) {
    header .panel {
        width: 750px;
    }

    .wrap {
        width: 750px;
    }

    .sec_sidebar {
        display: none;
    }

    .sec_main {
        width: auto;
        margin-right: 1px;
    }

    footer {
        width: 500px;
    }

    .img-header {
        display: none;
    }

    header .logo {
        top: 30px;
        left: 28px;
    }

    header .name {
        top: 39px;
    }

    p, ul, ol {
        font-size: 16px;
    }

    .vk-comment-text, .vk-comment-name {
        font-size: 14px;
    }

    header {display: none;}
}

@media screen and (max-width: 767px) {
    header .panel {
        width: 470px;

    }

    .wrap {
        width: 470px;
    }

    .sec_main {
        width: auto;
        padding: 20px 15px 30px;
        background: #fff;
    }

    footer {
        width: 400px;
    }

    h1 {
        font-size: 25px;
    }

    h2 {
        font-size: 19px;
    }

    .img1 {
        display: none;
    }

    .postmemo {
        display: none;
    }
}

@media screen and (max-width: 479px) {
    header .panel {
        width: 310px;
    }

    .wrap {
        width: 310px;
    }

    .sec_main {
        width: 100%;
        box-sizing: border-box;
    }

    footer {
        width: 300px;
    }

    h1 {
        font-size: 21px;
    }

    h2 {
        font-size: 18px;
    }

    header .name {
        top: 127px;
        left: 0;
        display: block;
        text-align: center;
        font-size: 22px;
    }

    header .logo {
        top: 20px;
        left: 104px;
    }
}

@media screen and (max-width: 319px) {
    header .panel {
        width: 230px;
        background-size: 230px;
        height: 254px;
    }

    .wrap {
        width: 230px;
    }

    .sec_main {
        width: auto;
    }

    footer {
        width: 220px;
    }

    header .logo {
        left: 67px;
    }

    .vk-comment-date1 {
        display: block;
    }
}

i {
    font-style: italic;
}


img {
	max-width: 100%
}
.form-bg-sec {
    border: 3px dashed #2182b9;
    border-radius: 20px;
    background: #7acfff;
    width: 100%;
    max-width: 480px;
    height:auto;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}
.form-bg-sec form input,
.form-bg-sec form select,
.form-bg-sec form button{
    display: block;
    margin:15px auto;
    text-align: left;
    height: auto;
    width: 100%;
    max-width:280px;
    font-size: 16px;
    padding: 0 10px;
    height: 50px;
    box-sizing: border-box;
    border:2px solid #debfb5;
    border-radius:30px;
    outline:none;
    background: #f1e8e5;
    -webkit-border-radius:30px;
    -moz-border-radius:30px;
    -ms-border-radius:30px;
    -o-border-radius:30px;
}

.form-bg-sec form input:focus {
    background: #FFF;
}
.form-bg-sec form button.button {
    padding:7px 5px;
    text-align: center;
    border-radius:20px;
    color:#fff;
    background: #FF0000;
    font-size: 20px;
    border:3px solid #debfb5;
    cursor: pointer;
}
.form-bg-sec form button:hover {
    padding:7px 5px;
    color:#ece3e3;
    background: #f94f19;
    box-shadow:0px 3px 4px 2px #aaa;
}
.form-bg-sec form button:active {
    box-shadow:none;
    background: #ef6338;
    border: 3px solid #b1adad;
    box-shadow: 0px 4px 4px 0px #424242;
}
