/*------------------------------------------------------------------------------
Title:          Shared CSS for mobile pages
Date Created:   29 December 2013
Date Modified:  20 September 2015
------------------------------------------------------------------------------*/

*{
    font-family:"HelveticaNeue-Light","Eurostile","Kozuka Gothic Pr6N",sans-serif;/* !important;*/
    font-size:16px;
    /*font-size:larger;*/
    
    /*http://stackoverflow.com/questions/9675478/how-to-add-padding-or-border-to-a-div-and-keep-width-and-height*/
    -webkit-box-sizing: content-box;/* Safari/Chrome, other WebKit */
    -moz-box-sizing: content-box;    /* Firefox, other Gecko */
    box-sizing: content-box;
}

html{
    height:100%;
}

body{
    height:100%;
    margin:0px;
    margin-top:0px;
}

body, #map-canvas{
    background: -webkit-linear-gradient(rgb(11,135,225),rgb(0,99,185));
    background: -moz-linear-gradient(rgb(11,135,225),rgb(0,99,185));
    background: -o-linear-gradient(rgb(11,135,225),rgb(0,99,185));
    background: -linear-gradient(rgb(11,135,225),rgb(0,99,185));
}

/*https://stackoverflow.com/questions/6722467/how-to-remove-the-default-link-color-of-the-html-hyperlink-a-tag*/
a{
    text-decoration: none;
    color: inherit;
}

}

input[type='text'],input[type='tel'], input[type='textbox'], select{
    text-align:center;
    width:90%;
}

.top_option input[type='text'], .top_option input[type='textbox']{
    margin:2px;
}

select{
    cursor:pointer;
}

option{
    text-align: center;
}

#filterMaxDistance{
    width:6em;
}

.menu_bar, .menu_bar_spacer{
    background:rgba(0,0,255,0.75);
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: black;
    line-height:1.5em;
    margin:0;
    position:fixed;
    left:0; /*Keeps the menu bar to filling the width of the visible screen*/
    top:0;
    right:0;
    z-index:2;
}

.bottom_menu, .bottom_menu_spacer{
    background:rgba(0,0,255,0.75);
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: black;
    margin:0;
    position:fixed;
    left:0; /*Keeps the menu bar to filling the width of the visible screen*/
    right:0;
    bottom:0;
}


.menu_bar_spacer, .bottom_menu_spacer{
    background:transparent;
    border-color:transparent;
    position:static;
}


.ticket_info select{
    width:auto;
}

.bottom_menu_spacer{
    opacity:0;
}

.menu_bar_action, .menu_bar_option{
    border-radius:5px;
    border-style:solid;
    border-width:1px;
    background:limegreen;
    cursor:pointer;
    display:inline-block;
    float:left;
    font-weight:bold;
    margin:2px;
    padding:1px
}

.menu_bar_option{
    background:none;
    color:white;
    float:right;
}

.fa{
    margin-left: 3px;
    margin-right: 3px;
}

/*Hack div to center-align the Home button*/
#LeftContainer{
    float:left;
    text-align:left;
    width:40%;
}

#CenterContainer{
    float:left;
    text-align:center;
    width:20%;
}

#HomeButton{
    float:none;
}

.menu_bar_spacer .menu_bar_action{
    float:none;
}

.section_cell{
    background-color:AliceBlue;
    border-color:black;
    border-radius:5px;
    border-style:solid;
    border-width:1px;
    margin-bottom:2px;
    min-height:16px;
    padding:0px;
    text-align: center;
    width:100%;
}

.link{
    background-color:lemonchiffon;
    cursor:pointer;
    display:inline-block;
    min-height:16px;
    text-align: center;
}

.beta_news{
    background-color:darkgray !important;
    border-color:black;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    color:red !important;
    display:block;
    margin-left:-4px;
    margin-right:-4px;
    /*margin-top:-4px;*/
    margin-bottom:6px;
    /*width:100%;*/
}

.header_button{
    background-color: lemonchiffon !important;
    color:black;
    display:inline-block;
    width:100%;
}

ul{
    display:inline-block;
    text-align: center;
}

li{
    text-align:left;
}

