﻿body {
}

#main {
    /* min-width: 320px; */
    max-width: 100%;
    /* padding: 0px 50px; */
    margin: 0 auto;
    background: #e6e6e6;
    position: relative;
    display: inline-block;
}

    #main section {
        display: none;
        padding: 20px 0 0;
        border-top: 1px solid #ddd;
    }

    #main input {
        display: none;
    }

    #main label {
        display: table-cell;
        margin: 0 -2px -1px;
        padding: 15px 25px;
        /* font-weight: 600; */
        text-align: center;
        color: #fff;
        border-right: 1px solid #e6e6e6;
        background-color: #404041;
        max-width: 211px;
        min-height: 69px;
        vertical-align: middle;
        text-align: -webkit-center;
    }

        #main label:before {
            font-family: fontawesome;
            font-weight: normal;
            margin-right: 10px;
        }

        /*#main label[for*='1']:before {
            content: '\f1cb';
        }

        #main label[for*='2']:before {
            content: '\f17d';
        }

        #main label[for*='3']:before {
            content: '\f16b';
        }

        #main label[for*='4']:before {
            content: '\f1a9';
        }*/

        #main label:hover {
            color: #888;
            cursor: pointer;
        }

    #main input:checked + label {
        color: #fff;
        /* border: 1px solid #ddd; */
        /* border-top: 2px solid orange; */
        background-color: #A01E22;
        position: relative;
    }

        #main input:checked + label:after {
            content: '';
            position: absolute;
            top: 100%;
            left: 45%;
            width: 0;
            height: 0;
            border-top: solid 10px #A01E22;
            border-left: solid 10px transparent;
            border-right: solid 10px transparent;
        }

    #main #tab0:checked ~ #content0,
    #main #tab1:checked ~ #content1,
    #main #tab2:checked ~ #content2,
    #main #tab3:checked ~ #content3,
    #main #tab4:checked ~ #content4,
    #main #tab5:checked ~ #content5,
    #main #tab6:checked ~ #content6,
    #main #tab7:checked ~ #content7,
    #main #tab8:checked ~ #content8,
    #main #tab9:checked ~ #content9,
    #main #tab10:checked ~ #content10,
    #main #tab11:checked ~ #content11 {
        display: block;
        background-color: #e6e6e6;
        padding: 20px 10px;
        min-height: 500px;
        z-index: -124;
    }

@media screen and (max-width: 650px) {
    #main label {
		font-size: 17px;
		line-height: 34px;
    }

        #main label:before {
            margin: 0;
            font-size: 18px;
        }
}

@media screen and (max-width: 400px) {
    #main label {
        padding: 15px;
    }
}


#box {
    width: max-content;
    margin: 20px auto;
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 0;
    /* display:  inline-block; */
    height: 100px;
}

.banner {
    width: fit-content;
    height: 51px;
    background: #9a070c;
    /* box-shadow: 0 0 10px rgba(0,0,0,0.2); */
    /* border-top: 1px dashed #da5050; */
    /* border-bottom: 1px dashed #da5050; */
    z-index: 180;
    /* margin-right: 48px; */
    position: relative;
    /* padding: 0 4%; */
    display: grid;
}

    .banner p {
        font-weight: 600;
        font-size: 20px;
        text-transform: capitalize;
        color: #fff;
        margin: 0;
        padding: 8px;
        /* text-shadow: 3px 3px 3px rgba(184,88,64,1); */
        text-align: center;
        background-color: #9a070c;
        line-height: 29px;
        padding: 8px 56px;
    }

    .banner:before {
        content: "";
        position: absolute;
        bottom: -11px;
        left: 5px;
        width: 0;
        height: 0;
        border-right: 70px solid #590000;
        border-top: 0px solid transparent;
        border-bottom: 20px solid transparent;
        z-index: -6;
    }

    .banner:after {
        content: "";
        position: absolute;
        bottom: -12px;
        right: 5px;
        width: 0;
        height: 0;
        border-left: 70px solid #590000;
        border-top: 0px solid transparent;
        border-bottom: 20px solid transparent;
        z-index: -6;
    }

.ribbon {
    width: 75px;
    height: 50px;
    background: #861418;
    position: absolute;
}

    .ribbon.left {
        top: 13px;
        left: 0;
        z-index: -7;
        position: absolute;
    }

        .ribbon.left:before {
            content: "";
            position: absolute;
            left: -29px;
            top: 0;
            width: 0;
            height: 0;
            border-right: 30px solid #861418;
            border-top: 0 solid transparent;
            border-bottom: 37.5px solid transparent;
        }

        .ribbon.left:after {
            content: "";
            position: absolute;
            left: -29px;
            bottom: 0;
            width: 0;
            height: 0;
            border-right: 30px solid #861418;
            border-top: 37.5px solid transparent;
            border-bottom: 0 solid transparent;
        }

    .ribbon.right {
        top: 13px;
        right: 0;
        z-index: -7;
    }

        .ribbon.right:before {
            content: "";
            position: absolute;
            right: -29px;
            top: 0;
            width: 0;
            height: 0;
            border-left: 30px solid #861418;
            border-top: 0 solid transparent;
            border-bottom: 37.5px solid transparent;
        }

        .ribbon.right:after {
            content: "";
            position: absolute;
            right: -29px;
            bottom: 0;
            width: 0;
            height: 0;
            border-left: 30px solid #861418;
            border-top: 37.5px solid transparent;
            border-bottom: 0 solid transparent;
        }
		

