/* Font Declaration */

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/montserrat-extralight-webfont.woff2') format('woff2'),
         url('fonts/montserrat-extralight-webfont.woff') format('woff');
}

@font-face { 
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-light-webfont.woff2') format('woff2'),
         url('fonts/montserrat-light-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-regular-webfont.woff2') format('woff2'),
         url('fonts/montserrat-regular-webfont.woff') format('woff');
}


/* GENERAL */

/* Default Font */
html, button, input, select, textarea,
    .pure-g [class *= "pure-u"] {
        font-family: 'Montserrat';
    }

* {
    font-family: 'Montserrat';
}

body {
    color: white;
    background: #252525;
}

a {
    color: white;
}

/* Column Container */
.content {
    max-width: 900px;
    margin: auto;
    padding: 15px;
    text-align: justify;
}

/* -----------------------------  Header -------------------------- */
/* ***************** GENERAL ****************** */
header h1 {
    text-align: center;
    font-weight: 400;
    margin: 0;
    font-size: 5vw;
}

header h2 {
    text-align: center;
    font-weight: 200;
    font-style: italic;
    margin: -10px 0 0 0;
    font-size: 2.5vw;
    color: #aaa
}

#headgroup a{
    color: white;
    text-decoration: none;
}

.lang a{
    position: absolute;
    right: 0;
    padding: 10px;
    width: 30px;
    opacity: .5;
    transition: opacity ease .3s;
}

.lang a:hover {
    opacity: 1;
}

.navholder {
    padding: 10px;
}

/* ***************** HOMEPAGE ****************** */

/* EYES ANIMATION */
#headgroup #logo #EYES {
    animation: animlogo ease 15s infinite;
    transform-box: fill-box;
    transform-origin: center;
}

#headgroup #logo #EYES #LE, #headgroup #logo #EYES #RE {
    transform-box: fill-box;
    transform-origin: center;
}

#headgroup #logo #Face {
    transition: opacity .1s ease;
}

/* #headgroup #logo:hover #Face {
    opacity: 0;
} */

#headgroup #logo #Play {
    opacity: 0;
    transition: opacity .1s ease;
}

#headgroup #logo #four {
    opacity: 0;
    transition: opacity .1s ease;
}

/* #headgroup #logo:hover #Play {
    opacity: 1;
    display: inherit;
} */
/* 
#headgroup #logo #EYES {
    transition: opacity .2s;
}

#headgroup #logo:hover #EYES {
    opacity: 0;
} */

@keyframes blink {
    0% {
        opacity: 1
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1
    }
}

@keyframes animlogo {
    0% { 
        transform: translate(0,0)
    }
    10% { 
        transform: translate(0,0)
    }
    20% {
        transform: translate(40px,0);
    }
    25% {
        transform: translate(40px,0);
    }
    30% { 
        transform: translate(0,0) scaleY(1);
        opacity: 1;
    }
    30.5% { 
        transform: translate(0,0) scaleY(0);
        opacity: 1;
    }
    31% { 
        transform: translate(0,0) scaleY(1);
        opacity: 1;
    }
    45% { 
        transform: translate(0,0);
        opacity: 1;
    }
    50% {
        transform: translate(-35px,-40px);
    }
    55% {
        transform: translate(-35px,-40px);
    }
    60% { 
        transform: translate(-35px,0px);
    }
    65% { 
        transform: translateY(0px) translateX(0px);
    }
    80% { 
        transform: translate(0,0) scaleY(1);
    }
    80.5% { 
        transform: translate(0,0) scaleY(0);
    }
    81% { 
        transform: translate(0,0) scaleY(1);
    }
    81.5% { 
        transform: translate(0,0) scaleY(0);
    }
    82% { 
        transform: translate(0,0);
    }
    100% { 
        transform: translateY(0px) translateX(0px);
    }
  }

#header-container {
    height: 100%;
    background: rgba(37, 37, 37, 0.8);
    display: flex;
    align-items: center;
}

#home header {
    display: block;
    height: 100vh;
}

#home header #logo {
    display: block;
    max-width: 25vw;
    margin: auto;
}

#home header #headgroup {
    position: absolute;
    display: block;
    text-align: center;
    width: 100%;
}

#headgroup img {
    background-size: contain;
    background-position: center;
}

#home header #down {
    position: absolute;
    display: block;
    bottom: 0;
    text-align: center;
    font-size: 3vw;
    color: white;
    margin-bottom: 20px;
    width: 100%;
}

