﻿.tabs {
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    background: white;
    padding: 50px;
    padding-bottom: 80px;
    width: 100%;
    /* height: 400px;*/
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25), 0 4px 14px rgba(0, 0, 0, 0.22);
    border-radius: 5px;
    min-width: 240px;
    margin-top: 40px;
}

    .tabs input[name="tab-control"] {
        display: none;
    }

    .tabs .content section h2, .tabs ul li label {
        font-family: "Montserrat";
        font-weight: bold;
        font-size: 18px;
        color: #428bff;
    }

    .tabs ul {
        list-style-type: none;
        padding-left: 0;
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
        justify-content: space-between;
        align-items: flex-end;
        flex-wrap: wrap;
    }

        .tabs ul li {
            box-sizing: border-box;
            flex: 1;
            width: 25%;
            /*        padding: 0 10px;*/
            text-align: center;
        }

            .tabs ul li label {
                transition: all 0.3s ease-in-out;
                color: #929daf;
                padding: 5px auto;
                overflow: hidden;
                text-overflow: ellipsis;
                display: block;
                cursor: pointer;
                transition: all 0.2s ease-in-out;
                white-space: nowrap;
            }

                .tabs ul li label br {
                    display: none;
                }

                .tabs ul li label svg {
                    fill: #929daf;
                    height: 1.2em;
                    vertical-align: bottom;
                    margin-right: 0.2em;
                    transition: all 0.2s ease-in-out;
                }

                .tabs ul li label:hover, .tabs ul li label:focus, .tabs ul li label:active {
                    outline: 0;
                    color: #bec5cf;
                }

                    .tabs ul li label:hover svg, .tabs ul li label:focus svg, .tabs ul li label:active svg {
                        fill: #bec5cf;
                    }

    .tabs .slider {
        position: relative;
        width: 25%;
        transition: all 0.33s cubic-bezier(0.38, 0.8, 0.32, 1.07);
    }

        .tabs .slider .indicator {
            position: relative;
            width: 50px;
            max-width: 100%;
            margin: 0 auto;
            height: 4px;
            background: #428bff;
            border-radius: 1px;
        }

    .tabs .content {
        margin-top: 30px;
    }

        .tabs .content section {
            display: none;
            animation-name: content;
            animation-direction: normal;
            animation-duration: 0.3s;
            animation-timing-function: ease-in-out;
            animation-iteration-count: 1;
            line-height: 1.4;
            padding: 0 !important;
        }

            .tabs .content section h2 {
                color: #428bff;
                display: none;
            }

                .tabs .content section h2::after {
                    content: "";
                    position: relative;
                    display: block;
                    width: 30px;
                    height: 3px;
                    background: #428bff;
                    margin-top: 5px;
                    left: 1px;
                }

    .tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
        cursor: default;
        color: #428bff;
    }

        .tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label svg {
            fill: #428bff;
        }

@media (max-width: 600px) {
    .tabs input[name="tab-control"]:nth-of-type(1):checked ~ ul > li:nth-child(1) > label {
        background: rgba(0, 0, 0, 0.08);
    }
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .slider {
    transform: translateX(0%);
}

.tabs input[name="tab-control"]:nth-of-type(1):checked ~ .content > section:nth-child(1) {
    display: block;
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
    cursor: default;
    color: #428bff;
}

    .tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label svg {
        fill: #428bff;
    }

@media (max-width: 600px) {
    .tabs input[name="tab-control"]:nth-of-type(2):checked ~ ul > li:nth-child(2) > label {
        background: rgba(0, 0, 0, 0.08);
    }
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .slider {
    transform: translateX(100%);
}

.tabs input[name="tab-control"]:nth-of-type(2):checked ~ .content > section:nth-child(2) {
    display: block;
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
    cursor: default;
    color: #428bff;
}

    .tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label svg {
        fill: #428bff;
    }

@media (max-width: 600px) {
    .tabs input[name="tab-control"]:nth-of-type(3):checked ~ ul > li:nth-child(3) > label {
        background: rgba(0, 0, 0, 0.08);
    }
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .slider {
    transform: translateX(200%);
}

.tabs input[name="tab-control"]:nth-of-type(3):checked ~ .content > section:nth-child(3) {
    display: block;
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
    cursor: default;
    color: #428bff;
}

    .tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label svg {
        fill: #428bff;
    }

@media (max-width: 600px) {
    .tabs input[name="tab-control"]:nth-of-type(4):checked ~ ul > li:nth-child(4) > label {
        background: rgba(0, 0, 0, 0.08);
    }
}

.tabs input[name="tab-control"]:nth-of-type(4):checked ~ .slider {
    transform: translateX(300%);
}

.tabs 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%);
    }
}

