﻿/*!
 * Bootstrap Modal
 *
 * Copyright Jordan Schroter
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 */

.modal-open { overflow: hidden; }


/* add a scroll bar to stop page from jerking around */

.modal-open.page-overflow .page-container,
.modal-open.page-overflow .page-container .navbar-fixed-top,
.modal-open.page-overflow .page-container .navbar-fixed-bottom,
.modal-open.page-overflow .modal-scrollable { overflow-y: scroll; }

@media (max-width: 979px) {
	.modal-open.page-overflow .page-container .navbar-fixed-top,
	.modal-open.page-overflow .page-container .navbar-fixed-bottom { overflow-y: visible; }
}


.modal-scrollable {
	bottom: 0;
	left: 0;
	overflow: auto;
	position: fixed;
	right: 0;
	top: 0;
}

.modal {
	margin-top: 0;
	outline: none;
	overflow: visible; /* allow content to popup out (i.e tooltips) */
	position: absolute;
	top: 50%;
}

.modal.fade {
	-moz-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
	-o-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
	-webkit-transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
	top: -100%;
	transition: opacity 0.3s linear, top 0.3s ease-out, bottom 0.3s ease-out, margin-top 0.3s ease-out;
}

.modal.fade.in { top: 50%; }

.modal-body {
	max-height: none;
	overflow: visible;
}

.modal.modal-absolute {
	position: absolute;
	z-index: 950;
}

.modal .loading-mask {
	background: #fff;
	border-radius: 6px;
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.modal-backdrop.modal-absolute {
	position: absolute;
	z-index: 940;
}

.modal-backdrop,
.modal-backdrop.fade.in {
	background: #fff;
	filter: alpha(opacity=70);
	opacity: 0.7;
}

.modal.container {
	margin-left: -470px;
	width: 940px;
}

/* Modal Overflow */

.modal-overflow.modal { top: 1%; }

.modal-overflow.modal.fade { top: -100%; }

.modal-overflow.modal.fade.in { top: 1%; }

.modal-overflow .modal-body {
	-webkit-overflow-scrolling: touch;
	overflow: auto;
}

/* Responsive */

@media (min-width: 1200px) {
	.modal.container {
		margin-left: -585px;
		width: 1170px;
	}
}

@media (max-width: 979px) {
	.modal,
	.modal.container,
	.modal.modal-overflow {
		bottom: auto;
		height: auto !important;
		left: 1%;
		margin: 0 !important;
		padding: 0 !important;
		right: 1%;
		top: 1%;
		width: auto !important;
	}

	.modal.fade.in,
	.modal.container.fade.in,
	.modal.modal-overflow.fade.in {
		bottom: auto;
		top: 1%;
	}

	.modal-body,
	.modal-overflow .modal-body {
		height: auto !important;
		margin: 0;
		max-height: none !important;
		overflow: visible !important;
		position: static;
	}

	.modal-footer,
	.modal-overflow .modal-footer { position: static; }
}

.loading-spinner {
	left: 50%;
	margin: -12px 0 0 -12px;
	position: absolute;
	top: 50%;
}

/*
Animate.css - http://daneden.me/animate
Licensed under the â˜º license (http://licence.visualidiot.com/)

Copyright (c) 2012 Dan Eden*/

.animated {
	-moz-animation-duration: 1s;
	-moz-animation-fill-mode: both;
	-o-animation-duration: 1s;
	-o-animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-duration: 1s;
	animation-fill-mode: both;
}

@-webkit-keyframes shake {
	0%, 100% { -webkit-transform: translateX(0); }

	10%, 30%, 50%, 70%, 90% { -webkit-transform: translateX(-10px); }

	20%, 40%, 60%, 80% { -webkit-transform: translateX(10px); }
}

@-moz-keyframes shake {
	0%, 100% { -moz-transform: translateX(0); }

	10%, 30%, 50%, 70%, 90% { -moz-transform: translateX(-10px); }

	20%, 40%, 60%, 80% { -moz-transform: translateX(10px); }
}

@-o-keyframes shake {
	0%, 100% { -o-transform: translateX(0); }

	10%, 30%, 50%, 70%, 90% { -o-transform: translateX(-10px); }

	20%, 40%, 60%, 80% { -o-transform: translateX(10px); }
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }

	10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }

	20%, 40%, 60%, 80% { transform: translateX(10px); }
}

.shake {
	-moz-animation-name: shake;
	-o-animation-name: shake;
	-webkit-animation-name: shake;
	animation-name: shake;
}