/***********************************************************
 *
 * Project name: 	Nimoy · Login & Register Form HTML Template
 * Decription: 		HTML | Miscellaneous Template for ThemeForest.net
 * Author: 			ceosDesigns
 * Link:			http://nimoy.ceosdesigns.sk/ 
 * Version:			1.00
 *
 ************************************************************/
 
/************************************************************
 *
 * *****************
 * TABLE OF CONTENTS
 * *****************
 *
 *  01. GENERAL
 *
 *  02. PRELOADER
 *
 *  03. LAYOUT
 *  	03.01 NON-FORM SIDE
 *  	03.02 FORM SIDE
 *
 *  04. ELEMENTS
 *  	04.00 TEXT-RELATED
 *  	04.01 LOGO
 *  	04.02 FORM INPUTS
 *  	04.03 FORM CHECK
 *  	04.04 BUTTON 
 * 		04.05 SOCIAL
 * 
 *  05. MEDIA QUERIES
 
 ************************************************************/

/*****************************/
/*  01. GENERAL              */
/*****************************/

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
  	font-weight: 400;
  	line-height: 1.5;
	color: #1e2022;
	text-align: left;	
	background-color: #eeeeff;
}

h2 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-top: 0;
}

h2.large {
	font-size: 1.75rem;
	margin-bottom: 0.5rem;
    font-weight: 600;
}

p {
	margin-top: 0;
	font-size: 0.875rem;
	font-weight: 400;
    margin-bottom: 0rem;
}

label {
	font-size: 1rem;
	color: #1e2022;
	margin-bottom: .5rem;
}

a {
	transition: all .2s ease-in;
	text-decoration: none;
	background-color: transparent;
	color: #007bff;
}

a:hover {
	color: #0052ea;
	text-decoration: none;
}

a.footer {
	color: #677788 !important;
}

ul {
	padding-left: 0rem;
	list-style: none;
	margin-top: 2rem;
}

li {
	margin-bottom: 2rem !important;
}

.list {
	display: flex;
}

.hidden {
	display: none !important;
}

/*****************************/
/*  02. PRELOADER            */
/*****************************/

#nm-preloader {
	display: flex;
	position: absolute;
	width: 100vw;
	height: 100vh;
	top: 0px;
	left: 0px;
	z-index: 11;
	background-color: #fff;
	justify-content: center;
}

.nm-ripple {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}

