html {
    height: 100%;
}

body {
    position: relative;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    background: #fff url("../images/bg.jpg") center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

*, *::before, *::after {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1230px;
    width: 100%;
}

.clear {
    clear: both;
}

.col {
    float: left;
}

.col-25 {
    width: 25%;
}

.col-50 {
    width: 50%;
}

.col-75 {
    width: 75%;
}

img {
    display: block;
    max-width: 100%;
    max-height: 100%;
}

a,
input,
button,
textarea,
.mini-drop,
.page-link,
.widget-d,
#day-d {
    text-decoration: none;
    transition: all .5s linear;
    -webkit-transition: all .5s linear;
    -moz-transition: all .5s linear;
    -ms-transition: all .5s linear;
    -o-transition: all .5s linear;
}

a:hover {
    text-decoration: none;
}

.link-a {
    text-transform: uppercase;
    font-weight: 600;
}

.green {
    color: #aabb0c;
    margin-left: 25px;
    padding: 5px;
}

.green:hover {
    color: #333;
    background-color: #aabb0c;
    text-decoration: none;
}

.section,
.sidebar-k {
    padding-top: 55px;
}

.section.small-padding {
    padding-top: 10px;
}

.section-l {
    padding-top: 50px;
}

.bg-color {
    background: -webkit-gradient(linear, left top, right top, from(#c4d24e), to(#aabb0b));
    background: -webkit-linear-gradient(left, #aabb0b, #c4d24e);
    background: -moz-linear-gradient(left, #aabb0b, #c4d24e);
    background: -ms-linear-gradient(left, #aabb0b, #c4d24e);
    background: -o-linear-gradient(left, #aabb0b, #c4d24e);
}

/* -------------------- */

#page-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 1230px;
    background-color: #fff;
}

#main-aside {
    float: left;
    width: 29%;
    max-width: 352px;
    padding: 50px 30px 50px 0;
    border-right: 1px solid #d4d4d4;
}

#content-wrap {
    float: left;
    width: 71%;
    padding-left: 30px;
}

#main-header {
    padding-top: 5px;
    position: relative;
}

#main-header h1 {
    margin-left: 55px;
    padding-bottom: 5px;
}

/* main-nav */

.nav-border {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.main-menu.horizontal {
    text-align: center;
}
.main-menu.horizontal > li {
    display: inline-block;
    position: relative;
}

.main-menu.horizontal > li > a,
.after-log > li > a {
    display: block;
    color: #333;
}

.main-menu.horizontal > li > a[href^="#"]{color:#888}
.main-menu.horizontal > li > a,
.after-log > li > a,
#user-n {
    padding: 20px 10px;
    text-transform: uppercase;
    font-size: 1.125em;
}

.main-menu.horizontal > li > a:hover,
.main-menu.horizontal > li > a.active,
.submenu.horizontal > li > a:hover,
.after-log > li > a:hover,
#user-n {
    background-color: #fff;
}

/* after-log */

.after-log {
    float: right;
}

.after-log > li {
    display: inline-block;
}

/* submenu horizontal */

.submenu.horizontal {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    height: auto;
    width: 100%;
    min-width: 300px;
    padding: 0 15px 15px 15px ;
    text-align: left;
    z-index: 10;
}

.submenu.horizontal > li {
    border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.submenu.horizontal > li > a {
    display: block;
    padding: 15px;
    text-transform: uppercase;
    font-size: 1.125em;
    color: #333;
}
.submenu.horizontal > li > a[href^="#"]{color:#888}


/* --------- */

@media only screen and (max-width: 1160px) {
    .main-menu.horizontal > li > a{
        font-size: 1em;
        padding: 15px 7px;
    }

    .submenu.horizontal > li > a {
        font-size: 1em;
        padding: 10px;
    }
}

@media only screen and (max-width: 1015px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .main-menu.horizontal {
        display: none;
        text-align: left;
    }

    .main-menu.horizontal > li {
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }

    .main-menu.horizontal > li > a {
        position: relative;
    }

    .main-menu.horizontal > li > a.arrow-2:after {
        content: "";
        position: absolute;
        width: 15px;
        height: 8px;
        top: 21px;
        right: 20px;
        background: url("../images/icon-arrow-menu.png") center no-repeat;
        cursor: pointer;
    }

    .submenu.horizontal {
        position: static;
    }

    .main-menu.horizontal > li > a:hover,
    .main-menu.horizontal > li > a.active,
    .submenu.horizontal > li > a:hover,
    .after-log > li > a:hover,
    #user-n {
        background-color: transparent;
    }
}

@media only screen and (max-width: 750px) {
    #main-header h1 {
        margin-left: 0;
        width: 80%;
    }
}


/* aside-menu */

.aside-menu li {
    position: relative;
    border-bottom: 1px solid #cfcfcf;
}

.aside-menu > li > a.toggle-border {
    border-bottom: 1px solid #cfcfcf;
}

.aside-menu li.arrow:after {
    content: "";
    position: absolute;
    width: 15px;
    height: 8px;
    top: 21px;
    right: 20px;
    background: url("../images/icon-arrow-menu.png") center no-repeat;
    cursor: pointer;
}

.aside-menu a {
    display: block;
    padding: 15px 10px;
    text-transform: uppercase;
    color: #333;
    background-color: transparent;
}

.aside-menu a:hover,
.aside-menu a.active {
    background: -webkit-gradient(linear, left top, right top, from(#c4d24e), to(#aabb0b));
    background: -webkit-linear-gradient(left, #aabb0b, #c4d24e);
    background: -moz-linear-gradient(left, #aabb0b, #c4d24e);
    background: -ms-linear-gradient(left, #aabb0b, #c4d24e);
    background: -o-linear-gradient(left, #aabb0b, #c4d24e);
    color: #fff;
}

.aside-submenu {
    display: none;
}

.aside-submenu > li {
    padding-left: 20px;
}

.aside-submenu > li:last-child {
    border-bottom: none;
}

/* mobile menu */

#nav-toggle {
    position: absolute;
    display: none;
    width: 35px;
    height: 12px;
    top: 56px;
    right: 20px;
    cursor: pointer;
    z-index: 100;
}

#nav-toggle:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 12px;
    left: 0;
    top: -11px;
}

#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
    border-radius: 1px;
    height: 2px;
    width: 35px;
    background: #f7f8fc;
    position: absolute;
    display: block;
    content: '';
    transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

#nav-toggle span:before {
    top: -10px;
}

#nav-toggle span:after {
    bottom: -10px;
}

#nav-toggle.active span {
    background-color: transparent;
}

#nav-toggle.active span:before,
#nav-toggle.active span:after {
    top: 0;
}

#nav-toggle.active span:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}

#nav-toggle.active span:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
}

