html {
  overflow-y: scroll;
}

.cs-container *, .cs-container *:after, .cs-container *:before {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

/* Common to both container and footer ---------------------------------------- */
.cs-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1140px;
  padding-left: 15px;
  padding-right: 15px;
}

/* Override the max-width when on the "News" page to let the socsinsider L14 expand to its largest breakpoint. */
.cservices_main_page .cs-container {
  max-width: 1200px;
}

/* Container ------------------------------------------------------------------ */
.cs-container {
  margin-top: 2em;
  padding: 1em;
  text-align: left;
}

/* socs_layout.css overrides */
.cs-container .btn-default, .cs-container .btn-default:link, .cs-container .btn-default:visited { color: #333; }
.cs-container .btn-default:hover, .cs-container .btn-default:focus, .cs-container .btn-default:active { color: #222; }
.cs-container .btn-primary, .cs-container .btn-primary:link, .cs-container .btn-primary:visited { color: #fff; }
.cs-container .btn-primary:hover, .cs-container .btn-primary:focus, .cs-container .btn-primary:active { color: #fff; }
.cs-container .btn-success, .cs-container .btn-success:link, .cs-container .btn-success:visited { color: #fff; }
.cs-container .btn-success:hover, .cs-container .btn-success:focus, .cs-container .btn-success:active { color: #fff; }
.cs-container .btn-danger, .cs-container .btn-danger:link, .cs-container .btn-danger:visited { color: #fff; }
.cs-container .btn-danger:hover, .cs-container .btn-danger:focus, .cs-container .btn-danger:active { color: #fff; }
.cs-container a:link, .cs-container a:visited { color: #54274f; }                        /* SOCS Purple */
.cs-container a:active, .cs-container a:hover, .cs-container a:focus { color: #773770; } /* 9% lighter shade of SOCS Purple */

/* Bootstrap overrides... accessible colors */
/* Bootstrap uses !important on their .text-warning class... */
.text-warning {
  color: #b84c00 !important; 
}

/* Twitter Bootstrap (TB) Overrides */
a { color: #001e5a; }
a:hover, a:focus { color: #00050e; }

.b-strap .form-control:focus,
.mfp-container .form-control:focus {
  border-color: #54274f;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(84, 39, 79, .6);
          box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(84, 39, 79, .6);
}

.b-strap .btn-default, .b-strap .btn-default:active, .b-strap .btn-default:hover, .b-strap .btn-default:focus {
  color: #333;
}

.b-strap .btn-success {
  background-color: #4c8b3f;
  border-color: #39682f;
}
.b-strap .btn-success:hover, .b-strap .btn-success:focus, .b-strap .btn-success:active, .b-strap .btn-success.active, .b-strap .open .dropdown-toggle.btn-success {
  background-color: #3f7434;
  border-color: #2c5125;
}

.bs-4 body > .container,
.b-strap > .container {
  margin-bottom: 2em;
  margin-top: 2em;
}

/* Accessibility contrast issue */
.b-strap .breadcrumb > .active {
  color: #444;
}

/* Label overrides */
.label-primary {
  background-color: #001e5a;
}
.label-primary[href]:hover,
.label-primary[href]:focus {
  background-color: #000d27;
}
.label-success {
  background-color: #4c8b3f;
}
.label-success[href]:hover,
.label-success[href]:focus {
  background-color: #39682f;
}

/* Modal Dialog overrides - larger top margin to push it down below the Easy CS bar */
.modal-dialog {
  margin: 120px 10px 10px;
}
@media (min-width: 768px) {
  .modal-dialog {
    margin: 120px auto 30px;
  }
}

/* Central Services Sign In (includes Operator Sign In)  ---------------------- */
.cs-signin-form {
  max-width: 380px;
}

/* Combine email/password fields into one vertical block */
.cs-signin-form .form-control:focus {
  z-index: 2;
}
.cs-signin-form input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.cs-signin-form input[type="password"] {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Feedback - Search/Results Page --------------------------------------------- */
#LBLstatus {
  font-weight: 700;
  margin-bottom: 5px;
}

#feedback-results .table th {
  min-width: 110px;
  text-align: center;
}

#feedback-results .smarty-paginate span,
#feedback-results .smarty-paginate a {
  margin-left: .75em;
}
#feedback-results .smarty-paginate > *:first-child {
  margin-left: 0;
}

.tablesorter-header {
  background-repeat: no-repeat;
  background-size: 10px;
  background-position: 90% 40%;
}

.tablesorter-header.tablesorter-headerAsc.up {
  background-image: url('/javascripts/widgets/tablesorter/2.31.3/css/images/white-asc.gif');
}

.tablesorter-header.tablesorter-headerDesc.down {
  background-image: url('/javascripts/widgets/tablesorter/2.31.3/css/images/white-desc.gif');
}

/* Feedback - Edit Post Page -------------------------------------------------- */
.feedback-edit-post-form .control-label-combined {
  margin-top: 15px;
}
@media (min-width: 768px) {
  .feedback-edit-post-form .control-label-combined {
    margin-top: 0;
  }
}

/* Articles - Gallery/Images Page --------------------------------------------- */
.flex-container { 
  display: flex;
  flex-flow: row wrap;
}

#video-quota-warning {
  max-width: 25rem;
  margin: 15px auto;
}

#image-galleries .thumbnail {
  border-color: #aaa;
}

#image-galleries .thumbnail-inner {
  cursor: move;
  height: 180px; /* Thumbnails are created to be 180x180 */
  margin-bottom: 4px;
  -webkit-transition: .5s height ease;
     -moz-transition: .5s height ease;
      -ms-transition: .5s height ease;
       -o-transition: .5s height ease;
          transition: .5s height ease;
}

#image-galleries .thumbnail-inner img {
  cursor: move;
  margin: 0 auto;
  max-height: 180px;
}

#image-galleries .thumbnail-inner video {
  height: auto; /* overwriting bootstrap 3.4.1 embed-responsive-item for video previews */
}

#image-galleries .thumbnail-inner .video-play-button {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  display: flex;
  justify-content: center;
  align-items: center;
}

#image-galleries .thumbnail-inner a[data-poster] {
  display: block;
  position: relative;
}

#image-galleries .video-info {
  font-size: 0.9em;
  text-align: center;
}

#image-galleries .ig-show-captions-content {
  font-size: 12px;
  height: 0;
  line-height: 16px;
  overflow: auto;
  padding: 0 5px;
  -webkit-transition: .5s height ease;
     -moz-transition: .5s height ease;
      -ms-transition: .5s height ease;
       -o-transition: .5s height ease;
          transition: .5s height ease;
}

