@import url(https://fonts.googleapis.com/css?family=PT+Sans:300,400,500,600,700&subset=latin,cyrillic);
@import url(https://fonts.googleapis.com/css?family=PT+Serif:300,400,500,600,700&subset=latin,cyrillic);

html,
body {
    height: 100%;
    font-family: 'PT Sans',sans-serif;
    color: #000;
}

h1, .title {
    font-size: 52px;
    line-height: 1.23;
    font-weight: 600;
}

h2 {
    font-size: 42px;
    line-height: 1.23;
    font-weight: 600;
    margin-bottom: 105px;
}

.descr {
    font-family: 'PT Sans',sans-serif;
    font-weight: 300;
    color: #000;
    font-size: 20px;
    line-height: 1.55;
}

.round-button {
    display: inline-block;
    position: relative;
    font-family: 'PT Sans',sans-serif;
    font-size: 16px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    font-weight: 700;
    background-image: none;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 56px;
    padding-left: 35px;
    padding-right: 35px;
    text-decoration: none;
    color: #ffffff;
    border: 3px solid #ffffff;
    border-radius: 30px;
    -moz-border-radius: 30px;
    -webkit-border-radius: 30px;
    line-height: 48px;
}

.round-button:focus {
    outline: none;
    text-decoration: none;
    color: white;
}

.round-button:hover {
    text-decoration: none;
    color: #343f5c;
    background-color: #ffffff;
    transition: all 0.1s ease 0s;
}

.round-button.white-button {
    color: #343f5c;
    background-color: #ffffff;
}

.round-button.white-button:focus {
    color: #343f5c;
}

.round-button.white-button:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: transparent;
}

.round-button.black-button {
    color: #000;
    background-color: #ffffff;
    border-color: #000;
    padding-left: 60px;
    padding-right: 60px;
}

.round-button.black-button:focus {
    color: #000;
}

.round-button.black-button:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #000;
}

.round-button.totally-black-button {
    color: #ffffff;
    background-color: #000;
    border-color: #000;
    padding-left: 60px;
    padding-right: 60px;
}

.round-button.totally-black-button:focus {
    color: #ffffff;
}

.round-button.totally-black-button:hover {
    text-decoration: none;
    color: #000;
    background-color: #ffffff;
}

.kvaker-button:before {
    content: 'Псс, Квакер, вот эта кнопка!';
    display: block;
    position: absolute;
    top: -40px;
    color: white;
    left: -60px;
    font-weight: normal;
    font-size: 10px;
}

.alert {
    margin: 0;
    border-radius: 0;
    position: absolute;
    width: 100%;
    font-size: 22px;
    padding: 29px;
    border-width: 3px;
}

.alert-success {
    border-color: #fff;
    background: rgba(43,67,94,0.5);
    color: #fff;
}

.alert-danger {
    border-color: #ff5353;
    background: rgba(43,67,94,0.5);
    color: #ff5353;
}

.screen-top {
    min-height: 100vh;
    background-image: url("https://static.tildacdn.com/tild6334-6537-4438-b666-633330333761/mpumelelomacu283883.jpg");
    background-size: cover;
}

.screen-top-inner {
    min-height: 100vh;
    background-image: -moz-linear-gradient(top, rgba(52,63,92,0.90), rgba(43,67,94,0.90));
    background-image: -webkit-linear-gradient(top, rgba(52,63,92,0.90), rgba(43,67,94,0.90));
    background-image: -o-linear-gradient(top, rgba(52,63,92,0.90), rgba(43,67,94,0.90));
    background-image: -ms-linear-gradient(top, rgba(52,63,92,0.90), rgba(43,67,94,0.90));
    background-image: linear-gradient(top, rgba(52,63,92,0.90), rgba(43,67,94,0.90));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#19343f5c', endColorstr='#192b435e');
    text-align: center;
}

.centered-container-wrap {
    min-height: 100vh;
    max-width: 1160px;
    display: table;
    margin: auto;
    padding: 30px 0;
}

.centered-container {
    min-height: 100vh;
    display: table-cell;
    vertical-align: middle;
    width: 1200px;
}

.screen-top-inner .logo {
    max-width: 160px;
    margin-bottom: 45px;
    width: 100%;
}

