/* Aeracode CSS. Copyright Andrew Godwin 2020 */

/*
    Body layout is a 4-column grid. Columns are 250, spacing 50.
    Two cols is 550. Three cols is 850. Four is 1150.
*/

/* Base styles */

body {
    font-size: 16px;
    min-height: 100%;
    height: 100%;
	font-family: Arial, Helvetica, sans-serif;
    background: #f6f6f6;
    color: #333;
}

.clearfix {
    clear: both;
}

a {
    text-decoration: none;
    color: #369;
}
    a:hover {
        text-decoration: underline;
    }

p {
    line-height: 160%;
    margin-bottom: 1.5em;
}

h1 {
    font-size: 75px;
    font-family: "Raleway", sans-serif;
    font-weight: bold;
    color: #0e232e;
    margin: 20px 0 25px 0;
    position: relative;
}
    h1 a {
        color: inherit;
    }

h2 {
    font-size: 200%;
    font-family: "Raleway", sans-serif;
    color: #0e232e;
    margin: 30px 0 12px 0;
    position: relative;
    font-weight: bold;
}

h3 {
    font-size: 28px;
    font-family: "Raleway", sans-serif;
    color: #0e232e;
    margin: 20px 0 12px 0;
}

h4 {
    text-transform: uppercase;
    font-size: 16px;
    font-family: "Raleway", sans-serif;
    color: #6c7d84;
    margin: 16px 0 12px 0;
}

pre {
    font-family: monospace;
    line-height: 140%;
    font-size: 14px;
    overflow: auto;
}

strong,
b {
    font-weight: bold;
}

em {
    font-style: italic;
}

tt, code {
    font-family: monospace;
    background: #ddd;
    padding: 2px 3px;
}

.button {
    display: inline-block;
    border: 1px solid #ccc;
    background: #eee;
    border-radius: 3px;
    padding: 4px 6px;
    color: #333;
    line-height: 16px;
    font-size: 14px;
}
    a.button:hover {
        text-decoration: none;
    }
    .button:hover {
        border-color: #888;
    }

/* Nice tables */

table.nice {
    width: 100%;
}
    table.nice th {
        text-transform: uppercase;
        color: #888;
        font-weight: bold;
        text-align: left;
        padding: 0 10px 15px 10px;
        vertical-align: middle;
    }
    table.nice td {
        padding: 5px 10px 5px 10px;
        vertical-align: middle;
    }

/* Header */

