/*
 Theme Name:   WPEX-Earth-Child
 Theme URI:    http://www.hartleyandmarksgroup.com/
 Description:  WPEX Earth Child Theme
 Author:       Hartley & Marks
 Author URI:   http://www.hartleyandmarksgroup.com/
 Template:     wpex-earth
 Version:      1.0.0
 Tags:         
 Text Domain:  
*/

@import url("../wpex-earth/style.css");



/* =Theme customization starts here
-------------------------------------------------------------- */
#mainnav .sf-menu a, #navigation-responsive-toggle {
    padding:0 22px;
}

#wp-calendar tbody td:hover
{
    background:#fff;
    color:#c1afa0;
}

#wp-calendar .eventDayTD
{
    background: #432b1f; 
    color: #fff; 
}

#wp-calendar .eventDayTD:hover
{
    background: #432b1f; 
    color: #fff; 
}


.hp-highlight
{
    width:435px;
}

#wp-calendar.main, #footer #wp-calendar.main tr
{
    height:250px;
}

#recent-events .event-entry-content.fullpage {
    width: 800px;
}

#recent-events.fullpage{
    width: 100%;
}

@media only screen and (max-width: 959px) { 
    #recent-events .event-entry-content.fullpage {
    width: 560px;
    }
}

@media only screen and (max-width: 767px) {
    #recent-events .event-entry-content.fullpage {
    width: 150px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) { 
    #recent-events .event-entry-content.fullpage {
    width: 350px;  
    }   
}


