    @font-face {
    font-family: Avenir;
    src: url(fonts/Avenir-Black.eot);
    src: local('☺'), url(fonts/Avenir-Black.woff) format('woff'), url(fonts/Avenir-Black.ttf) format('truetype');
    font-weight: 700;
    font-style: normal
}

@font-face {
    font-family: Avenir;
    src: url(fonts/Avenir-Medium.eot);
    src: local('☺'), url(fonts/Avenir-Medium.woff) format('woff'), url(fonts/Avenir-Medium.ttf) format('truetype');
    font-weight: 400;
    font-style: italic
}

@font-face {
    font-family: Avenir;
    src: url(fonts/Avenir-Roman.eot);
    src: local('☺'), url(fonts/Avenir-Roman.woff) format('woff'), url(fonts/Avenir-Roman.ttf) format('truetype');
    font-weight: 400;
    font-style: normal
}

html {
    margin: 0 auto;
    padding: 0
}

body {
    margin: 0 auto;
    padding: 0;
    font-family: Avenir, verdana, sans-serif;
    background: #E43539;
    color: #FFF
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
    box-sizing: border-box
}

header {
    width: 100%;
    overflow: hidden;
    height: 480px;
    position: relative;
    margin: 0 auto;
    border-bottom: 1px #E43539 solid
}

header .bg-image {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0
}

header .ct {
    margin: 0 auto;
    width: 100%;
    max-width: 462px;
    height: 660px;
    /*background: transparent url(img/ca_logo_bg.png) center -58px no-repeat;*/
    position: relative;
    z-index: 1
}

header .ct .ca-logo {
    width: 100%;
    position: relative;
    height: 160px;
    background: transparent url(img/logo.svg) center bottom no-repeat
}
@media screen and (max-width:470px) {
    header .ct .ca-logo {
        background: transparent url(img/logo.svg) center bottom no-repeat;
        height: 120px
    }
}

@media screen and (max-height:570px) {
    header .ct .ca-logo {
        background: transparent url(img/logo.svg) center bottom no-repeat;
        height: 120px
    }
}


.home-text-on-img {
    position: relative;
    text-align: center;
}
.home-text-on-img img {
    max-height: 95vh;
    max-width: 100%;
}
header .ct .home-text-on-img .scroll {
    background: none;
    cursor: pointer;
    height: 34vh;
    bottom: 0;
}

header .ct .cesnieks-logo {
    position: absolute;
    width: 100%;
    height: 130px;
    z-index: 1;
    background: transparent url(img/cesinieks_logo_2016-sm.png) center center no-repeat;
    background-size: 90%;
    top: 130px;
    left: 0
}

@media screen and (max-width:470px) {
    header .ct .cesnieks-logo {
        top: 80px
    }
}

@media screen and (max-height:570px) {
    header .ct .cesnieks-logo {
        background: transparent url(img/cesinieks_logo_2016-sm.png) center center no-repeat;
        background-size: 90%;
        top: 80px
    }
}

header .ct .big,
header .ct .little {
    color: #DB0432;
    text-shadow: #FFF 0 1px 0;
    font-size: 18px;
    font-style: italic;
    width: 100%;
    max-width: 330px;
    padding-top: 110px;
    margin: 0 auto;
    text-align: center
}

@media screen and (max-width:470px) {
    header .ct .big,
    header .ct .little {
        padding-top: 80px
    }
}

@media screen and (max-height:570px) {
    header .ct .little {
        display: none
    }
}

@media screen and (max-height:570px) {
    header .ct .little.finish {
        display: block
    }
}

@media screen and (max-height:500px) {
    header .ct .little.finish {
        display: none
    }
}

header .ct .big {
    padding-top: 30px;
    font-weight: 700;
    font-style: normal
}

@media screen and (max-height:570px) {
    header .ct .big {
        padding-top: 80px
    }
}

@media screen and (max-height:390px) {
    header .ct .big {
        display: none
    }
}

header .ct .big.finish {
    font-size: 22px
}

@media screen and (max-height:570px) {
    header .ct .big.finish {
        padding-top: 30px
    }
}

