
 /*  Icons and Icon Containers
 -------------------------------*/
.cbm-icon-container{
	width: 100%; 
	margin: 0 auto;
	cursor: pointer;
}
.cbm-icon-kickass {
	max-width: 140px;
	max-height:150px;
	width: 100%; 
	height: auto;
	cursor: pointer;
}
.cbm-icon-introducing {
	max-width: 140px;
	max-height:150px;
	width: 100%; 
	height: auto;
	cursor: pointer;
}
.cbm-icon-top10 {
	max-width: 140px;
	max-height:150px;
	width: 100%; 
	height: auto;
	cursor: pointer;
}
.cbm-icon-package{
	max-width: 170px;
	max-height:180px;
	width: 100%; 
	height: auto;
	cursor: pointer;
}
/*
 * Animations
 *
 */

.cbm-animation-introducing {
	max-width: 250px;
	max-height:200px;
	width: 100%; 
	height: auto;
	cursor: pointer;
	margin:0 0 0 30%;
	position:relative;
}
.cbm-animation-kickass{
	max-width: 400px;
	max-height: 200px;
	width: 100%;
	height: auto;
	cursor: pointer;
	margin:0 0 0 30%;
	position:relative;
}
.cbm-animation-top10 {
	max-width: 275px;
	max-height:200px;
	width: 100%; 
	height: auto;
	cursor: pointer;
	margin: 0 0 0 30%;
	position:relative;
}
.cbm-animation-package{
	max-width: 330px;
	max-height: 200px;
	width: 100%;
	height: auto;
	cursor: pointer;
	margin:0 0 0 10%;
	position:relative;
}

