div#container
{
   width: 970px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}

#modal .modal-content
{
   background-color: #FFFFFF;
   background-image: none;
   border: 1px solid #CCCCCC;
   border-radius: 6px;
   box-shadow: 0px 3px 9px rgba(0,0,0,0.50);
   margin: 0;
   overflow: visible;
}
#modal.fade
{
   opacity: 1;
   transition: all 500ms linear;
}
#modal .animate-show
{
   /*animation-duration: 500ms;
   animation-fill-mode: both;
   animation-name: transform-bounce;*/
}
#modal .animate-hide
{
   /*animation-duration: 500ms;
   animation-fill-mode: both;
   animation-name: transform-bounce;
   animation-direction: reverse;*/
}
#modal.modal
{
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 9999;
   display: none;
   overflow: hidden;
   -webkit-overflow-scrolling: touch;
   outline: 0;
}
#modal .modal-open .modal
{
   overflow-x: hidden;
   overflow-y: auto;
}
#modal .modal-open
{
   overflow: hidden;
}
#modal .modal-dialog
{
   position: relative;
   width: 343px;
   margin-left: auto;
   margin-right: auto;
}
#modal .modal-content
{
   position: relative;
   -webkit-background-clip: padding-box;
   background-clip: padding-box;
   outline: 0;
}
#modal .modal-header
{
   min-height: 16px;
   padding: 15px 15px 15px 15px;
   border-bottom: 1px solid #CCCCCC;
}
#modal .modal-footer
{
   padding: 15px 15px 15px 15px;
   border-top: 1px solid #CCCCCC;
}
#modal .modal-body
{
   position: relative;
   width: 450px;
   height: auto;
}
#modal .close
{
   float: right;
   font-size: 21px;
   font-weight: 700;
   line-height: 1;
   color: #000;
   text-shadow: 0px 1px 0px #fff;
   opacity: 0.5;
   -webkit-appearance: none;
   padding: 15px 15px 0 0;
   cursor: pointer;
   background: 0 0;
   border: 0;
   margin-top: -2px;
}
.modal-backdrop
{
   position: fixed;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   z-index: 1040;
   background-color: #000;
}
.modal-backdrop.fade
{
   opacity: 0;
   /*transition: opacity .15s linear;*/
}
.modal-backdrop.show
{
   opacity: 0.5 !important;
}
.modal-open
{
   overflow: hidden;
}
#modal .modal-content
{
   margin: 0;
   pointer-events: all;
}
#modal .modal-title
{
   color: #CCCCCC;
   font-size: 16px;
   font-weight: 500;
   margin: 0;
}
#modal .modal-dialog
{
   justify-content: center;
   display: flex;
   align-items: center;
   pointer-events: none;
}
#modal .modal-dialog::before
{
   display: block;
   height: calc(100vh);
   content: "";
}