#image-galleries .ig-credit-text {
  float: right;
  margin-bottom: 3px;
}

#image-galleries .ig-caption-text {
  margin-bottom: 0;
}

#image-galleries .ig-show-captions-content p + p {
  border-top: 1px solid #ccc;
  clear: right;
  padding-top: 3px;
}

#image-galleries .ig-thumbnail-panel {
  text-align: right;
}

#image-galleries .ig-thumbnail-panel span, #image-galleries .ig-thumbnail-panel a {
  color: #222;
  display: inline-block;
  padding: 4px 9px;
}

#image-galleries .ig-thumbnail-panel .ig-order {
  float: left;
  padding: 4px;
}

#image-galleries .selected {
  background: #ddd;
}

#image-galleries .ig-delete.selected {
  background: #d2322d;
  color: #fff;
}

/* Save Changes lightbox */
#ig-changes {
  max-width: 500px;
}

#ig-changes .alert {
  margin-bottom: 0;
}

#ig-changes hr {
  margin-top: 0;
  margin-bottom: 10px;
}

#ig-changes .alert > p {
  margin-bottom: 10px;
}

#ig-changes .btn {
  margin-left: 1em;
}
#ig-changes .btn:first-child { margin-left: 0; }

/* Add Images lightbox */
#ig-add-images {
  max-width: 800px;
}

#ig-add-images .well {
  margin-bottom: 0;
  text-align: center;
}

#ig-add-images  h3:first-child, #ig-add-images  h4:first-child {
  margin: 0 0 20px;
}

#ig-add-images .faded {
  color: #ccc;
  margin-top: 0;
}

#ig-add-images .btn-ig-add-files {
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}

#ig-add-images .btn-ig-add-files input {
  cursor: pointer;
  direction: ltr;
  font-size: 200px;
  margin: 0;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
}

/* Video Processing Page */
.vpp-nav a {
  margin-top: 15px;
  padding: 0px 20px;
  word-wrap: normal;
  display: inline-block;
}

.thumbnail {
  padding-top: 5px;
  padding-bottom: 5px;
}

.thumbnail-link {
  display: block;
  position: relative;
}

.thumbnail-image {
  max-height: 100px;
  max-width: 115px;
}

.video-play-button {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: .5;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Add Images lightbox - upload preview thumbnails */
.flex-box {
  display: flex;
  flex-flow: row wrap;
}

#ig-add-images .files {
  margin-top: 1em;
}

