/* MODULES AND VARIABLES */
/* IMPORTS ALL MODULES */
/* DEFAULT COLOR VARIABLES */
/* THIS DOES NOT OUTPUT CSS IT IS FOR DEFINITIONS ONLY*/
/* DEFAULT PALETTE

Green 		- rgba(100,142,56,1); - mTABView
Blue 			- rgba(0,114,174,1) - mTAB
Burgundy 	- rgba(150,0,60,1) - Gamma

Purple 		- rgba(145,38,143,1) - Interactive
Light 		- #cb39c8;
Dark 			-	#541653;

*/
/* BACKGROUNDS */
/* OTHER VARIABLES */
/* SUCH AS MARGINS, PADDING, BORDERS ETC */
/* THIS DOES NOT OUTPUT CSS IT IS FOR DEFINITIONS ONLY*/
/* MIXINS FOR DEFINING RECURRING PROPERTIES */
/* OTHER HELPER PROPERTIES AND CLASSES */
html {
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

.fa {
  margin-right: .25em;
}

.hidden {
  display: none;
}

::-webkit-input-placeholder {
  color: rgba(255, 255, 255, 0.75);
}

:-moz-placeholder {
  color: rgba(255, 255, 255, 0.75);
}

::-moz-placeholder {
  color: rgba(255, 255, 255, 0.75);
}

:-ms-input-placeholder {
  color: rgba(255, 255, 255, 0.75);
}

/* includes all modules */
/* RESET*/
/*! normalize.META-INF.css v2.0.1 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/*
 * Corrects `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section,
summary {
  display: block;
}

/*
 * Corrects `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
  display: inline-block;
}

/*
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/*
 * Addresses styling for `hidden` attribute not present in IE 8/9.
 */
[hidden] {
  display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */
/*
 * 1. Sets default font family to sans-serif.
 * 2. Prevents iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */
}

/*
 * Removes default margin.
 */
body {
  margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */
/*
 * Addresses `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  /*outline: thin dotted;*/
}

/*
 * Improves readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
/*
 * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
 * Safari 5, and Chrome.
 */
h1 {
  font-size: 2em;
}

/*
 * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/*
 * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/*
 * Addresses styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}

/*
 * Addresses styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/*
 * Corrects font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}

/*
 * Improves readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/*
 * Sets consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

/*
 * Addresses inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/*
 * Prevents `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/*
 * Removes border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}

/*
 * Corrects overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */
/*
 * Addresses margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/*
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/*
 * 1. Corrects color not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/*
 * 1. Corrects font family not being inherited in all browsers.
 * 2. Corrects font size not being inherited in all browsers.
 * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */
}

/*
 * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/*
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Corrects inability to style clickable `input` types in iOS.
 * 3. Improves usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
}

/*
 * Re-set default cursor for disabled elements.
 */
button[disabled],
input[disabled] {
  cursor: default;
}

/*
 * 1. Addresses box sizing set to `content-box` in IE 8/9.
 * 2. Removes excess padding in IE 8/9.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/*
 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  /* 2 */
  box-sizing: content-box;
}

/*
 * Removes inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
 * Removes inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE 8/9.
 * 2. Improves readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */
/*
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* NEXT IMPORT FOR ALL PAGE LAYOUT PARTS */
/* PARTIALS */
/* STYLING FOR THE OVERALL PAGE & PAGE LIKE SECTIONS- NO SUB-ELEMENTS */
html, body {
  height: 100%;
  font-size: 16px;
  line-height: 1.2em;
}

body {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  min-height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: scroll;
  font-family: 'Open Sans', 'Segoe UI', sans-serif;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  background: black;
}

body.landing {
  background-image: url(../img/textures/squared_metal.png);
  background-repeat: repeat;
}

section {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 40px;
}

/* the page background */
/* THE HEADER */
/* LANDING PAGE */
header {
  transform: translateZ(0);
  position: fixed;
  top: 0;
  left: 0;
  height: 75px;
  width: 100%;
  text-align: center;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #333;
  padding-left: 8px;
  border: none;
  border-width: 0;
  border-top-width: 8px;
  border-style: solid;
  border-top-color: #0073AE;
  z-index: 25;
}

header nav {
  margin-left: auto;
  margin-right: 8px;
}

header nav ul.nav-header {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
}

ul.nav-header a {
  position: relative;
  color: white;
  text-decoration: none;
  margin: 0 8px;
  position: relative;
}

ul.nav-header a::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  -webkit-transform: scaleX(0);
      -ms-transform: scaleX(0);
          transform: scaleX(0);
  transition: -webkit-transform .25s ease;
  transition: transform .25s ease;
  transition: transform .25s ease, -webkit-transform .25s ease;
}

