/**********************
 *                    *
 *     MAIN-SASS      *
 *                    *
 **********************/

/*@import "reset";*/

body {
    background: #FFFFFF;
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    line-height: 20px;
    font-weight: 300;
    color: #222222;

    overflow-y: scroll;
    overflow-x: hidden;
}
body.dont-scroll {
    overflow-y: hidden;
}
body.medium {
    font-size: 14px;
    line-height: 18px;
}

h1 { /* website title */
    font-family: 'Raleway', sans-serif;
    font-size: 34px;
    line-height: 24px;
    font-weight: 300;
    color: #566972;
    /*text-transform: uppercase;*/

}
body.medium h1 {
    font-size: 24px;
    line-height: 28px;
}
h1 strong {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #404A4E;
    padding-right: 2px;
}

h1 span.small {
    font-size: 20px;
    line-height: 14px;
}
body.medium h1 span.small {
    font-size: 18px;
    line-height: 10px;
}

h2 { /* sections on timeline */
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    color: #FFFFFF;
}
body.medium h2 {
    font-size: 18px;
    line-height: 18px;
}

h3 { /* graphic title */
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    line-height: 34px;
    color: #333333;
}
body.medium h3 {
    font-size: 24px;
    line-height: 24px;
}

a {
    text-decoration: none;
}

/* TIMELINE */
.timeline .header {
    float: left;
    width: 100%;
    background: #FFFFFF;
}
.timeline .header h1 {
    margin: 10px 80px 15px 10px;
}

.timeline .contact {
    position: absolute;
    right: 12px;
    top: 8px;
}

.timeline .contact .icon {
    width: 45px;
    height: 40px;
    float: left;
    margin-left: 5px;
}
.timeline .contact .icon.twitter {
    background: url("../imgs/icons.png") no-repeat -1px -4px transparent;
    background-size: 144px 96px;
}
.timeline .contact .icon.twitter:hover {
    background: url("../imgs/icons.png") no-repeat -1px -52px transparent;
    background-size: 144px 96px;
}
.timeline .contact .icon.instagram {
    background: url("../imgs/icons.png") no-repeat -51px -4px transparent;
    background-size: 144px 96px;
}
.timeline .contact .icon.instagram:hover {
    background: url("../imgs/icons.png") no-repeat -51px -52px transparent;
    background-size: 144px 96px;
}
.timeline .contact .icon.mail {
    background: url("../imgs/icons.png") no-repeat -97px -4px transparent;
    background-size: 144px 96px;
}
.timeline .contact .icon.mail:hover {
    background: url("../imgs/icons.png") no-repeat -97px -52px transparent;
    background-size: 144px 96px;
}

.timeline .background {
    position: relative;
    float: left;
    width: 100%;
    overflow: hidden;
    background: #dce2e5;
}

.timeline .background .month {
    float: left;
    width: 100%;
    position: relative;
}

.timeline .background .month > .border-line {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 1px;
    background: #566972;
    opacity: 0.1;
}

.timeline .background .month > .label {
    color: #566972;
    position: absolute;
    bottom: 5px;
    left: 5px;
    opacity: 0.2;
}

.timeline .section {
    position: absolute;
    left: 0px;
    width: 100%;
    height: 262px;
    background: url("../imgs/section-back.png") repeat-x 0px 0px transparent;
}

.timeline .section h2 {
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: 0.6;
}

/* thumb */

.thumb {
    position: absolute;
    cursor: pointer;
}
.thumb.highlighted {
    z-index: 2;
}
.thumb .inside-thumb {
    position: absolute;
    background: #FFFFFF;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    overflow: hidden;
    padding: 25px;
}
body.medium .thumb .inside-thumb {
    padding: 15px;
}


.thumb.red .inside-thumb {
    background: #db3e58;
}
.thumb.blue .inside-thumb {
    background: #009dc0;
}
.thumb.yellow .inside-thumb {
    background: #e8b72e;
}
.thumb.green .inside-thumb {
    background: #59c17c;
}
.thumb.gray .inside-thumb {
    background: #83989e;
}
.thumb.white .inside-thumb {
    background: #eeeeee;
}

.square .thumb .inside-thumb {
    -webkit-transition: -webkit-border-radius .5s ease, background .5s ease;
    -moz-transition: -moz-border-radius .5s ease, background .5s ease;
    transition: border-radius .5s ease, background .5s ease;
     
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;
    border-radius: 0%;

    background: #FFFFFF;
}

