
/**
 * EV Branded Assets v0.1
 *
 * Branded Parts of every drupal theme we start working with
 *
 * 1 - Ajax Loading Animation
 *
 * 2 - Drupal Messages
 *
 * 3 - Node Edit Tabs
 *
 * 4 - Contextual Links
 *
 * ----------------------------------------------------------------------------
 */

/**
 * 1 - Ajax Loading Animation
 * ----------------------------------------------------------------------------
 */

.ajax-progress {
	display: block;
	position: relative;
	margin: 5px auto;
	height: 0px;
	overflow: visible;
}

/* Spinner Animation */
.ajax-progress .throbber {
	width: 8px;
	height: 40px;
	background: #333;
	position: absolute;
	top: 0;
	left: 50%;
	left: calc(50% - 15px);
	-webkit-animation: spinner-middle 1s ease infinite;
	animation: spinner-middle 1s ease infinite;
}

.ajax-progress .throbber:before,
.ajax-progress .throbber:after {
	content: '';
	display: block;
	width: 8px;
	height: 40px;
	position: absolute;
	top: 0;
}

.ajax-progress .throbber:before {
	background: #a24d41;
	left: -8px;
	-webkit-animation: spinner-first 1s ease infinite;
	animation: spinner-first 1s ease infinite;
}

.ajax-progress .throbber:after {
	background: #7a8166;
	right: -8px;
	-webkit-animation: spinner-last 1s ease infinite;
	animation: spinner-last 1s ease infinite;
}

@keyframes spinner-first {
  0% { height: 10px; }
  33% { height: 25px; }
  66% { height: 10px; }
  100% { height: 10px; }
}

@keyframes spinner-middle {
  0% { height: 10px; }
  16.5% { height: 10px; }
  50% { height: 25px; }
  83.5% { height: 10px; }
  100% { height: 10px; }
}

@keyframes spinner-last {
  0% { height: 10px; }
  33% { height: 10px; }
  66% { height: 25px; }
  100% { height: 10px; }
}

@-webkit-keyframes spinner-first {
  0% { height: 10px; }
  33% { height: 25px; }
  66% { height: 10px; }
  100% { height: 10px; }
}

@-webkit-keyframes spinner-middle {
  0% { height: 10px; }
  16.5% { height: 10px; }
  50% { height: 25px; }
  83.5% { height: 10px; }
  100% { height: 10px; }
}

@-webkit-keyframes spinner-last {
  0% { height: 10px; }
  33% { height: 10px; }
  66% { height: 25px; }
  100% { height: 10px; }
}


/**
 * 2 - Drupal Messages
 * ----------------------------------------------------------------------------
 */

#messages {
	margin: 0;
	width: 100%;
	font-family: 'proxima-nova', Verdana, Helvetica, sans-serif;
	z-index: 500;
}

div.messages {
	color: #fff;
	margin: 0;
	border: none;
	min-height: 50px;
	padding: 15px 10px 10px 55px;
	background-size: 50px 50px !important;
}

div.messages em {
	font-weight: bold;
	font-style: normal;
}

div.messages a {
	color: #eee;
	text-decoration: none;
	text-decoration: underline \0/;
	box-shadow: inset 0 -1px 0 0;
	-webkit-transition: .2s ease;
	transition: .2s ease;
}

div.messages a:hover {
	color: #fff;
	text-decoration: none;
	text-decoration: underline \0/;
	box-shadow: inset 0 -1px 0 0 rgba(221, 221, 221, 0.75);
}

div.status {
	background: url(../img/status-background.svg) no-repeat #6bc661;
	background: url(../img/status-background.png) no-repeat #6bc661 \0/;
}

div.warning {
	background: url(../img/warning-background.svg) no-repeat #ffe255;
	background: url(../img/warning-background.png) no-repeat #ffe255 \0/;
	color: #333;
}

div.warning a {
	color: #555;
	box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.4);
	-webkit-transition: .2s ease;
	transition: .2s ease;
}

div.warning a:hover {
	color: #333;
	box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
}

div.error {
	background: url(../img/error-background.svg) no-repeat #fc3e35;
	background: url(../img/error-background.png) no-repeat #fc3e35 \0/;
} 

 /**
 * 3 - Node Edit Tabs
 * ----------------------------------------------------------------------------
 */

div.tabs {
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 90;
	margin-right: 0;
	-webkit-transition: .2s ease;
	transition: .2s ease;
}

.tabs.primary {
	border-bottom: none;
	margin: 0;
	text-align: right;
}

.tabs.primary li {
	display: inline-block;
}

.tabs.primary li a {
	display: inline-block;
	line-height: 22px;
	margin-top: 5px;
	border: none;
	border-bottom: none;
	background-color: #333;
	color: #fff;
	box-shadow: 0 0 0px 3px rgba(51, 51, 51, 0.4);
	-webkit-transition: .2s ease;
	transition: .2s ease;
}

.tabs.primary li.active a {
	border: none;
	border-bottom: none;
	background-color: #7a8166;
}

.tabs.primary li a:hover {
	background-color: #222;
	box-shadow: 0 0 0px 6px rgba(51, 51, 51, 0.4);
}

 /**
 * 4 - Contextual Links
 * ----------------------------------------------------------------------------
 */