.boxlayout-main {
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.boxlayout-main > section {
	position: absolute;
	width: 50%;
	height: 50%;
}
.boxlayout-main > section:first-child,
.boxlayout-main > section:nth-child(2),
.boxlayout-main > section:nth-child(3),
.boxlayout-main > section:nth-child(4) {
	background: aquamarine;
}
.boxlayout-main > section:first-child {
	top: 0;
	left: 0;
}
.boxlayout-main > section:nth-child(2) {
	top: 0;
	left: 50%;
}
.boxlayout-main > section:nth-child(3) {
	top: 50%;
	left: 0;
}
.boxlayout-main > section:nth-child(4) {
	top: 50%;
	left: 50%;
}
.boxlayout-box {
	position: relative;
	width: 100%;
	height: 100%;
	cursor: pointer;
	opacity: 1;
	overflow: hidden;
	overflow-y: hidden;
	/* Centering with flexbox */
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -moz-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.boxlayout-box h2 {
	text-align: center;
	margin: 0;
	padding: 20px;
	width: 100%;
	font-size: 1.8em;
	letter-spacing: 2px;
	font-weight: 700;
	text-transform: uppercase;
	overflow: hidden;
	overflow-y: hidden;
}

.boxlayout-icon {
	font-family: 'cbm-icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
}
.boxlayout-icon:before {
	display: block;
	font-size: 2.2em;
	margin-bottom: 10px;
}
.boxlayout-main > section .boxlayout-icon-close {
	font-size: 2em;
	position: absolute;
	top: 20px;
	left: 20px;
	cursor: pointer;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
	color: black;
}
.boxlayout-icon-close:before {
	content: "\e60b";
}
.boxlayout-content, 
div.boxlayout-panel-items > div > div {
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 30px;
	right: 30px;
	bottom: 30px;
	padding: 0 20px;
	overflow: hidden;
	overflow-y: auto;
}
/* Custom content */
.boxlayout-content p {
	margin: 0 auto;
	padding-bottom: 15px;
	font-size: 1.7em;
	line-height: 1.8;
	text-align: center;
}

.boxlayout-content article {
	padding: 20px 0;
}

.boxlayout-content article p.bottom{
	padding: 0 0 20px 0;
	max-width: 800px;
}

.boxlayout-content article h3 {
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0 0 10px 0;
	padding-top: 20px;
	font-size: 1.4em;
}

.boxlayout-content article a {
	color: rgba(0,0,0,0.2);
}

.boxlayout-content > ul {
	list-style: none;
	padding: 0;
	margin: 0;
} 

.boxlayout-content > ul li {
	display: inline-block;
	width: 20%;
	margin: 1%;
}

.boxlayout-content > ul li a {
	display: block;
	padding: 0;
/*	border: 8px solid rgba(0,0,0,0.1); */
}

.boxlayout-content > ul li a img {
	display: block;
	max-width: 100%;
}

/* Panel Items */
div.boxlayout-panel-items,
div.boxlayout-panel-items > div {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
}

div.boxlayout-panel-items > div > div {
	width: 80%;
	margin: 0 auto;
	opacity: 1;
	bottom: 90px;
	top: 90px;
	pointer-events: auto;
}

div.boxlayout-panel-items > div > div h3 {
	font-size: 2.4em;
	font-weight: 300;
	margin: 0 0 20px 0;
}

div.boxlayout-panel-items > div > div p {
	font-size: 1.3em;
}

div.boxlayout-panel-items > div > div img {
	float: left;
	margin: 0 20px 20px 0;
	max-width: 100%;
}

div.boxlayout-panel-items {
	top: 100%;
	z-index: 9999;
}

div.boxlayout-panel-items > div {
	background: aquamarine;
	z-index: 0;
	opacity: 0;
	-webkit-transform: translateY(0);
	-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	-moz-transform: translateY(0);
	-moz-transition: -moz-transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	transform: translateY(0);
	transition: transform 0.5s ease-in-out, opacity 0s linear 0.5s;
	-ms-transform: translateY(0);
}

div.boxlayout-panel-items nav {
	position: absolute;
	z-index: 9999;
	width: 216px;
	left: 50%;
	top: 0px;
	margin-left: -108px;
	opacity: 0;
	-webkit-transition: opacity 0.2s ease-in-out 0.5s;
	-moz-transition: opacity 0.2s ease-in-out 0.5s;
	transition: opacity 0.2s ease-in-out 0.5s;
}

div.boxlayout-panel-items.boxlayout-panel-items-show nav span {
	float: left;
	margin: 5px;
}

div.boxlayout-panel-items nav span.boxlayout-next-work {
	font-weight: 700;
	letter-spacing: 2px;
	display: block;
	text-transform: uppercase;
	line-height: 2em;
	cursor: pointer;
	margin-right: 2em;
}

div.boxlayout-panel-items.boxlayout-panel-items-show nav {
	opacity: 1;
	top: -70px;
}

div.boxlayout-panel-items > div.boxlayout-show-work {
	z-index: 1000;
	opacity: 1;
	-webkit-transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.5s ease-in-out;
	-moz-transform: translateY(-100%);
	-moz-transition: -moz-transform 0.5s ease-in-out;
	transform: translateY(-100%);
	transition: transform 0.5s ease-in-out;
	-ms-transform: translateY(-100%);
}

div.boxlayout-panel-items > div.boxlayout-hide-current-work {
	opacity: 0;
	-webkit-transition: -webkit-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	-webkit-transform: translateY(-100%) scale(0.5);
	-moz-transition: -moz-transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	-moz-transform: translateY(-100%) scale(0.5);
	transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
	transform: translateY(-100%) scale(0.5);
	-ms-transform: translateY(-100%) scale(0.5);
	z-index: 0;
}
/* container class for each of the panes */
.pane-container {
	font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
	width: 100%;
	position: relative;
	text-align: center;

	font-weight: 400;
	font-size: 15px;
	color: #393b40;
}
.pane-container > .introducing{
	font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #393b40;
	overflow-y: scroll;	
}
.pane-container > .introducing ul {
	list-style: none;
}
.pane-container .package{
	font-family: 'Montserrat', 'Arial Narrow', Arial, sans-serif;
	background: #e0e3ec repeat top left;
	font-weight: 400;
	font-size: 15px;
	color: #393b40;
	overflow-y: scroll;	
}

/* Transition classes and properties */
/* Separated for a better overview and control */
.boxlayout-main > section {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.boxlayout-main > section.boxlayout-expand {
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}
.boxlayout-main > section.boxlayout-expand-top {
	z-index: 100;
}
.boxlayout-main > section:first-child.boxlayout-expand {
	background: #C6FBF4;
}
.boxlayout-main > section:nth-child(2).boxlayout-expand {
	background: #C6FBF4;
}
.boxlayout-main > section:nth-child(3).boxlayout-expand {
	background: #C6FBF4;
}
.boxlayout-main > section:nth-child(4).boxlayout-expand {
/*	background: #e0e3ec;*/
	background: #C6FBF4;
}

.boxlayout-main.boxlayout-expand-item > section:not(.boxlayout-expand),
.boxlayout-main.boxlayout-expand-item > section.boxlayout-scale-down {
	-webkit-transform: scale(0.5);
	-moz-transform: scale(0.5);
	-ms-transform: scale(0.5);
	transform: scale(0.5);
	opacity: 0;
}

.boxlayout-box {
	-webkit-transition: opacity 0.2s linear 0.5s;
	-moz-transition: opacity 0.2s linear 0.5s;
	transition: opacity 0.2s linear 0.5s;
}

.boxlayout-work-items {
	padding:0 0 0 0;
}

section.boxlayout-expand .boxlayout-box {
	opacity: 0;
	-webkit-transition: opacity 0s linear;
	-moz-transition: opacity 0s linear;
	transition: opacity 0s linear;
}

.boxlayout-box h2 {
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.no-touch section:not(.boxlayout-expand) .boxlayout-box:hover h2 {
	-webkit-transform: translateY(-15px);
	-moz-transform: translateY(-15px);
	-ms-transform: translateY(-15px);
	transform: translateY(-15px);
}

.boxlayout-content,
.boxlayout-icon-close {
	-webkit-transition: opacity 0.1s linear 0s;
	-moz-transition: opacity 0.1s linear 0s;
	transition: opacity 0.1s linear 0s;
}

section.boxlayout-expand .boxlayout-content,
section.boxlayout-expand .boxlayout-icon-close {
	pointer-events: auto;
	opacity: 1;
	-webkit-transition: opacity 0.3s linear 0.5s;
	-moz-transition: opacity 0.3s linear 0.5s;
	transition: opacity 0.3s linear 0.5s;
}

#animation-top10{
	visibility:visible !important;	
}
.top10animated_hype_container{
	visibility:visible !important;	
}


/* hide and show the Cotton Balls */
.boxlayout-icon span {
	visibility: hidden;
}
.boxlayout-box:hover .boxlayout-icon span {
	visibility:visible !important;
}

.boxlayout-box:hover h2 .kickass {
	background-size: 140px 150px;
	background-repeat: no-repeat;
	background-position: 50% 50%;	
}
.boxlayout-box:hover h2 .introducing {
	background-size: 140px 150px;
	background-repeat: no-repeat;
	background-position: 50% 50%;	
}
.boxlayout-box:hover h2 .top10 {
	background-size: 140px 150px;
	background-repeat: no-repeat;
	background-position: 50% 50%;	
}
.boxlayout-box:hover h2 .package {
	background-size: 170px 180px;
	background-repeat: no-repeat;
	background-position: 50% 50%;	
}
.boxlayout-overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	visibility: hidden;
	top: 0;
	left: 0;
	z-index: 1000;
	opacity: 0;
	background: rgba(143,27,15,0.8);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

