/* .modal-open      - body class for killing the scroll
// .modal           - container to scroll within
// .modal-dialog    - positioning shell for the actual modal
// .modal-content   - actual modal w/ bg and corners and stuff */

/* */
.modal-open {
  
}
.projectBtn a {display: inline-block;*display: inline;margin: 0 ;padding: 1px 12px !important;height: 33px !important;overflow: visible;border: 1px solid #6b9039;border-radius: 3px;text-decoration: none !important;text-align: center;vertical-align: top;line-height: 30px !important;font-family: inherit; font-size: 14px; color: #fff;*zoom: 1;cursor: pointer; background-color: #7bbe21;}
.projectBtn a:hover   { color:#fff; background-color: #70a628; text-decoration:none;}

.section2{ margin-bottom:50px;}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: block;
  overflow: hidden;
  outline: 0;
   background-color: rgba(0, 0, 0, 0.9);

  // We deliberately don't use `-webkit-overflow-scrolling: touch;` due to a
  // gnarly iOS Safari bug: https://bugs.webkit.org/show_bug.cgi?id=158342
  // See also https://github.com/twbs/bootstrap/issues/17695

  }
/* 
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
opacity : 0.9;
                 filter: alpha(opacity=90);
                 -moz-opacity:0.9;
                 -khtml-opacity: 0.9;
*/
.modalNav { height:100%;  position: fixed;  border-left:1px solid #333; width:60px; right:0; z-index:15; }
.modalNav span { width:60px; height:60px; border-bottom:1px solid #333;  cursor:pointer; display:block; color:#aaa; font-size:50px; line-height:60px; text-align:center; }
.modalNavE { border-left:1px solid #333; border-bottom:1px solid #333; position: fixed; width:60px; right:0; z-index:15; }
.modalNavE span { width:60px; height:60px; cursor:pointer;  display:block; color:#aaa; font-size:50px; line-height:60px; text-align:center;}
.modalNav span:hover, .modalNavE span:hover { color:#fff;}




.modal-content {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;  
  z-index: 11;
  display: flex;
  flex-direction: column; 

				 
  outline: 0;
}
.backdrop {
  position: fixed; 
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; 
}

// Modal header
// Top section of the modal w/ title and dismiss
.modal-header {
  display: flex;
  align-items: center; // vertically center it
  justify-content: space-between; // Put modal header elements (title and dismiss) on opposite ends
  padding: $modal-header-padding;
  border-bottom: $modal-header-border-width solid $modal-header-border-color;
}

// Title text within header
.modal-title {
  margin-bottom: 0;
  line-height: $modal-title-line-height;
}

// Modal body
// Where all modal content resides (sibling of .modal-header and .modal-footer)
.modal-body {
  position: relative;
  // Enable `flex-grow: 1` so that the body take up as much space as possible
  // when should there be a fixed height on `.modal-dialog`.
  flex: 1 1 auto;
  padding: $modal-inner-padding;
}

// Footer (for actions)
.modal-footer {
  display: flex;
  align-items: center; // vertically center
  justify-content: flex-end; // Right align buttons with flex property because text-align doesn't work on flex items
  padding: $modal-inner-padding;
  border-top: $modal-footer-border-width solid $modal-footer-border-color;

  // Easily place margin between footer elements
  > :not(:first-child) { margin-left: .25rem; }
  > :not(:last-child) { margin-right: .25rem; }
}

// Measure scrollbar width for padding body during modal show/hide
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

// Scale up the modal
@include media-breakpoint-up(sm) {
  // Automatically set modal's width for larger viewports
  .modal-dialog {
    max-width: $modal-md;
    margin: $modal-dialog-sm-up-margin-y auto;
  }

  .modal-content {
    @include box-shadow($modal-content-sm-up-box-shadow);
  }

  .modal-sm { max-width: $modal-sm; }
}

@media (max-width: 1100px) {
	.modalNav, .modalNavE { width:80px; }
  .modalNav span, .modalNavE span { width:80px; line-height:80px; height:80px; background:#000; font-size:60px; }
}
