/*
Theme Name: agtbnet4
Theme URI: https://www.agtb.net/
Description: WordPress theme for agtb.net
Version: 4.0.0
Author: Alistair Buckle
Author URI: https://www.agtb.net/
Tags: agtb.net
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}

@font-face
{
    font-display: swap;
    font-family: 'e';
    src: url('../fonts/e.eot');
    src: url('../fonts/e.eot?#iefix') format('embedded-opentype'),
        url('../fonts/e.ttf') format('truetype'),
        url('../fonts/e.woff') format('woff'),
        url('../fonts/e.svg#edelsansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face
{
    font-display: swap;
    font-family: 'l';
    src: url('../fonts/l.eot');
    src: url('../fonts/l.eot?#iefix') format('embedded-opentype'),
        url('../fonts/l.woff') format('woff'),
        url('../fonts/l.ttf') format('truetype'),
        url('../fonts/l.svg#league_gothicregular') format('svg');
    font-weight: normal;
font-style: normal;
}

html,
body
{
    height: 100%; /* sticky footer */
}

body
{
    background-color: #DDD;
    color: #333;
    display: flex; /* sticky footer */
    flex-direction: column; /* sticky footer */
    font-family: e, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6
{
    font-family: l, sans-serif;
    font-weight: normal;
    margin: 0 0 0.5em;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2.0em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1.0em; }

.home h1
{
    display: inline;
    font-family: e, sans-serif;
    font-size: 120%;
}

p
{
    margin: 0 0 2em;
}

p.inline
{
    display: inline;
}

a
{	
    color: #0F4C81;
}

a.more-link
{
    font-size: 0.8em;
}

abbr, dfn
{
    border-bottom: 1px dotted;
    font-style: normal;
}

blockquote
{
    font-family: Georgia, serif;
    font-size: 1.1em;
    font-style: italic;
    margin: 0.25em 0;
    padding: 0.25em 40px;
    position: relative;
}

blockquote:before
{
    color: #BBB;
    content: "\201C";
    display: block;
    font-size: 6ex;
    left: 0;
    position: absolute;
    top: -1ex;
}

code, kbd, samp
{
    background-color: #FDFDFD;
    border: 1px solid #E1E1E8;
    color: #000;
    font-family: Monaco, MonacoRegular, Menlo, Consolas, "Courier New", monospace;
    font-size: 10px;
    padding: 2px 4px;
}

dl, menu, ol, ul
{
    margin: 1em 0 2em;
}

hr
{
    border: 0;
    border-top: 1px solid #CCC;
    display: block;
    height: 1px;
    margin: 1em 0;
    padding: 0;
}

img
{
    vertical-align: middle;
}

fieldset
{
    border: 0;
    margin: 0;
    padding: 0;
}

textarea
{
    resize: vertical;
}

/*______________________________________________________________________________Structural*/

.wrapper
{
    margin: 0 5%;
    width: 90%;
}

.header__logo
{
    float: left;
}

/* ≡ menu button */
.nav__button
{
    border-bottom: none;
    color: #333;
    display: block;
    font-size: 33px;
    margin-top: -6px;
    padding: 0;
    text-align: right;
    text-decoration: none;
    z-index: 9999;
}

.header nav:hover > ul
{
    display: block;
}

.header nav
{
    float: none;
    width: 100%;
}

.header nav ul
{
    display: none;
    list-style-type: none;
    margin: 0 -6% 0;
    padding: 0;
}

.header nav ul li a
{
    border: none;
    display: block;
    float: none;
    width: 100%;
}

.header nav ul li a:hover,
.header nav ul li.current-menu-item a
{
    text-decoration: underline;
}

nav li.home a
{
    background-color: #A8E4F5;
}

nav li.articles a
{
    background-color: #CBFAD9;
}

nav li.portfolio a
{
    background-color: #F8C7CE;
}

nav li.about a
{
    background-color: #F6DDB4;
}

nav li.contact a
{
    background-color: #E9FEC3;
}

nav a
{
    border-bottom-color: #EEE;
    border-bottom-style: solid;
    border-bottom-width: 6px;
    color: #111;
    display: block;
    font-size: 12px;
    padding: 15px 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.main
{
    padding: 30px 0;
}

.main article
{
}

.main aside
{
    clear: both;
    padding: 4rem 0 0;
}

.main > article > p
{
    margin: 0 0 1.66rem;
}

.main > article > footer
{
    background-color: #CFCFCF;
    padding: 1ex;
    margin: 4em 0;
}

.main article footer p
{
    margin-bottom: 1ex;
}

a.tags
{
    color: #333;
    cursor: help;
    text-decoration: none;
}

a.tags:hover
{
    text-decoration: underline;
}

aside div
{
    margin-bottom: 4rem;
}

aside h2
{
    border-bottom: 1px solid #EEE;
    font-size: 1.0em;
    margin: 0 0 1em;
}

aside h2,
aside h2 a
{
    color: #333;
    font-family: e, sans-serif;
    font-size: 1em;
    text-decoration: none;
}

aside ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

aside ul li
{
    margin-bottom: 0;
}

aside ul li a
{
    color: #333;
    display: block;
    margin-right: 1em;
    padding: 0.66rem 0;
    text-decoration: none;
}

.articles-list aside ul li a
{
    float: left;
    margin: 0 2ex 1ex 0;
}

aside ul li a:hover
{
    text-decoration: underline;
}

aside .social div
{
    clear: both;
    float: left;
    width: 100%;
}

aside .social div span
{
    display: block;
    float: left;
    width: 24%;
}

aside .social a
{
    background: url('../img/Social_sprite.png') transparent;
    display: block;
    float: left;
    font-size: 0;
    height: 30px;
    width: 30px;
}

/* social icons sprite sheet */
.social a.twitter
{ background-position: 0 0; }
.social a.twitter:hover
{ background-position: 0 -30px; }

.social a.facebook
{ background-position: -31px 0; }
.social a.facebook:hover
{ background-position: -31px -30px; }

.social a.linkedin
{ background-position: -62px 0; }
.social a.linkedin:hover
{ background-position: -62px -30px; }

.social a.googleplus
{ background-position: -93px 0; }
.social a.googleplus:hover
{ background-position: -93px -30px; }

.social a.rss
{ background-position: -124px 0; }
.social a.rss:hover
{ background-position: -124px -30px; }

.footer
{
    background-color: #000;
    color: #999;
    flex-shrink: 0; /* sticky footer */
    font-size: 90%;
    padding: 1rem 0 0.33rem;
}

.footer .columns
{
    margin-bottom: 1rem;
}

.footer .column form
{
    margin-bottom: 1em;
}

.footer a,
.footer h6
{
    color: #CCC;
    font-family: e, sans-serif;
    text-decoration: none;
}

.footer a:hover
{
    text-decoration: underline;
}

.footer--link-block
{
    display: block;
    /*margin: 0 0 0.66rem;*/
    /*padding: 0 0 0.66rem;*/
    padding: 0 0 1.33rem;
}

.footer input
{
    background-color: #FFF;
    border: 0;
    box-sizing: border-box;
    padding: 0.25rem;
    width: 100%;
}

.footer .profile
{
    clear: both;
    float: left;
}

.footer .profile img
{
    border: 1px solid #666;
    float: left;
    height: auto;
    margin: 0 1rem 1rem 0;
    max-height: 6rem;
    max-width: 6rem;
    width: 33%;
}

.footer .profile p
{
    margin-bottom: 1rem;
}

.footer .flairs
{
    margin: 0 -1rem 0;
}

.footer .flairs a
{
    display: inline-block;
    padding: 0 1rem 1rem;
}

.footer .search label
{
    color: #CCC;
    display: block;
    font-family: e, sans-serif;
    font-size: 1.0em;
    margin: 0 0 0.5em;
}

.footer a.sitemap
{
    float: right;
}

/*_____________________________________________________________________________________*/

.home
{
}

.articles
{
}

.portfolio
{
}

.about
{
}

.contact
{
}

.big
{
    font-size: 2em;
}

.bookmarklet
{
    background-color: #1F75FE;
    border-radius: 4px;
    color: #FFF;
    cursor: move;
    display: inline-block;
    padding: 0.5ex 1ex;
    text-decoration: none;
}

.column
{
    display: block;
    float: left;
}

.half
{
    padding-right: 5%;
    width: 45%;
}

.third
{
    border-bottom: 1px solid #111;
    margin: 0 0 1rem;
    padding: 0 0 1rem;
    width: 100%;
}

.followon
{
    margin-bottom: 1em;
}

.smallertext,
.text-small
{
    font-size: 80%;
}

.unadornedlist
{
    list-style-type: none;
}

.plainlist
{
    list-style-type: none;
    padding-left: 0;
}

.plainlist li
{
    margin-bottom: 1em;
}

.tag-cloud
{
    text-align: center;
}

.tag-cloud a
{
    white-space: nowrap;
}

.title-pre
{
    margin-bottom: 0.2em;
}

.widthFullResize
{
    height: auto;
    width: 100%;
}

/*____________________________________________________________________Articles*/

.main .articles-list aside
{
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.main .articles-list article h2
{
    clear: both;
    padding-top: 0.5ex;
}

.main .articles-list article h2 a
{
    color: #333;
    text-decoration: none;
}

.main .articles-list article h2 a:hover
{
    text-decoration: underline;
}

.main .articles-list article
{
    border-top: 1px solid #EEE;
    clear: both;
    float: left;
    margin-bottom: 1em;
    padding-top: 1em;
    width: 100%;
}

.main .articles-list article p
{
    clear: none;
    margin-bottom: 1em;
}

.main .articles-list article img
{
    float: left;
    height: auto;
    margin: 0 1em 0 0;
    max-width: 320px;
    width: 100%;
}

/* image caption */
article .article-image-featured {
    display: block;
    font-size: small;
    text-align: right;
}

article img.wp-post-image-absent
{
    display: none;
}

.main .articles-list article .more-link
{
    display: block;
}
	
.main .articles-list article div
{
    margin-left: 0;
}

/*___________________________________________________________________.comments*/

.comments ol
{
    list-style-type: none;
    margin-bottom: 4em;
    padding-left: 0;
}

.comments article
{
    margin-bottom: 2em;
}

.comments .comment-content
{
    background-color: #FAFAFA;
    padding: 1ex;
}

.comments article footer
{
    background: url('../img/comment-tail.png') no-repeat scroll 1ex bottom transparent;
    font-size: 90%;
}

.comments article footer .comment-metadata
{
    padding: 1em 0 0 4em;
}

.comments article footer .avatar
{
    float: right;
    height: 40px;
    margin-top: -20px; /* (height / 2) */
    width: 40px;

    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
}

.comments article footer .avatar:hover
{
    -webkit-transform: scale( 2, 2 );
    -moz-transform: scale( 2, 2 );
}

.comments article footer .comment-status
{
    font-size: 90%;
}

.comments .edit-link
{
    float: right;
}

.comments .comment-child
{
    margin-left: 3em;
}

#commentform label
{
    display: block;
    float: left;
    width: 10ex;
}

#commentform #comment
{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    width: 100%;
}

#commentform p
{
    margin-bottom: 1em;
}

#commentform .comment-notes
{
    font-size: 90%;
}

/*___________________________________________________________________Slideshow*/

.portfolio .carousel
{
    padding-top: 4rem;
    position: relative;
}

.portfolio .caroufredsel_wrapper
{
    min-height: 700px;
}

.slideshow div
{
    float: left;
    margin-left: 1em;
}

.slideshow div .attachment-post-thumbnail
{
    height: auto;
    margin-bottom: 2em;
    width: 90%
}

.slideshow div h2 a
{
    color: #333;
    text-decoration: none;
}

.slideshow div h2 a:hover
{
    text-decoration: underline;
}

.slideshow div p
{
    width: 90%;
}

.slideshowControls
{
    left: 0;
    position: absolute;
    top: 0;
}

.slideshowControls a
{
    color: #666;
    display: inline-block !important;
    font-weight: bold;
    padding: 1rem;
    text-decoration: none;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden
{
    border: 0;
    clip: rect( 0, 0, 0, 0 );
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

article p
{
	clear: both;
}

/* MSIE fix - if declared earlier image flashes to 100% screen width (JS shim) */
article img
{
    height: auto;
    max-width: 100%;
    vertical-align: top;
}

article img.size-full,
article img.avatar
{
    height: inherit;
    width: inherit;
}

article img.alignleft
{
    float: left;
    margin-bottom: 1em;
    margin-right: 1em;
}

article img.alignright
{
    float: right;
    margin-bottom: 1em;
    margin-left: 1em;
}

/*________________________________________________________________Contact Form*/

form
{
	font-family: Helvetica, Arial, sans-serif;
}

input,
textarea
{
    background-color: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    font-size: 14px;
    margin-bottom: 0;
    padding: 4px 6px;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
}

input:focus,
textarea:focus
{
    border-color: rgba( 82, 168, 236, 0.8 );
    box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.075 ) inset, 0 0 8px rgba( 82, 168, 236, 0.6 );
    outline: 0 none;
}

input.radio
{
    background-color: transparent;
    border: none;
}

button,
input.submit,
input#submit
{
    background-color: #F5F5F5;
    background-image: linear-gradient(to bottom, #FFFFFF, #E6E6E6);
    background-repeat: repeat-x;
    border-color: #B3B3B3;
    border-radius: 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba( 255, 255, 255, 0.2 ) inset, 0 1px 2px rgba( 0, 0, 0, 0.05 );
    color: #333;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 12px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
}

button:hover, button:focus,
input.submit:hover, input.submit:focus,
input#submit:hover, input#submit:focus
{
    background-color: #E6E6E6;
    background-position: 0 -15px;
    color: #333;
    text-decoration: none;
    transition: background-position 0.1s linear 0s;
}

#contact-form-12 div
{
    margin-bottom: 1em;
}

#contact-form-12 div.clear-form
{
    margin-bottom: 0;
}

#contact-form-12 input.name,
#contact-form-12 input.email,
#contact-form-12 textarea
{
    min-width: 200px;
    width: 90%;
}

#contact-form-12 textarea
{
    height: 100px;
}

#contact-form-12 label
{
    font-size: 14px;
    margin-left: 1px;
}

#contact-form-12 label span
{
	color: #D14;
	font-size: 12px;
}

#contact-form-12 input.radio
{
	margin-bottom: 1ex;
	margin-left: 1px;
}

#contact-form-12 label.radio
{
	font-weight: normal;
}

#contact-form-12 .form-errors
{
	font-size: 12px;
	list-style-type: none;
	padding: 0;
}

#contact-form-12 .form-errors,
#contact-form-12 .form-error
{
	color: #D14; 
}

#contact-form-12 .form-success
{
    color: #008080;
}

#contact-form-12 blockquote
{
    border-bottom: 1px solid #CCC;
    border-top: 1px solid #CCC;
    line-height: 2;
    margin: 2em 0 1em;
    padding: 1em 0;
}

#contact-form-12 blockquote:before
{
    content: "";
}

/*______________________________________________________________________________responsive sprite*/

.responsivesprite
{
    display: block;
    float: left;
    max-width: 600px;
    overflow: hidden;
    position: relative;
}

.responsivesprite .frame
{
    height: auto;
    width: 100%;
}

.responsivesprite .sprite
{
    max-height: 100%;
    max-width: none;
    position: absolute;
    top: 0;
    width: auto;
}

.home .responsivesprite
{
    margin-top: 2em;
}

.home .responsivesprite .sprite
{
    left: -200%;
}

/*_____________________________________________________________________________~palm*/
@media only screen and (min-width: 480px)
{
    body
    {
        font-size: 16px;
    }

    .content-content
    {
        flex: 1 0 auto; /* sticky footer */
    }

    code, kbd, samp
    {
        font-size: 12px;
    }

    nav a
    {
        float: left;
        width: 15%;
        padding: 6px 2%;
        margin-bottom: 0;
    }

    /* IE Fixes */

    nav ul li
    {
        display: inline;
    }

    .oldie nav a
    {
        margin: 0 0.7%;
    }

    /* /IE Fixes */

    .main .articles-list article img
    {
        width: 300px;
    }

    .footer
    {
        font-size: 100%;
    }

    .home .responsivesprite .sprite
    {
        left: -100%;
    }
}

/*_____________________________________________________________________________~lap*/
@media only screen and (min-width: 768px) {
    .column
    {
        float: left;
    }

    .half
    {
        padding-right: 5%;
        width: 45%;
    }

    .third
    {
        border-bottom: none;
        margin: 0;
        padding: 0 5% 0 0;
        width: 28%;
    }

    .header nav {
        float: right;
        width: 66%;
    }

    nav .nav__button {
        display: none;
    }

    .header nav ul {
        display: block;
    }

    .header nav ul li a {
        background-color: transparent;
        border-bottom: 6px solid #EEE;
        float: left;
        width: 15%;
    }

    .header nav ul li a:hover,
    .header nav ul li.current-menu-item a {
        text-decoration: none;
    }

    nav a:hover {
        transition: border 1s ease 0s;
    }

    .header nav li.home a:hover,
    .home .header li.current-menu-item a {
        border-bottom-color: #A8E4F5;
    }

    .header nav li.articles a:hover,
    .articles .header .current-menu-item a,
    .articles .header .current-post-ancestor a {
        border-bottom-color: #CBFAD9;
    }

    .header nav li.portfolio a:hover,
    .portfolio .header .current-menu-item a,
    .portfolio .header .current-page-ancestor a {
        border-bottom-color: #F8C7CE;
    }

    .header nav li.about a:hover,
    .about .header .current-menu-item a {
        border-bottom-color: #F6DDB4;
    }

    .header nav li.contact a:hover,
    .contact .header .current-menu-item a {
        border-bottom-color: #E9FEC3;
    }

    .main > article {
        float: left;
        width: 60%;
    }

    .tag .articles-list,
    .search .articles-list {
        float: left;
        width: 60%;
    }

    .main aside {
        clear: none;
        float: right;
        width: 28%;
        padding-left: 5%;
        padding-right: 5%;
    }

    aside ul li a {
        float: none;
        margin-right: 0;
    }

    #contact-form-12 input.name,
    #contact-form-12 input.email {
        width: 300px;
    }

    .main .articles-list article h2 {
        clear: none;
        padding-top: 0;
    }

    .main .articles-list article img.wp-post-image-absent {
        display: inline;
    }

    .home article {
        margin-top: 4rem;
    }
}

/*_____________________________________________________________________________~desk*/
@media only screen and (min-width: 1100px)
{
    .wrapper
    {
        width: 1000px; /* 1100px - 5% left right margins */
        margin: 0 auto;
    }

    .home .responsivesprite .sprite
    {
        left: 0;
    }
}

/*______________________________________________________________________________print*/
@media print
{
    *
    {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */
    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
    
    nav .nav__button
    {
    	display: none;
    }
}

.alert-info
{
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert
{
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.text-muted
{
    color: #6C757D !important;
}

::selection /* removed from CSS3 but I want... */
{
    background: #FFFF66; /* laser lemon! */
    text-shadow: none;
}
::-moz-selection { background: #FFFF66; text-shadow: none; } /* must redeclare! */
