/*responsive header*/
/* The header row */

/* Wrap header and rows with the same grid system */
.table-header,
.table-details {
  display: grid;
  grid-template-columns: 80px 220px 120px 200px 100px 150px 150px 100px;
  justify-content: start; /* grid won’t spread to 100% */
  align-items: center;
  text-align: center;
}

/* Remove hover background + border on disabled radio/checkbox labels */
.gform_wrapper.gravity-theme .gfield_radio input:disabled + label:hover,
.gform_wrapper.gravity-theme .gfield_checkbox input:disabled + label:hover {
    background: none !important;
    border: solid 1px #AAAAAA !important;
    border-bottom: none !important;
    cursor: default !important;
}

/* Also override the normal hover state (regardless of disabled) if you want it globally off in view-only */
.gform_wrapper.gravity-theme .gfield_radio input:hover + label,
.gform_wrapper.gravity-theme .gfield_checkbox input:hover + label {
    background: none !important;
    border: solid 1px #AAAAAA !important;
    border-bottom: none !important;
    cursor: default !important;
}

.table-row {

  background-color: #efefef;
  margin-bottom: 10px;

}

@media (max-width: 480px) {

  .location{
  padding-left: 40px;
  padding-right: 20px;
      display: flex;
    justify-content: space-between; /* left text, right arrow */
    align-items: center;            /* vertically center arrow */
    padding: 6px 10px;
    border-radius: 6px;
    margin: 8px 0;
}
  
}

  .location{
  padding-left: 40px;
  padding-right: 20px;}


/* Header styling */
.table-header {
  background: var(--nv-primary-accent);
  font-weight: bold;
  border-bottom: 2px solid #e0e0e0;
  padding: 0 10px;
  height: 60px;
  color: white;
}

/* Row styling */
.table-details {
  background: #efefef;
  padding: 8px 10px;
  padding-bottom: 30px;
}

/* Cells */
.table-header span,
.table-details .detail-cell {
  padding: 6px 8px;
}

/* Tablet view: hide SUID, Ward, Campus */
@media (max-width: 940px) {
  .sid, .ward, .campus, .action, .name {
    display: none;
  }

  .table-header,
  .table-details {
    grid-template-columns: 120px 100px 150px 150px 150px; /* unit, semester, end, start */
  }

  .table-row {
    margin-bottom: 10px;
  }

}

/* Tablet view: hide SUID, Ward, Campus */
@media (max-width: 1170px) {


  .table-header,
  .table-details {
    grid-template-columns:120px 120px 120px 100px 120px 100px 100px 100px; /* unit, semester, end, start */
  }

  .table-row {
    margin-bottom: 10px;
  }

}

/* Tablet view: hide SUID, Ward, Campus */
@media (max-width: 670px) {
   .campus, .ward, .student_id {
    display: none;
  }

  .table-header,
  .table-details {
    grid-template-columns: 120px 120px 120px 120px 100px 150px 150px 150px 120px; /* unit, semester, end, start */
  }

  .table-row {
    margin-bottom: 10px;
  }

}

/* Mobile view: hide Semester */
@media (max-width: 480px) {
  .semester {
    display: none;
  }

  .table-header,
  .table-details {
    grid-template-columns: 100px 100px 100px 80px; /* unit, end, start */
     padding-right: 20px;
  }
}


/* REPORTS PAGE TABS */
/* Wrap each pair in a box with grey background */
.lt-dependency-pair {
    display: inline-flex;          /* makes the reports inside sit next to each other */
    background-color: #f6f6f6;    /* grey background for the pair */
    padding: 10px 10px;             /* some padding inside the box */
    margin-right: 10px;            /* space to the next pair */
    margin-bottom: 10px;            /* vertical spacing if wrapped */
    border-radius: 5px;            /* optional: rounded corners */
    white-space: nowrap;           /* keep reports in the pair on the same line */
}

/* Mobile: stack items vertically */
@media (max-width: 480px) {
    .lt-dependency-pair {
        flex-direction: column; /* stack the links */
        align-items: flex-start; /* optional: align to left */
    }

    .lt-dependency-pair a,
    .lt-dependency-pair span {
        width: 100%; /* make each link take full width */
        white-space: normal; /* allow wrapping */
    }
}

