﻿ #lab ul.resp-tabs-list {
    margin: 0 0 50px 15px;
    position: sticky;
    top: 100px;
    zoom: 1;
}
#lab ul.resp-tabs-list:after {
    content:"";
    display: block;
    clear: both;
}

#lab ul.resp-tabs-list li {
    width: 15.8%;
    margin: 0;
    border-right: 6px solid #fff;
    color: #fff;
    font-size: 115%; /* 16px */
    line-height: 32px;
    list-style: none;
    text-align: center;
    cursor: pointer;
    display: inline-block;
    float: left;
    -webkit-transform: skewX(142deg);
    -moz-transform: skewX(142deg);
    transform: skewX(142deg);
}

#lab ul.resp-tabs-list li.electrical_eng     { background: #e60012; }
#lab ul.resp-tabs-list li.communications_eng { background: #ed6c00; }
#lab ul.resp-tabs-list li.electronic_eng     { background: #00873c; }
#lab ul.resp-tabs-list li.applied_physics    { background: #6fba2c; }
#lab ul.resp-tabs-list li.computer_science   { background: #0095cc; }
#lab ul.resp-tabs-list li.biomedical_eng     { background: #74318e; }

#lab ul.resp-tabs-list li span {
    display:block;
    -webkit-transform: skewX(-142deg);
    -moz-transform: skewX(-142deg);
    transform: skewX(-142deg);
}
#lab ul.resp-tabs-list li span span {
    display: none;
}

h2.resp-accordion {
	cursor: pointer;
	display: none;
}

.resp-tab-content {
	display: none;
}

.resp-content-active, .resp-accordion-active {
	display: block;
}

h2.resp-accordion {
    margin: 0 -25px 10px;
    padding: 0 25px 10px 60px;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 85px 40px;
    border-bottom: 1px solid #203880;
    font-size: 131%; /* 17px */
    position: relative;
}

h2:nth-child(1)  { border-bottom-color: #e60012; background-image: url(../img/lab/resp-accordion_01-plus.png); }
h2:nth-child(3)  { border-bottom-color: #ed6c00; background-image: url(../img/lab/resp-accordion_02-plus.png); }
h2:nth-child(5)  { border-bottom-color: #00873c; background-image: url(../img/lab/resp-accordion_03-plus.png); }
h2:nth-child(7)  { border-bottom-color: #6fba2c; background-image: url(../img/lab/resp-accordion_04-plus.png); }
h2:nth-child(9)  { border-bottom-color: #0095cc; background-image: url(../img/lab/resp-accordion_05-plus.png); }
h2:nth-child(11) { border-bottom-color: #74318e; background-image: url(../img/lab/resp-accordion_06-plus.png); }

h2.resp-accordion:before {
    width: 6px;
    height: 26px;
    background: #203880;
    content: "";
    position: absolute;
    top: 0;
    left: 35px;
    display: block;
    -webkit-transform: skewX(142deg);
    -moz-transform: skewX(142deg);
    transform: skewX(142deg);
}

h2:nth-child(1):before  { background: #e60012; }
h2:nth-child(3):before  { background: #ed6c00; }
h2:nth-child(5):before  { background: #00873c; }
h2:nth-child(7):before  { background: #6fba2c; }
h2:nth-child(9):before  { background: #0095cc; }
h2:nth-child(11):before { background: #74318e; }



h2.resp-tab-active {
}
h2.resp-tab-active:nth-child(1)  { background-image: url(../img/lab/resp-accordion_01-minus.png); }
h2.resp-tab-active:nth-child(3)  { background-image: url(../img/lab/resp-accordion_02-minus.png); }
h2.resp-tab-active:nth-child(5)  { background-image: url(../img/lab/resp-accordion_03-minus.png); }
h2.resp-tab-active:nth-child(7)  { background-image: url(../img/lab/resp-accordion_04-minus.png); }
h2.resp-tab-active:nth-child(9)  { background-image: url(../img/lab/resp-accordion_05-minus.png); }
h2.resp-tab-active:nth-child(11) { background-image: url(../img/lab/resp-accordion_06-minus.png); }


.resp-vtabs ul.resp-tabs-list {
	width: 30%;
    float: left;
}

.resp-vtabs .resp-tabs-list li {
	padding: 15px 15px !important;
	margin: 0;
	cursor: pointer;
    display: block;
	float: none;
}

.resp-vtabs .resp-tabs-container {
    width: 68%;
    min-height: 250px;
	padding: 0px;
    border-radius: 4px;
	float: left;
	clear: none;
}

.resp-vtabs .resp-tab-content {
	border: none;
}

.resp-vtabs li.resp-tab-active {
    margin-right: -1px !important;
    padding: 14px 15px 15px 14px !important;
	position: relative;
	z-index: 1;
}

.resp-arrow {
	width: 0;
	height: 0;
	float: right;
}

h2.resp-tab-active span.resp-arrow {
	border: none;
}

.resp-easy-accordion  h2.resp-accordion {
	display: block;
}

.resp-jfit {
	width: 100%;
	margin: 0;
}

.resp-tab-content-active {
	display: block;
}


/* pc (small) */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    #lab ul.resp-tabs-list li {
        font-size: 86%; /* 12px */
    }
}


/* phones & tablet */
@media only screen and (max-width: 1023px) {
	#lab ul.resp-tabs-list {
		display: none;
	}

	#lab h2.resp-accordion {
		display: block;
	}

	.resp-vtabs .resp-tabs-container {
        width: 100%;
        min-height: initial;
		border: none;
		float: none;
		clear: none;
	}
	.resp-accordion-closed {
		display: none !important;
	}
}