/* ------------------------ */

@media only screen and (max-width: 1015px) {
    #nav-toggle {
        display: block;
    }
}

@media only screen and (max-width: 750px) {
    #nav-toggle {
        top: 35px;
    }
}

@media only screen and (max-width: 450px) {
    #nav-toggle {
        top: 22px;
    }
}

/* message-menu */

#message-menu-box {
    position: relative;
    padding: 10px 5px;
    margin-bottom: 30px;
}

#message-menu-box.bigger-margin {
    margin-bottom: 60px;
}

.message-menu > li {
    display: inline-block;
    margin: 0 5px;
}

.message-menu > li > a {
    text-transform: uppercase;
    color: #333;
}

.message-menu > li > a:hover,
.message-menu > li > a.active {
    color: #fff;
}


/* main-banner */

#main-banner {
    width: 100%;
    height: 300px;
    background: url("../images/banner.jpg") 0% 68% no-repeat;
    background-size: cover;
}

#main-banner.small {
    height: 350px;
    background-position: 30%;
}

#main-banner .container {
    height: 100%;
}

#pip {
    position: absolute;
    bottom: -20px;
    left: 35px;
    width: 280px;
    height: 280px;
    padding: 5px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
}

#pip:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 13px;
    left: 0;
    bottom: -13px;
    background: url("../images/pip-shadow.png") center no-repeat;
}

