
@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa/Evolventa-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa/Evolventa-Bold.ttf");
  font-weight: 800;
}

@font-face {
  font-family: "Evolventa";
  src: url("fonts/Evolventa/Evolventa-Oblique.ttf");
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat/Montserrat-Regular.ttf");
  font-weight: 400;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat/Montserrat-Bold.ttf");
  font-weight: 800;
}


/*!
 * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    overflow-x: hidden;
    margin: 0;
    font-family: "Evolventa", "Arial", sans-serif;
    font-size: 14px;
    background: #f4f4f4;
    color: #4b4b4b;
}

@media all and (max-width: 440px) {
    body {
        font-size: 12px;
    }
}

p {
    line-height: 1.5em;
}

p.small {
    font-size: 13px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    text-decoration: none;
    outline: 0;
    color: #25368C;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    color: #25368C;
}

h2 {
    margin: 2em 0;
    text-align: center;
    vertical-align: middle;
}

h2:before, h2:after {
    content: '';
    width: 15px;
    height: 15px;
    display: inline-block;
    background: url('../img/hex.svg') center center no-repeat;
    position: relative;
    margin: 0 .5em;
}

li {
    list-style-type: none;
    margin-bottom: 1em;
    position: relative;
}

li:before {
    position: absolute;
    left: -15px;
    top: 5px;
    content: '';
    background: url('../img/hex.svg') center center no-repeat;
    height: 10px;
    width: 10px;
}

section {
    margin-bottom: 2em;
    padding-top: 4em;
}

@media (max-width: 440px) {
    section {
        padding-top: 8em;
    }

    li:before {
        top: 3px;
    }
}

hr {
    display: none;
}

.container {
    max-width: 1200px;
    padding: 0 2em;
    margin: 0 auto;
}

.panel {
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 5px 1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    padding: .5em 2em;
}

a.button,
a.button:focus,
a.button:active,
a.button:visited {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    padding: 15px 25px;
    color: #fff;
    background-color: #25368C;
    border-radius: 2px;
    text-transform: uppercase;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, .3);
    border: 1px solid transparent;
}

a.button:hover {
    transform: translateY(-1px);
    border-bottom: 1px solid #000;
    text-decoration: none;
}

a.button:active {
    transform: translateY(1px);
}

.clearfix {
    clear: both;
}

/* navbar */

.navbar {
    position: fixed;
    border-bottom: 1px solid #eee;
    width: 100%;
    background: #fff;
    z-index: 10;
    top: 0;
}

.navbar__title {
    float: left;
    display: inline;
    margin: .5em 0;
}

.navbar__title a, .navbar__title img {
    display: block;
}

.navbar__links {
    display: inline;
    float: right;
    margin: 1.5em 0;
    padding: 0;
    width: 50%;
    text-align: right;
}

.navbar__links li {
    margin-left: 30px;
    display: inline;
}

@media all and (max-width: 440px) {
    .navbar__title {
        display: block;
        float: none;
    }

    .navbar__links {
        display: block;
        float: none;
        text-align: left;
        width: auto;
    }

    .navbar__links li {
        margin-left: 0;
        margin-right: 20px;
        display: inline;
    }
}

/* header */

.header {
    background: url("../img/3.jpg") center center no-repeat;
    background-size: cover;
    height: 350px;
    padding-top: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header .container {
    transform: translateY(-50%);
    top: 52%;
    position: relative;
}

.header__text {
    font-size: 1.2em;
    color: #fff;
    margin-bottom: 1.3em;
}

.header h2 {
    color: #fff;
    font-size: 1.5em;
    font-family: "Evolventa", "Trebuchet MS", sans-serif;
    font-weight: 400;
    margin: .3em 0;
    display: inline-block;
    position: relative;
}

.header__title:before,
.header__title:after {
    content: '';
    width: 15px;
    height: 15px;
    display: inline-block;
    background: url('../img/hex.svg') center center no-repeat;
    position: relative;
    margin: 0 .2em;
    top: -.1em;
}

@media all and (max-width: 640px) {
    .header {
        padding-top: 90px;
    }

    .header__text {
        font-size: 1em;
    }
}

/* portfolio */

#portfolio {
    padding-top: 1em;
}

.portfolio__grid {
    margin-bottom: 2em;
}

.blog__grid {
    margin-bottom: 2em;
    margin-left: 10%;
    margin-right: 10%;
}

.portfolio__grid a:hover {
    text-decoration: none;
}

.portfolio__grid .panel {
    padding: 0;
}

.portfolio__item {
    height: 100px;
    width: 47%;
    float: left;
    margin: 1.5%;
}

