/*
 Theme Name:   GenerateEWU
 Theme URI:    https://inside.ewu.edu
 Description:  GenerateEWU child theme
 Author:       EWU Web & Application Development Team
 Author URI:   https://inside.ewu.edu/it
 Template:     generatepress
 Version:      0.1
*/
/* SEARCH BOX CUSTOMIZATIONS */
.navigation-search.nav-search-active {
    top: 35px;
    width: 362px;
    padding: 15px;
    margin-right:0px;
    background: #e0e0e0;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
    -moz-box-shadow: 0 0px 0px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2);
    -webkit-box-shadow: 0 0px 0px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2);
    box-shadow: 0 0px 0px rgba(0,0,0,.4) inset, 0 1px 0 rgba(255,255,255,.2);
    left: auto;
}

/* MOBILE SEARCH BOX CUSTOMIZATIONS */
@media screen and (max-width: 769px) {
    .navigation-search.nav-search-active {
        margin-right: 0;
        }
    }

.navigation-search.nav-search-active button {
    overflow: visible;
    position: relative;
    float: right;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: auto;
    width: 90px;
    font: bold 15px/40px 'Open Sans';
    color: #fff;
    text-transform: uppercase;
    background: #B7142E;
    -moz-border-radius: 0 0px 0px 0;
    -webkit-border-radius: 0 0px 0px 0;
    border-radius: 0 0px 0px 0;
    text-shadow: 0 -1px 0 rgba(0, 0 ,0, .3);
}

.navigation-search.nav-search-active button:hover {
    background: #6c1c24;
}

.navigation-search.nav-search-active button:active,
.navigation-search.nav-search-active button:focus {
    background: #c42f2f;
}

.navigation-search.nav-search-active button:before {
    content: '';
    position: absolute;
    border-width: 8px 8px 8px 0;
    border-style: solid solid solid none;
    border-color: transparent #B7142E;
    top: 12px;
    left: -6px;
}

.navigation-search.nav-search-active button:hover:before {
    border-right-color: #6c1c24;
}

.navigation-search.nav-search-active button:focus:before {
    border-right-color: #c42f2f;
}

.navigation-search.nav-search-active button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.navigation-search input[type="search"] {
    width: 240px;
    height: 40px;
    padding: 10px 5px;
    float: left;
    font: bold 15px 'Open Sans';
    border: 0;
    background: #ffffff;
    color:#333333;
    -moz-border-radius: 0px 0 0 0px;
    -webkit-border-radius: 0px 0 0 0px;
    border-radius: 0px 0 0 0px;
}
.navigation-search input[type="search"]:active,
.navigation-search input[type="search"]:focus {
    outline: 0;
    background: #fff;
    color:#333333;
    -moz-box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
    -webkit-box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
    box-shadow: 0 0 2px rgba(0,0,0,.8) inset;
  }
/* Footer Customizations */
.footerlinks a {
    color: #ffffff;
}

/* Widget Customizations */
.widget-title {
    margin-bottom: .5em;
    border-bottom: 1px #222222 solid;
    }

.widget-area .widget {
        padding-top: 20px;
        padding-bottom: 0px;
    }

/* Footer - Social Media Buttons and EWU Logo */
.smbuttons a {
	opacity: 75%;
}
.smbuttons a:hover {
	opacity: 100%;
}

/* Back to top button customization */
.generate-back-to-top,
.generate-back-to-top:visited {
    bottom: 50px;
    right: 50px;
}

/* Submenu Drop Down Customizations */
.dropdown-click nav ul ul ul {
    background-color: #eeeeee;
}

/* Sticky Menu Customizations */
.top-bar
{
    z-index: 999;
    top: 0px;
	  margin-bottom:0px;
    left: 0;
    right: 0;
	  position: sticky;
	  position: -webkit-sticky;
}
.main-navigation
{
	top: 0px;
	position: sticky;
	position: -webkit-sticky;
}
.widget-area .widget {
    padding-top: 20px;
    padding-bottom: 0px;
}

/* Header Style: Mobile and Tablet */
@media (max-width: 768px) {
    .site-header .inside-header {
        flex-direction: unset;
    }
}

/* Top Bar CSS for EWU Top Bar Element */
.topbar a {
	color:#ffffff;
}

@media only screen and (max-width: 767px) {
	.topbar {
        text-align:center;
    }
}

/* Gravity Forms Customizations */
body .gform_wrapper .gform_footer input[type=submit] {
	padding:6,18,6,18;
	border: 3px #222222 solid;
	border-radius: 5px;
	background-color:#ffffff;
	color:#222222;
	font-weight:600;
}