.header {
    width: 1150px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
    .dim-header .header {
        margin-bottom: 10px;
        opacity: 0.5;
        -webkit-transition: opacity 0.4s;
        transition: opacity 0.4s;
    }
    .dim-header .header:hover {
        opacity: 1;
    }
    .header .logo {
        display: block;
        position: absolute;
        background: #225472;
        padding: 15px 8px 4px 8px;
        margin: 0 0 10px 0;
        color: white;
        font-size: 20px;
        font-family: alte_din;
        z-index: 1;
    }
    .header .topnav {
        float: right;
        z-index: 1;
        overflow: hidden;
        padding: 10px 0 0 0;
    }
    .header .topnav li {
        display: inline;
        color: #222;
        font-family: alte_din;
        font-size: 18px;
    }
    .header .topnav li a {
        float: left;
        padding: 5px 9px;
        color: #222;
    }
    .header .topnav li a:hover,
    .header .topnav li.selected a {
        color: #225472;
        text-decoration: none;
    }

/* Footer */

.footer {
    width: 1150px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    font-size: 80%;
    color: #888;
    text-align: center;
    padding: 20px 0;
    line-height: 150%;
}

/* Content */

.content {
    width: 1150px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    clear: both;
}

.main-column {
    width: 850px;
    position: relative;
}

.left-column {
    float: left;
    width: 550px;
    position: relative;
}

.right-column {
    float: right;
    width: 550px;
    position: relative;
}

.secondary-column {
    float: right;
    width: 250px;
    margin-left: 50px;
}
    .secondary-column h3 {
        margin: 20px 0 10px 0;
        text-transform: uppercase;
        font-size: 16px;
        font-family: alte_din;
        color: #444;
    }
    .secondary-column h3:first-child {
        margin-top: 0;
    }
    .secondary-column p {
        margin: 10px 0 10px 0;
        color: #222;
        font-size: 14px;
    }

.both-columns {
    clear: both;
    width: 1150px;
}

/* Places page */

.content .places {
    margin: 20px 0;
    overflow: hidden;
}
    .content .places h3 {
        margin-top: 0;
        font-size: 18px;
        color: #0e4f7c;
        padding: 0 0 5px 0;
        border-bottom: 2px solid #0e4f7c;
    }
        .content .places h3 small {
            font-size: 14px;
            opacity: 0.5;
        }
    .content .places .place {
        display: inline-block;
        width: 260px;
        overflow: hidden;
        padding: 0 20px 10px 0;
        vertical-align: top;
    }
        .content .places .place .checkbox {
            float: left;
            font-size: 20px;
            padding: 0px 0 0 0;
            font-weight: bold;
            color: #0e4f7c;
        }
        .content .places .place h4 {
            font-family: alte_din;
            font-size: 16px;
            color: #444;
            margin: 0 0 4px 25px;
        }
        .content .places .place p {
            font-size: 13px;
            margin: 0 0 2px 25px;
            color: #555;
        }
        .content .places .place p.done {
            font-size: 12px;
            margin: 0 0 4px 25px;
            font-weight: bold;
        }
    .content .places.nature h3 {
        color: #0d5314;
        border-color: #0d5314;
    }
        .content .places.nature .place .checkbox {
            color: #0d5314;
        }
    .content .places.society h3 {
        color: #5e100c;
        border-color: #5e100c;
    }
        .content .places.society .place .checkbox {
            color: #5e100c;
        }

/* Post page */


.header-image {
    width: 1150px;
    margin-top: 5px;
}

.pre-title {
    display: block;
    color: #999;
    font-family: alte_din;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 20px;
}
    .pre-title a {
        color: #666;
    }

.post-title h1 {
    margin-top: 0;
    max-width: 750px;
}
    .post-title h1 small {
        font-size: 50%;
        color: #999;
    }

.article-meta {
    margin: 0 0 30px 0;
    text-align: right;
}
    .article-meta .categories {
        display: block;
        color: #555;
        font-size: 14px;
        margin: 2px 0 0 0;
    }
    .article-meta .categories a {
        color: inherit;
    }
    .article-meta .date {
        display: block;
        margin: 6px 0 0 0;
        font-size: 14px;
        color: #555;
    }
    .article-meta h3 {
        margin-bottom: 3px;
    }

.main-column ul,
.body-text ul {
    list-style-type: disc;
    margin: 0.6em 0 1.5em 0;
    width: 750px;
}
.main-column ol,
.body-text ol {
    list-style-type: decimal;
    margin: 0.6em 0;
}
    .main-column ul li,
    .main-column ol li,
    .body-text ul li,
    .body-text ol li {
        margin-bottom: 10px;
        margin-left: 25px;
        font-size: 100%;
        line-height: 140%;
        color: inherit;
    }

.body-text img {
    max-width: 850px;
}

.main-column i {
    font-style: italic;
}
    .main-column i.fa-solid {
        font-style: normal;
    }

.main-column u {
    text-decoration: underline;
}

.main-column pre {
    margin: 1.5em 0;
    padding: 0.4em 0.5em;
    background: #e6e6e6;
}

.content pre {
    margin: 1.5em 0;
    padding: 0.4em 0.5em;
}


.highlight {
    max-width: 850px;
}

.body-text p {
    max-width: 850px;
}

.image-left,
.image-right,
.image-big {
    margin: 2em 0;
}
    .image-big p,
    .image-left p,
    .image-right p {
        margin: 5px 0 0 0;
        color: #777;
        font-style: italic;
        font-size: 125%;
        font-family: alte_din;
    }
    .image-big img,
    .image-left img,
    .image-right img {
        width: 100%;
        height: auto;
    }
    .image-big {
        clear: both;
        width: 850px;
    }
    .image-left {
        position: relative;
        width: 300px;
        float: left;
        clear: left;
        margin: 0 2em 1em 0;
    }
    .image-right {
        position: relative;
        width: 300px;
        float: right;
        clear: right;
        margin: 0 300px 1em 2em;
        z-index: 100;
    }

.richtext-image.right {
    float: right;
    clear: right;
    max-width: 500px;
    height: auto;
    margin: 0 -300px 30px 40px;
}

.video-big {
    margin: 2em 0;
    clear: both;
    width: 850px;
    height: 478px;
}

.video-multi {
    margin: 2em 0;
    clear: both;
}
    .video-multi iframe {
        width: 425px;
        height: 239px;
    }

.note {
    float: right;
    clear: right;
    position: relative;
    top: -100px;
    margin: 0 0 20px 20px;
    width: 230px;
    background: #e5e9ee;
    padding: 10px 20px;
    border: 3px solid #d2d8e0;
    border-width: 3px 0;
}
    .note::before {
        content: "NOTE";
        display: block;
        color: #444;
        font-family: alte_din;
        font-size: 16px;
        margin: 0 0 5px 0;
    }
    .note.flights::before {
        content: "FLIGHTS";
        display: block;
        color: #444;
        font-family: alte_din;
        font-size: 16px;
        margin: 0 0 5px 0;
    }
    .note p {
        color: #666;
        font-size: 14px;
        width: auto;
    }
        .note p:last-child {
            margin-bottom: 0;
        }
    .note .out,
    .note .in {
        margin: 0;
        background: url(../images/flight_outbound.png) no-repeat 0 50%;
        padding: 3px 0 0 30px;
        line-height: 24px;
    }
    .note .in {
        background-image: url(../images/flight_inbound.png);
    }
    .note strong {
        font-size: 20px;
    }

.material {
    overflow: auto;
    max-width: 850px;
    margin: 15px 0 10px 0;
}
    .material h5 {
        float: left;
        font-weight: bold;
        font-size: 110%;
        margin: 0 0 0.3em 0;
    }
    .material p {
        margin: 0 0 0 0;
        clear: left;
        float: left;
        max-width: 550px;
    }
    .material dl {
        clear: right;
        float: right;
        text-align: right;
        margin: 0 0 0 0;
    }
    .material dt {
        display: inline-block;
        font-size: 12px;
        font-weight: normal;
        font-family: alte_din;
        color: #6c7d84;
        margin: 0px 0.4em 1em 1.5em;
        text-transform: uppercase;
    }
    .material dd {
        display: inline;
        padding-left: 7px;
    }
    .material dd:after {
        display: block;
        content: '';
    }

.place-image {
    margin-top: 25px;
    margin-bottom: -20px;
}


/* Archive pages */

.archive-item {
    margin: 0 0 20px 0;
    overflow: hidden;
}
    .archive-item img {
        float: left;
    }
    .archive-item .panel {
        margin-left: 230px;
    }
    .archive-item .pre-title {
        font-size: 100%;
        margin: 0;
    }
    .archive-item h3 {
        font-size: 140%;
        margin: 5px 0 5px 0;
    }

/* Homepage */

.main-item {
    display: block;
    margin-top: 20px;
    margin-bottom: 0px;
    background: #393939;
    color: #fff;
    position: relative;
    height: 200px;
}
    .main-item img {
        position: absolute;
        top: 0;
        left: 0;
    }
    .main-item .panel {
        position: absolute;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.7);
        padding: 10px 20px;
        overflow: hidden;
        max-width: 50%;
    }
    .main-item .pre-title {
        margin: 5px 0 -5px 0;
        font-size: 110%;
    }
    .main-item .pre-title a {
        color: #999;
    }
    .main-item h1 {
        margin-top: 10px;
        margin-bottom: 10px;
        color: #fff;
        font-size: 250%;
    }
    .main-item h3 {
        margin: 5px 0 10px 0;
        color: #fff;
        font-size: 100%;
        text-transform: uppercase;
    }
    .main-item .intro {
        margin-bottom: 10px;
    }