.screen-top-inner h1 {
    padding-bottom: 60px;
    color: #fff;
}

.timer {
    
}

.timer-col {
    display: inline-block;
    padding-right: 32px;
    margin-right: 30px;
    position: relative;
}

.timer-col:last-child {
    margin-right: 0;
    padding-right: 0;
}

.timer-col::after {
    content: ' ';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: .2;
    background: #fff;
    width: 1px;
}

.timer-col.no-border::after {
    width: 0;
}

.timer-col > span {
    color: #fff;
    font-size: 64px;
    line-height: 1.23;
}

.timer-col > div {
    color: #fff;
    padding-bottom: 7px;
    font-size: 14px;
    line-height: 1.55;
}

.screen-top-descr {
    margin: 50px auto 25px;
    color: #fff;
    padding-bottom: 60px;
}

.screen-terms {
    padding-top: 150px;
    padding-bottom: 150px;
}

.term-col {
    display: inline;
    float: left;
    margin-left: 20px;
    margin-right: 20px;
    width: 100%;
    max-width: 340px;
}

.term-col .img-wrap {
    position: relative;
    text-align: center;
}

.term-col .term-img {
    margin: auto;
    width: 100px;
    height: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.term-col .text-wrap {
    text-align: center;
    margin-top: 25px;
}

.term-col .term-uptitle {
    font-family: 'PT Sans',sans-serif;
    font-weight: 600;
    color: #000;
    letter-spacing: 2.5px;
    font-size: 16px;
    margin-bottom: 15px;
}

.term-col .term-title {
    font-size: 24px;
    line-height: 1.35;
    font-family: 'PT Sans',sans-serif;
    font-weight: 600;
    color: #000;
}

.term-col .arrow {
    max-width: 100px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: -20px;
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.term-col .arrow svg {
    display: block;
}



.screen-atmo {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #eeeeee;
}

.dialog-col {
    display: inline;
    float: left;
    margin-left: 20px;
    margin-right: 20px;
    width: 100%;
    max-width: 820px;
    padding-left: 160px;
}

.dialog-col .cell {
    display: table-cell;
    vertical-align: top;
    height: 100%;
    margin-left: 0;
    margin-right: 0;
}

.dialog-col .img-right-wrap {
    padding-left: 0;
    padding-right: 34px;
}

.dialog-col .text-right-wrap {
    padding-left: 34px;
}

.dialog-col .text-left-wrap {
    padding-right: 34px;
}

.dialog-col .dialog-img {
    width: 100px;
    height: 100px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    position: relative;
}

.dialog-col .tail {
    position: absolute;
    right: -34px;
    top: 50%;
    width: 0;
    height: 0;
    margin-left: 35px;
    border: 12px solid;
    border-color: #fff #fff transparent transparent;
}

.dialog-col .tail.right {
    left: -69px;
    top: 50%;
    border-color: #fff transparent transparent #fff;
}

.dialog-col .message-wrap {
    padding: 30px 35px;
    border-radius: 10px;
    background-color: #fff;
}

.dialog-col .author {
    font-family: 'PT Sans',sans-serif;
    font-weight: 600;
    color: #000;
    font-size: 16px;
    line-height: 1.35;
}

.dialog-col .text {
    font-family: 'PT Serif',serif;
    font-weight: 300;
    color: #000;
    font-size: 15px;
    line-height: 1.55;
    margin-top: 8px;
}

.dialog-separator {
    margin-bottom: 60px;
    clear: both;
}

.details-button-wrap {
    margin-top: 105px;
}

.screen-monkey {
    height: 50vh;
    background-image: url(https://static.tildacdn.com/tild3132-3235-4534-b334-626237303231/alexguillaume238550.jpg);
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    vertical-align: middle;
    position: relative;
    background-attachment: fixed;
    overflow: hidden;
}

.screen-monkey-inner {
    height: 50vh;
    background-image: -moz-linear-gradient(top, rgba(52,63,92,0.70), rgba(52,63,92,0.70));
    background-image: -webkit-linear-gradient(top, rgba(52,63,92,0.70), rgba(52,63,92,0.70));
    background-image: -o-linear-gradient(top, rgba(52,63,92,0.70), rgba(52,63,92,0.70));
    background-image: -ms-linear-gradient(top, rgba(52,63,92,0.70), rgba(52,63,92,0.70));
    background-image: linear-gradient(top, rgba(52,63,92,0.70), rgba(52,63,92,0.70));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#4c343f5c', endColorstr='#4c343f5c');
}

.screen-cite {
    padding-top: 90px;
    padding-bottom: 105px;
    text-align: center;
}

.screen-cite .cite {
    font-size: 32px;
    line-height: 1.35;
    font-family: 'PT Sans';
    font-weight: 600;
    color: #000;
}

.screen-line {
    padding-top: 60px;
    padding-bottom: 60px;
}

.linewrapper {
    position: relative;
    opacity: 0.2;
    max-width: 760px;
    margin: auto;
}

.linewrapper .line-left {
    background-image: -moz-linear-gradient(right, #000000, rgba(0,0,0,0));
    background-image: -webkit-linear-gradient(right, #000000, rgba(0,0,0,0));
    background-image: -o-linear-gradient(right, #000000, rgba(0,0,0,0));
    background-image: -ms-linear-gradient(right, #000000, rgba(0,0,0,0));
    display: table-cell;
    min-width: 200px;
    height: 1px;
}

.linewrapper .line-center {
    width: 100%;
    height: 1px;
    display: table-cell;
    background: #000000;
}

.linewrapper .line-right {
    background-image: -moz-linear-gradient(left, #000000, rgba(0,0,0,0));
    background-image: -webkit-linear-gradient(left, #000000, rgba(0,0,0,0));
    background-image: -o-linear-gradient(left, #000000, rgba(0,0,0,0));
    background-image: -ms-linear-gradient(left, #000000, rgba(0,0,0,0));
    display: table-cell;
    min-width: 200px;
    height: 1px;
}

.screen-nomination {
    padding-top: 105px;
    padding-bottom: 75px;
}

.screen-nomination .title {
    padding-top: 8px;
    padding-bottom: 3px;
    font-size: 64px;
    line-height: 1.23;
}

.screen-nomination .descr {
    padding: 41px 0 0 0;
    font-size: 24px;
    line-height: 1.5;
    max-width: 960px;
    margin: auto;
}

#contest-form {
    
}

#contest-form .button-wrap {
    margin-top: 30px;
    margin-bottom: 40px;
}

#contest-form h2 {
    color: #fff;
    margin-bottom: 20px;
}

#contest-form .form-control,
#set-name-form .form-control,
#login-form .form-control {
    background: transparent;
    border: 3px solid white;
    border-radius: 0;
    color: white;
    font-size: 24px;
    padding: 0px 10px;
    resize: none;
    height: 48px;
}

#contest-form .file-field-col .control-label {
    border: 3px solid white;
    color: white;
}

#contest-form .file-field-col .has-error .control-label {
    border-color: #ff5353;
}

#contest-form .form-control::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#contest-form textarea.form-control {
    padding: 10px;
    min-height: 169px;
}

#contest-form .has-error .form-control,
#set-name-form .has-error .form-control,
#login-form .has-error .form-control{
    border-color: #ff5353;
}

#contest-form .control-label {
    font-size: 20px;
}

#contest-form .has-success .control-label {
    color: white;
}

#contest-form .has-error .control-label,
#set-name-form .has-error .control-label,
#login-form .has-error .control-label {
    color: #ff5353;
}

