/* Louisville Medical Students - site styles */

:root {
  font-size: 10px;
  scroll-behavior: auto;
}
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.428571429;
  color: #333;
}
a {
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}
.pagination {
  display: inline-block;
  margin: 20px 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  margin-top: 10px;
  margin-bottom: 10px;
}
h1,
h2,
h3 {
  margin-top: 20px;
}
input,
button,
select,
textarea {
  color: inherit;
}
.container {
  max-width: none;
  padding-left: 15px;
  padding-right: 15px;
}
.container::before,
.container::after {
  display: table;
  content: " ";
}
.container::after {
  clear: both;
}
td,
th {
  padding: 0;
}
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* ==========================================================================
   Site-wide tweaks (from 1st_load_framework.css.scss)
   ========================================================================== */

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
section {
  margin-top: 20px;
}

/* ==========================================================================
   customV2.css
   ========================================================================== */

.print-only {
  display: none;
}
form,
fieldset,
legend,
label,
input {
  margin: 0;
  padding: 0;
}
p,
ul li,
ol li {
  font-size: 100%;
}
a {
  color: #00788a;
  background-color: transparent;
}
a:hover {
  color: #004963;
  background-color: transparent;
}
.pagination > li > a,
.pagination > li > span {
  color: #00788a;
  background-color: transparent;
}
#systemTitle,
#systemTitleMobile {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  font-weight: bold;
}
#systemTitle a,
#systemTitleMobile a {
  color: #333;
  text-decoration: none;
  transition: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}
#about p {
  color: #555;
}
#searchResults h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #004963;
}
.section {
  padding: 5rem 0;
}
#names {
  padding: 0 2rem;
}
@media (max-width: 767px) {
  #systemTitle,
  #systemTitleMobile {
    margin-top: 1rem;
  }
}
@media (min-width: 768px) {
  #searchResults {
    background-color: white;
    color: #333;
  }
  #searchResults .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
  }
  #searchResults .school {
    width: 10rem;
    color: #333;
  }
}
@media (min-width: 980px) {
  .section {
    padding: 2rem 0;
  }
  #names {
    column-count: 2;
    padding: 0 4rem;
  }
}

/* ==========================================================================
   home.css
   ========================================================================== */
@media (max-width: 768px) {
  .docRow a {
    display: inherit;
  }
}

/* ==========================================================================
   person.css
   ========================================================================== */

#person h1 {
  font-size: 1.8rem;
  color: #00788a;
}
#person h2 {
  font-size: 1.5rem;
}
#person {
  margin-bottom: 2rem;
  padding: 0;
}
#person .section {
  margin-top: 1rem;
  padding: 0;
}
#person a {
  color: #ad0000;
  text-decoration: underline;
}
#person .field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 1rem;
}
#person .fieldTitle {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 1rem 0 0;
}
#person .data {
  font-size: 1.5rem;
  margin: 0 1rem 0 0;
}
#name .data {
  font-weight: bold;
}
.data.year {
  margin-right: 1rem;
}
#education {
  margin-left: 1rem;
}
#photos {
  margin: 1rem !important;
}
@media (max-width: 767.98px) {
  h1 {
    margin-top: 2rem;
  }
}
@media (min-width: 768px) {
  .fieldTitle {
    min-width: 15rem;
  }
  #education .fieldTitle {
    min-width: calc(15rem - 2rem);
  }
  #education .field {
    margin-left: 2rem;
  }
}

/* ==========================================================================
   results.css
   ========================================================================== */
#searchResults .lastName::after,
#searchResults .lastName:after {
  content: ",";
}
#searchResults .school1name,
#searchResults .school2name,
#searchResults .school3name {
  margin-left: 1rem;
}
@media (min-width: 481px) and (max-width: 767.98px) {
  #searchResults .field {
    display: flex;
  }
}
@media (min-width: 768px) {
  #searchResults {
    background-color: white;
    color: #333;
    margin-top: 3rem;
  }
  #searchResults .container {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
  }
  #searchResults .school {
    width: 10rem;
    color: #333;
  }
}

/* ==========================================================================
   scaffolds.scss
   ========================================================================== */

body {
  background-color: #fff;
  color: #333;
  margin: 33px;
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px;
}
p,
ol,
ul,
td {
  font-family: verdana, arial, helvetica, sans-serif;
  font-size: 13px;
  line-height: 18px;
}
pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}
a {
  color: #000;
}
a:visited {
  color: #666;
}
a:hover {
  color: #fff;
  background-color: #000;
}
th {
  padding-bottom: 5px;
}
td {
  padding: 0 5px 7px;
}
div.field {
  margin-bottom: 10px;
}
label {
  display: block;
}

/* ==========================================================================
   searchForm.css
   ========================================================================== */

