/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: "Source Sans Pro", Helvetica, sans-serif;
    margin:auto;
    /*padding: 2em;*/
    font-weight: 200;
    font-size:100%;
    color: #444;
    line-height: 1.5;
    text-align: left;
    background: linear-gradient(#13c3f4, #73d9f8, white);
    background-size: 100% 50%;
    background-repeat: no-repeat;  
}

h1, h2, h3 {
    font-family: "Rock Salt", cursive;
}

h1 {
    color: goldenrod;
    font-size: 1.4em;
}

h2, h3 {
    font-size: 1em;
    color: #555;
}

h3 {
    font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
    font-weight: normal;
}

.logo{
    background: url("../img/daily_emoji_260x40_rgb_paths.svg");
    background-position: -9999px;
    background-size: 250px 40px;
    float: left;
    width: 250px;
    background-color: moccasin;
    height: 40px;
    text-indent: -9999px;
}

.logomainnav{
    margin: auto;
    display: none;
    width: 260px;
    height: 40px;
}

.logo:active{
    /*background-color: #d29128;*/
    background-color: tan;
}

.hamburger{
    background: url("../img/hamburger_icon.svg");
    background-size: 40px 40px;
    background-repeat: no-repeat;
    float: right;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
}

.hamburger:active{
    background-color: #d29128;
    background-color: tan;
}

#menutop{
    width: 100%;
    height: 40px;
    background-color: moccasin;
    opacity: 100%;
    position: fixed;
    z-index: 10000;
    border-bottom: solid 1px gray;
}

#wrapper{
    width: 100%;
    margin:auto;
}

.banner{
    width: 100%;
    height: 100%;
    /*background: url("../img/emoji_cover_image_1440x900.svg");
    background-size: 100% 100%;*/
    background-repeat: no-repeat;
    /*background-position: top;*/
    /*float: left;*/
}

.banner p{
    text-align: center;
    color: #fff;
}

.calendarwrapper{
    width: 100%;
    margin-top: -40px;
    margin-bottom: 20px;
    /*background-color: #ccc;*/
}

.datewrapper{
    text-align: center;
}

.month {
    font-size: .75em;
}

.datenumber{
    font-size: 1.75em;
    padding-bottom-bottom: .25em;
}

.calendardate{
    background-color: white;
    display: inline-block;
    width: 8%;
    padding: 1.5%;
    margin: 1%;
    border-radius: .25em;
}

.calendardate:hover{
    color: white;
    background-color: #039;
    cursor: pointer;
}

.calendardate:active{
    color: white;
    background-color: #039;
    opacity: .5;
}

.calendardate a {
    font-style: none;
    color: inherit;
}

.nodate{
    background-color: #cbebff;
    display: inline-block;
    width: 8%;
    padding: 1.5%;
    margin: 1%;
    border-radius: .25em;
}


h1.tophead{
    padding-top: 3em;
    font-size: 1.5em;
    line-height: 1.5;
    letter-spacing: .1em;
    /*mix-blend-mode: multiply;*/
    text-align: center;
    margin: auto;
    color: #fff;
}

.highlight{
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}

.highlightwrapper{
    width: 75%;
    position: relative;
    background-color: #fff;
    /*border: solid 1px #ccc;*/
    border-radius: 1em;
    padding: .5em 2em;
    margin: 1em auto;
    text-align: center;
    box-shadow: 2px 4px 3px 0px rgba(0,51,153,0.2);
}

.emojiwrapper{
    position: relative;
    background-color: #f9f9f9;
    border-radius: .5em;
    text-align: center;
    cursor: pointer;
    /*background-color: white;*/
}

 .emojiwrapper:hover, .emojiwrapper:active{
    opacity: 0;
    cursor: pointer;
    text-align: center;
}

.topbtn{
    background: url("../img/emoji_top_icon_80x80.svg");
    color: #fff;
    background-color: skyblue;
    border-top-right-radius: 1em;
    border-bottom-left-radius: 1em;
    position: absolute;
    top: -16px;
    right: 0px;
    bottom: 0px;
    width: 3em;
    height: 3em;
    text-indent: 3000px;
}

/*.topbtn:hover {
    background-color: #13c3f4;
}

.topbtn:active {
    background-color: #ccc;
}*/

img.emoji {
    width: 4em;
    height: 4em;
    padding-right: .25em;
    display: inline-block;
}

p.emojicaption{
    margin-top: -50px;
    margin-bottom: 30px;
}

.upbtn{
    position: absolute;
    bottom: 0px;
    right: 10px;
}

