﻿/* NOTE - This is currently used by both WebLink Forms for capacity tracking as well as Crowdfunding.
   Testing should be done on all applicable applications when changes are made
*/

/* COMMON Modal */
.ux-modal-italic {
    font-style: italic;
}

.ux-modal-bold {
    font-weight: bold;
}

.ux-modal-dialog-ext.modal-dialog {
    position:static;
}

.ux-modal-header-ext.modal-header {
  height: 140px;
  padding-top: 0;
  text-align: center;
  margin-top: 15px;
  border-bottom: 0px solid;
}

.ux-modal-message-short {
  font-size: 22pt;
  text-align: center;
  margin-top: 0;
  margin-bottom: 30px;
}

.ux-modal-message-long {
  text-align: left;
  font-size: 12pt;
  margin-bottom: 1em;
}

.ux-modal-button.btn-default.btn {
  font-weight: bold;
  width: 100%;
  min-height: 50px;
  border: none;
  font-size: 18pt;
  border-radius: 0 0 4px 4px;
}

.ux-modal-body-ext.modal-body {
  padding-top: 0 ;
  text-align: center;
}

.ux-modal-content-ext.modal-content {
  font-weight: 300;
}

.ux-fa-circle-ext.fa-circle {
    color: #FFFFFF;
}

/* ERROR Modal tweaks */
.ux-error-modal-message-short-subtext {
    display: none;
}

.ux-error-modal-button-colors.ux-modal-button.btn-default.btn {
  background-color: #BD6263 !important;
  color: #FFFFFF !important;
}

.ux-error-modal-button-colors.ux-modal-button.btn-default.btn:hover {
  background-color: #FFFFFF !important;
  color: #000000 !important;
}

.ux-error-modal-colors {
  background-color: #F35F60 !important;
  color: #FFFFFF !important;
}

.ux-error-fa-stacked-icon-color {
    color: #F35F60 !important;
}

/* INFO Modal tweaks */
.ux-info-fa-circle-ext.ux-fa-circle-ext.fa-circle {
    color: #1cb09a;
}

.ux-info-modal-message-short {
    margin: 20px 0 0 0;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    color: #1cb09a;
    padding-bottom: 10px;
    font-size: 22pt;
}

.ux-info-modal-message-short-subtext {
    text-align: center;
    font-weight: 500;
    font-size: 16pt;
    padding: 0;
    margin: -6px 0 20px 0;
}

.ux-info-modal-message-long {
    text-align: left;
    font-size: 12pt;
    margin-bottom: 1em;
}

.ux-info-modal-button-colors.ux-modal-button.btn-default.btn {
    background: #1cb09a;
    background: -webkit-linear-gradient(left, #408af8, #1cb09a);
    background: -o-linear-gradient(right, #408af8, #1cb09a);
    background: -moz-linear-gradient(right, #408af8, #1cb09a);
    background: linear-gradient(to right, #408af8, #1cb09a);
    color: #FFFFFF;
}

.ux-info-modal-colors {
    background-color: #FFFFFF !important;
    color: #000000 !important;
}

.ux-info-fa-stacked-icon-color {
    color: #FFFFFF !important;
}


/* WORKAROUNDS due to Bootstrap bugs */
/* 
   Workaround to keep the scrollbar on the screen and prevent
   the background from shifting in its absence.
   TODO: Upgrade Bootstrap and remove workaround
*/
body.modal-open {
    overflow: auto;
}

/* Workaround to negate bootstrap adding padding.
   TODO: Upgrade Bootstrap and remove workaround
*/
body.modal-open[style] {
    padding-right: 0px !important;
}
/* END WORKAROUNDS */
