﻿.logo
{
    cursor: pointer;
}

@media(min-width:992px)
{
    #top .cart
    {
        display: block !important;
    }

    .mobile.cart
    {
        display: none;
    }
}

.mobile.cart
{
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease-in-out;
}

#event-list .day h3,
.event
{
    padding-left: 10px;
    padding-right: 10px;
}

#event-list h3
{
    font-weight: bold;
}

#top
{
    padding-bottom: 15px;
}

#topmsg
{
    margin-bottom: 10px;
}

#topmsg span
{
    font-size: inherit !important;
}

#topmsg p:last-child
{
    margin-bottom: 0;
}

#drawer .logo,
#top .logo
{
    background-image: url("Images/default_logo.png");
    background-repeat: no-repeat;
}

@media(max-width: 991px)
{
    #drawer .logo-parent
    {
        height: 80px;
    }
}

@media(min-width: 992px)
{
    #drawer .logo-parent,
    #drawer .cart-open-parent
    {
        display: none;
    }
}

#top .logo
{
    width: 269px;
    height: 86px;
}

input[type=submit],
a.button,
button,
button.btn
{
    border-width: 0;
    border-style: solid;
    font-family: inherit;
    font-size: 18px !important;
    border-radius: 0;
}

#event-list button
{
    min-width: 130px;
}

@media(max-width:767px)
{
    .event .buttons
    {
        margin-top: 10px;
    }

    .buttons button
    {
        width: 100% !important;
    }
}

@media(min-width:768px)
{
    .event .buttons
    {
        float: right;
    }
}

.buttons > button
{
    display: block;
    margin-bottom: 10px;
}

.buttons > button:last-child
{
    margin-bottom: 0;
}

.price select
{
    margin-bottom: 4px;
    margin-right: 10px;
    min-width: 90px;
    display: inline-block;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
}

.close
{
    color: inherit !important;
}

.modal-backdrop
{
    background-color: #fff !important;
}

