.angularbox-style {
  position: relative;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  height: 100%;
  padding: 5%;
  font-family: sans-serif;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.9);
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 250ms linear;
  -moz-transition: opacity 250ms linear;
  -ms-transition: opacity 250ms linear;
  -o-transition: opacity 250ms linear;
  transition: opacity 250ms linear; }

.angularbox-style.hidden {
  opacity: 0;
  visibility: hidden; }

.angularbox-style.fadeout {
  opacity: 0; }

.angularbox-style figure {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  letter-spacing: -0.33em;
  text-align: center;
  cursor: pointer; }

.angularbox-style figure:before {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  content: ''; }

.angularbox-style figure img {
  position: relative;
  z-index: 1101;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  vertical-align: middle;
  cursor: default;
  opacity: 0;
  box-shadow: 0 0 5px black; }

.angularbox-style figure img.loaded {
  opacity: 1; }

.angularbox-style figure figcaption {
  margin-top: 1em;
  letter-spacing: normal; }

.angularbox-style figure figcaption span {
  display: inline-block;
  font-size: 100%;
  cursor: default; }

.angularbox-style figcaption span, .angularbox-style button {
  display: inline-block;
  color: white;
  background-color: rgba(0, 0, 0, 0.9);
  border-radius: .25em; }

.angularbox-style figcaption span {
  position: relative;
  z-index: 1102;
  padding: .75em 1em; }

.angularbox-style button {
  position: relative;
  position: fixed;
  z-index: 1102;
  width: 2em;
  height: 2em;
  padding: .4em 0 .6em 0;
  font-size: 100%;
  font-weight: bold;
  line-height: 1em;
  text-align: center;
  cursor: pointer;
  background: 0;
  border: 0;
  opacity: .8;
  -webkit-transition: all 100ms linear;
  -moz-transition: all 100ms linear;
  -ms-transition: all 100ms linear;
  -o-transition: all 100ms linear;
  transition: all 100ms linear; }

.angularbox-style button:hover {
  opacity: 1; }

.angularbox-style button.prev, .angularbox-style button.next {
  top: 50%;
  margin-top: -1em;
  font-size: 2em;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  opacity: 1; }

.angularbox-style button.prev:hover, .angularbox-style button.next:hover {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.4); }

.angularbox-style button.close {
  top: 1em;
  background: 0; }

.angularbox-style button.prev {
  left: 1em; }

.angularbox-style button.next, .angularbox-style button.close {
  right: 1em; }


.modal-backdrop.in {
  opacity: 0.85; }

[class*="modal-"] .close {
  color: inherit;
  opacity: 1; }

.modal-dialog.modal-xl {
  width: 100%;
  margin: 10px auto; }

@media only screen and (min-width: 600px) {
  .modal-dialog.modal-xl {
    width: 90%; } }

@media only screen and (min-width: 768px) {
  .modal-dialog.modal-xl {
    width: 95%; } }

h4.modal-title > span {
  color: white; }

.modal-fullscreen {
  width: auto;
  margin: 10px; }

.modal-fullscreen > .modal-content {
  position: relative;
  background-color: transparent;
  color: #ffffff;
  border: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none; }

.modal-header > button.close {
  font-size: 28px;
  font-weight: 400; }


