/*
1. Base 
2. Layout
3. Modules
4. State
*/


/* 1. Base Rules
------------------------------------------------------------------ */
.s_time { padding: 10px 0px; }

body {
	color: #355971;
	font-size: 14px;
	font-family: 'Asap', Arial, sans-serif;
	font-weight: 400;
	line-height: 20px;
	min-width: 980px;
}

::-moz-selection { 
	background: #0575BB; 
}

::selection { 
	background: #0575BB; 
}


/* 1.1 Links */

a { 
	color: #0575BB;
	text-decoration: none;
}

a:visited { 
	color: #0575BB;
	opacity: 1;
}

a:hover { 
	color: #0575BB;
	opacity: .8;
}

.active a:hover {
	opacity: 1;
}



/* 1.2 Typography */

h1, h2, h3, h4, h5, h6 {
	color: #0575BB;
	margin: 0 0 20px 0;
	font-weight: 700;
}

h1 {
	font-size: 58px;
	line-height: 60px;
	margin: 0 0 40px 0;
	letter-spacing: -2px;
}

h2 {
	font-size: 28px;
	line-height: 32px;
	letter-spacing: -1px;
}

h3 {
	font-size: 18px;
	line-height: 20px;
}

h4 {}


p {
	margin: 0 0 20px 0;
}

ul, ol {
	margin: 0 0 20px 20px;
	padding: 0;
}


blockquote {
  background: url(../images/blockquote_bg.png) 0 0 no-repeat;
  margin: 20px 0;
  padding: 0 0 0 40px;
}

strong, b {
	font-weight:700;
}

dt {
	color: #509ECF;
	font-size: 18px;
	font-weight: 700;
}

table {
	width: 90%;
}

tr {
	border-bottom: 2px solid #FFF;
}

thead tr{
	border-bottom: 4px solid #FFF;
}

th {
	font-size: 24px;
	padding: 20px 10px;
}

td {
	padding: 10px;
	font-size: 16px;
	letter-spacing: 0px;
  text-align: center;
}

/* 2. Layout
------------------------------------------------------------------ */

.l_left {
	float: left;
}

.l_right{
	float: right;
}

.l_center {
	text-align: center;
}

.l_grid {
	font-size: 0;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.l_grid > li {
	font-size: 13px;
	display: inline-block;
	margin: 0 5px 10px 0; 
	
	/* IE7 hack to mimic inline-block */
	*display: inline;
	*zoom: 1;
}

.l_row dt {
	float: left;
	margin-right: 10px;
}


/* !2.1 General Structure */

#wrapper {
	background: url(../images/body.png) center 2px no-repeat;
	background: url(../images/body_bg_1.png) center 1px no-repeat, url(../images/body_bg_2.png) center 500px no-repeat, url(../images/body_bg_3.png) center 1000px no-repeat, url(../images/body_bg_4.png) center 1500px no-repeat, url(../images/body_bg_5.png) center 2000px no-repeat, url(../images/body_bg_6.png) center 2500px no-repeat, url(../images/body_bg_7.png) center 3000px no-repeat, url(../images/body_bg_7.png) center 3500px no-repeat, url(../images/body_bg_8.png) center 4000px no-repeat, url(../images/body_bg_9.png) center 4500px no-repeat, url(../images/body_bg_10.png) center 5000px no-repeat, url(../images/body_bg_11.png) center 5500px no-repeat, url(../images/body_bg_12.png) center 6000px no-repeat; 
}

.container {
	width: 940px; 
	margin: 0 auto;
	overflow: hidden;
}

.section {
	padding: 100px 0;
}

.alt {
	background-color: #509ECF;
	background-color: rgba(5,117,187,.7);
	color: #FFF;
}

.alt h1, .alt h2, .alt h3, .alt h4, .alt h5, .alt h6, .alt dt {
	color: #FFF;
}

.alt a { 
	color: #FFF;
	text-decoration: underline;
}

.alt a:visited { 
	color: #FFF;
}

.alt a:hover { 
	color: #FFF;
}

.info {
	color: #509ECF;
}

.col_one, .col_two, .col_large, .col_medium, .col_small {
	float: left;
	overflow: hidden;
}