.portfolio__post {
    height: 120px;
    width: 90%;
    float: left;
    margin: 1%;
}

@media all and (max-width: 1090px) {
    .portfolio__item {
        width: 100%;
        margin: 0 0 1em 0;
        line-height: 1.2em;
    }
}

.portfolio__img-container {
    width: 100px;
    height: 100px;
    overflow: hidden;
    float: left;
    border-right: 1px solid #eee;
    z-index: 2;
}

.portfolio__img {
    height: 100%;
}

.portfolio__content {
    margin: 15px;
    overflow: hidden;
    height: 70px;
    box-sizing: unset;
    padding-left: 15px;
}

.portfolio__challenge-owner {
    color: #777777;
    font-size: .8em;
}

@media all and (max-width: 600px) {
    .portfolio__challenge-owner {
        display: none;
    }
}

/* posts */

#post .post__content h2 {
    margin: 1em 0;
}

#post .post__content h2:before {
    margin-left: 0;
}

#post .post__content h2:after {
    background: none;
}

#post .panel {
    padding: 2em;
    float: left;
    box-sizing: border-box;
}

#post .post__info {
    width: 32%;
    margin-right: 1.5%;
}

#post .post__info h3 {
    margin-top: 0;
}

#post .post__info img {
    width: 100%;
}

#post .post__description {
    padding-top: .5em;
    width: 65%;
    margin-left: 1.5%;
}

#post .post__description h2 {
    text-align: left;
}

#post .post__description img {
    border-radius: 40px;
    height: 225px;
}

#post .post__data img {
    width: 100%;
}

#post .post__title {
    text-align: center;
    font-size: 2em;
}

#post .button {
    margin: 2em auto 0;
    display: block;
}

/* blogposts */

#blogpost .post__content h2 {
    margin: 1em 0;
}

#blogpost .post__content h2:before {
    margin-left: 0;
}

#blogpost .post__content h2:after {
    background: none;
}

#blogpost .panel {
    padding: 2em;
    float: left;
    margin-left: 12em;
    box-sizing: border-box;
}

#blogpost .post__info {
    width: 32%;
    margin-right: 1.5%;
}

#blogpost .post__info h3 {
    margin-top: 0;
}

#blogpost .post__info img {
    width: 100%;
}

#blogpost .post__description {
    padding-top: .5em;
    padding-bottom: .5em;
    width: 80%;
    margin-left: 10%;
    margin-bottom: 1em;
}

#blogpost .post__description h2 {
    text-align: left;
}

#blogpost .post__description img {
    width: 40em;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#blogpost .post__description img + em {
    display: block;
    text-align: center;
    font-size: 0.9em;
    padding-top: 1em;
    margin: 0;
}

@media screen and (min-width: 768px) {
    #blogpost .post__description img + em {
        width: 80%;
        margin: 0 auto;
    }
}

#blogpost .post__data img {
    width: 100%;
}

#blogpost .post__title {
    text-align: center;
    font-size: 2em;
}

#blogpost .button {
    margin: 2em auto 0;
    display: block;
}

@media all and (max-width: 700px) {
    #blogpost .container {
        padding: 0;
    }

    #blogpost .panel {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    #post .panel {
        float: none;
        width: 100%;
        margin: 0;
    }

    #post .post__info {
        margin-bottom: 2em;
        text-align: center;
    }

    #post .post__info img {
        max-width: 350px;
    }
}

/* contact */

#contact {
    text-align: center;
    background-color: #fff;
    padding: 2em;
    margin-bottom: 0;
}

#contact h2 {
    margin: 0 0 1em;
}

#contact .button {
    font-size: 1.3em;
    margin-bottom: 1.2em;
}

/* footer */

.footer {
    background-color: #26353f;
    color: #fff;
    padding: 1em 0 2em;
}

.footer__column {
    width: 24%;
    float: left;
    margin: .5%;
}

@media (max-width: 640px) {
    .footer__column {
        width: 100%;
    }

    .footer li {
        display: block;
        font-size: 1.2em;
    }
}

.footer a,
.footer h3 {
    color: #fff;
}

.footer ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    line-height: 26px;
}

.footer li {
    margin: 0 1em 0 0;
}

.footer li:before {
    content: none;
}

ul.footer__social {
    margin-top: 2em;
}

.footer__social li {
    display: inline;
}

.footer__etalab {
    height: 50px;
}

.footer__sgmap {
    height: 130px;
}

/* Share Bar */
#share-bar {
    font-size: 15px;
    margin: 1em 0 1em 0;
    text-align: right;
}

/* All buttons */
.share-buttons {
}

