/*================================================
Popup Docs Area CSS
=================================================*/
.haine-modal.modal {
    overflow: auto;
}

.haine-modal.modal .modal-dialog {
    max-width: 950px;	
}

.haine-modal .modal-content .modal-header {
    display: block;
    padding: 1rem 1rem 1rem 1rem;
    border-bottom: 0;	
}

.haine-modal.modal .modal-header .close {
    padding: 0.5rem 1rem 0.5rem 1rem;
    background-color: #e51938;
    color: #fff;
    margin: 0px 10px;
    opacity: initial;
    line-height: 1;
    font-size: 16px;
	position: relative;
    bottom: 1px;
	float: none;
}

.haine-modal.modal .modal-header .stop {
    background-color: #222222;
    bottom: 2px;
}

.haine-modal.modal .modal-header .close span {
    font-size: 20px;
    font-weight: 600;
    position: relative;
    bottom: 1px;
    left: 1px;
    font-family: auto;
}

.haine-modal.modal .modal-header .stop span {
    font-size: 15px;
    bottom: 1px;
    font-family: inherit;
}

.haine-modal.modal .modal-header .close:hover {
    opacity: 0.7;
}

.haine-modal .modal-content .buttons button {
	border: none;
	background: transparent;
	padding: 0 10px;
	height: auto;
}

.haine-modal .modal-content .buttons button a {
	border-radius: 0;
	padding: 10px;
	display: inline-block;
	font-size: 16px;
    text-transform: none;
    line-height: 1;
}

.haine-modal .modal-content .buttons button a:hover {
	opacity: 0.7;
}

.haine-modal .modal-content .buttons {
	margin-top: 10px;
    margin-bottom: 10px;
}

.haine-modal .modal-content .buttons .btn-info {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
    box-shadow: none;
}

.haine-modal .modal-content .buttons button a:focus {
    box-shadow: none;
}

.haine-modal .modal-content .row {
	margin: 0;
}

.haine-modal .modal-content .row .col-md-12 {
	padding: 0;
}

/* Max width 767px */
@media only screen and (max-width: 767px) {
  .haine-modal .modal-content .row .col-lg-4.col-md-12 {
	margin-top: 15px;
  }
  .haine-modal.modal .modal-header .close {
	float: left;	
  }
  .haine-modal .modal-content .buttons button {
    margin-bottom: 10px;
  }
  .haine-modal .modal-content .buttons .col-lg-8 button:last-child {
    margin-bottom: 0px;
  }	
}

/* Min width 768px to Max width 991px */
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .haine-modal.modal .modal-dialog {
    max-width: 700px;
  }
  .haine-modal .modal-content .row .col-lg-4.col-md-12 {
	margin-top: 30px;
  }
  .haine-modal.modal .modal-header .close {
	float: left;	
  }	
}

/* Min width 992px to Max width 1199px */
@media only screen and (min-width: 992px) and (max-width: 1199px) { 
  .haine-modal.modal .modal-dialog {
    max-width: 900px;
  }
  .haine-modal .modal-content .buttons button a {
    font-size: 15px;
  }	
}
