/* Template-specific styles */

h2 {
    margin: 1.25em 0 .6em 0;
}

form .ActivityList select, 
form .ActivityList .activityFull {
    float: left;
}

form .ActivityList .activityFull {
    padding: 8px;
}

.SubmitText {
    display: none;
}

/* .ActivityList a {
    text-decoration: underline;
} */

#TotalAmount {
    border-top: medium solid #000;
    font-weight: bold;
}

#CustomText {
    margin-bottom: 1em;
}

form a {
    text-decoration: none;
}

.eventLink {
    display: flex;
    line-height: 2.375em;
}

.eventLink a {
    padding: 0.5em 1em;
    border: 1px solid #dfdfdf;
    text-decoration: none;
    background-color: #f7f7f7;
    display: flex;
    line-height: 1.5em;
    margin-left: 0.5em;
}

.eventLink a:hover, 
.eventLink a:active, 
.eventLink a:focus {
    border: 1px solid #58595A;
    background-color: #58595A;
    color: #fff;
}

.eventLink a svg {
    width: auto;
    height: 1.6em;
    margin-left: 0.8em;
    fill: #5b5b5b;
}

.eventLink a:hover svg, 
.eventLink a:active svg, 
.eventLink a:focus svg {
    fill: #fff;
}

.eventDay, 
.total_amount {
    margin-top: 2em;
}

.eventDay:first-child {
    margin-top: 0;
}

/* Media queries */

@media (max-width: 767px) {

    form .ActivityList select {
        width: auto;
    }

    form .ActivityList .eventQuantity {
        margin: 0;
        padding-bottom: 1em;
        overflow: hidden;
    }

    form .ActivityList label {
        float: right;
        width: 80%;
        margin-bottom: 1.25em;
    }

    form .ActivityList .perQuantity label, 
    form .ActivityList .perQuantityAdded label {
        float: none;
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 1em;
    }

    form .ActivityList select {
        max-width: 15%;
        margin-right: 5%;
    }
  
    form .ActivityList .perQuantity select, 
    form .ActivityList .perQuantityAdded select {
        width: auto;
        max-width: none;
    }

    .eventLink {
        margin-left: 20%;
    }

    .eventLink a {
        margin-bottom: 1em;
    }

}

@media (min-width: 768px) {

    #guestInfo {
        margin-bottom: 1em;
    }
    
    form .ActivityList label {
        width: 600px;
        text-align: left;
    }

    form .ActivityList .eventQuantity select, 
    form .ActivityList .eventQuantity .activityFull {
      margin-right: 0.8em;
    }

    form .perQuantity label, 
    form .perQuantityAdded label {
      width: 200px;
      text-align: right;
    }

    form .ActivityList .perQuantity select, 
    form .ActivityList .perQuantityAdded select, 
    form .ActivityList .perQuantity .activityFull, 
    form .ActivityList .perQuantityAdded .activityFull {
      float: none;
      margin: 0 0 15px 0;
    }

    form .ActivityList .activityFull {
        min-width: 35px;
    }

    .eventLink {
        margin-left: 75px;
    }
  
    #RegistrationAmount, 
    #TotalAmount, 
    #GrandTotalAmount, 
    #MembershipAmount {
        width: 6em;
    }
  
}