/* main-content */

#main-content {
    background: url("../images/main-bg.png") no-repeat;
    background-position: 80% 20%;
}

#main-content.no-bg {
    background: none;
}

@media only screen and (max-width: 768px) {
    #main-banner {
        height: 200px;
    }

    #pip {
        height: 200px;
        width: 200px;
    }
}

/* drops */
.drop {
    display: block;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-top-left-radius: 50%;
}

.tree {
    background: url("../images/icon-tree.png") center no-repeat;
}
.gallery-icon {
    background: url("../images/icon-gallery.png") center no-repeat;
}
.speaker {
    background: url("../images/icon-speaker.png") center no-repeat;
}

.speaker-s {
    background: url("../images/icon-speaker-s.png") center no-repeat;
}

.envelope-s {
    background: url("../images/icon-envelope-small.png") center no-repeat;
    background-size: 35px;
}

.key {
    background: url("../images/icon-key.png") center no-repeat;
}

.paperplane {
    background: url("../images/icon-paperplane.png") center no-repeat;
}

.download {
    background: url("../images/icon-download.png") center no-repeat;
}

.upload {
    background: url("../images/icon-upload.png") center no-repeat;
}

.pencil {
    background: url("../images/icon-pencil.png") center no-repeat;
}

.trash {
    background: url("../images/icon-trash.png") center no-repeat;
}

.bubble {
    background: url("../images/icon-bubble.png") center no-repeat;
}

.add {
    background: url("../images/icon-add.png") center no-repeat;
}

.deer {
    background: url("../images/icon-deer.png") center no-repeat;
}

.at {
    background: url("../images/icon-at.png") center no-repeat;
}

.subject {
    background: url("../images/icon-subject.png") center no-repeat;
}

.message {
    background: url("../images/icon-message.png") center no-repeat;
}

.clock {
    background: url("../images/icon-clock.png") center no-repeat;
    background-size: 20px;
}

.calendar {
    background: url("../images/icon-calendar.png") center no-repeat;
    background-size: 20px;
}

.section-drop {
    float: left;
    background-color: #333;
    width: 110px;
    height: 110px;
}

.section-drop.small {
    width: 92px;
    height: 92px;
}

.footer-drop {
    display: inline-block;
    background-color: #fff;
    width: 55px;
    height: 55px;
    vertical-align: middle;
}

.login-drop {
    display: inline-block;
    background-color: #333333;
    width: 80px;
    height: 80px;
}

.form-drop {
    display: inline-block;
    background-color: #333333;
    width: 50px;
    height: 50px;
}

.mini-drop {
    display: inline-block;
    background-color: #333;
    width: 35px;
    height: 35px;
    vertical-align: middle;
}

.message-menu > li > a:hover .mini-drop,
.message-menu > li > a.active .mini-drop {
    background-color: #fff;
}

.mini-drop.green {
    background-color: #aabb0c;
    border: 1px solid #aabb0c;
    margin-right: 10px;
}

#contact-form label:hover .mini-drop.green {
    background-color: #fff;
    border: 1px solid #333;
    border-radius: 50%;
}

.avatar-drop {
    float: left;
    background-color: #aabb0c;
    width: 80px;
    height: 80px;
    padding: 8px;
    margin-top: 20px;
}

.avatar-drop > img {
    margin: 0 auto;
    border-radius: 50%;
}

.widget-d {
    display: inline-block;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    background-color: #333;
    border: 1px solid #333;
}

