﻿html {
    height: 100%;
}

body {
    margin: 0;
    height: 100%;
    font-family: Arial,Helvetica,sans-serif;
    background-color: #666;
}

div {
    overflow: hidden;
    box-sizing: border-box;
}

img {
    display: block;
}

#wrapper {
    overflow: hidden;
    min-height: 100%;
}

#outertop, #container, #footer {
    width: 100%;
    margin: auto;
}

#header h1 {
    color: #EEE;
    padding-left: 10px;
}

/* cont */
#container {
    background-color: #000;
}

#content, #innertop, #nav, #nav2 {
    max-width: 960px;
    margin: auto;
    position: relative;
}

#outerholder {
    margin: auto;
    max-width: 600px;
    padding: 2%;
    background-color: #000;
    height: 65vh;
    max-height: 100vw;
    box-sizing: content-box;

}

#imgholder {
    position: absolute;
    margin: auto;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    }

#imgholder {
    transition: width 0.2s, height 0.2s ease;
}

.pic {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


#imgholder canvas {
    position: absolute;
    /* width: auto; */
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}


#imgmid {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    /* border-radius: 50%;
    border: 10px solid white; */
    /* display: none; */
    box-sizing: content-box;
    border-radius: 50%;
    border-top: solid 6px #666;
    border-right: solid 6px #fff;
    border-bottom: solid 6px #fff;
    border-left: solid 6px #fff;
    animation: spinround 1s ease-in-out infinite;
}

.loader {
    width: 100px;
    height: 100px;
}

.imgmid::before {
    position: absolute;
    border-radius: 50%;
    width: 88px;
    height: 88px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: solid 6px #bababa;
    border-right: solid 6px #fff;
    border-bottom: solid 6px #fff;
    border-left: solid 6px #fff;
    box-sizing: content-box;
    content: '';
    }

@keyframes spinround {
    0% {
    transform:rotate(0);
    }
    100% {
    transform:rotate(360deg);
}
}