/*-----------------------------------------------------------------------------
000 CONTENTS
    -----------------------------------------------------------------------------
001 WordPress Core Classes
002 Website Links
003 Display of Images with Alignment
004 Overflow Fixes
005 Theme Colours
006 Branding

*/


/*---------------------------------------------------------------------------
001 WordPress Core Classes
---------------------------------------------------------------------------*/

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.alignright {
    display: block;
    float: right;
}

.alignleft {
    display: block;
    float: left;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {}

.wp-caption-text {}

.sticky {}

.gallery-caption {}

.bypostauthor {}


/*---------------------------------------------------------------------------
002 Website Links
    These use the current Tachyons CSS for .link states http://tachyons.io/docs/elements/links/
---------------------------------------------------------------------------*/

a {
    background-color: transparent;
    box-sizing: border-box;
    text-decoration: underline;
    transition: color .15s ease-in;
}

a:link,
a:visited {
    transition: color .15s ease-in;
}

a:hover {
    color: var(--brand-primary);
    transition: color .15s ease-in;
}

a:active {
    transition: color .15s ease-in;
}

a:focus {
    color: var(--brand-primary);
    outline: 1px dotted currentColor;
    transition: color .15s ease-in;
}


/*---------------------------------------------------------------------------
003 Display of Images with Alignment
---------------------------------------------------------------------------*/

img.alignright {
    margin-left: 1rem;
    /* Mimics Tachyon Margin Left 3 */
}

img.alignleft {
    margin-right: 1rem;
    /* Mimics Tachyon Margin Right 3 */
}

img.aligncenter {
    margin-left: 1rem;
    /* Mimics Tachyon Margin Horizontal 3 */
    margin-right: 1rem;
}


/*---------------------------------------------------------------------------
004 Overflow Fixes
---------------------------------------------------------------------------*/

figure,
img,
ul,
ol,
input,
button {
    max-width: 100%;
    overflow: hidden;
}

img {
    height: auto;
}

/*---------------------------------------------------------------------------
006 Branding
---------------------------------------------------------------------------*/


/* Brand Colors */

.bg-brand-primary {
    background-color: var(--brand-primary);
}

.hover-bg-brand-primary:hover {
    background-color: var(--brand-primary);
}

.brand-primary {
    color: var(--brand-primary);
}

.hover-brand-primary:hover {
    color: var(--brand-primary);
}

.hover-bg-brand-primary:hover {
    background-color: var(--brand-primary);
}

.b--brand-primary {
    border-color: var(--brand-primary)
}

.bg-brand-secondary {
    background-color: var(--brand-secondary);
}

.hover-bg-brand-secondary:hover {
    background-color: var(--brand-secondary);
}

.b--brand-secondary {
    border-color: var(--brand-secondary)
}

.brand-secondary {
    color: var(--brand-secondary);
}

.hover-brand-secondary:hover {
    color: var(--brand-secondary);
}

.bg-brand-accent {
    background-color: var(--brand-accent);
}

.brand-accent {
    color: var(--brand-accent);
}

.bg-brand-dark {
    background-color: var(--brand-dark);
}

.brand-dark {
    color: var(--brand-dark);
}

/* Max Length for paragraph tags */
#post-content p {
    max-width: 30em;
}

/* breakpoint-not-small */
@media screen and (min-width: 48em) {
}

/* breakpoint-medium */
@media screen and (min-width: 48em) and (max-width: 64em) { }

/* breakpoint-large */
@media screen and (min-width: 64em) {}

/* breakpoint-small */
@media screen and (max-width: 480px) { }
