/*
Theme Name: UDLibrary-Mobile
Theme URI: https://github.com/tidythemes/blankslate
Author: University of Delaware Library, Museums and Press
Author: TidyThemes
Author URI: http://tidythemes.com/
Description: Based on Blankslate template. Developed for use as an interface with UDConnect, the University of Delaware Mobile App
Version: 1.0
Requires at least: 5.2
Tested up to: 5.9
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
*/

@import url('css/fonts.css');
@import url('css/toggle.css');

/* START Blankslate Theme CSS */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{
  margin:0;
  padding:0;
  border:0;
  vertical-align:baseline;
}

html{scroll-behavior:smooth}
body{line-height:1}
a{text-decoration-skip-ink:auto}
a[href^="tel"]{color:inherit;text-decoration:none}
button{outline:0}
ol,ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{
  content:'';content:none
}
q{display:inline;font-style:italic}
q:before{content:'"';font-style:normal}
q:after{content:'"';font-style:normal}
textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{
  -webkit-appearance:none;appearance:none;border-radius:0
}
input[type="search"]{-webkit-appearance:textfield}
table{border-collapse:collapse;border-spacing:0}
th,td{padding:2px}
big{font-size:120%}
small,sup,sub{font-size:80%}
sup{vertical-align:super}
sub{vertical-align:sub}
dd{margin-left:20px}
kbd,tt{font-family:courier;font-size:12px}
ins{text-decoration:underline}
del,strike,s{text-decoration:line-through}
dt{font-weight:bold}
address,cite,var{font-style:italic}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;background-color: #eee;}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal
}
.screen-reader-text:focus{
  background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000
}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){
  position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap
}
/* END Blankslate Theme CSS */

:root {
    font-size: 75%; /* this resets the font scale to 1 rem = 12 px */

    /* let's define all of our custom colors!
       now you can just use "color: var(--color-blue-med);"
       to call that variable's stored hex code */
    --color-blue-med:    #00539f;
    --color-blue-dark:   #003c71;
    --color-blue-light:  #00a0df;
    --color-gold:        #ffd200;
    --color-gold-pale:   #eee8c5;
    --color-gray-light:  #e5e9ed;
    --color-gray-med:    #bdbdbd;
}

body {
    line-height: 1.25;
    font-size: calc(1.375rem + 0.125vw);
    font-family: 'greycliff_regular';
    background-color: #eee;
}

#libchat_3de08b18c413ccba0d77b1a809456768 .lci_chat_load {
    background-color: #eee;
}

p {
  line-height: 1.25;
  font-size: calc(1.375rem + 0.125vw);
  font-family: 'greycliff_regular';
  margin-bottom: 1rem;
}

a {
  color: var(--color-blue-med);
  text-decoration: underline;
}

a:hover {
  font-weight: bold;
}

a:visited {

}

h1, h2, h3, h4 {
    color:          var(--color-blue-med);
    line-height:    1;
}

h1 {
    font-size: 3.7rem;
    font-family:    'vanguard_demi';
    margin-top: 0px;
    margin-bottom: calc(1.25rem + 3vmin);
}

h2 {
    font-size: calc(1.5rem + 1.375vmin);
    font-family:    'greycliff_bold';
    text-transform: uppercase;
    margin-top: calc(1.5rem + 3vmin);
    margin-bottom: 0.875em;
}

h3 {
  font-family: 'greycliff_bold';
  line-height: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  background: var(--color-blue-med);
  color: var(--color-gold);
  font-size: calc(1.5rem + 0.125vw);
  text-transform: uppercase;
  padding: 1rem 1.5rem;
}

h4 {
  color: var(--color-blue-dark);
    font-size: calc(1.65rem + 0.125vw);
    font-family:    'greycliff_bold';
    margin-top: calc(1.25rem + 3vmin);
    margin-bottom: calc(1rem + 1vmin);
}

