body,
h1, h2,  h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
form, fieldset, legend,
figure,
table, th, td, caption,
hr {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-size: 52.5%;
    background-color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, p,h3 {
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: 'Source Sans Pro', sans-serif;
}

h1 {
    font-size: 3rem;
    line-height: 3rem;
    /*color: #D0305C; */
    color: #7F7C7A;
    font-weight: bold;
    margin-bottom: 10px;
}

p {
    font-size: 1.6rem;
    line-height: 2.2rem;
    font-weight: 400;
    /*color: #332518;*/
    color: #7F7C7A;
}
    p + p {
        margin-top: 10px;
    }

a:link,
a:visited {
    color: #332518;
}
h3{
    font-size: 3rem ;
    line-height: 3rem;
    font-weight: 700 !important;
    color: #7f7c7a;
    margin: 0;
    padding: 0;
    margin-bottom: 35px;
    margin-top: 20px;
}
.container {
    width: 100vw;
    height: 100vh;
    float: left;
    box-sizing: border-box;
    /*background-image: url("../img/2019/bg.png");*/
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 25px 0;
    overflow-x: hidden;
}

#star_1 {
    position: absolute;
    left: 5%;
    top: 10%;
}
#star_2 {
    position: absolute;
    left: 10%;
    bottom: 15%;
}
#star_3 {
    position: absolute;
    right: 15%;
    top: 10%;
}
#star_4 {
    position: absolute;
    right: 2%;
    bottom: 45%;
}
#star_5 {
    position: absolute;
    left: 40%;
    top: 1%;
}
#star_6 {
    position: absolute;
    left: 1%;
    bottom: 35%;
}
#star_7 {
    position: absolute;
    right: 5%;
    bottom: 15%;
}
#star_8 {
    position: absolute;
    left: 15%;
    top: 3%;
}
#star_9  {
    position: absolute;
    right: 10%;
    bottom: 65%;
}
#star_10  {
    position: absolute;
    left: 20%;
    top: 4%;
}
#star_11  {
    position: absolute;
    right: 75%;
    bottom: 45%;
    display:none;
}
#star_12  {
    position: absolute;
    left: 6%;
    bottom: 25%;
}
#tree_img  {
    position: absolute;
    right: 6.5%;
    bottom: 160px;
}
#tree_text  {
    width:120px;
    position: absolute;
    right: 5.2%;
    bottom: 90px;
    font-size: 1.6rem;
    text-align:center;
    /*color: #D0305C; */
    color: #7A7051;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.0;
}

.wrap--sm {
    width: 100%;
    max-width: 600px;
    margin: auto;
    margin-bottom: 10px;
}

.wrap--md {
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.flags{
    float: left;
    text-align: right;
    width:100%;
    margin-top:30px;

}

.flags img{


  margin-left:10px;
  height: 35px;
  cursor: pointer;
  -webkit-transition: all 0.7s ease; /* Safari and Chrome */
  -moz-transition: all 0.7s ease; /* Firefox */
  -ms-transition: all 0.7s ease; /* IE 9 */
  -o-transition: all 0.7s ease; /* Opera */
  transition: all 0.7s ease;
}
.flags img:hover {
    -webkit-transform:scale(1.1); /* Safari and Chrome */
    -moz-transform:scale(1.1); /* Firefox */
    -ms-transform:scale(1.1); /* IE 9 */
    -o-transform:scale(1.1); /* Opera */
     transform:scale(1.1);
     opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
}
.disable{
     opacity: 0.3;
    filter: alpha(opacity=30); /* For IE8 and earlier */
}
 .logo{
  width: 100%;
    float: left;
    text-align: right;
    box-sizing: border-box;
    min-height: 100px;
}
.logo img{
    max-width: 150px;
    max-height: 150px;
    width: 100%;
    margin-right: 15px;
}


.box {
    width: 100%;
    float: left;
    min-height: 600px;
    height: auto;

    /*border: 2px solid #D50054;*/
    border: 7px solid #7A7051;
    /*background-image: url("../img/2019/gift-v2.png");*/
    background-image: url("../img/2021/Gave_guld_findgaven.png");
    background-position: top center;
    background-repeat: no-repeat;
    /*background-size: cover;*/
    position: relative;
    box-sizing: border-box;
    margin-bottom: 25px;
    background-color: #fff;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    .box {
        height: 80vh; /* 1 */
    }
    .top {
        flex-shrink: 0; /* 2 */
    }
}

