﻿/* fonts */
/* colors */
/*buttons*/
/* measures */
/* zindexes */
/* subdialogs z-indexes */
.md-narrow {
  width: 60% !important;
  min-width: 100px !important; }

.md-wide {
  width: 95% !important;
  min-width: 100px !important;
  max-width: 4096px !important; }

.md-modal {
  border: 2px solid #424242;
  position: fixed;
  width: 75%;
  top: 50%;
  left: 50%;
  max-width: 360px;
  min-width: 300px;
  height: auto;
  z-index: 3010;
  visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  overflow: hidden; }

.md-modal.md-narrow {
  top: 30%;
  -webkit-transform: translateX(-50%) translateY(-30%);
  -moz-transform: translateX(-50%) translateY(-30%);
  -ms-transform: translateX(-50%) translateY(-30%);
  transform: translateX(-50%) translateY(-30%); }

.md-modal-title > .closebutton {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 7px 0 0;
  width: 26px;
  height: 26px; }

.md-modal.box-shadow, .md-modal.box-shadow-strong {
  border-radius: 5px; }

.md-modal-title {
  background-color: #222;
  color: #50b9ff;
  position: relative;
  top: 0;
  width: 100%;
  height: 4.5em;
  text-align: center; }

.md-modal-title h4, .md-modal-title h5 {
  color: #50b9ff;
  line-height: 1.1; }

.md-modal-title h4, .md-modal-title h5 {
  margin: 0;
  padding: 1em;
  display: inline-block; }

.md-modal-title h4 {
  font-size: 20px; }

.md-modal-title h5 {
  font-size: 16px; }

/* Content styles */
.md-content {
  position: relative;
  border: 0;
  margin: 0 auto;
  height: 100%;
  overflow: hidden; }

.md-modal-body {
  background: #f8f8f8;
  position: relative;
  top: 0;
  width: 100%;
  padding: 1em; }

@media (min-width: 768px) {
  .md-modal {
    max-width: 576px; }
  .md-narrow {
    max-width: 350px; } }

@media (min-width: 992px) {
  .md-modal {
    max-width: 768px; }
  .md-narrow {
    max-width: 400px; } }

@media (min-width: 1200px) {
  .md-modal {
    max-width: 1150px; } }

@media (min-width: 1600px) {
  .md-modal {
    max-width: 1550px; } }

@media (min-width: 1750px) {
  .md-modal {
    max-width: 1700px; } }

@media (min-width: 1900px) {
  .md-modal {
    max-width: 1850px; } }

.md-show {
  visibility: visible; }

.md-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  visibility: hidden;
  top: 0;
  left: 0;
  z-index: 3000;
  opacity: 0;
  background: #222;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s; }

.md-show + .md-overlay {
  opacity: 0.7;
  visibility: visible; }

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
  -webkit-transform: scale(0.7);
  -moz-transform: scale(0.7);
  -ms-transform: scale(0.7);
  transform: scale(0.7);
  opacity: 0;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s; }

/*.md-show {
	opacity: 1;
}*/
.md-show.md-effect-1 .md-content {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  opacity: 1; }
