/**
* Icons 
*/

.btn_seq.close:before, .btn_seq:before {
	content: url("../img/deploy_button.png"); 
	position: relative;
	bottom: 0px;
	right: 0px;
	display: block;
}

.btn_seq.close.btn3:before, .btn_seq.btn3:before {
	bottom: -6px;
	right: 8px;
} 

div[data-sg-id=btn-sequence][data-sg-status=open] .btn_seq:before {
	-ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}

/**
* Element elem-sequence
*/

div[data-sg-id=elem-sequence] {
	text-align: center;
	color: white;
	overflow-y: scroll;
	height: 570px;
	margin-top: 15px;
}


/**
* Items and Buttons
*/

div[data-sg-id=item-sequence] {
	position: relative;
	top: -50px;
	z-index: 1;	
	margin-bottom: -70px;
}

.item_seq {
	border: 4px solid #000;
	border-radius: 2em;
	-moz-border-radius: 2em;
	-webkit-border-radius: 2em;

	font-size: 2.3em;
	font-weight: bold;

	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 75px;
	padding-right: 15px;

	display: inline-block;
}

div[data-sg-id=item-sequence]:nth-of-type(2) .item_seq {
	border-color: #0D302F;
	background-color: #145252;
	padding: 10px 27px 9px 78px;
	margin-bottom: 10px;
}

div[data-sg-id=item-sequence]:nth-of-type(4) .item_seq {
	border-color: #008B8A;
	background-color: #16A2A3;
	padding: 8px 45px 11px 97px;
	text-align: left;	
	line-height: 45px;
	margin-bottom: 10px	
}

div[data-sg-id=item-sequence]:nth-of-type(6) .item_seq {
	border-color: #008B8A;
	background-color: #16A2A3;
	padding: 11px 30px 8px 75px;
	margin-bottom: 10px;
	margin-left: -50px;
}

div[data-sg-id=item-sequence]:nth-of-type(8) .item_seq:nth-of-type(4) {
	left: 80px;
}
div[data-sg-id=item-sequence]:nth-of-type(8) .item_seq:nth-of-type(3) {
	left: 28px;
}

.arrow {
	position: relative;
	margin-top: 11px;
	margin-bottom: -2px;
}

.left{
	margin-left: -75px;
}

div[data-sg-id=btn-sequence] {
	position: relative;
	z-index: 2;
}

div[data-sg-id=btn-sequence]:nth-of-type(1) {
	left: -176px;
	top: 13px;
}

div[data-sg-id=btn-sequence][data-sg-status=open]:nth-of-type(1) {
	top: 12px !important;
}

div[data-sg-id=btn-sequence][data-sg-status=open]:nth-of-type(1) {
	top: 5px !important;
	left: -182px;
}

div[data-sg-id=btn-sequence][data-sg-status=open]:nth-of-type(5) {
	top: 77px !important;
	left: -161px
}
div[data-sg-id=btn-sequence][data-sg-status=open]:nth-of-type(7) {
	top: 88px !important;
	left: -488px
}

div[data-sg-id=btn-sequence][data-sg-status=open] {
	top: 100px !important;
}


/* only for safari */
html:first-child div[data-sg-id=btn-sequence][data-sg-status=open]:nth-of-type(1) {
	top: 58px;
}
/********************/




div[data-sg-id=btn-sequence]:nth-of-type(3) {
	left: -280px;
	top: 105px;
}

div[data-sg-id=btn-sequence]:nth-of-type(5) {
	left: -160px;
	top: 84px;
}

div[data-sg-id=btn-sequence]:nth-of-type(7) {
	left: -484px;
	top: 95px;
}



.item_seq.middle {
	position: relative;
	background-color: #CDA045;
	border-color: #916D2D;
	margin-top: -13px;
	margin-bottom: 1px;
	padding: 3px 42px 6px 50px;
}
.arrow.middle{
	margin-top: 1px;
	margin-left: 106px;
}

/**
* Final elements
*/

.arrow.final {
	top: 16px;
	left: -45px;
}

.item_seq.final {
	position: relative;
	top: 21px;
	padding: 12px 31px;
	background-color: #88A559;
	border-color: #009540;
}

.item_seq.final:nth-of-type(2) {
	left: 6px;
	top:-82px;
}


.item_seq.final.middle{
	top: -33px;
	margin-bottom: 7px;
	left: -31px;
	padding-left: 85px;
} 

.item_seq.final:nth-of-type(3) {
	left: -46px;
	top: 15px;
	border-radius: 1.4em;
	-moz-border-radius: 1.4em;
	-webkit-border-radius: 1.4em;
}

.item_seq.final:nth-of-type(4) {
	left: -44px;
	top: -82px;
}

.item_seq.final:nth-of-type(5) {
	left: -106px;
	top: 15px;
	margin-bottom: 30px;
}

i.btn_seq{
	height: 51px;
	width: 46px;
	display: inline-block;
}