﻿

z5t8 {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    /*padding: 5px;*/
    /*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
    -moz-box-shadow: 0px 0px 8px #000000;
    -webkit-box-shadow: 0px 0px 8px #000000;
    box-shadow: 0px 0px 8px #000000;
}

.t5 {
    /*padding: 5px;*/
    /*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
    -moz-box-shadow: 0px 0px 5px #000000;
    -webkit-box-shadow: 0px 0px 5px #000000;
    box-shadow: 0px 0px 5px #000000;
}

.z5 {
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

/*      */
.icon {
    position: relative;
   /* overflow: hidden;*/
    width: 450px;
    height: 80px;
    display: inline-block;
  
    text-decoration: none;
    line-height: 80px;
   
}
.icon:after {
    content: "";
    height: 200%;
    left: -230%;
    opacity: 0;
    position: absolute;
    top: -20%;
    transform: rotate(-30deg);
    width: 200%;
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.13) 77%, rgba(255, 255, 255, 0.5) 92%, rgba(255, 255, 255, 0.0) 100%);
}
/* Hover state - trigger effect */

.icon:hover:after {
    left: -50%;
    opacity: 1;
    top: -50%;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-property: left, top, opacity;
    transition-timing-function: ease;
}
/* Active state */

.icon:active:after {
    opacity: 0;
}

/*-----------------------*/

#header_block {
    /*background: url(city.png) repeat-x 0 100% fixed, fixed;*/
    /*  background-image: url('IMG/BG/bg2.jpg');*/
    background-image: url('../IMG/BG/bg2.jpg');
    /*  background-position: left;*/
    background-color: #00bfff;
    /*#99CCFF*/
    /* animation: city 600s linear infinite;*/
    /*  -webkit-animation: city 600s linear infinite;*/
    background-position-y: top;
    background-size: auto;
   /* background-size: contain;*/
    animation: BGMOVING 180s linear infinite;
    -webkit-animation: BGMOVING 300s linear infinite;
}
/*style="background-position: top; background-image: url('IMG/BG/bg2.jpg');  text-align: center;"*/
/*@keyframes city {
    from {
        background-position: -1920px 100%, 0 0;
    }
    to {
        background-position: 0 100%, 0 0;
    }
}

@-webkit-keyframes city {
    from {
        background-position: -1920px 100%, 0 0;
    }
    to {
        background-position: 0 100%, 0 0;
    }
}*/
@keyframes BGMOVING {
    to {
        background-position: calc(100% - 100vw) 0;
    }
}
/*----------------------*/
.cloud {
    overflow: hidden;
    position: fixed;
    /* relative*/
    width: 100%;
    /*padding-bottom: 56.25%;*/
    padding-bottom: 10%;
    max-height: 10%;
    /* padding-bottom: 0;*/
    background: url('city.png');
    background-size: cover;
    z-index: 0;
}

/*.cloudcontent {
    position: relative;
    padding: 30px;
    color: #337AB7;
    font-size: 22px;
    font-weight: bold;
    z-index: 100;
}*/

.cloud img {
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index : -1;
}

@-webkit-keyframes animCloud {
    from {
        -webkit-transform: translateX(100%)
    }

    to {
        -webkit-transform: translateX(-100%)
    }
}

@-moz-keyframes animCloud {
    from {
        -moz-transform: translateX(100%)
    }

    to {
        -moz-transform: translateX(-100%)
    }
}

@keyframes animCloud {
    from {
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%)
    }

    to {
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%)
    }
}

.cloud1 {
    -webkit-animation: animCloud 40s infinite linear;
    -moz-animation: animCloud 40s infinite linear;
    animation: animCloud 40s infinite linear
}

.cloud2 {
    -webkit-animation: animCloud 80s infinite linear;
    -moz-animation: animCloud 80s infinite linear;
    animation: animCloud 80s infinite linear
}

.cloud3 {
    -webkit-animation: animCloud 120s infinite linear;
    -moz-animation: animCloud 120s infinite linear;
    animation: animCloud 120s infinite linear
}

.cloud4 {
    -webkit-animation: animCloud 160s infinite linear;
    -moz-animation: animCloud 160s infinite linear;
    animation: animCloud 160s infinite linear
}
.cloud5 {
    -webkit-animation: animCloud 90s infinite linear;
    -moz-animation: animCloud 90s infinite linear;
    animation: animCloud 90s infinite linear
}
/*------------------------------ пункт меню Сервіси*/
nav a {
    position: relative;
    display: inline-block;
   /*  margin: 15px 25px; */
   margin-top: 5px;
    outline: none;
    color: #fff;
    text-decoration: none;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 0 0 1px rgba(255,255,255,0.3);
    font-size: 1.35em;
}

    nav a:hover,
    nav a:focus {
        outline: none;
    }

/* Effect 20: 3D side */
.cl-effect-20 a {
    line-height: 2em;
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    perspective: 800px;
}

    .cl-effect-20 a span {
        position: relative;
        display: inline-block;
        padding: 3px 15px 0;
        background: #587285;
        box-shadow: inset 0 3px #2f4351;
        -webkit-transition: background 0.6s;
        -moz-transition: background 0.6s;
        /* transition: background 0.6s; */
        -webkit-transform-origin: 50% 0;
        -moz-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform-style: preserve-3d;
        -moz-transform-style: preserve-3d;
        /* transform-style: preserve-3d; */
        -webkit-transform-origin: 0% 50%;
        -moz-transform-origin: 0% 50%;
        /* transform-origin: 0% 50%; */
    }

        .cl-effect-20 a span::before {
            position: absolute;
            padding: 3px 15px 0;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #fff;
            color: #2f4351;
            content: attr(data-hover);
            -webkit-transform: rotateX(270deg);
            -moz-transform: rotateX(270deg);
            transform: rotateX(270deg);
            -webkit-transition: -webkit-transform 0.6s;
            -moz-transition: -moz-transform 0.6s;
            /* transition: transform 0.6s; */
            -webkit-transform-origin: 0 0;
            -moz-transform-origin: 0 0;
            /* transform-origin: 0 0; */
            pointer-events: none;
        }

    .cl-effect-20 a:hover span,
    .cl-effect-20 a:focus span {
        background: #2f4351;
    }

        .cl-effect-20 a:hover span::before,
        .cl-effect-20 a:focus span::before {
            -webkit-transform: rotateX(10deg);
            -moz-transform: rotateX(10deg);
            transform: rotateX(10deg);
        }
