/*
   Copyright Siemens AG, 2015
*/

/**********/
/* Basics */
/**********/

/**
 * Apply a natural box layout model to all elements,
 * but keep allowing components to change the property.
 * Inspiration:
 * http://www.paulirish.com/2012/box-sizing-border-box-ftw/
 * https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
 */

html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    -webkit-overflow-scrolling: auto;       /* no 'momentum' or 'lazy' scrolling */
}

body {
    background: #f2f3f7;
    overflow: hidden;
    min-height: 100%;
    max-height: 100%;
    max-width: 100%;

    /* http://msdn.microsoft.com/en-us/library/windows/apps/hh767313.aspx */
    /* this enables touch support for sly in IE on touch device like surface */
    -ms-touch-action: none;
    touch-action: none;
}

.formContent {
    display: table;
    border-collapse: separate;
    border-spacing: 0 10px;
    position: relative;
    top: -10px;
    margin-bottom: -20px;
}

table {
    color: #fff;
}

.description {
    color: #ddd;
    font-size: 11px;
}

.error {
    color: #ff6b94;
}

.message {
    background: -moz-linear-gradient(top, #4e555b, #2b3034);
    background: -webkit-linear-gradient(top, #4e555b, #2b3034);
    background: -o-linear-gradient(top, #4e555b, #2b3034);
    background: -ms-linear-gradient(top, #4e555b, #2b3034);
    background: linear-gradient(to bottom, #4e555b, #2b3034);
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    text-align: center
}

.dialog.message .dialog__box__footer, .dialog.modeless .dialog__box__footer {
    color: #fff;
    font-size: 12pt;
    line-height: normal
}

.dialog.message .dialog__box__footer .footerButtons, .dialog.modeless .dialog__box__footer .footerButtons {
    display: inline-block;
    margin-right: 0
}

.dialog.message .dialog__box__footer .footerButtons > .extButton, .dialog.modeless .dialog__box__footer .footerButtons > .extButton {
    float: left
}

.dialog.message .dialog__box__footer .footerButtons.advanced, .dialog.modeless .dialog__box__footer .footerButtons.advanced {
    width: 400px
}

.dialog.message .dialog__box__footer.footerError, .dialog.modeless .dialog__box__footer.footerError {
    color: #ff6b94
}


.propertyLabel {
    padding-left: 5px;
    padding-top: 6px;
    padding-bottom: 6px;
    olor: #ddd;
}

/*************/
/* Preloader */
/*************/

.splashScreen {
	display: none;
    height: 100%;
}

.splashScreen__content {
    width: 900px;
    height: 450px;
    background-color: rgb(69, 80, 90);
    background-image: url(/images/image-login-screen.png);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: contain;

    /**
     * Boxshadow
     */
    -webkit-box-shadow:  0 0 15px 2px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 15px 2px rgba(0, 0, 0, 0.75);

    position: fixed;
    z-index: 11;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;

    /**
     * Flexbox
     */
    display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -ms-flex;
	display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.splashScreen__content__loading {
    color: #fff;
    font-size: 30px;
    margin-left: 550px;
}

/*.splashScreen__content__loading::after {
    content: "\2026";           !* ASCII code for the ellipsis character '...' *!
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    width: 0;
    -webkit-animation: splashScreenLoading steps(4,end) 3000ms infinite;
    animation: splashScreenLoading steps(4,end) 3000ms infinite;
}

@keyframes splashScreenLoading {
  to {
    width: 1.25em;
  }
}

@-webkit-keyframes splashScreenLoading {
  to {
    width: 1.25em;
  }
}*/

[ng-cloak].splashScreen {
	display: block !important;
}

@media only screen and (max-width: 900px), screen and (max-height: 450px) {
    .splashScreen__content {
        width: 100%;
        height: 100%;
        background-image: none;

        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;

        -webkit-box-pack: center;
        -moz-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .splashScreen__content__loading {
        margin-left: 0;
    }
}


/**********************/
/* Global Help Styles */
/**********************/
.helpIndicator {
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.helpIndicator--selected:before {
    content: '';
    position: absolute !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-color: #40C540;
    border-width: 2px;
    border-style: solid;
    -webkit-border-radius: inherit;
    -moz-border-radius: inherit;
    border-radius: inherit;
}

.helpIndicator > svg {
    position: absolute !important;
    top: 0;
    right: 0;
    color: #40C540;
}

.helpIndicator > svg + svg {
    position: absolute !important;
    top: 0;
    right: 0;
    color: #FFFFFF;
}

/***********************/
/* Overwrite Bootstrap */
/***********************/

/*.row {
    margin-left: 0;
    margin-right: 0;
}

.col-md-1,
.col-md-4,
.col-md-6,
.col-md-8 {
    padding-left: 0;
    padding-right: 0;
}*/



/**
 * iOS 7 iPad Safari landscape height layout issue workaround
 * http://stackoverflow.com/questions/19012135/ios-7-ipad-safari-landscape-innerheight-outerheight-layout-issue
 */
@media (orientation:landscape) {
	html.ipad.ios7 > body {
		position: fixed;
		height: calc(100vh - 20px);
		width: 100%;
  	}
}

.dot1, .dot2, .dot3 {
    font-size: 120%;
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: infinite;
    animation-duration: 2s;
    -moz-animation-iteration-count: infinite;
}

.dot1 {
    -webkit-animation-name: dot1;
    animation-name: dot1;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes dot1{
    25%  {opacity: 0.9;}
    50%  {opacity: 0.2;}
}

/* Standard syntax */
@keyframes dot1{
    25%  {opacity: 0.9;}
    50%  {opacity: 0.2;}
}

.dot2 {
    -webkit-animation-name: dot2;
    animation-name: dot2;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes dot2{
    50%  {opacity: 0.9;}
    75%  {opacity: 0.2;}
}

/* Standard syntax */
@keyframes dot2{
    50%  {opacity: 0.9;}
    75%  {opacity: 0.2;}
}

.dot3 {
    -webkit-animation-name: dot3;
    animation-name: dot3;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes dot3{
    75%  {opacity: 0.9;}
    100%  {opacity: 0.2;}
}

/* Standard syntax */
@keyframes dot3{
    75%  {opacity: 0.9;}
    100%  {opacity: 0.2;}
}