.review-left-border {
    border-left: 2px solid #ddd !important; /* white left border */
    padding-left: 4px; /* optional, to separate text from border */
}

.tabs-container {
    margin-top: 15px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 15px;
}

.tab-buttons {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #557ebb;
}

.tab-buttons li {
    padding: 8px 14px;
    cursor: pointer;
    background: #f5f5f5;
    margin-right: 4px;
    border-radius: 4px 4px 0 0;
    font-weight: 500;
    transition: background 0.2s ease;
}

.tab-alert {
    display: inline-block;
    margin-left: 6px;
    color: red; /* exclamation mark color */
    font-weight: bold;
}

.tab-alert .alert-count {
    color: red; /* number color */
    margin-left: 2px;
    font-weight: bold;
    font-size: 0.9em;
}

@media (max-width: 480px) {
  .tab-buttons {
    flex-wrap: wrap; /* allow wrapping */
  }
  .tab-buttons li {
    flex: 1 1 45%; /* two tabs per line approximately */
    margin-bottom: 4px;
  }
}

.progress-line {
  display: inline-block;   /* make span behave like a box */
  width: 10px;            /* give it some width */
  height: 2px;             /* thickness of the line */
  background-color: rgb(134, 134, 134);  /* line color */
  vertical-align: middle;  /* align with surrounding text if needed */
}



/* Arrow hidden by default */
.tabs-toggle-arrow {
    display: none; /* hidden in normal/desktop view */
}

/* hide tabs container in mobile by default */
@media (max-width: 768px) {
    .tabs-container {
        display: none;
    }

    /* Show when toggled */
    .tabs-container.visible {
        display: block; /* or flex/grid depending on your layout */
    }

    .tabs-toggle-arrow {
        display: block; /* show in mobile view */
        cursor: pointer;
        float: right;
        transition: transform 0.3s ease;
    }

    /* rotate 180° when expanded */
    .tabs-toggle-arrow.expanded {
        transform: rotate(180deg);
    }
}

.tab-buttons li:hover {
    background: #e8e8e8;
}

.tab-buttons li.active {
    background: #fff;
    border: 1px solid #ddd;
    border-bottom: none;
}

.tab-content {
    display: none;
    padding: 10px 5px;
}

.tab-content.active {
    display: block;
}

.form-type {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.form-type-code {
    color: #777;
    font-size: 0.9em;
}



/*GRAVITY FORM CHECKBOX*/
.gchoice.gfield-choice-input input[type="checkbox"] {
  display: flex;
  align-items: center;
  width: auto; /* prevent full-width stretching */
  margin-bottom: 0.5em;
  
}

.gchoice input[type="checkbox"] {
  /* width: 10%; */
  margin: 0 !important;
  align-items: start; /* Align checkbox to the top */
}
.gfield_checkbox .gform-field-label {
  border: none !important;
  margin: 0;
}

/* CLASSES PAGES */
#id_search, #search_terms {
  width: 100%;
}
#student_search, #access_code {
  width: 17%;
}

.quick_form #student_search,
.quick_form #provider_option {
  width: 45%;
}
.quick_form #submit {
  width: 17%;
  margin-left: 0;
}
@media only screen and (max-width: 640px) {
  #student_search, #access_code, .quick_form #submit {
    width: 100%
  }
}

/* SEARCH PANELS */

form.update-table-dates select,
form.search-field input#id_search,
form.update-table-dates fieldset input:not([type=submit]) {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 3px;
    font-size: 20px;
    line-height: 34px;
}
form.update-table-dates input[type=submit] {
    width: 40%;
    margin-left: 30%;
    margin-top: 0.625em;
}
form.update-table-dates p {
  margin-bottom: 0.5em;
}
form.update-table-dates select {
    margin-right: 15px;
    font-size: 125%;
}
form.update-table-dates div {
  display: inline-block;
  width: auto;
  padding: 0 0.5em;
  vertical-align: top;
}
form.update-table-dates fieldset > div {
  width: 48%;
}
form.update-table-dates div.date-pair {
  width: 100%;
}
form.update-table-dates div.date-pair input {
  width: 47%;
}
form.update-table-dates div input[type=checkbox] {
  width: auto;
  margin-right: 9px;
}
form.update-table-dates div.double-width {
  width: 100% !important;
}
/* make the div in two columns for double-width */
form.update-table-dates div.double-width > div {
  width: 48%;
  margin-right: 0.5em;
}
form.update-table-dates div.double-width input[type=checkbox] {
  width: auto;
  margin-right: 9px;
}