#ig-add-images .col-xs-4 {
  width: 50%;
}

#ig-add-images .thumbnail {
  border-color: #aaa;
  position: relative;
}

#ig-add-images .preview {
  height: 100px;
  overflow: hidden;
}

#ig-add-images .preview.text-center:empty::before {
  color: black;
  content: "Cannot display video preview. The video format is not supported on this browser.";
}

/* added for video upload preview */
#ig-add-images .preview video {
  max-width: 150px;
  max-height: 100px;
}

#ig-add-images .preview .old-browser {
  font-size: 12px;
  padding: 30px 5px 0;
  height: 100%;
}

#ig-add-images .preview canvas {
  max-width: 100%;
}

#ig-add-images .thumbnail .cancel {
  background: #fff;
  background: rgba(255,255,255,.6);
  -webkit-border-radius: 0 0 0 3px;
          border-radius: 0 0 0 3px;
  color: #333;
  font-size: 24px;
  padding: 0 7px;
  position: absolute;
  z-index: 5;
  right: 0;
  top: 0;
  text-align: center;
  text-decoration: none;

  -webkit-transition: .3s all ease;
  -moz-transition: .3s all ease;
  -ms-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
}

#ig-add-images .thumbnail .cancel:hover {
  background: #fff;
  color: #111;
}

#ig-add-images .thumbnail .progress {
  height: 12px;
  margin: 4px 0;
}

#ig-add-images .fileupload-buttonbar {
  text-align: center;
}

#ig-add-images .fileupload-buttonbar-top {
  margin-top: 1em;
}

#ig-add-images .fileupload-buttonbar .btn {
  display: block;
  margin-top: 5px;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}

#ig-add-images .fileupload-buttonbar .progress {
  margin: 10px 0;
}

#ig-add-images .fileupload-finishing {
  margin: 0;
  text-align: center;
}

#ig-add-images .fileupload-finishing > h4 {
  margin: 0;
}

/* Caption/Credit/Alt Tag Dialog */
#ig-caption-dialog {
  max-width: 400px;
}

#ig-caption-dialog .ig-caption-dialog-head {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  padding-bottom: 5px;
}

#ig-caption-dialog .ig-caption-dialog-head > h4 {
  margin: 0;
}

#ig-caption-dialog .form-group {
  margin-bottom: .5em;
}

#ig-caption-dialog .btn-ig-caption-cancel {
  margin-left: 1em;
}

#image-galleries input[type="file"], #ig-caption-dialog input[type="file"] {
  position: absolute;
  visibility: hidden;
}

/* Contact Us (common to all pages) ------------------------------------------- */
form[class^="contact-us"] .form-buttons .btn {
  min-width: 125px;
}

form[class^="contact-us"] .fa {
  margin-right: .25em;
}

/* Contact Us Page ------------------------------------------------------------ */
.contactUs .contact-us ul {
  list-style: none;
  margin: 2em 0 1em;
  padding: 0;
}

.contactUs .contact-us li {
  background-color: #f7f7f7;
  border-radius: 3px;
  border: 1px solid #808080;
  font-size: 1.2em;
  margin: 0 0 .5em;
  padding: .5em;

  display: flex;
  align-items: center;
}

.contactUs .contact-us li > .contact-us-drag  {
  color: #aaa;
  cursor: move;
}

/* Contact Us Form Page ------------------------------------------------------- */
.contact-us-form fieldset {
  border: 1px solid silver;
  border-radius: 3px;
  padding: .35em .625em .75em;

  display: table-cell; /* Firefox ESR needs this to make fieldset responsive */
}

/* Make the "Contact Us" group stand out from the additional groups that can be added */
.contact-us-form > fieldset:first-child {
  border: 2px solid #aaa;
}

.contact-us-form legend {
  border: 0;
  margin-bottom: .25em;
  padding: 0 .25em;
  width: auto;

  display: table; /* IE11 needs to word wrap text */
}

.contact-us-form .g-drag,
.contact-us-form .ci-drag {
  color: #aaa !important;
  cursor: move;
}

.contact-us-form .group-container,
.contact-us-form .group-container fieldset + fieldset {
  margin-top: 1em;
}

.contact-us-form .group ul {
  list-style: none;
  margin: 0 .5em;
  padding: 0;
}

.contact-us-form .group li {
  background-color: #f7f7f7;
  border-radius: 3px;
  border: 1px solid #808080;
  font-size: 1.2em;
  margin: 0 0 .5em;
  overflow: hidden;
  padding: .5em;

  display: flex;
}