@media screen and (max-height:500px) {
    header .ct .big.finish {
        padding-top: 80px
    }
}

@media screen and (max-height:390px) {
    header .ct .big.finish {
        display: block
    }
}

@media screen and (max-height:320px) {
    header .ct .big.finish {
        display: none
    }
}

header .ct .scroll {
    position: absolute;
    display: block;
    width: 100%;
    background: transparent url(img/scroll.svg) center center no-repeat;
    height: 80px;
    z-index: 1;
    bottom: 30px
}

.content {
    width: 100%;
    margin: 0 auto;
    position: relative;
    border-top: 1px #A82331 solid
}

.content .line {
    width: 100%;
    height: 2px;
    background: #CE2B33;
    margin: 0 auto;
    position: relative
}

.content .users {
    position: relative;
    width: 100%;
    font-size: 0;
    text-align: center;
    margin: 0 auto;
    padding: 10px 0 50px
}

.content .users .user {
    display: inline-block;
    width: 250px;
    margin: 5px;
    position: relative;
    text-align: left;
    vertical-align: top;
    color: #FFF
}

@media screen and (min-width:1280px) {
    .content .users .user {
        margin: 5px 10px
    }
}

@media screen and (max-width:1070px) {
    .content .users .user {
        display: block;
        width: 100%;
        clear: both;
        margin: 20px 0;
        position: relative;
    }
}