@media only screen and (max-width: 55em) {
  form.update-table-dates fieldset > div,
  form.update-table-dates.unallocated fieldset > div {
    display: block;
    width: 100%;
    padding: 0em;
    padding-bottom: 0.5em;
    border-left: none;
    border-top: 1px solid grey;
  }
  form.update-table-dates div.double-width > div {
    width: 100%;
    margin-right: 0;
  }
  /*every second double >div is light grey background*/
  form.update-table-dates div.double-width > div:nth-child(2n) {
    background-color: #f9f9f9;
  } 
  form.update-table-dates div.date-pair input {
    width: 100%;
  }
  form.update-table-dates div:nth-child(2) {
    border-top: none;
  }
}

p.downloadCSV em:last-child {
  float:right;
}


table.clinical {
/*  width: 90%; */
  margin: 0 auto 30px auto;
  background-color: #f2f2f2;
}

#table_reports{
  width: 100%;
  margin: 0 auto;
  border-color: var(--nv-primary-accent);
}

table.clinical th, table.clinical td {
  text-align: left;
  padding: 4px 10px;
}
table.clinical th {
    background-color: #006dae;
    color: #ffffff;
    font-weight: normal;
}

table.clinical th .dashicons {
  color: #ffffff;
}

table.clinical th h1,
table.clinical th h2,
table.clinical th h3,
table.clinical th h4 {
  font-size: 1em;
  color: #ffffff;
  margin: 0;
  padding: 0;
}
table.clinical td {
    border-bottom: 2px solid var(--nv-primary-accent);
}
table.clinical tr:last-child td {
    border-bottom: none;
}

