/*@import url('https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed:300|Crimson+Text|Open+Sans:400,600,700');*/
@import url('https://fonts.googleapis.com/css?family=Barlow+Semi+Condensed:300,400,500,600,700|Barlow:400,500,600|Crimson+Text|Open+Sans:400,600,700');


html {
    height: 100%;
}

body {
    margin: 0;
    padding: 17px;
    background: #f2f2f2;
    min-height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #3f3f3f;
}

a:link {
    color: #ff9900;
    text-decoration: none;
}
a:visited {
    color: #ff9900;
}
a:hover {
    color: #cc6600;
    text-decoration: underline;
}
a:active {
    color: #cc6600;
}

.main {
    max-width: 970px;
    background: #fff;
    height: 100%;
    margin: 0 auto;
    box-shadow: 0px 0px 11.88px 0.12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e1e1;
}

#header {
    background: #fafafa;
    margin-top: 30px;
    padding: 0 33px;
    display: flex;
    align-items: center;
    line-height: 1;
    margin-bottom: 73px;
}

.logo {
    padding: 16px 0;
}
.logo a {
    display: block;
    background-image: url('images/logo.png');
    width: 38px;
    height: 38px;
} 

.nav {
    text-align: right;
    flex-grow: 1;
    color: #999;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

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

.nav ul li {
    display: inline-block;
    padding: 0 11px;
}
.nav ul li:last-child {
    padding-right: 0;
}

.nav a:link {
    color: #999;
    text-decoration: none;
}
.nav a:visited {
    color: inherit;
}
.nav a:hover {
    color: #ff9900;
    border-bottom: 1px solid #ffcc66;
    padding-bottom: 3px;
}
.nav a:active {
    color: #cc6600;
    border-bottom: 1px solid #ff9900;
}
.nav a.selected {
    border-bottom: 1px solid #999;
    color: #575757;
    padding-bottom: 3px;
    pointer-events: none;
}


.intro {
    margin: 0 80px 90px 90px;
    font-size: 35px;
    font-weight: 400;
    color: #999;
    line-height: 47px;
    font-family: 'Crimson Text', serif;
    text-align: center;
    position: relative;
}

.content {}

.section {
    /*padding-bottom: 73px;*/
    /*padding-bottom: 57px;*/
    padding-bottom: 43px;
}

h1 {
    color: #7a7a7a;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 23px;
    font-weight: 500;
    margin: 0 33px 8px;
    padding: 0;
}

/*h1 {
    color: #7a7a7a;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 23px;
    font-weight: 500;
    margin: 0 33px 4px 0;
    padding: 0;
    border-left: 4px solid #e4e4e4;
    padding-left: 29px;
    padding-bottom: 4px;
    padding-top: 2px;
}*/


.section-wrap {
    padding-top: 21px;
}

.section-subheader {
    margin: 0 33px 5px;
}
.section-subheader h2 {
    font-size: 15px;
    /*font-weight: 700;*/
    font-weight: 500;
    /*font-weight: 600;*/
    text-transform: uppercase;
    color: #999;
    /*color: #7a7a7a;*/
    margin-top: 0;
    margin-bottom: 7px;
    padding-bottom: 0;
}

.section-describe {
    margin: 0 33px;
    /*padding-bottom: 21px;*/
    padding-bottom: 7px;
    color: #3f3f3f;
    line-height: 1.6;
    /*border-bottom: 1px dashed #dfdfdf;*/
}

.section-describe+.section-subheader {
    padding-top: 12px;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    padding: 0 16.5px;
    padding-top: 6px;
}
.section-content a {
    border: 7px solid #f4f4f4;
    width: 201px;
    height: 140px;
    box-sizing: border-box;
    margin: 0 16.5px 33px;
    display: block;
}
.section-content a:hover {border-color: #e1e1e1;}
.section-content a:active {border-color: #ccc;}

.border {
    height: 1px;
    margin: 0 33px;
    border-bottom: 1px dashed #ccc;
    margin-top: 21px;
}

/*.border {
    height: 2px;
    background: #dfdfdf;
    margin: 0 33px;
}*/

/* CASE STUDY */

.casestudy .section-content, 
.about .section-content {
    /*margin: 0 33px 16px;*/
    margin: 0 33px;
    padding: 0;
    flex-direction: row;
}
.casestudy .section-content div {
    box-sizing: border-box;
}

.casestudy .section-content a {
    border: none;
    width: auto;
    height: auto;
    margin: 0;
    display: block;
}

.column-one {
    display: flex;
    flex-direction: column;
    flex-basis: 70%;
    margin-right: 21px;
}
.column-two {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-top: 33px;
}
.column-two div {
    margin-bottom: 16px;
}

.row-one {
    display: flex;
    padding-bottom: 16px;
    justify-content: space-around;
    width: 100%;
}
.row-one div {
    margin-right: 21px;
    /*padding-top: 12px;*/
}
.row-one div:last-child {
    margin-right: 0;
}

.about .column-one {
    flex-basis: 20%;
}
.about .column-two {}

.casestudy .section-content div img {
    box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.2);
    max-width: 100%;
}

.casestudy .section-content p {
    margin-top: 0;
    padding: 0;
    margin-bottom: 25px;
}

/*.casestudy .section-content strong {
    display: block;
    font-size: 18px;
}*/

.casestudy .section-content h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    color: #7a7a7a;
    border-bottom: 1px solid #dfdfdf; 
    margin-top: 0;
    margin-bottom: 12px;
    padding-bottom: 5px;
    max-width: 430px;
}

.casestudy h1 {
    margin-bottom: 25px;
    /*border-bottom: 1px solid #ccc;*/
    border-bottom: 1px dashed #dfdfdf;
    padding-bottom: 21px;
}

.casestudy h2 {
    color: #7a7a7a;
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 21px;
    font-weight: 500;
    margin: 0 0 3px;
    padding: 0;
}


/* ABOUT PAGE */

.ilya {
    width: 250px;
    height: 250px;
    background: #BADA55;
    border-radius: 50%;
    background: url(images/ilya-sq.jpg) center no-repeat;
    background-size: 100%;
}
.ilya-border {
    width: 264px;
    height: 264px;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Lighbox CSS overwrites */

.lb-data .lb-caption {
    display: inline-block;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 7px;
    margin-top: 3px;
}


#header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    margin-top: 0;
    max-width: 970px;
    box-sizing: border-box;
    /*box-shadow: 0px 7px 21px -6px rgba(0,0,0,0.25);*/
    background-color: #ccc;
    /*border-bottom: 1px solid #ccc;*/
}

/* // */


/* STICKY HEADER */
.sticky .logo {
    padding: 12px 0;
}
.sticky .logo a {
    background-size: 14px 14px;
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
}

/*.sticky + .intro {
    margin-top: 16px;
}