.col_one {
	width: 280px;
	float: left;
	margin: 0 40px 20px 0;
}

.col_two {
	width: 620px;
	margin: 0 0 20px 0;
}

.col_medium {
	width: 460px;
	margin: 0 20px 20px 0;	
}

.col_small {
	width: 220px;
}

.col_medium .col_small {
	margin: 0 20px 0 0;
}

.col_medium .col_small:last-child {
	margin: 0;
}


/* 3. Module
------------------------------------------------------------------ */

/* !3.1 Nav */

#page_nav {
	background-color: #0575BB;
	background-color: rgba(5, 117, 187, .8);
	height: 60px;
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	overflow: hidden;
	z-index: 1000;
}
#page_nav ul {
	padding: 10px;
	height: 40px;
	text-align: center;
}

#page_nav li {
	margin: 0;
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

#page_nav li a{
	display: block;
	padding: 5px 17px;
	line-height: 30px;
	height:30px;
	font-size: 22px;
	text-decoration: none;
	letter-spacing: -1px;
	font-weight: 600;
}

#page_nav li a img{
  margin-top: -4px;
}

#page_nav li a.active {
	background-color: #0468A6;
	background-color: rgba(4, 104, 166, .9);
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
}

#page_nav li a:focus {
	outline: none;
}



/* !3.2 Welcome Section */

#welcome {
	padding: 130px 0 100px 0;
	font-size: 16px;
}

#welcome .container {
	position: relative;
	padding: 0 10px;
}

#welcome header {
	width: 460px;
	margin: 0 0 0 320px;
}

#welcome .brand_initials {
	font-size: 100px;
	line-height: 100px;
	margin: 0;
	position: relative;
}

#welcome h1 img {
	position: absolute; 
	top: 2px; 
	left: -320px;
}

#welcome .brand_name {
	color: #509ECF;
	font-size: 40px;
	line-height: 44px;
	margin: 0;
}

#welcome h2 span {
	display: block;
}

#welcome .description {
	margin: 0 0 0 160px;
}

#welcome .brand_info {
	margin: 0 0 10px 160px;
}

#welcome .social_nav {
	width: 100px;
	position: absolute;
	top: 20px;
	right: 0;
}

#welcome .social_nav a .icon {
	background: url(../images/social_icons_bg.png) 0px 0px no-repeat;
	width: 40px;
	height: 40px;
	display: block;
}

#welcome .social_nav .large a .icon {
	width: 60px;
	height: 60px;
}

#welcome .social_nav .medium a .icon{
	width: 50px;
	height: 50px;
}

#welcome .social_nav .twitter.large a .icon{ background-position: 0px -300px;}
#welcome .social_nav .tumblr.medium a .icon{ background-position: 0px -380px;}
#welcome .social_nav .lanyard a .icon{ background-position: 0px -240px;}


#welcome .social_nav dt {
	margin: 0 0 10px 0;
}

#welcome .social_nav dd{
	margin: 0;
	position: absolute;
	top: 35px;
	left: 0;
}

#welcome .social_nav .tumblr {
	top: 80px;
	left: 50px;
}

#welcome .social_nav .lanyard {
	top: 120px;
	left: 20px;
}



/* !3.2 Social Icons */




.social_nav .small a {
	width: 30px;
	height: 30px;
}



/* !3.3 Speakers & Sponsors */

.masonry .container {
	width: 960px;
}

.masonry .section_header {
	padding: 0 10px;
}

.entry_list {
	list-style: none;
	margin: 0;
}

.entry_item {
	background-color: rgba(29,151,202,.2);
	width: 180px;
	margin: 0 10px 20px 10px;
	float: left;
	padding: 210px 20px 20px 20px;
	overflow: hidden;
	position: relative;
}

section.alt .entry_item {
	background-color: rgba(49, 127, 160, .2);
}

.corner_stamp {
	background: transparent;
	width: 220px;
	float: left;
	padding: 0 !important;
}

.entry_title {
	font-size: 24px;
	line-height: 30px;
	margin: 0;
	letter-spacing: -1px;
}

.entry_title a:hover h1,
.entry_title a:hover h2 {
	opacity: .8;
}

