*, :before, :after{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html{
	height: 100%;
}

body{
	min-height: 100%;
	margin: 0;
}

.popup-panel-active{
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
}

.clr{
	clear: both;
}

p{
	margin: 0;
	padding: 0 0 18px;
}

img{
	max-width: 100%;
	height: auto;
}

.top-panel-container{
	width: 100%;
	height: 96px;
}

.top-panel{
	width: 100%;
	height: 96px;
	display: flex;
	align-items: center;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 200;
}

.top-panel-logo{
	width: 120px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.top-panel-title{
	flex-grow: 1;
	padding: 0 32px;
}

.top-panel-title > h1{
	margin: 0;
	padding: 0;
}

.top-panel-user{
	padding-right: 32px;
	position: relative;
}

.left-panel{
	width: 120px;
	position: fixed;
	left: 0;
	top: 96px;
	bottom: 0;
	z-index: 200;
}

.page-container{
	margin-left: 120px;
	padding: 40px 32px 0;
}

/***MODAL***/
.modal-backdrop{
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

/***POPUP_PANEL***/
.popup-panel{
	width: 640px;
	height: 480px;
	position: fixed;
	left: 50%;
	top: 50%;
	-moz-transform: translate(-50%, -50%);
	-o-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);	
	z-index: 1040;
}

.popup-panel-full{
	width: 1304px;
	height: 100%;	
	top: 0;
	-moz-transform: translateX(-50%);
	-o-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
}

.popup-panel__title-wrap{
	height: 72px;
	display: flex;
	align-items: center;
	padding: 0 72px 0 32px;
	position: relative;	
}

.popup-panel__title-wrap > i{
	padding-right: 18px;
}

.popup-panel__title{
	overflow: hidden;
}

.popup-panel__close{
	width: 72px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;	
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
}

.popup-panel__content{
	height: -moz-calc(100% - 72px);
	height: -webkit-calc(100% - 72px);
	height: calc(100% - 72px);
	padding: 32px 32px 0;
	position: relative;
	overflow-y: auto;
	scrollbar-width: thin;	
}

.popup-panel__content::-webkit-scrollbar{
	width: 4px;
}

.popup-panel__backdrop{
	z-index: 1030;
}

/***POPUP_PANEL_LOADER***/
.popup-panel__loader{
	width: 48px;
	height: 48px;
	position: absolute;
	left: 50%;
	top: 50%;
}

.popup-panel__loader:after,
.popup-panel__loader > div,
.popup-panel__loader > div > span,
.popup-panel__loader > div > span:after{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.popup-panel__loader > div{
	z-index: 1;
}

/***FORM***/
.form-group{
	margin-bottom: 18px;	
}

.form-group.has-feedback{
	position: relative;
}

.form-control{
	width: 100%;
	height: 36px;
	padding: 0 12px;
}

.has-feedback .form-control{
    padding-right: 42.5px;
}

.form-control::-ms-clear{
	width: 0;
	height: 0;
	display: none;
}

.form-control-feedback{
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: block;
	width: 34px;
	height: 36px;
	line-height: 36px;
	text-align: center;
	pointer-events: none;
}

.has-success .form-control-feedback.fv-icon-no-has,
.has-error .form-control-feedback.fv-icon-no-has{
	display: none;
}

.form-group.captcha{
	width: 100%;
	display: table;
}

.form-group.captcha .pic,
.form-group.captcha input{
	display: table-cell;
	vertical-align: top;
}

.form-group.captcha .pic{
	width: 110px;
	padding-right: 10px;	
}

.form-group.captcha .pic img{
	height: 36px;
}

.form-group .checkbox label{
	display: table;
}

.form-group .checkbox input{
	margin: 0;
	visibility: hidden;
}

.form-group .checkbox .check-cont{
	display: table-cell;
	vertical-align: top;
}

.form-group .checkbox .check{
	width: 18px;
	height: 18px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.form-group .checkbox .check i{
	display: none;	
}

.form-group .checkbox input:checked + .check-cont .check i{
	display: inline-block;
}

.form-group .checkbox .check-title{
	display: table-cell;
	vertical-align: middle;
	padding-left: 9px;
}

.help-block{
	display: block;
	margin-top: 7px;
	margin-bottom: 0;
}

.alert{
	display: block;
	margin-bottom: 12px;
	padding: 12px 24px;
}

/***SOCIAL***/
.bx-authform-social ul{
	display: block;
	margin: 0;
	padding: 5px 0 0 0;
}

.bx-authform-social ul li{
	width: 35px;
	height: 35px;
	display: inline-block;
	margin-right: 5px;
	position: relative;	
}

.bx-authform-social ul li .bx-authform-social-icon{	
	width: 35px;
	height: 35px;
	display: block;
}

.bx-authform-social ul li .bx-authform-social-icon:hover{
	opacity: .9;
}

.bx-authform-social-popup{
	width: auto;
	display: none;
	padding: 5px;
}

.bx-authform-social-popup form{
	display: flex;
	align-items: center;
	margin-bottom: 0;
}

.bx-authform-social-popup form > *:not(:first-child){
	margin-left: 8px;
}

.bx-authform-social-popup input[type="text"]{	
	max-width: 150px;		
}

.bx-authform-social-popup .btn{
	width: 40px;
	height: 36px;	
	padding: 0;
}

.bx-authform-social-popup .btn > i{
	padding-right: 0;	
}

/***BUTTONS***/
.btn{
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0px 24px;
}

.btn-buy{
	position: relative;
}

.btn-buy:after{
	position: absolute;
	left: -1px;
	right: -1px;
	top: -1px;
	bottom: -1px;
}

.btn > i{
	padding-right: 12px;
}

.btn > span:not(.btn-loader) + i{
	padding-left: 12px;
	padding-right: 0;
}

.btn > span:not(.btn-loader){
	overflow: hidden;
}

.btn-buy > i,
.btn-buy > span{
	z-index: 200;
}

/***BTN_LOADER***/
.btn-loader{
	width: 21px;
	height: 21px;
	position: relative;
}

.btn-loader:after,
.btn-loader > span,
.btn-loader > span > span,
.btn-loader > span > span:after{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

.btn-loader > span{
	z-index: 1;
}