
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  margin: 0;
  padding: 10px;
  background: #084D74 url(../LoginBG.jpg) no-repeat fixed bottom center / cover;
  background-size: 105%;
  font-family: Oxygen, lato, arial, Helvetica;
  font-size: 10px; 
  overflow: auto;
  /*animation: background 8s ease 1;*/
}

@keyframes background{
  0% {
    background-size: 100%;
  }
    100%{
    background-size: 105%;
  }
}


#passwordResetAffiliates {
  display: none;
  opacity: 0;
  margin: auto;
  background: white;
  position: static;
  background: rgba(255,255,255,0.8);
  max-width: 600px;
  top: -25px;
  left: 30px;
  width: 100%;
  padding: 50px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
  background: white;
  transition: all 1s ease-out; 
  overflow: hidden;
  box-sizing: border-box;
}

#passwordResetAffiliates input[type='submit']{
  background: #1C9ADF;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  border: 1px solid #117fbb;
}

#wrapper.reset #passwordResetAffiliates{
  opacity: 1;
}

#passwordResetCMS {
  display: none;
  opacity: 0;
  margin: auto;
  background: white;
  position: static;
  background: rgba(255,255,255,0.8);
  max-width: 600px;
  top: -25px;
  left: 30px;
  width: 100%;
  padding: 50px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
  background: white;
  transition: all 1s ease-out; 
  overflow: hidden;
  box-sizing: border-box;
}

#wrapper.reset #passwordResetCMS{
  opacity: 1;
}

#passwordResetCMS input[type='submit']{
  background: #2FB667;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  border: 1px solid #26a25a;
}

#passwordResetCMS input[type='submit']:hover{
  background: #26a25a;
  border: 1px solid #26a25a;
 } 

#passwordResetCMS .login-panel-header{
  color: #34BE6D;
}

#passwordResetAffiliates .login-panel-header{
  color: #1C9ADF
}

.fontawesome {
  font-family: fontawesome; 
}

@font-face {
  font-family: 'FontAwesome';
  src: url("../fontawesome-webfont.eot");
  src: url("../fontawesome-webfont.eot?#iefix") format("embedded-opentype"), url("../fontawesome-webfont.woff") format("woff"), url("../fontawesome-webfont.ttf") format("truetype"), url("../fontawesome-webfont.svg#fontawesomeregular") format("svg");
  font-weight: normal;
  font-style: normal; 
}

/* Generic Input Styling */
input {
  display: block;
  margin: 15px auto 15px;
  box-sizing: border-box;
  padding: 1em;
  font: inherit;
  font-size: 1.5em;
  color: white;
  text-align: center;
  border: none;
  width: 100%;
  height: 60px;
  background: rgba(0, 0, 0, 0.7);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  /*transition: all 0.9s ease;*/
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-radius: 30px; 
}

::-webkit-input-placeholder {color: #ddd;}
::-moz-placeholder {color: #ddd;}
:-ms-input-placeholder {color: #ddd;}
:-moz-placeholder {color: #ddd;}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

input:focus {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

input[type='submit'] {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  cursor: pointer; 
  transform: scale(1.0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

input[type='submit']:hover{
  transform: scale(1.1);
}

/* Logo only appears on the Admin Screen */

#logo {
  margin: 70px auto 70px;
  text-align: center; }

#logo img {
  width: 250px; }


/* Login area wrapper */  
#wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
      align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 100%;
  max-width: 850px;
  height: 450px;
  margin: 80px auto 20px; 
  position: relative;
  background: rgba(0,0,0,0.7);
  transition: all .5s ease; 
}

#wrapper .login-panel {
  position: absolute;
  top: -25px;
  left: 30px;
  width: 100%;
  max-width: 450px;
  height: 500px;
  padding: 40px;
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
  background: white;
  /*transition: all .3s ease-out;*/
  transition: all .5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  overflow: hidden; 
  box-sizing: border-box;
}

#wrapper.reset{
  background: rgba(0,0,0,0);
}

.login-panel > div, .login-panel form{
  width: 100%;
}

.login-panel-header {
  padding: 0;
  box-sizing: border-box;
  text-align: center;
  font-size: 4.0em;
  line-height: 1.0em;
  font-weight: 700;
  text-transform: uppercase;
  color: #DC252B;
  margin: 40px auto 5px;
 }

.login-panel-sub-header {
  width: 100%;
  text-align: center;
  color: #777;
  font-size: 1.8em;
  padding: 0;
  margin: 15px auto 45px;
  position: relative;
  box-sizing: border-box;
}

.login-panel-header span {
  font-weight: 500;
  margin-right: 10px; 
}

.login-panel .login-forgot{
  display: block;
  position: relative;
  color: #888;
  text-align: center;
  font-size: 1.2em;
  padding: 0.5em 0.8em;
  cursor: pointer;
}

.login-panel .login-forgot:hover{
  color: #333;
  cursor: pointer;
}

.login-panel .login-forgot:after{
  content: '';
  position: absolute;
  left: 50%;
  margin-left: -60px;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #333;
  transition: all .2s ease;
}

.login-panel .login-forgot:hover:after{
  width: 120px;
}

.login-panel-link a{
	display: block;
	background: black;
	color: white;
	width: 100%;
	max-width: 300px;
	text-decoration: none;
	padding: 1.0em;
	font-size: 1.5em;
	text-align: center;
	margin: 10px auto;
	border-radius: 3em;
	transform: scale(1.0);
	transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.login-panel-link a:hover{
  transform: scale(1.1);
}

/* Slide login area to left whne referral selected */
#wrapper.referral .login-panel{
  left: 370px;
}

/* ADMIN LOGIN SCREEN */
#wrapper.adminWrap{
  background: none;
  height: auto;
  display: flex;
  justify-content: center;
  margin: 20px auto 20px;
  flex-direction: column;
}

#wrapper.adminWrap form{
  font-size: 10px;
}

