/* CUSTOMISED STYLE SHEET FOR LONDON BALBOA COLLECTIVE WEBSITE */
/*                          LBC.CSS                            */
/***************************************************************/

.myAccordion .accordion-navigation>a {
    text-align: center;
}

/*** TABLES FOR CALENDAR / EVENTS LIST ***/
table {
    font-size: 15px;
}
td {
    padding: 2px;
    text-align: center;
}

/** parent table for calendar, gigs and events list **/   
.mybase { 
    margin-left: auto; 
    margin-right: auto;
}
.mybase tr { 
    vertical-align: top;
}

/** child table for next 3 events */
.myevent tr { 
    display: block;
    border-top: 1px dotted #000000;
}
.myevent td { 
    min-width: 20px;
    max-width: 400px;
    width: 200px;
    text-align: left;
}
.myevent td:first-child {
    min-width: 50px;
    max-width: 200px;
    width: 100px;
}
.myevent a {
    color: #1783C7;
    text-decoration: none;
}
.myevent a:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* child table for calendar */
.mytable tr {
    display: block;
    border-bottom: 1px dotted #000000;
    padding: 5px;
}
.mytable tr:first-child {
    display: block;
    border-top: 1px solid #000000;
}
.mytable tr:last-child {
    display: block;
    border-bottom: 1px solid #000000;
}
.mytable td {
    min-width: 20px;
    max-width: 400px;
    width: 200px;
    text-align: left;
    line-height: 16px;
    vertical-align: top;
    font-size: 15px;
    font-weight: 200;
}
.mytable td:first-child {
    min-width: 30px;
    max-width: 90px;
    width: 60px;
    text-align: left;
}
.mytable a {
    color: #1783C7;
    text-decoration: none;
}
.mytable a:hover {
    cursor: pointer;
    text-decoration: underline;
}

/** nested row in child table (mytable) **/
.nextevent {
    color:  #CC0000;
}
.nextevent a {
    color: #CC0000;
    text-decoration: underline;
}
.nextevent a:hover {
    cursor: pointer;
    text-decoration: none;
}
.google-content {
    display: inline-block;
	text-align: center;
}

/* mobile devices in portrait */
@media only screen
and (min-device-width : 320px)  
and (max-device-width : 480px)  
and (orientation : portrait) { 
	
	/* Force table to not be like tables anymore */
    .mybase {
        width: 100%;
        margin-left: auto; 
        margin-right: auto;
    }
    .mybase td { 
        width: 100%;
        text-align: center;
    }
    
    /* Force table to not be like tables anymore */
    .mytable table, thead, tbody, th, td, tr { 
	    display: block; 
    }
	.mytable td { 
	    /* Behave  like a "row" */
		border: none;
    	position: relative;
		font-size: 15px;
		max-width: 350px;
        width: 350px; 
		text-align: center;
    }
    .mytable td:first-child {
        position: relative;
        font-size: 15px;
        max-width: 350px;
        width: 350px; 
        text-align: center;
    }

    /* child table next 3 events */
    .myevent td { 
        width: 300px;
        max-width: 300px;
        text-align: center;
    }
    .myevent td:first-child {
        width: 300px;
        max-width: 300px;
        text-align: center;
    }
}