/*
Theme Name: NatWest
Text Domain: natwest
Version: 1.0
Description: The NatWest Group Pensioners Benevolent Fund is a charity,registration number: 277974
Author: Alex Buka
Author URI: https://wordpress.org/
Theme URI: https://www.nwgpensbenfund.org.uk
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned
with others.
*/

/*Wordpress editor styles start*/

.entry-content img {
	display: block;
}
.alignleft, img.alignleft {
	margin-right: 1.5em;
	display: inline;
	float: left;
	}
.alignright, img.alignright {
	margin-left: 1.5em;
	display: inline;
	float: right;
	}
.aligncenter, img.aligncenter {
	margin-right: auto;
	margin-left: auto;
	display: block;
	clear: both;
	}
.alignnone, img.alignnone {
	/* not sure about this one */
	}
.wp-caption {
	margin-bottom: 1.5em;
	text-align: center;
	padding-top: 5px;
	}
.wp-caption img {
	border: 0 none;
	padding: 0;
	margin: 0;
	}
.wp-caption p.wp-caption-text {
	line-height: 1.5;
	font-size: 10px;
	margin: 0;
	}
.wp-smiley {
	margin: 0 !important;
	max-height: 1em;
	}
blockquote.left {
	margin-right: 20px;
	text-align: right;
	margin-left: 0;
	width: 33%;
	float: left;
	}
blockquote.right {
	margin-left: 20px;
	text-align: left;
	margin-right: 0;
	width: 33%;
	float: right;
	}
.screen-reader-text,
.gallery-caption ,
.bypostauthor {
	display: none;
} 
#menu-social{
	margin-top: 10px;
}
#menu-social a{
	font-size: 24px;
}
#menu-social li{
	margin-right: 10px;
}
/*Wordpress editor styles end*/