/*table.clinical tr:nth-child(even) {
    background-color: #f2f2f2;
}*/
table.clinical tr td.centered,
table.clinical tr th.centered {
    text-align: center;
}
table.clinical td.value,
table.clinical th.grade {
  text-align: center;
  font-weight: bold;
}
table.clinical td.section {
  color: #ffffff;
  background-color: #666666;
}
table.clinical th.heading {
  text-align: left;
}
table.clinical td.comments,
table.clinical span.comments {
  background-color: #fcffe0;
  border-left: 3px solid #9aa71d;
  border-bottom: 0px; 
}
table.clinical span.comments{
  padding-left: 10px;
  line-height: 1.5;
}
table.clinical span.comments.feedback {
  width: 100%;
}
table.clinical tr.trashed td span, table.clinical tr.trashed td{
  text-decoration: line-through;
  color: grey;
  background-color: lightgrey;
}
.clinical:not(.reports,.schedule) span.dashicons {
  margin: 0px 5px 5px 0px;
}
.clinical.quick_form span.dashicons {
  margin: -5px 0px 0px 0px;
  color: #fff;
  text-align: center;
}
table.clinical td.expand_nmcar_results {
  text-align: center;
}
table.clinical tr.trashed td span.actions span {
  text-decoration: none;
}
table.clinical tr.allocated{
  background-color: #f5fbbe;
}
.clinical span.dashicons-dismiss,
.clinical span.dashicons-no,
span.dashicons-warning,
.warning {
  color: #aa3939;
}
.clinical span.dashicons-visibility,
.clinical span.dashicons-marker,
p.guide span.dashicons-marker {
  color: #373737;
}
.clinical span.dashicons-yes,
.clinical span.dashicons-yes-alt,
p.guide span.dashicons-yes-alt {
  color: #9aa71d;
}
.clinical td.n.fst span.dashicons,
.clinical td.n.fsu span.dashicons,
p.guide span.n span.dashicons,
span.dashicons.nr {
  color: lightgrey;
  color: grey;
}
span.dashicons.red,
span.dashicons.flag,
p.guide span.n span.dashicons.red {
  color: #aa281e;
}
.clinical td.n.fst span.dashicons.red,
.clinical td.n.fsu span.dashicons.red {
  background-color: grey;
  background: -webkit-linear-gradient(315deg, grey, grey 50%, #aa281e 50%, #aa281e);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
p.guide span.n span.dashicons {
  margin-left: 0;
  margin-right: 0;
}
p.guide span.dashicons,
p.guide span.n span.dashicons:first-child
 {
  margin-left: 20px;
  margin-right: 3px;
}

div.duplicates {
  margin-bottom: 25px;
}
div.duplicates .actions {
  color: var(--nv-c-1);
  background-color: var(--nv-c-1);
  display: inline-block;
  width: auto;
  border: 1px solid grey;
  text-decoration: none;
  padding: 0.3em 0.9em 0.3em 0.5em;
  text-align: center;
  margin-bottom: 0.2em;
}
div.duplicates .actions:hover {
  opacity: 0.9;
}
div.duplicates span.dashicons {
  width: auto;
  line-height: 1.2em;
  margin-left: 0;
  color: white; /*var(--nv-c-1);*/

}

div.duplicates span.dashicons em {
  font-family: var(--bodyFontFamily),var(--nv-fallback-ff);
  font-size: 80%;
  font-style: normal;
  position: relative;
  top: -3px;
  left: 3px;
}
div.duplicates div.report_count {
  text-align: center;
}

div.duplicates div.report_count span {
  padding: 0 5px;
}

div.duplicates div.report_count span.current {
  background-color: #006dae;
  border-radius: 50%;
  color: white;
  height: 25px;
  display: inline-block;
  width: 25px;
  line-height: 25px;
}

form.search-field {
  clear: both;
}

.dashicons {
   color: #0073AA;
   cursor: pointer;
   margin-left: 5px;
}
a.button .dashicons {
   color: white;
}

.dashicons.spin {
   animation: dashicons-spin 1s infinite;
   animation-timing-function: linear;
   width: unset;
   height: unset;
}

@keyframes dashicons-spin {
   0% {
      transform: rotate( 0deg );
   }
   100% {
      transform: rotate( 360deg );
   }
}




input#nmcar_marks {
    margin-left: 30px;
    margin-right: 8px;
}

table.statistics, table.results, table.unallocated {
  width: 100%;
  border-bottom: 1px solid #aaa;
  font-size: 75%;
}
table.unallocated th:nth-child(12),
table.unallocated th:nth-child(13),
table.unallocated td:nth-child(12),
table.unallocated td:nth-child(13) {
  text-align: center;
  width: 5%;
  max-width: 75px;
}

@media only screen and (max-width: 107em) {
  table.results th:nth-child(11),
  table.results th:nth-child(12),
  table.results td:nth-child(11),
  table.results td:nth-child(12),
  table.quick_form th:nth-child(11),
  table.quick_form th:nth-child(8),
  table.quick_form td:nth-child(11),
  table.quick_form td:nth-child(8),
  table.summary th:nth-child(11),
  table.summary td:nth-child(11) {
    display: none; /* hide email */
  }
}

@media only screen and (max-width: 89em) {
  /* hide columns */
  table.results th:nth-child(3),
  table.results th:nth-child(4),
  table.results th:nth-child(5),
  table.results th:nth-child(16),
  table.results th:nth-child(17),
  table.results td:nth-child(3),
  table.results td:nth-child(4),
  table.results td:nth-child(5),
  table.results td:nth-child(16),
  table.results td:nth-child(17),
  table.quick_form th:nth-child(3),
  table.quick_form th:nth-child(4),
  table.quick_form th:nth-child(5),
  table.quick_form th:nth-child(16),
  table.quick_form th:nth-child(17),
  table.quick_form td:nth-child(3),
  table.quick_form td:nth-child(4),
  table.quick_form td:nth-child(5),
  table.quick_form td:nth-child(16),
  table.quick_form td:nth-child(17),
  table.summary th:nth-child(3),
  table.summary th:nth-child(8),
  table.summary th:nth-child(5),
  table.summary td:nth-child(3),
  table.summary td:nth-child(5),
  table.summary td:nth-child(8),
  table.unallocated th:nth-child(2),
  table.unallocated th:nth-child(3),
  table.unallocated td:nth-child(2),
  table.unallocated td:nth-child(3) {
    display: none;
  }
}
@media only screen and (max-width: 65em) {
  table.results {
    font-size: 60%
  }
  table.summary {
    font-size: 60%
  }
}
@media only screen and (max-width: 58.5em) {
  /* hide columns */
  table.results th:nth-child(2),
  table.results th:nth-child(6),
  table.results th:nth-child(7),
  table.results td:nth-child(2),
  table.results td:nth-child(6),
  table.results td:nth-child(7),
  table.quick_form th:nth-child(2),
  table.quick_form th:nth-child(6),
  table.quick_form th:nth-child(10),
  table.quick_form td:nth-child(2),
  table.quick_form td:nth-child(6),
  table.quick_form td:nth-child(10),
  table.summary th:nth-child(2),
  table.summary th:nth-child(6),
  table.summary th:nth-child(7),
  table.summary td:nth-child(2),
  table.summary td:nth-child(6),
  table.summary td:nth-child(7) {
    display: none;
  }
  table.quick_form a.review, 
  table.quick_form a.active, 
  table.quick_form a.edit,
  table.quick_form a.meet {
    width: 100%;
  }
  table.clinical span.sid, 
  table.clinical span.ward, 
  table.clinical span.semester, 
  table.clinical span.campus {
    display: none;
  }


}
div.results-info {
  clear: both;
}
div.results-info span {
    display: inline-block;
    min-width: 15%;
    border-right: 1px solid;
    padding: 5px 10px;
}
div.results-info span:last-child {
  border: none;
}

table.statistics th {
  background-color: #aaa;
  color: #fff;
  text-align: left;
  font-weight: normal;
}
table.statistics th {
  background-color: #aaa !important;
  padding: 2px 5px !important;
}
table.statistics th span.dashicons {
  color: #fff;
}
table.statistics tr:nth-child(odd) {
  background-color: #eee;
}
table.statistics td, table.statistics th {
  padding: 2px 5px;
  text-align: center;
}
table.statistics td:first-child, table.statistics th:first-child {
  text-align: left;
}
table.results td.error-row, table.results tr.error-row {
  background-color: #ffd0d0;
}

canvas, .entry-content div.chart {
    float: left;
    margin-right: 2%;
}


/*--------------------------------------------------------------
## Gravity Forms
-------------------------------------------------------------- */

div.submission-details p {
  display: inline-block;
  width: 50%;
  margin: 0;
}
@media only screen and (max-width: 37.5em) {
  div.submission-details p {
    width: 100%;
  }
}
div.appraisal-key {
    line-height: 35px;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding-top: 5px;
}

div.appraisal-key p {
  background-color: #ffdf7f;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
  padding: 0.5em;
}
div.appraisal-key span.actions {
  display: inline-block;
  border: 2px solid #505050;
  height: 32px;
  position: absolute;
  right: 10px;
}

.actions-supervisor {

  padding-left: 40px;

}

div.appraisal-key span.dashicons {
  margin: 4px;
  color: #505050;
}
/*
div.appraisal-key:hover {
  height: auto;
}
*/
.appraisal-table {
    display: none;
    background-color: #fff;
    text-align: left;
}
.appraisal-table p {
  text-align: center;
  text-transform: uppercase;
}
.appraisal-table table th, 
.appraisal-table table td:first-child {
    background-color: #eeeeee;
    text-align: center;
    padding: 5px;
}
.appraisal-table table td:first-child {
    width: 10em;
}
.appraisal-table table td {
    border-top: 1px solid #888;
    padding: 5px;
    width: 35%;
}
.appraisal-table table td:last-child {
    width: 20%;
}
.appraisal-table table ul {
  margin: 0;
}
.appraisal-table table.col-2 td:last-child {
  width: 79%;
}
.appraisal-table table th.short {
  width: 20%;
}

table.nmcar-tabled-results {
	line-height: 34px;
}

table.nmcar-tabled-results tr:nth-child(even) {
	background-color: #eeeeee;
	
}
table.nmcar-tabled-results tr:nth-child(odd) {
  background-color: #fefefe;
  
}
table.nmcar-tabled-results td.adult_emergencies {
	background-image: url('img/table_icons_nmcar_adult_emergencies.png');
	background-repeat: no-repeat;
	background-position: center;
}

table.nmcar-tabled-results td.obstetric_emergencies {
	background-image: url('img/table_icons_nmcar_obstetric_emergencies.png');
	background-repeat: no-repeat;
	background-position: center;
}

table.nmcar-tabled-results span.counter {
  border-radius: 50%;
  width: 13px;
  height: 13px;
  line-height: 13px;
  background: #ec2d23;
  color: #ffffff;
  text-align: center;
  font-size: 11px;
  display: inline-block;
  position: relative;
  left: -10px;
  top: 5px;
}

table.nmcar-tabled-results th, table.nmcar-tabled-results td {
	text-align: center;
}
table.nmcar-tabled-results .left {
	text-align: left;
	padding-left: 5px;
}

.dashicons-no.nmcar-icon {
	color: #ec2d23;
}
.dashicons-yes.nmcar-icon {
	color: #078a00;
}
.dashicons-clock.nmcar-icon {
	color: lightcoral;
}
.dashicons-performance.nmcar-icon {
	color: #B5B5B5;
}


.count-circle-link {
  text-decoration: none;
  display: inline-block;
}

.count-badge.green {
  background-color: #28a745;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
}

.count-badge.blue {
  background-color: #007bff;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
}

.min-count {
  font-size: 16px;
  font-weight: bold;
  color: #000000;
  margin-left: 5px;
}


h2 .dashicons {
  font-size: 30px;
  width: 30px;
  height: 30px;
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    text-decoration: underline; 
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 6px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
}

.tooltip .tooltiptext {
    top: 100%;
    left: 50%; 
    margin-left: -50%; /* Use half of the width (120/2 = 60), to center the tooltip */
}
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%;  /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
}
div.user-numbers {
    float: right;
    margin-top: -80px;
    text-align: center;
}
div.user-numbers span {
    font-size: 250%;
}