#wrapper.adminWrap .logo{
  width: 100%;
  max-width: 220px;
  margin: 0 0 30px;
  display: block;
}

#wrapper.adminWrap .logo img{
  width: 100%;
}

#admin.login-panel {
  position: static;
	background: rgba(255,255,255,0.8);
  max-width: 600px;
  height: 450px;
}

#wrapper.adminWrap .login-panel-header{
  margin: 10px auto 5px;
}

#wrapper.adminWrap .login-panel-sub-header{
  margin: 0 auto 30px;
}

#admin input[type='submit'] {
  background: #dc252b;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
}

#wrapper #referrer{display: none;} 
#wrapper #referrerContact{display: block;}   
#wrapper.referral #referrer{display: block;}
#wrapper.referral #referrerContact{display: none;}
#wrapper.referral #cms{display: none;}
#wrapper #cmsContact{display: none;}
#wrapper.referral #cmsContact{display: block;}

#wrapper.referral #cms,
#wrapper.referral #loggedOut,
#wrapper.referral #timedOut
{display: none}


#wrapper.referral #cmsContact, #wrapper #referrerContact, #wrapper.referral #referrer, #wrapper #cms{
  opacity: 1;
  animation-name: ContactAnim;
  animation-timing-function: ease;
  animation-delay: 0s;
  animation-iteration-count: 1;
  animation-duration: 1s;
}

@keyframes ContactAnim {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Refferral Login */
#referrer .login-panel-header {
  color: #1C9ADF;
}

/*#referrer .login-panel-sub-header {
  padding: 6px 15px;
  line-height: 1.3em; 
}*/

#referrer .login-panel-sub-header a {
  background: #073c59;
  padding: 3px 5px;
  margin-left: 10px;
  color: white;
  text-decoration: none;
  border-radius: 3px; 
}

#referrer input[type='submit'] {
  background: #1C9ADF;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  border: 1px solid #0a5b88; 
}

#referrerContact .content .new{
  margin: 1em auto;
}

.login-panel #referrer .login-forgot a{
  color: #1C9ADF;
  text-decoration: none;
}

.login-panel #referrer .login-forgot a:hover{
  background: #1C9ADF;
  color: white;
}


/* CMS Login */
#cms {
  left: 0; }

#cms .login-panel-header {
  color: #34BE6D;
}

#cms input[type='submit'] {
  background: #2FB667;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  border: 1px solid #26a25a; 
}

#cms input[type='submit']:hover {
  background: #26a25a;
  border: 1px solid #26a25a; 
}

.login-panel #cms .login-forgot a{
  color: #34BE6D;
}

.login-panel #cms .login-forgot a:hover{
  background: #34BE6D;
  color: white;
}



/* Contact Details */
.login-contact{
  position: relative;
  top: 0;
  right: 70px;
  width: 100%;
  max-width: 240px;
  margin-left: auto;
  color: white;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

#cmsContact.login-contact{
   right: 540px;
}

.login-contact .logo{
  width: 100%;
  max-width: 240px;
  margin: 0 auto 50px;
  font-size: 1.8em;
  text-transform: uppercase;
}

.login-contact .logo span{
  font-weight: 700;
}

#cmsContact.login-contact .logo, #referrerContact.login-contact .logo{margin-bottom: 20px;}
#cmsContact.login-contact .logo span{color:#34BE6D;} 
#referrerContact.login-contact .logo span{color:#1C9ADF;} 

.login-contact .logo img{
  width: 100%;
}

.login-contact .content{
  line-height: 1.6em;
}

