/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.flex-row{
  display:-webkit-box;
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  position:relative;
  margin: 3px 0;
}

.flex-row > label, .error-message-offset {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 150px;
  -ms-flex: 0 0 150px;
  flex: 0 0 150px;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  line-height: 12px;
  max-width: 33%;
}

.flex-row input[type="text"], .flex-row input[type="password"], .flex-row input[type="email"], .flex-row > select {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin:3px;
  padding: 5px;
  border: 1px solid rgb(178, 178, 178);
  border-radius: 6px;
  width:96.5%;
}

.flex-row > select{
  border-radius:6px;
}

@media screen and (max-width: 390px){
  .flex-row > label, .error-message-offset {
    display:none;
  }
  ::-webkit-input-placeholder { /* WebKit browsers */
    color:   rgb(150,150,150);
    opacity: 1;
  }
  :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:   rgb(150,150,150);
    opacity: 1;
  }
  ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:   rgb(150,150,150);
    opacity: 1;
  }
  :-ms-input-placeholder { /* Internet Explorer 10+ */
    color:   rgb(150,150,150);
    opacity: 1;
  }
}

#login-modal-close{
  position:absolute;
  top:-10px;
  right:-10px;
  padding:12px 12px;
  background: rgb(0,0,0);
  border-radius:100%;
  height:8px;
  border:1px solid #fff;
  cursor:pointer;
  z-index:30;
}

#login-modal-close-text{
    position:absolute;
    top: -2px;
    right:8px;
    font-size:14px;
    color:#ffffff;
}

#login-text-link{
  float:right;
  clear: right;
}

a.hiddenanchor{
	display: none;
}
/** The wrapper that will contain our two forms **/
#login-modal #wrapper{
	 text-align: left;
	 padding: 0;
	 margin: 0 auto;
	 font-family: "NovecentowideNormalRegular",Georgia,"Times New Roman",Times,serif;
	 position: relative;
	 width:auto;

}
/**** Styling the form elements **/

/**** general text styling ****/
#login-modal #wrapper a{
	color: #00B9E7;
}

.login-modal-title{
	font-size: 18px;
	color: rgb(0, 0, 0);
	padding: 12px 0 3px 0;
	font-family: "NovecentowideNormalRegular",Georgia,"Times New Roman",Times,serif;
	font-weight: bold;
	text-align: left;
}

.signin-desc {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 13px;
    color: #666;
    margin: 0 auto;
}

#login-modal #wrapper h1:after{
	content: ' ';
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 3px;
    /*margin-bottom: -50px;*/
}

#login-modal #wrapper p{
	margin-bottom:2px;
}
#login-modal #wrapper p:first-child{
	margin: 0px;
}
#login-modal #wrapper label{
	color: rgb(64, 92, 96);
	position: relative;
    margin-bottom:0;
}

/**** advanced input styling ****/
/* placeholder */
::-webkit-input-placeholder { /* WebKit browsers */
  color:   rgb(150,150,150);
  opacity: 1;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color:   rgb(150,150,150);
  opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
  color:   rgb(150,150,150);
  opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
  color:   rgb(150,150,150);
  opacity: 1;
}
input {
  outline: none;
}

/* all the input except submit and checkbox */
#login-modal #wrapper input, #login-modal #wrapper select {
  color: #000;
}

#login-modal #wrapper input:not([type="checkbox"]):active,
#login-modal #wrapper input:not([type="checkbox"]):focus{
}

/*styling both submit buttons */
#login-modal #wrapper .button input{
	width: 30%;
	cursor: pointer;
	background: #00B9E7;
	padding: 10px 5px;
	font-family: "NovecentowideNormalRegular",Georgia,"Times New Roman",Times,serif;
	color: #fff;
    font-size: 12px;
	border: none;
	margin-bottom: 3px;
    min-width: 100px;
    font-weight:bold;
}
#login-modal #wrapper .button input:hover{
	background: none repeat scroll 0 0 #009bc9;
}
#login-modal #wrapper .button input:active,
#login-modal #wrapper .button input:focus{
    background: none repeat scroll 0 0 #00a5d3;
    border: none;
    color: #fff;
}
.login.button,
.signin.button{
	text-align: right;
	margin: 20px 0;
}
.forgotpass{
  text-align:left;
  float:left;
  padding:4px 0;
}