.about-item {
    margin: 20px 0 0 0;
    background: #e3e3e3;
    padding: 20px 20px;
    font-size: 120%;
    line-height: 1em;
}
    .about-item p {
        margin: 0;
        line-height: 130%;
    }

.secondary-items {
    overflow: hidden;
    margin-top: 20px;
}

.secondary-item {
    float: left;
    position: relative;
    width: 370px;
    height: 110px;
    margin: 0 20px 30px 0;
    background-color: #E1EAF0;
    overflow: hidden;
}
    .secondary-item:nth-child(3n) {
        margin-right: 0px;
    }
    .secondary-item:nth-child(3n+1) {
        clear: left;
    }
    .secondary-item img {
        position: absolute;
        top: 0;
        left: 0;
    }
    .secondary-item .panel {
        margin-left: 75px;
        padding: 10px 20px;
        max-width: 70%;
        overflow: hidden;
        color: #333;
    }
    .secondary-item .pre-title {
        font-size: 90%;
        margin: 7px 0;
    }
    .secondary-item h1 {
        margin: 5px 0 5px 0;
        font-size: 150%;
        color: #3B4556;
        font-weight: normal;
        letter-spacing: -0.03em;
    }
    .secondary-item .intro {
        font-size: 90%;
        line-height: 130%;
    }

