/*
	//
	// POPUP LOGIN BOX
	//
*/

/** {
	font-family: 'proxima-nova', sans-serif;
    color: #333333;
}*/

.hide {
    display: none;
}

#popLoginBox.o-popupWindow {
	position: fixed;
	left: 0;
	top: 0;

	display: block;
	width: 100%;
	height: 100%;

	background: rgba(0, 0, 0, 0.8);
}

/* Close button */

#popLoginBox.o-popupWindow .closeBox {
	position: absolute;
    right: 40px;
    top: 40px;

    height: 43px;
    width: 43px;

    background-color: transparent;
    border: 1px solid #ffffff;
    z-index: 1000;
}

#popLoginBox.o-popupWindow .closeBox i {
	position: absolute;
	left: 16px;
    top: 14px;

	color: #fff;
}

#popLoginBox.o-popupWindow .c-mainBox {
	display: block;
	width: 85%;
	max-width: 1000px;
	height: 100%;
	margin: 0 auto;
	padding: 100px 4%;

	background: #fff;
}

#popLoginBox.o-popupWindow .c-mainBox h2 {
	margin: 0;

    font-size: 72px;
    font-weight: 900;
    color: #d00f26;
    line-height: 1.11;
}

/* Main box .form */
#popLoginBox.o-popupWindow .c-mainBox .form {
	position: relative;

    display: block;
    max-width: 560px;
    margin: 50px auto;
    padding: 30px 40px;

    border: 1px solid #d00f26;
}

#popLoginBox.o-popupWindow .c-mainBox .form  .header {
	margin-bottom: 25px;
    
    font-size: 28px;
    font-weight: 900;
}

#popLoginBox.o-popupWindow .c-mainBox .form .form-group {
	display: block;
	margin-bottom: 15px;
}

#popLoginBox.o-popupWindow .c-mainBox .form .form-group .inputSpan {
	position: relative;

	display: block;
}

#popLoginBox.o-popupWindow .c-mainBox .form .form-group .inputSpan input {
	display: inline-block;
    width: 100%;
    padding: 10px 15px;
    margin: 0;

    font-size: 14px;
    font-weight: 800;
    color: #000;

    border: 0;
    background-color: rgba(0, 0, 0, 0.05);
    outline: none;
}

#popLoginBox.o-popupWindow .c-mainBox .form .form-group .inputSpan .inputErrorMessage {
	display: none;

	color: #d00f26;
	font-size: 12px;
}

/* Error input */
#popLoginBox.o-popupWindow .c-mainBox .form .form-group.has-error input {
	border-bottom: 1px solid #d00f26;
}

#popLoginBox.o-popupWindow .c-mainBox .form .form-group.has-error .inputSpan:after {
	position: absolute;
    right: 10px;
    top: 10px;

    content: "\f06a ";
    font-family: FontAwesome;

    color: #d00f26;
    font-size: 20px;
}

#popLoginBox.o-popupWindow .c-mainBox .form .form-group.has-error .inputSpan .inputErrorMessage {
	display: block;
}

/* Check box */

#popLoginBox.o-popupWindow .c-mainBox .form .checkLabel {
	display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -webkit-align-items: start;
    -ms-flex-align: start;
    align-items: start;
    margin-top: 40px;

    cursor: pointer;
}

#popLoginBox.o-popupWindow .c-mainBox .form .checkLabel .checkInput {
	position: relative;
    display: inline-block;
    width: 20px;
}

#popLoginBox.o-popupWindow .c-mainBox .form .checkLabel .checkInput input[type=checkbox] {
	margin: 0;
	opacity: 0;
}

#popLoginBox.o-popupWindow .c-mainBox .form .checkLabel .checkInput label {
	position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;

    cursor: pointer;
    pointer-events: none;

    border-radius: 2px;
    box-shadow: 0 0 2px #424242;
}

#popLoginBox.o-popupWindow .c-mainBox .form .checkLabel .checkInput label:after {
	position: absolute;
    content: '';
    top: 3px;
    left: 2px;
    width: 10px;
    height: 5px;
    border: 2px solid #fff;

    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

#popLoginBox.o-popupWindow .c-mainBox .form .checkInput input[type=checkbox]:checked + label {
	background: #d00f26;
    box-shadow: none; 
}

#popLoginBox.o-popupWindow .c-mainBox .form .checkInput input[type=checkbox]:checked + label:after {
	opacity: 1;
}

#popLoginBox.o-popupWindow .c-mainBox .form .checkLabel span.text {
	display: inline-block;
    margin-left: 5px;
}

/* Login button */
#popLoginBox.o-popupWindow .c-mainBox .form input[type="submit"] {
	display: block;
    width: 90%;
    max-width: 300px;
    min-width: 150px;
    padding: 7px 14px;
    margin: 20px 0 40px;

    font-size: 20px;
    font-weight: 800;
    color: #d00f26;
    text-align: left;
    cursor: pointer;

    border: 1px solid #000;
    background: #fff;
}

#popLoginBox.o-popupWindow .c-mainBox .form input[type="submit"]:hover {
	color: #fff;

    background: #d00f26;
    border-color: #d00f26;
}

/* Forgotten password */
#popLoginBox.o-popupWindow .c-mainBox .form .forgottenPassLink {
	position: absolute;
    top: auto;
    bottom: 20px;

    display: block;
    width: auto;

    font-size: 14px;
    color: #000;
    text-decoration: underline;
}

#popLoginBox.o-popupWindow .c-mainBox .form .forgottenPassLink:hover {
	color: #d00f26;
	text-decoration: none;
}

/* end of popup login box */