
/* Base layout and elements */

*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    color: #333;
}
img {
    max-width: 100%;
    height: auto;
}
p {
    margin: 0 0 10px;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.1;
    margin: 20px 0 10px;
}
h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }
a {
    color: #337ab7;
    text-decoration: none;
}
a:hover {
    color: #23527c;
    text-decoration: underline;
}

.wrap {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    vertical-align: top;
}
.cols {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0;
}
.col-left {
    flex: 0 0 75%;
    max-width: 75%;
    padding-right: 15px;
}
.col-owl,
.right-column {
    flex: 0 0 25%;
    max-width: 25%;
}
.col-owl {
    position: relative;
    overflow: hidden;
}
@media (max-width: 767px) {
    .col-left,
    .col-owl,
    .right-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
.main-col {
    padding-top: 20px;
}
.clearfix {
    clear: both;
}
.crumbs {
    list-style: none;
    margin: 0;
    padding: 0;
}
.crumbs > a {
    display: inline-block;
}

/* .header */

.header {
    height: 200px;
}

.header a.owl {
    text-decoration: none;
    background: url(../images/owl.png) no-repeat scroll 0 0;
    display: block;
    height: 220px;
}
#owl-animate {
    background: url(../images/owl-animate.png) no-repeat scroll -33px -235px;
    width: 335px;
    height: 220px;
    position: absolute;
    z-index: 10;
    opacity: 0;
}

.header .logo .item {
    height: 200px;
    width: 200px;
    float: right;
}
.header .logo:hover .item {
    opacity: 1;
    margin-top: 0;
}

.header .link {
    display: inline-block;
    color: #30191B;
    background-color: #f9f9f9;
    text-decoration: none;
    text-align: center;
    font-size: 1.35em;
    margin: 0 0 20px;
}
.header .link .text {
    padding: 10px 30px 8px;
    margin: 132px 0 0;
    border-bottom: 2px solid #80b13e;
}
.header .link.hover .text,
.header .link:hover .text {
    background-color: #80b13e;
    color: #fff;
}

.header .crumbs {
    background: url(../images/crumbs_bg.png) no-repeat scroll right 0 #80b13e;
    display: block;
    border-radius: 0;
    margin: 0;
    font-size: 13px;
    padding: 0 20px;
    height: 30px;
}
.header .crumbs > a + a:before {
    padding: 0;
    color: #ccc;
    content: "/\00a0";
}
.header .crumbs a {
    color: #fff;
    text-decoration: none;
    padding: 6px 5px;
    display: inline-block;
}
.header .crumbs a:hover {
    background: #7ad500;
}


.page {
    margin: 20px 0;
    font-size: 1.2em;
}
.page p {
    margin-bottom: 10px;
}


.col-left .tag-list {
    margin: 20px 0;
    padding: 25px 20px;
    background-color: #fff;
}
.col-left .tag-list .tag {
    font-size: 14px;
    display: inline-block;
    padding: 3px 5px 3px 3px;
    margin: 0 2px 6px;
    text-decoration: none;
}
.col-left .tag-list .count {
    padding: 2px 5px;
    border: 1px solid #000;
    font-size: .9em;
    margin-right: 5px;
}
.col-left .tag-list .tag:hover,
.col-left .tag-list .hover,
.tag-list .tag:hover .txt,
.tag-list .hover .txt {
    background-color: #80b13e;
    color: #fff;
}
.tag-list .tag:hover .count,
.tag-list .tag.hover .count {
    border: 1px solid #fff;
}


.right-column {
    background-color: #544641;
}
.right-column .section-title,
.right-column .tag-title {
    color: #fff;
    font-size: 28px;
    padding: 10px 10px 10px 5px;
    margin: 15px 0 0 20px;
    border-bottom: 2px solid #f0f0f0;
    display: block;
    text-decoration: none;
}
.right-column .tag-title:hover {
    background-color: #80b13e;
    color: #fff;
}

.right-column .tag-list {
    border-right: 2px solid #51484a;
    padding: 15px 20px 20px;
}
.right-column .tag-list .tag {
    font-size: 1.1em;
    color: #fff;
    display: inline-block;
    padding: 3px 5px 3px 3px;
    text-decoration: none;
}
.right-column .tag-list .count {
    padding: 1px 5px 0;
    border: 1px solid #fff;
    font-size: .9em;
    margin-right: 5px;
}
.right-column .tag-list .tag:hover,
.right-column .tag-list .hover,
.tag-list .tag:hover .txt,
.tag-list .hover .txt {
    background-color: #80b13e;
    color: #fff;
}
.wrap .tag-list .tag:hover .count,
.tag-list .hover .count {
    border: 1px solid #fff;
}

.right-column .section-list {
    border-right: 2px solid #51484a;
    padding: 15px 0 10px;
}
.right-column .section-item {
    font-size: 15px;
    color: #fff;
    display: block;
    padding: 5px;
    margin: 0 0 0 20px;
    text-decoration: none;
}
.right-column .section-list .hover,
.right-column .section-item:hover {
    background-color: #80b13e;
    color: #fff;
}



.article {
    margin: 20px 0 0;
    background: #f5f5f5;
}
.article .date {
    color: #AA9FA1;
    cursor: default;
    float: left;
    font-weight: bold;
    margin: 15px 0 0;
    padding: 0 0 5px 0;
    text-align: right;
    width: 95px;
}

