/*!
 * Bootstrap Modal
 *
 * Copyright Jordan Schroter
 * Licensed under the Apache License v2.0
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Boostrap 3 patch for for bootstrap-modal. Include BEFORE bootstrap-modal.css!
 */

body.modal-open, 
.modal-open .navbar-fixed-top, 
.modal-open .navbar-fixed-bottom {
  margin-right: 0;
}

@media screen and (max-width: 414px) and (min-width: 320px) {
    .modal {
	  bottom: auto;
	  padding: 0;
	  width: 320px;
	  margin: 0 auto;
	  height: 100%;
      overflow: auto !important;
	  background-color: #ffffff;
	  border: 1px solid #999999;
	  border: 1px solid rgba(0, 0, 0, 0.2);
	  border-radius: 6px;
	  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	  background-clip: padding-box;
	}

	.modal.container {
	  max-width: none;
	}
}

@media screen and (max-width: 2048px) and (min-width: 768px) {
	.modal {
	  bottom: auto;
	  padding: 0;
	  width: 500px;
	  margin:0 auto;
	  background-color: #ffffff;
	  border: 1px solid #999999;
	  border: 1px solid rgba(0, 0, 0, 0.2);
	  border-radius: 6px;
	  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	  background-clip: padding-box;
	}

	.modal.container {
	  max-width: none;
	}
}