#search {
  background-color: aliceblue;
  padding: 1rem;
  border: 1px solid #ccc;
}
#searchForm {
  margin-bottom: 1rem;
}
#searchForm form {
  display: flex;
  justify-content: space-between;
}
#searchForm input,
#searchForm button {
  height: 3rem;
}
#searchForm input[type="text"] {
  cursor: pointer;
  padding-right: 1rem;
  padding-left: 1rem;
  width: calc(100% - 3rem);
  border-bottom: 1px solid #bbb;
  background: #fff;
  font-size: 1.2rem;
}
#searchForm input[type="submit"],
#searchForm button {
  display: flex;
  align-self: center;
  width: 30px !important;
  color: transparent;
  background-color: #004963;
  border: none;
  padding: 0;
}
#searchForm i.fa {
  font-size: 1.8rem;
  color: white;
  background-color: #00788a;
  padding: 0.5rem;
}
:focus {
  outline-width: thin;
}
#schoolWrap label {
  font-weight: normal;
}
#schoolWrap a {
  color: #00788a;
}
#searchResults h2 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 767.98px) {
  #schoolWrap label {
    margin-left: 2rem;
  }
  #showOnly {
    margin-bottom: 2rem;
  }
}
@media (min-width: 768px) {
  #search {
    margin: 2rem;
  }
}

/* ==========================================================================
   style.css
   ========================================================================== */

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.618;
  margin: 0;
}
form,
fieldset,
legend,
label,
input,
ul {
  margin: 0;
  padding: 0;
}
p,
ul li,
ol li {
  font-size: 100%;
}
a {
  color: #324a5e;
  background-color: transparent;
}
a:hover {
  color: #004963;
  background-color: transparent;
}
::-webkit-input-placeholder {
  font-size: 1.5rem;
}
::-moz-placeholder {
  font-size: 1.5rem;
}
:-ms-input-placeholder {
  font-size: 1.5rem;
}
:-moz-placeholder {
  font-size: 1.5rem;
}
#footer {
  background-color: #333;
  color: white;
  padding: 1rem;
}
#footer a {
  color: white;
}
#footer p,
#footer ul {
  margin-bottom: 0.5rem;
  text-align: center;
}
#footer ul {
  list-style-type: none;
}
i.fa.fa-phone {
  transform: rotate(90deg);
}
#systemTitle a,
#systemTitleMobile a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}
h1 {
  font-size: 2rem;
  font-weight: 600;
}
h2 {
  font-size: 1.8rem;
  font-weight: 600;
}
.section {
  padding: 3rem 16px;
}
#atoz {
  margin-bottom: 2rem;
}
#alpha {
  border: 1px solid #004963;
  background-color: #00788a;
  color: white;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