.contact-us-form .group li > div {
  max-width: calc(100% - 105px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-us-form .group li strong {
  margin-right: .5em;
}

/* Add Item button */
.contact-us-form .group > div {
  padding: 0 .5em;
}
.contact-us-form .group .btn {
  min-width: 125px;
}

/* Add Item Button Bar ---------------- */
.contact-us-button-bar p {
  margin-bottom: .25em;
}

.contact-us-button-bar .fa-lg {
  font-size: 1em;
  line-height: 1em;
  vertical-align: 0;
}

@media (min-width: 480px) {
  .contact-us-button-bar .fa-lg {
    font-size: 1.33333333em;
    line-height: .75em;
    vertical-align: -15%;
  }
}

/* Modal Dialog ----------------------- */
#cuModal .modal-body label {
  text-transform: capitalize;
}

#cuModal .modal-body .badge {
  background-color: #50748b;
  margin-left: .5em;
}

/* Staff Directory (common to all pages) -------------------------------------- */
form[class^="staff-directory"] .form-buttons .btn {
  min-width: 125px;
}

form[class^="staff-directory"] .fa {
  margin-right: .25em;
}

/* Staff Directory Page ------------------------------------------------------- */
.staffDirectory .staff-directory ul {
  list-style: none;
  margin: 2em 0 1em;
  padding: 0;
}

.staffDirectory .staff-directory li {
  background-color: #f7f7f7;
  border-radius: 3px;
  border: 1px solid #808080;
  font-size: 1.2em;
  margin: 0 0 .5em;
  padding: .5em;

  display: flex;
  align-items: center;
}

.staffDirectory .staff-directory li > .staff-directory-drag  {
  color: #aaa;
  cursor: move;
}

/* Staff Directory Form Page -------------------------------------------------- */

/* Hide the file inputs */
.staffDirectoryForm input[type="file"] {
  position: absolute;
  visibility: hidden;
}

.staffDirectoryForm .staff-directory-people {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.staffDirectoryForm .staff-directory-people .col-xs-12 {
  display: flex;
  flex-direction: column;
}

.staffDirectoryForm .staff-directory-people .thumbnail,
.staffDirectoryForm .staff-directory-people .caption {
  flex-direction: column;
  display: flex;
  flex: 1 0 auto;
}

.staffDirectoryForm .staff-directory-people .thumbnail .flex-text {
  flex-grow: 1;
  margin-bottom: .75em;
}
@media (min-width: 480px) {
  .staffDirectoryForm .staff-directory-people .col-xs-12 { width: 50%; }
}
@media (min-width: 768px) {
  .staffDirectoryForm .staff-directory-people .col-xs-12 { width: 33.33333333%; }
}
@media (min-width: 992px) {
  .staffDirectoryForm .staff-directory-people .col-xs-12 { width: 25%; }
}

.staffDirectoryForm .staff-directory-people .thumbnail {
  border-color: #ccc;
  margin-bottom: 1em;
  padding: 0;
}

.staffDirectoryForm .staff-directory-people .sd-name {
  background-color: #eee;
  margin-top: 0;
  margin-bottom: .25em;
  padding: .3em;
}

.staffDirectoryForm .staff-directory-people .caption {
  padding: 0 .5em .5em;
}

.staffDirectoryForm .staff-directory-people .flex-text div {
  display: flex;
}

.staffDirectoryForm .staff-directory-people .flex-text .fa {
  margin-right: 0;
  margin-top: .2em;
}

.staffDirectoryForm .staff-directory-people .flex-text .sd-title span {
  word-break: break-word;
}

.staffDirectoryForm .staff-directory-people .flex-text span {
  margin-left: .5em;
  word-break: break-all;
}

.staffDirectoryForm .staff-directory-people .btn {
  min-width: 65px;
}

.staffDirectoryForm .staff-directory-people .btn + .btn {
  margin-left: 1em;
}

/* Staff Directory - Modal Dialog ------------------------- */
.staffDirectoryForm #sdModal .form-group-photo .fa {
  color: #ccc;
}

@media (min-width: 768px) {
  .staffDirectoryForm #sdModal .form-group-photo .fa { padding-top: 15px; }
}

.staffDirectoryForm #sdModal .has-feedback .fa {
  top: 34px;
  right: 21px;
}

.staffDirectoryForm #sdModal .form-group-photo-file .input-group-addon {
  background-color: #fff;
}

.staffDirectoryForm #sdModal .form-inline .checkbox {
  margin-right: 1em;
}