/* Chris' call-to-action button   */
.myButton {
                -moz-box-shadow:inset 0px 1px 0px 0px #54a3f7;
                -webkit-box-shadow:inset 0px 1px 0px 0px #54a3f7;
                box-shadow:inset 0px 1px 0px 0px #54a3f7;
                background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #007dc1), color-stop(1, #0061a7));
                background:-moz-linear-gradient(top, #007dc1 5%, #0061a7 100%);
                background:-webkit-linear-gradient(top, #007dc1 5%, #0061a7 100%);
                background:-o-linear-gradient(top, #007dc1 5%, #0061a7 100%);
                background:-ms-linear-gradient(top, #007dc1 5%, #0061a7 100%);
                background:linear-gradient(to bottom, #007dc1 5%, #0061a7 100%);
                filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#007dc1', endColorstr='#0061a7',GradientType=0);
                background-color:#007dc1;
                -moz-border-radius:3px;
                -webkit-border-radius:3px;
                border-radius:3px;
                border:1px solid #124d77;
                display:inline-block;
                cursor:pointer;
                color:#ffffff !important;
                font-family:arial;
                font-size:13px;
                padding:6px 24px;
                text-decoration:none;
                text-shadow:0px 1px 0px #154682;
}
.myButton:hover {
                background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0061a7), color-stop(1, #007dc1));
                background:-moz-linear-gradient(top, #0061a7 5%, #007dc1 100%);
                background:-webkit-linear-gradient(top, #0061a7 5%, #007dc1 100%);
                background:-o-linear-gradient(top, #0061a7 5%, #007dc1 100%);
                background:-ms-linear-gradient(top, #0061a7 5%, #007dc1 100%);
                background:linear-gradient(to bottom, #0061a7 5%, #007dc1 100%);
                filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0061a7', endColorstr='#007dc1',GradientType=0);
                background-color:#0061a7;
}
.myButton:active {
                position:relative;
                top:1px;
}

table.recurring
{
    table-layout: fixed;
}

.weekly-schedule table .even, .weekly-schedule table tbody tr.even, .weekly-schedule table tbody tr:nth-child(even)
{
    background:white;
}

.weekly-schedule table .odd, .weekly-schedule table tbody tr.odd, .weekly-schedule table tbody tr:nth-child(odd)
{
    background:white;
}

.entry td.active-schedule
{
    background: #f6f2e8;
}

td.time
{
    width:50px;
}

td.weekly-schedule-header 
{
    font-size: 12px;
    background: url("../wpex-earth/images/cloth.png");
    font-weight: bold;
    text-align: center;
    width: 107px;
    padding: 5px;
    border-bottom: 1px solid #dcd1c9;
    border-top: 1px solid #dcd1c9;
    border-right: 1px solid #dcd1c9;
}

td.hide
{
    border: none;
    background: #fbf9f4;
}




@media only screen and (min-width: 480px) and (max-width: 767px) { 
    .weekly-schedule
    {
        overflow: auto;
    }

    td.weekly-schedule-header
    {
        font-size: 12px;
        background: url("../wpex-earth/images/cloth.png");
        font-weight: bold;
        text-align: center;
        width: 76px;
        padding: 5px;
        border-bottom: 1px solid #dcd1c9;
        border-top: 1px solid #dcd1c9;
        border-right: 1px solid #dcd1c9;
    }

    td.time 
    {
        width: 30px;
    }
}



@media only screen and (min-width: 768px) and (max-width: 959px) {

    td.weekly-schedule-header
    {
        font-size: 12px;
        background: url("../wpex-earth/images/cloth.png");
        font-weight: bold;
        text-align: center;
        width: 76px;
        padding: 5px;
        border-bottom: 1px solid #dcd1c9;
        border-top: 1px solid #dcd1c9;
        border-right: 1px solid #dcd1c9;
    }

    td.time 
    {
        width: 30px;
    }

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-width : 320px) and (max-width : 479px) {
/* Styles */
        td.weekly-schedule-header
    {
        font-size: 12px;
        background: url("../wpex-earth/images/cloth.png");
        font-weight: bold;
        text-align: center;
        width: 76px;
        padding: 5px;
        border-bottom: 1px solid #dcd1c9;
        border-top: 1px solid #dcd1c9;
        border-right: 1px solid #dcd1c9;
    }

    td.time 
    {
        width: 30px;
    }

    .weekly-schedule
        {
            overflow: auto;
        }
}


/*#mainnav {
display: table;
width: 100%;
border-collapse: collapse;
border: none;
}

#mainnav ul {
display: table-row;
}

#mainnav li {
display: table-cell;
margin: 0;
}*/



/*CSS For spreading navigation links*/
ul#menu-main-menu {
    width: 940px;
}

/*#mainnav .sf-menu > li {
    width: 154px;
    text-align: center;
}

ul.sub-menu {
text-align: left;
}*/



.tt_upcoming_event_controls a:hover {
    border-color: #dd9933;
    background-color: #dd9933;
}

.tt_timetable .event a, .tt_timetable .event .event_header {
color: #758918 !important;
}


.timetable_sidebar_box{
    margin-bottom: 0px;
    margin-top: 0px;
}

/*.tt_event_theme_page h1, h2, h3, h4, h5, h6 { color: #2c1c14; line-height: 1.2em; font-weight: bold;}
.tt_event_theme_page h1 { color: #2c1c14; font-size: 21px; line-height: 21px; font-weight: 700; margin-bottom: 25px; }
.tt_event_theme_page h2 {color: #2c1c14; font-size: 16px }
.tt_event_theme_page h3 {color: #2c1c14; font-size: 14px }
.tt_event_theme_page h4 {color: #2c1c14; font-size: 13px }
.tt_event_theme_page h2, h3, h4, h5, h6 { margin-top: 30px; margin-bottom: 20px; }
.tt_event_theme_page h2 a, h3 a, h4 a { color: #312820 }
.tt_event_theme_page p { font-size: 100%; color: #645142}*/

/*.box_header{
    margin-top:0px;
    margin-bottom: 0px;
}*/

.tt_upcoming_events_widget h5 {
    margin-top:0px;
    margin-bottom:0px;
}

.tt_timetable th, .tt_timetable td{
    color: #645142;
}

.tabs_box_navigation.sf-timetable-menu .tabs_box_navigation_selected:hover {
    color: #645142;
}

.sf-timetable-menu li:hover ul a, .sf-timetable-menu li.submenu:hover ul a {
    color: #645142 !important;
}

#menu-item-60711 {
    background-color:#fc464e!important;
}

#menu-item-60711.current-menu-item > a {
    background: rgba(81, 81, 81, 0)!important;
    color:white!important;
}