@font-face {
    font-family:'PFWeblySleekUI-L';
    src:url('weblysleekuil.ttf');
}
@font-face {
    font-family:'PFWeblySleekUI-LI';
    src:url('weblysleekuili.ttf');
}
@font-face {
    font-family:'PFWeblySleekUI-SB';
    src:url('weblysleekuisb.ttf');
}
@font-face {
    font-family:'PFWeblySleekUI-SBI';
    src:url('weblysleekuisbi.ttf');
}
@font-face {
    font-family:'PFWeblySleekUI-SL';
    src:url('weblysleekuisl.ttf');
}
@font-face {
    font-family:'PFWeblySleekUI-SLI';
    src:url('weblysleekuisli.ttf');
}
/* global */
body
{
    background:#FFFFFF;
    color:rgba(0,0,0,0.7);
    font-family:"PFWeblySleekUI-SL";
    font-size:12.5pt;
    margin:0px;
    padding:0px;
}
a
{
    color:#000000;
    text-decoration:none;
}
a img
{
    border:0px none #000000;
}
.clickable { cursor:pointer; }
input[type="text"],
input[type="password"]
{
    font-family:"PFWeblySleekUI-SL";
}
input[type="submit"],
input[type="button"]
{
    cursor:pointer;
}

/* login */
.login
{
    border:1px dotted rgba(0,0,0,0.2);
    border-width:2px 0px;
    height:200px;
    margin:100px auto 0px auto;
}
.login > div
{
    color:#3F71C2;
    font-size:1.2em;
    letter-spacing:2px;
    margin:20px auto;
    width:640px;
}
.login > div > span
{
    color:red;
    margin-left:50%;
}
.login input[type="text"],
.login input[type="password"]
{
    border:1px solid rgba(0,0,0,0.2);
    box-shadow:3px 3px 4px rgba(0,0,0,0.2);
    color:#3F71C2;
    float:right;
    font-size:1em;
    margin-right:calc(50% - 320px);
    margin-top:-4px;
    padding:4px 5px;
    width:320px;
}
.login input[type="submit"]
{
    background-color:rgba(63,113,194,0.5);
    border:2px outset #3F71C2;
    border-radius:5px;
    color:#000000;
    float:right;
    margin-right:calc(50% - 320px);
    padding:2px 8px;
}
.login input[type="submit"]:active
{
    border-style:inset;
    margin-top:3px;
    margin-right:calc(50% - 320px - 3px);
}

/* log out */
form[name="logOutForm"] input
{
    background-color:rgba(63,113,194,0.5);
    border:2px outset #3F71C2;
    color:#333333;
    position:fixed;
    right:20px;
    top:20px;
}
form[name="logOutForm"] input:active
{
    border-style:inset;
    margin-top:4px;
    margin-left:4px;
}

/* header */
.mosaic
{
    background-color:#D2DDE4;
    height:10px;
    position:fixed;
    width:100%;
    z-index:1;
}
.mosaic > div
{
    background:url('../includes/images/mosaicpatch.gif') repeat-x left top;
    height:10px;
    position:absolute;
    right:8%;
	top:0px;
    width:16%;
}
.borders > div
{
    background-color:#D3DDE4;
    height:calc(100%);
    position:fixed;
    width:10px;
}
.borders > div:first-child { left:0px; }
.borders > div:last-child { right:0px; }
.footer
{
    background-color:#D2DDE4;
    color:#666666;
    font-size:0.65em;
    height:20px;
    padding:2px 0px;
    position:fixed;
    bottom:0px;
    width:100%;
    z-index:1;
}
.footer > div
{
    height:16px;
    position:absolute;
    right:8%;
    width:16%;
}

.master
{
    margin:0px 10px;
    font-size:0.875em;
    padding:55px 5%;
}
.master > hr,
.master > div
{
    width:76%;
}
.master2 > hr,
.master2 > div
{
    width:100%;
}
.master > hr
{
    height:0px;
    border:0px none #FFFFFF;
    border-bottom:2px dotted #CCCCCC;
    float:left;
    margin:10px 0px;
}
.master .header
{
    color:#CCCCCC;
    font-size:2.25em;
    line-height:1.2;
    letter-spacing:1px;
    padding-bottom:1em;
    min-height:160px;
}
.master .header img
{
    float:right;
    margin-left:2em;
}
.master .header span
{
    color:#3F71C2;
}
.master .header span:nth-child(2)
{
    font-size:0.9em;
    letter-spacing:0.15em;
    text-transform:uppercase;
}
.master .sidebar
{
    margin-left:69%;
    position:fixed;
    top:50px;
    width:23%;
}
.master .sidebar div a
{
    color:#3F71C2;
}
.master .sidebar div a:hover
{
    color:#6F9DE9;
}
/* back-button */
.back-button
{
    height:60px;
}
.back-button div
{
    color:#3F71C2;
    float:left;
    font-size:50px;
    margin-top:-15px;
    transform:scaleX(-1);
}

/* items */
.item,
.stats
{
    font-size:0.975em;
    text-align:justify; 
}
.item h2
{
    color:#3F71C2;
    font-size:1.3em;
    font-weight:normal;
    letter-spacing:2px;
    margin-bottom:1.5em;
    text-transform:uppercase;
    font-family:"PFWeblySleekUI-L";
}
.item ul
{
    padding:0px;
    text-align:center; 
}