/* Each button */
.share-button {
    margin-bottom: 10px;
    margin-right: 0;
    /* border: 1px solid #D3D6D2; */
    padding: 5px 10px 5px 10px;
}
.share-button:hover {
    opacity: 1;
    color: #ffffff;
}

/* Facebook button */
.fa-facebook-official {
    color: #3b5998;
}
.fa-facebook-official:hover {
    background-color: #3b5998;
}

/* Twitter button */
.fa-twitter {
    color: #55acee;
}
.fa-twitter:hover {
    background-color: #55acee;
}

/* Google-PLus button */
.fa-google-plus {
    color: #dd4b39;
}
.fa-google-plus:hover {
    background-color: #dd4b39;
}

/* Pinterest button */
.fa-pinterest-p {
    color: #cb2027;
}
.fa-pinterest-p:hover {
    background-color: #cb2027;
}

/* Tumblr button */
.fa-tumblr {
    color: #32506d;
}
.fa-tumblr:hover {
    background-color: #32506d;
}

/* Reddit button */
.fa-reddit-alien {
    color: #ff4500;
}
.fa-reddit-alien:hover {
    background-color: #ff4500;
}

/* LinkedIn button */
.fa-linkedin {
    color: #007bb5;
}
.fa-linkedin:hover {
    background-color: #007bb5;
}

/* Email button */
.fa-envelope {
    color: #444444;
}
.fa-envelope:hover {
    background-color: #444444;
}

.highlight {
    overflow: scroll;
}
.highlight pre, pre, .highlight .hll { 
    background-color: #f8f8f8; 
    border: 1px solid #ccc;
    padding: 6px 10px;
    border-radius: 3px; 
}
.highlight .c { color: #999988; font-style: italic; }
.highlight .err { color: #a61717; background-color: #e3d2d2; }
.highlight .k { font-weight: bold; }
.highlight .o { font-weight: bold; color: rgb(83, 189, 238)}
.highlight .cm { color: #999988; font-style: italic; }
.highlight .cp { color: #999999; font-weight: bold; }
.highlight .c1 { color: #999988; font-style: italic; }
.highlight .cs { color: #999999; font-weight: bold; font-style: italic; }
.highlight .gd { color: #000000; background-color: #ffdddd; }
.highlight .gd .x { color: #000000; background-color: #ffaaaa; }
.highlight .ge { font-style: italic; }
.highlight .gr { color: #aa0000; }
.highlight .gh { color: #999999; }
.highlight .gi { color: #000000; background-color: #ddffdd; }
.highlight .gi .x { color: #000000; background-color: #aaffaa; }
.highlight .go { color: #888888; }
.highlight .gp { color: #555555; }
.highlight .gs { font-weight: bold; }
.highlight .gu { color: #800080; font-weight: bold; }
.highlight .gt { color: #aa0000; }
.highlight .kc { font-weight: bold; }
.highlight .kd { font-weight: bold; }
.highlight .kn { font-weight: bold; }
.highlight .kp { font-weight: bold; }
.highlight .kr { font-weight: bold; }
.highlight .kt { color: #445588; font-weight: bold; }
.highlight .m { color: #009999; }
.highlight .s { color: #aa425c; }
.highlight .n { color: #333333; }
.highlight .na { color: teal; }
.highlight .nb { color: #0d91bd; }
.highlight .nc { color: #445588; font-weight: bold; }
.highlight .no { color: teal; }
.highlight .ni { color: purple; }
.highlight .ne { color: #990000; font-weight: bold; }
.highlight .nf { color: #990000; font-weight: bold; }
.highlight .nn { color: #555555; }
.highlight .nt { color: navy; }
.highlight .nv { color: teal; }
.highlight .ow { font-weight: bold; }
.highlight .w { color: #bbbbbb; }
.highlight .mf { color: #009999; }
.highlight .mh { color: #009999; }
.highlight .mi { color: #009999; }
.highlight .mo { color: #009999; }
.highlight .sb { color: #dd1144; }
.highlight .sc { color: #dd1144; }
.highlight .sd { color: #dd1144; }
.highlight .s2 { color: #dd1144; }
.highlight .se { color: #dd1144; }
.highlight .sh { color: #dd1144; }
.highlight .si { color: #dd1144; }
.highlight .sx { color: #dd1144; }
.highlight .sr { color: #009926; }
.highlight .s1 { color: #dd1144; }
.highlight .ss { color: #990073; }
.highlight .bp { color: #4f7c29; }
.highlight .vc { color: teal; }
.highlight .vg { color: teal; }
.highlight .vi { color: teal; }
.highlight .il { color: #009999; }
.highlight .gc { color: #999; background-color: #EAF2F5; }