::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    background-color: #10525C;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #10525C;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: none;
    background-color: #10525C;
}

input:not([type=checkbox]):not([type=radio]),
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

a, label {
    -webkit-tap-highlight-color: transparent;
}

* {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

hr {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: -15px;
    margin-right: -15px;
    border: 0;
    border-top: 1px solid #cdcdcd;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

/*HEADER*/
.layout-center-wrapper {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}

header {
    background: #E0E0E0;
}

.my-name {
    color: #10525C;
    font-size: 28px;
    font-weight: bold;
}

.my-name i {
    font-style: normal;
    color: #45B58D;
}

.my-position {
    color: #10525C;
}

.navbar {
    margin-bottom: 0;
}

.navbar-brand {
    height: auto;
}

.navbar .navbar-toggle:focus,
.navbar .navbar-toggle:hover {
    background-color: #45B58D;
}

.navbar .navbar-toggle {
    background-color: #45B58D;
}

.navbar .navbar-toggle .icon-bar {
    background-color: #10525C;
}

.navbar-nav > li > a {
    color: #9A9A9A;
    text-transform: uppercase;
    border-top: solid 1px #9A9A9A;
    padding-top: 7px;
    padding-bottom: 5px;
    margin: 5px;
}

.navbar-nav > li.active > a {
    color: #10525C;
    border-top: solid 3px #10525C;
    padding-top: 5px;
}

.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    background: transparent;
    color: #10525C;
    border-top: solid 3px #10525C;
    padding-top: 5px;
    cursor: pointer;
}

.nav {
    padding-top: 30px;
}

/*main-section*/
.main-content {
    border: solid 1px #cdcdcd;
    border-radius: 5px;
    background: #f8f8f8;
    margin: 50px 0;
    padding: 30px;
}

.main-content img {
    width: 100%;
}

.main-content h2 {
    color: #10525C;
    font-size: 50px;
    font-weight: bold;
    line-height: 30px;
    vertical-align: initial;
    margin: 0 0 15px 0;
    padding: 5px 0;
}

.main-content h2 span {
    font-size: 18px;
    font-weight: 400;
}

.main-content h3 {
    margin-top: 0;
    font-size: 36px;
    color: #10525C;
    font-weight: 400;
    margin-bottom: 5px;
}

.main-content a.resume {
    text-align: center;
    background: #10525C;
    border: transparent;
    color: #fff;
    padding: 10px 30px;
    text-transform: uppercase;
    text-decoration: none;
    outline: none;
    display: block;
}

.main-content button[title="Game rules"] {
    margin: 0 auto;
    display: block;
}

.section {
    margin-bottom: 15px;
}

.main-content a {
    font-size: 12px;
    color: #000;
}

.trigger {
    border: solid 1px #cdcdcd;
    border-radius: 5px;
    background: #f8f8f8;
    margin: 0 0 50px;
    padding: 15px;
}

i.fa {
    color: #e0e0e0;
}

i.fa:hover {
    color: #72ab00;
}

footer {
    color: #9A9A9A;
    background: #E4E4E4;
    width: 100%;
    height: 40px;
    border-top: solid 1px #f8f8f8
}

footer .left-side {
    text-align: left;
}

footer .right-side {
    text-align: right;
}

footer p {
    padding: 9px 0;
    margin: 0;
}

footer ul {
    padding-top: 5px;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

footer li {
    padding: 0 5px;
}

footer li svg {
    fill: #10525C;
}

footer li.linkedin a:hover svg {
    fill: #0A66C2;
}

footer li.facebook a:hover svg {
    fill: #1B74E4;
}

footer li.instagram a:hover svg {
    fill: #C74C4D;
}

footer li.github a:hover svg {
    fill: #000000;
}

footer a:hover {
    text-decoration: none;
}

footer i {
    color: #10525C;
    padding: 5px;
}

footer i:hover {
    color: #45B58D;
}

/*contacts page*/
.contacts h2,
.resume h2,
.projects h2 {
    color: #10525C;
    font-size: 30px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 30px;
}

.contacts h3 {
    color: #10525C;
    margin-top: 0;
}

.contacts .section p {
    margin: 0;
}

.contacts .section a {
    color: #10525C;
    font-weight: bold;
}

.contacts .social-links a {
    margin-right: 10px;
}

.contacts #formSend label {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
}

.contacts #formSend input,
.contacts #formSend textarea {
    background-color: #e4e4e4;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 0 solid #fff;
    color: #494949;
    margin: 0 0 5px;
    width: 100%;
    max-width: 100%;
    padding: 10px 40px 10px;
}

