/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

/** FONTS **/
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono|Ubuntu:300,400,500,700');

@font-face {
    font-family: exoticmatter;
    src: url(../fonts/exoticmatter4.woff);
}

html {
    color: #cccccc;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  background: url('../img/bg.jpg') no-repeat center top #000000;
  /*background: url('../img/checker.png') repeat center top #000000;*/
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 300;
  color: #ffffff;
  font-size: 12pt;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #dc00dc;
  text-transform: uppercase;
}

a:hover {
  color: #fe2bff;
}

div#space {
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
}

div#xcylin {
  background: url('../img/xcylin.png') no-repeat center center;
  width: 483px;
  height: 483px;

  position: absolute;
  left: 1000px;
  top: 200px;
  z-index: -100;
}

div#sun {
  background: url('../img/sun.png') no-repeat center center;
  width: 526px;
  height: 408px;

  position: absolute;
  left: 30px;
  top: -100px;
  z-index: -101;
}

div#navbar {
  width: 100%;
  height: 60px;
  position: absolute;
  top: 210px;
  left: 0px;

  user-select: none;
  z-index: 10;
}

div.barFixed {
  position: fixed !important;
  height: 70px !important;
  top: 0px !important;
  z-index: 1 !important;

  /*animation: increaseBarHeight 1s 0s 1 forwards !important;*/
}

div.barFixed .bar {
  animation: changeBarBackground 0.3s 0s 1 forwards !important;
}

div#navbar .bar {
  /*border: 2px solid rgb(17, 17, 19);*/
  /*background-color: rgba(28, 33, 38, 0.6);*/
  background: url(../img/bar_small.png) no-repeat top left;
  width: 964px;
  height: 100%;
  margin: 0px auto;

  user-select: none;

  text-align: right;
  font-size: 11pt;
  text-transform: uppercase;
}

div#navbar .bar a {
  margin-top: 6px;
  margin-left: 0;
}

div#navbar .bar a:last-child {
  margin-right: 8px;
}

div#navbar .bar a i {
	display: block;
	font-size: 14pt;
	padding-top: 2px;
}

div#navbar .bar .add-space-left {
	margin-left: 10px !important;
}

a.button {
	text-align: center;
	display: inline-block;
	padding: 2px;
	padding-right: 18px;
	padding-left: 6px;
	border: 2px solid rgb(17, 17, 19);
	background: url(../img/smallbutton_right.png) top right no-repeat rgba(43, 42, 47, 0.6);
	color: #ffffff;
	font-size: 10pt;
}

a.button:hover {
  background: url(../img/smallbutton_active_right.png) top right no-repeat rgba(46, 193, 211, 0.6);
}

a.button.disabled {
  cursor: default;
  color:#888888;
}

a.button.disabled:hover {
  color:#888888;
  background: url(../img/smallbutton_right.png) top right no-repeat rgba(43, 42, 47, 0.6);
}


div.header {
  width: 1380px;
  padding-left: 30px;
  padding-top: 20px;
  padding-bottom: 16px;
  margin: 0px auto;
}

div.bandarole {
	position:fixed;
	right: 0;
	top: 0;
	z-index: 0;
}

div.main-container {
	margin: 0px auto;
	margin-top: 44px;
	width: 964px;
}

div.main-container div.content {
	border: 2px solid rgb(17, 17, 19);
	width: 912px;
	background-color: rgba(38, 35, 36, 0.9);

	margin-bottom: 20px;
	
    padding: 10px;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 11pt;	
}

div.main-container div.youtube {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-top: 0;
	width: 960px;
}

div.main-container div.content div.screenshots {
    float: right;
    width: 345px;
}

div.main-container div.content div.screenshots video {
  padding-bottom: 4px;
}

div.main-container div.content div.screenshots img {
  padding-bottom: 4px;
}


/*div.main div.content div.banner {
  display: inline-block;
  width: 442px;
  height: 37px;
  padding-top: 7px;
  padding-left: 18px;
  margin-left: -24px;
  font-size: 16pt;
  font-weight: 500;
  margin-top: 40px;
  text-transform: uppercase;
}

*/

