
@media (min-width: 768px) {
    .panel-heading {
        display: none;
    }
    .panel {
        border: none;
        box-shadow: none;
    }
    .panel-collapse {
        height: auto;
    }
    .panel-collapse.collapse {
        display: block;
    }

}
@media (max-width: 767px) {
    .tab-content .tab-pane {
        display: block;
    }



    .nav-tabs {
        display: none;
    }
    .panel-title a {
        display: block;
    }
    .panel {
        margin: 0;
        box-shadow: none;
        border-radius: 0;
        margin-top: -2px;
    }
    .tab-pane:first-child .panel {
        border-radius: 5px 5px 0 0;
    }
    .tab-pane:last-child .panel {
        border-radius: 0 0 5px 5px;
    }


    section{
        display: unset;
    }


    #tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10{
        padding: 0px;
        height: auto !important;

    }

    .tab_container{
        padding-bottom: 70px;
    }

}


.panel-default > .panel-heading{
    box-shadow: inset 0 3px black !important;
    background-color: #1f4e79 !important;
}

.panel-default > .panel-heading:hover{
    box-shadow: inset 0 3px black
;
    color: #80bce1;

}




/* Portrait */
@media only screen
and (min-device-width: 768px)
and (max-device-width: 1024px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1) {

    label {
        display: grid !important;

    }

}
