/*
#teamwork is the widgets container element. We set its main styles here, and also any
styles for classes that are added dynamically based on the grid's state, eg
animating & selected. 
*/
#teamwork,
#teamwork2 {
	text-align: left;
	color: #000;
	width: 850px;
}

#teamwork .button:hover,
#teamwork .wide-button:hover,
#teamwork .one-third-tile:hover,
#teamwork .half-tile:hover,
#teamwork .tile:hover,
#teamwork2 .button:hover,
#teamwork2 .wide-button:hover,
#teamwork2 .one-third-tile:hover,
#teamwork2 .half-tile:hover,
#teamwork2 .tile:hover {
	border: 1px solid #ccc;
}
#teamwork.animating .selected,
#teamwork2.animating .selected {
	border-color: #fff;
	box-shadow: 0 0 10px #fff;
}
#teamwork.animating .button .heading,
#teamwork.animating .wide-button .heading,
#teamwork.animating .subheading,
#teamwork2.animating .button .heading,
#teamwork2.animating .wide-button .heading,
#teamwork2.animating .subheading {
	display: none;
}

/*Mr Shabbir*/

.teamwork-item.hide-on-desktop {
	display: none;
}

.teamwork-item.show-on-desktop {
	display: block;
}

/* the 'close tile' button */
#teamwork .closeBtn,
#teamwork2 .closeBtn {
	background-color: #4e4e4e;
	color: #fff;
	font-size: 20px;
	font-weight: 300;
	position: absolute;
	right: 0;
	text-align: center;
	text-decoration: none;
	top: 0;
	width: 27px;
}

/* 
tiles 
- 	each tile is given a unique background color
- 	The icon elements a are larger than the tiles, and with the CSS position set to
	absolute, the icons will overflow past the tile borders. This is allowed for the
	3-column grid, and for the 1 & 2 column grids we use clipping to contain the icons.
*/
#teamwork .shufflingTiles-tile,
#teamwork2 .shufflingTiles-tile {
	margin: 0px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

#teamwork.columns-1 .open-tile,
#teamwork2.columns-1 .open-tile {
	clip: rect(0px, 768px, 297px, 0px);
}
#teamwork.columns-2 .open-tile,
#teamwork2.columns-2 .open-tile {
	clip: rect(0px, 506px, 474px, 0px);
}
#teamwork .tile1,
#teamwork2 .tile1 {
	background-color: #f4f4f4;
}
#teamwork .tile2,
#teamwork2 .tile2 {
	background-color: #ededed;
}
#teamwork .tile3,
#teamwork2 .tile3 {
	background-color: #e0e0e0;
}
#teamwork .tile4,
#teamwork2 .tile4 {
	background-color: #e8e8e8;
}
#teamwork .tile5,
#teamwork2 .tile5 {
	background-color: #f1f1f1;
}
#teamwork .tile6,
#teamwork2 .tile6 {
	background-color: #e1e1e1;
}

/* 
icons 
Each persons image is given the icon class in the HTML. Here, the icon size is
adjusted based on the current size of the parent tile. 
*/
#teamwork .tile .icon,
#teamwork2 .tile .icon {
	position: absolute;
}
#teamwork .icon,
#teamwork2 .icon {
	display: block;
	position: relative;
	float: left;
	margin: 0 9px 35px 0;
}
#teamwork .open-tile .icon,
#teamwork2 .open-tile .icon {
	left: 10px;
	top: 40px;
	height: 290px;
}
/*#teamwork .open-tile.tile1 .icon{ height:300px; width: 224px;}
#teamwork .open-tile.tile2 .icon{ height:297px; width: 227px;}
#teamwork .open-tile.tile3 .icon{ height:307px; width: 284px;}
#teamwork .open-tile.tile4 .icon{ height:306px; width: 256px;}
#teamwork .open-tile.tile5 .icon{ height:303px; width: 243px;}
#teamwork .open-tile.tile6 .icon{ height:304px; width: 248px;}*/

#teamwork.columns-1 .open-tile .icon,
#teamwork2.columns-1 .open-tile .icon {
	left: 150px;
}
#teamwork .tile .icon,
#teamwork2 .tile .icon {
	top: 46px;
	left: 0px;
	height: 307px;
}
#teamwork .tile.tile1 .icon,
#teamwork2 .tile.tile1 .icon {
	left: -46px;
}
#teamwork .tile.tile2 .icon,
#teamwork2 .tile.tile2 .icon {
	left: -30px;
}
#teamwork .tile.tile3 .icon,
#teamwork2 .tile.tile3 .icon {
	left: -55px;
	top: 50px;
}
#teamwork .tile.tile4 .icon,
#teamwork2 .tile.tile4 .icon {
	left: -70px;
}
#teamwork .tile.tile5 .icon,
#teamwork2 .tile.tile5 .icon {
	left: -42px;
}
#teamwork .tile.tile6 .icon,
#teamwork2 .tile.tile6 .icon {
	left: -46px;
}