@media only screen and (max-width: 768px) {
    .section-drop {
        height: 70px;
        width: 70px;
        background-size: 50px;
    }

    .tree {
        background-size: 35px;
    }

    .gallery-icon {
        background-size: 40px;
    }
}

@media only screen and (max-width: 450px) {
    .drop.section-drop {
        display: none;
    }
}


/* ----- */

.section-title {
    float: left;
    margin-left: 40px;
    text-transform: uppercase;
    line-height: 110px;
    font-size: 2em;
    font-weight: 700;
}

.section-title.small {
    font-size: 1.875em;
    line-height: 92px;
    margin-left: 35px;
    margin-bottom: 55px;
}

.article-title {
    padding: 10px 30px;
    text-transform: uppercase;
    font-size: 1.25em;
    margin-bottom: 20px;
}

.main-article {
    margin-left: 150px;
    margin-bottom: 40px;
}

.article {
    margin-bottom: 40px;
}

.section .main-article:last-child {
    margin-bottom: auto;
}

.main-article > p {
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.125em;
    line-height: 150%;
}

.article > p {
    margin-bottom: 15px;
    font-size: 1.125em;
    line-height: 150%;
}


/* divider */

#divider {
    margin: 55px 0;
    height: 400px;
    background: url("../images/divider-img-4.jpg") center no-repeat;
    background-size: cover;
}

/* ------------------------ */

@media only screen and (max-width: 1280px) {
    #divider {
        height: 250px;
    }
}

@media only screen and (max-width: 768px) {
    .section-header {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1.75em;
        line-height: 70px;
        margin-left: 20px;
    }

    .main-article {
        margin-left: auto;
    }

    #divider {
        height: 200px;
    }
}

@media only screen and (max-width: 450px) {
    .section-title {
        margin-left: 0;
    }

    .main-article > p {
        padding-left: inherit;
    }

    .main-article > .green {
        margin-left: auto;
    }
}

/* main-footer */

#main-footer {
    padding: 55px 0;
    text-align: center;
}

.col-next {
    display: inline-block;
    vertical-align: middle;
    width: calc(50% - 4px);
}

.owner-name {
    margin-bottom: 40px;
}

.owner-name > img {
    margin: 0 auto;
}

#main-footer p {
    font-size: 1.275em;
    margin-bottom: 7px;
}

.box {
    margin-bottom: 40px;
}

#main-footer .col-next:first-child .box:last-child {
    margin-bottom: auto;
}

.title-wrp-ftr {
    margin-bottom: auto;
    text-align: center;
}

.ftr-title {
    display: inline-block;
    margin-left: 20px;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 75px;

}

#main-footer img {
    max-height: 419px;
    margin: 0 auto;
}

/* ------------------------ */

@media only screen and (max-width: 820px) {
    .footer-drop {
        display: none;
    }

    .title-wrp-ftr {
        margin-bottom: 30px;
        text-align: center;
    }

    .ftr-title {
        float: none;
        font-size: 1.25em;
        margin-left: auto;
        line-height: 100%;
    }
}

@media only screen and (max-width: 768px) {
    #main-footer .col-next:nth-child(1) {
        width: 100%;
    }

    #main-footer .col-next:nth-child(2) {
        display: none;
    }
}

/* popup */

.popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding-top: 5%;
    z-index: 100;
}

.popup-color {
    background-color: rgba(170, 187, 12, .85);
}

.login-wrpr {
    text-align: center;
}

.login-wrpr > p {
    font-size: 1.875em;
    margin-bottom: 65px;
}

.title-wrp-log {
    margin-bottom: 65px;
}

.login-title {
    font-size: 2.25em;
    margin-left: 31px;
    line-height: 80px;
    text-transform: uppercase;
    vertical-align: top;
}

.login-wrpr > p,
.login-title {
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}

#close-log {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: url("../images/icon-close.png") center no-repeat;
    text-indent: -9999px;
}

