/* Styles for NewsLetter API Contact Form */

.newsletter_main_header_container {
	margin: 0 0 3rem 0;
}

.newsletter_main_header_container h1 {
	font-size:3.125rem!important;
}

.newsletter_main_header_container h3 {
	font-size:1.25rem;
}

.newsletters-contact-big-subheader {
	/* font-size:3.125rem!important; */
	font-size:2.25rem!important;
	margin-right:2rem;
}

.contact-newsletter-checkbox-label {
	font-size:1.3rem!important;
}

.contact-newsletter-checkbox-label input {
	margin-right:1rem;
}

.fake-input {
    float: left;
    width: 25px;
    height: 25px;
    border: 1px solid #9f9f9f;
    background: #f3f3f3;
    vertical-align: middle;
    position: relative;
    margin-right: 1rem;
	border-radius: 4px;
	border:none;
}
.fake-input:hover {
	cursor:pointer;
}
input[type="checkbox"].newsletter-communication-preferences-checkbox {
    position: fixed;
    top: -9999px;
    left: -9999px;
}
input[type="checkbox"]:checked.newsletter-communication-preferences-checkbox + .fake-input:before {
	content:"";
	background-image:url('https://s33875.pcdn.co/store/wp-content/plugins/newsletter-api-contact-form/images/icons/icon-check-black-sm.svg');
	background-repeat:no-repeat;
	background-position:center;
	background-size:80%;
    position: absolute;
    color: #000;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Toggle Switch Styles */

.switch_big_toggle {
	position: relative;
	display: inline-block;
	/* width: 60px; */
	width:30px;
	/* height: 34px; */
	height:17px;
	margin-bottom:0!important;
	/* margin-bottom:-3px; */
  }
  
  .switch_big_toggle input { 
	opacity: 0;
	width: 0;
	height: 0;
  }
  
  .big_toggle_slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	border:1px solid #909090;
	/* background-color: #000; */
	background-color: transparent;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  .big_toggle_slider:before {
	position: absolute;
	content: "";
	/* height: 26px; */
	/* height:15px; */
	height:12px;
	/* width: 26px; */
	/* width:15px; */
	width:12px;
	/* left: 4px; */
	left: 3px;
	/* bottom: 4px; */
	/* bottom:5px; */
	bottom:2px;
	/* background-color: white; */
	background-color:#909090;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  input:checked + .big_toggle_slider {
	/* background-color: #2196F3; */
	background-color: transparent;
  }
  
  input:focus + .big_toggle_slider {
	box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .big_toggle_slider:before {
	/* -webkit-transform: translateX(26px); */
	-webkit-transform: translateX(10px);
	/* -ms-transform: translateX(26px); */
	-ms-transform: translateX(10px);
	/* transform: translateX(26px); */
	transform: translateX(10px);
  }

  .fake-label-small-message {
	font-weight:500;
	font-size:1.3rem;
  }

  .newsletter-contact-form-info {
	/* color:#909090; */
	color:#484848;
	font-size:16px;
  }
  
  /* Rounded sliders */
  .big_toggle_slider.big_toggle_round {
	border-radius: 34px;
  }
  
  .big_toggle_slider.big_toggle_round:before {
	border-radius: 50%;
  }

  .big_toggle_on
{
  display: none;
}

.big_toggle_on, .big_toggle_off
{
  color: white;
  position: absolute;
  transform: translate(-50%,-50%);
  top: 50%;
  font-size: 12px;
}

.big_toggle_on {
	left:25%;
}

.big_toggle_off {
	/* right:0%; */
	right:-5%;
}

input:checked+ .big_toggle_slider .big_toggle_on
{display: block;}

input:checked + .big_toggle_slider .big_toggle_off
{display: none;}

.newsletter-contact-big-subheader-container,
.newsletter-contact-switchallonoff-container,
.big_toggle_submessage {
	display:inline-block;
}

.newsletter-contact-switchallonoff-container {
	float:right;
	margin-top:10px;
}

.big_toggle_submessage {
	margin-left:1rem;
}

.big_toggle_submessage p {
	font-size: 1rem!important;
	padding-top: .5rem!important;
	color:#909090!important;
}

/* New Subscriber Styles */

.newsubscriber-form-container .newsubscriber-form-row {
	margin:1rem 0;
}

.newsubscriber-form-container .newsubscriber-form-errors-row {
	display:none;
}

.newsubscriber-form-container .form-group {
	margin:0 auto;
	display:block;
}

.newsubscriber-form-container label {
	font-size: 1.5rem;
	color:#000;
}

.newsubscriber-form-container button {
	text-transform:uppercase;
    padding: 0.75rem 1.25rem 0.6875rem 1.25rem;
    transition: all .1s ease-in-out;
    background-color: #707070;
	color: #ffffff;
	border:none;
}

.newsubscriber-form-container button:hover {
	background-color:#000;
}

::-webkit-input-placeholder { /* Edge */
	color: grey!important;
  }
  
  :-ms-input-placeholder { /* Internet Explorer */
	color: grey!important;
  }
  
  ::placeholder {
	color: grey!important;
  }

  .form-group.required .control-label:after {
	content:"*";
	color:red;
  }

  .newsubscriber-error-text {
	  display:none;
	  color:red;
  }

  .addsubscriber-error-text {
	display:block;
	color:red;
}

  .new_subscriber_verification_inner_container {
	  height:200px;
  }

  .new_subscriber_verification_inner_container h2 {
	  margin-top:3rem;
  }

  #userVerificationButton {
	font-size: 1rem;
    margin-bottom: 0;
	color: #115499;
	text-decoration:underline;
  }

  #userVerificationButton:hover {
	  cursor:pointer;
  }

@media screen and (max-width:620px) {
	.newsletter_main_header_container h1 {font-size:2.25rem!important;}
	.newsletters-contact-big-subheader {font-size:1.8rem!important;}
	.newsletter_main_header_container h3 {font-size:1.7em;}
}

/* Ibrarr Changes 28/01/2021 */

form#newsletter-contact-api-form .form-group label {
	line-height: 1 !important;
}

@media screen and (max-width:991px) {
	.col-md-6.newsletter-contact-switchallonoff-container, .newsletter-contact-big-subheader-container, .col-md-6.form-group.custom-control.custom-checkbox {
		min-width: 100% !important;
	}
	.col-md-6.newsletter-contact-switchallonoff-container .big_toggle_submessage p {
		margin-top: 0 !important;
		padding-top: 0 !important;
	}
	.col-md-6.newsletter-contact-switchallonoff-container {
		margin-top: 0 !important;
	}
}

.form-group label {
    font-size: 1.125rem;
    line-height: 1.444;
    margin-bottom: 0.75rem;
    color: #000000;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #2C2C2C;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #414141;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-group input[type=text], .form-group input[type=password], .form-group input[type=number], .form-group input[type=email], .form-group textarea {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border-radius: 4px;
    height: auto;
    line-height: 24px;
}

.row.justify-content-center.newsubscriber-form-row select#CountryCode {
	border: solid 1px #ccc;
}

input#termsandconditions ~ label.control-label {
    font-size: 16px;
}

input#termsandconditions ~ label.control-label {
    font-size: 16px;
}

p#subscribedtolist {
    margin: 0;
    position: absolute;
    color: #0b840b;
    text-transform: uppercase;
		display: none;
}

p#unsubscribedtolist {
    margin: 0;
    position: absolute;
    color: #e00707;
    text-transform: uppercase;
		display: none;
}