#login-modal #wrapper input:focus:invalid,
#login-modal #wrapper textarea:focus:invalid,
#login-modal #wrapper input:focus {
  border: 1px solid rgb(178, 178, 178);
  box-shadow: none;
  color: #000;
}

#login-modal #wrapper input.invalid, #login-modal #wrapper select.invalid{
    background: #fff;
    box-shadow: 0 0 5px 0 rgb(255, 178, 178) !important;
    border-color: rgb(255, 178, 178) !important;
}

#login-modal #wrapper input.valid{
    background: none repeat scroll 0 0 #fff;
    border-color: rgb(178, 178, 178);
    box-shadow: 0 0 5px 0 rgb(178, 255, 178);
}

/* styling the checkbox "keep me logged in"*/
.keeplogin{
	margin-top: -5px;
}
.keeplogin input,
.keeplogin label{
	display: inline-block;
	font-size: 12px;
	font-style: italic;
}
.keeplogin input#loginkeeping{
	margin-right: 5px;
}
.keeplogin label{
	width: 40%;
}

/*styling the links to change from one form to another */

.change_link{
	/*position: absolute;*/
	color: rgb(127, 124, 124);
	left: 0px;
	padding: 5px 30px 10px 30px;
	font-size: 14px	;
	text-align: center;
}
#login-modal #wrapper .change_link a {
	display: inline-block;
	font-weight: bold;
	padding: 2px 6px;
	margin-left: 10px;
	text-decoration: none;
}
#login-modal #wrapper .change_link a:hover {
	color: #00a5d3;
}
#login-modal #wrapper .change_link a:active{
}
/** Styling both forms **/
#register,
#login{
	top: 0px;
	padding: 0px 6%;
	margin: 0;
	position: relative;
}
#register{
	z-index: 21;
	display:none;
	overflow-x:hidden;
	overflow-y:hidden;
}
#login{
	z-index: 22;
	overflow-x:hidden;
	overflow-y:hidden;
}
#toregister:target ~ #wrapper #register,
#tologin:target ~ #wrapper #login{
	z-index: 22;
	-webkit-animation-name: fadeInLeft;
	-moz-animation-name: fadeInLeft;
	-ms-animation-name: fadeInLeft;
	-o-animation-name: fadeInLeft;
	animation-name: fadeInLeft;
	-webkit-animation-delay: .1s;
	-moz-animation-delay: .1s;
	-o-animation-delay: .1s;
	-ms-animation-delay: .1s;
	animation-delay: .1s;
	display:block;
}
#toregister:target ~ #wrapper #login,
#tologin:target ~ #wrapper #register{
	-webkit-animation-name: fadeOutLeft;
	-moz-animation-name: fadeOutLeft;
	-ms-animation-name: fadeOutLeft;
	-o-animation-name: fadeOutLeft;
	animation-name: fadeOutLeft;
	display:none;
}

.switch-forms {
  border-top: 1px solid #dddddd;
  margin-top: 20px;
  padding-top: 10px;
}

.login-or-signup{
  margin:0;
}



.animate{
	-webkit-animation-duration: 0.5s;
	-webkit-animation-timing-function: ease;
	-webkit-animation-fill-mode: both;

	-moz-animation-duration: 0.5s;
	-moz-animation-timing-function: ease;
	-moz-animation-fill-mode: both;

	-o-animation-duration: 0.5s;
	-o-animation-timing-function: ease;
	-o-animation-fill-mode: both;

	-ms-animation-duration: 0.5s;
	-ms-animation-timing-function: ease;
	-ms-animation-fill-mode: both;

	animation-duration: 0.5s;
	animation-timing-function: ease;
	animation-fill-mode: both;

}

/** yerk some ugly IE fixes 'cause I know someone will ask "why does it look ugly in IE?", no matter how many warnings I will put in the article */