#teamwork .two-thirds-tile .icon,
#teamwork .half-tile .icon,
#teamwork2 .two-thirds-tile .icon,
#teamwork2 .half-tile .icon {
	height: 170px;
	top: 10px;
	left: 0;
}
#teamwork .one-third-tile .icon,
#teamwork2 .one-third-tile .icon {
	height: 128px;
	left: 0px;
	top: 10px;
}
#teamwork .wide-button .icon,
#teamwork2 .wide-button .icon {
	top: 5px;
	left: -10px;
}
#teamwork .button .icon,
#teamwork2 .button .icon {
	top: 10px;
	left: -20px;
}

/* headings */
#teamwork .heading,
#teamwork2 .heading {
	display: block;
	line-height: 1em;
	font-size: 17px;
	color: #0a3475;
	font-weight: 500;
}
#teamwork .open-tile .heading,
#teamwork2 .open-tile .heading {
	margin: 35px 10px 10px 20px;
}

#teamwork .tile .heading,
#teamwork2 .tile .heading {
	/*margin: 50px 10px 10px 150px;*/
	margin: 15px 10px 10px 30px;
	color: #0a3475;
	text-align: left;
}
#teamwork .tile.tile1 .heading,
#teamwork .tile.tile3 .heading,
#teamwork .tile.tile4 .heading,
#teamwork .tile.tile5 .heading,
#teamwork2 .tile.tile1 .heading,
#teamwork2 .tile.tile3 .heading,
#teamwork2 .tile.tile4 .heading,
#teamwork2 .tile.tile5 .heading {
	/*margin: 50px 10px 10px 150px;*/
	margin: 15px 10px 10px 30px;
	color: #0a3475;
	text-align: left;
}
#teamwork .two-thirds-tile .heading,
#teamwork .half-tile .heading,
#teamwork2 .two-thirds-tile .heading,
#teamwork2 .half-tile .heading {
	margin: 15px 10px 10px 100px;
	color: #0a3475;
}
#teamwork .one-third-tile .heading,
#teamwork2 .one-third-tile .heading {
	/*margin: 20px 10px 10px 85px;*/
	margin: 15px 10px 10px 100px;
	color: #0a3475;
}
#teamwork .wide-button .heading,
#teamwork2 .wide-button .heading {
	margin-top: 25px;
	margin-left: 85px;
}
#teamwork .button .heading,
#teamwork2 .button .heading {
	display: none;
}

/* subheadings */
#teamwork .open-tile .subheading,
#teamwork2 .open-tile .subheading {
	font-weight: 300;
	margin: 5px 10px 10px 20px;
	display: block;
	line-height: 1em;
	font-size: 15px;
	color: #4e4e4e;
}
#teamwork.columns-1 .open-tile .subheading,
#teamwork2.columns-1 .open-tile .subheading {
	max-width: 120px;
}
#teamwork .tile .subheading,
#teamwork .two-thirds-tile .subheading,
#teamwork .half-tile .subheading,
#teamwork .one-third-tile .subheading,
#teamwork .wide-button .subheading,
#teamwork .button .subheading,
#teamwork2 .tile .subheading,
#teamwork2 .two-thirds-tile .subheading,
#teamwork2 .half-tile .subheading,
#teamwork2 .one-third-tile .subheading,
#teamwork2 .wide-button .subheading,
#teamwork2 .button .subheading {
	display: none;
}

/* 
content 
Content under a i-column grid is assumed to be for mobile devices (since the plugin's
layout is set to fluid), and so is made smaller to save some space. 
 */
#teamwork .content,
#teamwork2 .content {
	display: block;
	position: relative;
	margin: 20px 20px 10px 20px;
	width: auto;
	overflow: visible;
	float: none;
}
#teamwork .content p,
#teamwork2 .content p {
	margin: 1em 0;
	text-align: justify;
}
#teamwork.columns-1 .content,
#teamwork2.columns-1 .content {
	top: -500px;
}
#teamwork .content:before,
#teamwork2 .content:before {
	margin-left: -5px;
	padding: 0px;
	height: 15px;
	position: relative;
	float: left;
}