/* statistics */
.stats h2
{
    color:#3F71C2;
    font-family:"PFWeblySleekUI-L";
    font-size:1.3em;
    letter-spacing:2px;
    margin-bottom:1.5em;
    text-transform:uppercase;
}
.stats ul
{
    font-size:0.9em;
    list-style:none;
    margin:2em 0em 1em 0em;
    padding:0px 0px 45px 0px;
}
.stats li
{
    border-right:1px solid #CCCCCC;
    float:left;
    line-height:1.4;
    margin-right:1em;
    padding-right:1em;
}
.stats li div
{
    font-weight:bold;
    color:#AAAAAA;
    text-transform:uppercase;
}
.stats li span
{
    color:#B91D1D;
    font-weight:bold;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* google maps map */
#mapID
{
    width:100%;
    height:500px;
}

/* fancybox gallery */
.gallery li
{
    background-color:#F3F3F3;
    border:0.1em solid #CCCCCC;
    border-radius:0.5em;
    box-shadow:0.1em 0.1em 0.5em -0.2em #777777;
    cursor:pointer;
    display:inline-block;
    height:163px;
    margin:0.8em 0.8em;
    opacity:0.95;
    transition:background-color 0.25s ease-in-out;
    width:200px;
}
.gallery-big li
{
    border-radius:0.4em;
    height:240px;
    margin:1.2em 1em;
    opacity:0.9;
    width:300px;
}
.gallery li:hover
{
    background-color:#ABD0F6;
}
.gallery img
{
    border-radius:0.4em 0.4em 0em 0em;
}
.gallery h4
{
    color:#4d4d4d;
    margin:0px;
    padding:0.5em 5px;
    text-align:center;
    text-transform:uppercase;
	font-size:1.0em;
}

.gallery h3
{
    color:#212121;
    margin:0px;
    padding:0.2em 2px;
    text-align:center;
    text-transform:uppercase;
	font-size:0.9em;
	font-family: "PFWeblySleekUI-L";
}

/* 360 photosphere */
@keyframes spin { to { transform:rotate(1turn); } }
.loader
{
    animation:spin 0.8s ease infinite;
    border:3px solid transparent;
    border-top-color:#0096FF;
    border-radius:50%;
    height:30px;
    margin:0px auto;
    position:relative;
    top:calc(50% - 15px);
    width:30px;
}
.icon-pano
{
    background:#FFFFFF url("../includes/images/Icon-360.png") no-repeat center center;
    background-size:100% auto;
    border:1px solid #FFFFFF;
    border-radius:50%;
    height:30px;
    margin:5px 0px 0px 160px;
    opacity:0.6;
    position:absolute;
    width:30px;
}
.icon-video
{
    background:#FFFFFF url("../includes/images/Icon-Video.png") no-repeat center center;
    background-size:100% auto;
    border:1px solid #FFFFFF;
    border-radius:50%;
    height:30px;
    margin:50px 0px 0px 84px;
    opacity:0.6;
    position:absolute;
    width:30px;
}
.photosphere-wrapper,
.video-wrapper
{
    display:none;
    height:100%;
    left:0px;
    opacity:0;
    position:fixed;
    top:0px;
    transition:opacity 0.25s ease-in-out;
    width:100%;
    z-index:20;
}
.photosphere-background,
.video-background
{
    background-color:rgba(119,119,119,0.7);
    cursor:pointer;
    height:100%;
    position:fixed;
    z-index:-5;
    width:100%;
}
.photosphere-viewer,
.video-viewer
{
    background-color:#FFFFFF;
    height:500px;
    left:calc(50% - 410px);
    padding:10px 10px 35px 10px;
    position:fixed;
    top:calc(50% - 280px);
    width:800px;
}
.video-viewer
{
    height:450px;
}
.photosphere-viewer #photosphereID,
.video-viewer #videoID
{
    width:100%;
    height:500px;
}
.video-viewer #videoID
{
    height:450px;
}
.video-viewer #videoID video
{
    max-width:100%;
    max-height:100%;
}
.photosphere-viewer #photosphere-description,
.video-viewer #video-description
{
    color:#333333;
    font-family:"Helvetica";
    font-size:12px;
    padding:10px 0px;
    text-align:center;
}
/* comments */
.comments > h2
{
    color:#3F71C2;
    font-size:1.3em;
    font-weight:normal;
    letter-spacing:2px;
    margin-bottom:0.75em;
    text-transform:uppercase;
    font-family:"PFWeblySleekUI-L";
}
.comments > div > div
{
    padding:2px 3px;
}
.comments > div div
{
    background-color:rgba(63,113,194,0.16);
}
.comments > div > div:nth-child(1)
{
    float:left;
    width:calc(50% - 6px);
}
.comments > div > div:nth-child(2)
{
    float:right;
    text-align:right;
    width:calc(50% - 6px);
}
.comments > div > div:nth-child(3)
{
    margin-bottom:10px;
    text-align:justify;
}
/* add/cancel comment */
.comment-spoilerbutton
{
    margin-bottom:2px;
    text-align:right;
}
.comment-spoilermessage
{
    border:1px solid #3F71C2;
    border-radius:10px;
    background-color:#F3F3F3;
    display:none;
    margin:0px auto;
    padding:5px 10px;
    width:50%;
}
.comment-add table
{
    width:100%;
}
.comment-add tr:nth-child(1) td:nth-child(1) { width:50px; }
.comment-add input[type="text"],
.comment-add textarea
{
    font-family:"PFWeblySleekUI-SL";
    font-size:14px;
    resize:none;
    width:calc(100% - 10px);
}
.comment-add input[type="button"],
.comment-add input[type="submit"]
{
    background-color:rgba(63,113,194,0.4);
    border:0px none #3F71C2;
    color:#202050;
    cursor:pointer;
    float:right;
}