/**
 * ------------------------------------------------------------------------
 * JA Morgan Template
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - Copyrighted Commercial Software
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites:  http://www.joomlart.com -  http://www.joomlancers.com
 * This file may not be redistributed in whole or significant part.
 * ------------------------------------------------------------------------
*/


* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  background: #fff;
  color: #888;
  font-size: 18px;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'PTRootUI', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

.offline-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 30px;
}

.outline {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 5px;
  margin: 0 auto;
  max-width: 100%;
  padding: 60px;
  width: 820px;
}

.outline h1 {
  color: #333;
  display: block;
  line-height: 1.0666;
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 0;
  text-align: center;
}

.outline p.message {
  text-align: center;
  margin: 0 0 30px 0;
}

.input > p {
  margin: 0 0 20px 0;
}

#form-login fieldset {
  border: 0;
  padding: 0;
}

#form-login-secretkey,
#form-login-username,
#form-login-password {
  margin-bottom: 30px;
  margin-top: 0;
}

#form-login-secretkey label,
#form-login-username label,
#form-login-password label {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

#form-login-secretkey input,
#form-login-username input,
#form-login-password input {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  height: 60px;
  width: 100%;
  font-size: 16px;
  padding: 15px;
}

#form-login-secretkey input:focus,
#form-login-username input:focus,
#form-login-password input:focus {
  box-shadow: none;
  border-color: #999;
}

#form-login-remember {
  margin-bottom: 30px;
}

#submit-buton {
  margin: 0;
}

#submit-buton .button {
  background: #d93030;
  border-radius: 5px;
  border: 0;
  color: #fff;
  cursor: pointer;
  display: block;
  font-size: 16px;
  font-weight: 600;
  font-family: 'PTRootUI', Helvetica, Arial, sans-serif;
  line-height: 1.25;
  padding: 20px 40px;
  text-decoration: none;
  transition: background 800ms;
  width: 100%;
}

#submit-buton .button:hover,
#submit-buton .button:focus,
#submit-buton .button:active {
  background: #b92a2a;
  color: #fff;
}

/* Message Error */
#system-message-container {
  width: 100%;
}

#system-message .error,
#system-message .alert {
  background: #f2dede;
  color: #b94a48;
  margin: auto;
  padding: 20px;
  width: 700px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: left;
  max-width: 100%;
  border-radius: 4px;
}

.error.message ul {
  padding: 0;
  list-style: none;
}

.alert {
  position: relative;
}

.alert h4 {
  font-size: 18px;
  margin: 0 0 5px;
}

.alert p {
  margin: 5px 0 0 0;
}

.close {
  right: 15px;
  top: 15px;
  position: absolute;
  cursor: pointer;
  height: 16px;
  text-align: center;
  width: 16px;
  line-height: 16px;
  font-size: 20px;
}


@media (max-width: 480px){
  .offline-wrap {
    padding: 0 20px;
  }

  .outline {
    padding: 20px;
  }

  .outline h1{
    font-size: 40px;
    margin-bottom: 15px;
    margin-top: 10px;
  }

  .offline-container {
    width: 100%;
    border: none;
    padding: 0;
  }

  .form-offline {
    width: 100%;
  }

  .form-group {
    width: 100%;
  }

  /* Message Error */
  #system-message .error,
  #system-message .alert {
    width: 100%;
  }
}
