@import url('https://fonts.googleapis.com/css?family=Allerta+Stencil|Josefin+Sans|Rock+Salt|Suez+One');

/* MH - TRANQUIL READER STYLES------------------------------------------------*/
/* MH - This is probably one of my cleanest stylesheets - Twitter Bootstrap helps with readability */

p, a, li, input, input[type=submit], textarea {
    font-family: 'Josefin Sans', sans-serif;
}

h1 {
    font-family: 'Rock Salt', cursive;
}

h2, h3, h4, h5, h6 {
    /* MH TODO: we should have used this font for the image caption and article text*/
    font-family: 'Suez One', serif;
}

a:link, a:visited {
    transition: color ease 0.5s;
    color: rgb(98,160,176);
}

a:hover, a:active {
    color: rgb(23,24,157);
}

h1, h2, h3, h4, h5, h6, p, a {
    margin-top: 0.6em;
    margin-bottom: 0.6em;
}

/* CONTAINERS */
#mainsection > div {
    margin: 40px 20px 40px 20px;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255,0.9);
    border-radius: 20px;
    padding: 10px;
}

section > div {
    padding-top: 15px;
    padding-bottom: 15px;
}

.trhorizontallypadded {
    padding-left: 10px;
    padding-right: 10px;
}

.trverticallypadded {
    padding-top: 5px;
    padding-bottom: 5px;
}

.trheadercontainer, .trfootercontainer {
    text-align: center;
}

.trheader, .trfootercontainer {
    background-color: rgb(0,0,0);
}

.trwindow {
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.8);
}

.trarticlesection {
    margin-top: 50px;
    margin-bottom: 50px;
}

.trblackborderbox {
    border: 1px solid black;
    padding: 10px;
}

/* HEADER LINKS, FOOTER LINKS & BUTTONS */
.trheadercontainer a:link, .trheadercontainer a:visited, .trfootercontainer a:link, .trfootercontainer a:visited, .trfootercontainer p, .trsmallbutton a:link, .trsmallbutton a:visited, input[type=submit] {
    transition: text-shadow 0.5s ease;
    text-shadow: none;
    color: rgb(255,255,255);
    text-decoration: none;
    font-family: 'Latin Modern Sans Quotation 8', sans-serif;
}

.trheadercontainer a:hover, .trheadercontainer a:active, .trfootercontainer a:hover, .trfootercontainer a:active, .trsmallbutton a:hover, .trsmallbutton a:active /*, input[type=submit]:focus, input[type=submit]:hover*/ {
    text-decoration: underline;
    text-shadow: 2px 2px 10px rgb(255,255,255);
}

.trbigbutton, .trsmallbutton {
    border-radius: 20px;
    border: 1px solid rgb(255,255,255);
    padding: 5px;
    padding-right: 20px;
}

    .trbigbutton img, .trsmallbutton img {
        margin-right: 5px;
    }

.trsmallbutton {
    display: inline-block;
    background-color: rgb(0,0,0);
}

/* HEADER AND BLOG POST FONTS */
.trheadercontainer h1, .trfootercontainer p {
    font-family: 'Latin Modern Sans Quotation 8', sans-serif;
}

.trblogheading, .trbloggreeting {
    font-family: 'Rock Salt', cursive;
}

.trblogauthor {
    font-family: 'Josefin Sans', sans-serif;
}

.trblogtag a {
    font-family: 'Allerta Stencil', sans-serif;
    border-radius: 20px;
    background-color: rgb(234, 247, 248);
    padding: 10px;
    margin-right: 10px;
}

/* IMAGES */
.trarticleimage, .trbioimage {
    text-align: center;
}

.trarticleimage img, .trbioimage img {
    border: 1px solid black;
}

/* FORMS */


textarea:focus, input:focus, .uneditable-input:focus {
    border-color: rgb(98,160,176) !important;
    box-shadow: 0 1px 1px rgba(23,24,157,0.1) inset, 0 0 8px rgb(98,160,176) !important;
    outline: 0 none !important;
}

/* MISCELLANEOUS */
.trcountdown {
    font-family: 'Josefin Sans', sans-serif;
}

/* BACKGROUND SLIDESHOW */
/*core css styles*/
/*.crossfade {
    height: 100px;
}

.crossfade > figure {
    animation: imageAnimation 30s linear infinite 0s;
    backface-visibility: hidden;
    background-size: cover;
    background-position: center center;
    color: transparent;
    height: 100%;
    left: 0px;
    opacity: 0;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 0;
}*/

/*add background images to the slideshow*/
/*.crossfade > figure:nth-child(1) {
    background-image: url('../Content/Images/Styling/bg1.jpg');
}

.crossfade > figure:nth-child(2) {
    animation-delay: 6s;
    background-image: url('../Content/Images/Styling/bg2.jpg');
}

.crossfade > figure:nth-child(3) {
    animation-delay: 12s;
    background-image: url('../Content/Images/Styling/bg3.jpg');
}

.crossfade > figure:nth-child(4) {
    animation-delay: 18s;
    background-image: url('../Content/Images/Styling/bg4.jpg');
}

.crossfade > figure:nth-child(5) {
    animation-delay: 24s;
    background-image: url('../Content/Images/Styling/bg5.jpg');
}*/

/*create the crossfade effect using CSS3 animations*/
/*@keyframes
imageAnimation {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
    }

    8% {
        animation-timing-function: ease-out;
        opacity: 1;
    }

    17% {
        opacity: 1
    }

    25% {
        opacity: 0
    }

    100% {
        opacity: 0
    }
}*/

/* FOR DEVICES 800px AND LARGER */
@media (min-width: 800px) {
    #mainsection > div {
        margin: 50px;
        padding: 30px;
    }

    section > div {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .trhorizontallypadded {
        padding-left: 40px;
        padding-right: 40px;
    }

    .trverticallypadded {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    /* IMAGES */
    .trbioimage img {
        width: 600px;
    }
}

/* FOR DEVICES 1000px AND LARGER */
@media (min-width: 1000px) {
    #mainsection > div {
        padding: 100px;
    }
}