﻿/*
 * Sticky footer styles
 */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin: 0%;
    padding: 0%;
    color: #46494c;
    font-family: Source Sans Pro, Tahoma,sans-serif,Verdana;
    height: 100%;
    overflow-x: hidden;
    margin-bottom: 60px;
}

body.cloud-background {
    background: url(../img/cloud-background.png) no-repeat center center;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    text-align: center;
}

/*
 * Text emphasis
 */
.text-muted {
    color: #777;
}

.text-danger {
    color: #FF0000;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/*
 * Base styles
 */
h4 {
    font-weight: 600;
    font-size: 27px;
    margin: 16px 0px;
}

h5 {
    font-weight: normal;
    font-size: 16px;
    font-style: italic;
}

code {
    font-size: 80%;
}

label {
    font-size: 14px;
    line-height: 14px;
    color: #72777c;
    font-weight: 600;
}
a {
    color: #275d8b;
    text-decoration: underline;
}

fieldset legend {
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: block;
    width: 100%;
    border-bottom: 1px solid #c7c7c9;
}

/*
 * Page structure
 */
body > .container {
    padding: 0px 15px 0;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.application-header-container {
    padding: 0 20px 0 20px;
    text-align: left;
    border-bottom: 1px solid #c7c7c9;
    background: #DCDCDD;
}

.application-header-container img {
    padding: 3px 0px;
}

body > .body-content {
    padding-top: 20px;
}

.signin-header {
    padding-bottom: 20px;
}

.form-action-buttons {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 7px;
}

.required {
    color: #da6060;
}

#BannerContainer .banner-text {
    text-align: center;
}

#BannerContainer .banner-firstline {
    color: #fff;
    background-color: #5ba8dc;
    display: inline-block;
    padding: 6px;
    margin-bottom: 5px;
}

#BannerContainer .banner-secondline {
    color: #fff;
    background-color: #a8a9ad;
    display: inline-block;
    padding: 6px;
    margin-bottom: 5px;
}

#BannerContainer .banner-link {
    display: inline-block;
    top: 80px;
    font-size:12px;
}

#WelcomeText {
    text-align: center;
}


/*
 * Spinner
 */
#Preloader {
    text-align: center;
    margin-top: 25%;
}

.spinner {
    margin: 10px auto;
    width: 206px;
    height: 10px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #c7c7c9;
    height: 100%;
    width: 16px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.spinner .rect6 {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.spinner .rect7 {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.spinner .rect8 {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
    }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
    }
}

/*
 * Fade in
 */

/* Keyframes for the fade-in */
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@-moz-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

.fade-in {
  opacity:0;
  opacity: 1 \9; /*just in case ie*/
  -webkit-animation:fadeIn ease-in 1;
  -moz-animation:fadeIn ease-in 1;
  animation:fadeIn ease-in 1;

  -webkit-animation-fill-mode:forwards;
  -moz-animation-fill-mode:forwards;
  animation-fill-mode:forwards;

  -webkit-animation-duration:0.1s;
  -moz-animation-duration:0.1s;
  animation-duration:0.1s;

  -webkit-animation-delay: 0.1s;
  -moz-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

/*
 * Privacy notice
 */
#TextBox {
    display:none;
}

.TextHld {
    width:50%;
    margin:auto;
    padding-bottom: 80px;
}

#TextViewCloseButton {
    margin-top:10px;
}

/*
 * Buttons
 */
.btn-primary {
    text-decoration: none;
}
.btn-primary:active,
.btn-primary.active, 
.open > .dropdown-toggle.btn-primary {
    color: #fff;
    background-color: #7bc88c;
    border-color: #7bc88c;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus, 
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    color: #fff;
    background-color: #4bb462;
    border-color: #4bb462;
}

.messagebox {
    padding: 22px 15px;
    margin: 20px 0px;
    background-color: #f1f1f1;
    color: #46494c;
    border: 1px solid #b8b8b8;
    border-radius: 2px;
    font-weight: 400;
    line-height: 1.2em;
}

.messagebox.error {
    border-color: #f75f5f;
    background-color: #f75f5f;
    color: #fff;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    label {
        font-weight: normal;
    }

     #BannerContainer .banner-cloud {
        height: 70px;
        background: url(../img/uniFLOWOnlineCloudLogo.png) no-repeat center center;
        background-position: right 0px center;
    }

    #BannerContainer .banner-text {
        text-align: left;
    }

    #WelcomeText {
        text-align: left;
    }

    .form-horizontal .control-label {
        text-align: left;
    }
}

textarea.form-control{
    resize: vertical;
}