.tabs-default {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 1em 0 2em;
	font-weight: 300;
}
.tab-bottom-border {
    border-bottom: 1px solid #006c39;
}
/* Nav */
.tabs-default nav {
	text-align: center;
}

.tabs-default nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
}

.tabs-default nav ul li {
	border: 1px solid #becbd2;
	border-bottom: none;
	margin: 0 0.25em;
	display: block;
	float: left;
	position: relative;
}

.tabs-default nav li.tab-current {
	border: 1px solid #186334;
	box-shadow: inset 0 2px #186334;
	border-bottom: none;
	z-index: 100;
}

.tabs-default nav li.tab-current:before,
.tabs-default nav li.tab-current:after {
	content: '';
	position: absolute;
	height: 1px;
	right: 100%;
	bottom: 0;
	width: 2000px;
	background: #186334;
}

.tabs-default nav li.tab-current:after {
	right: auto;
	left: 100%;
	width: 4000px;
}

.tabs-default nav a {
	color: #737D69;
	display: block;
	font-size: 1.45em;
	line-height: 2.5;
	padding: 0 1.25em;
	white-space: nowrap;
	text-decoration: none;
}

.tabs-default nav a:hover {
	color: #768e9d;
	
}


.tabs-default nav li.tab-current a > * {
	color: #186334;
	margin: 0 0 0 0.3em;
}
.tabs-default nav li > a > * {
	margin: 0 0 0 0.3em;
}
/* Icons */
.tabs-default nav a:before {
	display: inline-block;
	vertical-align: middle;
	text-transform: none;
	font-weight: normal;
	font-variant: normal;
	font-family: 'icomoon';
	line-height: 1;
	speak: none;
	-webkit-font-smoothing: antialiased;
	margin: -0.25em 0.4em 0 0;
}

.icon-food:before {
	content: "\e600";
}

.icon-lab:before {
	content: "\e601";
}

.icon-cup:before {
	content: "\e602";
}

.icon-truck:before {
	content: "\e603";
}

.icon-shop:before {
	content: "\e604";
}

/* Content */
.content section {
	font-size: 1em;
	padding: 3em;
	display: none;
	max-width: 1230px;
	margin: 0 auto;
}

.content section:before,
.content section:after {
	content: '';
	display: table;
}

.content section:after {
	clear: both;
}

/* Fallback example */
.no-js .content section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid #186334;
}

.content section.content-current {
	display: block;
}


.mediabox {
	float: left;
	/*width: 33%;*/
	padding: 0 25px;
}

.mediabox img {
	max-width: 100%;
	display: block;
	margin: 0 auto;
}

.mediabox h3 {
    margin: 0.75em 0 0.5em;
    text-transform: none;
    color: #252525;
}

.mediabox p {
	padding: 0 0 1em 0;
	margin: 0;
	line-height: 1.3;
    font-size: 0.8em;
    color: #252525;
}

/* tabs-style */
.tabs-style {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
	font-weight: 300;
	font-size: 1.25em;
	background-color: #e7ecea;
}

/* Nav */
.tabs-style nav {
	text-align: center;
}

.tabs-style nav ul {
	position: relative;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	margin: 0 auto;
	padding: 0;
	max-width: 1200px;
	list-style: none;
	-ms-box-orient: horizontal;
	-ms-box-pack: center;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
}

.tabs-style nav ul li {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0;
	text-align: center;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.tabs-style nav a {
	position: relative;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 2.5;
}

.tabs-style nav a span {
	vertical-align: middle;
	font-size: 0.75em;
}

.tabs-style nav li.tab-current a {
	color: #74777b;
}

.tabs-style nav a:focus {
	outline: none;
}

/* Content */
/*
.content-wrap {
	position: relative;
}

.content-wrap section {
	display: none;
	margin: 0 auto;
	padding: 1em;
	max-width: 1200px;
	text-align: center;
}

.content-wrap section.content-current {
	display: block;
}

.content-wrap section p {
	margin: 0;
	padding: 0.75em 0;
	color: rgba(40,44,42,0.05);
	font-weight: 900;
	font-size: 4em;
	line-height: 1;
}
*/
/* Fallback */
.no-js .content-wrap section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid rgba(255,255,255,0.6);
}

.no-flexbox nav ul {
	/*display: block;*/
}

.no-flexbox nav ul li {
	min-width: 10%;
	/*display: inline-block;*/
}

@media screen and (max-width: 58em) {
	.tabs-style nav a.icon span {
		display: none;
	}
	.tabs-style nav a:before {
		margin-right: 0;
	}
}


/* WAI-ARIA Style */
li[aria-selected='true'] {
	color: black;
	background-color: #fff;
	border-bottom: 1px solid white;
}
div[aria-hidden='true'] {
	display: none;
}


/*****************************/
/* Icon box */
/*****************************/

.tabs-style-iconbox nav {
	background: rgba(255,255,255,0.4);
}

