@import 'https://fonts.googleapis.com/css?family=Montserrat:400,700|Raleway:300,400';
.tabs-header {
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    background: #FEF9EB;
    width: 100%;
    max-width: 600px;
    border-radius: 5px;
    min-width: 240px;
    margin-bottom: 15px;
}
.tabs-header input[name=tab-control] {
    display: none;
}
.tabs-header .content section h2,.tabs-header ul li label {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #32ADD8;
}
.tabs-header ul {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
.tabs-header ul li {
    box-sizing: border-box;
    flex: 1;
    width: 25%;
    padding: 0 5px;
    text-align: center;
}
.tabs-header ul li label {
    transition: all 0.3s ease-in-out;
    color: #929daf;
    padding: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    -webkit-user-select: none;
    user-select: none;
}
.tabs-header ul li label svg {
    fill: #FEF9EB;
    height: 2.6em;
    width: 2.6em;
    margin-bottom: 5px;
    transition: all 0.2s ease-in-out;
}
.tabs-header ul li label:hover,.tabs-header ul li label:focus,.tabs-header ul li label:active {
    outline: 0;
    color: #bec5cf;
}
.tabs-header ul li label:hover svg,.tabs-header ul li label:focus svg,.tabs-header ul li label:active svg {
    fill: #bec5cf;
}
.tabs-header .slider {
    position: relative;
    width: 25%;
    transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
}
.tabs-header .slider .indicator {
    position: relative;
    width: 50px;
    max-width: 100%;
    margin: 0 auto;
    height: 4px;
    background: #1F3038;
    border-radius: 1px;
}
.tabs-header .content {
    margin-top: 30px;
}
.tabs-header .content section {
    display: none;
    animation: content 0.3s ease-in-out;
    line-height: 1.4;
}
.tabs-header .content section h2 {
    color: #32ADD8;
    display: none;
}
.tabs-header input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label,.tabs-header input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label,.tabs-header input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label,.tabs-header input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
    cursor: default;
    color: #32ADD8;
}
.tabs-header input[name=tab-control]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg,.tabs-header input[name=tab-control]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg,.tabs-header input[name=tab-control]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg,.tabs-header input[name=tab-control]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label svg {
    fill: #32ADD8;
}
.tabs-header input[name=tab-control]:nth-of-type(1):checked ~ .slider {
    transform: translateX(0%);
}
.tabs-header input[name=tab-control]:nth-of-type(2):checked ~ .slider {
    transform: translateX(100%);
}
.tabs-header input[name=tab-control]:nth-of-type(3):checked ~ .slider {
    transform: translateX(200%);
}
.tabs-header input[name=tab-control]:nth-of-type(4):checked ~ .slider {
    transform: translateX(300%);
}
.tabs-header input[name=tab-control]:nth-of-type(1):checked ~ .content > section:nth-child(1),.tabs-header input[name=tab-control]:nth-of-type(2):checked ~ .content > section:nth-child(2),.tabs-header input[name=tab-control]:nth-of-type(3):checked ~ .content > section:nth-child(3),.tabs-header input[name=tab-control]:nth-of-type(4):checked ~ .content > section:nth-child(4) {
    display: block;
}
@keyframes content {
    from {
        opacity: 0;
        transform: translateY(5%);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}
.pulse {
    animation: pulse 1s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
#SubmitTab span {
    padding: 5px;
}
#ratingTab span {
    padding: 5px;
}
#voteTab span {
    padding: 5px;
}
#winnerTab span {
    padding: 5px;
}

.tabs-header ul li label img.tab-active {
    filter: invert(69%) sepia(10%) saturate(4622%) hue-rotate(162deg) brightness(89%) contrast(90%);
}


.icon-tab-submit {
    width: 36px;
    height: 36px;
}
.icon-tab-submit-next {
    width: 36px;
    height: 36px;
    filter: invert(69%) sepia(10%) saturate(4622%) hue-rotate(162deg) brightness(89%) contrast(90%);
}
.icon-tab-rate {
    width: 36px;
    height: 36px;
}
.icon-tab-rate-next {
    width: 36px;
    height: 36px;
    filter: invert(69%) sepia(10%) saturate(4622%) hue-rotate(162deg) brightness(89%) contrast(90%);
}
.icon-tab-vote {
    width: 36px;
    height: 36px;
}
.icon-tab-vote-next {
    width: 36px;
    height: 36px;
    filter: invert(69%) sepia(10%) saturate(4622%) hue-rotate(162deg) brightness(89%) contrast(90%);
}
.icon-tab-winner {
    width: 36px;
    height: 36px;
}
.icon-tab-winner-next {
    width: 36px;
    height: 36px;
    filter: invert(69%) sepia(10%) saturate(4622%) hue-rotate(162deg) brightness(89%) contrast(90%);
}
@media (max-width: 1000px) {
    .tabs-header ul li label {
        white-space: normal;
    }
    .tabs-header ul li label svg {
        height: 1.5em;
    }
}
@media (max-width: 480px) {
    .tabs-header {
        width: 90%;
    }
    .tabs-header ul li label {
        padding: 5px;
        border-radius: 5px;
        font-size: 1.6em;
    }
    .tabs-header ul li label svg {
        height: 1.4em;
        width: 1.4em;
    }

    .tabs-header .content {
        margin-top: 20px;
    }
    .tabs-header .content section h2 {
        display: block;
    }
    .tabs-header ul li label span {
        display: block;
        font-size: 12px;
        white-space: normal;
        line-height: 1.2;
    }

    .icon-tab-submit {
        width: 30px;
        height: 30px;
    }
    .icon-tab-rate {
        width: 30px;
        height: 30px;
    }
    .icon-tab-vote {
        width: 30px;
        height: 30px;
    }
    .icon-tab-winner {
        width: 30px;
        height: 30px;
    }
}
