@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto|Montserrat');

/* HEADER STYLING */
header>*  {
    max-width: 100%;
}

header {
   padding: 0px;
   margin-bottom: 0px;
   border-bottom: 0px solid #dedede;
}

#header {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1700px;
padding-top: 24px;
padding-bottom: 24px;
}

#header a {
line-height: 0px;
}

header img {
    height: 89px;
}

h1.site-title  {
   color: #532e1f;
   font-size: 40px;    
   font-weight: 500;
   margin: 0px;
   padding: 0px;
}

h2 {
   color: #532e1f;
   font-size: 28px;
}

/* NAVIGATION */

header nav {
    padding: 0px;
}

nav.closed {
   background: #f1c500;
}

nav.open {
   background: #f1c500;
}

.navigation {
    font-size: 18px;
    height: 60px !important;
    align-items: center !important;
    padding: 0px 160px; 
}

.navigation a {
   text-decoration: none !important;
}

.navigation li:hover {
    border-bottom: 2px solid #532e1f;
}

.navigation li:focus{
    border: 2px solid #532e1f;
}

header nav ul li, header nav>ul li:last-child, header nav>ul ul:hover>li {
    border: 1px solid #f1c500;
}

header nav ul a:hover {
    background-color: #f1c500;
}

a:link {
    color: #532e1f;
    text-decoration: underline;
}

a:hover {
    color: #532e1f;
    opacity: 1 !important;
    text-decoration: none;
}

/* BUTTONS  */

.button {
    border-radius: .25rem;
}

button, [type=submit] {
background-color:  #f1c500;
    color: #532e1f;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
}

button:hover {
    background-color:  #532e1f;
    color: #fff;
}

.button-secondary {
    background-color: white;
    color: #532e1f;
    border: 1px solid #532e1f;
    border-radius: .25rem;
}

/* Browse all button */
.resource-list.preview+a {
    background-color:  #f1c500;
    color: #532e1f;
    text-decoration: none;
    font-weight: 700;
    border-radius: .25rem;
    padding: 10px 20px 10px;
    font-family: "Montserrat";
}

.resource-list.preview+a:hover {
    background-color: #532e1f;
}

/* RESTRICTED ACCESS LOGIN PAGE */

/* Removes site login fields and forgot password link so only SSO button shows */
form.disable-unsaved-warning {
    display: none;
}

p.forgot-password {
    display: none;
}

/* SEARCH STYLING */
#search {
    position: relative;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 0px solid #dedede;
    border-top: 0px solid #dedede;
    padding: 30px 30px;
}
#search form {
   float: right;
}

#search form input[type=text] {
   width: 550px;
   height: 40px;
   font-size: 16px;
   border: 1px solid #b4aea7;
}

#search form button[type=submit] {
    width: auto;
    height: auto;
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 700;
    line-height: normal;
    padding: 10px;
    text-indent: 0px;
    border-radius: .25rem;
}

#search form button[type=submit]:before {
    line-height: 40px;
    content: none;
}

input[type=text] {
    border: 1px solid #b4aea7;
}

#adv-search {
    float: right;
    padding: 0 120px;
}

/* Adds space between search and clear buttons */
#search form {
    display: flex;
    gap: 8px;
}

/* SEARCH RESULTS */

/* Left aligns filters with other content */
.filter-list {
   padding: 0px;
}

/* GENERAL PAGE STYLING */

#content {
    padding: 30px 60px 30px;
    width: 100%;
    flex: 1 0 auto;
} 

form#advanced-search {
  max-width: 1700px;
  margin: 0 auto;
}


/* Removed background color behind learning objects list */
body {
   background-color: #fff;
   font-family: 'Montserrat';
   font-size: 1rem;
    min-height: 100vh;
   display: flex;
   flex-direction: column; 
}

ul.resource-list .resource {
    border-bottom: 1px dashed #B4AEA7;
}

ul.preview.resource-list li:first-of-type {
    border-top:  none;
}

/* Changes height of Sort button to match height of sorting fields */
.sort-form button {
    height: 38px;
    border-radius: .25rem;
 }

/* Item name */
.resource-list .resource-link {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Removes extra space below header on homepage */
ul.preview.resource-list li:first-of-type {
    padding-top: 0px;
}

/* Removes Item Sets section near bottom of item page */
.item-sets {
   display: none;
}

/* Removes Media section at bottom of item page */
.media-list {
   display: none;
}

/* ADVANCED SEARCH PAGE STYLING */

.advanced-search {
    display: none;
}

/* Removes search field from page */
.items.search #search {
    display: none;
}

/* Removes advanced search link from page */
.items.search #adv-search {
    display: none;
}

#fulltext_search {
    width: 100%;
}

/* Formats placeholder text in search fields */
select {
    font-family: 'Montserrat';
    font-size: 16px;
    color: #495057;
    border: 1px solid #b4aea7;
    vertical-align: inherit;
}


/* FOOTER STYLING */

footer {
    max-width: 100%;
    z-index: 99999;
    font-size: 14px;
    padding: 2rem 0;
    background-color: #333;
    color: #fff;
    margin-left: inherit;
    margin-right: inherit;
}

footer .column {
  float: left;
  width: 50%;
}

/* Clear floats after the columns */
footer .row:after {
  content: "";
  display: table;
  clear: both;
}

footer a:visited {
	color: #fff;
        text-decoration: underline;
}

footer a:link {
	color: #fff;
}

.footer-container {
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 60px 0px;
}

body footer {
    line-height: 22px;
}

.foot-system {
   text-align: right;
}

/* MOBILE STYLING */

@media screen and (max-width: 992px) {

#header {
     display: block; 
     text-align: center;
}

h1.site-title {
    line-height: 50px;
    text-align: center;
}

nav.closed::before {
   display: none;
}

nav.open::before {
   display: none;
}

ul.navigation {
    display: flex;
}

ul.navigation {
    justify-content: center;
}

nav ul li {
   padding: 0px 10px;
}

.navigation {
    padding: 0px 0px;
}

#search form {
    float: none;
    justify-content: center;
}

#search {
    padding: 20px 30px 10px;
}

p.m-0  {
    text-align: center !important;
    margin: 0px;
} 

#adv-search {
    float: none; 
}
@media screen and (max-width: 576px) {

#header {
   margin-left: 10px;
   margin-right: 10px;
}

header img {
    height: 100%;
}

h1.site-title {
   font-size: 35px
}

h2 {
  font-size: 28px;
}

#content {
    padding: 20px 20px 20px;
}

/* Changes height of Sort button to match height of sorting fields */
.sort-form button {
    float: right;
    margin-top: 5px;
 }

/* Increases size and position of media on mobile */
ul.resource-list .resource img {
    width: 100%;
    float: none;
    margin-left: 0px;
}

.foot-system {
   text-align: left;
   padding-top: 2rem;
}

footer .column {
   float: none;
   width: 100%
}

.footer-container {
    padding: 0px 20px 0px;
}

}