/* =============================================================================
 *
 * 	NGOPRO Payment Stylesheet
 *
 * ========================================================================== */


/* =============================================================================
 * 	--	Basic Layout
 * ========================================================================== */
 .col-md-8{
    flex: 0 0 100%!important;
    width: 100%!important;
    max-width: 100%!important;
 }
 .offset-md-2{
    margin-left: 0!important;
 }
  #Form_MasterPage{
    display: flex;
    flex-direction: column;
    height: 100vh;
 }
 .content-wrapper{
    flex-grow: 1;
 }
 .custom-container{
    display: flex;
    margin: 0 25px;
 }
 @media (min-width: 1200px) {
    .custom-container {
        margin: auto;
        max-width: 1140px;
    }
}
header{
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    border-bottom: 3px solid #f3f2ec;
}
header .custom-container{
    height: 90px;
}

.header-logo-link,
.header-mh-logo-link{
    background-color: #d21967;
    display: block;
    flex: 0 0 90px;
    text-decoration: none;
}
.header-mh-logo-link{
    background-color: transparent;
}
.header-logo-link img,
.header-mh-logo-link img{
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 10%;
}
.header-mh-logo-link img{
    padding: 0;
}
.hero{
    display: flex;
    align-items: center;
    justify-items: center;
    width: 100%;
    min-height: 35vh;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}
.hero .intro{
    margin: 0 auto;
}
@media (min-width: 768px) {
    .hero{
        min-height: 60vh;
        margin-bottom: 40px;
    }
}
.content-wrapper{
	padding: 0 0 40px 0;
    /* background-color: #F3F2EC; */
}
.main-column > .container{
    background-color: #fff;
    padding: 22px;
}
@media (min-width: 576px) {
    .main-column > .container{
        padding: 40px 60px 40px 60px;
        border-radius: 10px;
        box-shadow: 0 1px 7px 0 rgba(0, 0, 0, .2);
        margin-top: -8%;
    }
    .optin .main-column > .container{
        padding-top: 20px;
    }
}
@media (min-width: 1200px) {
    .main-column > .container {
        max-width: 940px;
        margin-top: -5%;
    }
}
.footer-top{
    background-color: #E6E3DB;
    padding: 2rem 0;
}
.footer-top .custom-container {
  --gap: 24px;             /* valfritt mellanrum */
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);

}
.footer-top .footer-widget {
  flex: 0 0 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
@media (min-width: 576px) {
  .footer-top .footer-widget {
    /* (100% - 2 * gap) / 3 ger tre jämna kolumner med mellanrum */
    flex: 0 0 calc((100% - (2 * var(--gap))) / 3);
    max-width: calc((100% - (2 * var(--gap))) / 3);
    margin: 1rem 0;
  }
}
.footer-publisher img{
    max-width: 180px;
    padding: 1rem 0;
    width: 65%;
}
.footer-partner-logos{
    background-color: #F3F2EC;
}
.footer-partner-logos .custom-container{
    display: flex;
    padding: 60px 0;
}
@media (min-width: 576px) {
    .footer-partner-logos .custom-container{
        padding: 80px 0;
    }
}
.footer-partner-logo-links{
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-content: space-evenly;
    width: 100%;
}
@media (min-width: 768px) {
    .footer-partner-logo-links {
        flex-direction: row;
    }
}
.footer-partner-logo-links img{
    height: 50px;
    margin-top: 2rem;
}



/* =============================================================================
 * 	--	Typografy and basic elements
 * ========================================================================== */
body{
    height: auto;
    font-family: "Nunito", sans-serif;
    font-weight: 300;
    background-color: #F3F2EC;
}
h1, h2, h3, h4, h5, h6{
    font-family: "Nunito", sans-serif;
}
.hero h1{
    font-weight: bold;
    color: #fff;
    font-size: 2.6rem;
    line-height: 2.6rem;
    text-align: center;
    text-shadow: 0 1px 7px rgba(0, 0, 0, .3);
}
.hero .intro p{
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 1);   
}
@media (min-width: 992px) {
    .hero h1{
        max-width: 798px;
        padding: 0;
    }
    .hero .intro p{
        max-width: 798px;
    }
}
@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
        line-height: 4.5rem;
    }
}