#alpha a {
  background-color: #00788a;
  color: white;
  padding: 0.3rem 0.5rem;
  text-transform: capitalize;
}
#alpha a:hover {
  background-color: #004963;
  color: white;
  text-decoration: none;
}
#resultsTable {
  width: 100%;
}
#showOnly {
  margin-top: 2rem;
}
@media screen {
  .print-only {
    display: none;
  }
}
@media (max-width: 767.98px) {
  #brand.desktop {
    display: none;
  }
  .section {
    margin-bottom: 0.5rem;
  }
  #brand,
  #footer {
    margin: 2rem auto;
  }
  #systemTitle,
  #systemTitleMobile {
    text-align: center;
    margin: 1rem;
    font-size: inherit;
  }
  #systemTitle a,
  #systemTitleMobile a {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  main {
    margin: 1rem 2rem;
  }
  #content2.container {
    padding-left: 0;
    padding-right: 0;
  }
  .mobile #logo {
    text-align: center;
    background-color: #ad0000;
    color: #ffffff;
    padding: 1rem 2rem;
  }
  #resultsTable thead tr,
  tr.docRow {
    display: flex;
  }
  #resultsTable th:nth-of-type(1),
  #resultsTable td:nth-of-type(1),
  #resultsTable td:nth-of-type(2) {
    display: flex;
  }
  #resultsTable th,
  #resultsTable td {
    font-size: 1.5rem;
  }
  #resultsTable th:nth-of-type(3),
  #resultsTable th:nth-of-type(4),
  #resultsTable td:nth-of-type(3),
  #resultsTable td:nth-of-type(4) {
    display: none;
  }
  #resultsTable .firstName:after,
  #resultsTable th:nth-of-type(1):after {
    content: "\003a";
  }
  #searchResults .school1name {
    margin-left: 0.5rem;
  }
  #resultsTable .firstName,
  #resultsTable th:nth-of-type(2),
  #resultsTable th:nth-of-type(5) {
    margin-left: 0.5rem;
  }
  #resultsTable tbody td:nth-of-type(1):before {
    content: "\2666";
    font-size: 1.5rem;
    padding-right: 0.3rem;
  }
  #resultsTable td:nth-of-type(5),
  #resultsTable th:nth-of-type(5) {
    color: #e36f1e;
  }
  #resultsTable a {
    border-bottom: 1px solid #324a5e;
  }
  #resultsTable a:hover {
    text-decoration: none;
    color: #fff;
    background-color: #324a5e;
  }
  #breadcrumbs {
    display: none;
  }
}
@media (min-width: 768px) {
  .mobile {
    display: none;
  }
  .desktop.container {
    margin-top: 3rem;
  }
  body {
    background-color: #fff;
  }
  #brand {
    margin: 1rem;
  }
  #logos {
    float: left;
    display: flex;
  }
  #systemTitle,
  #systemTitleMobile {
    float: right;
    text-align: right;
    margin: 0;
  }
  #systemTitle a,
  #systemTitleMobile a {
    font-size: 36px;
    line-height: 1.1;
  }
  #breadcrumbs {
    margin: 1rem;
  }
  .section {
    padding: 3rem;
  }
  #bread ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding-left: 0;
    font-size: 1rem;
  }
  #bread li {
    margin-right: 0.2rem;
  }
  #bread li a {
    color: #ad0000;
    text-decoration: underline;
  }
  #aboutProject {
    margin: 0 2rem 2rem 2rem;
  }
  #schoolWrap legend {
    border-bottom: 0;
    font-size: 1.5rem;
  }
  ul#legend {
    padding: 0;
    margin-left: 0;
    text-align: center;
  }
  ul#legend > li {
    display: inline-block;
    white-space: nowrap;
    font-size: 1.2rem;
  }
  ul#legend {
    padding: 0;
    margin-left: 0;
  }
  ul#legend > li + li:before {
    padding: 0 1rem;
    color: #ccc;
    content: "/\2002";
  }
  .init {
    font-weight: bold;
  }
  #aboutWrap {
    margin-bottom: 2rem;
  }
  #aboutProject a {
    color: #ad0000;
    text-decoration: underline;
  }
  ul#schoolDesc li {
    margin-bottom: 1rem;
  }
  #searchResults {
    display: flex;
    margin-top: 2rem;
    padding-top: 1rem;
  }
  #sidebar {
    width: 60rem;
  }
  #showOnly {
    margin: 4rem 1rem;
  }
  #showOnly input {
    margin-right: 0.5rem;
  }
  #searchResults .container {
    border-left: 0;
    border-top: 0;
  }
  #atoz {
    margin-bottom: 2rem;
  }
  #alpha {
    justify-content: space-evenly;
  }
  #footer {
    margin: 0;
  }
  #footer li {
    display: inline;
  }
  #footer li:after {
    content: " | ";
  }
  #footer li:last-child:after {
    content: " ";
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #alpha {
    flex-wrap: wrap;
  }
}
@media (min-width: 1200px) {
  body {
    margin: 0 auto;
  }
  #brand,
  #content {
    margin: 2rem;
    width: auto;
  }
  #contactLibs {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #footer ul {
    max-width: 65rem;
    display: flex;
    justify-content: space-evenly;
  }
  #footer ul:first-of-type a {
    margin-right: 2rem;
  }
  #footer ul:last-child li:after {
    content: none;
  }
  #footer ul li {
    margin-left: 2rem;
  }
  #footer ul li:first-child {
    margin-left: 0;
  }
}
@media print {
  .print-only {
    display: block;
  }
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }
  #container {
    width: auto;
    border: 0;
    margin: 0 5%;
    padding: 0;
  }
  a[href]:after {
    content: none;
  }
  h2 {
    font-size: 20pt;
    line-height: 1.5;
  }
  #footer {
    border-bottom: none;
  }
  #printURL {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-size: 10pt;
  }
}

/* ==========================================================================
   table.css
   ========================================================================== */

@media (min-width: 768px) {
  #resultsTable {
    border: 1px solid #ccc;
    width: 100%;
  }
  #resultsTable th {
    font-size: 15px;
  }
  #resultsTable > tbody > tr:nth-of-type(odd) {
    background-color: rgba(0, 120, 138, 0.1);
  }
  #resultsTable > tbody > tr > td,
  #resultsTable > tbody > tr > th,
  #resultsTable > thead > tr > td,
  #resultsTable > thead > tr > th {
    padding: 0.5rem 1rem;
    line-height: 1.42;
    vertical-align: top;
    border-top: 1px solid #ddd;
  }
  #resultsTable > tbody > tr:hover {
    background-color: #faf3d0;
  }
  #resultsTable a {
    color: #ad0000;
    text-decoration: underline;
  }
}