.article .date .day {
    float: left;
    font-size: 3.1em;
    margin: 2px 0 0 10px;
}
.article .date .month {
    float: right;
    font-size: 1.2em;
    margin: -9px 10px 5px 0;
}
.article .date .year {
    float: right;
    font-size: 1em;
    margin: -3px 10px 4px 0;
}
.article .date .time {
    border-top: 2px solid #80b13e;
    float: left;
    font-size: 1em;
    margin: 0;
    padding: 10px 10px 0 0;
    text-align: right;
    width: 95px;
}
.article .annonce {
    margin: 0 0 0 95px;
    overflow: auto;
    font-size: 1.2em;
    padding: 0;
    background: #fff;
}
.article .annonce div.title,
.article .annonce a.title {
    border-bottom: 2px solid #80b13e;
    display: block;
    font-size: 25px;
    font-weight: bold;
    line-height: initial;
    color: #544641;
    min-height: 50px;
    padding: 10px 20px 5px;
    text-decoration: none;
}
.article .annonce a.title:hover {
    background-color: #80b13e;
    color: #fff;
}

.article .annonce .text {
    padding: 10px 20px;
    display: inline-block;
    width: 100%;
}
.article .annonce h1 {
    font-size: 28px;
}
.article .annonce p {
    margin: 0 0 10px;
}
.article .annonce a.edit {
    float: right;
    font-size: 0.7em;
    padding: 3px 5px;
}
.article .tag-list {
    margin: 10px 20px 5px;
    padding: 0;
}
.article .tag-list .tag {
    font-size: 13px;
    margin: 0;
    padding: 5px 10px;
    color: #000;
    background-color: #f0f0f0;
    text-decoration: none;
}



#paginator {
    margin: 50px 0 0 0;
    border-top: 2px solid #cecece;
    padding: 20px 10px;
}
#paginator .page_number {
    padding: 4px 8px;
    border: 1px solid #cecece;
    margin: 0 3px 0 0;
    text-decoration: none;
    color: #000;
    font-size: 1.2em;
}
#paginator .page_number.current,
#paginator .page_number:hover {
    background-color: #80b13e;
    border: 1px solid #80b13e;
    color: #fff;
}


div.contacts,
.portfolio-list {
    margin: 20px 0 0;
    padding: 10px;
    background-color: #fff;
}
.portfolio-list h2 {
    padding: 0 20px;
}
.portfolio-list .portfolio-item {
    border: 2px solid #fff;
    cursor: pointer;
    display: inline-block;
    margin: 10px;
    padding: 10px 10px 5px;
    text-align: center;
    text-decoration: none;
}
.portfolio-list .portfolio-item:hover {
    box-shadow: 0 0 13px -7px #000;
    border-color: #85AEC6;
    color: #FF0000;
}
.portfolio-list .portfolio-item .title {
    margin-top: 8px;
    font-size: 1.2em;
}

.portfolio-list .portfolio-item-site {
    display: block;
    margin: 35px 20px;
    padding: 0;
    font-size: 14px;
}
.portfolio-list .portfolio-item-site .site-thumb {
    float: left;
}
.portfolio-list .portfolio-item-site .text {
    margin: 0 0 0 230px;
}
.portfolio-list .portfolio-item-site .title {
    font-size: 18px;
    border-bottom: 1px solid;
    padding: 0 0 8px;
}
.portfolio-list .portfolio-item-site .description {
    margin: 15px 0;
}




#portfolio__item .item__swf {
    display: inline-block;
}

#portfolio__item .navigation-arrow {
    background: url(../images/arrow_prev.png) no-repeat 50% 50% rgb(255, 255, 255);
    width: 70px;
    height: 100px;
    float: left;
    opacity: .5;
    cursor: pointer;
}
#portfolio__item .navigation-arrow.right {
    background: url(../images/arrow_next.png) no-repeat 50% 50% rgb(255, 255, 255);
    float: right;
}
#portfolio__item .navigation-arrow:hover {
    opacity: 1;
}
#portfolio__item .portfolio-modal-foot {
    padding: 15px 40px 20px;
    text-align: left;
    font-size: 15px;
    border-top: 1px solid #e5e5e5;
}

div.contacts {
    font-size: 14px;
}
.contacts p {
    margin: 10px 10px 20px;
}

/* .footer */

.footer {
    margin: 50px auto 0;
    height: 85px;
    padding: 0;
}
.footer .left_side {
    height: 85px;
}
.footer .left_side .metrika {
    float: right;
    margin: 25px 35px 0 0;
}

.footer .right_side .email {
    font-size: 1.2em;
    text-decoration: none;
    color: #000;
    margin: 20px 0 0 -10px;
    padding: 10px;
    display: inline-block;
}
.footer .right_side .email:hover {

}

/* Portfolio viewer */
#portfolio__item {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
}
#portfolio__item .portfolio-modal-dialog {
    max-width: calc(100% - 30px);
    max-height: 100%;
    overflow: auto;
}
#portfolio__item .portfolio-modal-content {
    background: #fff;
}
#portfolio__item .portfolio-modal-head {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
#portfolio__item .portfolio-modal-title {
    margin: 0;
    font-size: 18px;
    line-height: 1.42857;
}
#portfolio__item .portfolio-modal-close {
    float: right;
    padding: 0;
    border: 0;
    background: none;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: .2;
    cursor: pointer;
}
#portfolio__item .portfolio-modal-close:hover {
    opacity: .5;
}
#portfolio__item .portfolio-modal-body {
    position: relative;
    display: flex;
    align-items: center;
    padding: 15px;
}
#portfolio__item .portfolio-modal-body .navigation-arrow {
    flex: 0 0 auto;
}

/* Contact form */
.contacts-form .field {
    margin-bottom: 15px;
}
.contacts-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.field-input {
    display: block;
    width: 100%;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
}
textarea.field-input {
    resize: vertical;
}
.field-error {
    margin-top: 4px;
    color: #a94442;
}
.btn-send {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font: inherit;
    cursor: pointer;
}
.btn-send:hover {
    background: #e6e6e6;
}
.btn-send:disabled {
    opacity: .6;
    cursor: default;
}
