﻿* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    background: url("/Resources/Pic/back.jpg") transparent;
    min-width: 1500px;
}

.logoImg {
    display: block;
    float: left;
}

a {
    outline: none;
    text-decoration: none;
    color: black;
}

img {
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
}

p, ol {
    margin: 0 0 18px;
}

a:hover {
    text-decoration: none;
    color: #ebb749;
}

.middleImg {
    height: 100%;
    width: 100%;
}

.middle {
    /* width: 1570px; */
    width: 1750px;
    margin: 0 auto 15px;
}

    .middle:after {
        clear: both;
        content: ' ';
        display: block;
    }

.header, .menu {
    margin: 0 auto;
}

.header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu {
    width: 1500px;
}

.head {
    background: url("/Resources/Pic/head_back.png") transparent repeat-x;
    background-size: auto 500px;
}

.left {
    width: 265px;
    float: left;
    margin-right: 15px;
}

.right {
    /* width: 265px; */
    float: left;
    margin-left: 15px;
}

.baner {
    display: block;
    margin-bottom: 20px;
    background: #f9f7c8;
    margin-right: 5px;
    padding: 5px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .9);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .9);
    box-shadow: 0 0 10px rgba(0, 0, 0, .9);
    text-align: center;
}

    .baner img {
        border: none;
    }

.baner-mos {
    background-color: #002282;
    padding: 20px 7px;
}

.baner-osvita {
    background-color: #5f7de1;
    padding: 30px 0;
}

.baner-medium {
    padding: 30px 0;
}

.baner-active {
    cursor: pointer;
}

.baner-inside {
    display: none;
}

    .baner-inside div {
        border-bottom: 1px solid #bfb9b9;
        margin: 17px 15px;
        padding: 0 0 5px;
    }

    .baner-inside a {
        color: #525252;
    }

.center {
    float: left;
    width: 980px;
    border: #f60 RIDGE 5px;
    background: #f9f7c8;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-box-shadow: 0 0 20px rgba(255, 102, 0, 1);
    -moz-box-shadow: 0 0 20px rgba(255, 102, 0, 1);
    box-shadow: 0 0 20px rgba(255, 102, 0, 1);
    padding: 10px 10px 20px 10px;
    min-height: 550px;
}

.menu {
    padding-top: 10px;
    height: 100px;
}

ul, ol {
    margin-left: 30px;
}

    ul.nav {
        list-style: none;
        list-style-image: none;
    }

        ul.nav > li > a {
            display: table-cell;
            vertical-align: middle;
            text-align: center;
            font: 12pt arial bold;
            color: white;
            height: 75px;
            width: 103px;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -khtml-border-radius: 10px;
            -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
            -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
            box-shadow: 0 1px 5px rgba(0, 0, 0, 1);
            -webkit-transition: all 0.5s ease;
            -moz-transition: all 0.5s ease;
            -o-transition: all 0.5s ease;
            opacity: 0.8;
        }

            ul.nav > li:hover > a, ul.nav > li > a.active {
                opacity: 1;
                -webkit-box-shadow: 0px 0px 20px rgba(255,255,0,1);
                -moz-box-shadow: 0px 0px 20px rgba(255,255,0,1);
                box-shadow: 0px 0px 20px rgba(255,255,0,1);
            }

.item1 a {
    background: #ff6a00;
}

.item2 a {
    background: #ff598b;
}

.item3 a, .colective, .groups {
    background: #fa262d;
}

.item4 a {
    background: #004bff;
}

.item5 a, .law {
    background: #8a354c;
}

.item6 a, .psychology {
    background: #1e90ff;
}

.item7 a, .buling {
    background: #ff6a00;
}

.item8 a, .educator {
    background: #b22222;
}



.item9 a, .news {
    background: #19be00;
}

.item10 a, .school {
    background: #0093c9;
}

.item11 a {
    background: #4ee100;
}

.item12 a {
    background: #b202ff;
}

.item13 a {
    background: #0093c9;
}

ul.nav > li {
    float: left;
    margin-left: 7px;
    position: relative;
    visibility: hidden;
}

    ul.nav > li.item7 {
        visibility: visible;
    }

    ul.nav > li:first-child {
        margin-left: 0;
    }

    ul.nav > li > ul a {
        font-family: Georgia;
        margin: 10px 0;
        color: #fff;
        text-decoration: none;
    }

        ul.nav > li > ul a:hover {
            text-decoration: underline;
        }


    ul.nav > li > ul > li {
        margin: 10px 0;
    }

    ul.nav > li:hover > ul {
        display: block;
    }

    ul.nav > li > ul > li:hover > ul {
        display: block;
    }