/* forms */

#login-form {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.login-input,
.new-mail-i,
.new-mail-t,
.input-f,
.input-c,
.textarea-c {
    display: block;
    width: 100%;
    margin-bottom: 25px;
    background-color: #fff;
    color: #333;
}

.login-input {
    height: 65px;
    padding: 15px;
    font-size: 1.5em;
    border: 1px solid #333;
}

.login-input:hover,
.login-input:focus,
.new-mail-i:hover,
.new-mail-i:focus,
.new-mail-t:hover,
.new-mail-t:focus {
    border-color: #643173;
    background-color: #fcfcfc;
}

#login-form .login-input:nth-child(2) {
    margin-bottom: 35px;
}

.login-input::-webkit-input-placeholder {
    color:#333;
}

.login-input:-moz-placeholder {
    color: #333;
}

.login-input::-moz-placeholder {
    color: #333;
}

.login-input:-ms-input-placeholder {
    color: #333;
}

.new-mail-i,
.new-mail-t,
.input-f,
.textarea-f,
.input-c,
.textarea-c {
    padding: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1.125em;
    border: 1px solid #d4d4d4;
}

.new-mail-t,
.textarea-f,
.textarea-c {
    width: 100%;
    min-height: 300px;
    overflow: auto;
    resize: vertical;
}

.textarea-f {
    margin-bottom: 25px;
}

.input-c:hover,
.input-c:focus,
.textarea-c:hover,
.textarea-c:focus {
    border: 1px solid #333;
    background-color: rgba(170, 187, 12, .25);
}

.new-mail label,
.forum-form label,
#contact-form label {
    display: block;
    text-align: left;
    font-size: 1.125em;
    margin-bottom: 10px;
}

#contact-form label {
    font-size: 1.25em;
}

/* ------------------------ */

@media only screen and (max-width: 600px) {
    .popup {
        padding-top: 10%;
    }

    .title-wrp-log {
        margin-bottom: 35px;
    }

    .login-drop {
        background-size: 30px auto;
        height: 60px;
        width: 60px;
    }

    .login-title {
        font-size: 1.5em;
        line-height: 60px;
        margin-left: 20px;
    }

    #login-form {
        max-width: 300px;
    }

    .login-input {
        height: 55px;
        margin-bottom: 5px;
    }

    #login-btn {
        height: 45px;
        width: 200px;
        line-height: 24px;
    }

    #close-log {
        right: 0;
        top: 0;
        background-size: 45px auto;
        height: 45px;
        width: 45px;
    }
}


/* buttons */

.btn {
    display: block;
    cursor: pointer;
    margin: 0 auto;
    width: 230px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 30px;
    background-color: #333;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 1.25em;
    text-transform: uppercase;
    letter-spacing: 1px;
    outline: none !important;
}

.btn:hover,
.btn:focus {
    background-color: #fff;
    border-color: #333;
    color: #333;
}

.btn.send-m,
.btn.reset-m,
.btn.send-f {
    display: inline-block;
    width: 130px;
    height: 40px;
    border: 2px solid #333;
    border-radius: 30px;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    color: #333;
}

.btn.send-m {
    background-color: #aabb0c;
}

.btn.reset-m {
    background-color: #ffd3b2;
}

.btn.send-f {
    background-color: #abbb0c;
    border: 2px solid #fff;
    color: #fff;
}

.btn.send-m:hover,
.btn.send-f:hover {
    background-color: #333;
    color: #fff;
}

.btn.reset-m:hover {
    background-color: #ff6d01;
}

.btn.send-p {
    float: right;
    width: 140px;
    height: 35px;
    text-align: center;
    font-size: 1em;
    line-height: 30px;
    margin-top: 10px;
}

.delete-bt {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url("../images/icon-delete.png") center no-repeat;
    text-indent: -9999px;
    opacity: .3;
}

