/**

Web Fonts

**/

@font-face {
    font-family: 'Adam';
    src: local('Century Gothic'), local('Century-Gothic'), url('/assets/fonts/CenturyGothic.ttc') format('truetype');
}

@font-face {
    font-family: 'Century Gothic';
    src: local('Helvetica'), url('/assets/fonts/Helvetica.dfont');
}

@font-face {
    font-family: 'Helvetica';
    src: local('Helvetica'), url('/assets/fonts/Helvetica.dfont');
}

@font-face {
    font-family: 'Helvetica Neue';
    src: local('Helvetica Neue'), local('Helvetica-Neue'), url('/assets/fonts/HelveticaNeue.dfont');
}


/**

Footer

**/

.footer {
    font-size: 0.7em;
    width: 1rem;
    padding: 2vh 0;
    background-color: white;
    color: black;
    text-align: center;
    font-family: 'Helvetica', sans-serif;
}

.footer>a img {
    width: 8%;
    margin: 0 5px;
    height: auto;
}

.footer>a.link {
    display: inline-block;
    margin: 0.5%;
    color: black;
    text-decoration: none;
}

.footer>a:hover {
    text-decoration: underline;
}

.footer>a.noscore {
    text-decoration: none;
}


/**

Navbar

**/

.navbar {
    position: fixed;
    height: 10vh;
    z-index: 1000;
    margin: 2% 2.5% 0;
    width: 95%;
}

.navbar.absolute {
    position: absolute;
}

.navbar>img {
    position: absolute;
    top: 0;
    left: 0;
    height: 10vh;
    width: auto;
}

.navbar.scrolled>img {
    width: auto;
    height: 96%;
}

.navbar>img:hover {
    cursor: pointer;
}

#primary_nav_wrap {
    float: right;
    max-width: 0.75rem;
}

#primary_nav_wrap ul {
    list-style: none;
    position: relative;
    top: 0;
}

#primary_nav_wrap ul a {
    display: block;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.9em;
    color: black;
    text-decoration: none;
    letter-spacing: 3px;
    padding: 0.01rem 0.015rem;
    transition: all 0.25s;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#primary_nav_wrap ul li {
    position: relative;
    float: right;
    margin: 1%;
    padding: 0;
    transition: all 0.25s;
    background-color: rgba(255, 255, 255, 0.6);
}

#primary_nav_wrap ul li:hover {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: underline;
}

#primary_nav_wrap ul li:hover a {
    color: white;
}

#primary_nav_wrap ul ul {
    display: none;
    position: absolute;
    z-index: 1001;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 0;
    background-color: rgba(0, 0, 0, 0);
}

#primary_nav_wrap ul ul li {
    margin: 0;
    float: none;
    background-color: rgba(0, 0, 0, 1);
}

#primary_nav_wrap ul li:hover>ul {
    display: block;
    text-align: center;
}

#lang {
    position: absolute;
    right: -5%;
    top: -30%;
    width: 0.1rem;
    color: white;
    font-weight: bold;
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.9em;
}

#lang>p {
    display: inline-block;
}

#lang>p:hover {
    cursor: pointer;
}


/**

Gallery

**/

.arrow-right {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 0.04rem solid transparent;
    border-bottom: 0.04rem solid transparent;
    border-left: 0.04rem solid black;
    vertical-align: middle;
    margin-left: 5%;
}

.arrow-left {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 0.04rem solid transparent;
    border-bottom: 0.04rem solid transparent;
    border-right: 0.04rem solid black;
    vertical-align: middle;
    margin-right: 5%;
}

.arrow-left,
.arrow-right {
    opacity: 1;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
}

.arrow-left:hover,
.arrow-right:hover {
    cursor: pointer;
}

.arrow-left.disabled,
.arrow-right.disabled {
    opacity: 0.5;
}

.arrow-left.disabled:hover,
.arrow-right.disabled:hover {
    cursor: no-drop;
}


/**

App

**/

body {
    margin: 0;
    overflow-x: hidden;
    font-size: 12px;
}

button:focus {
    outline: 0;
}

.section {
    width: 1rem;
    height: 100vh;
    position: relative;
}

.p20 {
    padding-top: 27vh;
}

.hAuto {
    height: auto;
}

.header {
    max-height: 27vh;
    position: fixed;
    z-index: 999;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
}

.header.scrolled {
    height: 19.5vh;
}

.editingPadding {
    margin-top: 10vh;
    margin-bottom: 10vh;
    overflow: visible;
}

