/**
  * Copyright (c) 2015 paramana.com
  * Theme Name: paramana.com
  * Description: Main CSS file for paramana.com
  * Version: 3.0
  * Author: thanos@paramana.com
  *
 **/


html {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

body {
    background-color: #373849;
    color: white;
    min-width: 320px;
    height: 100%;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-section {
    border-bottom: none;
    padding: 1px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 1em 0;
}

.button {
    width: 60px;
    height: 60px;
    font-size: 2.5em;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.2);
    line-height: 60px;
    border-radius: 50%;
}

.button:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

.button:active {
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

.link {
    border-bottom: 1px solid white;
}

.link:hover {
    border-bottom: 1px dashed white;
}

/* ==========================================================================
    Typography
   ========================================================================== */

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on November 16, 2014 */
@font-face {
    font-family: "comfortaaregular";
    src: url("webfontkit/comfortaa-regular-webfont.eot");
    src: url("webfontkit/comfortaa-regular-webfont.eot?#iefix") format("embedded-opentype"),
    url("webfontkit/comfortaa-regular-webfont.woff2") format("woff2"),
    url("webfontkit/comfortaa-regular-webfont.woff") format("woff"),
    url("webfontkit/comfortaa-regular-webfont.ttf") format("truetype"),
    url("webfontkit/comfortaa-regular-webfont.svg#comfortaaregular") format("svg");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: "Questrial", sans-serif;
    font-weight: 100;
}

a {
    color: white;
    text-decoration: none;
}

h1, h2, h3, h4 {
    font-weight: 100;
}

.section__summary {
    font-size: 1em;
    line-height: 1.3;
}

@media all and (min-width: 600px) {
    .section__summary {
        font-size: 1.3em;
    }
    .section__cta {
        font-size: 1.2em;
    }
}


/* ==========================================================================
   Iconography
   ========================================================================== */

@font-face {
    font-family: "paramana-icon-font";
    src: url("fonts/paramana-icon-font.eot?ihbg7i");
    src: url("fonts/paramana-icon-font.eot?#iefixihbg7i") format("embedded-opentype"),
    url("fonts/paramana-icon-font.woff?ihbg7i") format("woff"),
    url("fonts/paramana-icon-font.ttf?ihbg7i") format("truetype"),
    url("fonts/paramana-icon-font.svg?ihbg7i#paramana-icon-font") format("svg");
    font-weight: normal;
    font-style: normal;
}

[class^="pi-"], [class*=" pi-"] {
    font-family: "paramana-icon-font";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    /*line-height: 1;*/

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pi-dribbble:before {
    content: "\e600";
}

.pi-twitter:before {
    content: "\e601";
}

.pi-github:before {
    content: "\e602";
}

.pi-linkedin:before {
    content: "\e603";
}

.pi-down-arrow-circle:before {
    content: "\e604";
}

.pi-plus-circle:before {
    content: "\e605";
}

.pi-plus:before {
    content: "\e606";
}

.pi-close-circle:before {
    content: "\e607";
}

.pi-close:before {
    content: "\e608";
}

.pi-down-arrow:before {
    content: "\e609";
}

.pi-up-arrow-circle:before {
    content: "\e60a";
}

.pi-up-arrow:before {
    content: "\e60b";
}

.pi-left-arrow-circle:before {
    content: "\e60c";
}

.pi-left-arrow:before {
    content: "\e60d";
}

.pi-fullscreen:before {
    content: "\e60e";
}

.pi-hamburger:before {
    content: "\e60f";
}

.pi-loading:before {
    content: "\e610";
}


/* ==========================================================================
    Top Navigation Bar
   ========================================================================== */

.nav-bar {
    margin: 0 auto;
    height: 72px;
    position: fixed;
    width: 100%;
    z-index: 5;
    background-color: #2E2F3D;
}

@media all and (min-width: 600px) {
    .nav-bar {
        height: 88px;
    }
}

.nav-bar__inner {
    margin: 0 auto;
    max-width: 1280px;
}

.nav {
    background-color: #2E2F3D;
    position: relative;
    transition: all 0.2s ease-in;
    max-height: 0;
    overflow: hidden;

}

.nav.expanded {
    max-height: 300px;
}

.logo {
    font-family: "comfortaaregular";
    margin: 0;
    letter-spacing: 0.5px;
}

.logo--header {
    font-size: 19px;
    display: inline-block;
    line-height: 72px;
}

@media all and (min-width: 600px) {
    .logo--header {
        font-size: 22px;
        line-height: 88px;
    }
}

.logo--footer {
    padding-top: 1em;
    font-size: 16px;
    padding-bottom: 0.5em;
}

.logo__dotcom {
    color: #717374;
}

.logo:before {
    content: " ";
    background-color: #2b2b2b;
    display: inline-block;
    border: 1px solid #e1e1e1;
}

.logo--header:before {
    width: 24px;
    height: 24px;
    margin-top: 24px;
    margin-left: 10px;
    margin-right: 6px;
    float: left;
    border-radius: 2px;
}

@media all and (min-width: 600px) {
    .logo--header:before {
        width: 30px;
        height: 30px;
        margin-top: 30px;
        margin-right: 10px;
        border: 2px solid #e1e1e1;
    }
}

.logo--footer:before {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: text-top;
    border-radius: 2px;
    margin-top: 2px;
}

.menu-icon {
    font-size: 2.5em;
    display: inline-block;
    float: right;
    border: 0;
    height: 72px;
    width: 72px;
    text-align: center;
    line-height: 72px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.menu-icon:active {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

@media all and (min-width: 600px) {
    .menu-icon {
        width: 88px;
        height: 88px;
        line-height: 88px;
    }
}

.nav-item {
    text-align: center;
}

.nav-item a {
    border-bottom-color: #444444;
    padding-bottom: 1em;
    padding-top: 1em;
}

.nav-item a {
    display: block;
}

@media all and (min-width: 900px) {
    .menu-icon {
        display: none;
    }
    .nav {
        max-height: none;
        float: right;
        overflow: visible;
        padding-top: 24px;
        margin-right: 10px;
    }
    .nav-item {
        display: inline-block;
    }
    .nav-item a {
        padding: 0.8em 1em;
        ;
        font-size: 1.1em;
        border-radius: 2px;
    }
    .nav-item a:hover {
        background-color: rgba(0, 0, 0, 0.2);
    }
}


/* ==========================================================================
    Sections
   ========================================================================== */

.section {
    position: relative;
}

.section--what-we-do {
    background: url(../images/hero-graphic.png) no-repeat center center;
    width: 100%;
    padding-top: 72px;
    text-align: center;
    background-size: contain;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
}

@media all and (min-width: 600px) {
    .section--what-we-do {
        padding-top: 88px;
    }
}

.section--our-work {
    background-color: #536c8b;
    z-index: 2;
}

.section--who-we-are {
    background-color: #379181;
}

.section--contact {
    background-color: #536c8b;
}

.section__inner {
    padding-top: 10em;
    padding-bottom: 12em;
}

.section__inner--what-we-do {
    margin: 1em 0;
    -webkit-flex-grow: 1;
    -moz-flex-grow: 1;
    -ms-flex-grow: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
}

.section__inner--contact {
    padding-bottom: 0;
}

.section__header {
    text-align: center;
    position: relative;
    margin: 0;
    padding: 0.5em 2%;
    line-height: 1;
    font-size: 2em;
    line-height: 1.2;
}

@media all and (min-width: 600px) {

    .section__header {
        font-size: 3em;
        max-width: 800px;
        margin: auto;
    }

    .section__header--what-we-do {
        margin: 0;
    }
}

.section__header:after {
    content: " ";
    display: block;
    width: 80px;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 50%;
    position: absolute;
    margin-left: -40px;
    border-radius: 2px;
}

.section__summary {
    text-align: center;
    margin: 0;
    padding: 1em 2%;
    z-index: 2;
    position: relative;
}

@media all and (min-width: 699px) {
    .section__summary {
        max-width: 700px;
        margin: auto;
    }

    .section__summary--what-we-do {
        margin: 0;
    }
}

.section__cta {
    text-align: center;
}

.section__cta a {
    border: 1px solid white;
    text-decoration: none;
    padding: 0.4em 0.8em;
    border-radius: 2px;
    background-color: #373849;
    display: inline-block;
    z-index: 2;
    position: relative;
}

.section__cta a:hover {
    background-color: #191921;
}

.section__cta a:active {
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

.section__map {
    height: 300px;
    background-color: #373849;
}

@media all and (min-width: 699px) {
    .section__map {
        height: 500px;
    }
}


/* ==========================================================================
   Project List
   ========================================================================== */

.project-list {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 1em;
}

.project-item {
    height: 160px;
    background-color: #7f3c4e;
    padding: 0;
    margin-bottom: 1em;
    position: relative;
    cursor: pointer;
    opacity: 0.6;
}

@media all and (min-width: 600px) {
    border-radius: 2px;
}

.project-item:hover {
    opacity: 1;
}

.project-item--delivericious {
    background: #d5d7c8 url("../images/projects/logos/delivericious@1x.png") center center no-repeat;
}

.project-item--emprego {
    background: white url("../images/projects/logos/emprego@1x.png") center center no-repeat;
}

.project-item--amnesty {
    background: #f5f500 url("../images/projects/logos/amnesty@1x.png") center center no-repeat;
}

.project-item--index {
    background: white url("../images/projects/logos/index@1x.png") center center no-repeat;
}

.project-item--qcenter {
    background: white url("../images/projects/logos/qcenter@1x.png") center center no-repeat;
}

.project-item--moa192b {
    background: #0a0a0a url("../images/projects/logos/moa192b@1x.png") center center no-repeat;
}

@media all and (min-width: 600px) {
    .project-item {
        width: 48%;
        display: block;
        margin-left: 1%;
        margin-right: 1%;
        float: left;
    }
    .project-item:before {
        display: none;
    }
}


/* ==========================================================================
   Team member
   ========================================================================== */

.team {
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    margin: 0 auto 2em;
    width: 96%;
    text-align: center;
}

.team-member__avatar {
    width: 40%;
    border-radius: 50%;
    border: 3px solid white;
    margin-bottom: 0.3em;
    overflow: hidden;
    display: inline-block;
    max-height: 100%;
}

.team-member__name {
    margin-bottom: 0.3em;
}

.team-member__role {
    margin-bottom: 0.3em;
}

.team-member__website {
    margin-bottom: 0.3em;
}

.team-member__social-media a {
    white-space: nowrap;
    border-bottom: none;
}

.team-member__social-media a:not(:first-child) {
    margin-left: 0.5em;
}

@media (min-width: 630px) {
    .team-member {
        width: 32.9%;
        display: inline-block;
        vertical-align: top;
        font-size: 0.8em;
    }
}

@media all and (min-width: 800px) {
    .team-member {
        width: 33%;
        font-size: 1em;
    }
    .team-member__avatar {
        width: 70%;
        margin-bottom: 0.5em;
    }
}


/* ==========================================================================
   Modal Window
   ========================================================================== */

.modal-window {
    position: fixed;
    background-color: rgba(55, 56, 73, 0.95);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    padding-top: 4em;
    padding-right: 10%;
    padding-left: 10%;
    overflow-y: scroll;
    padding-bottom: 3em;
    -webkit-overflow-scrolling: touch;
}

.modal-window img {
    max-width: 100%;
    display: block;
}

.project {
    margin-bottom: 3em;
}

.project__header {
    text-align: center;
    margin-bottom: 3em;
}

.project__name {
    font-size: 3em;
    margin-bottom: 1rem;
}

.project__url {
    border-bottom: 1px solid white;
    font-size: 1.3em;
}

.project__image {
    display: block;
    margin: 0 auto 2em;
}

.modal-window__close--top {
    top: 1em;
    right: 10%;
    position: absolute;
}

.modal-window__close--bottom {
    text-align: center;
}


/* ==========================================================================
   Map
   ========================================================================== */

#map-canvas {
    margin: 0;
    padding: 0;
    background-color: #536c8b!important;
    height: 100%;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    text-align: center;
    padding: 2em 0 1em;
    background-color: #2b2b2b;
}

.back-to-top {
    display: inline-block;

}

/*.colophon {
    padding: 1em 0;
    display: block;
    background-color: #1f1f1f;
}
*/

/* ==========================================================================
   Helper classes
   ========================================================================== */

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.hidden {
    display: none;
    visibility: hidden;
}

.visible {
    display: block;
    visibility: visible;
}

.overflow-hidden {
    overflow: hidden;
}