.content .users .user img.profile {
    border: 5px #CE2B33 solid;
    display: block;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

@media screen and (max-width:1070px) {
    .content .users .user img.profile {
        width: 190px;
        margin: 0 20px;
        margin-bottom: 80px;
        display: inline-block;
        vertical-align: top;
    }
}

@media screen and (max-width:660px) {
    .content .users .user img.profile {
        width: 90%;
        max-width: 260px;
        float: none;
        margin: 0 auto;
        display: block;
    }
}

.content .users .user img.profile.hidden {
    display: none
}

.content .users .user a.vote {
    position: relative;
    display: block;
    background: transparent url(img/balsot.svg) center center no-repeat;
    background-size: 100%;
    width: 120px;
    height: 56px;
    top: 0px;
    left: 65px;
    margin: 10px 0 20px 0;
}

@media screen and (max-width:1070px) {
    .content .users .user a.vote {
        top: 200px;
        left: 55px;
        display: inline-block;
        position: absolute;
    }
}

@media screen and (max-width:660px) {
    .content .users .user a.vote {
        top: 0px;
        left: 0;
        margin: 20px auto 0 auto;
        display: block;
        position: relative;
    }
}

@media screen and (max-width:1070px) {
    .content .users .user .texts {
        padding-right: 20px;
        display: inline-block;
        width: calc(100% - 250px);
        vertical-align: top;
    }
}

@media screen and (max-width:660px) {
    .content .users .user .texts {
        padding: 0 20px;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        margin-bottom: 50px;
    }
}

.content .users .user .texts h2 {
    font-weight: 700;
    font-size: 18px;
    margin: 15px 0 0;
    -ms-text-align-last: right
}

.content .users .user .texts .occupation {
    font-size: 18px;
    padding-bottom: 15px
}

.content .users .user .texts p {
    padding: 0;
    margin: 0;
    font-size: 14px
}

.content .users .user .tnx {
    position: absolute;
    background: rgba(206, 43, 51, .4);
    width: 250px;
    height: 173px;
    top: 0;
    left: 0
}

@media screen and (max-width:1070px) {
    .content .users .user .tnx {
        left: 20px;
        width: 190px
    }
}

@media screen and (max-width:660px) {
    .content .users .user .tnx {
        left: 50%;
        margin-left: -125px;
        width: 250px;
        height: 173px
    }
}

.content .users .user .tnx .txt {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 40px;
    position: absolute;
    bottom: 0
}

.content .users .user .tnx .txt.long {
    padding: 40px 20px
}

.content .users .user.active {
    background: #D9915F;
    margin-top: 0;
   /* width: 210px;*/
    padding: 5px;
    padding-top: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.content .users .user.active a.vote {
	border: 2px solid #fbfbfb;
    border-radius: 45px;
}

@media screen and (min-width:1280px) {
    .content .users .user.active {
        margin: 5px 10px
    }
}

@media screen and (max-width:1070px) {
    .content .users .user.active {
        display: block;
        width: 100%;
        clear: both;
        margin: 20px 0
    }
}

.content .users .user.active img.profile {
    border-color: #D9915F;
    margin-top: 5px
}

@media screen and (max-width:1070px) {
    .content .users .user.active .texts {
        padding: 45px 0 0 20px
    }
}

@media screen and (max-width:660px) {
    .content .users .user.active .texts {
        padding-top: 0
    }
}

.content .users .user.active .texts .occupation,
.content .users .user.active .texts h2,
.content .users .user.active .texts p {
    padding-left: 5px;
    padding-right: 5px
}

.content .users .user.active .texts p {
    padding-bottom: 50px
}

.content .users .user.active .texts a.vote {
    background: rgba(218, 178, 103, .4) url(img/balsot-big.svg) center center no-repeat;
    top: 0;
    left: 0;
    width: 210px;
    height: 220px
}

.content .users .user.active .login-block {
    font-size: 14px;
    text-align: center;
    padding: 0 0 10px
}

@media screen and (max-width:1070px) {
    .content .users .user.active .login-block {
        width: 210px;
        float: left
    }
}

@media screen and (max-width:660px) {
    .content .users .user.active .login-block {
        width: 100%;
        float: none
    }
}

.content .users .user.active .login-block p {
    margin: 0;
    padding: 10px 0 0
}

.content .users .user.active .login-block a.button {
    display: inline-block;
    width: 180px;
    text-align: center;
    height: 35px;
    border-radius: 17px;
    background: #e43539;
    font-weight: 700;
    font-size: 18px;
    color: #FFF;
    text-decoration: none;
    outline: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 5px;
    margin-top: 5px
}

@media screen and (max-width:660px) {
    .content .users .user.active .login-block a.button {
        margin: 5px 5px 0
    }
}

.content .users .user.active .login-block a.button.draugiem {
    background: #F58633
}

.content .users .user.active .login-block a.button.facebook {
    background: #4A69B1
}

.content .users .user.active .login-block a.button.twitter {
    background: #2DABE2
}

.content .users .user.active .login-block input {
    display: inline-block;
    width: 180px;
    border: none;
    outline: 0;
    border-radius: 17px;
    height: 37px;
    background: #EACB98;
    font-family: Avenir, verdana, sans-serif;
    font-size: 15px;
    color: #c7a064;
    text-align: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.info {
    position: absolute;
    display: block;
    background: transparent url(img/info.svg) center center no-repeat;
    background-size: contain;
    width: 41px;
    height: 42px;
    right: 20px;
    top: 20px;
    z-index: 9;
}

.modal {
    position: absolute;
    display: none;
    width: 90%;
    background: #E43539;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 40px;
    min-height: 400px;
    top: 20px;
    left: 5%;
    z-index: 10
}

@media screen and (max-width:1070px) {
    .modal {
        width: 100%;
        left: 0;
        top: 0;
        padding: 20px;
        background: #FFF;
        color: #E43539
    }
}

.modal .close {
    position: absolute;
    font-weight: 700;
    color: #E43539;
    text-decoration: none;
    background: #FFF;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    display: block;
    z-index: 20;
    right: 0;
    top: 0;
    text-align: center;
    font-size: 24px;
    padding-top: 4px;
    border-radius: 20px;
    outline: 0
}

@media screen and (max-width:1070px) {
    .modal h2 {
        margin-top: 40px
    }
}

.pull-left {
    float: left
}

.clearfix {
    clear: both
}

@media screen and (max-height:700px) {
    header .ct .big,
    header .ct .little {
        font-size: 18px;
        line-height: 1.1;
        padding-top: 100px;
    }
    header .ct .big {
        padding-top: 15px;
    }
    @media screen and (max-height: 570px) {
        header .ct .big {
            padding-top: 100px;
            line-height: 1.2;
        }
    }