.editingNav {
    pointer-events: none;
}

.box1 {
    width: 25%;
    background-color: rgba(0, 0, 0, 0.7);
    position: absolute;
    padding: 2.5% 4.5%;
    color: white;
}

.division {
    height: 1px;
    background-color: white;
    margin: 2% 0 3% 0;
    width: 30%;
}

.title1 {
    font-family: 'Adam', sans-serif;
    font-size: 3em;
}

.title12 {
    font-family: 'Adam', sans-serif;
    font-size: 2em;
}

.title2 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 2em;
}

.title3 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.5em;
}

.txt1 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 0.8em;
    text-align: justify;
}

.txt2 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 1.5em;
    text-align: justify;
}

.txt0 {
    font-family: 'Century Gothic', sans-serif;
    font-size: 1em;
    text-align: justify;
}

.txtCenter {
    text-align: center;
}

.underline {
    display: inline-block;
    width: auto;
    padding-bottom: 5px;
    margin: 2% 0;
    border-bottom: 1px solid black;
}

.noscroll {
    overflow-y: hidden !important;
}

@media (orientation: portrait) {
    .box1 {
        padding-top: 5%;
    }
    #lang {
        right: -3%;
        top: -25%;
        width: 0.2rem;
    }
}

@media (orientation: portrait) and (min-width: 600px) {
    #primary_nav_wrap ul li {
        float: left;
    }
    #primary_nav_wrap ul {
        top: 7vh;
    }
    #lang {
        width: 0.2rem;
    }
}

@media (orientation: portrait) and (min-width: 720px),
(orientation: landscape) and (min-width: 800px) {
    .navbar>img {
        /* width: 15%; */
        height: 17vh;
        width: auto;
    }
    .title1 {
        font-size: 5em;
    }
    .title12 {
        font-size: 3em;
    }
    .title2 {
        font-size: 3em;
    }
    .title3 {
        font-size: 2em;
    }
    .txt1 {
        font-size: 1.3em;
    }
    .txt2 {
        font-size: 1.8em;
    }
    .footer>a img {
        width: 2%;
        margin: 0 5px;
        height: auto;
    }
    .arrow-right {
        border-top: 0.01rem solid transparent;
        border-bottom: 0.01rem solid transparent;
        border-left: 0.01rem solid black;
        margin-left: 1%;
    }
    .arrow-left {
        border-top: 0.01rem solid transparent;
        border-bottom: 0.01rem solid transparent;
        border-right: 0.01rem solid black;
        margin-right: 1%;
    }
    #primary_nav_wrap ul ul {
        left: 0;
        right: auto;
    }
    #primary_nav_wrap ul {
        top: 0;
    }
    #primary_nav_wrap ul li {
        margin: 0;
        float: left;
    }
    #primary_nav_wrap ul ul li {
        background-color: rgba(0, 0, 0, 0.8);
    }
    .header {
        max-height: 24vh;
    }
    .p20 {
        padding-top: 27vh;
    }
}

@media (orientation: portrait) and (min-width: 1140px) {
    #primary_nav_wrap ul ul {
        left: 0;
        right: auto;
    }
    #ul li {
        float: left;
    }
}

@media (orientation: landscape) and (max-height: 720px) {
    .header {
        height: 40vh;
    }
    .p20 {
        padding-top: 40vh;
    }
}

.clickable:hover {
    cursor: pointer;
}

video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
}


/* Dashboard */


/**

Web Fonts

**/

@font-face {
    font-family: 'Butler Medium';
    src: local('Butler_Medium'), url('/assets/fonts/Butler_Medium.otf') format('opentype');
}


/**

App

**/

.dbLogo {
    position: absolute;
    left: 0.04rem;
    top: 4vh;
    width: 30%;
    z-index: 1000;
}

.dbSec {
    position: absolute;
    width: 0.5rem;
    height: 95vh;
    background-color: #f9f9f9;
}

.post>div>p {
    display: inline;
}

.blogLink {
    color: black;
    text-decoration: none;
    transition: all 0.25s;
    display: inline;
}

.blogLink:visited {
    color: black;
    text-decoration: none;
}

.blogLink:hover {
    opacity: 0.7;
}

@media (orientation: portrait) and (min-width: 720px),
(orientation: landscape) and (min-width: 600px) {
    .dbLogo {
        width: 10%;
    }
}

body {
    background-image: url(assets/loading/loading.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}