/* ***************** SINGLE ****************** */
#single header {
    position: relative;
    background: black;
    vertical-align: middle;
}

#single header #headgroup {
    text-align: center;
    padding: 15px;
    margin: auto;
}

#single header img {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    height: 75px;
    margin-right: 50px;
}

#single header #head-title {
    display: inline-block;
    margin: 0;
    vertical-align: middle;
    text-align: center;
}

#single header h1, #single header h2 {
    margin: 0;
}

#single header h1 {
    font-size: 2em;
}

#single header h2 {
    font-size: 1em;
}

/* ----------------------------  Navbar -------------------------- */
nav {
    background: #626262;
    display: block;
    margin: 0;
    z-index: 1000;
}

nav ul {
    text-align: center;
    max-width: 900px;
    margin: auto;
    padding: 10px;
}

nav ul li {
    text-align: center;
    display: inline-block;
    width: 19%;
    margin: 0;
    font-size: 1.5em;
    font-weight: 200;
    font-style: italic;
    vertical-align: middle;
}

nav ul li a {
    display: block;
    height: 100%;
    width: 100%;
    margin: 0;
    color: white;
    text-decoration: none;
}

#logonav img {
    display: block;
    height: 50px;
    text-align: center;
    margin: auto;
}

#logonav {
    opacity: 1;
    -webkit-transition: opacity .3s ease;
    -moz-transition: opacity .3s ease;
    transition: opacity .3s ease;
}

/* -----------------------------  About -------------------------- */

.typed-cursor{
	opacity: 1;
	-webkit-animation: blink 0.7s infinite;
	-moz-animation: blink 0.7s infinite;
	animation: blink 0.7s infinite;
}
@keyframes blink{
	0% { opacity:1; }
	50% { opacity:0; }
	100% { opacity:1; }
}
@-webkit-keyframes blink{
	0% { opacity:1; }
	50% { opacity:0; }
	100% { opacity:1; }
}
@-moz-keyframes blink{
	0% { opacity:1; }
	50% { opacity:0; }
	100% { opacity:1; }
}

#about-box {
    /* height: 90vh; */
    /* background-image: url('../img/aboutbg.jpg'); */
    position: relative;
}

#about-photo {
    background: url("../img/portrait.png") no-repeat;
    background-position: top center;
    background-size: contain;
    height: auto;
}

#about-me {
    padding: 30px 30px 30px 0;
    font-size: 1em;
    text-align: justify;
}

#about-text h3 {
    margin: 0;
    font-size: 3em;
    font-weight: 700;
}

#about-text h4 {
    margin: 0;
    color: #626262;
    font-size: 2em;
    font-weight: 400;
}

#about-text p {
    font-size: 1.2em;
}

#about-box .links {
    text-align: center;
}

#about-box .links a {
    display: block;
    margin: 5px;
    padding: 5px 0 0 0;
    border: 1px solid #131313;
    color: inherit;
    text-decoration: none;
    border-radius: 10px;
}

#about-box .mobileonly a {
    padding: 5px;
}

#about-box .links a:hover {
    background: white;
    color: black;
}

#about-box .links i {
    vertical-align: middle;
    padding: 0 15px 5px 0; 
}

#about-box .mobileonly i {
    padding: 0; 
}





/* ---------------------------  Portfolio ------------------------ */



/* --- Filter --- */

.filter-group {
    background: #101010;
    text-align: center;
    font-size: 1.5em;
    z-index: 500;
    font-weight: 200;
}

.filter-group div {
    padding: 10px;
}

.filter-group button {
    background: none;
    border: none;
    padding: 5px;   
}

.filter-group button.is-checked {
    background: white;
    color: #202020;
}


/* --- Grid --- */
#portfolio {
    /*min-height: 90vh;*/
    width: 100%;
    display: block !important;
}

#portfolio .item {
    position: relative;
}

#portfolio .item img {
    width: 100%;
}

#portfolio .item .titlebox {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: ease .2s all
}

#portfolio .item .titlebox:hover {
    opacity: 1;
}

#portfolio .item h4, #portfolio .item h5 {
    display: flex;
    text-align: center;
    justify-content: center;
    height: 50%;
    margin: 0;
    top: 50%;
    z-index: 1000;
    color: white;
    font-size: 1.5vw;
    font-weight: 400;
}

