
.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 */


.modal-open .popover {
  z-index: 9999999999999999999994;
  }

.modal-open .tooltip {
  z-index: 99999999999999991;
}

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

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

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

.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: 9999999999999993;
	overflow: auto;
	width: 60%;
	margin: -10% 0 0 -30%;
	background-color: #ffffff;
	border: 1px solid #999;
	border: 1px solid rgba(0, 0, 0, 0.3);
	*border: 1px solid #999;
	/* IE6-7 */
	
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding-box;
	background-clip: padding-box;
	}

.modal.fade {
  -webkit-transition: opacity .3s linear, top .3s ease-out;
  -moz-transition: opacity .3s linear, top .3s ease-out;
  -ms-transition: opacity .3s linear, top .3s ease-out;
  -o-transition: opacity .3s linear, top .3s ease-out;
  transition: opacity .3s linear, top .3s ease-out;
  top: -25%;
  }
.modal.fade.in {
  top: 50%;
  }
  
.modal-header {
  padding: 9px 15px;
  border-bottom: 1px solid #eee;
  }

.modal-header .close {
  margin-top: 2px;
  }

.modal-body {
  overflow-y: auto;
  padding-top: 20px;
  height: 200px;
  background-color: #fff;
  }

.modal-form {
  	margin-bottom: 0;
  	}
.modal-footer:before,
.modal-footer:after {
  	display: table;
  	content: "";
  	}

.modal-footer:after {
	clear: both;
	}
	
.modal-footer .btn + .btn {
  	margin-left: 5px;
  	margin-bottom: 0;
  	}
  	
.modal-footer .btn-group .btn + .btn {
  	margin-left: -1px;
  	}
	 
.modal-search {
  width: 350px;
  margin-left: auto;
  margin-right: auto;
  }




::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color:   #cccccc;
  }
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color:   #cccccc;
  opacity:  1;
  }
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color:   #cccccc;
  opacity:  1;
  }
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color:   #cccccc;
  }

.close {
	font-weight: 200 !important;
	font-size: 10px;
	margin-top: -5px;
	width: 50px;
	text-transform: uppercase;
	letter-spacing: 2px;
	float: right;
	border: none;
	background: none;
	}
	
	
@media (max-width: 766px) {

	.modal {
		width: 86%;	
		margin: -20% 0 0 -43%;
		}
		
	.modal-body {
	  height: 120px;
	  }
	  
	 .close {
		font-weight: 200 !important;
		font-size: 10px;
		margin-top: 0px;
		width: 40px;
		text-transform: uppercase;
		letter-spacing: 2px;
		float: right;
		border: none;
		background: none;
		}

	}