
ul.tabs {
    margin: 0 0 10px 0;
    padding: 0 0 0 17%;
    float: left;
    list-style: none;
    /*height: 32px;
	border-bottom: 0px solid #999;
	border-left: 1px solid #999;*/
    width: 100%;
}

    ul.tabs li {
        width: 40%;
        float: left;
        margin: 5px;
        padding: 0;
        /*height: 31px;*/
        line-height: 31px;
        margin-bottom: 0px;
        background: #bbb;
        overflow: hidden;
        position: relative;
    }

        ul.tabs li a {
            text-decoration: none;
            color: #fff;
            display: block;
            padding: 12px 15px;
            outline: none;
            font-weight: 600;
            font-size: 11pt;
            line-height: 1.2;
        }

            ul.tabs li a:hover {
                background: #004990;
            }

html ul.tabs li.active, html ul.tabs li.active a:hover {
    background: #004990;
}

.tab_container {
    border: 1px solid #999;
    border-top: none;
    clear: both;
    float: left;
    width: 733px;
    background: #fff;
}

.tab_content {
    /*padding: 10px;*/
    text-align: justify;
}

ul.tabs li.active:after {
    display: table;
    content: " ";
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -10px;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-top: 20px solid #000000;
    border-top-color: rgb(0, 73, 140);
    border-bottom: 0;
    background-color: #fff;
}





@media (max-width:350px) {

    ul.tabs li.active:after {
                display: table;
                content: " ";
                left: 0;
                right: 0;
                margin: 0 auto;
                bottom: -10px;
                border-left: 140px solid transparent;
                border-right: 140px solid transparent;
                border-top: 20px solid #000000;
                border-top-color: rgb(0, 73, 140);
                border-bottom: 0;
                background-color: #fff;
            }

}





@media (max-width:480px) {

    ul.tabs {
        margin: 0 4% 10px 4%;
        padding: 0;
        float: left;
        list-style: none;
        /*height: 32px;
	border-bottom: 0px solid #999;
	border-left: 1px solid #999;*/
        width: 92%;
    }

        ul.tabs li {
            width: 100%;
            float: left;
        }

            ul.tabs li a {
                padding: 12px 15px;
            }

            ul.tabs li.active:after {
                display: table;
                content: " ";
                left: 0;
                right: 0;
                margin: 0 auto;
                bottom: -10px;
                border-left: 165px solid transparent;
                border-right: 165px solid transparent;
                border-top: 20px solid #000000;
                border-top-color: rgb(0, 73, 140);
                border-bottom: 0;
                background-color: #fff;
            }
}