.delete-bt:hover {
    opacity: 1;
}

/* table (mail, forum) */

.table-kl {
    border-spacing: 0;
    border-collapse: collapse;
    padding: 0;
    table-layout: fixed;
    width: 100%;
}

.table-kl th,
.table-kl td {
    padding-top: 15px;
    padding-bottom: 15px;
    vertical-align: middle;
    line-height: 120%;
}

.table-kl th {
    font-weight: 700;
}

.table-kl.forum-table {
    font-size: 1.125em;
    font-weight: 400;
    margin-bottom: 30px;
}

.table-kl tr {
    border-bottom: 1px solid #d4d4d4;
}

.table-kl thead tr {
    background-color: #fff;
}

.table-kl.forum-table thead tr {
    background-color: #abbb0c;
}

.table-kl tbody tr:nth-child(even) {
    background-color: rgba(170, 187, 12, .05);
}

.table-kl.forum-table tbody tr:nth-child(even) {
    background-color: rgba(170, 187, 12, .15);
}

.table-kl tbody tr:hover {
    background-color: rgba(170, 187, 12, .25);
}

.table-kl tbody a {
    color: #333;
}

.table-kl tbody a:hover {
    text-decoration: underline;
}

.counter-c {
    width: 45px;
}

.sender-c {
    width: 40%;
}

.date-c {
    width: 50px;
}

.bin-c {
    width: 45px;
}

.title-c {
    width: 30%;
}

.title-f {
    width: 50%;
}

.counter-f {
    width: 80px;
}

.date-f {
    width: 100px;
}

.counter-td,
.date-td,
.bin-td,
.date-tdf,
.counter-tdf,
.sender-tdf {
    text-align: center;
}

.sender-td,
.title-td,
.title-tdf {
    padding-left: 5px;
}

.title-tdf a {
    font-weight: 700;
}

.title-tdf > a:visited {
    color: #abbb0c;
}


/* new, incoming message */

.new-mail,
.incoming-mail {
    text-align: center;
}

.incoming-mail .box {
    text-align: left;
}

.incoming-mail .box > span {
    display: block;
    font-size: 1.125em;
}

.label-m {
    margin-bottom: 10px;
    line-height: 120%;
}

.frame-m {
    padding: 15px;
    margin-bottom: 40px;
    background-color: #fff;
    border: 1px solid #d4d4d4;
    line-height: 150%;
}

/* pagination */


.pagination {
    margin-bottom: 30px;
    text-align: center;
    display: block;
}

.page-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 43px;
    font-size: 1.125em;
    border: 1px solid #abbb0c;
    background-color: #fff;
}

.page-link:hover,
.page-link.active {
    background-color: #abbb0c;
}

.page-link > a {
    display: block;
    color: #333;
}

.page-link:hover > a,
.page-link.active > a {
    color: #fff;
}


/* forum */

#forum-box {
    margin: 0 auto;
    margin-bottom: 50px;
    max-width: 860px;
    padding: 25px 30px;
    border: 1px solid #d4d4d4;
    background-color: rgba(170, 187, 12, .25);
    text-align: center;
}

#forum-box .box {
    margin-bottom: 25px;
}

.form-title {
    display: inline-block;
    font-size: 1.5em;
    line-height: 50px;
    margin-left: 20px;
    vertical-align: top;
}

.post-subject {
    padding: 20px;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.post-date {
    display: block;
    text-align: right;
    font-size: 1.125em;
    padding-right: 20px;
    margin-bottom: 40px;
}

.post-date > time {
    color: #abbb0c;
    font-weight: 600;
}

#post-wrap {
    margin-bottom: 50px;
}

.post-wrapper {
    margin-bottom: 50px;
}

.post-wrapper.level-2-p {
    padding-left: 30px;
}

.frame-p {
    float: left;
    width: calc(100% - 100px);
    margin-left: 10px;
    padding: 20px;
    border: 1px solid #d4d4d4;
}

