.calendar-btn{
    display: block;
    position: absolute;
    bottom: -40px;
    left: -50px;
    z-index: 9;
}

.calendar-subscription-form{
    background-color: #ca0066;
    color: #fff;
    border-radius: 10px;
}

.vertical-alignment-helper {
    display:table;
    height: 100%;
    width: 100%;
    pointer-events:none; /* This makes sure that we can still click outside of the modal to close it */
}
.vertical-align-center {
    /* To center vertically */
    display: table-cell;
    vertical-align: middle;
    pointer-events:none;
}

#calendar-modal .modal-content{
    box-shadow: none;
    -webkit-box-shadow: none;
    border: none;
    background-color: transparent;
    max-width:inherit; /* For Bootstrap 4 - to avoid the modal window stretching full width */
    height:inherit;
    margin: 0 auto;
    pointer-events: all;
    width: 540px;
}

.calendar-subscription-form{
    background-color: #ca0066;
    color: #fff;
    background: #CA0066;
    border-radius: 10px;
    padding: 15px 25px 15px 15px;
}

#calendar-modal .close{
    background: #fff;
    color: #ca0066;
    line-height: 25px;
    text-align: center;
    width: 24px;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: bold;
    font-style: normal;
    font-size: 15px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
    -webkit-box-shadow: 0px 1px 3px #888;
    -moz-box-shadow: 0px 1px 3px #888;
    box-shadow: 0px 1px 3px #888;
    float: none;
}

.xmas-calendar-form input{
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    display: inline;
    margin: 0 4px 7px 4px;
    padding: 5px 10px;
    border: 1px solid #c6818a;
    background: white;
    box-sizing: border-box;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.xmas-calendar-form .submit-btn{
    background-color: #840b55;
    color: #fff;
    display: block;
    text-align: center;
    width: 100%;
    border: none;
}

.errors{
    margin-bottom: 20px;
}

.large-text{
    font-size: 1.2em;
}

.xmas-calendar-form .checkbox label{
    display: block;
    margin-left:18px;
}

.xmas-calendar-form .checkbox label input[type='checkbox']{
    margin-left:-18px;
}

@media (max-device-width:767px){
    #calendar-modal .modal-content{
        width: auto;
    }

    #calendar-modal{
        z-index: 40000!important;
    }

    .calendar-btn{
        left: 0;
    }
}