/* Make the image fully responsive */
.carousel{
	ride: false;
}
.modal {
	width: 100%;
}
.modal-lg {
          width: 200%; 
        }

.carousel-item img-fluid {
  height: 100vw;
  -o-object-fit: cover;
     object-fit: cover;
}
/*.carousel-item img {
  width:50%;
  height:auto;
}*/
.full_modal-dialog {
	
  width: 80vw ;
  height: 80vh ;
  min-width: 80% ;
  min-height: 80% ;
  max-width: 80% ;
  max-height: 80% ;
  
}

/*.full_modal-content {
display:inline-block;
  height: 80% ;
	width: 80%;
  min-height: 99% ;
  max-height: 100% ;
}*/
/*.carousel-inner img{
	height: 50%;
	width: 50%;
}*/


.modal {
	
    display:none;
	position: fixed ;
	/*left: 10%;*/
    top: 5%; 
	width: 100%;
	height: 100%;
	overflow: visible;
	background-color: rgba(0,0,0,0.7);
        }
.modal-content{
	margin-top: 10px;
	position: relative;
	display: flex;
	flex-direction: column;
	pointer-events: auto;
	outline: 0;
	width: 100%;
	height: 100%;
}
/*modal-lg, .modal-xl {
    max-width: 70%;*/

.portrait-image{
	display: block;
    margin: auto;
    height: 100%;
    width: 100%;
    max-height: 80vh;
    max-width: 100vh;
    object-fit: contain; /*// this will fill the view window without losing aspect ratio.
    */
	/*height: 80%;*/
}
.landscape-image{
	/*width: 80%;*/
	display: block;
  	margin: auto;
	height: 100%;
    width: 100%;
    max-height: 80vh;
    max-width: 100vh;
    object-fit: contain;
}
.modal-body{
	/*height:100%;*/
	background-color: black;
}
.modal-footer{
	background-color: black;
}
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 40%;
    color: #fff;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}
.carousel-control-prev {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: left;
  align-items: center;
  -ms-flex-pack: left;
  justify-content: center;
  width: 30%;
  color: #fff;
  text-align: left;
  opacity: 0.3;
  transition: opacity 0.15s ease;
}

.carousel-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: right;
  align-items: center;
  -ms-flex-pack: right;
  justify-content: center;
  width: 30%;
  color: #fff;
  text-align: right;
  opacity: 0.3;
  transition: opacity 0.15s ease;
}
///*.carousel-caption {
//  position: absolute;
//  right: 15%;
//  bottom: 20px;
//  left: 15%;
//  z-index: 10;
//  padding-top: 20px;
//  padding-bottom: 20px;
//  
//  text-align: center;
//  
//  color: #FFFFFF;
//background: #FFFFFF;
//text-shadow: 3px 1px 2px black;
//
//}
//.carousel-caption h3  {
//  position: absolute;
//  right: 15%;
//  bottom: 20px;
//  left: 15%;
//  z-index: 10;
//  padding-top: 20px;
//  padding-bottom: 20px;
//  
//  text-align: center;
//  
//  color: #FFFFFF;
//background: #FFFFFF;
//text-shadow: 3px 1px 2px black;
//
//}*/