.entry_position {
	color: #3791C9;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	margin: 0 0 10px 0;
}

.entry_thumbnail {
	position: absolute;
	top: 20px;
	left: 20px;
	border: 10px solid;
	border-color: transparent #FFF #FFF transparent;
}

.entry_twitter {
	margin: 0;
}

.entry_twitter a {
	display: block;
	line-height: 30px;
}


.entry_twitter a .icon {
  background: url(../images/social_icons_bg.png) 0px -450px no-repeat; 
  width: 30px;
  height: 30px;
  margin: 0 5px 0 0; 
  display:block;
  float: left;
}   

#sponsors .entry_item {
	padding: 160px 20px 20px 20px;
}

#sponsors .entry_item.small {
	width: 120px;
	padding: 90px 10px 10px 10px;
	min-height: 20px;
}

#sponsors .entry_item.small:nth-of-type(3n) {
	margin: 0 0 20px 10px;
}

#sponsors .large {
	width: 940px;
}

#sponsors .large .item_container {
	overflow: hidden;
	margin: 0;
}

#sponsors .entry_thumbnail {
	border-color: transparent #77C1DF #77C1DF transparent;
	margin: 0;
}

#sponsors .entry_item.small .entry_thumbnail {
	border: 10px solid;
	border-color: transparent #77C1DF #77C1DF transparent;
	top: 10px;
	left: 10px;

}

#sponsors .corner_stamp {
	height: 180px;
}

.become_sponsor {
	background: url(../images/extra_icons_bg.png) 0px -75px no-repeat;
	margin: 0;
	font-size: 16px;
	font-weight: bold;
	padding: 0 0 0 22px;
}

.become_sponsor a {
	color: #509ECF;
}


/* !3.4 Schedule */

.sched_time {
	width: 100px;
}

.sched_day_one, .sched_day_two {
	width: 400px;
}

.talk-title {
	font-weight: 700;
	display: block;
}


/* !3.5 Tickets */

#tickets {
	font-size: 16px;
}

#tickets th {
	font-size: 18px;
}

#tickets tbody th, #tickets tbody td {
	padding: 20px 10px;
}

#tickets .workshops {
  margin-top: 50px;
}

/* !3.6 Contacts */

#contacts .col_one {
	margin: 0 30px 0 10px;
}

#contacts .col_two {
	width: 640px;
}

#contacts .col_two > h2 {
	margin: 0 0 20px 10px;
}

#contacts .social_nav {
	list-style: none;
	margin: 0 0 40px 0;
}

#contacts .social_nav li {
	padding: 0 0 0 0px;
	margin: 0 0 20px 0;
	font-size: 16px;
	letter-spacing: -1px;
}

#contacts .social_nav .icon {
	background: url(../images/social_icons_bg.png) 0px 0px no-repeat;
	display: block;
	width: 40px;
	height: 40px;
	float: left;
	margin: 0 10px 0 0;
}

#contacts .social_nav li a {
	display: block;
}

#contacts .social_nav li small {
	font-size: 14px;
	letter-spacing: 0px;
}

#contacts .social_nav strong {
	color: #509ECF;
	display: block;
	font-size: 18px;
}

#contacts .social_nav a {
	color: #355971;
}

#contacts .social_nav .email .icon { background-position: 0px 0px;}
#contacts .social_nav .phone .icon { background-position: 0px -60px;}
#contacts .social_nav .twitter .icon { background-position: 0px -120px;}
#contacts .social_nav .tumblr .icon { background-position: 0px -180px;}
#contacts .social_nav .lanyard .icon { background-position: 0px -240px;}

#newsletter_form {
	background-color: #D2EAF4;
	background-color: rgba(29,151,202,.2);
	padding: 20px;
}

#newsletter_form input {
	width: 220px;
}

input[type="text"] {
	font-family: 'Asap', Arial, sans-serif;
	color: #666;
	border: 1px solid #FFF;
	background: #FFF;
	line-height: 20px;
	padding: 9px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	margin: 0 0 10px 0;
}

input[type="text"]:focus {
	outline: none;
	border: 1px solid #62C7EF;
}