/* Staff Directory - Listnav ------------------------------ */
.staffDirectoryForm .listNav, .staffDirectoryForm .ln-letters {
  overflow: hidden;
}

.staffDirectoryForm .ln-letters {
  margin-top: 25px;
  margin-bottom: 25px;
  display: table;
  width: 100%;
}

.staffDirectoryForm .ln-letters a {
  position: relative;
  width: 1%;
  display: table-cell;
  text-align: center;
  padding: 12px 0;
  background: #b2c6d3;
  color: #000;
  text-decoration: none;
  border-right: 1px solid #fff;
}

@media only screen and (max-width: 479px) {
  .staffDirectoryForm .ln-letters a {
    display: inline-block;
    width: 20%;
    border-bottom: 1px solid #fff;
  }
  .staffDirectoryForm .ln-letters a:nth-child(5n) {
    border-right: none;
  }
}
@media only screen and (min-width: 480px) and (max-width: 991px) {
  .staffDirectoryForm .ln-letters a {
    display: inline-block;
    width: 10%;
    border-bottom: 1px solid #fff;
  }
  .staffDirectoryForm .ln-letters a:nth-child(5n) {
    border-right: 1px solid #fff;
  }
  .staffDirectoryForm .ln-letters a:nth-child(10n) {
    border-right: none;
  }
}

.staffDirectoryForm .ln-letters .ln-disabled {
  cursor: not-allowed;
  background-color: #eee;
  color: #666;
}

.staffDirectoryForm .ln-letters a:hover, .staffDirectoryForm .ln-letters a:focus, .staffDirectoryForm .ln-letters .ln-selected {
  background-color: #3d596b;
  color: #fff;
}

.staffDirectoryForm .ln-letters a:last-child {
  border-right: none;
}

.staffDirectoryForm .ln-letter-count {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  text-align: center;
  font-size: 1.15em;
  font-weight: bold;
}

.staffDirectoryForm .listNavHide {
  display: none !important;
}

.staffDirectoryForm .ln-no-match {
  font-weight: bold;
  list-style: none;
  text-align: center;
  width: 100%;
}

/* Staff Directory - Filter Options ----------------------- */
.staffDirectoryForm .photo-filter-hide {
  display: none !important;
}

.staffDirectoryForm .filter-wrapper + .filter-wrapper {
  margin-top: 1em;
}

@media (min-width: 768px) {
  .staffDirectoryForm .filter-wrapper + .filter-wrapper { margin-top: 0; }
}

.staffDirectoryForm .filter-wrapper label:first-child {
  display: block;
}

.staffDirectoryForm .filter-wrapper label:nth-child(2) {
  margin-left: 1em;
}

/* Features - Common to all pages --------------------------------------------- */
.features .well > h3 {
  margin-top: 0;
}

.features .table th {
  text-align: center;
}

.features .well > :last-child {
  margin-bottom: 0;
}

/* jQuery UI Datepicker overrides - Month/Year select */
.features .ui-datepicker-title {
  color: #333;
}

.features .invalid-date {
  background-color: #ebcccc;
  border-color: #ce8483;
  color: #913a38;
  -webkit-box-shadow: none;
          box-shadow: none;
}

/* Features - Show Features Page ---------------------------------------------- */
.showFeatures .page-header.form-inline .input-group {
  margin: 5px 0 0 0;
}

/* Bootstrap override */
.showFeatures .page-header.form-inline .input-group-lg > .form-control,
.showFeatures .page-header.form-inline .input-group-lg > .input-group-addon,
.showFeatures .page-header.form-inline .input-group-lg > .input-group-btn > .btn {
  font-size: 24px;
  padding: 5px 15px;
}

@media (min-width: 565px) {
  .showFeatures .page-header.form-inline .input-group  {
    display: inline-table;
    margin: 0 0 0 10px;
    width: 225px;
  }
}

.showFeatures .well-table-caption {
  background-color: #ddf2d3;
  border-color: #acde92;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  color: #284a16;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 0;
}

.showFeatures .well-table-caption label {
  font-weight: normal;
}

@media (min-width: 768px) {
  .showFeatures .well-table-caption .input-group  {
    display: inline-table;
    margin: 0 0 0 10px;
  }
}

/* Bootstrap override */
.showFeatures .table > tbody > tr > td {
  vertical-align: middle;
}

.showFeatures .manage-link {
  display: block;
}

.showFeatures .other-articles-tbody-hd th {
  background-color: #e6e6e6;
  text-align: left;
}

.showFeatures .other-articles-tbody-hd em {
  font-weight: normal;
}

