/* #####################################################################
   #
   #   Project       : Modal Login with jQuery Effects
   #   Author        : Rodrigo Amarante (rodrigockamarante)
   #   Version       : 1.0
   #   Created       : 07/28/2015
   #   Last Change   : 08/02/2015
   #
   ##################################################################### */
   
@import url(http://fonts.googleapis.com/css?family=Roboto);



@font-face {
  font-family: 'OpenSans-Semibold'; 
  src: url('../fonts/OpenSans-Semibold.ttf');
}
@font-face {
  font-family: 'NewJohnstonMedium-Bold';
  src: url('../fonts/NewJohnstonMedium-Bold.eot');
  src: url('../fonts/NewJohnstonMedium-Bold.woff') format('woff'), url('../fonts/NewJohnstonMedium-Bold.ttf') format('truetype'), url('../fonts/NewJohnstonMedium-Bold.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'NewJohnstonBook-Bold';
  src: url('../fonts/NewJohnstonBook-Bold.eot');
  src: url('../fonts/NewJohnstonBook-Bold.woff') format('woff'), url('../fonts/NewJohnstonBook-Bold.ttf') format('truetype'), url('../fonts/NewJohnstonBook-Bold.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'NewJohnstonBook-BoldItalic';
  src: url('../fonts/NewJohnstonBook-BoldItalic.eot');
  src: url('../fonts/NewJohnstonBook-BoldItalic.woff') format('woff'), url('../fonts/NewJohnstonBook-BoldItalic.ttf') format('truetype'), url('../fonts/NewJohnstonBook-BoldItalic.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'NewJohnstonBook-Italic';
  src: url('../fonts/NewJohnstonBook-Italic.eot');
  src: url('../fonts/NewJohnstonBook-Italic.woff') format('woff'), url('../fonts/NewJohnstonBook-Italic.ttf') format('truetype'), url('../fonts/NewJohnstonBook-Italic.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}



@font-face {
  font-family: 'NewJohnstonBook-Normal';
  src: url('../fonts/NewJohnstonBook-Normal.eot');
  src: url('../fonts/NewJohnstonBook-Normal.woff') format('woff'), url('../fonts/NewJohnstonBook-Normal.ttf') format('truetype'), url('../fonts/NewJohnstonBook-Normal.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}



@font-face {
  font-family: 'NewJohnstonLight-Italic';
  src: url('../fonts/NewJohnstonLight-Italic.eot');
  src: url('../fonts/NewJohnstonLight-Italic.woff') format('woff'), url('../fonts/NewJohnstonLight-Italic.ttf') format('truetype'), url('../fonts/NewJohnstonLight-Italic.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'NewJohnstonLight-Normal';
  src: url('../fonts/NewJohnstonLight-Normal.eot');
  src: url('../fonts/NewJohnstonLight-Normal.woff') format('woff'), url('../fonts/NewJohnstonLight-Normal.ttf') format('truetype'), url('../fonts/NewJohnstonLight-Normal.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}



@font-face {
  font-family: 'NewJohnstonMedium-BoldItalic';
  src: url('../fonts/NewJohnstonMedium-BoldItalic.eot');
  src: url('../fonts/NewJohnstonMedium-BoldItalic.woff') format('woff'), url('../fonts/NewJohnstonMedium-BoldItalic.ttf') format('truetype'), url('../fonts/NewJohnstonMedium-BoldItalic.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'NewJohnstonMedium-Italic';
  src: url('../fonts/NewJohnstonMedium-Italic.eot');
  src: url('../fonts/NewJohnstonMedium-Italic.woff') format('woff'), url('../fonts/NewJohnstonMedium-Italic.ttf') format('truetype'), url('../fonts/NewJohnstonMedium-Italic.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'NewJohnstonMedium-Normal';
  src: url('../fonts/NewJohnstonMedium-Normal.eot');
  src: url('../fonts/NewJohnstonMedium-Normal.woff') format('woff'), url('../fonts/NewJohnstonMedium-Normal.ttf') format('truetype'), url('../fonts/NewJohnstonMedium-Normal.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

* {
    font-family: 'NewJohnstonBook-Normal', sans-serif;
}

 @font-face {
  font-family: 'Raleway-Bold'; 
  src: url('../fonts/Raleway-Bold.ttf');
  }

   @font-face {
  font-family: 'Raleway-Regular'; 
  src: url('../fonts/Raleway-Regular.ttf');
  }

@font-face {
  font-family: 'TitanOne'; 
  src: url('../fonts/TitanOne-Regular.ttf');
  }



body {
  /*padding-bottom: 105px;*/
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background: url("../img/bg_home.png");
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-container{
  max-width: 320px;
  margin: 0 auto;
  max-height: 100vh;
  /*margin-top: 50px;*/
}

/*.login-footer{
  padding: 40px 0 5px;
}*/

.logo-login{
      max-height: 25vh;
    width: auto;
    max-width: 100%;
  /*margin-top: 20px;*/
}

.login-content{
  /*background-color: rgba(255,255,255,0.4) !important;*/
  background-color: transparent !important; 
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}

#div-forms{
  padding: 0 20px !important;
  text-align: center;
  position: relative;
}

input{
  /*border-radius: 5px !important;*/
  background-color:rgb(234,234,234) !important;
  border:0 !important;
  height: 48px !important;
  box-shadow: none !important;
  width: 100%;
}

/*input[type="text"]{
  padding-left: 40px;
}*/

/*input[type="password"]{
  margin-top: 15px !important;
  padding-left: 40px;
}*/

.login-modal{
  width: 254px;
  margin: 0px auto;
}

.login-reset{
  padding: 20px 0;
  text-align: right;
}

.login-reset > a, .reset-login > a {
  color: #fff !important;
  font-family: Raleway-Regular !important;
}
.logo{
  text-align: center;
}

.logo > img {
    width: 100%;
    height: auto;
}

.log-icon{
  position: relative;
  top: 29px;
  left: 4px;
  float: left;
  width: 22px;
  height: auto;
}

.login-title{
  font-size: 18px;
  font-family: Raleway-Bold;
  color: #fff;
  text-align: center;
  padding-top: 20px;
}

.field-icon {
  float: right;
  left: -3px;
  margin-top: -30px;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.login-btn{
  font-family: TitanOne;
  background-image: url(../img/login-btn.png); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  color: #fff;
  position: relative;
  text-align: center;
  padding: 16px 59px;
}

.login-btn > button {
  font-family: TitanOne;
  font-size: 24px;
  background: transparent;
  border: none;
  text-shadow: 3px 0 0 #3d037a, -2px 0 0 #3d037a, 0 3px 0 #3d037a, 0 -2px 0 #3d037a, 1px 1px #3d037a, -1px -1px 0 #3d037a, 1px -1px 0 #3d037a, -1px 1px 0 #3d037a;
}

/*.login-btn > span {
  font-size: 24px;
  font-family: TitanOne;
  color: #3d037a;
}*/

.login-btn:hover{
  cursor: pointer;
} 

.select-language {
  text-align: center;
} 

.select-language > a {
  color: #fff !important;
}

.modal.fade .modal-dialog {
    -webkit-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -ms-transform: scale(0.1);
    transform: scale(0.1);
    top: 55%;
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.modal.fade.in .modal-dialog {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    -webkit-transform: translate3d(0, -300px, 0);
    transform: translate3d(0, -300px, 0);
    opacity:1;
}





.modal-backdrop{
  opacity: 0 !important;
}

#login-modal .modal-dialog {
    
}

/*#login-modal input[type=text], input[type=password] {
	margin-top: 10px;
}*/

#div-login-msg,
#div-lost-msg,
#div-register-msg {
    border: 1px solid #dadfe1;
    height: 30px;
    line-height: 28px;
    transition: all ease-in-out 500ms;
}

#div-login-msg.success,
#div-lost-msg.success,
#div-register-msg.success {
    border: 1px solid #68c3a3;
    background-color: #c8f7c5;
}

#div-login-msg.error,
#div-lost-msg.error,
#div-register-msg.error {
    border: 1px solid #eb575b;
    background-color: #ffcad1;
}

#icon-login-msg,
#icon-lost-msg,
#icon-register-msg {
    width: 30px;
    float: left;
    line-height: 28px;
    text-align: center;
    background-color: #dadfe1;
    margin-right: 5px;
    transition: all ease-in-out 500ms;
}

#icon-login-msg.success,
#icon-lost-msg.success,
#icon-register-msg.success {
    background-color: #68c3a3 !important;
}

#icon-login-msg.error,
#icon-lost-msg.error,
#icon-register-msg.error {
    background-color: #eb575b !important;
}

#img_logo {
    max-height: 100px;
    max-width: 100px;
}

/* #########################################
   #    override the bootstrap configs     #
   ######################################### */

.modal-backdrop.in {
    filter: alpha(opacity=50);
    opacity: .8;
}

.modal-content {
    background-color: #ececec;
    border: 1px solid #bdc3c7;
    border-radius: 0px;
    outline: 0;
}

.modal-header {
    min-height: 16.43px;
    padding: 15px 15px 15px 15px;
    border-bottom: 0px;
}

.modal-body {
    position: relative;
    padding: 5px 15px 5px 15px;
}

.modal-footer {
    padding: 15px 15px 15px 15px;
    text-align: left;
    border-top: 0px;
}

.checkbox {
    margin-bottom: 0px;
}

.btn {
    border-radius: 0px;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    outline: none;
}

.btn-lg, .btn-group-lg>.btn {
    border-radius: 0px;
}

.btn-link {
    padding: 5px 10px 0px 0px;
    color: #95a5a6;
}

.btn-link:hover, .btn-link:focus {
    color: #2c3e50;
    text-decoration: none;
}

.glyphicon {
    top: 0px;
}

.form-control {
  border-radius: 0px;
}

.reset-container{
  width: 293px;
  margin: 0 auto;
  margin-top: 150px;
}

.reset-title{
  font-size: 21px;
  font-family: NewJohnstonBook-Normal;
  color: #222222;
  text-align: center;
  padding: 20px 0 20px;
}


.reset-text{
  text-align: center;
  font-size: 16px;
}

.reset-input{
  margin: 20px 0;
  padding: 6px 12px !important; 
  font-size: 18px;
}

.reset-btn:disabled{
  opacity: 0.7;
}

.reset-text-no-valid{
  text-align: center;
  position: relative;
  margin-bottom: 100px;
  padding-top: 130px;
}

.reset-password{
  margin-top: 0;
  margin-bottom: 20px;
}

.reset-login {
  text-align: center;
  margin-top: 20px;
}