@charset "UTF-8";
@media all {
/* General */
body {
	margin: 0;
	padding: 0;
	height: 100.1%;
	overflow: hidden;
	color:#000;
	font-family: "Tahoma", Arial, sans-serif;
	font-size: 1.2em;
}

}
a {
	color: #000;
}
h1, h2, strong {
	font-family: "Tahoma", Arial, sans-serif;
	color:#e20610;
}
h1 {
	font-size: calc(20px + (40 - 20) * ((100vw - 320px) / (1600 - 320)));
	/*calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width])));*/
	line-height: 1.2em;
}
/* Card */
#ecard h1 {
	font-size: calc(10px + (40 - 14) * ((100vw - 320px) / (1600 - 320)));
	line-height: 1.2em;
}
#ecard p {
	font-size: calc(8px + (18 - 12) * ((100vw - 320px) / (1600 - 320)));
	line-height: 1.2em;
}
.intro {
	height: 100vh;
}
.video {
	position: fixed;
	z-index: -99;
}
video {
    width: 100vw;
    height: 100vh;
    -o-object-fit: cover;
    object-fit: cover;
}
p.h3 {
	font-size: 1.2em;
	display: block;
	-moz-transform: rotate(-90deg);
    transform: rotate(-90deg);
	transform-origin: right bottom;
	margin:20vh 0 0 0;
}
.flip-panel {
    display: block;
    position: relative;
    width: 80vw;
	max-width: 830px;
    height: calc(80vw * .707);
	max-height: 587px;
    margin: 0 auto 0 auto;
    perspective: 1200px;
}
.panel {
    transition: z-index 1s ease-in-out 1s;
}
.panel:hover {
    cursor: pointer;
}
.panel,
.panel .front,
.panel .back {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -moz-transform-style: preserve-3d;
    -moz-transition: -moz-transform 1s;
    transform-style: preserve-3d;
    transition: transform 1s, box-shadow 1s;
}
.panel .content {
    height: calc(80vw * .707);
	max-height: 587px;
}
.panel .front {
    background: #fff;
    z-index: 2;
    -moz-transform: rotateY(0deg);
    -moz-transform-origin: left;
    transform: rotateY(0deg);
    transform-origin: left;
	visibility: visible;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.panel .back {
    background: #e20610;
    left: -100%;
    z-index: 1;
    -moz-transform: rotateY(180deg);
    -moz-transform-origin: right;
    transform: rotateY(180deg);
    transform-origin: right;
	visibility: visible;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.panel .front:hover {
    -moz-transform: rotateY(-25deg);
    -moz-transform-origin: left;
    transform: rotateY(-25deg);
    transform-origin: left;
    box-shadow: 4px 4px 12px rgb(100,100,100);
}
.panel.open {
    z-index: 1;
}
.panel.open .front {
    z-index: 11;
    -moz-transform: rotateY(-180deg);
    -moz-transform-origin: left;
    transform: rotateY(-180deg);
    transform-origin: left;
}
.panel.open .back {
    z-index: 12;
    -moz-transform: rotateY(0deg);
    -moz-transform-origin: right;
    transform: rotateY(0deg);
    transform-origin: right;  
}
/* Portrait */
.portrait {
	display: block;
	text-align: center;
}
#ecard .portrait .img-fluid {
	width: auto;
	height: 100%;
	margin: 0 auto;
}
#ecard .portrait .img-fluid.inside {
	width: 80%;
	height: auto;
}
/* Overview */
.card-link img {
	transition: all .2s ease-out;
	border: 1px solid #000;
}
.card-link img:hover {
	transform: scale(1.1,1.1);
}

/* Detail */
input[type="text"]:active, input[type="text"]:focus, textarea:active, textarea:focus {
    color:000;
	box-shadow: none;
    background-color: #f7f7f7;
}
input[type="text"]:hover, textarea:hover {
    background-color: #f7f7f7;
}
input[type="text"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    background-color: #fff;
    color: #000;
    line-height: 40px;
    width: 100%;
    border: 1px solid #b1ba1b1;
    border-radius: 0;
    outline: none;
}

/* Misc */
.bg-lightgrey {background: #e2e2e2;}
.logo {margin: 25px;}
.carousel-indicators {bottom:-50px;}
.carousel-indicators li {background:url('../img/carousel-indicator-bg.png') no-repeat center center grey; width:30px; height:20px; cursor:pointer; margin:0;}
.carousel-indicators li.active {background:url('../img/carousel-indicator-bg.png') center center no-repeat #e20610;}
.btn, .btn:hover, .btn:active, .btn:focus {border:none; outline:0; transition:none; box-shadow:none; cursor:pointer;}
.btn-primary, .btn-primary:active, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active {background-color: #e20610; border-color: #e20610; border:none; border-radius:0; margin:0 0 5px 0;}
.btn-secondary, .btn-secondary:active, .btn-secondary:focus, .btn-secondary:not(:disabled):not(.disabled):active {background-color: #666; border-color: #666; border:none; border-radius:0; margin:0 0 5px 0;}
.btn-primary:hover {background-color: #953735; border-color: #953735;}
.btn-secondary:hover {background-color: #999; border-color: #e2e2e2;}
footer {background:#ededed; font-weight:bold; font-size:.8em; padding:.4em 0 1em 0;}
footer a:nth-child(2) {margin:0 20px;}
footer a, footer p, footer a:hover {color:#797575;}

@media (max-width: 1024px) and (max-device-aspect-ratio: 4/3) and (orientation: landscape) {
.flip-panel {
    width: 60vw;
    height: calc(60vw * .707);
    perspective: 1200px;
}
.portrait .img-fluid.inside {
	width: 80%;
	height: auto;
}
.portrait .row.content, .landscape .row.content {
	max-height:420px;
}
}
@media (max-width: 1024px) and (max-device-aspect-ratio: 4/3) and (orientation: portrait) {
.flip-panel {
    width: 80vw;
    height: calc(80vw * .707);
    perspective: 1200px;
}
.portrait .img-fluid.inside {
	width: 80%;
	height: auto;
}
.portrait .row.content {
	max-height:460px;
	padding: 10px 0 0 0;
}
.landscape .row.content {
	padding: 20px 0 0 0;
}
}
@media (max-width: 719px) {
}
@media (max-width: 419px) {
}


}