.frame-p.level-2-p {
    background-color: rgba(170, 187, 12, .25);
}

.info-p {
    margin-bottom: 30px;
}

.post-author,
.topic-resond,
.time-p {
    font-size: 1.125em;
}

.topic-resond {
    border-bottom: 1px solid #333;
}

.post-author > a {
    color: #aabb0c;
}

.post-author > a:hover {
    color: #ff6d01;
}

.time-p {
    float: right;
}

.frame-p p {
    font-size: 1.125em;
    line-height: 150%;
    margin-bottom: 10px;
}

/* breadcrumbs */

.breadcrumbs {
    padding: 15px 0;
    border-bottom: 1px solid rgba(170, 187, 12, .25);
}

.breadcrumbs > li {
    display: inline-block;
}

.breadcrumbs > li > a {
    color: #759E32;
}

.breadcrumbs > li > a:hover {
    color: #ff6d01;
}

/* contact */

#contact-form {
    margin: 0 auto;
    margin-bottom: 70px;
    max-width: 700px;
    text-align: center;
}
.img-thumbnail{margin:12px!important;}
.img-thumbnail .img-link{
    min-height: 250px;
    min-width: 250px;
    display:block;
    text-align: center;
}
.img-thumbnail .img-link img{margin: 0 auto;}
.img-thumbnail .img-title{
    max-width: 250px;
    height: 40px;
    overflow:hidden;
}
a.view-link{
    display: block;
    float: left;
    margin: 3px;
    max-width: 120px;
    min-height: 120px;
    min-width: 120px;
}

@media only screen and (max-width: 1015px) {
    #contact-form {
        margin-top: 30px;
    }
}


/* ---------- clock and calendar ---------- */

#widget-k {
    width: 100%;
    padding: 0 15px;
    font-size: 24px;
}

.widget-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(51, 51, 51, .3);
}
/*
#clock-k,
#date-k {
    float: right;
}

#clock-k {
    margin-left: 20px;
}
*/
#txt,
#day-d {
    display: inline-block;
    vertical-align: top;
    padding-top: 10px;
}
/*
#date-k:hover {
    cursor: pointer;
}

#date-k:hover .drop.widget-d,
.drop.widget-d.active {
    background-color: #fff;
    border-top-right-radius: 50%;
}

#date-k:hover #day-d,
#day-d.active {
    color: #AABB0C;
}
*/
#calendar-widget {
    display: block;
}

#calendar-widget .ui-datepicker {
    width: 100%;
    max-width: 280px;
}

#calendar-widget .ui-datepicker-title {
    font-size: 18px;
}

#calendar-widget .ui-datepicker-calendar {
    font-size: 14px;
}

#calendar-widget .ui-widget-header {
    background-color: #d6e083 !important;
}

#calendar-widget .ui-widget-header,
#calendar-widget .ui-state-hover,
#calendar-widget .ui-widget-content .ui-state-hover,
#calendar-widget .ui-widget-header .ui-state-hover,
#calendar-widget .ui-state-default,
#calendar-widget .ui-widget-content .ui-state-default,
#calendar-widget .ui-widget-header .ui-state-default {
    background-image: none !important;
}

#calendar-widget .ui-state-default,
#calendar-widget .ui-widget-content .ui-state-default,
#calendar-widget .ui-widget-header .ui-state-default {
    background-color: #dde2b4 !important;
}

#calendar-widget .ui-state-default .ui-state-focus,
#calendar-widget .ui-state-hover,
#calendar-widget .ui-state-focus,
#calendar-widget .ui-widget-content .ui-state-focus,
#calendar-widget .ui-widget-content .ui-state-hover,
#calendar-widget .ui-widget-header .ui-state-hover,
#calendar-widget .ui-widget-header .ui-state-focus {
    background-color: #fff !important;
}