.news, .colective, .groups, .school, .law, .psychology, .buling, .educator {
    list-style: none;
    list-style-image: none;
    position: absolute;
    display: none;
    z-index: 1000;
    padding: 5px 15px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -khtml-border-radius: 10px;
    -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
    -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, .4);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 1);
}

.groups {
    left: 10px;
}

.colective {
    width: 120px;
}

.news, .educator {
    width: 250px;
}

.law {
    width: 500px;
}

.psychology, .buling, .school {
    width: 400px;
}

.pnlComments {
    margin: 0 auto;
    width: 600px;
}

.pnlCreateComment {
    margin: 0 auto;
    width: 400px;
}

.commentUserName {
    font: 17px Tahoma;
}

.commentTime {
    font: 11px Tahoma;
}

.commentText {
    font: 12px Tahoma;
}

.btnLogin {
    width: 50px;
    height: 30px;
}

.naviBtn {
    width: 180px;
    height: 30px;
}

.naviPanel {
    margin: 10px;
}

.btnAccept {
    height: 30px;
    width: 120px;
    margin: 20px;
}

.naviComment {
    margin-left: 40px;
}

.pnlEditComment {
    margin: 10px 0 0 60px;
}

.galList {
    width: 300px;
    padding: 5px;
    height: 300px;
    display: block;
    margin-bottom: 10px;
}

.galListBlock {
    float: left;
    margin-right: 40px;
}

.galNameTxbx {
    width: 500px;
    padding: 5px;
}

.galBtn {
    height: 30px;
    width: 95px;
}

.galBtnOkCancel {
    width: 240px;
    height: 30px;
    margin-top: 10px;
}

.container {
    width: 100%;
    overflow: hidden;
}

    .container img {
        max-width: 100%;
    }

.ovh {
    overflow: hidden;
}

