<?php
/**
 * LoginPress Theme Name: Photographers
 *
 * @package LoginPress Pro
 */
function seventeenth_presets() {

	ob_start();
	if ( version_compare( $GLOBALS['wp_version'], '5.3', '>=' ) ) { ?>
		<style media="screen"  id="loginpress-style-wp-5-3">
			.login form .input, .login input[type=text],.login form input[type=checkbox]{
				border-radius: 0;
			}
			input[type=checkbox]:checked:before {
				content: url('data:image/svg+xml;utf8,<svg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27><path%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23233849%27%2F><%2Fsvg>');
			}
			.login #login form p.submit{
				position: static;
			}
			.wp-core-ui.login #login .button-primary{
				line-height: 24px;
			}
			.user-pass-wrap{
				position: relative;
				margin-top: 35px;
			}
			.login form .forgetmenot{
				float: left !important;
			}
			.wp-core-ui #login .button-primary{
				margin-left: 0;
			}
			.admin-email__actions-primary .button:first-child{
				font: 700 18px "Roboto", sans-serif;
				color: #fff;
				height: auto;
				line-height: 20px !important;
				padding: 13px;
				padding-top: 13px;
				padding-bottom: 13px;
				width: 100%;
				text-align: center;
				background-color: #f04d68;
				border: 0;
				margin-bottom: 8px;
				border-radius: 3px;
			}
			.admin-email__actions-primary .button:first-child:hover{
				background-color: #fa2548;
			}
			.login form p.admin-email__details, .login h1.admin-email__heading, .login #backtoblog a{
				color: #444 !important;
			}
			.login form.admin-email-confirm-form{
				max-width: 360px;
				margin: 0 auto;
			}
		</style>
	<?php } else { ?>
		<style>
			input[type=checkbox]:checked:before {
				content: '\f147';
				color: #233849;
				font-size: 18px;
			}
		</style>
	<?php } ?>
	<style media="screen" id="loginpress-style">

		html, body.login {
			height: auto !important;
		}
		body.login {
			/*background-image: url(<?php //echo esc_url( plugins_url( 'img/v27_bg.jpg', LOGINPRESS_PLUGIN_BASENAME ) ); ?>);*/
			/*background-position: right bottom !important;*/
			background-color: #c1c1c1 !important;
			/*background-size: cover;*/
			display: table;
			min-height: 100vh;
			width: 100%;
			padding: 0;
			position: relative;
		}
		body.login.login-action-login{
			display: table  !important;
		}
		body.login.login-action-login.firefox{
			height: 1px !important;
		}
		/*body.login:after{
			width: 100%;
			content: '';
			position: absolute;
			top: 0;
			left: 0;
			height: 60%;
			background: #263466;
			}*/
			/*.login label{
			font-size:0;
			line-height:0;
			margin-top: 0;
			display: block;
			margin-bottom:
		}*/
		#wp-submit,
		.button-group.button-large .button, .wp-core-ui.login .button.button-large {
			font-size: 0 !important;
		}
		.login label{
			font-size: 16px;
			color: #404040;
			position: relative;
			display: block;
		}
		#login{
			background: url(<?php echo esc_url( plugins_url( 'assets/img/bg17.jpg', LOGINPRESS_PRO_PLUGIN_BASENAME ) ); ?>) no-repeat 0 0;
			background-size: cover;
			max-width: 913px !important;
			width: calc(100% - 100px) !important;
			margin: 60px auto 0;
			padding: 40px 20px 50px;
			position: relative;
			height: calc(100vh - 160px);
			min-height: 590px;
			box-shadow: 2.5px 4.33px 50px 0px rgba( 0, 0, 0, .2 );
		}

		#loginform{
			margin: 0 auto;
			padding: 30px 0 0 !important;
		}
		#login:after{
			width: 205px;
			height: 100%;
			position: absolute;
			top: 0;
			right: 0;
			background: #bbbbbb;
			content: '';
		}
		#login form p + p:not(.forgetmenot){
			margin-top: 35px;
		}
		.login form .input, .login input[type=text]{
			display: block;
			color: #bbbaba;
			font-size: 16px;
			width:100%;
			border:0;
			height: 45px;
			padding: 0 15px;
			border-radius: 0;
			-webkit-box-shadow: none;
			box-shadow: none;
			background-color: transparent;
			margin-top: 10px !important;
			border-bottom: 1px solid #d9d9d9;
		}
		input:-webkit-autofill{
			transition: all 100000s ease-in-out 0s !important;
			transition-property: background-color, color !important;
		}
		.login form{
			background: none;
			padding: 0;
			box-shadow: none;
		}
		.login form br{
			display: none;
		}
		#login form p.submit{
			clear: both;
			padding-top: 35px;
		}
		.wp-core-ui #login .wp-generate-pw,
		.login input[type="submit"],
		body.wp-core-ui.login .two-factor-email-resend .button,
		.wp-core-ui #login .button-primary {
			width:100% !important;
			display: block;
			float: none;
			background-color : #f04d68;
			background-image: url(<?php echo esc_url( plugins_url( 'assets/img/arrow_right.svg', LOGINPRESS_PRO_PLUGIN_BASENAME ) ); ?>);
			background-position: center center;
			background-repeat: no-repeat;
			font-weight: 700;
			font-size: 0;
			line-height: 0;
			color : #ffffff;
			height: 56px;
			border:0;
			border-radius: 50%;
			box-shadow: 0px 8px 20px 0px rgba( 0, 0, 0, .15 );
			width: 50px !important;
			height: 50px;
			display: block;
			white-space: nowrap;
			overflow: hidden;
			padding: 0;
			text-indent: 100%;
			position: absolute;
			right: 50px;
			bottom: -25px;
		}
		.login form{
			overflow: visible;
		}

		.login form .forgetmenot label:after{
			visibility: hidden;
		}

		.wp-core-ui #login .button-primary:hover{
			background-color: #fa2548;
		}
		.login form .forgetmenot label{
			font-size: 13px;
			color: #404040;
		}
		.login form input[type=checkbox]{
			border: 1px solid #404040;
			background: none;
			height: 13px;
			width: 13px;
			min-width: 13px;
		}
		.login #nav{
			font-size: 0;
			float: right;
			width: 100%;
		}
		.login #nav, .login #backtoblog {
			margin: 17px 0 0;
			padding: 0;
			color: #404040;
		}
		.login #nav a, .login #backtoblog a, .login .privacy-policy-page-link>a.privacy-policy-link{
			font-size: 13px;
			color: #404040;
		}
		.login #nav a:first-child{
			float: left;
		}
		.login #nav a:last-child{
			float: right;
		}
		.login #backtoblog{
			float: left;
		}
		.login #backtoblog a:hover, .login #nav a:hover, .login h1 a:hover{
			color: #000;
		}
		/* style two factor plugin */
		.login .backup-methods-wrap a, #login form p:not([class]){
			color: #404040;
		}
		.login .backup-methods-wrap a:hover{
			color: #000;
		}
		/*End style two factor plugin */
		.footer-wrapper{
			display: table-footer-group;
		}
		.footer-cont{
			right: 0;
			bottom: 0;
			left: 0;
			text-align: center;
			display: table-cell;
			vertical-align: bottom;
			height: 100px;
			width: 100vw;
		}
		.copyRight{
			text-align: center;
			padding: 12px;
			background-color: #f04d68;
			color: #ffffff;
		}
		#login form p + p:not(.forgetmenot){
			color: #d5d5d5;
			padding: 0;
		}
		#login {
			display: flex;
			justify-content: flex-end;
		}
		.login-container:after{
			content: '';
			display: table;
			clear: both;
		}
		.login-container{
			position: relative;
			background: #fff;
			z-index: 1;
			width: 360px;
			padding: 30px;
			z-index: 2;
		}
		.loginpress-show-love{
			color: #fff;
		}
		.loginpress-show-love a{
			color: #fff;
		}
		.loginpress-show-love a:hover{
			color: #fff;
		}
		.mobile #login{
			padding: 15px;
		}
		#login{
			min-height: none;
			height: auto;
		}
		#login form p.submit{
			position: static !important;
		}
		@media screen and (max-width: 768px) {
			#login{
				padding: 15px 15px 0;
				float: none;
				margin: 20px auto 40px;
				width: 100% !important;
			}
			.mobile #login{
				padding: 15px;
				float: none;
				margin: 20px auto;
			}
			.login-container {
				position: relative;
				transform: translateY(0);
				-webkit-transform: translateY(0);
				-mos-transform: translateY(0);
				-ms-transform: translateY(0);
				background: #fff;
				z-index: 1;
				max-width: 360px;
				width: calc(100% - 30px);
				padding: 15px 15px 40px;
				margin: 0 auto;
				z-index: 10;
			}
			#login:after{
				visibility: hidden;
			}
		}
		@media screen and (max-width: 767px) {

			#login:after{
				visibility: hidden;
				display: none;
			}
			.login-container{
				width: 270px;
			}
			.login .loginpress-show-love{
				position: static;
				text-align: center;
				float: none;
				clear: both;
				background: rgba(240, 77, 104, 0.7215686274509804);
				padding: 3px 15px;
			}
			.login .loginpress-show-love{
				position: static;
				padding: 3px 15px;
				text-align: center;
				float: none;
			}
		}
	</style>
	<script type="text/javascript">
		(function($){
			$(window).load(function(){
				// $("#login").wrapInner("<div class='login-container'></div>");
				$('#login').children('*').not('#loginpress_video-background-wrapper').wrapAll('<div class="login-container" />');

			});
		})(jQuery);
	</script>

	<?php
	$content = ob_get_clean();
	return $content;
}
echo seventeenth_presets();