/*elements in the events list*/
.dead_event_element, .event_element, .no_event_element{
    background:white;
    border-color:#D6F4FF;
    border-style:solid;
    border-width:2px;
    cursor:pointer;
    /*display:inline-block;*/
    margin-top:0px;
    margin-bottom:2px;
    margin-left:0px;
    margin-right:0px;
    /*padding-left:2px;
    padding-right:2px;*/
}

.event_element{
    /*background: url("http://www.needfortire.com/images/bmw-z3-m-coupe_key_9.jpg") no-repeat center;*/
    background-position:center top;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -o-background-size: 100% auto;
    background-size: 100% auto;
    /*padding:2px;*/
    
    /*Flexbox settings*/
    display:-webkit-flex;
    display:-ms-flex;
    display:flex;
    -webkit-flex-direction:row;
    -ms-flex-direction:row;
    flex-direction:row;
    /*-webkit-justify-content: space-between;
    justify-content: space-between;*/
    -webkit-align-items:stretch;
    -ms-align-items:stretch;
    align-items:stretch;
}

.event_element:hover,
.event_element:hover .event_chevron_container,
.gm-style-iw:hover,
.gm-style-iw:hover .event_chevron_container{
    border-color:green;
}

.event_element:hover .event_chevron_container,
.map_event_element:hover .event_chevron_container{
    background:green;
    color:white;
}

.event_element div{
    display:inline;
}

.content_string_container{
    /*border-style:solid;*/
    margin:2px;
    -webkit-flex-grow:1;
    -ms-flex-grow:1;
    flex-grow:1;
    text-align:center;
}

.event_chevron_container{
    background:-webkit-linear-gradient(left,transparent,#D6F4FF 0em);
    color:green;
    /*border-style:solid;*/
    /*padding-right:2px;*/
    min-width:1em;
    
    /*Flexbox settings*/
    /*https://css-tricks.com/centering-css-complete-guide/*/
    display:-webkit-flex !important;
    display:flex !important;
    -webkit-justify-content:center;
    -ms-justify-content:center;
    justify-content:center;
    -webkit-align-items:center;
    -ms-align-items:center;
    align-items:center;
}

.text{
    /*http://stackoverflow.com/questions/5662178/opacity-of-divs-background-without-affecting-contained-element-in-ie-8*/
    background: rgba(255,255,255,0.8);
    border-radius:2px;
    margin:1px;
    padding-left:1px;
    padding-right:1px;
    text-shadow:    -1px -1px 0 white,
                    1px -1px 0 white,
                    1px 1px 0 white,
                    -1px 1px 0 white;
}

.title{
    background: rgba(255,255,255,0.9);
}



.dead_event_element{
    cursor:default;
    /*margin-top:6px;*/
}

.no_event_element{
    /*height:581px;*/
    height:100%;
    cursor:default;
}

.no_event_element_text{
    text-align:center;
    padding-right:10px;
}

/*Text showing how many days until the event*/
.gapTo{
    margin-left:5px;
    font-weight:bold;
}
.master_categories{
    padding:0 !important;
}

.master_label{
    margin-right:2px;
}

.expander{
    display:inline-block;
    margin-left:-2px;/*Inverse of .master_label margin_right*/
    min-width:16px;
    text-align:center;
}

.options_display{
    display:inline;
}

.options_hide{
    display:none;
}

.categories{
    border-color:blue;
    border-radius:5px;
    border-style:solid;
    border-width:1px;
    background-color:#d6f4ff;
    color:midnightblue;
    display:inline-block !important;
    font-weight:bold;
    font-size:small;
    margin-left:1px;
    margin-bottom:1px;
    margin-top:1px;
    padding-left:0px;
    padding-right:2px;
}

#events_counter .categories:hover, .event_element .categories:hover, .map_event_element .categories:hover, #event_categories .categories:hover{
    border-width:2px;
    cursor:pointer;
    margin-bottom:0px;
    margin-top:0px;
}

.master_categories input[type="checkbox"]{
    margin:1px !important;
}

.new{
    background-color:lightgreen;
    /*border-color:limegreen;*/
}

.image{
    display:block;
    margin: 0 auto; /*http://stackoverflow.com/questions/9980531/css-html-center-image-in-div*/
    max-width:100%;
}

.image_container{
    overflow:hidden;
}

#tagline{
    font-weight:bold;
}

.option_box{
    margin-top:-2px;
    margin-bottom:0px;
    width:100%;
}