.footer-top h4{
    color: #3f3f3f;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -.01rem;
    margin-bottom: 1rem;
}


.form-section.donation h3{
  font-size: 1.5rem;
  margin-bottom: 0;
}
.donation-amount {
    font-size: 2.5rem;
}



/* =============================================================================
 * 	--	Content elements
 * ========================================================================== */
 ul.social-share li a {
   text-align: center;
}
ul.social-share li a.linkedin {
   background-color: #0B66C2;
}

.intro{
	margin-bottom: 40px;
	text-align: center;
}
/* Hide elements to avoid flickering*/
#activationCodeForm,
#activationCodeErrorMsg{
	display: none;
}

/* --- Stepper  --- */
.stepper-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  font-size: 12px;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 15px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 15px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 2px;
}

.stepper-item.active {
  font-weight: bold;
}

.stepper-item.active .step-counter{
  background-color: #D21967;
  color: #fff;
}

.stepper-item.completed .step-counter {
  background-color: #D21967;
  color: #fff;
}

.stepper-item.completed::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #D21967;
  width: 100%;
  top: 15px;
  left: 50%;
  z-index: 3;
}
.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}

/* =============================================================================
 * 	--	Modification examples - Use or delete as needed
 * ========================================================================== */

/* --- Buttons  --- */
/* Button border-radius examples */
/*
.btn{border-radius: 25px;}
.btn-lg{border-radius: 32px}
*/

/* Button colors*/
.btn-success {
    color: #fff;
    background-color: #D21967;
    border-color: #D21967;
    transition: all 0.4s ease 0s;
    border-width: 2px;
    border-radius: 38px;
}
.btn-success:hover {
    color: #fff;
    background-color: #BD1D5B;
    border-color: #BD1D5B;
}
.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show>.btn-success.dropdown-toggle {
    color: #fff;
    background-color: #BD1D5B;
    border-color: #BD1D5B;
    box-shadow: 0 0 0 0.2rem rgba(57, 77, 145,.5);
}
.btn-success.focus, .btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(57, 77, 145,.5);
}
.btn-success.disabled, .btn-success:disabled {
    color: #fff;
    background-color: #BD1D5B;
    border-color: #BD1D5B;

}
.btn-group-toggle .btn-link{
	color: rgba(33,37,41,.7);
	text-decoration: none;
/* 	box-shadow: inset 1px 1px 2px 0px rgba(0,0,0,0.2); */
}
.btn-group-toggle .btn-link:hover{
	background-color: rgb(245,245,245);
}
.btn-group-toggle .btn-link.active {
    background-color: #D21967;
    border-color: #D21967;
    color: #fff;
    box-shadow: none;
}
.form-control:focus {
    /* border-color: #BD1D5B; */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(70,191,224,.25);
}