.nm-ripple div {
	position: absolute;
	border: 4px solid #007bff;
	opacity: 1;
	border-radius: 50%;
	animation: nm-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.nm-ripple div:nth-child(2) {
	animation-delay: -0.5s;
}

@keyframes nm-ripple {
	0% {
	  	top: 36px;
	  	left: 36px;
	  	width: 0;
	  	height: 0;
	  	opacity: 1;
	}
	100% {
	  	top: 0px;
	  	left: 0px;
	  	width: 72px;
	  	height: 72px;
	  	opacity: 0;
	}
}

/*****************************/
/*  03. LAYOUT               */
/*****************************/

	/*****************************/
	/*  03.01 NON-FORM SIDE      */
	/*****************************/

	main {
		min-height: 100vh;
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		/*background-image: url("../images/styles.jpg");*/

		-webkit-box-orient: vertical !important;
		-webkit-box-direction: normal !important;
		flex-direction: column !important;
	}

	.main-container {
		margin-bottom: auto !important;
		margin-top: auto !important;

		padding-bottom: 2rem !important;
		padding-top: 2rem !important;
	}

	/*****************************/
	/*  03.02 FORM SIDE          */
	/*****************************/

	.btn-block {
		width: 100%;
	}

	.form-group {
		margin-bottom: 1rem;
	}

	.nm-mlr-1 {
		margin-left: 3rem !important;
		margin-right: 3rem !important;
	}

	.nm-tc {
		text-align: center !important;
	}

	.nm-aic {
		-webkit-box-align: center !important;
		align-items: center !important;
	}

	.nm-jcb {
		-webkit-box-pack: justify !important;
		justify-content: space-between !important;
	}

	.nm-mb-0 {
		margin-bottom: 0rem !important;
	}

	.nm-mb-1 {
		margin-bottom: 1.5rem !important;
	}

	.nm-mt-1 {
		margin-top: 1.5rem !important;
	}

	.divider {
		position: relative;
	}
	
	.divider::before {
		content: "";
		position: absolute;
		top: 50%;
		display: block;
		width: 100%;
		height: 0;
		background: #ffffff;
		border-top: 1px solid #eeeeff;
		transform: translateY(calc(-50% + 1px));
	}
	
	.divider-content {
		position: relative;
		display: inline-block;
		font-weight: 600;
		font-size: 0.875rem;
		color: #97a4af;
		background-color: #fff;
		padding: 0 0.9375rem;
	}

	.card {
		box-shadow: 0 0.125rem 1.25rem 0 rgba(153, 155, 168, 0.12);
		position: relative;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		flex-direction: column;
		min-width: 0;
		background-color: #ffffff;
		background-clip: border-box;
		border: 0 solid transparent;
		border-radius: 0.125rem;
	}
	
	.card-content {
		padding: 1.5rem !important;
	
		-webkit-box-flex: 1;
		flex: 1 1 auto;
	}

/*****************************/
/* 04. ELEMENTS              */
/*****************************/

	/*****************************/
	/*  04.00 TEXT-RELATED       */
	/*****************************/

	.nm-ft-b {
		font-weight: 600;
		font-size: 0.875rem;
	}

	/*****************************/
	/*  04.01 LOGO               */
	/*****************************/

	/*****************************/
	/*  04.02 FORM INPUTS        */
	/*****************************/

	.form-control {
		display: block;
		width: 100%;
		height: auto;
		padding: 1.0625rem 1rem;
		font-size: 1rem;
		font-weight: 400;
		line-height: 1.2;
		color: #1e2022;
		background-color: #ffffff;
		background-clip: padding-box;
		border: 1px solid #eeeeff;
		border-radius: 0.25rem;
		transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	}
	
	.form-control:focus {
		background-color: #ffffff;
		border-color: #007bff;
		outline: 0;
		box-shadow: none;
	}
	
	.form-control::-webkit-input-placeholder {
		color: #97a4af;
		opacity: 1;
	  }
	
	.form-control::-moz-placeholder{
		color: #97a4af;
		opacity: 1;
	}
	
	.form-control:-ms-input-placeholder{
		color: #97a4af;
		opacity: 1;
	}
	
	.form-control::placeholder{
		color: #97a4af;
		opacity: 1;
	}
	
	.nm-control {
		position: relative;
		display: block;
		min-height: 1.5rem;
		padding-left: 1.5rem;
	}
	
	.nm-control-input {
		position: absolute;
		z-index: -1;
		opacity: 0;
	}
	
	.nm-control-label {
		font-weight: 400;
		color: #1e2022;
		position: relative;
		margin-bottom: 0;
		vertical-align: top;
	}

	.icon {
		width: 2.625rem;
		height: 2.625rem;
		font-size: 1.125rem;
		display: inline-flex;
		-webkit-box-align: center;
		align-items: center;
		-webkit-box-pack: center;
		justify-content: center;
		color: #007bff !important;
		margin-right: 1rem !important;
		border-radius: 50% !important;
		background-color: #fff !important;
	}
	
	.content {
		-webkit-box-flex: 1;
		flex: 1;
		margin-top: 0;
	}
	
	.content > p {
		font-size: 0.875rem;
		font-weight: 600;
		line-height: 2;
	}
	
	.subtitle {
		margin-bottom: 2rem;
		font-weight: 600;
		line-height: 2;
		color: #007bff;
	}

	/*****************************/
	/*  04.03 FORM CHECK         */
	/*****************************/

	.nm-checkbox .nm-control-label::before {
		border-radius: 0.125rem;
	}
	.nm-control-label::before, .nm-file-label {
		transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	}
	.nm-control-label::before {
		position: absolute;
		top: 0.25rem;
		left: -1.5rem;
		display: block;
		width: 1rem;
		height: 1rem;
		pointer-events: none;
		content: "";
		background-color: #eeeeff;
		border: #eeeeff solid 0;
	}
	
	.nm-control-label::after {
		position: absolute;
		top: 0.25rem;
		left: -1.5rem;
		display: block;
		width: 1rem;
		height: 1rem;
		content: "";
		background: no-repeat 50% / 50% 50%;
	}
	
	.nm-control-input:checked ~ .nm-control-label::before {
		color: #ffffff;
		border-color: #007bff;
		background-color: #007bff;
	}
	
	.nm-checkbox .nm-control-input:checked ~ .nm-control-label::after {
		/*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");*/
	}
	
	.nm-control-label::after {
		position: absolute;
		top: 0.25rem;
		left: -1.5rem;
		display: block;
		width: 1rem;
		height: 1rem;
		content: "";
		background: no-repeat 50% / 50% 50%;
	}

	/*****************************/
	/*  04.04 BUTTON             */
	/*****************************/

	.nm-btn {
		min-width: 9.25rem;
		font-weight: 600;
		font-size: 0.875rem;
		line-height: 1.2;
		text-align: center;
		vertical-align: middle;
		user-select: none;
		padding: 0.875rem 0.875rem;
		border-radius: 0.25rem;
		color: #ffffff;
		background-color: #007bff;
		border: 1px solid #007bff;
		transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
	}

	.nm-btn:hover {
		background-color: #0052ea;
		border: 1px solid #0052ea;
	}
	
	.nm-btn:focus,.nm-btn:active {
		box-shadow: none;
	}
	
	.btn-primary:not(:disabled):not(.disabled):active:focus {
		box-shadow: none;
	}

	/*****************************/
	/*  04.05 SOCIAL             */
	/*****************************/

	.social {
		display: flex;
		flex-wrap: wrap;
	}

	a.sb {
		color: #fff !important;
	}

	/* FACEBOOK */
	.btn-facebook {
		color: #fff;
		background-color: #3b5998 !important;
		border-color: #3b5998 !important;
	}

	.btn-facebook:hover {
		color: #fff;
		background-color: #2d4373 !important;
		border-color: #293e6a !important;
	}

	/* TWITTER */ 
	.btn-twitter {
		color: #fff;
		background-color: #66c3ff !important;
		border-color: #66c3ff !important;
	}

	.btn-twitter:hover {
		color: #fff;
		background-color: #33afff !important;
		border-color: #26aaff !important;
	}

	/* GOOGLE */ 
	.btn-google {
		color: #fff;
		background-color: #e6162d !important;
		border-color: #e6162d !important;
	}

	.btn-google:hover {
		color: #fff;
		background-color: #cf1026 !important;
		border-color: #cf1026 !important;
	}

	/* LINKEDIN */ 
	.btn-linkedin {
		color: #fff;
		background-color: #0077b5 !important;
		border-color: #0077b5 !important;
	}

	.btn-linkedin:hover {
		color: #fff;
		background-color: #066192 !important;
		border-color: #066192 !important;
	}

	/* INSTAGRAM */ 
	.btn-instagram {
		color: #fff;
		background-color: #304d63 !important;
		border-color: #304d63 !important;
	}

	.btn-instagram:hover {
		color: #fff;
		background-color: #223a4d !important;
		border-color: #223a4d !important;
	}

	/* APPLE */ 
	.btn-apple {
		color: #fff;
		background-color: #111111 !important;
		border-color: #111111 !important;
	}

	.btn-apple:hover {
		color: #fff;
		background-color: #000000 !important;
		border-color: #000000 !important;
	}

	/* AMAZON */ 
	.btn-amazon {
		color: #fff;
		background-color: #FF9900 !important;
		border-color: #FF9900 !important;
	}

	.btn-amazon:hover {
		color: #fff;
		background-color: #df8805 !important;
		border-color: #df8805 !important;
	}

	/* YAHOO */ 
	.btn-yahoo {
		color: #fff;
		background-color: #720e9e !important;
		border-color: #720e9e !important;
	}

	.btn-amazon:hover {
		color: #fff;
		background-color: #5e0783 !important;
		border-color: #5e0783 !important;
	}

/*****************************/
/*  05. MEDIA QUERIES        */
/*****************************/

@media (min-width: 576px){		
	.card-content {
		padding: 2rem !important;
	}
}

@media (min-width: 768px){
	.card-content {
		padding: 2rem !important;
	}

	.nm-mb-md-1 {
		margin-bottom: 0rem !important;
	}
}

@media (min-width: 992px){
	.card-content {
		padding: 2rem !important;
	}
}

@media (min-width: 1200px){
	.card-content {
		padding: 3rem !important;
	}
}