.showFeatures .table > .section-tbody {
  border-top: 3px solid #999;
}

.showFeatures .table > thead + .section-tbody {
  border-top: 1px solid #ddd;
}

/* Bootstrap override */
.showFeatures .table > tbody + tbody {
    border-top: none;
}

.showFeatures .other-articles-tbody-drag > tr {
  cursor: move;
}

/* jQuery UI Sortable */
.showFeatures .ui-features-highlight {
  height: 57px;
  line-height: 20px;
}
.showFeatures .ui-features-helper {
  background-color: #ddf2d3;
  border: 1px solid #acde92;
}

/* Features - Manage Page ----------------------------------------------------- */
.manageFeatures .page-header span {
  background-color: #4c8b3f;
  color: #fff;
  padding: 3px 8px;
}

.manageFeatures .well .label {
  background-color: #a54e99;
  font-size: 100%;
}

.manageFeatures .well .label-success {
  background-color: #4c8b3f;
}

@media (min-width: 768px) {
  .manageFeatures .well select {
    display: inline-block;
    margin-left: 10px;
    width: auto;
  }
}

.manageFeatures .table caption {
  /* Featured Articles - green */
  background-color: #ddf2d3;
  border: 1px solid #acde92;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  color: #284a16;
  font-size: 18px;
  padding: 8px;
}

.manageFeatures .feature-date-col {
  min-width: 130px;
  width: 130px;
}

.manageFeatures .feature-date-col span {
  font-size: 12px;
}

.manageFeatures .featured-articles .f-drag {
  cursor: move;
  display: block;
}

.manageFeatures .table .caption-other {
  /* Other Articles in this Section - orange */
  background-color: #fad7bf;
  border-color: #f5af80;
  color: #8d400b;
}

.manageFeatures .well-all {
  /* Other Articles on the Site - purple */
  background-color: #f0e0ee;
  border-color: #e0bddb;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  color: #54284e;
  margin-bottom: 0;
}

.manageFeatures .well-all h4 {
  margin-top: 0;
}

.manageFeatures .featured-articles td.text-center {
  vertical-align: middle;
}

/* "Get Articles" button - override the "disabled" look when it switching into "working" mode */
.manageFeatures #jsBtnGetArticles.disabled {
  opacity: 1;
}

.manageFeatures #jsBtnGetArticles i {
  margin-right: 1em;
}

/* Tablesorter overrides */
.manageFeatures .table.tablesorter-bootstrap > tbody > tr.success > td {
  background-color: #dff0d8;
}
.manageFeatures .tablesorter-bootstrap .tablesorter-header.sorter-false {
  cursor: default;
}
.manageFeatures .tablesorter-bootstrap .tablesorter-header-inner {
  padding: 0 18px 0 0;
}
.manageFeatures .tablesorter-bootstrap .sorter-false .tablesorter-header-inner {
  padding: 0;
}
.manageFeatures .tablesorter-bootstrap tfoot td,
.manageFeatures .tablesorter-bootstrap tfoot th,
.manageFeatures .tablesorter-bootstrap thead td,
.manageFeatures .tablesorter-bootstrap thead th {
  background-color: #fff;
}

@media screen and (max-width: 767px) {
  .manageFeatures .table-responsive-rounded {
    border-radius: 4px 4px 0 0;
  }

  .manageFeatures .table caption {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
  }

  .manageFeatures .table .caption-other {
    border-bottom: 1px solid #ddd;
  }
}

/* Features - Delete Featured Article Page ------------------------------------ */
.deleteFeaturedArticleWarning .well-sm > h3,
.deleteFeaturedArticleWarning .well-sm > h4 {
  margin-top: 0;
}

.deleteFeaturedArticleWarning td > .btn {
  margin-right: 1em;
}

.deleteFeaturedArticleWarning td > .btn.disabled {
  opacity: 1;
}

.deleteFeaturedArticleWarning td > .text-danger {
  font-weight: bold;
  margin: 0 1em 0 .5em;
}

/* Sections - Manage Sections page -------------------------------------------- */
.manage-sections-form .legend .border {
  width: 1.75rem;
}

