﻿

@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i');
@import url('https://fonts.googleapis.com/css?family=Bree+Serif');

.tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: #086ad7;
    box-shadow: 0 48px 80px -32px rgba(0,0,0,0.3);
}

.input {
    position: absolute;
    opacity: 0;
}

.label {
    width: 100%;
    padding: 20px 30px;
    background: #086ad7;
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    color: #fff;
    transition: background 0.1s, color 0.1s;
}

    .label:hover {
        background: #d8d8d8;
    }

    .label:active {
        background: #fff;
    }

.input:focus + .label {
    z-index: 1;
}

.input:checked + .label {
    background: #FF7741;
    color: #fff;
}

@media (min-width: 600px) {
    .label {
        width: auto;
    }
}

.panel {
    display: none;
    padding: 20px 30px 30px;
    background: #fff;
}

@media (min-width: 600px) {
    .panel {
        order: 99;
    }
}

.input:checked + .label + .panel {
    display: block;
    width:100%;
}