/*newsletter btn*/
.sing-up-newsletter{
    background-color: transparent;
    color: #ff4d00;
    font-family: "Effra", sans-serif;
    font-size: 22px;
    font-weight: 500;
    margin-top: 20px;
    border: 2px solid #ff4d00;
    height: 50px;
	box-shadow: none;
	border-radius: 0;
	width:100%;
	padding: 10px;
}
.sing-up-newsletter:hover, .sing-up-newsletter:focus, .sing-up-newsletter:active{
	background-color: #ff4d00;
	color: #fff;
	outline: none;
	box-shadow: none;
	border: 2px solid #ff4d00;
}
.sing-up-newsletter:not(:disabled):not(.disabled).active, .sing-up-newsletter:not(:disabled):not(.disabled):active {
    color: #fff;
    background-color: #ff4d00;
    border-color: #ff4d00;
}
.sing-up-newsletter:not(:disabled):not(.disabled).active:focus, .sing-up-newsletter:not(:disabled):not(.disabled):active:focus {
    box-shadow: none;
}
.sign-up-popup{
	top: 100px;
}
.sign-up-popup .close{
    position: absolute;
	right: 15px;
    top: 15px;
}
.sign-up-popup .modal-header{
	padding: 0;
}
.sign-up-popup .modal-body{
	padding: 60px;
	text-align: center;
}
.sign-up-popup .modal-body h2{
    color: #ff4d00;
    font-family: "Effra", sans-serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 0.963;
    margin: 0 0 20px;
}	
.sign-up-popup #mc_embed_signup .mc-field-group .email:focus-visible{
	outline: none;
}
.sign-up-popup #mc_embed_signup .mc-field-group input.email{
	border-top: 0 !important;
	border-right: 0 !important;
	border-left: 0 !important;
	border-color: #ccc !important;
	border-radius: 0;
	border-width: 2px;
}
.sign-up-popup #mc_embed_signup #mc-embedded-subscribe-form input.mce_inline_error {
	border-color: red !important;
}
.sign-up-popup #mc_embed_signup form {
	 margin: 0 !important; 
}
.sign-up-popup .close{
    padding: 20px;
    position: absolute;
    z-index: 1;
	outline: none;
	box-shadow: none;
}
.sign-up-popup .close::before {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center center;
    transition: transform 300ms, opacity 200ms;
    opacity: 0.5;
    content: '';
}
.sign-up-popup .close:before {
    opacity: 0.3;
    width: 24px;
    height: 24px;
}
.sign-up-popup .close:before {
    background-image: url(data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20transform%3D%22translate%28-290.000000,%20-65.000000%29%22%20fill-rule%3D%22nonzero%22%3E%3Cg%20transform%3D%22translate%28290.000000,%2065.000000%29%22%3E%3Cpath%20d%3D%22M22.5%201.5v21H1.5V1.5h21z%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%223%22/%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M16.999954%208.44117617%2015.5588332%207.00005699%2011.998935%2010.5575%208.44121825%207%207.00004599%208.44117067%2010.5585606%2011.9999973%207%2015.5587778%208.44122375%2017%2011.998935%2013.4414323%2015.5588277%2016.999943%2017%2015.5587723%2013.4414339%2011.9999973z%22/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E);
}
.sign-up-popup .close:hover:before {
    transform: none;
    background-image: url(data:image/svg+xml;utf8,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22%23ffffff%22%20fill-rule%3D%22evenodd%22%3E%3Cg%20transform%3D%22translate%28-290.000000,%20-65.000000%29%22%20fill-rule%3D%22nonzero%22%3E%3Cg%20transform%3D%22translate%28290.000000,%2065.000000%29%22%3E%3Cpath%20d%3D%22M22.5%201.5v21H1.5V1.5h21z%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%223%22/%3E%3Cpath%20fill%3D%22%230f0f0f%22%20d%3D%22M16.999954%208.44117617%2015.5588332%207.00005699%2011.998935%2010.5575%208.44121825%207%207.00004599%208.44117067%2010.5585606%2011.9999973%207%2015.5587778%208.44122375%2017%2011.998935%2013.4414323%2015.5588277%2016.999943%2017%2015.5587723%2013.4414339%2011.9999973z%22/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E);
}
.sign-up-popup .close:hover:before {
    opacity: 1;
}
.newsletter-header{
    background: url(assets/images/signup-top.jpg);
    background-repeat: no-repeat;
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: bottom center;	
}
.sign-up-popup #mc_embed_signup .foot{
    grid-template-columns: 1fr;
	width: 100%;
	margin-top: 20px;
}
.sign-up-popup #mc_embed_signup .button{
    width: 100%;
    height: 50px;
    border-radius: 0;
	background-color: #ff4d00;
	color: white;
	border: 2px solid #ff4d00;
	font-family: "Effra", sans-serif;
    font-size: 22px;
    font-weight: 500;
	padding-top: 6px;
}
.sign-up-popup #mc_embed_signup .button:hover{
    background-color: transparent;
    color: #ff4d00;
}
.sign-up-popup #mc_embed_signup .mc-field-group{
	width: 100%;
}
.below-popup-text.home-top-text p {
    font-size: 22px;
}
.sign-up-popup  #mc_embed_signup #mce-success-response {
    width: 100%;
    margin: 0;
    padding: 10px 0;
}
.sign-up-popup #mc_embed_signup #mc-embedded-subscribe-form div.mce_inline_error{
	margin: 0;
}
/*.sing-up-newsletter img{
	width: 20px;
	margin-right: 5px;
}
.sing-up-newsletter{
    background-image: url(assets/images/mail.png);
    background-repeat: no-repeat;
    background-position: 5px;
    background-size: 20px;
	padding-left: 30px;
}
.sing-up-newsletter:hover{
    background-image: url(assets/images/mail-white.png);	
	background-repeat: no-repeat;
    background-position: 5px;
    background-size: 20px;
}*/
@media (min-width: 576px){
	.sign-up-popup .modal-dialog {
		max-width: 410px;
	}
}