.top {
    width: 100%;
    float: left;

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;

    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
    .logo {
        width: 100%;
        float: left;
        text-align: right;
        box-sizing: border-box;
        padding-top: 25px;
    }
        .logo img {
            max-width: 150px;
            width: 100%;
            margin-right: 10px;
        }

    .content {
        width: 100%;
        float: left;
        margin-top: 10px;


        -webkit-box-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;

        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        /* align-items:center; */
    }

    .body {
        width: 100%;
        /*background-color: rgba(246, 225, 214, 0.8);*/
        background-color: rgba(240, 237, 232, 0.8);
        text-align: center;
        padding: 20px 0;
        box-sizing: border-box;
        border-bottom: 10px;
    }
    .body_side {
        width: 400px;
        /*background-color: rgba(246, 225, 214, 0.8);*/
        background-color: rgba(231, 227, 218, 0.8);
        text-align: center;
        box-sizing: border-box;
    }
    .copyright {
        width: 100%;
        float: left;
        padding: 10px;
        box-sizing: border-box;
        text-align: right;
    }

.bottom {
    height: 80px;

    float: left;
    /*background-color: #D50054;*/
    background-color: #7A7051;
    padding: 10px 0;
    box-sizing: border-box;
    align-items: center;
    position: relative;
    margin-left: -1px;
    margin-right: -1px;
    margin-bottom: -1px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
#loginError, #isClosed {
    display: none;
    color:red;
    font-size: 16px;
    font-weight: bold;
}

    .form {
        width: 100%;
        float: left;
        margin-top:6px;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .feedback {
        width: 100%;
        position: absolute;
        top: -62px;
        left: 0;
        background-color: #e7e3da;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
    }
        .feedback p {

            font-weight: 800;
        }

/* Helpers: */

.col-4 {
    float: left;
    margin-right: 20px;
    width: 30%;
}

/* btn */

.btn {
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    -webkit-appearance: none;
    cursor: pointer;
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #ffffff;
    border: 1px solid #FFF;
    background-color: transparent;
    padding: 13px 0px 12px 0px;
    box-sizing: border-box;
    -webkit-transition: background-color 0.2s ease-in;
    transition: background-color 0.2s ease-in;
    width: 30%;
    float: right;
    text-transform: uppercase;
    border-radius: 0;
}
.feedback{
    
    width: 100%;
    position: absolute;
    top: -82px;
    left: 0;
    background-color: #D50054;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    color:red !importet ;
}
.feedback p{
    color:white;
}
/* Form styling */

input[type="text"],
input[type="password"],
input[type="email"],
input[type="name"],
input[type="tel"],
input[type="url"],
textarea,
label {
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.5rem;
    line-height: 1.6rem;
    text-align: left;
    text-decoration: none;
    /*color: #332518;*/
    color: #7A7051;
    text-transform: uppercase;
    font-weight: bold;
}

input[type="email"]:invalid {
    outline: none;
    box-shadow: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="name"],
input[type="tel"],
input[type="url"],
textarea {
    /*background-color: #F795BA;*/
    background-color: #D8D1C3;
    padding: 14px 20px 11px 20px;
    outline: none;
    box-sizing: border-box;
    border: none;
    text-align: center;
    border-radius: 0;
}

/* WebKit browsers: */
::-webkit-input-placeholder {
    color: #332518;
}

/* Mozilla Firefox 4 to 18: */
:-moz-placeholder {
    color: #332518;
    opacity: 1;
}

/* Mozilla Firefox 19+: */
::-moz-placeholder {
    color: #332518;
    opacity: 1;
}

/* Internet Explorer 10+: */
:-ms-input-placeholder {
    color: #332518;
}

/* Focus - tab - firefox */
::-moz-focus-inner {
    border: 0;
}

@media all and (max-width: 1150px) {
    .wrap--sm,
    .wrap--md {
        width: 96%;
    }
}

@media all and (max-width: 950px) {
    .container {
        padding: 15px 0;
    }
    .box {
        background-size: cover;
    }
}

@media all and (max-width: 500px) {
    h1 {
        font-size: 2.2rem;
        line-height: 2.8rem;
    }
    .bottom {
        height: 180px;
    }
    .col-4 {
        margin-right: 0;
        width: 100%;
        margin-bottom: 10px;
    }
    .btn {
        width: 100%;
    }
    .feedback {
        background-color: rgba(255, 255, 255, 1);
    }
    .feedback p {
        font-size: 1.2rem;
    }
    #tree_img, #tree_text  {
        display:none;
    }
    .body_side{
        display: none;

    }

}