ul.nav-header a:hover::after {
  -webkit-transform: scaleX(1);
      -ms-transform: scaleX(1);
          transform: scaleX(1);
}

/* the header */
/* LOGIN & PASSWORD PAGES */
.login {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  background-repeat: no-repeat;
  background-size: auto 100%;
  color: white;
}

/* BACKGROUND IMAGES */
.login::after {
  content: "";
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: -1;
}

.lightbulb .login::after {
  background-image: url(../img/backgrounds/lightbulb.jpg);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: top right;
  -webkit-filter: hue-rotate(0deg);
          filter: hue-rotate(0deg);
  -webkit-animation: rainbow 10s infinite;
          animation: rainbow 10s infinite;
}

.albert .login::after {
  background-image: url(../img/backgrounds/albert-einstein.png);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: top right;
  -webkit-filter: sepia(100%) hue-rotate(270deg);
          filter: sepia(100%) hue-rotate(270deg);
}

.numbers .login::after {
  background-image: url(../img/backgrounds/numbers.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  -webkit-filter: hue-rotate(0deg);
          filter: hue-rotate(0deg);
  -webkit-animation: rainbow 20s infinite;
          animation: rainbow 20s infinite;
}

@-webkit-keyframes rainbow {
  0% {
    -webkit-filter: hue-rotate(0deg);
            filter: hue-rotate(0deg);
  }
  100% {
    -webkit-filter: hue-rotate(360deg);
            filter: hue-rotate(360deg);
  }
}

@keyframes rainbow {
  0% {
    -webkit-filter: hue-rotate(0deg);
            filter: hue-rotate(0deg);
  }
  100% {
    -webkit-filter: hue-rotate(360deg);
            filter: hue-rotate(360deg);
  }
}

/* LOGIN PAGES SLOGAN & INTRO TEXT */
.intro {
  margin-bottom: 1em;
  position: relative;
  color: white;
  text-shadow: 2px 0px 4px black;
  -webkit-animation: rainbow 20s alternate infinite;
          animation: rainbow 20s alternate infinite;
}

h1 .intro {
  font-size: 4em;
}

h2 .intro {
  font-size: 3em;
}

h3 .intro {
  font-size: 2em;
}

/* LOGIN PAGES FORM WRAP */
.welcome {
  padding: 8px;
}

.login-wrap {
  min-width: 700px;
  padding: 1em;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.25);
  transition: background .5s ease;
  border: 1px solid rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 1240px) {
  .login-wrap {
    background: rgba(0, 0, 0, 0.5);
  }
}

/* LOGIN FORM AND ITS SUB-ELEMENTS*/
.login-form {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 8px;
}

.login-form input,
.login-form button {
  color: white;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  outline: none;
  padding: 8px;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.login-username,
.login-password,
.login-form-actions {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid white;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.login-username,
.login-password {
  -webkit-flex: 2;
      -ms-flex: 2;
          flex: 2;
  margin-right: 1em;
}

.login-form-actions button {
  background: #0073AE;
  padding: 8px 32px;
}

.login-form-actions button:hover {
  background: #00407B;
}

.login-remember {
  padding: 8px;
}

#remember + label i:nth-child(1) {
  display: none;
}

#remember + label i:nth-child(2) {
  display: inline-block;
}

#remember:checked + label ::-moz-selection {
  background: green;
}

#remember:checked + label ::selection {
  background: green;
}

#remember:checked + label i:nth-child(1) {
  display: inline-block;
}

#remember:checked + label i:nth-child(2) {
  display: none;
}

.login-reminder {
  padding: 8px;
}

.login-reminder .login-link-reminder {
  text-decoration: none;
  position: relative;
  margin-right: 8px;
  color: white;
}

.login-reminder .login-link-reminder::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  width: 100%;
  height: 2px;
  background: currentColor;
  -webkit-transform: scaleX(0);
      -ms-transform: scaleX(0);
          transform: scaleX(0);
  transition: -webkit-transform .25s ease;
  transition: transform .25s ease;
  transition: transform .25s ease, -webkit-transform .25s ease;
}

.login-reminder .login-link-reminder:hover::after {
  -webkit-transform: scaleX(1);
      -ms-transform: scaleX(1);
          transform: scaleX(1);
}

/* FORGOT PASSWORD PAGE */
.reset-submitted {
  padding: 8px;
}

/* CHANGE PASSWORD PAGE */
/* the login section*/
/* SEARCHBAR STYLINGS */
.search-sort {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  padding: 8px;
  margin: 100px 40px 0px 40px;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  color: rgba(51, 51, 51, 0.75);
}

.search-sort h3 {
  margin-right: auto;
}