input:-webkit-autofill {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.dialog
{
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media(max-width: 991px)
{
    .dialog .modal-dialog
    {
        margin: 0 !important;
    }

    .dialog .modal-content
    {
        border: none;
        border-radius: 0;
    }
}

@media(min-width: 992px)
{
    #login-dialog div.login,
    #login-dialog div.register
    {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

.modal-dialog input[type=text],
.modal-dialog textarea,
.modal-dialog input[type=password],
.modal-dialog input[type=number],
.modal-dialog input[type=email],
.modal-dialog select,
.modal-dialog .checkbox-select-overlay
{
    font-size: 18px;
    color: #444 !important;
}

.modal-dialog input[type=text],
.modal-dialog textarea,
.modal-dialog input[type=password],
.modal-dialog input[type=number],
.modal-dialog input[type=email],
.modal-dialog select
{
    padding: 10px;
    border: 1px solid #4a8195;
    border-radius: 3px !important;
    font-family: inherit;
    font-weight: inherit;
}

.modal-dialog input[type=text],
.modal-dialog input[type=password],
.modal-dialog input[type=email],
.modal-dialog button.btn
{
    width: 100%;
}

.modal-dialog button.btn
{
    border: 1px solid #406786;
    border-radius: 4px !important;
    font-size: 26px;

    background: #89c3f1;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg5YzNmMSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iIzVlYTRlMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iIzVlYTRlMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk4JSIgc3RvcC1jb2xvcj0iIzRkOGJjNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0YzhhYmQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: linear-gradient(to bottom,  #89c3f1 0%,#5ea4e0 10%,#5ea4e0 10%,#4d8bc4 98%,#4c8abd 100%);
}

.modal-dialog button.btn:hover
{
    color: #fff;
}

.event .available-amount .staple
{
    background: #b1b1b1;
    height: 100%;
}

.modal-dialog button.close
{
    float: right;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 5px !important;
    height: inherit;
}

.btn
{
    font-weight: normal !important;
}

label[data-toggle=tooltip]
{
    font-weight: inherit;
    margin-bottom: 0 !important;
    margin-left: 4px;
}

a
{
    text-decoration: none;
}

a.logout,
a.register
{
    cursor: pointer;
}

table.registration-summary
{
    margin-bottom: 10px;
}

table.registration-summary td:first-child
{
    padding-right: 10px;
}

td
{
    vertical-align: top;
}

form
{
    min-height: 0;
}

@media(min-width: 992px)
{
    .main.container
    {
        min-height: 1000px;
    }
}

#event-list .event .when
{
    font-size: 22px;
}

#event-list .event .what
{
    font-size: 22px;
    margin-top: -3px;
}

#event-list .event .withwho,
#event-list .event .where,
#event-list .event .forhowlong,
#event-list .event .occurences,
#event-list .event .extra-info
{
    font-size: 14px;
    padding-left: 17px;
}

#event-list .event .withwho
{
    background: url("Images/user.svg") no-repeat;
    background-position: left bottom 5px;
    background-size: 10px auto;
}

#event-list .event .forhowlong
{
    background: url("Images/clock.svg") no-repeat;
    background-position: left bottom 5px;
    background-size: 10px auto;
}

#event-list .event .where
{
    background: url("Images/place.svg") no-repeat;
    background-position: left top 3px;
    background-size: 10px auto;
}

#event-list .event .occurences
{
    background: url("Images/occurences.svg") no-repeat;
    background-position: left bottom 6px;
    background-size: 10px auto;
}

#event-list .event .extra-info
{
    background: url("Images/extra_info.svg") no-repeat;
    background-position: left top 3px;
    background-size: 10px auto;
}


#event-list .event button.Booked
{
    cursor: default;
}

#event-list .event .calendar-day
{
    display: inline-block;
    float: left;
    color: #fff;
    text-align: center;
    position: relative;
}

@media(max-width: 767px)
{
    #event-list .event .calendar-day
    {
        width: 20%;
        font-size: 2.3vw;
        height: 24vw;
        margin-right: 5%;
    }

    #event-list .event .info
    {
        width: 75%;
    }
}

@media(min-width: 768px)
{
    #event-list .event .calendar-day
    {
        width: 90px;
        height: 115px;
        margin-right: 30px;
    }

    #event-list .info
    {
        width: 330px;
    }
}

#event-list .event .info
{
    float: left;
}

@media(min-width:768px)
{
    #event-list .event .info .columns
    {
        column-count: 2;
        column-width: 90px;
        column-fill: auto;
    }

    #event-list .event .info .columns *
    {
        break-inside: avoid-column;
    }
}

@media(max-width: 767px)
{
    #event-list .event .calendar-day .day
    {
        font-size: 8vw !important;
    }
    
    #event-list .event .calendar-day .dow,
    #event-list .event .calendar-day .month
    {
        font-size: 3vw !important;
    }
}

#event-list .event .calendar-day
{
    padding-top: 0.7em;
}

#event-list .event .calendar-day .day
{
    font-size: 30px;
    line-height: 1.2em;
}

#event-list .event .calendar-day .dow,
#event-list .event .calendar-day .month
{
    font-size: 14px;
}

button:focus
{
    outline: none;
}

select
{
    -moz-appearance:none;
}

@media(max-width: 991px)
{
    .dropdown-filter.sm-collapsed,
    .booking-summary.sm-collapsed
    {
        border: none;
        padding: 0;
        background: none;
    }

    .dropdown-filter.sm-collapsed .show-on-collapse,
    .booking-summary.sm-collapsed .show-on-collapse
    {
        display: block;
    }

    .dropdown-filter.sm-collapsed .hide-on-collapse,
    .booking-summary.sm-collapsed .hide-on-collapse
    {
        display: none;
    }

    .dropdown-filter.sm-collapsed h3
    {
        margin-bottom: 0;
    }
}

@media(min-width: 992px)
{
    .sm-hidden
    {
        display: none;
    }
}

#filter .show-on-collapse,
.booking-summary .show-on-collapse
{
    display: none;
}

.dropdown-filter
{
    margin-bottom: 15px;
}

.dropdown-filter input,
.dropdown-filter select
{
    width: 100%;
    border: none;
}

#filter [datepicker]
{
    width: 100%;
    height: 100%;
    border: none;
}

#event-list .entry
{
    min-height: 30px;
    margin-bottom: -1px;
    padding: 20px;
}

.main.container
{
    overflow: hidden;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

@media(max-width:991px)
{
    #top
    {
        display: none;
    }

    .logged-in,
    .booking-summary
    {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .booking-summary .col-md-6:first-child
    {
        margin-bottom: 20px;
    }

    .main.container
    {
        padding-top: 0;
    }
}

#default-cart,
#filter
{
    background: #bababa;
}

.booking-summary
{
    background: #c0c0c0;
}

#campaign,
.booking-summary
{
    padding: 10px;
}

#default-cart
{
    color: #fff;
}

a
{
    transition: opacity 0.1s;
}

@media(max-width:991px)
{
    .mobile.cart.open
    {
        height: inherit;
    }

    #right
    {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #top .cart
    {
        display: none;
    }

    #mobile-filter .left.section
    {
        padding-right: 10px !important;
    }
    #mobile-filter .right.section
    {
        padding-left: 10px !important;
    }
}

/* drawer */
#drawer .bbq
{
    background: url("Images/bbq_black.svg") no-repeat;
    background-size: 100% auto;
    width: 23px;
    height: 25px;
    cursor: pointer;
}

@media(min-width:992px)
{
    #drawer
    {
        position: fixed;
        z-index: 1;
        top: 5px;
        left: 5px;
    }
}

@media(max-width:991px)
{
    #drawer .buttons
    {
        position: relative;
    }

    #drawer .logo
    {
        background-size: auto 100%;
        background-position: center center;
        height: 100%;
    }

    #drawer .cart-icon
    {
        width: 30px;
        height: 30px;
        background-size: 100% auto;
        margin-right: 15px;
        margin-top: 10px;
    }
}

@media(min-width:992px)
{
    #drawer .logo
    {
        display: none;
    }

    #drawer .cart-icon
    {
        display: none;
    }
}

#drawer
{
    transition: all ease-in-out 0.2s;
    overflow: hidden;
}

#drawer ul
{
    margin-top: 20px;
    padding-left: 0;
    display: none;
}

#drawer.open ul
{
    display: block;
}

#drawer li
{
    padding: 10px 16px;
    border-right: 0;
}

#drawer.open
{
    height: auto !important;
}

#drawer .bbq-parent,
#drawer .cart-open-parent
{
    width: 50px;
}

#drawer .bbq,
#drawer .cart-open-icon
{
    margin: 14px 16px;
}

#drawer ul
{
    opacity: 0;
    transition: opacity ease 0.3s;
}

#drawer.open ul
{
    opacity: 1;
}

#drawer ul
{
    list-style: none;
    margin-top: 0;
}

#drawer a
{
    color: #bababa;
}

#drawer
{
    font-size: 18px;
}

#drawer
{
    border: 1px solid transparent;
}

#top .cart > div,
.dropdown-filter
{
    padding: 15px;
}

@media(max-width: 991px)
{
    .dropdown-filter
    {
        margin-top: 15px;
        border: 1px solid #afb7e2;
    }    
}

#filter .section
{
    margin-bottom: 20px;
}

#filter .section:last-child
{
    margin-bottom: 0;
}

@media(max-width: 991px)
{
    .booking-summary
    {
        margin-bottom: 15px;
    }
}

@media(min-width: 992px)
{
    .booking-summary
    {
        margin-bottom: 10px;
    }
}

/* bootstrap overrides */
.col-sm-3,
.col-sm-6,
.col-sm-9,
.col-md-12,
.col-xs-12
{
    box-sizing: border-box !important;
}

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}


hr
{
    margin-bottom: 8px !important;
    margin-top: 8px !important;   
}

.cancelled.event
{
    background: #ccc !important;
}

.cancelled.event button
{
    display: none;
}

/* events */
#event-list .event
{
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#event-list .event button
{
    width: 130px;
}

#event-list .event button.Bookable
{
    background-color: #bababa;
}

#event-list .event button.Booked
{
    background-color: #606060;
}

#event-list .event button.Buyable
{
    background-color: #dbdbdb;
}

#event-list .event button.Queueable
{
    background-color: #dcdcdc;
}

@media (max-width: 991px)
{
    .open.mobile.cart
    {
        height: inherit;
        margin-top: 15px;
    }
}

@media (max-width: 768px)
{
    #event-list .event
    {
        margin-left: 0;
    }
}

.ui-datepicker-current
{
    display: none;
}

.ui-datepicker-buttonpane
{
    border: none !important;
    margin: 8px 0 4px 0 !important;
}

button.ui-datepicker-close 
{
    background-color: #bababa !important;
    border-radius: 0;
    border: none !important;
    float: none !important;
    font-weight: normal !important;
    margin: 0 !important;
    width: 100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media(min-width:768px)
{
    .event-information
    {
        width: calc(100% - 120px) !important;
        margin-left: 120px;
        margin-top: 1em;
    }
}

.event-information td + td > img
{
    margin-left: 1em;
}

.event-information td:not(:last-child) > img
{
    margin-right: 1em;
}

.event-information *
{
    font-size: inherit !important;
}

.event-information a
{
    word-break: break-all;
}

.event-information br + img
{
    margin-top: 1em;
}

.event-information strong + br,
.event-information br + br,
.event-information table + br
{
    display: none;
}

.event-information table
{
    width: 100%;
    height: auto !important;
}

.event-information img
{
    width: auto !important;
    height: auto !important;
    
    max-width: 20vw;
}

.event-information .rrHandle
{
    display: none;
}

.event-information h1,
.event-information h2
{
    margin-top: 0;
}

.info-icon
{
    cursor: pointer;
    margin-left: 0.4em;
    width: 1.2em;
    height: 1.2em;
    position: relative;
    display: inline-block;
    top: 0.3em;
    background: url("Images/info.svg") no-repeat;
    background-size: contain;
}

.event .available-amount
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ddd;
    width: 100%;
}

@media(max-width: 767px)
{
    .event .available-amount
    {
        height: 3.2vw;
    }    
}

@media(min-width: 768px)
{
    .event .available-amount
    {
        height: 20px;
    }
}

.event .available-amount .text
{
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    color: #000;
    bottom: 0;
    z-index: 1;
    white-space: nowrap;
    overflow: hidden;
}

.presentkort
{
    background: url("Images/presentkort.png") no-repeat;
    background-size: 100% auto;
    width: 335px;
    height: 199px;
    margin: -10px;
    max-width: 100%;
}

@media(max-width: 767px)
{
    .presentkort
    {
        background: url("Images/presentkort.png") no-repeat;
        background-size: 100% auto;
        margin: -10px;
        height: 0;
        padding-bottom: 64%;
        width: calc(100% + 20px) !important;
        max-width: inherit;
    }

    .activity-entry
    {
        display: block !important;
    }
}

@media(min-width:768px)
{
    .row-eq-height
    {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
    }
}

a:hover
{
    opacity: 0.6;
}

.payment-form button
{
    border: 1px solid #fff;
    border-radius: 3px;
    background: none;
    margin-top: 0.5em;
}

a:hover,
a:focus
{
    text-decoration: none;
}

#cart-dialog h2
{
    margin-top: 0;
}

#cart-dialog table.details td.count
{
    padding-right: 10px;
}


#cart-dialog table.details td
{
    padding-bottom: 5px;
    vertical-align: top;
}

#cart-dialog table.details tr:last-child td
{
    padding-bottom: 0;
}

#http-error-dialog .modal-content
{
    padding: 20px;
    text-align: right;
}

#http-error-dialog .msg
{
    position: absolute;
    left: 0;
    top: 0;
    width: 230px;
    text-align: left;
}

#http-error-dialog img
{
    padding-top: 40px;
    width: 90%;
}

.modal-dialog.modal-400
{
    width: 400px;
}

#feedback-dialog input,
#feedback-dialog textarea
{
    width: 100%;
}

#feedback-dialog textarea
{
    height: 80px;
    resize: none;
}

.user-type-selection button
{
    width: 100px;
    height: 100px !important;
    position: relative;
}

.user-type-selection button div.image
{
    width: 80%;
    height: 80%;
    margin-left: auto;
    margin-right: auto;
}

.user-type-selection button:hover
{
    opacity: 0.8;
}

.user-type-selection button div.text
{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 80%;
}

.panel-heading button.edit
{
    border: none;
    width: 16px;
    height: 16px;
    background: url("Images/pen-16x16.png");
    float: right;
}

.panel-body {
    position: relative;
}


.panel-body button.edit
{
    border: none;
    width: 16px;
    height: 16px;
    background: url("Images/pen-16x16.png");
    background-repeat: no-repeat;
    position: absolute;
    top: 16px;
    right: 10px;
    font-size: 120% !important;
    padding: 5px 0px !important;
}

.mypages div.document
{
    background: url("images/paper.png") no-repeat;
    height: 38px;
    padding-left: 18px;
}

table.members > tbody > tr > td
{
    padding-top: 4px;
    border-bottom: 1px solid #aaa;
}

.modal-header h3
{
    margin-top: 4px;
    margin-bottom: 0;
}

.modal-header h3,
.modal-dialog button.close
{
    margin-top: 0;
}

.modal-dialog button.close
{
    margin-right: 0;
}

th
{
    font-weight: normal;
}

#loader .loader-panel
{
    margin-bottom: 10px;
}

#loader .loader-panel:after
{
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4,end) 900ms infinite;
    animation: ellipsis steps(4,end) 900ms infinite;
    content: "\2026";
    width: 0;
}

@keyframes ellipsis {
  to {
    width: 20px;
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 20px;
  }
}

#cart-dialog tr.sum td
{
    color: #a3a3a3;
}

#cart-dialog td.amount
{
    text-align: right;
    padding-right: 20px;
}

button.close
{
    background: none !important;
}

.busy-overlay
{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    cursor: wait;
    background: #fff;
    opacity: 0.4;
    display: none;
}

label[for=image-file-input]
{
    font-size: 18px;
    font-weight: normal;
    padding: 5px;
    background-color: #0091ba;
    color: #fff;
}

body.my-pages .bookings-filter
{
    padding: 0.3em;
    margin-bottom: 1em;
}

body.my-pages .bookings-filter-dropdowns select
{
    padding: 0.3em;
    width: 170px;
}

body.my-pages .bookings-filter-dropdowns select:last-child
{
    margin-bottom: 1em;
}

[uxdatepicker]
{
    border: 1px solid #ccc;
    border-radius: 7px;
    padding: 0.5em;
    margin-bottom: 0.6em;
}

#assn-login-dialog table.twocol
{
    width: 100%;
}

#assn-login-dialog table.twocol > tbody > tr > td
{
    width: 50px;
}

#assn-login-dialog table.twocol > tbody > tr > td:first-child
{
    padding-right: 20px;
}

#assn-login-dialog table.twocol > tbody > tr > td:nth-child(2)
{
    background: #000;
    width: 1px;
}

#assn-login-dialog table.twocol > tbody > tr > td:nth-child(3)
{
    padding-left: 20px;
}

#campaign
{
    background: #dff0d8;
    margin-bottom: 10px;
}

#campaign h2
{
    margin-top: 0;
}

#campaign .description
{
    margin-top: 5px;
    margin-bottom: 5px;
}

#campaign button
{
    background: #fce49c !important;
    color: #000 !important;
    border: 1px solid #c0c0c0;
}

.close
{
    opacity: 1;
}

.close:active
{
    opacity: 0.7;
}

.bootstrap-datetimepicker-widget
{
    color: initial !important;
}
