/* Tabs */
.nav {
    margin-left: 0;
    margin-bottom: 0px;
    list-style: none;
}
.nav-tabs {
	border-bottom: 1px solid #ddd;
    *zoom: 1;
    margin-bottom: 0px !important;
}
.nav-tabs::after {
    clear: both;
}
.nav-tabs::before, .nav-tabs::after {
    display: table;
    content: "";
    line-height: 0;
}
.nav-tabs > li {
    margin-bottom: -1px;
    float: left;
    margin-left: -2px;
}
.nav-tabs > li:first-child {
    margin-left: 0px;
}
@media (max-width: 1000px) {
    ul.nav-tabs {
       font-size: 16px;
    }
}
@media (max-width: 480px) {
    ul.nav-tabs {
       margin-right: -4px;
       margin-left: 2px;
       font-size: 16px;
    }
    .nav-tabs > li {
        width: 50%;
    }
    .nav-tabs > li:first-child {
       margin-left: -2px;
    }
}
@media (max-width: 340px) {
    ul.nav-tabs {
	   margin-right: -2px;
    }
	.nav-tabs > li,
	.nav-tabs > li:first-child {
	    margin-left: 0px;
	    width: 100%;
	}
}
.tab-content {
    overflow: visible;
    border: 1px solid #ddd;
    border-top: 0px;
    -webkit-border-radius: 0px 0px 4px 4px;
    -moz-border-radius: 0px 0px 4px 4px;
    border-radius: 0px 0px 4px 4px;
    padding: 5px;
    padding-top: 10px;    
		margin-bottom: 50px;
}
.tab-content > .tab-pane {
    display: none;
}
.tab-content > .active {
    display: block;
}
.nav-tabs > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: 12px;
    padding-left: 12px;
    line-height: 18px;
    border: 1px solid #ddd;
    border-left-color: transparent;
    border-bottom-color: #ddd;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    margin-right: 2px;
    background-color: #F2F2F2;
}
.nav-tabs > li > a.active, 
.nav-tabs > li > a.active:hover, 
.nav-tabs > li > a.active:focus {
    color: #555;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: rgb(221, 221, 221);
    border-bottom-color: transparent;
    cursor: default;
}
.nav > li > a {
    display: block;
    text-decoration: none;
}
.nav-tabs > li:first-child > a {
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}
/*.nav-tabs > li > a.active {
    background-color: #FFFFFF;
}*/
.tab-content > .active {
	margin-bottom: 10px;
/*	display: flow-root !important;*/
}
.tab-content > .active:after {
  content: "";
  display: table;
  clear: both;
}
