 @font-face
 {
   font-family: Nordica;
   src: url(NordicaThin.woff);
 }
 
 html,body
 {
   margin: 0;
   padding: 0;
   background-color: #000;
 }
 
.bframe
{
   position: fixed;
   top: 0;
   left: 0;
   height: 100%;
   width: 100%;
   background-position: center;
   background-size: cover;
   background-repeat: no-repeat;
   z-index: 5;
   font-family: Nordica,sans-serif;
}
#bframe-main
{
    background-color: #222;
}
#bframe-overlay
{
	display: none;
	background-color: #333;
	z-index: 10;
}
#bframe-dialog
{
	display: none;
	z-index: 15;
	perspective: 20em;
}

 #top-title
 {
   position: absolute;
   display: block;
   width: 500px;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
 }
 #top-title > img
 {
   clear: left;
   display: block;
   margin: 0 auto 0 auto;
 }
 
 #top-dialog
 {
   position: absolute;
   display: block;
   width: 330px;
   background-color: #fff;
   border: 1px solid #000;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%) rotateY(90deg);
 }
 
 #contact-button
 {
   clear: left;
   display: block;
   margin: 20px auto 10px auto;
   padding: 8px;
   border-radius: 15px;
   font-family: Nordica,sans-serif;
   font-size: 14px;
   overflow: hidden;
   height: 14px;
   width: 14px;
   cursor: pointer;
   color: #000;
 }
 #contact-button #contact-button-hover
 {
   display: none;
   width: 120px;
 }
 #contact-button #contact-button-bicon
 {
   display: block;
   float: left;
   padding: 0 3px;
 }
 #contact-button #contact-button-label
 {
   display: block;
   float: left;
   padding-left: 12px;
   margin-top: -2px;
 }
 
 #close-dialog-button
 {
   display: block;
   position: absolute;
   top: 8px;
   right: 8px;
   width: 20px;
   height: 20px;
   cursor: pointer;
   background-image: url(../img/delete-black.png);
   background-repeat: no-repeat;
   background-position: center;   
 }
 
 #contact-form
 {
   padding: 13px;
 }
 #contact-form .input-wrapper
 {
   border: 1px solid #007;
   border-radius: 2px;
   width: 200px;
   margin: 2px auto 20px auto;
 }
 #contact-form input,
 #contact-form textarea
 {
   border: none;
   display: block;
   width: 195px;
 }
 #contact-form textarea
 {
   height: 120px;
 }
 #contact-form label
 {
   display: block;
   width: 200px;
   margin: 20px auto 2px auto;
   font-size: 13px;
 }
 #contact-form .g-recaptcha
 {
   margin: 20px 0;
 }
 
 #contact-form-send
 {
   display: block;
   color: #000;
   margin: 20px auto;
   width: 120px;
   height: 30px;
   border: 1px solid #007;
   border-radius: 2px;
   padding: 7px;
   position: relative;
   cursor: pointer;
 }
 #contact-form-send:hover
 {
   background-color: #566b83;
 }
 #contact-form-send-label
 {
   width: 86px;
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   padding-left: 7px;
 }
 #contact-form-send-arrow
 {
   width: 20px;
   height: 30px;
   padding: 7px;
   background-image: url(../img/carat-r-black.png);
   background-repeat: no-repeat;
   background-position: center;    
   position: absolute;
   top: 0;
   right: 0;  
 }
 
 #contact-form-processing
 {
   position: relative;
   padding: 13px;
   display: none;
 }
 #contact-form-processing img
 {
   display: block;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
 }
 #contact-form-processing-cancel
 {
   position: absolute;
   display: block;
   width: 120px;
   top: 60%;
   left: 50%;
   transform: translateX(-50%);
   padding: 8px;
   border-radius: 15px;
   border: 1px solid #000;
   font-family: Nordica,sans-serif;
   font-size: 14px;
   overflow: hidden;
   height: 14px;
   color: #000;
   text-align: center;
 }
 
 #contact-form-result
 {
   position: relative;
   padding: 13px;
   display: none;
 }
 
@media screen and (max-width: 500px)
{
 #top-title
 {
   width: 100%;
 }
 #top-title-logo
 {
   width: 96%;
 }
 #top-title-subtext
 {
   width: 81%;
 }
}
