/* Custom Login Page Styles */

/* Define theme color variables for the login page, must match customiser */
:root {
    --accent: #9a3334;  /* Use the same value from your customizer */
	--accent-2: #9a3334;
    --base: #f0f0f0;
    --text: #333;
}


/* Background of the whole page */
body.login {
    background-color: var(--accent);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
	padding-left:40px;
	padding-right:40px;	
}
@media (max-width:768px){
	body.login {
		padding-left:20px;
		padding-right:20px;	
	}
}

/* Center the login box a bit more nicely */
#login {
    padding: 40px 40px 10px 40px;
	background-color: #ffffff;
	margin-top:40px;
	border-radius: 10px;
	border: 1px solid var(--accent);
}
@media (max-width:768px){
	#login {
	 padding: 40px 20px 10px 20px;
	}
}
/* Widen the login box */
#login {
	width: 100% !important;      /* Overrides WP's default width: 320px */
    max-width: 560px;            /* Your target form width */
    box-sizing: border-box;        
}

/* Logo */
body.login div#login h1 a {
    background-image: url('../images/talkingpoint-logo.jpg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100px;
    margin-bottom: 5px;
}
/* Support Portal text under logo */
.login-support-text {
	 text-align: center;	
}

.login-support-text h2 {   
    font-size: 20px;
	text-transform: uppercase;
    font-weight: 600;    
    margin: 0 0 10px;
	color: var(--accent);
}
.login-support-text p {
	
}

/* Form styling */
.login form {   
    border: none;
    padding: 0;
	box-shadow: none;    
}

/* Label styling */
.login label {
    font-size: 14px;
    color: #444;
}

/* Input fields */
.login form .input, 
.login input[type="text"] {
    border: 1px solid #ccd0d4;
    background: #fefefe;
    color: #333;
    box-shadow: none;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
}

/* Login button */
#login .button-primary {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: none;
    text-shadow: none;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
}

.login .button-primary:hover {
    background: #00487c;    
}

/* Links below the form */
.login #nav, 
.login #backtoblog, 
.login .privacy-policy-page-link {
	text-align:center;
}

.login #nav a,
.login #backtoblog a,
.login .privacy-policy-page-link a {
    color: var(--accent);
    text-decoration: none;	
}

.login #nav a:hover,
.login #backtoblog a:hover,
.login .privacy-policy-page-link a:hover {    
    text-decoration: underline;
}

.login .privacy-policy-page-link {  
    width: 100%;
    margin: 10px 0 10px;
}

/* remove the left arrow on the 'Go to [site]' link */
#backtoblog a {
    font-size: 0; /* hide all text */
}
#backtoblog a::after {
    content: "Go to TalkingPoint"; /* put your text back */
    font-size: 13px; /* restore font size */
}