/* --- Links --- */
a, .link-button{ color: #D21967;}
a:hover, .link-button:hover{color: #BD1D5B;}
footer a, footer a:hover{color: inherit;}

/* --- Border radius  --- */
/* No border-radius examples - delete if not used */
/*
.card,
.form-control,
.btn,
ul.donation-amount-options li.first,
ul.donation-amount-options li.last,
.custom-amount,
.payment-options .card.first,
.payment-options .card.last
{border-radius: 0;}
*/

/* --- Custom radios & checkboxes  --- */
/* You need to add the jquery in _template_customer_name  */
/* This is the default state */
.donation-amount-options label, .payment-options .card-title{
	position: relative;
}
.custom-radio .custom-control-label::before {
	border: 1px solid rgb(195,195,195);
	background: #fff; 
}
.custom-checkbox .custom-control-label::before {
	border: 1px solid rgb(195,195,195);
	background: #fff; 
}

/* This is the checked state */
.custom-radio .custom-control-input:checked~.custom-control-label::before,
.custom-radio .custom-control-input:checked~.custom-control-label::after {
    background-color: #D21967; 
    border-color: #D21967;
    /* this bg image SVG is just a white circle, you can replace it with any valid SVG code */
    background-image: url(data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E); 
    border-radius: 50%;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::before,
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-color: #D21967; 
    border-color: #D21967;
    border-radius: .25rem;
}
.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
    background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/></svg>");
}
/* active state i.e. displayed while the mouse is being pressed down */
.custom-radio .custom-control-input:active ~ .custom-control-label::before {
    color: #fff;
    background-color: #30aac9;
    border-color: #30aac9;
}
.custom-checkbox .custom-control-input:active ~ .custom-control-label::before {
    color: #fff;
    background-color: #30aac9;
    border-color: #30aac9;
}
    
/* the shadow; displayed while the element is in focus */
.custom-radio .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(70,191,224,0.25);
}
.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(70,191,224,0.25);
}

/* Special for payment and amount options */
.donation-amount-options .custom-radio-graphic{
	position: relative;
	display: block;
	width: 16px;
    height: 16px;
    margin: 0 auto;
    margin-bottom: 8px;
}
.payment-options .custom-radio-graphic{
	position: absolute;
	top: 15px;
	left: 14px;
}
.custom-radio-graphic::before{
	position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    content: "";
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: #fff;
    border: 1px solid rgb(195,195,195);
    border-radius: 50%;
}
.custom-radio-graphic::after{
	position: absolute;
    top: .25rem;
    left: 0;
    display: block;
    width: 1rem;
    height: 1rem;
    content: "";
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
    border-radius: 50%;
}
.custom-control-input:checked~.custom-radio-graphic::before{
	background-color: #D21967; 
	border-color: #D21967;
	color: #fff;
}
.custom-control-input:checked~.custom-radio-graphic::after{
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");
}
.custom-control-input:active ~ .custom-radio-graphic::before {
    color: #fff;
    background-color: #30aac9;
    border-color: #30aac9;
}
.custom-control-input:focus ~ .custom-radio-graphic::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(70,191,224,0.25);
} 

/* --- Misc  --- */
/* Highligt amounts with box-shadow example */
/* .donation-amount-options, .custom-amount{box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);} */

/* =============================================================================
 * 	--	Page styles
 * ========================================================================== */
 .signagreementautogiro .main-column > .container,
 .agreementautogiro .main-column > .container,
 .bankaccountping .main-column > .container,
 .paywinswish .main-column > .container,
 .paywin .main-column > .container
 { 
    margin-top: 0!important;
 }

 .bankaccountping .main-column > .container{ 
    padding-top: 0!important;
    padding-bottom: 0!important;
 }
 .signagreementautogiro .content-wrapper,
 .agreementautogiro .content-wrapper,
 .bankaccountping .content-wrapper,
 .paywinswish .content-wrapper,
 .paywin .content-wrapper{
    margin-top: 40px;
 }
 @media (max-width: 768px) {
    .signagreementautogiro .content-wrapper,
    .agreementautogiro .content-wrapper,
    .bankaccountping .content-wrapper,
    .paywinswish .content-wrapper,
    .paywin .content-wrapper{
        margin-top: 0;
    }
 }
 .agreement-header-logo{
    width: 90px;
    height: auto;
 }
 #laguage-selector{
    display: none!important;
 }
 .optin .contact-details-container .form-group:last-child {
    margin-bottom: 0;
}
/* =============================================================================
 * 	-- Media queries
 * ========================================================================== */
@media screen and (max-width: 767px) {
	h1{
		font-size: 1.75rem;
	}
}