#contest-form .help-block,
#set-name-form .help-block,
#login-form .help-block {
    display: none;
}

#set-name-form .control-label,
#login-form .control-label {
    color: #fff;
    font-size: 20px;
    line-height: 1.5;
}

.file-box {
    /* border: 3px solid white; */
    padding: 20px;
    margin-top: 20px;
}

.file-box h2 {
    text-align: center;
    font-weight: bold;
}

.file-field-col {
    
}

.file-field-col input[type="file"] {
    display: none;
}

.file-field-col label {
    border: 3px solid;
    display: block;
    padding: 6px 10px;
    transition: all 0.2s ease 0s;
}

.file-field-col label.selected-file:before {
    background-color: rgb(191, 218, 255);
}

.file-field-col label:before {
    content: '';
    background-image: url(../images/feature-1.png);
    display: block;
    width: 50px;
    height: 40px;
    background-size: 60%;
    background-position: 50%;
    background-repeat: no-repeat;
    float: left;
    margin: -6px 10px 0 -10px;
    border-right: 3px solid;
}

.file-field-col label:hover {
    cursor: pointer;
    background: rgba(100, 136, 186, 0.7);
}

.files-wrap {
    padding-top: 100px;
    padding-bottom: 100px;
}

.files-wrap .header-row {
    font-size: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cbcbcb;
}