div.chart-container {
  max-height: 250px;
  max-width: 40%;
  float: left;
}
td.results-expanded, div.scenario-scores {
  text-align: left;
}
div.scenario-scores, table.mcq-results-table{
  float:left;
  margin: 20px;
  width: 25%;
}

span.scenario-result {
  display: block;
  border-bottom: 1px solid #ccc;
}

span.scenario-result em {
  color: #888;
}


a.report {
    background: #000;
    display: inline-block;
    width: 200px;
    text-decoration: none;
    color: #fff;
    text-align: center;
    line-height: 40px;
}
a.report:before {
  content: "/f147";
}

div.pop-up {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    visibility: hidden;
    display: none;
    background-color: rgba(22,22,22,0.5);
    z-index: 100;
}
div.pop-up.show {
    visibility: visible;
    display: block;
}
div.pop-up div.message {
    margin: 0 auto;
    width: 50%;
    background-color: #fff;
    padding: 15px;
    position: fixed;
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
}

div.pop-up .button {
  margin-right: 1em;
}

.alert {
  /* border-radius:.25rem; */
  border-width:1px;
  margin-bottom:1.25rem;
  padding:1rem
 }
 .alert strong {
  color:currentColor
 }
 .alert a {
  color:#337ab7;
  text-decoration:underline
 }
 .alert a:hover {
  color:#23527c
 }
 .alert a strong {
  color:currentColor
 }
 .alert-success {
  background-color:#dff0d8;
  border-color:#d6e9c6;
  color:#3c763d
 }
 .alert-info {
  background-color:#d9edf7;
  border-color:#bce8f1;
  color:#31708f
 }
 .alert-warning {
  background-color:#fcf8e3;
  border-color:#faebcc;
  color:#8a6d3b
 }
 .alert-danger {
  background-color:#f2dede;
  border-color:#ebccd1;
  color:#a94442
 }