div.main-container div.content div.heading {
	font-size: 16pt;
	font-weight: normal;
	text-transform: uppercase;
	font-weight: 300;
	margin-bottom: 10px;
	margin-left: -24px;
	
	margin-top: 20px;
	padding-left: 10px;
	padding-right: 8px;
	padding-top: 3px;
	padding-bottom: 3px;
	background-color: rgb(17, 17, 19);
	display: inline-flex;  
}

div.main-container div.content div.heading:first-child {
	margin-top: 0;
}

div.main-container div.content div.heading a {
	color: #ffffff;
}
div.main-container div.content div.banner a, div.main div.content div.banner a:hover {
  color: #ffffff;
  background-color: rgba(38, 35, 36, 0.7);
  padding: 4px;
  padding-left: 6px;
  padding-right: 6px;
}

/*div.main-container div.content h1:first-child {
  margin-top: 0;
}*/

div.main-container div.content p {
	line-height: 18pt;
	text-align: justify;
}

div.main-container div.content p.spacer {
	height: 20px;
}

div.main-container div.footer {
  margin-top: 16px;
  padding: 16px;
  padding-left: 24px;
  padding-right: 24px;

  text-align: center;
  font-size: 9pt;
  color:#666666;
  font-family: 'Ubuntu Mono';
}

div.footer div.badges {
  margin-top: 10px;
  width: 100%;
  text-align: center;
}

div.footer div.badges img {
	border: none !important;
}

div.main-container div.about {
	padding-bottom: 20px;	
}

div.main-container div.screenshot-container {
	display: inline-block;
	width: 932px;
	padding: 0;
	padding-top: 10px;
    padding-left: 14px;
    padding-right: 14px;	
	padding-bottom: 10px;
}

div.main-container div.screenshot-container div.heading {
	margin-left: -14px;
}

div.main-container div.screenshot-container div.screenshots {
    padding:10px;
	padding-right: 6px;
	width: 916px;
	margin: 0;
	margin-bottom: -10px;
}

div.main-container div.screenshot-container div.screenshots img{
    vertical-align:bottom;

	padding: 0;
	margin: 0;
}

div.main-container div.screenshot-container div.screenshots a {
    opacity:0;
	margin: 0;
	padding: 0;
    vertical-align:bottom;
}

div.main-container div.content img {
	border: 2px solid rgb(17, 17, 19);
}

div.main-container div.content div.right {
	float: right;
	display: inline-block;
	margin-left: 16px;
	margin-top: 20px;
}

div.main-container div.content div.left {
	float: left;
	display: inline-block;
	margin-right: 16px;
}

div.main-container div.faq p.q {
	font-size: 12pt;
	font-weight: normal;
	text-transform: uppercase;
	font-weight: 300;
	
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 3px;
	padding-bottom: 3px;
	background-color: rgb(17, 17, 19);
	
	margin-bottom: 4px;
	display: inline-flex;
	margin-top: 16px;  	
}

div.loading {
	border: 2px solid rgb(17, 17, 19);	
	text-transform: uppercase;
	background-color: rgba(46, 193, 211, 0.6);
	padding: 4px;
	padding-left: 6px;
	padding-right: 6px;
}

/*div.main-container div.deg-360 {
	padding: 0;
	width: 960px;
}*/

div.main-container div.faq p.q a {
	color: #ffffff;
}

div.main-container div.faq p.a {
	margin-top: 0px;
	margin-left: 8px;
	margin-bottom: 14px;  	
}

p.story {
	line-height: 200%;
}

span.cap {
  float: left;
  font-size: 44pt;
  font-family: 'exoticmatter', cursive;
  line-height: 60px;
  padding-top: 5px;
  padding-right: 6px;
  padding-left: 3px;  
}

#mc_embed_signup {
	clear: left; 
	font-family: 'Ubuntu', sans-serif;
	text-align: left !important;
	display: inline-block !important;
}