.map-item {
    margin: 0 0 0 -20px;
    width: 280px;
    height: 206px;
    overflow: hidden;
}

.findme {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
    .findme a {
        display: block;
        width: 375px;
        background: black;
        color: white;
        padding: 10px 0px;
        font-size: 18px;
        text-align: center;
        margin: 18px 0 0 0;
        text-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    }
    .findme a:hover {
        box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
        text-decoration: none;
    }
    .findme a i {
        margin-right: 4px;
    }
    .findme a.twitter { background: #1DA1F2; }
    .findme a.mastodon { background: #6364ff; }
    .findme a.youtube { background: #FF0000; }
    .findme a.rss { background: #ee802f; }
    .findme a.email { background: #115099; }
    .findme a.tales { background: #411199; }
    .findme a.slides { background: #660772; }

/* Nice forms */

.niceform {
    overflow: hidden;
}
    .niceform label {
        width: 20%;
        text-align: right;
        float: left;
        clear: both;
        padding-right: 2.5%;
        margin-bottom: 0.8em;
    }
    .niceform small {
        float: right;
        color: #aaa;
        font-size: 80%;
        position: relative;
        top: -1.2em;
        padding-right: 2.0%;
    }
    .niceform input, .niceform textarea {
        float: left;
        margin-bottom: 0.8em;
        width: 75%;
    }
    .niceform br {
        display: none;
    }
    .niceform .errorlist {
        float: right;
        list-style-type: none;
        padding: 0;
    }
        .niceform .errorlist li {
            margin: 0;
            color: #a00;
            font-size: 80%;
            margin-right: 2.5%;
        }
    .niceform .submit {
        width: 10em;
        float: right;
        clear: left;
        margin-right: 2.5%;
        margin-bottom: 0.5em;
    }

/* Projects page */

.projects h3 {
    font-size: 110%;
    color: #bbc;
}
.project {
    margin: 10px 0 0 0;
    overflow: hidden;
    max-width: 750px;
}
    .project img {
        float: right;
        margin: 0 0 0 30px;
    }

    .project h2 {
        margin: 0 0 5px 0;
        font-size: 180%;
        color: inherit;
        font-family: alte_din;
        font-weight: normal;
    }
        .project h2 a {
            color: inherit;
        }
    .project p {
        color: inherit;
    }


.links {
    overflow: hidden;
    margin-top: 30px;
}
    .links .prev {
        float: left;
    }
    .links .next {
        float: right;
    }

.medium-thanks {
    font-size: 120%;
}

.huge-thanks {
    font-size: 150%;
}

/* Speaking page */

h2 .countries {
    float: right;
    text-align: right;
    opacity: 0.7;
}
    h2 .countries .howmany {
        display: inline-block;
        vertical-align: middle;
        font-size: 55%;
        padding-right: 10px;
        padding-bottom: 10px;
    }

.talk {
}
    .talk .date {
        float: left;
        text-align: right;
        color: #999;
        width: 80px;
        font-size: 125%;
        font-family: alte_din;
    }
        .talk .date .year {
            display: block;
            font-size: 140%;
            margin-top: 5px;
        }
    .talk h3 {
        margin-left: 100px;
        font-weight: bold;
    }
    .talk h4 {
        margin: -5px 0 15px 100px;
    }
        .talk h4 i {
            margin-right: 3px;
        }
        .talk h4 .year {
            color: #999;
        }
    .talk .location {
        margin-bottom: 10px;
    }
    .talk .conference {
        text-transform: none;
        color: #444;
        font-size: 120%;
    }
    .talk p {
        margin: 0 0 10px 100px;
    }
    .talk .length {
        color: #999;
        font-style: italic;
    }
    .talk .button {
        margin-right: 10px;
    }
        .talk .button i {
            margin-right: 5px;
        }

/* Favourites pages */

.favourite {
    display: block;
    min-height: 150px;
    margin: 0 0 35px 0;
}
    .favourite img {
        float: left;
    }
    .favourite .number {
        float: left;
        font-size: 20px;
        line-height: 30px;
        margin: 0 7px 0 15px;
        color: #889;
    }
    .favourite h2 {
        margin: 0;
        padding: 0;
        font-size: 30px;
    }
        .favourite h2 small {
            color: #668;
            font-size: 65%;
        }
    .favourite p {
        margin: 9px 0 0.7em 90px;
    }

.favourite-small {
    display: block;
    min-height: 50px;
    margin: 0 0 25px 0;
}
    .favourite-small .number {
        float: left;
        font-size: 20px;
        margin: 0 7px 0 0;
        color: #889;
    }
    .favourite-small h2 {
        margin: 0;
        padding: 0;
        font-size: 20px;
    }
        .favourite-small h2 small {
            color: #668;
            font-size: 75%;
        }
    .favourite-small p {
        margin: 6px 0 0.4em 0;
        font-size: 90%;
        opacity: 0.9;
    }

/* Pygments */

.highlight  { background: #272822; color: #f8f8f2 }
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #AD4D70 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sa { color: #e6db74 } /* Literal.String.Affix */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #a6e22e } /* Name.Function.Magic */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */

/*****************
 *****************
       750px
 *****************
 *****************/

@media (max-width: 1200px) {

.header,
.content,
.footer,
.findme,
.materials {
    width: 750px;
}

.header-image {
    width: 750px;
    height: auto;
    border-top: 4px solid #0084c8;
}

.image-left,
.image-right {
    width: 250px;
    font-size: 90%;
}
    .image-right {
        margin-right: 0;
    }

.richtext-image.right {
    max-width: 300px;
    height: auto;
    margin: 0 -0px 20px 20px;
}

.image-wide {
    width: 750px;
}

.video-big {
    width: 100%;
    height: 422px;
}
.video-multi iframe {
    width: 370px;
    height: 211px;
}

.main-column {
    width: 750px;
}

.secondary-column {
    clear: left;
}
    .secondary-column.post-meta {
        width: 170px;
        margin-left: 20px;
        clear: none;
    }

.main-item {
    width: 750px;
    margin-right: 30px;
    overflow: hidden;
}

.secondary-item {
    width: 365px;
}
    .secondary-item:nth-child(3n) {
        margin-right: 20px;
    }
    .secondary-item:nth-child(3n+1) {
        clear: none;
    }
    .secondary-item:nth-child(2n) {
        margin-right: 0;
    }
    .secondary-item:nth-child(2n+1) {
        clear: left;
    }

.map-item {
    display: none;
}

.note {
    float: right;
    top: 0px;
    width: 250px;
    padding: 10px 15px;
    margin: 0px 0 40px 20px;
}

.body-text img {
    max-width: 750px;
}

.place-title img {
    margin-top: 25px;
    width: 100%;
    height: auto;
}

.content .places .place {
    width: 230px;
}

.projects li {
    width: 230px;
    margin: 0 30px 30px 0;
}
.projects li:nth-of-type(4n+1) {
    clear: none;
}
.projects li:nth-of-type(3n) {
    margin-right: 0;
}
.projects li:nth-of-type(3n+1) {
    clear: left;
}

.findme a {
    width: 365px;
}

}


/*****************
 *****************
       Flexi
 *****************
 *****************/

@media (max-width: 750px) {

body {
    padding: 0 5px;
}

.header,
.content,
.footer,
.header-image,
.image-big,
.main-column,
.body-text p,
.highlight,
.main-item,
.findme,
.body-text ul,
.materials {
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.body-text img {
    max-width: 100%;
}

.findme a {
    width: 100%;
}

.note {
    padding-left: 3%;
    padding-right: 3%;
    width: 94%;
}

.image-left,
.image-right {
    float: none;
    margin: 20px;
}

.main-item .panel {
    max-width: 100%;
}
.main-item h1 {
    font-size: 170%;
    font-weight: normal;
}
.main-item h3 {
    font-size: 90%;
}

.secondary-item {
    clear: left;
    width: 100%;
}

.archive-item img {
    width: 70px;
}
.archive-item .panel {
    margin-left: 80px;
}

.post-title h1 {
    font-size: 200%;
}

}