button {
	font-family: 'Asap', Arial, sans-serif;
	border: none;
	outline: none;
	color: #FFF;
	background: #0575BB;
	line-height: 20px;
	padding: 10px 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	border-radius: 20px;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
}

button:hover {
	opacity: .8;
}

#contacts .entry_item {
	padding: 20px 10px 20px 140px;
	margin: 0 10px 20px 10px;
	min-height: 100px;
	width: 150px;
}

#contacts .entry_thumbnail {
	margin: 0;
	top: 10px;
	left: 10px;
}

#contacts .entry_title {
	font-size: 18px;
	line-height: 20px;
}

#contacts .entry_position {
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0px;
}

#contacts .corner_stamp {
	width: 300px;
	min-height: 0;
}

#contacts .corner_stamp h3 {
	margin: 0;
	letter-spacing: 0px;
}

#contacts .entry_twitter a {
	padding: 0;
	line-height: 20px;
}

#contacts .entry_twitter a .icon {
  background-position: 0px -500px;
  width: 20px;
  height: 20px;
}

/* !3.7 Footer */

#page_footer .container{
	background: url(../images/footer_bg.png) 50px 70px no-repeat;
	padding: 100px 0;
	position: relative;
}

#page_footer .container p {
	margin: 0;
}

#page_footer p.credits_org, #page_footer p.credits_web {
	width: 180px;
	margin: 0 0 40px 320px;
}

.credits_org {
	font-size: 18px;
	font-weight: 700;
}

.credits_hosting, .credits_logo, .credits_media, .credits_ldw {
	width: 140px;
	position: absolute;
	top: 160px;
}

.credits_hosting {
	left: 640px;
}

.credits_logo {
	left: 800px;
}

.credits-quodis-logo {
	background: url(../images/brand_quodis.png) top left no-repeat;
	display: block;
	width: 102px;
	height: 26px;
}

.credits_media {
  left: 454px;
}
.credits_ldw {
  left: 583px;
}

.credits-rtp-logo {
	background: url(../images/brand_rtp.png) top left no-repeat;
	display: block;
	width: 90px;
	height: 90px;
  margin-top: 3px;
  margin-left: 10px;
}

.credits-ldw-logo {
	background: url(../images/lisbon_digital_week.png) top left no-repeat;
	display: block;
	width: 180px;
	height: 34px;
  margin-top: 3px;
  margin-left: 10px;
}

/* !3.8 Information */

#info_nav {
	width: 220px;
	margin: 0 0 20px 0;
	float: left;
}

#info_nav li a {
	background: url(../images/info_nav_bg.png) 196px 0px no-repeat;
	display:block;
	text-decoration: none;
	font-size: 24px;
	font-weight: 700;
	line-height: 40px;
	letter-spacing: -1px;
	-webkit-transition: color .2s ease;
	   -moz-transition: color .2s ease;
	    -ms-transition: color .2s ease;
	     -o-transition: color .2s ease;
	        transition: color .2s ease;
}

#info_nav li a:hover {
	opacity: 1;
	color: #BBE0EF;
}

#info_nav li:first-child a {
	padding: 40px 0 0 0;
}

#info_nav li:last-child a {
	padding: 0 0 40px 0;
}

#info_nav li a.active {
	
	color: #BBE0EF;
	background: url(../images/info_nav_bg.png) 196px -100px no-repeat;
}

#info_nav li:first-child a.active {
	background: url(../images/info_nav_bg.png) 196px -60px no-repeat;
}

#information .panel {
	width: 700px;
	float: right;
	display: none;
}

.map {
	background-color: #D2EAF4;
	border: 10px solid;
	border-color: #509ECF #FFF #FFF #509ECF;
	width: 440px;
	height: 360px;
	margin: 0 0 20px 0;
}

#information address {
	font-style: normal;
	margin: 0 0 20px 0;
}

#information dt {
	font-size: 14px;
	margin: 0 10px 0 0;
}

#information dt.row {
	float: left;
}

#information dd {
	margin: 0;
}

.wireless {
	background: url(../images/extra_icons_bg.png) 0px -38px no-repeat;
	display: inline-block;
	width: 16px;
	height: 15px;
	text-indent: -200px;
	overflow: hidden;
}