.option_container{
    background-color:LemonChiffon;
    border-radius:5px;
    border-style:solid;
    border-width:1px;
    display:inline-block;
    margin-bottom:2px;
    margin-top:2px;
    width:100%;
}

.option_container .option_container{
    margin-left:-1px;
    /*margin-bottom:2px;*/
}

.option_container .bottom{
    margin-bottom:-2px;
}

.option_container .option_container .option_master{
    margin:-1px;
}

.option_container_top{
    margin-top:3px;
}

.option_selections{
    display:none;
}

#master_selection{
    /*border-style:none;*/
    /*display:none;*/
    margin-bottom:-2px;
}

.option_master{
    background-color:lemonchiffon;
    border-radius:5px;
    border-style:solid;
    border-width:1px;
    cursor:pointer;
    font-weight: bold;
    text-align: center;
    width:100%;
}

.option_selection_top{
    margin-bottom:-1px;
    margin-left:-1px;
    margin-top:-1px;
}


.feedback{
    font-weight: normal;
}

.option{
    border-top-style: dotted;
    border-top-width: 1px;
    text-align:center;
}

.option_top{
    border-top-style:none;
}

.selection{
    display:none;
    /*display:inline-block;*/
    max-height:0px;
    overflow:hidden;
    /*visibility:hidden;*/
    width:100%;
    /*
    -webkit-transition: all 0.5s linear;
    -moz-transition: all 0.5s linear;
    -o-transition: all 0.5s linear;
    transition: all 0.5s linear;
    */
}

.search_button{
    background:LightSkyBlue;
    border-color:blue;
    border-radius:5px;
    border-style:solid;
    border-width:2px;
    color:midnightblue;
    cursor:pointer;
    display:inline-block;
    font-weight: bold;
    margin:3px;
    padding-left:2px;
    padding-right:2px;
    
    /*remove the user's ability to select button text*/
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.reset{
    background:darkgray;
    border-color: lightgray;
    color:black;
    cursor:pointer;
    display:block;
    font-weight: normal;
}

.hide{
    display:none !important;
}

#clear_location{
    display:inline-block;
}

#reset_button{
    /*display:block;*/
    margin-bottom:2px;
    margin-top:2px;
}

#search_button, #search_again_button{
    background-color:limegreen;
    border-color:green;
    display:block;
    margin:2px;
}

#search_again_button{
    display: inline-block;
}

.showLeftBar #search_again_button{
    display:none;
}

.showLeftBar .footer_filter{
    display:none;
}

.unselected{
    border-width:1px;
    font-weight: normal;
    padding:1px;
}

/*Fields to remain hidden from user*/
#dateselection, #lat,#lng{
    display:none;
}

#tags_selection input[type='checkbox']{
    /*display:none;*/
    margin-right:0;
}

.icon{
    /*float:left;*/
    margin:0 auto;
    max-height:0.8em;
}

#events_counter{
    margin-top:1px;
}

#events_counter .dead_event_element{
    cursor:pointer;
}

#events_list, #events_counter{
    max-width:50em;
    margin:auto;
    text-align:center;
}

.text_cell{
    border-color:cyan;
    background-color:deepskyblue;
}

.button{
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    color:orange;
    cursor: pointer;
    display:inline-block;
    font-weight: bold;
    margin:5px;
    padding: 5px;
    text-align: center;
    vertical-align: middle;
    width:auto;
    background:yellow;
}

#eventname{
    font-size: larger;
    font-weight: bold;
}

.time_input{
    width:4em;
}

.date_input{
    cursor: pointer;
}

.currency_input{
    width:6em;
}

/*Styling for the Preview boxes*/
.preview{
    background: deepskyblue;
    border-color:cyan;
}

.preview_header{
    color:red;
    font-weight:bold;
}

/*Button that links to tickets page*/
.get_tickets{
    border-radius:5px;
    border-style:solid;
    border-width:1px;
    background-color:orange;
    color:inherit;
    cursor:pointer;
    display:inline-block;
    /*float:right;*/
    font-weight:bold;
    margin:2px;
    padding:2px;
    text-decoration: none;
}

.ticket_text{
    color:white;
    display:inline-block;
    /*float:right;*/
    font-weight:bold;
    margin:2px;
    padding:3px;
}

.ticket_info{
    /*float:right;*/
    text-align: center;
}