#portfolio .item h4 {
    align-items: flex-end;
    font-size: 2vw;
}

#portfolio .item h5 {
    align-items: flex-start;
    font-style: italic;
    font-weight: 200;
}

#portfolio .titletext {
    position: absolute;
    z-index: 20;
    width: 100%;
    height: 100%;
}

#portfolio .item .titlebox i {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    font-size: 10vw;
    margin: -5.5vw 0 0 -6.4vw;
    color: rgba(0, 0, 0, 0.5);
    z-index: 10;
}
#portfolio .item .titlebox i::before{
    z-index: -10;
}

/* RESPONSIVE FIX */
@media screen and (max-width: 1024px) {
    #portfolio .item h4 {
        font-size: 4vw;
    }

    #portfolio .item h5 {
        font-size: 3vw;
    }
    #portfolio .item .titlebox i {
        font-size: 15vw;
        margin: -8vw 0 0 -10vw;
    }
} 

/* Gridder */
.gridder-show {
    float: left;
    position: relative;
    width: 100%;
}

.gridder-navigation {
    position: absolute;
    right: 0;
    letter-spacing: normal;
    font-size: 2em;
    margin: 5px 10px;
}

.gridder-navigation a {
    color: white;
}

/* ---------------------------  Footer  ------------------------ */
footer {
    text-align: center;
    font-weight: 700;
    padding: 25px;
    background: #101010;
    clear: both;
}

footer span {
    display: block;
}

footer a {
    color: white;
}

/* ***************** SINGLE PORTFOLIO ****************** */

#top-gal {
    background: rgba(0, 0, 0, 0.5);
}

#title-gal {
    text-align: center;
    margin: 100px;
}

#title-gal h1 {
    margin: 0;
    font-size: 4em;
    font-weight: 700;
}

#title-gal h2 {
    margin: 0;
    font-size: 1.5em;
    font-weight: 200;
}

#video-gal ul {
    padding-right: 10px; 
}

/* ***************** MODAL PORTFOLIO ****************** */
.modal-post {
    background: #151515;
    width: 100%;
}

.modal-post .post-content {
    padding: 15px;
}

.modal-post .post-content .team {
    color: #444;
    font-style: italic;
}

.modal-post .titles h1, 
.modal-post .titles h2, 
.modal-post .titles h3, 
.modal-post .titles h4,
.modal-post .titles h5 {
    margin: 0 0 5px 0;
    font-weight: 200;
}

.modal-post .titles h1 {
    font-size: 2.5em;
}

.modal-post .titles h2 {
    font-size: 1.5em;
}

.modal-post .titles hr {
    border: 1px solid #111;
}

.modal-post .titles h5 {
    font-style: italic;
    margin: 0;
}

.more-button {
    position: absolute;
    bottom: 0;
    right: 15px;
}

.post-content p {
    margin-top: 0;
}

.description {
    margin: 10px 0 0 0;
}

/* Gallery Player */
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
  position: relative;
  margin: 0 auto 0;
  padding: 0;
  *zoom: 1;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
} 
.bx-wrapper img {
  max-width: 100%;
  display: block;
}
.bxslider {
  margin: 0;
  padding: 0;
}
ul.bxslider {
  list-style: none;
}
.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
}
/** THEME
===================================*/
.bx-wrapper {

}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: 20px;
  width: 100%;
}
/* LOADER */
.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url('../img/bx_loader.gif') center center no-repeat #202020;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 20px;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #666;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #fff;
}
.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}
.bx-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 10px;
  background: url('../images/controls.png') no-repeat 0 -32px;
}
.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-prev:focus {
  background-position: 0 0;
}
.bx-wrapper .bx-next {
  right: 10px;
  background: url('../images/controls.png') no-repeat -43px -32px;
}
.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-next:focus {
  background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 100%;
  margin-top: -40px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
  text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -11px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-start:focus {
  background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -44px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-auto .bx-stop:focus {
  background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}

#meta-gal{
    padding-left: 10px
}

#meta-gal p {
    margin: 0;
}

a#action-button {
    /* display: block; */
    display: inline-block;
    /* width: 100%; */
    text-align: center;
    color: white;
    text-decoration: none;
    border: solid 3px white;
    padding: 7px 10px;
    margin: 5px 0 0px 0;
    transition: .15s ease all;
}

a#action-button:hover {
    background: white;
    color: #202020;
}