#management #teamwork2:after {
	display: table;
	clear: both;
	content: "";
}

#bod-1 {
	padding: 20px 20px 0 0;
	position: relative;
	margin: 3px;
	background-color: #f4f4f4;
}
#bod-1.expand {
	padding: 20px;
}
#bod-1 img.icon {
	float: left;
	padding: 0 20px 0 0;
}
#teamwork2 #bod-1 img.icon {
	padding: 0;
}
#teamwork2 #bod-1.selected.open-tile img.icon {
	padding: 0 10px 5px;
}
#bod-1.expand img.icon {
	padding: 0 20px 20px 0;
}
#bod-1 .heading {
	display: block;
	line-height: 1em;
	font-size: 17px;
	color: #0a3475;
	font-weight: 500;
}
#bod-1 .subheading {
	font-weight: 300;
	margin: 5px 10px 10px 20px;
	display: block;
	line-height: 1em;
	font-size: 15px;
	color: #4e4e4e;
}
#bod-1 .xtra-content {
	overflow: hidden;
	max-height: 0px;
	-moz-transition: max-height 0.5s ease-out; /* CSS3 transition of UL state. Last 0.1s specifies delay before animation */
	-o-transition: max-height 0.5s ease-out; /* instead of ease-in-out, also try cubic-bezier(0.25, 0.1, 0.25, 1.4) instead */
	-webkit-transition: max-height 0.5s ease-out;
	transition: max-height 0.5s ease-out;
}

#bod-1 .xtra-content.show {
	max-height: 1500px;
	-moz-transition: max-height 0.5s ease-in; /* CSS3 transition of UL state. Last 0.1s specifies delay before animation */
	-o-transition: max-height 0.5s ease-in; /* instead of ease-in-out, also try cubic-bezier(0.25, 0.1, 0.25, 1.4) instead */
	-webkit-transition: max-height 0.5s ease-in;
	transition: max-height 0.5s ease-in;
}
#bod-1 .closeBtn {
	background-color: #4e4e4e;
	color: #fff;
	font-size: 20px;
	font-weight: 300;
	position: absolute;
	right: 0;
	text-align: center;
	text-decoration: none;
	top: 0;
	width: 27px;
}

.content::after,
#bod-1::after,
#bod-1 .xtra-content::after {
	display: table;
	content: "";
	clear: both;
}
.icon-plus {
	padding: 5px 10px;
	background-color: #4e4e4e;
	color: #fff;
	cursor: pointer;
	-moz-transition: all 0.5s linear; /* CSS3 transition of UL state. Last 0.1s specifies delay before animation */
	-o-transition: all 0.5s linear; /* instead of ease-in-out, also try cubic-bezier(0.25, 0.1, 0.25, 1.4) instead */
	-webkit-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
.icon-plus.hide {
	opacity: 0;
	visibility: hidden;
}
#bod-1 .closeBtn {
	display: none;
	-moz-transition: all 0.5s linear; /* CSS3 transition of UL state. Last 0.1s specifies delay before animation */
	-o-transition: all 0.5s linear; /* instead of ease-in-out, also try cubic-bezier(0.25, 0.1, 0.25, 1.4) instead */
	-webkit-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
#bod-1 .closeBtn.show {
	display: block;
	cursor: pointer;
}

@media screen and (min-width: 601px) {
	.shufflingTiles-tile.tile img {
		width: 140px !important;
		height: auto !important;
		top: 58px !important;
		left: 0 !important;
		margin-bottom: 0 !important;
	}
	.shufflingTiles-tile.selected.open-tile img {
		width: 140px !important;
		height: auto !important;
		padding: 0 10px 5px;
		box-sizing: border-box;
	}
	.shufflingTiles-tile.half-tile img,
	.shufflingTiles-tile.one-third-tile img,
	.shufflingTiles-tile.two-thirds-tile img {
		width: 70px !important;
		height: auto !important;
	}
	#bod #teamwork2 .shufflingTiles-tile.selected.open-tile {
		width: 840px !important;
		height: 600px !important;
	}
	#bod #teamwork2 {
		transition: height 1s;
	}
	#bod #teamwork2.open {
		height: 605px !important;
	}
	#bod-1 .content p {
		margin-bottom: 10px;
	}
	#teamwork2 .shufflingTiles-tile.other-tiles .heading {
		margin: 15px 10px 10px 100px;
		text-align: left;
	}
	#teamwork2 .shufflingTiles-tile.other-tiles img {
		width: 75px !important;
		height: auto !important;
		top: 18px !important;
	}
	#teamwork,
	#teamwork2 {
		width: 650px;
	}
	.closeBtn-m,
	.icon-plus-m {
		display: none;
	}
}