.spacer{
    border-color:transparent;
    background:none;
    cursor:inherit;
    color:transparent;
    height:1em;
}

.bottom_menu_spacer .spacer{
    height:inherit;
}

.label{
    font-weight:bold;
}

.choice, .subChoice{
    margin:2px;
    color:orange;
    font-weight:bold;   
}

.subChoice{
    font-weight:normal;
}

.flag_icon{
    margin-left:2px;
    margin-right:2px;
}

.top_option{
    background:white;
    border-radius:5px;
    border-style:solid;
    border-width:1px;
    cursor:pointer;
    margin:2px;
    margin-bottom:0;
    padding:1px;
    text-align:center;
}

.option_selection{
    max-height:0em;
    overflow:hidden;
    -webkit-transition: .3s ease all;
    -moz-transition: .3s ease all;
    -o-transition: .3s ease all;
    transition: .3s ease all;
}

.show_options{
    max-height:60em;
}

.option_choice{
    border-top-style:dotted;
    border-top-width:1px;
    /*margin-top:2px;*/
    padding:1px;
    cursor:default;
}

/*Youtube embedded CSS*/
/*http://webdesignerwall.com/tutorials/css-elastic-videos*/
.video_wrapper{
    display:block;
    margin: 0 auto;
    width:560px;
    max-width:100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/*End of Youube embedded CSS*/

/*off-canvas css*/
#outer_container{
    height:100%;
    width:100%;
    overflow-x:hidden;
    overflow-y:scroll;
    position:relative;
}

#inner_container{
    /*background: -webkit-linear-gradient(rgb(11,135,225),rgb(0,99,185));*/
    height:100%;
    position:relative;
}

#main_content{
    background: -webkit-linear-gradient(rgb(11,135,225),rgb(0,99,185));
    background: -moz-linear-gradient(rgb(11,135,225),rgb(0,99,185));
    background: -o-linear-gradient(rgb(11,135,225),rgb(0,99,185));
    background: linear-gradient(rgb(11,135,225),rgb(0,99,185));
    position:relative;
    min-height:100%;
    padding-left:4px;
    padding-right:4px;
    /*z-index:4;*/
}

#main_content, .menu_bar, .menu_bar_spacer, .bottom_menu_spacer, .bottom_menu{
    min-width:240px;
}

#left_bar{
    background: -webkit-linear-gradient(right,limegreen,green);
    background: -moz-linear-gradient(right,limegreen,green);
    background: -o-linear-gradient(right,limegreen,green);
    background: linear-gradient(right,limegreen,green);
    /*border-right:solid;*/
    border-width:1px;
    height:100%;
    width:360px; /*set in .display_left_bar*/
    /*position:absolute;*/
    top:0;
    /*left:-20%;*/
    /*-webkit-transform: scale3d(0.9,0.9,1);
    transform: scale3d(0.9,0.9,1);*/
    -webkit-transform-origin: left top;
    -moz-transform-origin: left top;
    -o-transform-origin: left top;
    transform-origin: left top;
    position:fixed;
    overflow:scroll;
    /*z-index:3;*/
}

#inner_container, #main_content, .menu_bar, .menu_bar_spacer, .bottom_menu_spacer, .bottom_menu, #event_info{
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
}

#inner_container.showLeftBar .slide{
    /*-webkit-transform:translate3d(360px,0,0);
    transform:translate3d(360px,0,0);*/
    margin-left:360px;
}

#inner_container.showLeftBar #map-canvas{
    /*-webkit-transform:translate3d(360px,0,0) !important;
    transform:translate3d(360px,0,0) !important;*/
    margin-left:360px;
}

#map-canvas{
    -webkit-transition: .3s ease -webkit-transform;
    transition: .3s ease transform;
}

.hide_left_bar{
    -webkit-transition: none;/*.3s;*/
    transition: none;/*.3s;*/
    z-index:-1;
    /*width:0;*/
}

.display_left_bar{
    -webkit-transition: .3s ease all;
    transition: .3s ease all;
    -webkit-transition-delay: z-index .3s;
    -transition-delay: z-index .3s;
    z-index:3;
    /*width:20%;*/
}

#filter{
    background:limegreen;
    margin-left:-1px;;
    padding-left:4px;
    padding-right:2px;
    border-left:none;
    border-top-left-radius:0;
    border-bottom-left-radius:0;
    z-index:5;
}