#information .border_list {
	list-style: none;
	margin: 0 0 20px 0;
}

#information .border_list > li {
	background: url(../images/place_list_bg.png) bottom left no-repeat;
	padding: 0 0 1px 0;
	margin: 0 0 20px 0;
}

#information .border_list > li:last-child {
	background: none;
}

#information .border_list li h3 {
	margin: 0;
}

#information .border_list li h3 a {
	text-decoration: none;
}

p.dropcap::first-letter {
	font-size: 40px;
	line-height: 40px;
	float: left;
	margin: 0 10px 0 0;
	text-transform: uppercase;
	display: inline; 
	font-weight: 700;
}

.meta {
	font-size: 15px;
	font-style: italic;
}

.alt .external_link {
	background: url(../images/extra_icons_bg.png) right 8px no-repeat;
	padding: 0 30px 0 0;
	text-decoration: none;
}	

/* 4. State
------------------------------------------------------------------ */



/* 5. Modals
------------------------------------------------------------------ */

.hide {
	display: none;
}

.fade {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.15s linear;
     -moz-transition: opacity 0.15s linear;
      -ms-transition: opacity 0.15s linear;
       -o-transition: opacity 0.15s linear;
          transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
  filter: alpha(opacity=100);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #012033;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
  opacity: 0.8;
  filter: alpha(opacity=80);
}

.modal {
  color: #284F68;
  font-size: 14px;
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 1050;
  width: 700px;
  margin: -250px 0 0 -350px;
  overflow: auto;
  background-color: #ffffff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding-box;
  background-clip: padding-box;
}

.modal.fade {
  top: -25%;
  -webkit-transition: opacity 0.3s linear, top 0.3s ease-out;
     -moz-transition: opacity 0.3s linear, top 0.3s ease-out;
      -ms-transition: opacity 0.3s linear, top 0.3s ease-out;
       -o-transition: opacity 0.3s linear, top 0.3s ease-out;
          transition: opacity 0.3s linear, top 0.3s ease-out;
}

.modal.fade.in {
  top: 50%;
}

.modal-header {
  padding: 40px 100px 0px 40px;
  position: relative;
}

.modal-header h2 {
  margin: 0;
}


.modal_header .close {
  background: url(../images/modal_close_bg.png) top left no-repeat;
  position: absolute;
  top: 44px;
  right: 40px;
  padding: 0;
  width: 18px;
  height: 18px;
  text-indent: -200px;
}

.modal_description {
  color: #3791C9;
  font-size: 16px;
}

.modal_body {
  max-height: 400px;
  padding: 0 40px 40px 40px;
}

.modal_body h3 {
  color: #284F68;
}

.modal_body ul {
  list-style: disc;
}

.modal-form {
  margin-bottom: 0;
}

.modal-footer {
  padding: 14px 15px 15px;
  margin-bottom: 0;
  text-align: right;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  -webkit-border-radius: 0 0 6px 6px;
     -moz-border-radius: 0 0 6px 6px;
          border-radius: 0 0 6px 6px;
  *zoom: 1;
  -webkit-box-shadow: inset 0 1px 0 #ffffff;
     -moz-box-shadow: inset 0 1px 0 #ffffff;
          box-shadow: inset 0 1px 0 #ffffff;
}

.modal-footer:before,
.modal-footer:after {
  display: table;
  content: "";
}

.modal-footer:after {
  clear: both;
}

.modal-footer .btn + .btn {
  margin-bottom: 0;
  margin-left: 5px;
}

.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}


/* 6. Carousel
------------------------------------------------------------------ */

