body {
    padding: 0;
    margin: 0;
    font-family: Arial,Helvetica,Verdana,"Bitstream Vera Sans",sans-serif;
    color: #444;
    line-height: 24px;
    font-size: 16px;
}
* {
    box-sizing:border-box;
}
p {
    padding: 0;
    margin: 0;
}
ul {
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
}
h1, h2 {
    padding: 0;
    margin: 0;
}
.collapse:after {
    content: "";
    display: block;
    clear: both;
    overflow-y: hidden;
}
.container {
    width: 1050px;
    margin: 0 auto;
}

#back-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
}
#back-top a:hover {
    background: url("/images/icons/button-top-hover.png") no-repeat center center;
    position: fixed;
    bottom: 20px;
    right: 30px;
}

.header-top {
    width: 100%;
    text-align: center;
    background: #f9f8ef;
    padding-bottom: 10px;
}
.header-title {
    margin: 0 10px 10px;
    border-bottom: 1px solid #D6DDB9;
    line-height: 38px;
    font-family: "Myriad Pro","Myriad Web Pro Regular","Lucida Grande",Geneva,Trebuchet MS,sans-serif;
}
h1.header-title {
    padding-top: 10px;
}
h1.header-title a {
    color: #27638C;
    font-size: 28px;
    font-weight: 600;
}
h2.header-title {
    font-size: 22px;
    font-weight: bold;
    line-height: 34px;
}
.header-stars {
    background: url("/images/icons/y-line.jpg") no-repeat center center;
    width: 98.5%;
    height: 30px;
    background-size: cover;
    margin: 10px 10px 0;
}
.header-stars p {
    font-size: 15px;
    line-height: 30px;
    letter-spacing: 1px;
}
.header-menu {
    text-align: center;
    margin: 10px auto;
    font-family: "Myriad Pro","Myriad Web Pro Regular","Lucida Grande",Geneva,Trebuchet MS,sans-serif;
}
.header-menu li {
    display: inline-block;
    margin: 0 15px;
}
.header-menu a {
    display: block;
    color: #444;
    font-size: 19px;
    font-weight: 600;
    padding: 10px;
    letter-spacing: 2px;
    transition: all ease-in-out 300ms 0s;
}

.header-menu a:hover {
    color: #94CE18;
}
.content-title {
    background: #94CE18;
    border-radius: 4px;
    text-align: right;
    line-height: 40px;
    padding-right: 10px;
    color: #fff;
    text-shadow: 1px 1px #545454;
    font-size: 20px;
    margin: 0 0 20px;
    position: relative;
}
.content-title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: url("/images/icons/portfolio.png") no-repeat center center;
    width: 54px;
    height: 54px;
    background-size: contain;
}
.portfolio-image {
    width: 350px;
    float: left;
    margin: 0 25px 25px 0;
}
.portfolio-image img {
    width: 100%;
}
.portfolio-text {
    float: left;
    width: 630px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-style: italic;
    text-indent: 45px;
}
.epigraf {
    width: 695px;
    margin: 0 auto;
    background: #eee8aa;
    border: 1px solid gray;
    padding: 5px;
    font-weight: bold;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 20px;
}
.author {
    text-align: right;
    display: block;
    font-weight: 100;
    font-style: italic;
}
.full-text {
    font-family: times new roman,times,serif;
    text-align: justify;
    text-indent: 60px;
    margin-bottom: 5px;
}
.portfolio-text-bottom {
    font-weight: bold;
    text-indent: 0;
}
.moduletable-about-myself .content-title:before {
    background: url(/images/icons/about_me.png) no-repeat center center;
    background-size: contain;
}
.moduletable-books .content-title:before {
    background: url(/images/icons/knigi.png) no-repeat center center;
    width: 64px;
    background-size: contain;
}
.moduletable-view-world .content-title:before {
    background: url(/images/icons/vzgljad.png) no-repeat center center;
    width: 83px;
    background-size: contain;
}
.moduletable-view-world .full-text {
    font-size: 18px;
}
.moduletable-view-world {
    padding-bottom: 40px;
}
.content-full {
    padding: 20px;
}
.publications {
    font-family: 'times new roman', times, serif;
    text-align: justify;
}
.publications p:first-child {
    text-align: center;
    font-size: 25px;
    line-height: 30px;
}
.publications a {
    color: #27638C;
}
.publications a:hover {
    border-bottom: 1px solid #27638C;
}
.publications-site a {
    font-style: italic;
}
.publications ul {
    margin-left: 30px;
}
.publications ul li{
    list-style-type: none;
    margin-bottom: 5px;
    padding: 0 0 0 15px;
    position: relative;
}
.publications ul li:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    background: url("/images/icons/arrow.png") no-repeat center center;
    width: 11px;
    height: 11px;
}
.public-category {
    border: 1px solid #D6DDB9;
    margin: 30px 0;
    padding: 20px 10px 10px;
    position: relative;
}
.title-public {
    font-weight: bold;
}
.public-category .title-public {
    margin: 0;
    position: absolute;
    top: -13px;
    left: 15px;
    background: #fff;
    display: table;
}
.moduletable-essay p {
    text-align: justify;
    text-indent: 30px;
}
.essay {
    margin-bottom: 30px;
}
.essay .title-public {
    display: block;
    text-align: center;
    margin: 0 0 30px;
}
.essay p {
    text-align: right;
    font-style: italic;
}
.essay-epigraf .author {
    font-weight: bold;
}
.footer {
    height: 80px;
    background: #e8e8e8;
    width: 100%;
    padding: 20px 90px;
}
.footer-one, .footer-two, .footer-three {
    width: 33%;
    float: left;
}