.contacts #formSend textarea {
    min-height: 150px;
    height: auto;
}

.contacts #formSend button[type="submit"] {
    padding: 10px 40px 10px;
    float: right;
    background: #10525C;
    border: transparent;
    color: #fff;
    text-transform: uppercase;
    outline: none;
}

#formSend label.name:before {
    content: '';
    background-image: url("../img/frame.svg");
    background-size: 100%;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 10px;
    left: 12px;
}

#formSend label.email:before {
    content: '';
    background-image: url("../img/envelope.svg");
    background-size: 100%;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 10px;
    left: 12px;
}

#formSend label.subject:before {
    content: '';
    background-image: url("../img/pin-angle.svg");
    background-size: 100%;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 10px;
    left: 12px;
}

#formSend label.message:before {
    content: '';
    background-image: url("../img/chat-left-text.svg");
    background-size: 100%;
    height: 20px;
    width: 20px;
    position: absolute;
    top: 10px;
    left: 12px;
}

/*resume page*/
.resume section {
    padding-bottom: 25px;
}

.resume h3 {
    font-weight: bold;
    color: #10525C;
    font-size: 20px;
    padding-bottom: 15px;
}

.resume ul {
    padding-left: 15px;
}

.resume .left-side {
    float: left;
}

.resume .right-side {
    float: right;
}

.resume .right-side:after {
    content: '';
    display: block;
    clear: both;
}

.resume img {
    max-width: 100px;
}

.resume .company-name {
    margin-bottom: 0;
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
}

.resume .item-title {
    font-weight: 600;
}

.resume .working-period {
    font-weight: bold;
}

.resume .trigger {
    margin-bottom: 10px;
}

.resume .trigger:first-child {
    margin-top: 25px;
}

.resume .trigger:first-child p {
    font-size: 16px;
}

.resume .trigger:first-child img {
    width: 100%;
    max-width: 250px;
    border-radius: 3px;
}

.resume .trigger i:hover,
.resume .trigger i {
    color: #10525C;
}

.resume .trigger span {
    padding-right: 5px;
}

.download {
    float: right;
    background: #10525C;
    border: transparent;
    color: #fff;
    padding: 5px 30px;
    outline: none;
    display: block;
    text-align: center;
}

.download:hover,
.download:focus {
    color: #fff;
    text-decoration: none;
}

.download i:hover,
.download i {
    color: #fff;
}

/*projects page*/
.projects .trigger {
    margin-bottom: 25px;
}

.projects .trigger img {
    max-width: 100%;
}

.projects .project-title {
    color: #72ab00;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: block;
}

/*thx-page*/
.thx-text {
    color: #72AB00;
    font-size: 45px;
    line-height: 45px;
    margin-bottom: 25px;
    margin-top: 55px;
}

.thx-text span {
    font-weight: bold;
}

/*game*/
.main-content-spy h2 {
    margin: 0;
}

.main-content-spy select {
    margin: 0 0 10px 0;
}

.main-content-spy-play {
    display: none;
}

.main-content-spy-play #person-next {
    display: none;
}

.main-content-spy-play h2 {
    line-height: 55px;
    font-size: 50px;
}

.main-content-spy-timer {
    display: none;
}

.main-content-spy-timer h2 {
    line-height: 55px;
    font-size: 50px;
}

.main-content-spy-timer #my_timer {
    color: red;
}

.mb {
    margin-bottom: 20px !important;
}

.mt {
    margin-top: 20px !important;
}

.m-auto {
    margin: 0 auto 0 !important;
}

.form-tell {
    z-index: 1003;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
}

.form-tell-container {
    max-width: 500px;
    margin: 0 auto;
}

.form-tell-row {
    margin-top: 10vh;
}

.form-tell-wrap {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    position: relative;
}

.form-tell__close {
    position: absolute;
    right: 10px;
    top: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 0;
}

.form-tell span {
    color: #000;
    font-size: 30px;
}

.hidden-b {
    display: none;
}

.border-0 {
    border: none;
}

/* Calculator */

.calculator .screen {
    margin: 0 0 0 0;
    width: 100%;
    padding: 2px;
    text-indent: 5px;
    min-height: 40px;
    border: 1px solid #5bc0de;
    box-shadow: 0 2px 5px #ccc;
    background: #fff;
    border-radius: 3px;
    resize: none;
    font-size: 25px;
}

