body {
    color: #555555;
    background: #eeeeee;
}

a {
    color: #00b1ba;
    transition-duration: 0.3s;
}

a:hover, a:focus, a:visited {
    color: #088389;
}

blockquote {
    border-left: 2px solid #ddd;
    color: #888;
}

.site-header {
    background: white;
    box-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.post,
.wrapper .page,
.jetpack-portfolio,
.page-404,
.search .content,
.nothing-found {
    background: #fefefe;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
}

.entry-meta.top, .top {
    border-bottom: 1px solid #e1e1e1;
}

.entry-meta.bottom, .bottom {
    border-top: 1px solid #e1e1e1;
}

.nav-previous, .nav-next {
    color: #888;
}

.pushi-sidebar .widgettitle {
    color: white;
}

button.search-submit {
    color: gray;
    background: transparent;
}

input[type="search"], input[type="email"], input[type="url"], input[type="text"], textarea, input {
    border: 1px solid #afafaf;
    background: #f6f6f6;
    color: gray;
}

.social-menu li a[href*="vk.com"]:hover {
    background: #507299;
}

.social-menu li a[href*="#share"]:hover {
    color: white;
    background: #1da1f2;
}

.social-menu li a[href*="twitter.com"]:hover {
    color: white;
    background: #1da1f2;
}

.social-menu li a[href*="facebook.com"]:hover {
    color: white;
    background: #3b5998;
}

.social-menu li a[href*="plus.google.com"]:hover {
    color: white;
    background: #db4437;
}

.social-menu li a[href*="twitter.com"],
.social-menu li a[href*="#share"],
.social-menu li a[href*="facebook.com"],
.social-menu li a[href*="plus.google.com"] {
    color: #333333;
}

.social-menu li a {
    background-color: #eee;
}

.archive-header {
    background: url('../img/archive-bg.jpg') top center;
    color: white;
    text-shadow: 1px 1px 5px black;
}

.site-footer {
    background: #fefefe;
}

.pushy ul {
    list-style-type: none;
}

/* SECTION HOME */

.one {
    height: calc(100vh - 62px);
    background: url("../img/tekstura.jpg") no-repeat;
    background-size: cover;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.second-color {
    color: #00b1ba;
}

.before-home-title, .after-home-title {
    font-size: 26px;
    font-style: italic;
    font-weight: lighter;
    color: #ccc;
}

.home-title {
    font-size: 72px;
    margin: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.home-sity {
    font-size: 20px;
    font-style: italic;
    font-weight: lighter;
}

.before-home-title {
    margin-top: 0.73em;
}

.after-home-title {
    margin-bottom: 0.73em;
}

.two {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.two h2 {
    width: 100%;
}

.two .service {
    margin: 15px;
    background: #fefefe;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.14);
    border-radius: 2px;
    width: calc(33.33% - 15px);
    min-width: 250px;
    max-width: 350px;
}

.two .service:last-of-type {
    margin-right: 0;
}

.two ul {
    margin: 0;
    padding: 0 0 24px;
}

.two li {
    line-height: 16px;
    padding: 6px;
    list-style-type: none;
}

.two li:first-child {
    padding-top: 0;
}

.three {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.three h2 {
    width: 100%;
}

.portfolio {
    min-width: 250px;
    max-width: 500px;
    width: 25%;
    position: relative;
}

.portfolio-block {
    transition: opacity 0.3s ease;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba( 0, 0, 0, 0.7 );
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-block {
    opacity: 1;
}

.portfolio-block:hover {
    opacity: 0;
}

.portfolio-block a {
    transition: none;
}

.portfolio h3 {
    color: white;
    text-align: center;
}

.portfolio img {
    margin: 0;
}

.button {
    padding: 10px;
    color: #e6e6e6;
    margin: 20px;
    border: none;
    background: #088389;
    animation: changecolorbutton 2s ease 3s infinite alternate;
}

a.button:hover,a.button:focus, a.button:visited,
.button:hover, .button:focus, .button:visited {
    color: white;
}

section.three h2 {
    margin: 15px auto 30px auto;
}

section.two h2 {
    margin: 30px auto 15px auto;
}

section h2 {
    text-transform: uppercase;
}

span.second-color {
    animation: rotateY180 6s ease 1s infinite alternate;
    display: inline-block;
}
.menu-btn {
    animation: rotateY180 3s ease 0s infinite alternate;
}

@keyframes rotateY180 {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

@keyframes changecolorbutton {
    from {
        background: #088389;
    }
    50% {

    }
    to {
        background: #00b1ba;
    }
}

.three .button {
    color: white;
}

.cta-three {
    width: 100%;
    padding: 15px 0;
    text-align: center;
}

/*----------------------------*/

code {
    color: #888;
}

table, tr, th, td {
    border: 1px solid #c0c0c0;
}

.color-info, .color-info:hover, .color-info:focus, .color-info:visited {
    color: rgba(255, 0, 0, 0.6);
    font-weight: bold;
}

.sticky {
    border-top: 1px solid gold;
}

input#submit {
    background: #088389;
    color: white;
    border: none;
    padding: 10px;
    font-style: normal;
}


::-webkit-scrollbar-button {
    background-repeat: no-repeat;
    width: 5px;
    height: 0;
}

::-webkit-scrollbar-track {
    background-color: #373737
}

::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: #00b1ba;
}

::-webkit-scrollbar-thumb:hover{
    background-color: #088389;
}

::-webkit-resizer{
    background-repeat: no-repeat;
    width: 4px;
    height: 0;
}

::-webkit-scrollbar{
    width: 4px;
    height: 6px;
}

@media screen and (max-width: 782px) {

    .home-title {
        font-size: 48px;
    }

    .two .service:last-of-type {
        margin-right: 15px;
    }
}

@media screen and (max-width: 640px) {
    .home-title {
        font-size: 32px;
    }
}

@media screen and (max-width: 480px) {

}

.modal_div {
    max-width: 300px;
    max-height: 300px;
    border: 3px #000 solid;
    background: #fff;
    position: fixed; /* чтoбы oкнo былo в видимoй зoне в любoм месте */
    top: 45%; /* oтступaем сверху 45%, oстaльные 5% пoдвинет скрипт */
    margin-top: -150px;
    left: 50%; /* пoлoвинa экрaнa слевa */
    margin-left: -150px;
    display: none; /* в oбычнoм сoстoянии oкнa не дoлжнo быть */
    opacity: 0; /* пoлнoстью прoзрaчнo для aнимирoвaния */
    z-index: 9999; /* oкнo дoлжнo быть нaибoлее бoльшем слoе */
    padding: 20px 10px;
    text-align: center;
}
/* Кнoпкa зaкрыть для тех ктo в тaнке) */
.modal_div .modal_close {
    width: 21px;
    height: 21px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: block;
    background: #9b9b9b;
    border-radius: 100%;
    color: #ffffff;
}
#overlay {
    z-index:9998;
    position:fixed;
    background-color:#000;
    opacity:0.8;
    -moz-opacity:0.8;
    filter:alpha(opacity=80);
    width:100%;
    height:100%;
    top:0;
    left:0;
    cursor:pointer;
    display:none;
}
.preloader {
    position: relative;
    display: inline-block;
}
.preloader_img {
    content: '';
    z-index: 99999;
    width: 24px;
    height: 24px;
    overflow: visible;
    background: transparent url('//cdnjs.cloudflare.com/ajax/libs/file-uploader/3.7.0/processing.gif') no-repeat center center;
}

.recentcomments {
    color: wheat;
}