.footer-three {
    text-align: right;
}

.moduletable-copyright p {
    line-height: 40px;
}

.footer-three .moduletable .custom p a:first-child {
    margin-right: 30px;
}


div#letter {
    display: none;
}
.moduletable-form-letter {
    text-align: center;
}
.moduletable-form-letter p {
    display: table;
    margin: 0 auto;
}
.moduletable-form-letter a, input#button {
    display: block;
    border: 1px solid #5e9408;
    padding: 7px 30px;
    cursor: pointer;
    color: #fff;
    background: #94CE18;
    transition: all ease-in-out 300ms 0s;
    border-radius: 4px;
    font-weight: bold;
}
.moduletable-form-letter a:hover, input#button:hover {
    background: #fff;
    color: #5e9408;
}
input#button {
    width: 100%;
    padding: 10px 0;
    margin-top: 20px;
    font-size: 18px;
}
#letter {
    text-align: center;
    padding: 20px 40px 0;
    border-radius: 4px;
}
#letter .formResponsive .formHorizontal .formControls {
    margin-left: 0;
}
#letter input {
    padding: 20px 10px;
    margin: 0;
}
#letter .formResponsive .formHorizontal .rsform-block {
    margin-bottom: 0;
}
#letter .fancybox-close-small:hover:after {
    color: #444;
    background: #94CE18;
}
.form-thanks-msg-bg {
    position:fixed;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.8);
    top:0;
    left:0;
}
.form-thanks-msg {
    top: 40%;
    color:#fff;
    position: fixed;
    padding: 50px 0;
    left:50%;
    margin-left:-150px;
    width:300px;
    text-align: center;
    background: rgba(0,0,0,0.8);
}

.form-thanks-msg-bg, .form-thanks-msg {display:none;}
.form-thanks-msg-bg.active, .form-thanks-msg.active {display:block;}

.progress-title {
    font-size: 19px;
    font-weight: bold;
    display: table;
    cursor: pointer;
    margin-top: 25px;
    transition: all ease-in-out 300ms 0s;
}
.progress-title:hover, .progress.active .progress-title {
    color: #94CE18;
}
.item-page.progress {margin-top: 100px;}
.detail {height: 0;transition: all ease-in-out 300ms 0s;overflow: hidden;}
.detail.active {height: auto;}
.progress p {
    margin-bottom: 20px;
}
.item-page.video li {
    list-style-type: none;
    width: 48%;
    display: inline-block;
    margin-bottom: 25px;
}
.item-page.video .detail.active {margin-top: 25px;}
.item-page.video li:nth-child(2n-1) {
    margin-right: 3.5%;
}
.item-page.gallery .progress-title {
    text-align: center;
}
.item-page.gallery .progress-title img {
    display: block;
    margin-bottom: 15px;
}
.item-page.gallery .progress.active {
    width: 100%;
    background: #f9f7f7;
    margin: 10px 0;
    position: relative;
}
.item-page.gallery .progress.active .progress-title{
    margin: 20px auto;
}
.item-page.gallery .progress {
    width: 24.6%;
    display: inline-block;
}
.item-page.gallery .close, .item-page.gramoty .close {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    padding: 5px 15px;
    font-size: 35px;
    z-index: 100;
}

.item-page.gallery .progress.active .close {
    display: block;
}
.item-page.video, .item-page.gramoty {
    min-height: 550px;
}

.item-page.progress {
      min-height: 550px;
}

.item-page.esse p {
    margin-bottom: 20px;
    text-align: justify;
}
.item-page.esse .essay h4 {
    text-align: right;
}

.item-page.esse .essay p:first-child {
    text-align: right;
}