.projectwrapper{
    padding: 1em 2em;
    margin: 1em auto;
}

.about{
    margin: 0;
    padding: 0;
    float: left;
    width: 100%;
}

.aboutwrapper{
    padding: 1em 2em;
    margin: 1em auto;
}

.abouthighlight {
    margin: 2em auto;
    width: 70%;
    padding: 1em 2em;
    border-radius: 1em;
    background-color: #efefef;
    text-align: center;
}

.abouthighimg {
    width: 40%;
    margin: auto;
}

#mainnav{
    clear:both;
    background-color: #fff;
}

footer {
    font-size: .9em;
    line-height: 1.5;
    text-align: center;
}

nav {
    padding: 0;
    margin: 2em 0;
    width: 100%;
    background-color: #efefef;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav li{
    border-top: solid 1px #666;
    background-color: #efefef;
    text-align: center;

}

nav li a{
    display: block;
    padding: .5em 2em;
}

nav li a:link {
    color:#28364B;
}

nav li:last-child { 
    border-bottom: solid 1px #666; 
}

img.portfolio {
    width: 100%;
    max-width: 600px;
    margin-bottom: .5em;
}

a {
    text-decoration: none;
}

p {
    color: #444;
    line-height: 1.5em;
}

p a:link {
    color: #039;
    border-bottom: dotted;
    border-width: 1px;
}

p a:visited{
    color: #039;
}

p a:hover{
    color: #360;
    border-bottom: none;
    text-decoration: none;
    background-color: #b3d335;
}

p a:active{
    color: #28364b;
    background-color: #f1d4ba;
}

p.spaceafter{
    position: absolute;
    margin-top: -50px;
    margin-right: auto;
    margin-bottom: 1.5em;
    margin-left: auto;
    text-align: center;
    z-index: -10000;

}

#bannercta {
    /*insert property for button in values here*/
    float: right;
    margin: 1em;
    font-size: 1em;
    text-decoration: none;
    letter-spacing: .05em;
    padding: .5em 1em;
    border: 2px solid #fff;
    background-color: transparent;
    border-radius: .5em;
    color: #fff;
}

.highlightimage {
    margin: auto;
}

a#bannercta:link {
    color:#fff !important;
    text-decoration: none;
}

a#bannercta:visited {
    color: #fff;
}

a#bannercta:hover {
    background: #fff;
    border: 2px solid #fff;
    box-shadow: none;
    color: #28364b;
    opacity: .5;
}

a#bannercta:active {
    /*background: #f1d4ba;*/
    color: #fff;
    opacity: 1;  
}

.calloutcta {
    /*insert property for button in values here*/
    margin-top: 2em;
    font-size: 1em;
    letter-spacing: .05em;
    padding: .5em 1em;
    border: 1px solid #18377d;
    background: #18377d linear-gradient(#0b47b2, #18377d);
    border-radius: .25em;
    box-shadow: 0 2px #666;
    color: #fff !important;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.calloutcta:link{
    color:#fff;
    border: 1px solid #18377d;
    text-decoration: none;
}

.calloutcta:hover, .calloutcta:focus {
    background: #b3d335;
    border: none;
    border-radius: .25em;
    box-shadow: none;
    color: #360 !important;  
}

.calloutcta:active {
    background: #00b3f0;
}

footer {
    font-size: .9em;
    line-height: 1.5;
    text-align: center;
}

.current{
    color: #fff !important;
    border-top: solid 1px #000;
    /*background-color: #d29128;*/
}

nav {
    padding: 0;
    margin: 2em 0;
    width: 100%;
    background-color: #efefef;
}

nav ul {
    padding: 0;
    list-style: none;
}

nav li{
    border-top: solid 1px #666;

}

nav li a{
    display: block;
    padding: .5em 2em;
}

nav li a:link {
    color:#28364B;
    text-decoration: none;
}

nav li a:hover{
    color: #895f02;
    background-color: #f8d715;
    display: block;
}

nav li a:active{
    color: #fff;
    background-color: #28364b;
    display: block;
}

/* this is to declare the bottom stroke for the last button */
nav li:last-child { 
    border-bottom: solid 1px #666; 
}

blockquote {
    color: #666;
    border-left: dotted #ccc;
    padding-left: 1em;
}

.footerwrapper {
    margin: 1em auto;
    padding: 1em 2em;
}

a:visited {
    text-decoration: none;
    color: inherit;
}











/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 640px) {
    /* Style adjustments for viewports that meet the condition */



@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