#mc-embedded-subscribe {
	display: inline-block !important;
	padding: 2px !important;
	padding-right: 18px !important;
	padding-left: 6px !important;
	padding-top: 0 !important;
	line-height: 0 !important;
	text-transform: uppercase !important;
	border: 2px solid rgb(17, 17, 19) !important;
	height: 32px !important;
	background: url(../img/smallbutton_right.png) top right no-repeat rgba(43, 42, 47, 0.6) !important;
	color: #ffffff !important;
	font-size: 10pt !important;	
	transition: none !important;
	border-radius: 0 !important;
}

#mc-embedded-subscribe:hover {
	background: url(../img/smallbutton_active_right.png) top right no-repeat rgba(46, 193, 211, 0.6) !important;
	transition: none !important;
}

#mce-EMAIL {
	border: 2px solid rgb(17, 17, 19) !important;
	border-radius: 0 !important;
	background-color: #8b8a8f !important;
	color: #000000 !important;
}

#mce-EMAIL:focus {
	background-color: rgba(46, 193, 211, 0.6) !important;
	color: #cccfff !important;
}


/*p:first-letter {
font-size: 300%;
color: orange;
padding-right: 1px;
position:relative;
line-height: 36pt;
}*/

.bold {
	font-weight: bold !important;
}

.upper {
	text-transform: uppercase !important;
}

.xm-color {
	color: #fd35df !important;
}

div.abc {
  width: 200px;
  height: 200px;
  background-color: coral;
  animation: square-to-circle 2s 1s infinite alternate;
}

div.test {
  width: 200px;
  height: 200px;
  background-color: coral;
  animation: sampleAnimation 4s 1s infinite linear alternate;
}

#bizzbar {
    background: #58fff5;
	display: none;
    width: 100%;
    text-align: center;
    color: #000;
    padding: 2px;
    overflow: hidden;
    height: 30px;
    z-index: 50;
    font-size: 16px;
    position: fixed;
    bottom: 0;
    left: 0;
    box-shadow: 0 1px 10px rgba(89, 253, 243, .7);
	height: 36px;
	padding-top: 10px;
}

#bizzbar form {
	display: inline;
}

#follow-xm:after {
	content: 'Follow the development of Exotic Matter';
}

#bizzbar #mce-EMAIL {
	margin-left: 14px;
}

#bizzbar #mc-embedded-subscribe {
	height: 26px !important;
	transform: translate(0px, -1px);	
}

#bizzbar a.button {
	font-size: 15px;
}

#bizzbar div.buttonbar {
	display: inline-block;
}

#bizzbar button {
    -webkit-box-shadow: rgba(0, 0, 0, 0.278431) 1px 1px 3px;
    background: #333;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.278431) 1px 1px 3px;
    color: white;
    cursor: pointer;
    font-size: 0.854em;
    margin: 0px 0px 0px 7px;
    outline: none;
    padding: 2px 10px 1px;
    position: relative;
    text-decoration: initial;
}
#bizzbar button:hover {
    cursor: pointer;
    background: #444;
}
#bizzbar button:active {
    top: 1px;
}

#bizzbar #close-button {
	display: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes increaseBarHeight {
  to {
    height: 70px;
  }
}

@keyframes changeBarBackground {
  to {
    background: url(../img/bar_full.png) top left no-repeat;
  }
}

@keyframes sampleAnimation {
  from {
    background-color: #00ff00;
  }
  to {
    background-color: #0000ff;
  }
}

@keyframes square-to-circle {
  0%  {
    border-radius:0 0 0 0;
    background:coral;
    transform:rotate(0deg);
  }
  25%  {
    border-radius:50% 0 0 0;
    background:darksalmon;
    transform:rotate(45deg);
  }
  50%  {
    border-radius:50% 50% 0 0;
    background:indianred;
    transform:rotate(90deg);
  }
  75%  {
    border-radius:50% 50% 50% 0;
    background:lightcoral;
    transform:rotate(135deg);
  }
  100% {
    border-radius:50%;
    background:darksalmon;
    transform:rotate(180deg);
  }
}

@keyframes rotate {
  0% {
    transform:rotate(0deg);
  }
  50% {
    transform:rotate(180deg);
  }
  100% {
    transform:rotate(360deg);
  }
}






/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
