/* Header & about section */

.header {
    margin: 0 0;
    max-width: 100%;
    padding-top:    1.3em;
    padding-bottom: 1.5em;

    margin-left:  5%;
    margin-right: 5%;
    border-bottom: 1px solid #313131;
}

.logo-and-title {
    display: inline;
}

.header-logo {
    display: inline-block;
    vertical-align: middle;
    max-width: 70px;
    padding-left: 0em;
}

.header-title {
    /*white-space: nowrap;*/
    display: inline;
    vertical-align: middle;

    padding-left: 0.3em;

    color: #333;
    font-size: 48px;
    font-weight: 200;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.header-icons {
    text-align: right;
    float: right;
    padding-top: 1.2em;
    padding-left: 0;
    white-space: nowrap;
}

.about-frame {
    padding-left: 12%;
    padding-right: 12%;
    padding-top: 2em;
    padding-bottom: 2em;
    float: left;
    position: relative;
}

.about-image-frame {
    float: left;
    width: 30%;
}

.about-image-frame img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: 2px solid #313131;
    border-radius: 50%;
}

.about-text-frame {
    float: right;
    width: 60%;
    max-height: 100%;
}

.about-text {
    line-height: 1.5em;
    text-align: left;
}

.font-icon {
    font-size: 40px;
    color: #20253d;
    margin-right: -0.25em;
}

.font-icon:hover {
    color: #999;
}

.font-icon-manual {
    font-size: 40px;
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;

    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: -0.05em;    /* .2em is default */
    text-align: center;
    /* opacity: .8; */

    /* For safety - reset parent styles, that can break glyph codes*/
    font-variant: normal;
    text-transform: none;

    /* fix buttons height, for twitter bootstrap */
    line-height: 1em;

    /* Animation center compensation - margins should be symmetric */
    /* remove if not needed */
    margin-left: .2em;

    /* you can be more comfortable with increased icons size */
    /* font-size: 120%; */

    /* Font smoothing. That was taken from TWBS */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Uncomment for 3D effect */
    /*text-shadow: 2px 2px 2px rgba(127, 127, 127, 0.3);*/
}

.font-icon-manual a {
    color: #20253d;
}

.font-icon-manual:hover a {
    color: #999;
}

@media (max-width: 1200px) {

}

@media (max-width: 925px) {
    .header {
/*        background: #ff0;*/
    }

    .header-logo {
        max-width: 55px;
    }

    .header-title {
        font-size: 40px;
    }

    .header-icons {
        padding-top: 0.7em;
    }

    .about-frame {
        padding-left: 0%;
        padding-right: 0%;
    }

    .font-icon {
        font-size: 36px;
    }

    .font-icon-manual {
        font-size: 36px;
    }
}

@media (max-width: 700px) {
    .header {
/*        background: #f00;*/
    }

    .logo-and-title {
        display: block;
        text-align: center;
    }

    .header-logo {
        padding-left: 0em;
    }

    .header-icons {
        float: none;
        text-align: center;
        padding-top: 1.5em;
    }

    .about-image-frame {
        float: none;
        display: block;
        width: 50%;
        margin: 0 auto;
        margin-bottom: 1.5em;
    }

    .about-text-frame {
        float: none;
        width: 90%;
        margin: 0 auto;
        position: relative;
        transform: translateY(0%);
    }
}
