﻿.ui-autocomplete {
    max-height: 150px;
    overflow-y: auto; /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

/* IE 6 doesn't support max-height
        * we use height instead, but this forces the menu to always be this tall
        */

* html .ui-autocomplete { height: 150px; }

.ui-menu-item a { text-align: left !important; }

input.small-input-text { width: 70px; }

input.medium-input-text { width: 300px; }

.text-area {
    width: 500px;
    height: 80px;
}

#main-create-content {
    background-color: #FAFBFC;
    margin: 15px 0 30px 0;
    padding: 20px 0;
    width: 978px;
}

#form-container {
    margin: 5px;
    padding: 5px;
    width: 95%;
}

div.logos-list {
    border: 1px solid #EEEEEE;
    width: 75%;
    padding: 5px;
    height: 170px;
    display: block;
    overflow-y: auto;
    margin-left: 10px;
}

form label {
    float: left;
    width: 200px;
    text-align: left;
    margin-right: 0;
    line-height: 23px;
    font-size: 96% !important;
    padding: 2px;
}

#more-events-wrapper span.box-selected { border: 2px solid black !important; }

#more-events-wrapper span.box {
    display: inline-block;
    cursor: pointer;
    vertical-align: top;
    border: 1px solid #eee;
    width: 150px;
    height: 90px;
    text-align: center;
    margin: 5px !important;
    margin-bottom: 25px;
}

#more-events-wrapper span.event-name {
    margin-top: 5px;
    overflow-y: auto;
    display: block;
    white-space: normal;
}

#charity-logos-wrapper span.box-selected { border: 2px solid black !important; }

#charity-logos-wrapper span.box {
    display: inline-block;
    cursor: pointer;
    vertical-align: top;
    border: 1px solid #eee;
    width: 110px;
    height: 120px;
    text-align: center;
    margin: 5px !important;
    margin-bottom: 25px;
}

#charity-logos-wrapper span.charity-name {
    vertical-align: text-bottom;
    white-space: normal;
}

.loading { background: #FFFFFF url('/Content/images/spinner.gif') no-repeat scroll 100% 50%; }

#frpImage { width: 125px !important; }

img.info-tip {
    width: 15px;
    height: 15px;
}

.text-tip {
    font-size: 10px !important;
    color: #808080 !important;
}

#PageType { width: 220px; }

.event-not-found-validation-error, .charity-not-found-validation-error { display: none; }

#txtEventName {
    -moz-transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    border: 1px solid #DDDDDD;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) inset;
    padding: 5px;
}

#term-condition-external-wrapper {
    width: 100%;
    overflow: scroll;
    overflow-x: hidden;
    overflow-y: auto;
    height: 150px;
    margin: 20px 0px 20px 0px;
    border: solid 1px #999;
}

#table-main { width: 100%; }

table.term-table tr td {
    color: #999999;
    font-size: 10px;
}

table tr td.term-table-header {
    background-color: #CCC;
    color: #FFF;
}

/* --------------------------------------------
                    MODAL
----------------------------------------------*/
/*
#simplemodal-overlay {
    background-color: #000;
    cursor: default;
}

#simplemodal-container {
    padding: 20px 20px 0;
    height: 300px;
    width: 400px;
    background-color: #F9F9F9;
    border: 6px solid #636363;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
}
    */

#simplemodal-container {
    padding: 20px 20px 0;
    height: 300px;
    width: 400px;
    background-color: #F9F9F9;
    border: 6px solid #636363;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    left: 50% !important;
    min-width: 60%;
    transform: translateX(-50%);
}


#simplemodal-overlay {
    background-color: #000;
    cursor: default;
    position: fixed;
    width: 100% !important;
    height: 100% !important;
}

#simplemodal-container a.modalCloseImg {
    background: url(static/close.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -14px;
    right: -18px;
    cursor: pointer;
}


@media screen and max-width(768px){
    transform: translateX(-50%);
    width: 90% !important;
    overflow: scroll !important;
    -webkit-overflow-scrolling:touch;
}
/* ----------------------------------------- */



#charityList .charityContainer {
    width: 17%;
    text-align: center;
    float: left;
    height: 125px;
    overflow: hidden;
    font-size: 10px;
    padding: 1%;
    border: solid 1px transparent;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

#charityList .charityContainer.k-state-selected {
    background: none;
    border: solid 1px #666;
    color: #000;
}

#charityList .charityContainer img {
    max-width: 80%;
    max-height: 60%;
    margin: 0 auto;
}


/* ============================================================
    Event Creator Vision Header Styles
    for system pages
*/

/* INITIALIZATION */
body.vision-event {
    font-size:12px;
}

body.vision-event label {
    display: initial;
}

/* HEADER */
body.vision-event #header, body.vision-event #header >div {
    height: auto;
}

body.vision-event .ec-page-grid-row.banner-row {
    padding: 0 0 15px 0;
    float: none;
}

body.vision-event div[widget-id="ec-banner-1"] {
    padding: 0;
}

body.vision-event .ec-page-grid-row.banner-row:after {
    content: '';
    clear: both;
    display: block;
}

/* CONTENT */
body.vision-event #main-wrapper .form-wrapper {
    padding: 15px;
    width: 100%;
}

body.vision-event div#joinTeamModal {
    display: block !important;
}

body.vision-event li.joinTeamContainer div#joinTeamModal {
    display: none !important;
}

body.vision-event .hidden-div {
    display: none;
}


body.vision-event .ui-widget input, 
body.vision-event .ui-widget select, 
body.vision-event .ui-widget textarea, 
body.vision-event .ui-widget button {
    color: #322E1D;
}

body.vision-event button#btnSubmit {
    min-width: 100px;
    border-radius: 50px;
    padding: 5px 10px;
    width: auto;
    text-align: center;
    font-size: 18px;
}

body.vision-event a.JoinTeamButton.jointeam-primary {
    min-width: 100px;
    border-radius: 50px;
    padding: 5px 10px;
    width: auto;
    text-align: center;
    font-size: 16px;
    text-decoration:none;
    cursor:pointer;
}


body.vision-event .qq-upload-button {
    background: #ccc;
    background-image: none;
    padding: 3px 15px;
    text-align: center;
    border-radius: 50px;
    width: auto;
    padding: 5px;
    /* max-width: 100px; */
    max-width: 100%;
    height: auto !important;
    text-align: center;
    background: #ddd;
    background-image: none;
    line-height: normal !important;
    margin: 0 5px 0 0 !important;
    border-radius: 20px;
    display: inline-block;
    padding: 8px 25px;
    vertical-align: middle;
}


body.vision-event .qq-upload-button span {
    background: transparent;
    text-align: center;
    background-image: none;
    font-size: 15px !important;
    line-height: normal !important;
    margin: 0 !important;
    display: block;
    padding: 0;
    height: auto !important;
}