body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

.ssyl:hover {
    cursor: pointer;
    background-color: #c5e7ec !important;
}

.inp {
    border: 1px solid transparent;
    background-color: transparent;
    overflow: auto;
    resize: none;
}

.i {
    display: inline-block;
    vertical-align: middle;
}

.b {
    font-weight: 600;
}

.pr {
    position: relative;
}

div > img {
    /*max-width: 100%;*/
    max-height: 100%;
}

.pa {
    position: absolute;
}

.pf {
    position: fixed;
}

.mt10 {
    margin-top: 10px;
}

.mb10 {
    margin-bottom: 10px;
}

.ml10 {
    margin-left: 10px;
}

.pl10 {
    padding-left: 10px;
}

.r {
    position: absolute;
    right: 0;
    top: -5px;
}

.fw {
    width: 100%;
}

.hw {
    width: 50%;
}

.w200 {
    width: 200px;
}

.w350 {
    width: 350px;
}

.g {
    background: linear-gradient(to top, #828c95 0%, #ffffff 20%, #ffffff 100%);
}

.h40 {
    height: 40px;
}

.ldr {
    background: linear-gradient(to top right, #ffd800 0%, #fff1c4 20%, #ffffff 100%);
}

    .ldr:hover {
        background: linear-gradient(to top right, #ffbb00 0%, #ffe799 20%, #ffffff 100%);
    }

.loader {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

@keyframes load2 {
    50% {
        transform: rotateZ(180deg);
        border-radius: 55%;
    }

    100% {
        transform: rotateZ(360deg);
    }
}

.loader2::before {
    content: "";
    color: white;
    height: 40px;
    width: 40px;
    background: transparent;
    border-radius: 10%;
    border: 5px inset #ffe164;
    animation: load2 1s infinite ease-in-out;
}

@keyframes goaway {
    from {
        left: 0;
    }

    to {
        left: 300px;
    }

    100% {
        opacity: 0;
    }
}

@keyframes come {
    from {
        left: -300px;
    }

    to {
        left: 0;
    }

    100% {
        opacity: 1;
    }
}

.goaway {
    animation: goaway 1s ease-in-out;
    animation-fill-mode: forwards;
}

.come {
    animation: come 1s ease-in-out;
    animation-fill-mode: forwards;
}

.VoteBlock {
    border-radius: 10px;
    height: 100px;
    width: 300px;
    background: linear-gradient(to top right, #ffd800 0%, #fff1c4 20%, #ffffff 100%);
    border: 1px inset orange;
    text-align: center;
    vertical-align: middle;
    display: table-cell;
}

    .VoteBlock:hover {
        background: linear-gradient(to top right, #ffbb00 0%, #ffe799 20%, #ffffff 100%);
    }


.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #4cae4c;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    stroke-width: 6;
    stroke: #fff;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #5cb85c;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #5cb85c;
    }
}

input[type=checkbox] {
    display: none;
}

    input[type=checkbox] + svg {
        display: none;
    }

    input[type=checkbox]:checked + svg {
        display: block;
    }

.check-box {
    position: relative;
}

    .check-box label {
        display: flex;
        align-items: center;
        justify-content: left;
    }

        .check-box label svg {
            position: absolute;
            top: 0;
            left: 0;
        }

/*Анимация загрузки*/

/* Background Color */
body.bg-color {
    background-color: transparent;
    margin: 0;
}
/* Frame Upload */
body.onload {
    animation: body-opacity-change 1s ease-in-out 0s 1 forwards;
    opacity: 0;
}
/* Balls */
div.circle {
    border-radius: 50%;
    background: #fff;
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
    /* First Ball */
    div.circle:first-child {
        animation: upload 0.8s cubic-bezier(0.39, 0.56, 0.57, 1) 0s infinite alternate-reverse;
        background-color: #4285f4;
        margin-right: 6px;
    }
    /* Second Ball */
    div.circle:nth-child(2) {
        animation: upload 1.3s cubic-bezier(0.39, 0.56, 0.57, 1) 0s infinite alternate-reverse;
        background-color: #34a853;
        margin-right: 3px;
    }
    /* Third Ball */
    div.circle:nth-child(3) {
        animation: upload 1.1s cubic-bezier(0.39, 0.56, 0.57, 1) 0s infinite alternate-reverse;
        background-color: #fbbc05;
        margin-left: 3px;
    }
    /* Fourth Ball */
    div.circle:last-child {
        animation: upload 1.45s cubic-bezier(0.39, 0.56, 0.57, 1) 0s infinite alternate-reverse;
        background-color: #ea4335;
        margin-left: 6px;
    }
/*--- Animation Keyframes ---*/
/*-- Page Upload --*/
@keyframes body-opacity-change {
    from {
        opacity: 0;
        background-color: transparent;
    }

    to {
        opacity: 1;
        background-color: #1b1c2c;
    }
}
/*-- Balls Animation --*/
@keyframes upload {
    from {
        transform: translateY(15px);
    }

    to {
        transform: translateY(-15px);
    }
}


.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: default;
    border-radius: 10px;
}

    .hovereffect .overlay {
        width: 100%;
        height: 100%;
        position: absolute;
        overflow: hidden;
        top: 0;
        left: 0;
        -webkit-transition: all 0.5s cubic-bezier(0.88,-0.99, 0, 1.81);
        transition: all 0.5s cubic-bezier(0.88,-0.99, 0, 1.81);
    }

    .hovereffect:hover .overlay {
        background-color: rgba(75,75,75,0.7);
    }

    .hovereffect img {
        display: block;
        position: relative;
        -webkit-transition: all .3s linear;
        transition: all .3s linear;
    }

    .hovereffect:hover img {
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    .hovereffect h2 {
        text-transform: uppercase;
        color: #fff;
        text-align: center;
        position: relative;
        font-size: 17px;
        padding: 10px;
        background: rgba(0, 0, 0, 0.6);
        -webkit-transform: translateY(45px);
        -ms-transform: translateY(45px);
        transform: translateY(45px);
        -webkit-transition: all 0.5s cubic-bezier(0.88,-0.99, 0, 1.81);
        transition: all 0.5s cubic-bezier(0.88,-0.99, 0, 1.81);
    }

    .hovereffect:hover h2 {
        -webkit-transform: translateY(5px);
        -ms-transform: translateY(5px);
        transform: translateY(5px);
    }

    .hovereffect a.info {
        width: 90%;
        height: 90%;
        display: inline-block;
        text-decoration: none;
        padding: 7px 14px;
        text-transform: uppercase;
        color: #fff;
        border: 1px solid #fff;
        background-color: transparent;
        opacity: 0;
        filter: alpha(opacity=0);
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        -webkit-transition: all 0.5s cubic-bezier(0.88,-0.99, 0, 1.81);
        transition: all 0.5s cubic-bezier(0.88,-0.99, 0, 1.81);
        font-weight: normal;
        margin: -55px 10px 0 10px;
        padding-top: 55px;
    }

    .hovereffect:hover a.info {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }

    .hovereffect a.info:hover {
        box-shadow: 0 0 5px #fff;
    }

.links {
    cursor: pointer;
}

    .links:hover {
        color: goldenrod !important;
    }

.links2 {
    cursor: pointer;
}

    .links2:hover {
        background-color: goldenrod;
        border-radius: 5px;
    }

.sub-info {
    font-size: 2em;
    /*background: linear-gradient(to top, #c5e7ec 0%, #bfefff 40%, #4285f4 100%);*/
}

    .sub-info > div {
        transform: scale(0);
        opacity: 0;
        font-size: 0.5em;
        width: 500px;
        z-index: -1;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .sub-info:hover > div {
        transform: scale(1);
        opacity: 1;
        z-index: 10;
    }

.Blink {
    animation: blinker 1.5s cubic-bezier(0.5, 0, 1, 1) infinite alternate;
}

@keyframes blinker {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/*.material-switch > input[type="checkbox"] {
    display: none;
}*/

.material-switch > label {
    cursor: pointer;
    height: 0px;
    position: relative;
    width: 40px;
}

    .material-switch > label::before {
        background: rgb(0, 0, 0);
        box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
        border-radius: 8px;
        content: '';
        height: 16px;
        margin-top: -8px;
        position: absolute;
        opacity: 0.3;
        transition: all 0.4s ease-in-out;
        width: 40px;
    }

    .material-switch > label::after {
        background: rgb(255, 255, 255);
        border-radius: 16px;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
        content: '';
        height: 24px;
        left: -4px;
        margin-top: -8px;
        position: absolute;
        top: -4px;
        transition: all 0.3s ease-in-out;
        width: 24px;
    }

.material-switch > input[type="checkbox"]:checked + label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch > input[type="checkbox"]:checked + label::after {
    background: inherit;
    left: 20px;
}

.del_cond_btn {
    position: absolute;
    left: -40px;
    bottom: 0;
    font-size: 1.6em;
    color: #ccc;
}

    .del_cond_btn:hover {
        color: black;
    }

#BP > div > .dropdown-menu {
    min-width: 600px !important;
    max-width: 600px !important;
}

#CompIntoSel > div > .dropdown-menu {
    min-width: 400px !important;
    max-width: 600px !important;
}

#paper_plane {
    font-size: 2.0em;
    left: 40%;
    bottom: 10%;
    color: lightgrey;
}

.BtnMes:hover {
    color: lightblue !important;
    cursor: pointer;
}

.Contact:hover {
    background-color: burlywood;
    border-radius: 6px;
    cursor: pointer;
}

.like2 {
    height: 100%;
    padding: 10px;
    margin: 2px;
    border: 1px solid #337ab7;
    border-radius: 5px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}

.l-btn {
    width: 46px;
    padding: 5px 3px;
}

.raby:hover {
    color: red;
}

.div {
    border: 2px solid #000;
}

.divM:hover {
    border-style: inset;
}

.btn_href {
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    width: 250px;
    height: 250px;
    margin: 50px;
}

    .btn_href:hover {
        background-color: #eee;
    }

/*HappyBirthday позиционирование и движение START*/

.HB_0 {
    top: 0;
    left: 0;
    z-index: 5;
    border: 1px solid grey;
}

.HB_p1 {
    top: 0;
    left: 25%;
    opacity: 0.5;
    transform: scale(0.8, 0.8);
}

.HB_m1 {
    top: 0;
    left: -25%;
    opacity: 0.5;
    transform: scale(0.8, 0.8);
}

.move-left {
    transition: all 0.5s ease !important;
    transform: translate(-25%,0) scale(1.0, 1.0) !important;
    -webkit-transform: translate(-25%,0) scale(1.0, 1.0) !important; /** Safari & Chrome **/
    -o-transform: translate(-25%,0) scale(1.0, 1.0) !important; /** Opera **/
    -moz-transform: translate(-25%,0) scale(1.0, 1.0) !important; /** Firefox **/
    opacity: 1.0 !important;
    z-index: 100 !important;
}

.move-right {
    transition: all 0.5s ease !important;
    transform: translate(25%,0) scale(1.0, 1.0) !important;
    -webkit-transform: translate(25%,0) scale(1.0, 1.0) !important; /** Safari & Chrome **/
    -o-transform: translate(25%,0) scale(1.0, 1.0) !important; /** Opera **/
    -moz-transform: translate(25%,0) scale(1.0, 1.0) !important; /** Firefox **/
    opacity: 1.0 !important;
    z-index: 100 !important;
}

.move-left2 {
    transition: all 0.5s ease !important;
    transform: translate(-25%,0) scale(0.8, 0.8) !important;
    -webkit-transform: translate(-25%,0) scale(0.8, 0.8) !important; /** Safari & Chrome **/
    -o-transform: translate(-25%,0) scale(0.8, 0.8) !important; /** Opera **/
    -moz-transform: translate(-25%,0) scale(0.8, 0.8) !important; /** Firefox **/
    opacity: 0.5 !important;
    z-index: 50 !important;
}

.move-right2 {
    transition: all 0.5s ease !important;
    transform: translate(25%,0) scale(0.8, 0.8) !important;
    -webkit-transform: translate(25%,0) scale(0.8, 0.8) !important; /** Safari & Chrome **/
    -o-transform: translate(25%,0) scale(0.8, 0.8) !important; /** Opera **/
    -moz-transform: translate(25%,0) scale(0.8, 0.8) !important; /** Firefox **/
    opacity: 0.5 !important;
    z-index: 50 !important;
}

.navbar-inverse .navbar-nav > li > a {
    color: cornsilk !important;
}

    .navbar-inverse .navbar-nav > li > a:hover {
        color: #5bc0de !important;
    }

.navbar-inverse .navbar-brand {
    color: cornsilk !important;
}

    .navbar-inverse .navbar-brand:hover {
        color: #5bc0de !important;
    }

.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: orange !important;
}
/*HappyBirthday позиционирование и движение END*/

/*(20190405 Styles for validation helpers*/
.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.field-validation-error {
    font: 15px 'Officina Serif', serif;
    position: relative;
    display: block;
    width: 100%;
    margin-top: 13px;
    padding: 15px;
    color: #fff;
    border-radius: 4px;
    background: #e33333;
    text-align: center;
    font-size: 14px;
    z-index: 5;
}

    .field-validation-error::before {
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        display: block;
        width: 0;
        height: 0;
        margin: auto;
        border: solid 8px rgba(0, 0, 0, 0);
        border-bottom-color: #e33333;
        content: ''
    }

#StatementFilesValidationMessage > .field-validation-error {
    color: #e33333;
    border: none;
    background: none;
    margin: 0px;
    padding: 0px;
}

#DocumentFilesValidationMessage > .field-validation-error {
    color: #e33333;
    border: none;
    background: none;
    margin: 0px;
    padding: 0px;
}

#StatementFilesValidationMessage > .field-validation-error::before {
    border: none;
    background: none;
    margin: 0px;
}

#DocumentFilesValidationMessage > .field-validation-error::before {
    border: none;
    background: none;
    margin: 0px;
}

.field-validation-valid {
    display: none;
}

.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    font-weight: bold;
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}
/*20190405)*/