@media (max-width: 1000px) {
    .tabs ul li label {
        white-space: initial;
    }

        .tabs ul li label br {
            display: initial;
        }

        .tabs ul li label svg {
            height: 1.5em;
        }
}

@media (max-width: 600px) {
    .tabs ul li label {
        padding: 5px;
        border-radius: 5px;
    }

        .tabs ul li label span {
            display: none;
        }

    .tabs .slider {
        display: none;
    }

    .tabs .content {
        margin-top: 20px;
    }

        .tabs .content section h2 {
            display: block;
        }
}

.tabs .slider {
    content: "";
    top: 0;
    left: 28px;
    height: 42px;
    background-color: #fff !important;
    border-radius: 3px;
}

.tab-ul li label {
    text-align: center !important;
}

.bg-melo {
    background-color: #c4d4ec;
}


/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/










@media (min-width: 681px) {
    .card-wrap {
        width: 100%;
    }
}

.card-wrap .card-social {
    margin-bottom: 60px;
}

@media (min-width: 681px) {
    .card-wrap .card-social {
        float: left;
        margin-bottom: 0;
     /*   margin-right: 40px;*/
        width: 33%;
    }
}

.card-wrap .card-social:last-child {
    margin: 0;
}

.card-social {
    color: #a7a7a7;
    display: block;
    font-size: 14px;
    height: 200px;
    line-height: 1.5;
    position: relative;
    width: 200px;
}

    .card-social:hover .card-social__icon {
        font-size: 60px;
    }

.card-social__front, .card-social__back {
    border-radius: 3px;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.card-social__front {
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    background-color: #fff;
    box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.card-social__back {
    box-shadow: 0 0 90px 15px rgba(0, 0, 0, 0.1);
}

.card-social__icon {
    -webkit-transition: all 250ms ease-in-out;
    -moz-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    font-size: 30px;
    left: 50%;
    position: absolute;
    top: 50%;
}

.card-social__data {
    bottom: 40px;
    left: 0;
    position: absolute;
    text-align: center;
    width: 100%;
}

.card-social__action {
    bottom: 0;
    color: #fff;
    letter-spacing: 1px;
    line-height: 40px;
    position: absolute;
    text-transform: uppercase;
}

.card-social--animate-top-left:hover .card-social__front {
    left: -40px;
    top: -40px;
}

.card-social--animate-top-left .card-social__action {
    right: 40px;
}

.card-social--animate-up:hover .card-social__front {
    top: -40px;
}

.card-social--animate-up .card-social__back {
    left: 10px;
    right: 10px;
    width: auto;
}

.card-social--animate-up .card-social__action {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
}

.card-social--animate-top-right:hover .card-social__front {
    left: 40px;
    top: -40px;
}

.card-social--animate-top-right .card-social__action {
    left: 40px;
}

.card-social--facebook .card-social__back {
    background-color: #124b70;
}

.card-social--facebook .card-social__icon {
    color: #124b70;
}

.card-social--twitter .card-social__back {
    background-color: #124b70;
}

.card-social--twitter .card-social__icon {
    color: #124b70;
}

.card-social--instagram .card-social__back {
    background-color: #124b70;
}

.card-social--instagram .card-social__icon {
    color: #124b70;
}

.tabs td {
    padding: 7px !important;
}