#calendar-widget .ui-state-highlight,
#calendar-widget .ui-widget-content .ui-state-highlight,
#calendar-widget .ui-widget-header .ui-state-highlight {
    background-color: #ff6d01 !important;
    background-image: none;
    border: 1px solid #ff6d01 !important;
}


#calendar-widget .ui-datepicker .ui-datepicker-prev,
#calendar-widget .ui-datepicker .ui-datepicker-next {
    height: 100%;
    width: 48px;
    top: 0;
}

#calendar-widget .ui-datepicker .ui-datepicker-prev {
    left: 0;
}

#calendar-widget .ui-datepicker .ui-datepicker-next {
    right: 0;
}

/* --- moon --- */

.moon-image-wrap {
    width: 100%;
    padding: 10px;
    background-color: #fff;
    margin: 0 auto;
    margin-bottom: 10px;
}

.moon-image-wrap > img {
    margin: 0 auto;
}

#moon-phases p {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

#moon-phases .moon-visibility {
    margin-bottom: 20px;
}


/* --- hunting calendar widget --- */

.animal-name-wrap {
    padding: 20px 0 10px 0;
    text-align: center;
}

.animal-name-wrap .animal-name li {
    font-size: 18px;
    margin-bottom: 10px;
}

.to-animal-calendar {
    display: block;
    font-size: 18px;
    text-align: center;
    color: #333;
    background-color: rgba(214, 224, 131, .3);
    padding: 15px 10px;
}

.to-animal-calendar:hover,
.to-animal-calendar:focus {
    background-color: #D6E083;
    color: #333;
    text-decoration: none;
}


@media only screen and (max-width: 480px) {
    #clock-k,
    #date-k {
        float: none;
        margin-bottom: 10px;
    }

    #clock-k {
        margin-left: auto;
    }
}


/* --- hunting calendar (table) --- */


.hunting-calendar-wrap {
    padding-top: 50px;
}

.hunting-calendar-table th {
    font-weight: 600;
}

.current-day {
    background-color: rgba(255, 109, 1, .1);
}

.day-number {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 600;
}

.day-off {
    color: #ff0101;
}

.orb-box {
    text-transform: uppercase;
    margin-bottom: 10px;
}

.orb-box > p {
    text-transform: lowercase;
    text-align: right;
}

.hunting-calendar-table .animal-name {
    text-align: center;
    font-weight: 600;
}

.hunt-start,
.start-p {
    background-color: rgba(214, 224, 131, .8); ;
}

.hunt-end,
.end-p {
    background-color: rgba(0, 0, 0, .4); ;
}

.cal-nav {
    text-align: center;
    margin-bottom: 20px;
}

.cal-nav-prev,
.cal-nav-next {
    width: 35px;
    height: 35px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -9999px;
    outline: none;
}

.cal-nav-prev:hover,
.cal-nav-next:hover {
    opacity: .5;
}

.cal-nav-prev {
    background-image: url("../images/moon/arrow-prev.png");
}

.cal-nav-next {
    background-image: url("../images/moon/arrow-next.png");
}

.cal-nav-month,
.cal-nav-prev,
.cal-nav-next {
    display: inline-block;
    vertical-align: middle;
}

.cal-nav-month {
    margin: 0 30px;
}

.cal-nav-month label {
    overflow: hidden;
    background: url("../images/moon/icon-pen.png") center right no-repeat;
}

.cal-nav-month select {
    text-transform: capitalize;
    font-size: 24px;
    text-align: center;
    padding-right: 20px;
    border: none;
    background-color: transparent;
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
}

.cal-nav-month select::-ms-expand { /* for IE 11 */
    display: none;
}

.legend-box {
    margin-bottom: 15px;
}

.legend-box > span {
    vertical-align: middle;
}

.legend-bg {
    display: inline-block;
    width: 70px;
    height: 20px;
}

div.required label.control-label:after {
    content: " *";
    color: red;
}