.tabs-style-iconbox nav ul li a {
	overflow: visible;
	padding: 2em 0;
	line-height: 1;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	color: #186334;
}

.tabs-style-iconbox nav ul li a span {
	font-weight: 700;
	font-size: 1em;
	font-family: Raleway, Arial, sans-serif;

}

.tabs-style-iconbox nav ul li.tab-current {
	z-index: 100;
}

.tabs-style-iconbox nav ul li.tab-current a {
	background: #fff;
	box-shadow: -1px 0 0 #fff;
}

.tabs-style-iconbox nav ul li.tab-current a::after {
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -10px;
	width: 0;
	height: 0;
	border: solid transparent;
	border-width: 10px;
	border-top-color: #fff;
	content: '';
	pointer-events: none;
}

.tabs-style-iconbox nav ul li:first-child::before,
.tabs-style-iconbox nav ul li::after {
	position: absolute;
	top: 20%;
	right: 0;
	z-index: -1;
	width: 1px;
	height: 60%;
	background: rgba(0,0,0,0.07);
	content: '';
}

.tabs-style-iconbox nav ul li:first-child::before {
	right: auto;
	left: 0;
}

.tabs-style-iconbox .icon::before {
	display: block;
	margin: 0 0 0.25em 0;
	font-size: 1.25em;
}


/*****************************/
/* Falling Icon, from http://vintageproductions.eu/grid/interactivity/ */ 
/*****************************/
.tabs-style-iconfall {
	overflow: visible;
}

.tabs-style-iconfall nav a {
	display: inline-block;
	overflow: visible;
	padding: 1em 0 2em;
	color: #74777b;
	line-height: 1;
	-webkit-transition: color 0.3s cubic-bezier(0.7,0,0.3,1); 
	transition: color 0.3s cubic-bezier(0.7,0,0.3,1);
}

.tabs-style-iconfall nav a:hover,
.tabs-style-iconfall nav a:focus,
.tabs-style-iconfall nav li.tab-current a {
	/*color: #2CC185;*/
	color: #186334;
}

.tabs-style-iconfall nav a span {
	font-weight: 700;
	font-size: 1em;
	font-family: Raleway, Arial, sans-serif;
}

.tabs-style-iconfall nav li::before {
	position: absolute;
	bottom: 1em;
	left: 50%;
	margin-left: -20px;
	width: 40px;
	height: 4px;
	background: #186334;
	content: '';
	opacity: 0;
	-webkit-transition: -webkit-transform 0.2s ease-in;
	transition: transform 0.2s ease-in;
	-webkit-transform: scale3d(0,1,1);
	transform: scale3d(0,1,1);
}

.tabs-style-iconfall nav li.tab-current::before {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.tabs-style-iconfall .icon::before {
	display: block;
	margin: 0 0 0.35em;
	opacity: 0;
	-webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
	transition: transform 0.2s, opacity 0.2s;
	-webkit-transform: translate3d(0,-100px,0);
	transform: translate3d(0,-100px,0);
	pointer-events: none;
}

.tabs-style-iconfall nav li.tab-current .icon::before {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
	font-size: 1.25em;
}

@media screen and (max-width: 58em) {
	.tabs-style-iconfall nav li .icon::before {
		opacity: 1;
		-webkit-transform: translate3d(0,0,0);
		transform: translate3d(0,0,0);
	}
}



/*****************************/
/* Circle */
/*****************************/

.tabs-style-circle {
	overflow: visible;
}

.tabs-style-circle nav li::before {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -60px 0 0 -60px;
	width: 120px;
	height: 120px;
	border: 1px solid #186334;
	border-radius: 50%;
	content: '';
	opacity: 0;
	-webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
	transition: transform 0.2s, opacity 0.2s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}

@media screen and (max-width: 58em) {
	.tabs-style-circle nav li::before {
		margin: -40px 0 0 -40px;
		width: 80px;
		height: 80px;
	}
}

.tabs-style-circle nav li.tab-current::before {
	opacity: 1;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
}

.tabs-style-circle nav a {
	overflow: visible;
	color: #74777b;
	font-weight: 700;
	font-size: 0.9em;
	line-height: 1.1;
	-webkit-transition: color 0.3s cubic-bezier(0.7,0,0.3,1); 
	transition: color 0.3s cubic-bezier(0.7,0,0.3,1);
}

.tabs-style-circle nav a span {
	display: inline-block;
	font-size: 1em;
	font-family: Raleway, Arial, sans-serif;
}

.tabs-style-circle nav a span,
.tabs-style-circle .icon::before {
	-webkit-transition: -webkit-transform 0.3s cubic-bezier(0.7,0,0.3,1);
	transition: transform 0.3s cubic-bezier(0.7,0,0.3,1);
}

.tabs-style-circle nav a:hover,
.tabs-style-circle nav a:focus {
	color: #4a4a4b;
}

.tabs-style-circle nav li.tab-current a {
	color: #186334;
}

.tabs-style-circle nav li.tab-current a span {
	-webkit-transform: translate3d(0,4px,0);
	transform: translate3d(0,4px,0);
}

.tabs-style-circle .icon::before {
	display: block;
	margin: 0;
	pointer-events: none;
}

.tabs-style-circle nav li.tab-current .icon::before {
	-webkit-transform: translate3d(0,-4px,0);
	transform: translate3d(0,-4px,0);
	font-size: 1.25em;
}


/* Customize tab font size */
#facility-tab.tabs-default {
    margin: 0;
}
#facility-tab.tabs-default nav a,
#children-tab.tabs-default nav a {
    font-size: 1em;
}
#facility-tab .custom-icon-tab,
#children-tab .custom-icon-tab {
    top: 5px;
}
#facility-tab .content section {
    max-width: 100%;
    padding: 0;
}