.login-contact .content a{
  display: inline-block;
  width: 100%;
  max-width: 130px;
  margin: 1em auto;
  padding: 0.8em 1em;
  line-height: 1.0em;
  font-size: 0.8em;
  background: white;
  border-radius: 20px;
  text-decoration: none;
  text-transform: uppercase;
  color: black;
  cursor: pointer;
  transform: scale(1.0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.login-contact .content a:hover{
  transform: scale(1.1);
}

.login-contact .social{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
          align-items: center;
  margin: 50px auto 0;
}

.login-contact .social a{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
          align-items: center;
  width: 3em;
  height: 3em;
  border-radius: 3em;
  padding: 0;
  background: white;
  color: black;
  position: relative;
  margin: 0 10px;
}

.login-contact .content .social a:before{
  content: '';
  position: absolute;
  left: 1em;
  top: 1em;
  font-size: 1.05em;
  line-height: 1em;
  padding: 0;
  font-family: fontAwesome;
  color: #888;
}

.login-contact .social a.facebook:before{
  content: '\f09a';
}

.login-contact .social a.instagram:before{
  content: '\f16d';
}

.login-panel-icon{
  display: block;
  width: 100%;
  max-width: 110px;
  margin: 0 auto 20px;
  text-align: center;
}

.login-panel-icon img{
	width: 100%;
}

#wrapper .login-panel.center{
	display: flex;
	justify-content:center;
	align-items: center;
  align-content: center;
	flex-direction: column;
	position: static;
	background: rgba(255,255,255,0.8);
	height: 450px;
}

/* MAINTENANCE SCREEN */

#maintenance.login-panel{
  display: flex;
  justify-content:center;
  align-items: center;
  flex-direction: column;
   position: static;
   background: rgba(255,255,255,0.8);
   height: 450px;
}

#wrapper.adminWrap #maintenance .login-panel-header{
  display: block;
  width: 100%;
  font-size: 5.0em;
  margin: 0.5em auto 0.3em;
}

#maintenance .login-panel-sub-header{
  margin: 0;
}

#wrapper.adminWrap #maintenance .login-panel-sub-header{
	margin: 10px auto 20px;
}


/* Logged Out */

#loggedOut{
	margin: auto;
	padding: 30px 0 0;
}

#loggedOut .login-panel-header{color: #27AE60}

#loggedOut .login-panel-link a{
	background: #27AE60;
}

#wrapper.adminWrap .login-panel-sub-header{
	margin: 10px auto 20px;
}

/* Session Timout */

#sessionTimeout{
	margin: auto;
	padding: 30px 0 0;
}

#sessionTimeout .login-panel-sub-header{
	margin-top: 20px;
}

#sessionTimeout .login-panel-link a{
	background: #DC252B;
}

/* SNAP Login */

.SNAP{
  background: #020A21 url(../SnapBG.jpg) no-repeat top center;
   background-size: 105%;
}

.SNAP #wrapper{
  background: #FFC937;
  transition: all .5s ease;
}

.SNAP #wrapper.reset{
  background: transparent;
}

.SNAP #wrapper.reset #cmsContact{
  display: none;
  opacity: 0;
}

.SNAP #wrapper .login-contact .logo{
  max-width: 200px;
}

.SNAP .login-panel-header, .SNAP #passwordResetCMS .login-panel-header{
  color: #142346;
}

.SNAP #wrapper #cmsContact{
  display: flex;
  flex-direction: column;
  font-size: 2.0em;
}

.SNAP #wrapper #cmsContact .sub{
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: 700;
}

.SNAP #cmsContact.login-contact{
  right: 50px;
  color: #001548;
  max-width: 280px;
}

.SNAP input{
  background: #001548;
}

.SNAP input[type='submit'], .SNAP #passwordResetCMS input[type='submit'] {
  background: #FFC937;
  color: #001548;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 15px;
  border: 1px solid #FFC937; 
}

#wrapper.emailSent{
  background: rgba(0,0,0,0);
}

#wrapper.emailSent .login-panel{
  margin: auto;
  background: rgba(255,255,255,.8);
  position: static;
  height: 250px;
}


@media all and (max-width: 830px) {

  #wrapper{
    margin: 0px;
    font-size: 0.9em;
    width: 100%;
    height: auto;
  }

  #wrapper .login-panel{
    position: relative;
    left: 0;
    top: 0;
    max-width: none;
    height: auto;
  }

  #wrapper.referral .login-panel{
    left: 0;
  }

  #cmsContact.login-contact{
    right: 0;
  }

  .login-contact{
    right: 0;
    max-width: none;
    margin: 20px auto;
  }

  .login-contact .logo{
    margin: 20px auto;
  }

  .login-contact .social{
    margin: 20px auto;
  }

  .login-panel-header{
    font-size: 3.0em;
    margin: 20px auto 5px;
  }
  
  .login-panel-sub-header{
    margin-bottom: 10px;
  }

  #logo {
    margin: 20px 0; }

  #logo img {
    width: 70%; }

  .login-panel-sub-header {
    display: inline-block; }

  
}

/*# sourceMappingURL=login.css.map */