.thumb .ratio {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    -ms-transform: rotate(45deg); /* IE 9 */
    -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
    transform: rotate(45deg);
}
.thumb.highlighted .ratio {
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
}

.thumb .ratio > .bar {
    position: absolute;
    top: 0px;
    height: 100%;
}


.thumb .ratio.design > .bar {
    left: 0px;
    background: #FFFFFF;
}
.thumb.red .ratio.design > .bar {
    background: #ef597a;
}
.thumb.blue .ratio.design > .bar {
    background: #3daec1;
}
.thumb.yellow .ratio.design > .bar {
    background: #f2ca72;
}
.thumb.green .ratio.design > .bar {
    background: #87c697;
}
.thumb.gray .ratio.design > .bar {
    background: #98abaf;
}
.thumb.white .ratio.design > .bar {
    background: #f7f7f7;
}


.thumb .ratio.code > .bar {
    right: 0px;
    background: #FFFFFF;
}
.thumb.red .ratio.code > .bar {
    background: #db3e58;
}
.thumb.blue .ratio.code > .bar {
    background: #009dc0;
}
.thumb.yellow .ratio.code > .bar {
    background: #e8b72e;
}
.thumb.green .ratio.code > .bar {
    background: #59c17c;
}
.thumb.gray .ratio.code > .bar {
    background: #83989e;
}
.thumb.white .ratio.code > .bar {
    background: #eeeeee;
}

.thumb .thumb-container {
    width: 100%;
    height: 100%;
    /*background: #FFFFFF;*/
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}
.square .thumb .thumb-container {
    -webkit-transition: -webkit-border-radius .5s ease;
    -moz-transition: -moz-border-radius .5s ease;
    transition: border-radius .5s ease;
     
    -webkit-border-radius: 0%;
    -moz-border-radius: 0%;
    border-radius: 0%;
}


.thumb .thumb-container img {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: none;
}

.thumb .thumb-container .ratio-wrapper {
    padding: 25px;
    width: 100%;
    height: 100%;
    margin-left: -25px;
    margin-top: -25px;
    position: relative;
}
body.medium .thumb .thumb-container .ratio-wrapper {
    padding: 15px;
    margin-left: -15px;
    margin-top: -15px;
}

.thumb .gloss {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}
.thumb.red .gloss {
    background: url("../imgs/gloss_red.png") no-repeat 0px 0px transparent;
    background-size: 100% 100%;
}
.thumb.blue .gloss {
    background: url("../imgs/gloss_blue.png") no-repeat 0px 0px transparent;
    background-size: 100% 100%;
}
.thumb.yellow .gloss {
    background: url("../imgs/gloss_yellow.png") no-repeat 0px 0px transparent;
    background-size: 100% 100%;
}
.thumb.green .gloss {
    background: url("../imgs/gloss_green.png") no-repeat 0px 0px transparent;
    background-size: 100% 100%;
}
.thumb.gray .gloss {
    background: url("../imgs/gloss_gray.png") no-repeat 0px 0px transparent;
    background-size: 100% 100%;
}
.thumb.white .gloss {
    background: url("../imgs/gloss_white.png") no-repeat 0px 0px transparent;
    background-size: 100% 100%;
}

.thumb .ring-wrapper {
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 25px;
    opacity: 0;
}
body.medium .thumb .ring-wrapper {
    padding: 15px;
}

.thumb .ring {
    width: 100%;
    height: 100%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 3px solid #FFFFFF;
    margin-left: -3px;
    margin-top: -3px;
}
.thumb.red .ring {
    border: 3px solid #ef597a;
}
.thumb.blue .ring {
    border: 3px solid #3daec1;
}
.thumb.yellow .ring {
    border: 3px solid #f2ca72;
}
.thumb.green .ring {
    border: 3px solid #87c697;
}
.thumb.gray .ring {
    border: 3px solid #98abaf;
}
.thumb.white .ring {
    border: 3px solid #f7f7f7;
}

.thumb .loading {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;

    background: url("../imgs/loading-gradient.png") no-repeat 0px 0px transparent;
    background-size: 100% 100%;
}


.thumb .title-bar {
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 300px;
}
body.medium .thumb .title-bar {
    /*left: -50px;*/
    width: 230px;
}

.thumb .title-bar h3 {
    text-transform: uppercase;
}

.thumb .title-bar h3 > .one-word {
    float: left;
    background: #FFFFFF;
    /*padding: 0px 5px;*/
    margin: 2px 0px;
    overflow: hidden;
}