.logoImg {
    outline: none;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

    .logoImg:hover {
        -webkit-animation-name: rubberBand;
        animation-name: rubberBand;
    }

@keyframes rubberBand {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    30% {
        -webkit-transform: scaleX(1.25) scaleY(0.75);
        -ms-transform: scaleX(1.25) scaleY(0.75);
        transform: scaleX(1.25) scaleY(0.75);
    }

    40% {
        -webkit-transform: scaleX(0.75) scaleY(1.25);
        -ms-transform: scaleX(0.75) scaleY(1.25);
        transform: scaleX(0.75) scaleY(1.25);
    }

    60% {
        -webkit-transform: scaleX(1.15) scaleY(0.85);
        -ms-transform: scaleX(1.15) scaleY(0.85);
        transform: scaleX(1.15) scaleY(0.85);
    }

    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
}

@-webkit-keyframes rubberBand {
    0% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    30% {
        -webkit-transform: scaleX(1.25) scaleY(0.75);
        transform: scaleX(1.25) scaleY(0.75);
    }

    40% {
        -webkit-transform: scaleX(0.75) scaleY(1.25);
        transform: scaleX(0.75) scaleY(1.25);
    }

    60% {
        -webkit-transform: scaleX(1.15) scaleY(0.85);
        transform: scaleX(1.15) scaleY(0.85);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.slideRight {
    animation-name: slideRight;
    -webkit-animation-name: slideRight;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important;
}

@keyframes slideRight {
    0% {
        transform: translateX(-150%);
    }

    50% {
        transform: translateX(8%);
    }

    65% {
        transform: translateX(-4%);
    }

    80% {
        transform: translateX(4%);
    }

    95% {
        transform: translateX(-2%);
    }

    100% {
        transform: translateX(0%);
    }
}

@-webkit-keyframes slideRight {
    0% {
        -webkit-transform: translateX(-150%);
    }

    50% {
        -webkit-transform: translateX(8%);
    }

    65% {
        -webkit-transform: translateX(-4%);
    }

    80% {
        -webkit-transform: translateX(4%);
    }

    95% {
        -webkit-transform: translateX(-2%);
    }

    100% {
        -webkit-transform: translateX(0%);
    }
}

.slideLeft {
    animation-name: slideLeft;
    -webkit-animation-name: slideLeft;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-timing-function: ease-in-out;
    -webkit-animation-timing-function: ease-in-out;
    visibility: visible !important;
}

@keyframes slideLeft {
    0% {
        transform: translateX(150%);
    }

    50% {
        transform: translateX(-8%);
    }

    65% {
        transform: translateX(4%);
    }

    80% {
        transform: translateX(-4%);
    }

    95% {
        transform: translateX(2%);
    }

    100% {
        transform: translateX(0%);
    }
}

@-webkit-keyframes slideLeft {
    0% {
        -webkit-transform: translateX(150%);
    }

    50% {
        -webkit-transform: translateX(-8%);
    }

    65% {
        -webkit-transform: translateX(4%);
    }

    80% {
        -webkit-transform: translateX(-4%);
    }

    95% {
        -webkit-transform: translateX(2%);
    }

    100% {
        -webkit-transform: translateX(0%);
    }
}

/****************************/
/* Hover Shadow */

@keyframes hover {
    50% {
        -webkit-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
        transform: translateY(-3px);
    }

    100% {
        -webkit-transform: translateY(-6px);
        -ms-transform: translateY(-6px);
        transform: translateY(-6px);
    }
}

@-webkit-keyframes hover {
    50% {
        -webkit-transform: translateY(-3px);
        -ms-transform: translateY(-3px);
        transform: translateY(-3px);
    }

    100% {
        -webkit-transform: translateY(-6px);
        -ms-transform: translateY(-6px);
        transform: translateY(-6px);
    }
}

@-webkit-keyframes hover-shadow {
    0% {
        -webkit-transform: translateY(6px);
        transform: translateY(6px);
        opacity: .4;
    }

    50% {
        -webkit-transform: translateY(3px);
        transform: translateY(3px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(6px);
        transform: translateY(6px);
        opacity: .4;
    }
}

@keyframes hover-shadow {
    0% {
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
        opacity: .4;
    }

    50% {
        -webkit-transform: translateY(3px);
        -ms-transform: translateY(3px);
        transform: translateY(3px);
        opacity: 1;
    }

    100% {
        -webkit-transform: translateY(6px);
        -ms-transform: translateY(6px);
        transform: translateY(6px);
        opacity: .4;
    }
}

ul.nav > li > a {
    position: relative;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
}

    ul.nav > li > a:before {
        pointer-events: none;
        position: absolute;
        z-index: -1;
        content: '';
        top: 100%;
        left: 5%;
        height: 10px;
        width: 90%;
        opacity: 0;
        background: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
        background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 80%);
        /* W3C */
        transition-duration: 0.3s;
        -webkit-transition-property: -webkit-transform, opacity;
        transition-property: transform, opacity;
    }

    ul.nav > li:hover > a, ul.nav > li > a.active {
        -webkit-transform: translateY(-6px);
        -ms-transform: translateY(-6px);
        transform: translateY(-6px);
        -webkit-animation-name: hover;
        animation-name: hover;
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s;
        -webkit-animation-timing-function: linear;
        animation-timing-function: linear;
        -webkit-animation-iteration-count: infinite;
        animation-iteration-count: infinite;
        -webkit-animation-direction: alternate;
        animation-direction: alternate;
    }

        ul.nav > li:hover > a:before, ul.nav > li > a.active:before {
            opacity: .4;
            -webkit-transform: translateY(6px);
            -ms-transform: translateY(6px);
            transform: translateY(6px);
            -webkit-animation-name: hover-shadow;
            animation-name: hover-shadow;
            -webkit-animation-duration: 1.5s;
            animation-duration: 1.5s;
            -webkit-animation-timing-function: linear;
            animation-timing-function: linear;
            -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
            -webkit-animation-direction: alternate;
            animation-direction: alternate;
        }

/*Feedback area*/
.feedBackInput, .feedBackSend, .feedbackText {
    display: block;
}

.feedbackText {
    width: 100%;
}

.feedBackInput {
    width: 100%;
    height: 70px;
    margin: 5px 0 5px;
    resize: none;
}

.feedBackSend {
    padding: 3px;
}

/****************************/

.units {
    text-align: center;
    padding: 0 10px;
}

    .units > * {
        font: bolder 3rem/4rem "EB Garamond";
        color: #ffffff;
        overflow: hidden;
        text-shadow: 1px 1px 14px #FF0000;
    }