/* Example media queries */

@media screen and (min-width: 768px) and (max-width: 1025px) {
	.tabs-default nav a span {
		display: none;
	}

	.tabs-default nav a:before {
		margin-right: 0;
	}

	.mediabox {
		float: none;
		width: auto;
		padding: 0 0 35px 0;
		font-size: 90%;
	}

	.mediabox img {
		float: left;
		margin: 0 25px 10px 0;
		max-width: 40%;
	}

	.mediabox h3 {
		margin-top: 0;
	}

	.mediabox p {
		margin-left: 40%;
		margin-left: calc(40% + 25px);
	}

	.mediabox:before,
	.mediabox:after {
		content: '';
		display: table;
	}

	.mediabox:after {
		clear: both;
	}
}

@media screen and (max-width: 767px) {
	.tabs-default nav ul,
	.tabs-default nav ul li a {
		width: 100%;
		padding: 0;
	}
	.tabs-default nav ul li {
		width: 20%;
		width: calc(14.28% + 1px);
		margin: 0 0 0 -1px;
	}
    
    #cs-tab.tabs-default nav ul li {
        width: calc(16.66% + 1px);
        width: 20%;
    }
    #cc-tab.tabs-default nav ul li {
        width: calc(14.28% + 1px);
    }
	
	.tab-num-2 nav ul li {
	    width: 50%; 
	}
	.tab-num-3 nav ul li {
        width: 33.3%; 
    }
    .tab-num-4 nav ul li {
        width: 25%; 
    }
    .tab-num-5 nav ul li {
        width: 20%; 
    }
    .tab-num-6 nav ul li {
        width: 16.6%; 
    }
    .tab-num-7 nav ul li {
        width: calc(14.28% + 1px); 
    }
    .tab-num-8 nav ul li {
        width: 12.5%; 
    }
	
    #job-tab.tabs-default nav ul li {
        width: 25%;
    }
    #ft-tab.tabs-default nav ul li {
        width: 25%;
    }
    #children-tab.tabs-default nav ul li {
        width: 20%;
    }
    #sg-cabinet-tab.tabs-default nav ul li {
        width: 33.3%;
    }
    #sg-campus-tab.tabs-default nav ul li {
        width: 25%;
    }
    #sg-documents-tab.tabs-default nav ul li {
        width: 14.%;
    }
    #cs-recognition-tab.tabs-default nav ul li {
        width: 25%;
    }
    #facility-tab.tabs-default nav ul li {
        width: 12.5%;
    }
    #facility-outdoor-tab.tabs-default nav ul li {
        width: 25%;
    }
    #event-space.tabs-default nav ul li {
        width: 16.666%;
    }
    #reservation-tab.tabs-reservation nav ul li {
        width: 25%;
    }
    #reservation-tab.tabs-reservation nav ul li:last-child {
         border-right: 1px solid #becbd2;
    }
	.tabs-default nav ul li:last-child {
		border-right: none;
	}
    
	.mediabox {
		text-align: center;
	}

	.mediabox img {
		float: none;
		margin: 0 auto;
		max-width: 100%;
	}

	.mediabox h3 {
		margin: 1.25em 0 1em;
	}

	.mediabox p {
		margin: 0;
	}
	.tabs-default nav a span {
		display: none;
	}
	.content section.content-current {
	    padding: 3em 1em;
	}
}



/* Define seven-cols */
@media (min-width: 356px){
  	.seven-cols .col-md-1,
  	.seven-cols .col-sm-1,
  	.seven-cols .col-lg-1  {
    	width: 50%;
    	float: left;
  	}
}

@media (min-width: 768px) {
  	.seven-cols .col-md-1,
  	.seven-cols .col-sm-1,
  	.seven-cols .col-lg-1 {
	    width: 14.285714285714285714285714285714%;
	    float: left;
   	}
}

@media (min-width: 1200px) {
  	.seven-cols .col-md-1,
  	.seven-cols .col-sm-1,
  	.seven-cols .col-lg-1 {
    	width: 14.285714285714285714285714285714%;
    }
}