.thumb .title-bar .subtitle {
    position: absolute;
    top: -21px;
    left: 0px;
    width: 100%;
}
body.medium .thumb .title-bar .subtitle {
    top: -20px;
}

.thumb .title-bar .subtitle .date {
    background: #FFFFFF;
    padding: 0px 5px;
    float: left;
}
.thumb .title-bar .subtitle .category {
    background: #FFFFFF;
    padding: 0px 5px;
    float: left;
    margin-left: 4px;
}
.thumb .title-bar .subtitle .category .dot {
    float: left;
    width: 12px;
    height: 12px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background: #FFFFFF;
    margin-top: 3px;
    margin-right: 3px;
}
body.medium .thumb .title-bar .subtitle .category .dot {
    width: 10px;
    height: 10px;
    margin-top: 4px;
    margin-right: 4px;
}
.thumb.red .title-bar .subtitle .category .dot {
    background: #db3e58;
}
.thumb.blue .title-bar .subtitle .category .dot {
    background: #009dc0;
}
.thumb.yellow .title-bar .subtitle .category .dot {
    background: #e8b72e;
}
.thumb.green .title-bar .subtitle .category .dot {
    background: #59c17c;
}
.thumb.gray .title-bar .subtitle .category .dot {
    background: #83989e;
}
.thumb.white .title-bar .subtitle .category .dot {
    background: #eeeeee;
}

.thumb .description {
    display: none;
    position: absolute;
    left: 0px;
    width: 350px;
    background: #FFFFFF;
}
body.medium .thumb .description {
    /*left: -50px;*/
    width: 220px;
}
.thumb .description > .inside-description {
    margin: 12px 15px;
}
body.medium .thumb .description > .inside-description {
    margin: 8px 10px;
}

.thumb .close {
    display: none;
    position: absolute;
    left: 0px;
    padding: 0px 5px;
    white-space: nowrap;
}
/*body.medium .thumb .close {
    left: -50px;
}*/
.lightbox .thumb .close {
    left: auto;
    right: 25px;
    top: 25px;
}
body.medium .lightbox .thumb .close {
    right: 15px;
    top: 15px;
    left: auto;
}

.thumb a.goto {
    display: none;
    position: absolute;
    right: 0px;
    padding: 0px 5px;
    white-space: nowrap;
    bottom: -24px;
}
.thumb .title-bar a.goto {
    right: auto;
    left: 0px;
}
body.medium .thumb a.goto{
    bottom: -22px;
}

.thumb a {
    color: #FFFFFF;
    background: #000000;
}
.thumb a:hover {
    background: #222222;
}

.thumb.red a {
    background: #db3e58;
}
.thumb.blue a {
    background: #009dc0;
}
.thumb.yellow a {
    background: #e8b72e;
}
.thumb.green a {
    background: #59c17c;
}
.thumb.gray a {
    background: #83989e;
}
.thumb.white a {
    background: #777777;
}
.thumb.red a:hover {
    background: #ef597a;
}
.thumb.blue a:hover {
    background: #3daec1;
}
.thumb.yellow a:hover {
    background: #f2ca72;
}
.thumb.green a:hover {
    background: #87c697;
}
.thumb.gray a:hover {
    background: #98abaf;
}
.thumb.white a:hover {
    background: #888888;
}

.thumb .caption {
    position: absolute;
    display: none;
    opacity: 0;
}

.thumb .caption .anchor {
    background: url("../imgs/caption-anchor@2x.png") no-repeat 0px 0px transparent;
    background-size: 30px 20px;
    width: 30px;
    height: 20px;
    position: absolute;
}
.thumb .caption.code .anchor {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}
.thumb .caption .label {
    position: absolute;
    width: 100px;
}

.thumb .caption.design .anchor {
    bottom: 0px;
    right: 0px;
}
.thumb .caption.design .label {
    right: 33px;
    bottom: 14px;
    text-align: right;
}

.thumb .caption.code .anchor {
    top: 0px;
    left: 0px;
}
.thumb .caption.code .label {
    left: 33px;
    top: 5px;
    text-align: left;
}

.lightbox {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(220,226,229,0);
}
.lightbox.open {
    -webkit-transition: background .5s ease;
    -moz-transition: background .5s ease;
    -o-transition: background .5s ease;
    transition: background .5s ease;
    background: rgba(220,226,229,0.9);
}