body .gform_wrapper .gform_footer input[type=submit]:hover {
	padding:6,18,6,18;
	border: 3px #B7142E solid;
	border-radius: 5px;
	background-color:#B7142E;
	color:#ffffff;
}

/* Omnilert Alert Styling */
#sc-smartboard-container {
    background-color: #e6642a;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.sc-smartboard-item {
    color: white;
    padding: 0.75em 1em 0.75em 1em;
    display: block;
    text-decoration: none;
    flex-grow: 1;
    max-width: calc(100% - 40px - 1rem);
    text-align: left;
}

.sc-smartboard-subject {
    display: inline-block;
    text-align:left;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: bold; 
}

.sc-smartboard-datetime {
display:inline-block;
text-align:left;
}

.sc-smartboard-message {
    text-decoration: none;
    font-family: Open Sans,Helvetica,Arial,sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

.sc-smartboard-datetime:before {
    content: '\2022';
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

#sc-smartboard-container:before {
    background-image: var(--ewu-alert-icon);
    background-repeat: no-repeat;
    background-size: 100% auto;
    content: " ";
    display: inline-block;
    height: 40px;
    margin-left: 1rem;
    width: 40px;
    flex-shrink: 0;
}

:root {
            --ewu-alert-icon: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGIAAABWCAYAAAA0TkO1AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAACHtJREFUeNrsXQtslEUQ3tJSkDeEKo9gQOQpBHwQaAJCagpEE6VqQAE1UZuYmkCLRRSiKQpiEIqQSDA1iu83VkUlGgwQo6gICFgVedkIKoRHBQq0tueM/5zuze39d/e//+t+yZdw02Pvdubf3Zmd2b2sSCQiQoqpwDnAq4FZwG+BlcC3w9iZrJAaYjkZQYWVwFJtCPdRBFyX5D23pPAebQgbuAhYA+yb5H2HgEOA58PSsVYhGw1zFEYoAc5mMnzPA3p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Ae5n36uWdJp2ZI2FuH2YzK3LSjINGGnz36/oQzpNa2rCS6Z41TamCD/QOk4ZeFp2I5PNI92mbAie/mwSAbhKJ4QoFfFp1aWpGgKvz5nKZKuF+zfGZCJwS2iNwgEal8x9VV3Nifdj4NWcJwPUwRki8Y7vGkXn/YTqCtUdFFs0J/KaihVeSElIfnUlyLxfodfiRNcEdaYdwzw2tPy4rCTTkEOjQD7iHPOrMPIa8SgzAmK2NoIjQB3yWq880nnMGoH7+3gXRWvmfhVpHTru0so/xfDfL4dFDfER8HoWkOB1nwe07hzFZcK4nUc+h/fvb+nh1DSJGQGxQhvBFaBOeT4bdT8RR8Rm2hmUN61wqjqt9eYK8OgX3uDWU5JtRkNgWlGu8b8H+LzWl6tAHT8nvT6bI+LPDWP9Zl+tK9fdWRm5OCLQvx2pdeMrdqIhsHC2SuvCVxSjITAdir+MO13rwxe8BpwZjSPQjcX0YwkFGK21flwFBnK4fbSaHKPmfwQYAIT61m5BV0znAAAAAElFTkSuQmCC');
        }

.alert-link {
    outline: none;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    font-size: 0.8em;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    text-decoration: none;
    transition: .3s ease;
    text-decoration: none !important;
    margin-left: auto;
    margin-right: 1rem;
}

.alert-link a {
	color:#ffffff;
}

@media (max-width: 991px) .sc-smartboard-message {
    display: none;
}

/* TablePress Table Head Row and Table Foot Row Styling */
.tablepress thead th,
.tablepress tfoot th {
	background-color: #B7142E;
	color: #ffffff;
}
.tablepress thead .sorting_asc,
.tablepress thead .sorting_desc,
.tablepress thead .sorting:hover {
	background-color: #6c1c24;
	color: #ffffff;
}

/* GravityForms Required Field Indicator Styling */
body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gfield_required {color: #B7142E}

/* Mobile Header Customizations */
@media only screen and (max-width: 767px) {
	.site-logo {
        display:none;
    }
    .inside-header {
        padding: 20px 20px 20px 20px;
    }
    .site-branding-container {
        flex-direction: column;
    }
    .nav-below-header .main-navigation .inside-navigation.grid-container, .nav-above-header .main-navigation .inside-navigation.grid-container {
        padding: 0px;
    }
}