.search-sort button, .search-sort input {
  padding: 4px 8px;
  border: none;
  outline: none;
  border-radius: 2px;
  border: 1px solid #aaa;
  background-color: rgba(255, 255, 255, 0.5);
  color: inherit;
}

.search-sort button:hover, .search-sort input:hover {
  background-color: white;
}

.search-sort input:hover,
.search-sort input:focus {
  background: white;
}

.search-sort button {
  margin-right: 8px;
}

@media screen and (max-width: 760px) {
  .search-sort {
    -webkit-justify-content: end;
        -ms-flex-pack: end;
            justify-content: end;
  }
  .search-sort h3 {
    -webkit-flex: 0 0 100%;
        -ms-flex: 0 0 100%;
            flex: 0 0 100%;
    margin: 0 0 8px 0;
  }
}

.search {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.search label {
  margin-right: 8px;
}

.sorting-options {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

/* the searchbar */
/* THE PRIMARY REPORT LANDING PAGE */
.page-intro {
  height: 75vh;
  background: black;
  border-bottom: 2px solid transparent;
  background-image: url(../img/backgrounds/lightbulb.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top right;
  -webkit-filter: hue-rotate(0deg);
          filter: hue-rotate(0deg);
  -webkit-animation: rainbow 10s infinite;
          animation: rainbow 10s infinite;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  color: white;
}

.page-intro h2 {
  margin: 1em auto;
}

.primary {
  /* 
	@include flex;
	flex-direction:column;  */
  /* removed until Chrome bug removed */
}

/* ThE MAIN STAGE HOLDS THE ROWS */
.main {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  min-height: calc(100vh - 240px);
  /* ugh pending Chrome bug fix */
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
}

/* THE ROWS OF CARDS */
.row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex: 0 0 100%;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  -webkit-justify-content: space-around;
      -ms-flex-pack: distribute;
          justify-content: space-around;
  margin: 8px 0;
}

/* A CARD */
.card {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-flex: 0 0 30%;
      -ms-flex: 0 0 30%;
          flex: 0 0 30%;
  border-radius: 4px;
  padding: 8px;
  background: white;
  position: relative;
  box-shadow: 3px 3px 6px grey;
}

.card:hover {
  box-shadow: 1px 1px 2px grey;
}

unpublish:hover, stats:hover {
    text-decoration: underline;
    cursor: pointer;
}

.card-title {
  -webkit-flex: 0 0 90%;
      -ms-flex: 0 0 90%;
          flex: 0 0 90%;
  white-space: nowrap;
}

.card-title h3 {
  padding: 8px 0;
  padding-right: 24px;
  white-space: normal;
}

.card .updatable{
  position: relative;
  display: inline-block;
  margin-right: 5px;
  top: 6px;
  right: 0px;
  height: 24px;
  width: 24px;
  cursor: pointer;
  vertical-align: top;
  transform-origin: 50% 50%;
}

.card-title h3{
  display:inline-block;
}

.card .updatable.rotation{
  animation: rotate .5s infinite linear both;
}

@keyframes rotate{
  100%{
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}

.report-link {
  text-decoration: none;
  color: black;
}

.report-link:hover {
  color: red;
}

.card-controls {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  jusify-content: space-between;
  position: absolute;
  top: 8px;
  right: 8px;
  line-height: 1em;
  cursor: pointer;
}

.expanded .card-controls .expand-2,
.expanded .card-controls .expand-1 {
  display: none;
}

.regular .card-controls .expand-2,
.regular .card-controls .collapse-2 {
  display: none;
}

.compact .card-controls .collapse-1,
.compact .card-controls .collapse-2 {
  display: none;
}

.card-image-wrap {
  -webkit-flex: 0 0 100%;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  text-align: center;
  display: block;
  /* removed pending Chrome Bug Fix */
  /*
	@include flex;
	justify-content:center;
	align-items:flex-end;
	*/
}

.card-image-wrap img {
  width: 100%;
  max-width: 500px;
  height: auto;
  transtion: all 1s ease;
}

.card-meta {
  display: block;
  -webkit-flex: 0 0 100%;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
  margin-top: auto;
}

.meta {
  display: block;
}

.meta .fa {
  width: 12px;
  text-align: center;
}

/* cards section */
/* THE FOOTER */
/* LOGIN PAGE & FORGOT PASSWORD PAGE */
footer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 75px;
  margin-top: auto;
  position: relative;
  font-size: .8em;
  text-align: center;
  -webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #333;
  border: none;
  border-width: 0;
  border-bottom-width: 8px;
  border-style: solid;
  border-bottom-color: #0073AE;
}

.site-logo {
  position: absolute;
  right: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.site-logo img {
  vertical-align: middle;
}

footer span {
    color: white;
    text-decoration: none;
    font-size: 115%;
    vertical-align: middle;
}

/* the footer */
/* THIRD PARTY  */
