.popupextra div,
.popupextra a,
.popupextra img,
.popupextra input{
    box-sizing: border-box;
    margin:0;
}
.popupextra{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    top: 0;
    z-index: 10000;
}
.popupcontainer{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: 0.6s;
    background-color:#ffffff;
    padding:32px;
    border-radius:10px;
}
.popupcontainer a.close{
    position: absolute;
    right: -24px;
    top: -24px;
    width: 48px;
    height: 48px;
    border-radius:50%;
    text-indent:-9999px;
    background-repeat:no-repeat;
    background-position:center center;
    background-image:url('../gfx/close.svg');
    background-size:24px;
    z-index: 1;
    transition: 0.6s;
    color: #fff;
    background-color:#483344;
    
}

.popupcontainer{
    display:table;
    
}
.popupcontainer .tablecell{
    display:table-cell;
    vertical-align:top;
}
.popupcontainer .tablecell.backgroundbox{
    position:relative;
    background:#ffffff;
    text-align:center;
}
.popupcontainer img.image{
    vertical-align: top;
    max-width:100%;
}
.popupcontainer img.background{
    vertical-align: top;
    max-width:100%;
}
.popupcontainer div.backgroundtext{
    padding:32px;
    display:none;
}

.popupcontainer div.backgroundtext * {
    line-height: 1.6em;
    text-align:center;
}

.popupcontainer div.backgroundtext h1,
.popupcontainer div.backgroundtext h2,
.popupcontainer div.backgroundtext h3,
.popupcontainer div.backgroundtext h4,
.popupcontainer div.backgroundtext h5,
.popupcontainer div.backgroundtext h6 {
    padding-top:0;
    padding-bottom:0;
    margin-top:0;
    margin-bottom:15px;
    font-weight:bold;
    font-size:36px;
    line-height:1.3em;
    text-transform:none;
}

.popupcontainer div.backgroundtext *:last-child {
    margin-bottom:0;
}

.popupcontainer div.backgroundtext ul {
    margin-bottom:15px;
    padding-left:32px;
    list-style-position:outside;
    list-style-type:square;
}

.popupcontainer div.title{
    display:none;
   font-size:32px;
   line-height:1.3em;
   color:#483344;
   margin-bottom:15px;
   font-weight:bold;
}

.popupcontainer a.popup_btn {
    display:inline-block;
    margin-top:20px;
    height: 60px;
    padding: 0 20px;
    line-height: 58px;
    border: 1px solid #483344;
    background-color: #483344;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    transition: 0.3s;
}


.popupcontainer.mobile2{
    width:calc(100% - 80px);
}

.popupcontainer.mobile1{
    width:calc(100% - 40px);
    padding:10px;
    
}
.popupcontainer.mobile1 .imagebox{
    display:none;
}

@media only screen and (min-width:521px) and (max-width:1323px) {
    .popupcontainer {
        width:70%;
        aspect-ratioi:4/3;
    }
}