.lt8 #wrapper input{
	padding: 10px 5px 10px 32px;
    width: 92%;
}
.lt8 #wrapper input[type=checkbox]{
	width: 10px;
	padding: 0;
}
.lt8 #wrapper h1{
	color: #066A75;
}
.lt8 #register{
	display: none;
}
.lt8 p.change_link,
.ie9 p.change_link{
	position: absolute;
	height: 90px;
	background: transparent;
}

#login-modal {
  position:absolute;
  border:none;
  /*margin-top:-200px;*/
}
/* for the modal form textboxes */

/*@media screen and (max-width: 800px){*/
	/*p.change_link*/
	/*{*/
	  /*width: 75%;*/
	  /*font-size: 9px;*/
	  /*letter-spacing:-0.5px;*/
	/*}*/

	/*#wrapper p.button input{*/
		/*width: 40%;*/
		/*font-size: 14px;*/
		/*margin-bottom: 1px;*/
	/*}*/
	/*#login-modal{*/
      /*margin-top:0;*/
    /*}*/
/*}*/

@media (max-width:1050px) and (min-width:800px){
	#login-modal{
      /*margin-top:-50px;*/
    }
}

@media (min-width: 767px) {
  #login-modal.modal {
    margin: 0 0 0 -280px;
    top: 13%;
    border-radius:0;
    border: 3px solid #000;
  }
}


@-webkit-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}

@-moz-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -moz-transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    -moz-transform: translateX(0);
  }
}

@-ms-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -ms-transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    -ms-transform: translateX(0);
  }
}

@-o-keyframes fadeInLeft {
  0% {
    opacity: 0;
    -o-transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    -o-transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  -moz-animation-name: fadeInLeft;
  -ms-animation-name: fadeInLeft;
  -o-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

@-webkit-keyframes fadeOutLeft {
  0% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateX(-20px);
  }
}

@-moz-keyframes fadeOutLeft {
  0% {
    opacity: 1;
    -moz-transform: translateX(0);
  }

  100% {
    opacity: 0;
    -moz-transform: translateX(-20px);
  }
}

@-ms-keyframes fadeOutLeft {
  0% {
    opacity: 1;
    -ms-transform: translateX(0);
  }

  100% {
    opacity: 0;
    -ms-transform: translateX(-20px);
  }
}

@-o-keyframes fadeOutLeft {
  0% {
    opacity: 1;
    -o-transform: translateX(0);
  }

  100% {
    opacity: 0;
    -o-transform: translateX(-20px);
  }
}

@keyframes fadeOutLeft {
  0% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-20px);
  }
}

.fadeOutLeft {
    -webkit-animation-name: fadeOutLeft;
    -moz-animation-name: fadeOutLeft;
    -ms-animation-name: fadeOutLeft;
    -o-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}

.failure {
    margin: 15px 0 30px;
}

.flex-row p {
  color: #999;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  font-family: arial,sans-serif;
  line-height: 1.3em;
  padding: 5px;
  font-size:9px;
}

.failure .flex-row p{
    color: red;
    font-size:100%
}

.all-fields-required{
  color: #999;
    padding-top: 20px;
  font-family: arial,sans-serif;
  line-height: 1.3em;
  font-size:11px;
}

#login-modal .signin-success{
    color: #009900;
    padding: 20% 0;
    text-align: center;
}

#login-modal .dashicons, #login-modal .dashicons-before::before {
    display: inline-block;
    font-family: dashicons;
    font-size: 70px;
    font-style: normal;
    font-weight: 400;
    height: auto;
    line-height: 25px;
    margin: 0 1% 0 -15%;
    text-align: center;
    text-decoration: inherit;
    vertical-align: top;
    width: auto;
}

:invalid {
    box-shadow: none; /* FF */
    outline: 0;       /* IE 10 */
}

input:invalid:active,
input:invalid:focus,
select:invalid:active,
select:invalid:focus
{
  border:1px;
  border-style:solid;
  border-color: rgb(178,178,178)!important;
  box-shadow:none!important;
}