#filter .menu_bar_label_text:after{
    content:"Search Events";
}

.showLeftBar #filter .menu_bar_label_text:after{
    content:"Hide";
}

#HomeButton .menu_bar_label_text:after{
    content:"Home";
}

#MapButton .menu_bar_label_text:after{
    content:"Map View";
}

#ListButton .menu_bar_label_text:after{
    content:"List View";
}

/*Chevron ccs*/
#filter .chevron{
    margin-right:4px;
}

.option_header .chevron::before{
    border-color:green;
}

/*http://codepen.io/jonneal/pen/kptBs*/
.chevron::before{
    margin-top:2px;
    -webkit-transition: .5s ease all;
    transition: .5s ease all;
}

.chevron::before {
	border-style: solid;
	border-width: 0.25em 0.25em 0 0;
	content: '';
	display: inline-block;
	height: 0.45em;
	left: 0.15em;
	position: relative;
	top: 0.15em;
    	-webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	vertical-align: top;
	width: 0.45em;
}

.chevron.right:before {
	left: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.chevron.bottom:before {
	top: 0;
        -webkit-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	transform: rotate(135deg);
}

.chevron.left:before {
	left: 0.25em;
        -webkit-transform: rotate(-135deg);
	-ms-transform: rotate(-135deg);
	transform: rotate(-135deg);
}
/*End of Chevron css*/

/*Media query to adjust display of event list*/
@media all and (min-width:28em){
    #events_list, #events_counter{
        max-width:none;
    }
    
    .event_element{
        display:-webkit-inline-flex;
        display:-ms-inline-flex;
        display:inline-flex;
        margin-left:2px;
        width:11em;
    }
}

/*Media query to adjust menu bar display*/
@media all and (max-width:730px){
    .showLeftBar #LeftContainer{
        width:30%;
    }
    
    .showLeftBar #CenterContainer{
        width:40%
    }

    .showLeftBar #MapButton .menu_bar_label_text:after{
        content:"Map";
    }
    
    .showLeftBar #ListButton .menu_bar_label_text:after{
        content:"List";
    }
}

@media all and (max-width:660px){
    .showLeftBar .menu_bar_label_text:after{
        display:none;
    }s
}

@media all and (max-width:450px){
    #left_bar{
        width:80%;
    }
    
    #inner_container.showLeftBar .slide{
        /*-webkit-transform:translate3d(80%,0,0);
        transform:translate3d(80%,0,0);*/
        margin-left:80%;
    }
    
    #inner_container.showLeftBar #map-canvas{
        /*-webkit-transform:translate3d(80%,0,0) !important;
        transform:translate3d(80%,0,0) !important;*/
        margin-left:80%;
    }
    
    #left_bar .search_button, #left_bar .categories{
        display:block;/*Make the search buttons larger on smaller screens*/
        min-height:1.5em;
        line-height:1.5em;
    }
    
    #LeftBar .categories{
        display:block
    }
}

@media all and (max-width:370px){
    /*as with max-width:450*/
        #left_bar{
        width:80%;
    }
    
    #inner_container.showLeftBar .slide{
        /*-webkit-transform:translate3d(80%,0,0);
        transform:translate3d(80%,0,0);*/
        margin-left:80%;
    }
    
    #inner_container.showLeftBar #map-canvas{
        /*-webkit-transform:translate3d(80%,0,0) !important;
        transform:translate3d(80%,0,0) !important;*/
        margin-left:80%;
    }
    
    #left_bar .search_button, #left_bar .categories{
        display:block;/*Make the search buttons larger on smaller screens*/
        min-height:1.5em;
        line-height:1.5em;
    }
    
    #LeftBar .categories{
        display:block;
    }
    /*End of as with max-width:450*/
    
    #LeftContainer{
        width:30%;
    }
    
    #CenterContainer{
        width:40%
    }
    
    #filter .menu_bar_label_text:after{
        content:"Search";
    }
    
    #MapButton .menu_bar_label_text:after{
        content:"Map";
    }
    
    #ListButton .menu_bar_label_text:after{
        content:"List";
    }
}

@media all and (max-width:300px){
    .menu_bar_label_text:after{
        display:none;
    }
}

/*end of off-canvas css*/