.calculator .alert_warning {
    color: red;
    position: absolute;
    padding: 10px;
    box-shadow: 0 0 10px #ccc;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
}

.calculator .calc_bnt .btn {
    margin: 0 0 3px 0;
    font-size: 20px;
    padding: 6px 10px;
}

.calculator .calc_bnt .btn[data-do="calcResult"] {
    padding: 6px 53px;
}

/* admin page */

.js-btn-admin {
    display: none !important;
}

/* authorization */

.wrap-login label {
    position: relative;
    padding: 0;
    margin: 0 0 20px 0;
    width: 100%;
}

.wrap-login label input {
    background-color: #e4e4e4;
    color: #494949;
    margin: 0 0 5px;
    width: 100%;
    padding: 10px 40px 10px;
    border: none;
    border-radius: 10px;
}

.wrap-login label input:focus,
.wrap-login label input:hover,
.wrap-login label input:active {
    outline: none;
    border: none;
}

.wrap-login .checkbox_auth input {
    margin: 0 10px 0 0;
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 0;
}

label.login_auth:before,
label.login_reg:before {
    content: "_)";
    color: #a9a9a9;
    font-size: 20px;
    padding-right: 0.5em;
    position: absolute;
    top: 5px;
    left: 12px;
}

label.password_auth:before,
label.password_reg:before {
    content: "_)";
    color: #a9a9a9;
    font-size: 20px;
    padding-right: 0.5em;
    position: absolute;
    top: 5px;
    left: 12px;
}

label.secret_key:before {
    content: "_)";
    color: #a9a9a9;
    font-size: 20px;
    padding-right: 0.5em;
    position: absolute;
    top: 5px;
    left: 12px;
}

@media (max-width: 768px) {

    .navbar-brand {
        padding: 5px 15px;
    }

    .navbar-toggle {
        margin: 8px 15px 0 0
    }

    .nav {
        padding-top: 0;
    }

    footer {
        height: 77px;
    }

    footer p {
        font-size: 10px;
    }

    footer .left-side,
    footer .right-side {
        text-align: center
    }

    .my-name {
        font-size: 20px;
    }

    .main-content {
        margin: 20px 0;
    }

    .main-content h2 {
        margin-top: 25px;
        text-align: center
    }

    .main-content a.resume {
        width: 100%;
        margin-bottom: 25px;
    }

    .main-content button[title="Game rules"] {
        margin: 25px auto 0;
    }

    .index .section {
        text-align: center
    }

    /*contacts page*/
    .contacts #formSend input[type="submit"] {
        width: 100%;
        float: none;
    }

    .contacts section {
        text-align: center;
        padding-bottom: 20px;
    }

    .contacts h2 {
        margin-top: 25px;
    }

    /*resume page*/
    .resume .trigger:first-child {
        text-align: center;
    }

    .resume .trigger:first-child img {
        margin-bottom: 10px;
    }

    .resume .right-side {
        width: 100%;
        text-align: center
    }

    .resume .languages .right-side,
    .resume .skills .right-side {
        width: initial;
        text-align: right;
    }

    .download {
        width: 100%;
        float: none;
        margin-top: 25px;
        margin-bottom: 0;
    }

    .thx-text {
        font-size: 24px;
        line-height: 32px;
        margin-top: 20px;
    }

    .thx-text span {
        font-size: 40px;
        line-height: 60px;
    }

    .thx-page a.resume {
        margin-bottom: 0;
    }

    /*game*/
    .main-content-spy-play h2 {
        line-height: 35px;
        font-size: 30px;
    }

    #spy-person:focus, #spy-time:focus {
        font-size: 16px;
    }
}

/* note */

.note__title {
    font-weight: 600;
    color: red;
}

textarea {
    max-width: 100%;
}

/* todoList */

#todoList {
    padding: 20px 0;
}

#todoList form {
    display: flex;
    align-items: center;
}

#todoList form label {
    flex-grow: 1;
    margin: 0 10px 0 0;
}

#todoList form input {
    width: 100%;
}

.lists {
    list-style: none;
    padding: 20px 0;
}

.list__item {
    border: 1px solid #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px #000;
    margin: 0 0 10px 0;
    padding: 5px;
    font-weight: 600;
}

.list__item-done {
    opacity: .5;
}

.list__item-done .list__item-label {
    text-decoration: line-through;
}

.list__item-label {
    margin: 0;
    display: flex;
    align-items: center;
}

.list__item-checkbox {
    margin: 0 10px 0 0 !important;
}