
.modal-open {
  overflow: hidden;
}
.modal {
  display: none;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}
.modal.fade .modal-dialog {
  -webkit-transform: translate(0, -2%);
  -ms-transform: translate(0, -2%);
  -o-transform: translate(0, -2%);
  transform: translate(0, -2%);
  -webkit-transition: -webkit-transform 0.2s ease-out;
  -o-transition: -o-transform 0.2s ease-out;
  transition: -webkit-transform 0.2s ease-out;
  -o-transition: transform 0.2s ease-out, -o-transform 0.2s ease-out;
  transition: transform 0.2s ease-out;
  transition: transform 0.2s ease-out, -webkit-transform 0.2s ease-out, -o-transform 0.2s ease-out;
}
.modal.in .modal-dialog {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  -o-transform: translate(0, 0);
  transform: translate(0, 0);
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position:fixed;
  width: 600px;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: fit-content;  
} 
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
  filter: alpha(opacity=0);
}
.modal-backdrop.in {
  opacity: 0.5;
  filter: alpha(opacity=50);
}
.modal-header {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
}
.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer .btn + .btn {
  
}
.modal-footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  margin-left: 0;
}
.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}
  
  .modal-sm {
    width: 300px;
  }
 @media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}
.modal-content {
  box-shadow: 5px 5px 20px rgb(0 0 0 / 10%);
  overflow: hidden;
  background-color: #ffffff;
  color: #404040;
  border: none;
 }
.modal-header {
  border: 0;
  padding: 20px;
 }
.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5,
.modal-header h6 {
  display: block;
  margin: 0;
}
.modal-content .close {
  position: absolute;
  top:20px;
  right: 20px;
  font-size: 22px!important;
  opacity: 0.4;
  text-shadow: none;
}
.modal-content .close:hover {
  opacity: 0.8;
}
.modal-content .close:focus {
 outline: none;
}

.modal-body {
  padding: 0px 20px 30px;
}
.modal-body .row:last-child .form-group {
  margin-bottom: 0;
}
.modal-main-icon {
  display: inline-block;
  height: 45px;
  width: 45px;
  line-height: normal;
  font-size: 50px;
}
.modal-footer {
  padding: 0;
  border: none;
}
.modal-full-color .modal-header {
  padding: 19px;
}
.modal-full-color .modal-content {
  color: #ffffff;
  background-color: transparent;
}
.modal-full-color .modal-content .close {
  color: #ffffff;
  line-height: 40px;
  opacity: 0.6;
}
.modal-full-color .modal-content .close:hover {
  opacity: 1;
}
.modal-full-color .modal-content .modal-footer {
  border: none;
}
.modal-full-color .btn-default {
  border-width: 2px;
  border-color: transparent;
}
.modal-full-color .btn-primary,
.modal-full-color .btn-success,
.modal-full-color .btn-warning,
.modal-full-color .btn-danger {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  border-width: 2px;
}
.modal-full-color .btn-primary:focus,
.modal-full-color .btn-success:focus,
.modal-full-color .btn-warning:focus,
.modal-full-color .btn-danger:focus {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}
.modal-full-color .btn-primary:hover,
.modal-full-color .btn-success:hover,
.modal-full-color .btn-warning:hover,
.modal-full-color .btn-danger:hover,
.modal-full-color .btn-primary .hover,
.modal-full-color .btn-success .hover,
.modal-full-color .btn-warning .hover,
.modal-full-color .btn-danger .hover {
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}
.modal-full-color .btn-primary:active,
.modal-full-color .btn-success:active,
.modal-full-color .btn-warning:active,
.modal-full-color .btn-danger:active {
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
}
.modal-full-color-success .modal-header {
  background-color: #37b358;
}
.modal-full-color-success .modal-body,
.modal-full-color-success .modal-footer {
  background-color: #37b358;
}
.modal-full-color-success .btn-default {
  color: #37b358;
}
.modal-full-color-success .btn-default:active {
  color: #37b358;
}
.modal-full-color-primary .modal-header {
  background-color: #5f99f5;
}
.modal-full-color-primary .modal-body,
.modal-full-color-primary .modal-footer {
  background-color: #5f99f5;
}
.modal-full-color-primary .btn-default {
  color: #5f99f5;
}
.modal-full-color-primary .btn-default:active {
  color: #5f99f5;
}
.modal-full-color-warning .modal-header {
  background-color: #f6c163;
}
.modal-full-color-warning .modal-body,
.modal-full-color-warning .modal-footer {
  background-color: #f6c163;
}
.modal-full-color-warning .btn-default {
  color: #f6c163;
}
.modal-full-color-warning .btn-default:active {
  color: #f6c163;
}
.modal-full-color-danger .modal-header {
  background-color: #eb6357;
}
.modal-full-color-danger .modal-body,
.modal-full-color-danger .modal-footer {
  background-color: #eb6357;
}
.modal-full-color-danger .btn-default {
  color: #eb6357;
}
.modal-full-color-danger .btn-default:active {
  color: #eb6357;
}
.modal-full-color-dark .modal-header {
  background-color: #3d3c3c;
}
.modal-full-color-dark .modal-body,
.modal-full-color-dark .modal-footer {
  background-color: #3d3c3c;
}
.modal-full-color-dark .btn-default {
  color: #3d3c3c;
}
.modal-full-color-dark .btn-default:active {
  color: #3d3c3c;
}
.full-width {
  width: 90%;
  max-width: none;
}
.modal-md {
  width: 90%;
  max-width: 500px;
  margin: -205px auto 0;
  top:50%;
 }
.modal-dialog .panel-body{ min-height: 130px}
.modal-dialog .form-horizontal{width: 90%; margin: 20px auto 30px}
.modal-dialog .form-group .col-sm-3{width: 22%}
.modal-dialog .form-group .col-sm-9{width: 78%}
.modal-dialog h3{font-family: 'ubunturegular';}

.modal-iframe {
  width: 90%;
  max-width: 900px;
  margin: -305px auto 0;
  top:50%;
}

.text-warning {
  color: #fbbc05;
}
a.text-warning:hover,
a.text-warning:focus {
  color: #ca9703;
}
.text-danger {
  color: #ea4335;
}
a.text-danger:hover,
a.text-danger:focus {
  color: #d62516;
}
.xs-mt-50 {
    margin-top: 50px !important;
}

.fade {
  opacity: 0;
  -webkit-transition: opacity 0.12s linear;
  -o-transition: opacity 0.12s linear;
  transition: opacity 0.12s linear;
}
.fade.in {
  opacity: 1;
}
.btn-warning {
  border-color: #e3aa04;
  color: #fff;
  background-color: #fbbc05;
  border-color: #fbbc05;
}
.btn-warning:focus,
.btn-warning.focus {
  color: #fff;
  background-color: #ca9703;
  border-color: #654c02;
}
.btn-warning:hover {
  color: #fff;
  background-color: #ca9703;
  border-color: #a77d03;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  color: #fff;
  background-color: #ca9703;
  border-color: #a77d03;
}
.btn-warning:active:hover,
.btn-warning.active:hover,
.open > .dropdown-toggle.btn-warning:hover,
.btn-warning:active:focus,
.btn-warning.active:focus,
.open > .dropdown-toggle.btn-warning:focus,
.btn-warning:active.focus,
.btn-warning.active.focus,
.open > .dropdown-toggle.btn-warning.focus {
  color: #fff;
  background-color: #a77d03;
  border-color: #654c02;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
  background-image: none;
}