.modal-open {
  overflow: hidden;
}

.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: left;
    align-items: left;
    -ms-flex-pack: end;
    justify-content: flex-end;
	width: 85%;
	max-width: 85%;
    padding: 0;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-body {
	position: relative;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 1rem 1rem 1rem!important;
	
}

.modal-left .modal-body{
	border:0px solid red!important;
	padding-bottom:140px!important;
}




.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  display: none;
  width: 100%;
  z-index:99999999;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
  display:block;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -50px);
  transform: translate(0, -50px);
}

@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}

.modal.show .modal-dialog {
  -webkit-transform: none;
  transform: none;
}

.modal.modal-static .modal-dialog {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

.modal-dialog-scrollable {
  display: -ms-flexbox;
  display: flex;
  max-height: calc(100% - 1rem);
}

.modal-dialog-scrollable .modal-content {
  max-height: calc(100vh - 1rem);
  overflow: hidden;
}

.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - 1rem);
}

.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 1rem);
  height: -webkit-min-content;
  height: -moz-min-content;
  height: min-content;
  content: "";
}

.modal-dialog-centered.modal-dialog-scrollable {
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}

.modal-dialog-centered.modal-dialog-scrollable .modal-content {
  max-height: none;
}

.modal-dialog-centered.modal-dialog-scrollable::before {
  content: none;
}

.modal-content {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  min-height: 100%!important;
  min-width:100%!important;
  background-color:#363636;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.75;
}

.modal-header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);
}

.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}

.modal-title {
  line-height: 1.25;
  padding:0;
  margin:0;
  font-size:1em;
}

.modal-body {
  position: relative;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align:left;
  align-items: left;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 0.75rem;
  border-top: 1px solid #dee2e6;
  border-bottom-right-radius: calc(0.3rem - 1px);
  border-bottom-left-radius: calc(0.3rem - 1px);
}

.modal-footer > * {
  margin: 0.25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 500px;
    margin: 1.75rem auto;
  }
  .modal-dialog-scrollable {
    max-height: calc(100% - 3.5rem);
  }
  .modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 3.5rem);
  }
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
  .modal-dialog-centered::before {
    height: calc(100vh - 3.5rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
  }
  .modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    max-width: 800px;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-width: 1140px;
  }
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}

.close:hover {
  color: #000;
  text-decoration: none;
}

.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
  opacity: .75;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
}

a.close.disabled {
  pointer-events: none;
}
.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
}

.btn-secondary:focus, .btn-secondary.focus {
  color: #fff;
  background-color: #5a6268;
  border-color: #545b62;
  box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-secondary.disabled, .btn-secondary:disabled {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:not(:disabled):not(.disabled):active, .btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
  color: #fff;
  background-color: #545b62;
  border-color: #4e555b;
}

.btn-secondary:not(:disabled):not(.disabled):active:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus,
.show > .btn-secondary.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar {
    transition: none;
  }
}

.progress-bar-striped {
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
  background-size: 1rem 1rem;
}

.progress-bar-animated {
  -webkit-animation: 1s linear infinite progress-bar-stripes;
  animation: 1s linear infinite progress-bar-stripes;
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar-animated {
    -webkit-animation: none;
    animation: none;
  }
}

@keyframes progress-bar-stripes {
  from {
    background-position: 1rem 0;
  }
  to {
    background-position: 0 0;
  }
}

@-webkit-keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spinner-grow {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  50% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}



.fade {
  transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    transition: none;
  }
}

.fade:not(.show) {
  opacity: 0;
}