.manage-sections-form .includeSub { background-color: #bde5b0; }
.manage-sections-form .assigned   { background-color: #d7e4f0; }
.manage-sections-form .legend .subs       { background: #fff url(/vimages/backend/socs/sprite_treeview.png) no-repeat -1px -282px; }

.manage-sections-form ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.manage-sections-form li {
  background: transparent url(/vimages/backend/socs/treeviewDash.png) repeat-y;
  line-height: 28px;
  margin: 0;
  padding: 0 0 0 28px;
}

.manage-sections-form .lastLeaf { background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -392px; }

.manage-sections-form .toggle {
  background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -364px;
  float: left;
  height: 28px;
  margin-left: -28px;
  width: 28px;
}

.manage-sections-form .toggle a, .manage-sections-form .toggle span {
  display: block;
  text-decoration: none;
}

.manage-sections-form .section-list .collapsed       { background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -168px; }
.manage-sections-form .section-list .collapsed:hover { background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -196px; }
.manage-sections-form .section-list .expanded        { background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -224px; }
.manage-sections-form .section-list .expanded:hover  { background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -252px; }
.manage-sections-form .section-list .subs            { background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -280px; }
.manage-sections-form .section-list .subs:hover      { background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat 0 -308px; }

.manage-sections-form .sectionName {
  position: relative;
}

.manage-sections-form .sectionName .includeSub {
  border-right: 1px solid #99bbd9;
  height: 28px;
  position: absolute;
  width: 28px;
  transition: .3s all ease;
}

.manage-sections-form .sectionName input {
  margin: 0 13px 0 8px;
  padding: 0;
  position: relative;
  vertical-align: middle;
}

.manage-sections-form .sectionName a {
  color: #000;
  display: inline-block;
  outline: transparent;
  padding: 0 8px;
  text-decoration: none;
  transition: .3s all ease;
}

.manage-sections-form .limited .sectionName a {
  padding-left: 0;
}

.manage-sections-form .sectionName a:hover,
.manage-sections-form .sectionName .assigned:hover,
.manage-sections-form .sectionName .selected {
  background-color: #99bbd9;
}

.manage-sections-form .sectionName a:hover .includeSub {
  background-color: #9dd889;
}

.manage-sections-form .secIconContainer {
  float: right;
  margin-left: 1em;
}

.manage-sections-form .secIcon {
  background: transparent url(/vimages/backend/socs/sprite_treeview.png) no-repeat;
  float: left;
  height: 28px;
  width: 24px;
  transition: .3s all ease;
}

.manage-sections-form .secIcon:hover {
  background-color: #73a3cc;
}

.manage-sections-form .secView    { background-position: -2px 0; }
.manage-sections-form .secAdd     { background-position: -2px -28px; }
.manage-sections-form .secEdit    { background-position: -2px -56px; }
.manage-sections-form .secDelete  { background-position: -2px -84px; }
.manage-sections-form .secMove    { background-position: -2px -112px; }
.manage-sections-form .secReorder { background-position: -2px -140px; }

/* Generic rules for the home-made "popover" dialog --------------------------- */
.cs-popover {
  background-color: #fff;
  border: 1px solid #aaa;
  -webkit-border-radius: 3px;
          border-radius: 3px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
  margin: 20px auto;
  padding: 20px;
  position: relative;
}

.cs-popover .mfp-close {
  height: 25px;
  line-height: 25px;
  width: 25px;
}

/* Magnific Popup override - lighten overlay */
.mfp-bg.mfp-overlay-lite {
  opacity: 0.4;
  filter: alpha(opacity=40);
}

/* Magnific Popup - animate transitions between images with a fadeIn effect */
@-webkit-keyframes articleGalleryFadeIn {
  0% {opacity: 0;}  
  100% {opacity: 1;}
}

@-moz-keyframes articleGalleryFadeIn {
  0% {opacity: 0;}  
  100% {opacity: 1;}
}

@-o-keyframes articleGalleryFadeIn {
  0% {opacity: 0;}  
  100% {opacity: 1;}
}

@keyframes articleGalleryFadeIn {
  0% {opacity: 0;}  
  100% {opacity: 1;}
}

.mfp-open .mfp-figure {
  -webkit-animation: articleGalleryFadeIn .5s normal both;
     -moz-animation: articleGalleryFadeIn .5s normal both;
       -o-animation: articleGalleryFadeIn .5s normal both;
          animation: articleGalleryFadeIn .5s normal both;
}

/* articleRecForm -------------------------------------------------------------- */
.artrecform-select .bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
  right: auto;
  left: 8px;
}

.artrecform-select .bootstrap-select.show-tick .dropdown-menu li a span.text {
  margin-right: 0;
  margin-left: 10px;
}

.artrecform-select .bs-actionsbox .btn-group button {
  width: auto;
}

.artrecform-select .bootstrap-select .dropdown-menu {
  z-index: 10000;
}

/* Notifications -------------------------------------------------------------- */
.cs-errors {
  background-color: #faeae6;
  border: 1px solid #9e2a3f;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  color: #5d0f12;
  font-weight: normal;
  padding: .5em;
}

.cs-action-notes {
  background-color: #c9e4c3;
  border: 1px solid #4c8b3f;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  font-size: 12px;
  list-style-type: none;
  margin: 1em auto;
  max-width: 270px;
  padding: .75em;
}

.cs-action-notes li {
  margin: .3em 0 0;
}

.cs-action-notes li:first-child {
  margin-top: 0;
}

.cs-action-notes span {
  float: right;
}

/* Button Menus (e.g. Articles) ----------------------------------------------- */
.cs-btn-menu {
  margin: 0 auto;
  max-width: 350px;
  min-width: 230px;
}

.cs-btn-menu-box {
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  margin: 2em 0;
  padding: 1em;
}

.cs-btn-menu-box > h2 {
  font-size: 16px;
  font-weight: normal;
  height: 16px;
  line-height: 17px;
  margin: 0 0 1.2em;
}

.cs-btn-menu-box ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.cs-btn-menu-box li {
  margin: .75em 0 0;
}

.cs-btn-menu-box li.separator {
  margin-top: 2em;
}

/* Make all buttons the same width on main menu pages */
.cs-btn-menu .btn {
  width: 85%;
}

/* Misc ----------------------------------------------------------------------- */
.form-buttons {
  margin: 1em 0 2em;
  text-align: center;
}

/* Utilities ------------------------------------------------------------------ */
.clearfix:before,
.clearfix:after {
  display: table;
  content: " ";
}
.clearfix:after {
  clear: both;
}

/* Overrides ------------------------------------------------------------------ */

/* Magnific Popup - need more on right of caption to keep it off the counter */
.mfp-title { padding-right: 45px; }


/* Media Queries -------------------------------------------------------------- */
@media only screen and (min-width: 20em) { /* 320px /  16 = 20em */

  .cs-action-notes { font-size: 13px; width: 90%; }

}

@media only screen and (min-width: 22.5em) { /* 360px */

  .cs-signin-box .cs-signin-btn {
    margin: 0 1em 1em 0;
    width: auto;
  }

  .cs-signin-btns .cs-signin-btn {
    margin: 0 0 0 1em;
    width: auto;
  }

  .cs-signin-btns .cs-signin-btn:first-child { margin-left: 0; }

}

@media only screen and (min-width: 30em) { /* 480px */

  /* Articles - Gallery/Images Page ------------------------------------------- */
  /* Add Images lightbox - upload preview thumbnails */
  #ig-add-images .col-xs-4 { width: 33.33333333%; }

  #ig-add-images .fileupload-buttonbar .btn {
    display: inline-block;
    margin-left: 1em;
    padding: 6px 12px;
    width: auto;
  }
  #ig-add-images .fileupload-buttonbar .btn:first-child { margin-left: 0; }

}

@media only screen and (min-width: 48em) { /* 768px */

  /* Misc --------------------------------------------------------------------- */
  .form-buttons .btn.btn-block {
    display: inline-block;
    margin: 0 0 0 1em;
    padding: 6px 12px;
    width: auto;
  }
  .form-buttons .btn.btn-block:first-child  { margin-left: 0; }

  .b-strap input[type=button].btn-block,
  .b-strap input[type=reset].btn-block,
  .b-strap input[type=submit].btn-block,
  .b-strap .btn-block {
    display: inline-block;
    width: auto;
  }
  .b-strap .btn-block + .btn-block {
    margin: 0 0 0 5px;
  }

  /* Articles - Gallery/Images Page --------------------------------------------- */
  #image-galleries .col-sm-2 .btn-ig-add {
    margin-top: 17px;
  }

  /* Add Images lightbox - upload preview thumbnails */
  #ig-add-images .col-sm-3 { width: 25%; }

}

/* Bootstrap v4.x -------------------------------------------------------------
 * All pages using v4.x will have a "bs-4" class in the <html> tag.

/* "Cards" to replace "cs-btn-menu" and "cs-action-notes" homegrown components */
.bs-4 .card-action-notes-lg {
  max-width: 50rem;
}
.bs-4 .card-action-notes {
  max-width: 40rem;
}
.bs-4 .card-action-notes-sm {
  font-size: .875rem;
  max-width: 18rem;
}

.bs-4 .card-action-notes .list-group-item {
  border: 0;
  padding: .15rem .5rem;
}

.bs-4 .card-main-menu {
  max-width: 25rem;
}