main {
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* UDConnect Elements CSS */
ul {
  list-style: disc;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

ol {
  list-style: decimal;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
}

ol li {
  margin-bottom: 1rem;
}

ul li::marker {
   color: var(--color-blue-med);
   font-size: 150%;
}

ol li::marker {
   color: var(--color-blue-med);
   font-family: 'greycliff_bold';
}

li ul, li ol {
  background-color: var(--color-gray-light);
  padding: 1rem;
  padding-bottom: .5rem;
  padding-left: 3rem;
  border-radius: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

li ul li, li ol li {
  margin-bottom: 0.75rem;
}

hr {
    margin-top: 3rem;
    border-color: var(--color-gold);
    border-width: 1px;
    border-style: dashed;
}

table {
  display: block;
  width: 100%;
  background-color: #fff;
  padding: 1em;
  border-radius: 1rem;
  margin-top: 1em;
  margin-bottom: 1.5em;
}

td {
  padding: .5rem;
}

.aligncenter {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  height: auto;
}

button {
  background-color: #00539f;
  padding: 0.3em 1.2em;
  border: none;
  font-family: 'greycliff_semibold';
  font-size: 1.5em;
  display: block;
  margin: 0;
  margin-top: 1rem;
  width: 100%;
  color: #fff;
}

.btn {
  background-color: #00539f;
  border-radius: 3em;
  padding: 0.4em 1.2em;
  border: none;
  font-family: 'greycliff_semibold';
  font-size: 1.1em;
  display: block;
  margin: 0;
  margin-top: 1rem;
  width: 100%;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.btn-sm {
  display: flex;
  width: auto;
  font-size: .9em;
  padding: 0.3em 1em;
  margin-right: 0.5em;
}

.linea-svg-inner {
    background: var(--color-blue-light);
    width: 25px !important;
    height: 25px !important;
    border-radius: 2rem;
    box-sizing: border-box;
    overflow: visible;
    margin: 3px;
    margin-right: 8px;
}

svg {
    stroke: #fff;
    stroke-width: 0.35rem;
    height: 100%;
    width: 100%;
    padding: 0.3em;
    overflow: visible !important;
}

/* UDConnect Header CSS */
#udc-header {
}

#app-title {
  background-color: var(--color-blue-med);
  display: block;
}

.app-title-content {
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.375em;
  padding-bottom: 0.375em;
}

.app-title-content .left, .app-title-content .right {
  font-family:    'greycliff_bold';
  font-size: calc(1.5rem + 0.125vw);
  display: inline-block;
}

.app-title-content .left {
  color: #fff;
}

.app-title-content .right {
  color: var(--color-gold);
}

header a {
    color: #fff;
    text-decoration: none;
}

#app-subtitle {
  background-color: var(--color-blue-dark);
  display: block;
}

#app-subtitle a {
    color: #fff;
    text-decoration: none;
}

.app-subtitle-content {
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0.4em;
  padding-bottom: 0.475em;
  font-size: calc(1.5rem + 0.125vw);
  font-family:    'greycliff_semibold';
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.1rem;
}

.app-subtitle-content a {
    color: #fff;
    text-decoration: none;
}

header #app-subtitle a {
    color: #fff;
    text-decoration: none;
}

header #app-subtitle .app-subtitle-content a {
    color: #fff;
    text-decoration: none;
}

/* UDConnect Footer CSS */
#udc-footer {
  background-color: var(--color-blue-dark);
}

#udc-footer-content {
  width: 88%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.25em;
  padding-bottom: 1.5em;
  color: #fff;
  font-size: calc(1.25rem + 0.125vw);
}

#udc-footer-content .footer-name {
  font-family: "greycliff_semibold";
  color: var(--color-gold);
  font-size: calc(1.5rem + 0.125vw);
  margin-top: 0px;
  margin-bottom: calc(0.25rem + 1vmin);
}

#udc-footer-content .footer-name a {
  color: var(--color-gold);
  text-decoration: none;
}

#udc-footer-content .footer-name a:hover {
  text-decoration: underline;
}

#udc-footer-content .footer-address {

}

/* Home Page Icons */
.icon-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.icon-list .icon {
    flex-basis: 45%;
}

.icon-list .icon a {
    text-decoration: none;
}

.icon-list .icon a:hover {
    text-decoration: underline;
}

.icon-list .icon img {
    width: 100%;
    height: auto;
}

.icon-list .icon h2 {
    text-align: center;
    justify-content: center;
    margin-top: 0.5em;
    margin-bottom: 1.25em;
    font-size: calc(1.2rem + 0.5vmin);
    text-transform: none;
}

.icon-list .icon p {
    margin: 0px;
}

@media screen and (max-width:900px) {

  .aligncenter {
    width: 80%;
  }

}

@media screen and (max-width:640px) {

  .aligncenter {
    width: 100%;
  }

}