@media screen and (min-width: 1100px) {
	#teamwork,
	#teamwork2 {
		width: 850px;
	}
}

@media screen and (max-width: 600px) {
	#teamwork .teamwork-item.expand .xtra-content p:first-child,
	#teamwork2 .teamwork-item.expand .xtra-content p:first-child {
		margin-top: 0px;
	}
	#bod-1 {
		padding: 20px;
	}
	#bod-1 .xtra-content.show,
	.teamwork-item.expand .xtra-content {
		max-height: 2500px;
	}
	#bod-1 .subheading {
		text-align: left;
	}
	#bod-1 img.icon {
		padding: 0 20px 20px 0;
	}
	#teamwork .subheading,
	#teamwork2 .subheading {
		font-weight: 300;
		margin: 5px 10px 10px 20px;
		display: block;
		line-height: 1em;
		font-size: 15px;
		color: #4e4e4e;
	}
	#bod #bod-1 .content {
		padding-bottom: 10px;
	}
	#teamwork .heading,
	#teamwork2 .heading {
		padding-top: 10px;
	}
	.icon-plus-m {
		display: block;
	}
	#teamwork,
	#teamwork2 {
		width: 100%;
		margin: 20px 0;
	}
	#management #teamwork2.open {
		height: auto !important;
	}
	#teamwork .teamwork-item,
	#teamwork2 .teamwork-item {
		padding: 20px;
		position: relative;
		margin-bottom: 20px;
		background-color: #f4f4f4;
	}
	.icon-plus-m {
		display: inline-block;
		padding: 5px 10px;
		background-color: #4e4e4e;
		color: #fff;
		cursor: pointer;
		-moz-transition: all 0.5s linear;
		-o-transition: all 0.5s linear;
		-webkit-transition: all 0.5s linear;
		transition: all 0.5s linear;
	}
	#teamwork .teamwork-item .content,
	#teamwork2 .teamwork-item .content {
		margin: 0;
	}
	#teamwork .icon,
	#teamwork2 .icon {
		margin-bottom: 20px;
	}
	.teamwork-item .xtra-content {
		overflow: hidden;
		max-height: 0px;
		-moz-transition: max-height 0.5s ease-out;
		-o-transition: max-height 0.5s ease-out;
		-webkit-transition: max-height 0.5s ease-out;
		transition: max-height 0.5s ease-out;
	}
	.teamwork-item.expand .xtra-content {
		max-height: 1200px;
		-moz-transition: max-height 0.5s ease-in; /* CSS3 transition of UL state. Last 0.1s specifies delay before animation */
		-o-transition: max-height 0.5s ease-in; /* instead of ease-in-out, also try cubic-bezier(0.25, 0.1, 0.25, 1.4) instead */
		-webkit-transition: max-height 0.5s ease-in;
		transition: max-height 0.5s ease-in;
		width: 100%;
	}
	.teamwork-item .closeBtn-m {
		background-color: #4e4e4e;
		color: #fff;
		font-size: 20px;
		font-weight: 300;
		position: absolute;
		right: 0;
		text-align: center;
		text-decoration: none;
		top: 0;
		width: 27px;
		display: none;
	}
	.teamwork-item.expand .closeBtn-m {
		display: block;
	}
	.teamwork-item.expand .icon-plus-m {
		display: none;
	}
}

@media screen and (max-width: 414px) {
	.teamwork-item.hide-on-desktop {
		display: block;
		border: 1px solid #a00;
	}

	.teamwork-item.show-on-desktop {
		display: none;
	}
}

#bod-1 .xtra-content.show {
	overflow: inherit;
	visibility: visible;
}

#bod-1 .xtra-content {
	visibility: hidden;
}

.hidden,
.teamwork-item.shabbir-m {
	display: none !important;
}

/* 
#bod #teamwork .two-thirds-tile img.icon,
#bod #teamwork .half-tile img.icon {
  	margin: 0px;
}

#bod #teamwork .two-thirds-tile,
#bod #teamwork .half-tile,
#bod #teamwork .one-third-tile{
	height: 86px!important;
	margin-top: -51px!important;
} */