@media only screen and (max-width:1199px){

.modal-title {
    line-height: 1.25;
    padding: 0;
    margin: 0;
    font-size: 20px;
}



}
@media only screen and (max-width:1099px){

.modal-title {
    line-height: 1.25;
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.modal-logo {
    position: relative;
    display: block;
    text-align: center;
    margin: 10px 0 30px;
}

.modal-logo img {
	width: 47.5%;
	height: auto;

}

.modal-body.webform input {
	display: block;
	width: 95%;
	min-width: 95%;
	max-width: 95%;
	border-radius: 9px;
	font-size: 18px;
	font-weight: 400;
	color: #000;
	border: 1.98px solid #cccc;
	letter-spacing: .7px;
	padding: 21.3px 12px 21.3px;
	margin: 0 auto 3%;
	 font-family: 'UAFSans';
}

.modal-body.webform .webform-button--submit {
    display: block!important;
    background: #699604!important;
    position: relative;
    color: #fff;
    width: 100%!important;
    min-width: 100%!important;
    font-size: 19.5px;
    font-weight: 500;
    letter-spacing: .05px;
    border-radius: 11px;
    padding: 18px 0px;
    margin: 3% auto;
    letter-spacing: 1px;
    box-shadow: 0 0 18px 4px rgba(30,30,30,.31);
    border: none;
    cursor: pointer;
    -webkit-transition: all .4s ease;
    -moz-transition: all .4 ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}

}

@media only screen and (max-width:790px){

.modal-body.webform input {
	display: block;
	width: 93%;
	min-width: 93%;
	max-width: 93%;
	border-radius: 9px;
	font-size: 18px;
	font-weight: 400;
	color: #000;
	border: 1.98px solid #cccc;
	letter-spacing: .7px;
	padding: 21.3px 12px 21.3px;
	margin: 0 auto 3%;
font-family: 'UAFSans';
}

.modal-body.webform .js-form-item textarea {
    width: 93%;
    max-width: 93%;
    min-width: 93%;
	display: block; 
	margin: 0 auto 3%;
	border-radius: 9px;
}

.modal-body.webform .webform-button--next{
    display: block!important;
   
    position: relative;
    color: #fff;
    width: 100%!important;
    min-width: 100%!important;
    font-size: 16px!important;
    font-weight:600!important;
    letter-spacing: .05px!important;
    border-radius: 8px!important;
    padding: 20px 0px!important;
    margin: 5% auto 3%;
    letter-spacing: .45px;
    box-shadow: 0 0 18px 4px rgba(30,30,30,.31);
    border: none;
    cursor: pointer;
	 font-family: 'UAFSans';
    -webkit-transition: all .4s ease;
    -moz-transition: all .4 ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}	

.webform-button--previous{
	width: 100%!important;
    min-width: 100%!important;
    font-size: 14px!important;
    font-weight:600!important;
    letter-spacing: .05px!important;
    border-radius: 8px!important;
    padding: 15px 0px!important;
    margin: 35px auto 3%;
    letter-spacing: .45px;
    box-shadow: 0 0 6px 2px rgba(30,30,30,.11);
    border: none;
    cursor: pointer;
	 font-family: 'UAFSans';
    -webkit-transition: all .4s ease;
    -moz-transition: all .4 ease;
    -ms-transition: all .4s ease;
    -o-transition: all .4s ease;
    transition: all .4s ease;
}


.modal-body.webform input[type="file"].form-file {
    position:absolute;
	display:block;
	left:-5px;
	top:-7px;
    width: 100%;
    height:55px;
    padding:0;
	cursor:pointer;
	border:none!important;
	box-shadow:none!important;
	background-image: url(/images/up3.png)!important;
	background-size:contain!important;
	background-repeat: no-repeat!important;
	background-position: left auto!important;
	
	font-size:0px!important;
	padding:0!important;
	border:0px solid transparent!important;
	outline:none!important;
	box-shadow:none!important;
	margin:0!important;
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    -o-transition: all .35s;
    -ms-transition: all .35s;
    transition: all .35s;
}

.modal-body.webform input[type="file"].form-file:hover{
	opacity:.85;
			
    -webkit-transition: all .35s;
    -moz-transition: all .35s;
    -o-transition: all .35s;
    -ms-transition: all .35s;
    transition: all .35s;
}

.modal-body.webform .js-form-managed-file{
	position:relative;
	display:block;
	margin:11px 0;
	padding:0;
	width:100%;
	height:auto;
	min-height:55px;
	max-height:95px;
	overflow:hidden;
}

.js-form-managed-file.form-managed-file *{
	
}

.modal-body.webform .js-form-managed-file input[type="submit"]{
	background-color: transparent;
	border:2.5px solid transparent;
	padding:11px 14px 11px;
	color:transparent;
	margin-left:15px;
	outline:none;
	font-weight:600;
	font-size:11px;
	letter-spacing:.4px;
	text-transform:uppercase;
	cursor:pointer!important;
}

.modal-body.webform .webform-button--submit {
	padding: 18px 0 18.5px;
	cursor: pointer;
	outline: none;
	box-shadow: 0 0 0px #fff;
	font-size: 15.25px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #fff;
	background:#000!important;
	margin: 33px auto 5%;
	display: block;
	width: 100%;
	position: relative;
	border-radius: 0px;
	background-color: #000;
	border: 3.15px solid #0399B5;
	box-shadow: 0 0 10px 3px rgba(30, 30, 30, .2);

}
	
}