#meta-gal a#action-button {
    display: block;
    width: 100%;
    padding: 5px 0;  
}
#meta-gal #tag-list {
    padding: 0;
    margin: 0;
}

#meta-gal #tag-list li{
    display: block;
    margin: 0;
}

#meta-gal #tag-list li span {
    font-weight: bold;
}

#article-content {
    background: #303030
}

#article-content *:first-child {
    margin: 0;
}

/* ***************** SINGLE PAGE ****************** */

#page-head {
    background: #202020;
    text-align: center;
    font-size: 1.5em;
    padding: 20px 0;
}

#page-head h1 {
    text-align: center;
    margin: 0;
}

#page-head h2 {
    text-align: center;
    margin: 0;
    font-size: 1em;
    font-weight: 200;
}

/* ***************************************************************** Blog Layout */

.padding-box {
    padding: 5px;
}
.blogitem {
    padding: 10px;
    background: #202020
}

.blogitem a {
    text-decoration: none;
}

.titlebox {
    position: relative;
    height: 300px;
    background-position: center;
    background-size: cover;
}
.titlebox .meta {
    text-align: center;
    font-style: italic;
    margin-top: 5px;
}

.titlebox .cat {
    position: absolute;
    width: 100%;
    height: 100%;
    
}

.titlebox .cat .fa {
    position: absolute;
    color: #fff;
    opacity: 0;
    top: 50%;
    left: 50%;
    font-size: 12vw;
    text-align: center;
    margin : -7vw 0 0 -5.7vw;
    transition: opacity ease .15s;
}

.titlebox:hover .cat .fa {
    opacity: .5;
}

.titlebox .meta .timestamp {
    position: relative;
    background: rgba(0, 0,0, .5);
    padding: 5px;
}


#single .titletext {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 5px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
}
#single .titletext h2 {
    margin: 0 0 5px 0;
}

.summary {
    margin-top: 10px;
}

.summary p:last-child {
    margin-bottom: 0;
}

.readmore a {
    display: block;
    position: relative;
    text-align: center;
    padding: 5px 10px;
    background: #1a1a1a;
}


/* PAGINATION */

.pagination {
    margin: 0;
    text-align: center;
    background: #202020;
}

.maxbox {
    max-width: 900px;
    margin: auto;
    position: relative;
}

.pagination a {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
}

.pagination a.active {
    background: #252525;
}

.pagination a.disabled {
    color: #101010;
}

.pagination .nextlink {
    position: absolute;
    right: 0;
}

.pagination .prevlink {
    position: absolute;
    left: 0;
}



/******************************************************************* Content */

#article-content {
    background: #303030
}


/* Specific */

/* IMG */
#article-content img {
    max-width: 100%;
    text-align: center;
    margin: auto;
}

/* VIDEO */
#article-content video {
    width: 100%;
}

/* BLOCKQUOTE */
#article-content blockquote {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 15px 25px;
}

#article-content blockquote p {
    /* margin: 0; */
}

#article-content blockquote cite{
    display: block;
    text-align: right;
    padding: 5px 10px;
    margin-top: 15px; 
    background: rgba(0, 0, 0, 0.2); 
    border-radius: 5px;
}
#article-content blockquote::before {
    content: "\f10d";
    font-family: FontAwesome;
    font-size: 2em;
    color: #1d1f20;
    z-index: -1;
    margin: -20px -10px;
    position: absolute;
    left: 0;
}

#article-content blockquote::after {
    content: "\f10e";
    font-family: FontAwesome;
    font-size: 2em;
    color: #1d1f20;
    z-index: -1;
    margin: -10px -10px;
    position: absolute;
    right: 0;
}

/* CODE */
#article-content pre {
    background: #1d1f20;
    padding: 10px;
    border-radius: 5px;
}

#article-content code {
    background: #1d1f20;
    padding: 0 5px;
    border-radius: 5px;
}

/* MARK */
#article-content mark {
    padding: 0 5px;
    border-radius: 5px;
}

/* BUTTON */
#article-content input {
    background: #1d1f20;
    border: 1px solid #626262;
    margin: 2px 0;
}

#article-content a {
    background: #285082;
    padding: 0 5px;
    border-radius: 5px;
}

#article-content a:hover {
    background: #5679af;
}
#article-content a:visited {
    background: #003361
}

/* HR */
hr {
    border: 1px solid #626262;
}

/* RESPONSIVE */
.desktoponly {
    display: initial;
}
.mobileonly {
    display: none;
}