/* 2016 Modal Style based on bootstrap 3.3.7 */

.modal {
	display: none;
	position: fixed;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
}

.modal h2, h3 {
	margin: 1em 0;
}

.modal p {
	margin: 1em 0;
}

.modal p a {
	color: rgba(63, 197, 165, 0.7);
	transition: background-color 0.3s, color 0.3s, border 0.3s;
	border: none;
}

.modal p a:hover {
	color: rgba(63, 197, 165, 1);
}

.modal-dialog {
	max-width: 400px;
	margin: 5% auto;
	padding: 20px 50px 40px;
	background: #191d22 none repeat scroll 0 0;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
	box-sizing: border-box;
}

.modal-dialog .btn {
    display: inline-block;
    margin-top: 10px;
    min-width: auto;
}

.modal-content {
	color: #ffffff;
	position: relative;
}

.modal-header .close {
	background: rgba(0, 0, 0, 0) url("../img/form-remove.png") no-repeat scroll 0 0;
    border: medium none;
    display: block;
    height: 17px;
    position: absolute;
    right: -25px;
    top: -25px;
    width: 17px;
    cursor: pointer;
}

.modal-title {

}

.modal-body {
	margin-top: 20px;
	color: #fff;
}

.modal-footer {
	margin-top: 20px;
}

.modal-footer button,
.modal-footer input,
.modal-footer a {
	margin-right: 5px;
}

.modal-footer button:last-of-type,
.modal-footer input:last-of-type,
.modal-footer a:last-of-type {
	margin-right: 5px;
}

.modal-backdrop {
	position: fixed;
	display: block;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 10;
	opacity: 0.75;
	background: #000 none repeat scroll 0 0;
}

.modal-backdrop.transparent {
	background: none!important;
	opacity: 0;
}

/* Bootstrap v3.3.7 modal styles */
.fade {
  opacity: 0;
  -webkit-transition: opacity .15s linear;
       -o-transition: opacity .15s linear;
          transition: opacity .15s linear;
}

.fade.in {
  opacity: 1;
}

.modal.fade .modal-dialog {
  -webkit-transition: -webkit-transform .3s ease-out;
       -o-transition:      -o-transform .3s ease-out;
          transition:         transform .3s ease-out;
  -webkit-transform: translate(0, -2%);
      -ms-transform: translate(0, -2%);
       -o-transform: translate(0, -2%);
          transform: translate(0, -2%);
}

.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
      -ms-transform: translate(0, 0);
       -o-transform: translate(0, 0);
          transform: translate(0, 0);
}

.modal-backdrop.fade {
  filter: alpha(opacity=0);
  opacity: 0;
}

.modal-backdrop.in {
  filter: alpha(opacity=50);
  opacity: .5;
}

/* Borrowed and modified filters from public-site main.css */
body.modal-open {

}

body.modal-open > div  {
	-webkit-filter: blur(5px);
	-moz-filter: blur(5px);
	-o-filter: blur(5px);
	-ms-filter: blur(5px);
	filter: blur(5px);
	filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='5');
}

body.modal-open > div.modal {
	-webkit-filter: none;
	-moz-filter: none;
	-o-filter: none;
	-ms-filter: none;
	filter: none;
}

body.modal-open .main-container {
	background: #fff;
}
