/*********** Maintenance page styling **************/
html,body { box-sizing: border-box; font-family: 'Roboto', sans-serif;}
@font-face { font-family: 'museo'; src: url('../fonts/Museo_Slab_700.otf'); font-weight: 700; }

.ac-404-container { background-image: url("../images/404-bg.jpg"); background-position: center center; background-size: cover; height: auto; min-height: 100vh; position: relative; }
.ac-404-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 100%; max-width: 1200px; margin: 0 auto; }

.ac-404.error-msg { padding-right: 15%; }
.ac-404.error-msg h1 { color: #dc2b2a; }
.ac-404.error-msg h1 img { margin-left: -70px; width: 100%; max-width: 350px; }
.ac-404.error-msg h2 { color: #000; font-weight: 700; font-size: 2.8em; font-family: 'museo'; }
.ac-404.error-msg p { color: #6f6f6f; padding-bottom: 10px; }
.ac-404.error-msg p a { color: #dc2b2a; }
.ac-404.error-msg p a:hover, .ac-404.error-msg p a:focus { text-decoration: underline; }
.ac-404.error-msg .ac-button a { font-size: 1em; font-weight: 500; color: #fff; background: #dc2b2a; padding: 10px 30px; text-decoration: none; margin-top: 10px; display: inline-block; border-radius: 3px; border: 2px solid #dc2b2a; }
.ac-404.error-msg .ac-button a:hover { background: rgba(255,255,255,0.0); color: #dc2b2a; text-decoration: none; }

.ac-404.error-pic { margin: 50px 75px 50px 25px; text-align: right; }
.ac-404.error-pic img { width: 100%; max-width: 400px; height: auto; }
.ac-404.error-pic span { color: #dc2b2a; font-size: 12em; text-shadow: 5px 5px #848484; font-family: 'Museo Sans'; font-weight: 700; }
#ac-404-mobile-pic { display: none; }

@media only screen and ( max-width: 992px ) {
  .ac-404.error-pic { margin: 50px 25px 50px 25px; }
  .ac-404.error-msg h1 img { margin-left: -50px; max-width: 300px; }
}

@media only screen and ( max-width: 768px ) {
  .ac-404-inner { margin: 0 auto; position: static; transform: translate(0%,0%); padding-top: 40px; padding-bottom: 40px; }
  .ac-404.error-pic { padding-top: 0px; margin: 0px auto 0px auto; text-align: center; }
  .ac-404.error-msg { text-align: center; padding-right: 5%; padding-left: 5%; margin-left: auto; margin-right: auto; }
  .ac-404.error-msg h1 img { margin-left: 0px; display: none; }
  .ac-404.error-msg h2 { font-size: 2.4em; }
  .ac-404.error-msg p { max-width: 500px; margin-left: auto; margin-right: auto; }
  .ac-404.error-msg { margin: 20px auto; }
  #ac-404-reg-pic { display: none; }
  #ac-404-mobile-pic { display: inline; }
}

@media only screen and ( max-width: 480px ) {
  .ac-404.error-msg h2 { font-size: 2.0em; }
}