.carousel {
  background-color: #D2EAF4;
  border: 10px solid;
  border-color: #509ECF #FFF #FFF #509ECF;
  width: 440px;
  margin: 0 0 20px 0;
  position: relative;
  line-height: 1;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel .item {
  position: relative;
  display: none;
  -webkit-transition: 0.6s ease-in-out left;
     -moz-transition: 0.6s ease-in-out left;
      -ms-transition: 0.6s ease-in-out left;
       -o-transition: 0.6s ease-in-out left;
          transition: 0.6s ease-in-out left;
}

.carousel .item > img {
  display: block;
  line-height: 1;
}

.carousel .active,
.carousel .next,
.carousel .prev {
  display: block;
}

.carousel .active {
  left: 0;
}

.carousel .next,
.carousel .prev {
  position: absolute;
  top: 0;
  width: 100%;
}

.carousel .next {
  left: 100%;
}

.carousel .prev {
  left: -100%;
}

.carousel .next.left,
.carousel .prev.right {
  left: 0;
}

.carousel .active.left {
  left: -100%;
}

.carousel .active.right {
  left: 100%;
}

.carousel-control {
  background: url(../images/caroussel_nav_bg.png) top left no-repeat;
  position: absolute;
  top: 50%;
  left: 15px;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  line-height: 30px;
  color: #ffffff;
  text-align: center;
  opacity: 0.5;
  filter: alpha(opacity=50);
  overflow: hidden;
  text-indent: -40px;
}

.carousel-control.right {
  background: url(../images/caroussel_nav_bg.png) bottom left no-repeat;
  right: 15px;
  left: auto;
}

.carousel-control:hover {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
  filter: alpha(opacity=90);
}

.carousel-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px 15px 5px;
  background: #333333;
  background: rgba(0, 0, 0, 0.75);
}

.carousel-caption h4,
.carousel-caption p {
  color: #ffffff;
}


/* 7. Transitions
------------------------------------------------------------------ */
a {
/* keep this off because of the flickering bug on the top menu */
/*	-webkit-transform: translateZ(0);*/
	-webkit-transition: .2s ease;
	   -moz-transition: .2s ease;
	    -ms-transition: .2s ease;
	     -o-transition: .2s ease;
	        transition: .2s ease;
}

a.no-transition {
	-webkit-transition: none;
	   -moz-transition: none;
	    -ms-transition: none;
	     -o-transition: none;
	        transition: none;
}

.spin {
	-webkit-transition: -webkit-transform 0.4s ease-out;
		  -moz-transition: -moz-transform 0.4s ease-out;
		    -ms-transition: -ms-transform 0.4s ease-out;
		      -o-transition: -o-transform 0.4s ease-out;
		            transition: transform 0.4s ease-out;
}

*:hover > .spin {
	/*-webkit-transform: translateZ(0);*/
	-webkit-transform: rotateZ(360deg);
       -moz-transform: rotateZ(360deg);
        -ms-transform: rotateZ(360deg);
         -o-transform: rotateZ(360deg);
            transform: rotateZ(360deg);
}

.panel {
	position: relative;
}

.panel a:hover {
	opacity: 1;
}

.panel .front {
	float: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 400;
	width: inherit;
	height: inherit;
	
	-webkit-transform: rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;

	-moz-transform: rotateY(0deg);
	-moz-transform-style: preserve-3d;
	-moz-backface-visibility: hidden;

	/* -- transition is the magic sauce for animation -- */
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

.panel.flip .front {
	z-index: 400;
	border-color: #eee;

	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
}

.panel .back {
	float: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 300;
	width: inherit;
	height: inherit;
	
	-webkit-transform: rotateY(-180deg);
	-webkit-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;

	-moz-transform: rotateY(-180deg);
	-moz-transform-style: preserve-3d;
	-moz-backface-visibility: hidden;

	/* -- transition is the magic sauce for animation -- */
	-o-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-webkit-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}

.panel.flip .back {
	z-index: 500;
	
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
}

/* -- diagonal axis rotation -- */
.diagonal .front {
	-webkit-transform: rotate3d(45,45,0,0deg);
	-moz-transform: rotate3d(45,45,0,0deg);
}
.diagonal.flip .front {
	-webkit-transform: rotate3d(45,45,0,180deg);
	-moz-transform: rotate3d(45,45,0,180deg);
}
.diagonal .back {
	-webkit-transform: rotate3d(45,45,0,-180deg);
	-moz-transform: rotate3d(45,45,0,-180deg);
}
.diagonal.flip .back {
	-webkit-transform: rotate3d(45,45,0,0deg);
	-moz-transform: rotate3d(45,45,0,0deg);
}