.files-wrap .file-row {
    font-size: 22px;
    padding-bottom: 20px;
    padding-top: 10px;
    border-bottom: 1px solid #cbcbcb;
}

.files-wrap .file-row h4 {
    font-size: 22px;
    margin-top: 3px;
}

.files-wrap .file-row p {
    font-size: 16px;
}

.files-wrap .file-row a {
    display: inline-block;
    font-size: 16px;
    color: #000;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    transition: all 0.1s ease 0s;
}

.files-wrap .file-row a:focus {
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

.files-wrap .file-row a:hover {
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

.descr-white {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 40px;
}

footer {
    border-top: 1px solid #cbcbcb;
    min-height: 50px;
    padding: 20px 0;
}

footer .name {
    font-weight: 600;
}

footer a {
    display: inline-block;
    margin: 10px 5px 0;
    color: #000;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    transition: all 0.1s ease 0s;
}

footer a:focus {
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

footer a:hover {
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

.grade-input {
    display: block;
    width: 100%;
    border: 1px solid #cbcbcb;
}

.descr-input {
    display: block;
    width: 100%;
    border: 1px solid #cbcbcb;
    min-height: 140px;
    resize: vertical;
}

.banned-row {
    opacity: 0.5;
}

.winner-wrap {
    color: white;
}

.winner-wrap h2 {
    margin-bottom: 14px;
    margin-top: 32px;
}

.winner-wrap .winner {
    font-size: 20px;
    margin: 10px 0;
}

.winner-wrap .place {
    font-size: 22px;
}

.result-wrap {
    padding: 10px;
    padding-bottom: 40px;
}

.result-wrap .filename {
    font-size: 30px;
    padding-left: 24px;
}

.result-wrap .grade {
    font-size: 40px;
    text-align: right;
}

.result-wrap .filedescr {
    font-size: 18px;
    padding-left: 24px;
    margin-top: 20px;
}

.result-wrap .download {
    text-align: right;
    padding-top: 34px;
}

.result-wrap .download a, .filelist a, .mobile-filelist a {
    display: inline-block;
    margin: 10px 5px 0;
    color: #000;
    border-bottom: 1px solid rgba(0,0,0,0.3);
    font-size: 18px;
    transition: all 0.1s ease 0s;
}

.result-wrap .download a:focus, 
.filelist a:focus, 
.mobile-filelist a:focus, 
.filelist li.active a, 
.mobile-filelist li.active a {
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

.result-wrap .download a:hover, .filelist a:hover, .mobile-filelist a:hover {
    text-shadow: 0 0 1px rgba(0,0,0,0.3);
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid rgba(0,0,0,0.8);
}

.result-wrap .grades {
    font-size: 18px;
}

.result-wrap .grades .row {
    padding-bottom: 14px;
}

.banned-alert {
    font-size: 70%;
    color: #a94442;
}

.banned-alert-big {
    font-size: 18px;
}

.result-wrap .audio {
    text-align: center;
}

.filelist, .mobile-filelist {
    margin: 0;
    padding: 0;
    list-style: none;
    padding-bottom: 40px;
    margin-top: 27px;
}

.filelist li {
    
}

.filelist li.divider {
    margin-top: 6px;
    margin-bottom: -6px;
    font-weight: bold;
}

.filelist a {
    
}

.mobile-filelist {
    margin-top: 0;
    padding-bottom: 0;
}

.mobile-filelist li {
    width: 33.333%;
    float: left;
    text-align: center;
}

.mobile-filelist a {
    
}

.filetype-mobile {
    text-align: center;
    padding: 8px 0;
}

#saved {
    background-image: url(../images/saved.jpg);
    transition: all 0.2s ease 0s;
    height: 100px;
    width: 100px;
    background-size: cover;
    position: fixed;
    bottom: 0;
    right: 0;
    opacity: 0;
}

#saved.show {
    opacity: 0.5;
}