/*@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700);
@import url(https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css);
*/

html {
    /* background: mediumseagreen;*/
    font-size: 14px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    min-width: 300px;
    overflow-x: hidden;
    overflow-y: scroll;
    text-rendering: optimizeLegibility;
}

a {
    text-decoration: none;
}

body {
    background-color: #f1f2c2
}

div,
h2,
p,
figure {
    margin: 0;
    padding: 0;
}

.header {
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.header h1 {
    font-size: 40px;
    font-weight: bold;
}

.header h2 a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    font-size: 20px;
    opacity: 0.5;
}

.header h2 a:hover {
    border-bottom-color: white;
    opacity: 1;
}

.main {
    margin: 0 auto;
    max-width: 1040px;
    padding: 10px;
    background-color: #f1f2c2;
    margin-top: 5px;
}

.column {
    flex: 1;
    flex-direction: column;
}

.article {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    color: #666;
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-basis: auto;
    margin: 10px;
}

.inactive_link {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    color: #666;
    display: flex;
    flex: 1;
    flex-direction: column;
    flex-basis: auto;
    margin: 10px;
}

.article:hover,
.article:focus {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    color: #444;
}

.article_none_shadow:hover {
    box-shadow: none;
}

.article-image {
    background: #eee;
    display: block;
    padding-top: 75%;
    position: relative;
    width: 100%;
}

.article-image img {
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.article-image.is-3by2 {
    padding-top: 66.6666%;
}

.article-image.is-16by9 {
    padding-top: 56.25%;
}

.article-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.article-body p {
    font-size: 14px;
}

.article-title {
    color: #FD4E17;
     /*color: #5099FF; */
    flex-shrink: 0;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 1.2;
}

.article-content {
    flex: 1;
    margin-top: 5px;
}

.article-info {
    display: flex;
    font-size: 0.85em;
    justify-content: space-between;
    margin-top: 10px;
}

@media screen and (min-width: 800px) {
    .columns,
    .column {
        display: flex;
    }
}

@media screen and (min-width: 1000px) {
    .first-article {
        flex-direction: row;
    }
    .first-article .article-body {
        flex: 1;
    }
    .first-article .article-image {
        height: 300px;
        order: 2;
        padding-top: 0;
        width: 400px;
    }
    .main-column {
        flex: 3;
    }
    .nested-column {
        flex: 2;
    }
}

.orange {
    color: #FD4E17;
}

@media screen and (max-width: 748px) {
    .column {
        width: 100%;
    }
}