/* 
Theme Name: Tresham
Author: broadbean
Author URI: http://broadbeandigital.co.uk
Description: The tresham theme is a child theme of the super-skeleton theme
Template: super-skeleton
Version: 1.0
*/

/* =Shared
-------------------------------------------------------------- */

body
{
    background-image: none;
    color: #353636;
    font: 15px/19px 'Open Sans', "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; 
}

body:after
{
    background-image: none;
}

.container
{
    -webkit-backface-visibility: hidden !important;
}

body, a, a.button, input[type="submit"].button, input[type="submit"]
{
    font-family: 'Open Sans', sans-serif;
    
}

a, a:hover, a:visited, a:active{text-decoration: none;color: #58ad78;}

h1, h2, h3, h4, h5, h6
{
    color: #353636;
}
h1, h2, h3, h4, h5, h6, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
{
    font-family: 'Open Sans', sans-serif;
    text-shadow: none;
}

h2.title, h1.title
{
    background: none;
    font-size: 1.5em;
    font-weight: 400;
    padding-bottom: 0px;
}

h2.title span, h1.title span
{
    background: none;
    padding-bottom: 0px;
}

h1 { line-height: 1.5em; font-size: 1.5em;}
h2 { font-size: 1.3em; font-weight: 400;line-height:1.45em;margin-bottom:5px;margin-top: 30px;}
h3 { font-size: 1.1em; line-height: 1.4em; }
h4 { font-size: 1.05em; }
h5 { font-size: 1em; }

a:hover, button:hover
{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80); 
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
    text-shadow: none;
}

.sprite
{
    background-image: url('images/sprites.png');
    background-repeat: no-repeat;
}

/* Buttons */
a.button
{
    background: none;
    display: block;
    padding: 9px 20px;
    line-height : 22px !important;
    color: #ffffff !important;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    text-shadow: none;
    text-transform: uppercase;
    border: none;
    -moz-border-radius: 0x;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

a.inline.button
{
    display: inline-block;
}

a.button:hover, input[type="submit"].button:hover, input[type="submit"]:hover
{
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80); 
    background: none;
    border: none;
    text-decoration: none;
}

input[type="submit"].button, input[type="submit"], #tribe-events .button
{
    background: none;
    height: 35px;
    padding: 0px 10px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600;
    text-align: center;
    text-shadow: none;
    text-transform: uppercase;
    min-width: 105px;
    -moz-border-radius: 0x;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    border: none;
}

button,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, 
#tribe-events .button
{
    -moz-border-radius: 0x;
    -webkit-border-radius: 0px;
    border-radius: 0px;
}

.green.button, .green.button:hover, input[type="submit"].green.button, input[type="submit"].green.button:hover, input[type="submit"], input[type="submit"]:hover,
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
#tribe-events .button, #tribe-events .button:hover
{
    background-color: #58ad78;
}

.grey.button, .grey.button:hover, input[type="submit"].grey.button, input[type="submit"].grey.button:hover
{
    color: #000000 !important;
    font-weight: 700;
    background-color: #c1c1c1;
}

blockquote, blockquote p
{
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    border-left: none;
    color: #353636;
}

table
{
    margin: 20px 0px;
    width: 100%;
    text-align: left;
}

table th, .tablepress thead th
{
    color: #ffffff;
    background-color: #328d54;
    font-size: 1.2em;
    font-weight: 600;
    padding: 14px 10px;
    text-align: left;
    text-transform: none;
}

table td
{
    text-align: left;
    vertical-align: top;
}
table td, table tr:hover td, table td:hover
{
    color: #353636;
    background-color: #f1f1f1 !important;
    /*padding: 12px 10px;*/
    font-size: 1.1em;
}

table tr.odd td, table tr.odd
{
    background-color: #f9f9f9 !important;
}

table th.first, table td.first
{
    padding-left: 30px !important;
    max-width: 178px;
}

table th.last, table td.last
{
    padding-right: 30px !important;
}

table td.center, table th.center
{
    text-align: center;   
}

td select
{
    margin: 0px;
    width: auto;
    min-width: 0px;
    color: #353636;
    font-size: 1em;
}

td .green.button
{
    margin-bottom: 0px;
    padding: 2px 10px;
    font-size: 13px;
}


td input.green.button
{
    height: auto;
    padding: 2px 10px !important;
}

td a
{
    text-decoration: underline;
}

.alignright
{
    margin: 20px 0px 20px 20px;
}


/* Header */

#section-header
{
    color: #353636;
    margin-bottom: 20px;
}

#section-header.cart-empty {
    margin-top: 36px;
}

#section-tophat
{
    background-image: none;
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: none;
    background-color: transparent !important;
    
    text-shadow: none !important;
}

#section-tophat:after
{
    background: none;
    background-color: transparent !important;
    
}
#section-tophat .email
{
    float: right;
    font-weight: 600;
    font-size: 1.1em;
    padding: 7px 18px 12px 55px;
    border-radius: 0px 0px 10px 10px; 
}
    
#section-tophat a
{
    text-decoration: underline;
}

#section-tophat .green.button
{
    font-size: 13px;
    float: right;
    padding: 8px 13px;
    line-height: 19px !important;
    margin-left: 8px;
    margin-bottom: 0px;
    text-transform: none;
}

#section-tophat .basket, 
#section-tophat .my-account,
#section-tophat .donate
{
    float: right;
}

#section-tophat .basket .button,
#section-tophat .my-account .button,
#section-tophat .donate .button
{
    margin-top: 0;
    margin-bottom: 0;
    background-color: #328d54 !important;
    line-height: 1em;
    padding: 7px 18px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    text-transform: none;
    background-repeat: no-repeat;
    background-position: 8px center;
    font-size: 1em;
    border-radius: 0px 0px 10px 10px;
    font-family: 'Open Sans', sans-serif;
}

#section-tophat .my-account .button
{
    background-image: none !important;
    margin: 0 10px 0 0;
}
#section-tophat .donate .button {
    margin: 0 10px 0 0;
}

#section-tophat .basket .button
{
    position: relative;
    padding-left: 48px;
    min-height: 36px;
}

#section-tophat .basket .cart-empty.button {
    padding-left: 35px;
}

#section-tophat .basket .button .sprite,
.mobile-basket .sprite
{
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 21px;
    height: 18px;
    display: block;
    position: absolute;
    left: 14px;
    top: 9px;
}

#section-tophat .basket .amount
{
    font-weight: 700;
}

.mobile-basket
{
    display: none !important;
}

h1#logo
{
    margin: 0px;
    line-height: 0em;
}

.logospace a:hover
{
    opacity: 1;
}

#section-header .navigation
{
   margin-top: 0px;
   background-color: #58ad78;
}

.welcome 
{
    position: relative;
    top: 60px;
    padding-left: 30px;
    text-align: right;
}
.welcome .title
{
    font-size: 1.3em;
    line-height: 1.3em;
    font-weight: 600;
    color: #58ad78;   
}

.welcome a
{
    text-decoration: underline;
    display: inline-block; 
    height: 20px; 
    padding: 5px;
}

.welcome a:last-child {
    padding-right: 0;
}

.sf-menu
{
    height: 41px;
}

.sf-menu > li, .sf-menu > li:hover
{
    border: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

.sf-menu > li:hover
{
    background: none;
    
}

.sf-menu > li:first-child > a, .sf-menu > li > a
{
    padding: 12px 20px 13px 20px;
}

.sf-menu > li.last > a
{
    padding-right: 0px;
}

.sf-menu > li > a
{
    font-size: 14px;
    color: #ffffff !important; 
}

.sf-menu > li:hover > a > strong, .sf-menu > a:hover > strong
{
    padding-bottom: 3px;
    color: #ffffff !important;
}

.sf-menu a, .sf-menu a:visited, .sf-menu a:active, .sf-menu a:hover
{
    color: #ffffff !important;
}
 
.sf-menu li.current-menu-item a
{
    background-repeat: no-repeat;
    background-position: top center;
}


/* Sub Nav */

.sf-menu li ul
{
    min-width: 198px;
    background-image: none !important;
    background-color: transparent !important;
    padding: 0px;
/*    display: block !important;
    visibility: visible !important;*/
    text-shadow: none;
    
}

.sf-menu li li
{
    background-color: transparent !important;
    border: none !important;
    padding: 0px 0px 0px 0px;
    margin-bottom: 0px;    
    
}

.sf-menu li:hover ul, .sf-menu li.sfHover ul
{
    left: 0px;
    top: 41px;
}

.sf-menu ul li a, .sf-menu.light ul li a
{
    color: #ffffff !important;
    font-size: 14px;
    background-color: #58ad78 !important;
    text-shadow: none !important;
    display: block;
    padding-left: 15px;
    padding-right: 15px;
    width: auto !important;
    border-top: 1px transparent solid !important;
    -moz-background-clip: padding;
    -webkit-background-clip: padding;
    background-clip: padding-box;
}

.sf-menu li li:last-child
{
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
}

.sf-menu.light li li:hover, .sf-menu.light li li.sfHover, .sf-menu.light li li:focus, .sf-menu.light li li:hover, .sf-menu.light li li:active
{
    background-color: transparent !important;
    background-image: none !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
}

.sf-menu.light li li:hover a, .sf-menu.light li li.sfHover a, .sf-menu.light li li:focus a, .sf-menu.light li li:hover a, .sf-menu.light li li:active a
{
    background-color: #58ad78 !important;
    opacity: 0.8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80); 
    color: #ffffff !important;
}

.home .breadcrumbs
{
    display: none;
}

.breadcrumbs
{
    margin-top: 30px;
    
}

.breadcrumbs .separator
{
    padding: 0 5px;
}

/* =Footer
-------------------------------------------------------------- */
.footer-top
{
    background-color: #f1f1f1;
    padding-top: 55px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.footer-top .container
{
    z-index: 10;
    padding-bottom: 40px;
}




.footer-top .widget-title
{
    font-size: 1.4em;
    color: #58ad78;
}

.footer-top ul.display-posts-listing
{
    clear: both;
}
.footer-top ul.display-posts-listing:after
{
    content: '\0020';
    display: block;
    overflow: hidden;
    visibility: hidden;
    width: 0;
    height: 0;
    clear: both;
}

.footer-top ul li.listing-item
{
    width: 84px;
    padding: 0px 11px 6px 0px;
    float: left;
    border: none !important;
}

.footer-top ul li.listing-item img
{
    border: none;
}

.footer-top ul li.listing-item .title
{
    display: none;
}

.footer-top .social-icon {
    margin-top: 20px;
    width: 75px;
    height: auto;
}

.tree-wrapper
{
    max-width: 980px;
    margin: 0 auto;
    position: relative;
}

.tree-image
{
    
    background-image: url('images/grey-tree.png');
    background-repeat: no-repeat;
    width: 345px;
    height: 394px;
    position: absolute;
    right: -90px;
    bottom: 0;
    z-index: 1;
}

.footer-newsletter
{
    background-color: #58ad78;
    color: #ffffff;
}

.footer-newsletter .inner-content
{
    position: relative;
    padding: 20px 0px 10px 0px;
}

.footer-newsletter .widget input.email
{
    float: left;
    margin-right: 12px;
}

.footer-newsletter .widget-title
{
    
    font-weight: 300;
    color: #ffffff;
    font-size: 1.7em;
}

.footer-newsletter .widget a
{
    text-decoration: underline;
    color: #ffffff;
}

.footer-newsletter .widget.right .textwidget
{
    padding-right: 165px;
}



.ipad-image
{
    background-image: url('images/ipad-newsletter.png');
    background-repeat: no-repeat;
    width: 160px;
    height: 154px;
    position: absolute;
    right: -5px;
    bottom: 0;
}

#section-sub-footer
{
    border-top: none;
    color: #ffffff;
    padding: 15px 0px;
    font-size: 0.95em;
    font-weight: 600;
}

#section-sub-footer span
{
    padding: 0px;
}

#section-sub-footer .copyright
{
    padding-top: 5px;
    float: left;
}

.footer-links
{
    text-align: right;
    float: right;
}

.footer-links a
{
    color: #ffffff !important;
    text-decoration: none;
}

a.broadbean-link
{
    display: inline-block;
}

.footer-links img 
{
    vertical-align: baseline;
}

ul.sub-footer-menu
{
    margin-left: 0;
    padding: 0;
    display: inline;
    margin-right: 4px;
}

.sub-footer-menu li
{
    display: inline;
    list-style-type: none;
}

.sub-footer-menu li a
{
    color: #ffffff;
    border-right: 1px solid #ffffff;
    padding: 0 8px;
}


/* =Homepage
-------------------------------------------------------------- */

.slider-shadow:after
{
    content: none;
    background: none;
}

.flexslider-container
{
    margin-bottom: 50px;
}

.flexslider .slides li
{
    margin-bottom: 0px;
}

.flexslider .slides li a
{
    margin: 0;
}

.home .events-news .widgets {

    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -flex-wrap: wrap;
    flex-wrap: wrap;
}


.home .news.widget,
.home .facebook.widget
{
    -webkit-flex: 1 0 auto; /* Safari */
    -ms-flex: 1 0 auto; /* IE 10 */
    flex: 1 0 50px;            /* occupy free space, don't shrink, initial height */
    width: calc(50% - 10px);   /* half container size less margins */
    margin-bottom: 50px;
}

.home .events.widget {
    margin-bottom: 50px;
    width: 100%;
}
.sidebar .widget,
.events.widget,
.news.widget
{
    
    padding: 0px !important;
    position: relative;
    background-color: #e4e3e4;
    padding-bottom: 0px;
    margin-bottom: 0;
/*    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;*/
}

.home .events.widget:before, .home .news.widget:before, .sidebar .widget:before {
    content: '';
    background-color: #87d6a5;
    height: 36px;
    width: 100%;
    position: absolute;
    top: 9px;
    left: 0px;
    z-index: 1;
}

.home .events.widget .green.button,
.home .news.widget .green.button
{
    box-sizing: border-box;
    width: auto;
    white-space: nowrap;
    display: inline-block;
}

.events-news .widget ul, .sidebar .widget ul, .sidebar .widget .tagcloud, .sidebar .widget .textwidget,
.tribe-events-list-widget ol
{
    padding: 10px 20px 10px 20px;
    margin-left: 0;
}

.home .events.widget ol {
    margin-bottom: 0;
}

.news.widget .clearfix
{
    background-color: #e4e3e4;
}

.sidebar .widget-title,
.news.widget .widget-title,
.events.widget .widget-title
{
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.6em;
    display: inline-block;
    padding: 15px 24px;
    z-index: 10;
    margin-top: 0px;
    margin-right: 15px;
    margin-left: 15px;
    background-color: #58ad78;
    position: relative;
    -webkit-border-radius: 0px 0px 8px 8px; 
    -moz-border-radius: 0px 0px 8px 8px; 
    -o-border-radius: 0px 0px 8px 8px; 
    border-radius: 0px 0px 8px 8px; 
}


.home .events ul
{
    min-height: 285px;
}

.events ul
{
    padding: 0px 23px;
    
}

.tribe-events-list-widget .tribe-events-list-widget-events
{
    padding: 0;
}
.events li
{
    clear: left;
    display: block;
}

.events li .image
{
    float: left;
    margin-right: 5%;
    margin-bottom: 10px;
    width: 36%;
}

.events li .content
{
    float: left;
    width: 58%;
    position: relative;
}

.events li .content p
{
    margin-top: 20px;
}

.sidebar .events li .image
{
    float: none;
    width: auto;
}

.sidebar .events li .content
{
    float: none;
    width: auto;
}

.events li a.title 
{
    font-weight: 600;
    color: #353636;
    font-size: 1.4em;
    padding: 20px 0px;
    display: block;
    text-decoration: none;
}

.tribe-events-list-widget .duration
{
    font-weight: 400;
}

.events .duration .before,
.events .tribe-events-venue-details .before
{
    font-weight: 700;
}

.home .news.widget, .home .events.widget {
    text-align: center;
}
.home .news.widget .display-posts-listing, .home .events.widget li {
    text-align: left;
}

.home .news .display-posts-listing
{
    padding: 20px 0;
    height: 300px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.home .news .display-posts-listing li {
    width: calc(50% - 60px);
    overflow: hidden;
    margin: 9px 30px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 82px;
        flex: 0 0 82px;
}

.home .news .display-posts-listing .excerpt {
    max-height: 42px;
    overflow: hidden;
    line-height: 1.4em;
}

.sidebar .news ul, .sidebar .events ul
{
    margin-top: 10px;
}

.news.listing-item
{
    position: relative;
    margin-bottom: 16px;
}

.news.listing-item .image-link
{
    position: absolute;
    left: 0px;
}

.news.listing-item .content
{
    position: relative;
    margin: 0px 0px 0px 74px;
    min-height: 65px;   
    top: 0px;
    
}

.news.listing-item .content .title
{
    color: #353636;
    text-decoration: underline;
    font-size: 1.15em;
    font-weight: 600;
    height: 24px;
    line-height: 24px;
    overflow: hidden;
    display: block;
}

.sidebar .news.listing-item .content .title
{
    font-size: 1.05em;
}



.events li .read-more, .news.listing-item .content .read-more
{
    font-weight: 700;
    font-size: 1em;
    color: #58ad78;
    text-decoration: none;
}

.news.listing-item .content p
{
    margin-bottom: 0px;
}

#section-thirds
{
    margin-bottom: 25px;
}

#section-thirds .widget-title
{
    font-size: 1.35em;
    font-weight: 600;
    position: absolute;
    bottom: 0px;
    width: 90%;
    margin: 5% 5%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #ffffff;
    background-color: #58ad78;
    padding: 10px 5px;
    text-align: center;
    text-transform: uppercase;
}

#section-thirds .widget h4
{
    font-size: 1.7em;
    margin: 40px 0px 25px 0px;
}

#section-thirds .widget .widget_sp_image-description
{
    position: relative;
    padding-bottom: 20px;
}

#section-thirds a.wrapper-link
{
    position: relative;
    display: block;
    line-height: 0px;
    padding: 0px 0px 0px 0px;  
}

#section-thirds .widget_sp_image a.wrapper-link .image
{
    position: relative;
}

#section-thirds .widget .read-more
{
    font-weight: 600;
}

/* =Default Page
-------------------------------------------------------------- */

.page .main-content-area 
{
    margin-top: 20px;
}

.content-spacer
{
    padding-left: 28px;
    padding-right: 28px;
}

.content li
{
    list-style: disc outside;
    margin-left: 40px;
    margin-bottom: 2px;
}

.content ol li
{
    list-style-type: decimal;
}

.content img
{
    border: none;
   
}

.content img.alignnone
{
    margin-right: 30px;
}

.content .half.column img
{
     margin: 0px;
}
.half.column.left
{
    width: 49%;
    margin: 0 1% 0 0;
}

.half.column.right
{
    width: 49%;
    margin: 0 0 0 1%;
}

.gallery .gallery-icon img
{
    border: none !important;
    max-width: 95%;
}

.tribe-events-content .gallery-item a {
    border-bottom: none;
}

/* =Single
-------------------------------------------------------------- */

.single .main-content-area 
{
    margin-top: 20px;
}

.single .main-content-area .featured-image
{
    display: block;
}

/* =Events
-------------------------------------------------------------- */

.em-booking-form-details
{
    width: auto;
    padding: 10px 0px;
}

.em-booking-form-details input.input, .em-booking-form-details textarea
{
    width: auto;
}

.em-tickets
{
    margin-top: 0px;
}

.em-booking-login-form .remember-me
{
    display: inline;
}


/* =Sidebar
-------------------------------------------------------------- */

input#s
{
    min-width: 130px;   
}

.sidebar .widget
{
    position: relative;
    padding: 28px 28px 10px 28px;
    margin-bottom: 36px;
    background-color: #e4e3e4;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.sidebar .widget-title
{
/*    color: #353636;*/
    font-weight: 600 !important;
    font-size: 1.4em !important;
}

.sidebar .widget_sp_image
{
    margin-bottom: 76px;
}

.sidebar .widget_sp_image .widget_sp_image-description
{
    margin-top: 20px;
}

.google-maps-widget p
{
    text-align: center;
    padding: 10px 20px 20px 20px;
}

/*.sidebar .widget .green.button
{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 0px;
}*/


.widget li a
{
    font-size: 1em;
    font-weight: 600;
    color: #353636;
    text-decoration: underline;
}
.widget li a:hover
{
    text-decoration: none;
}

.widget ul .children
{
    padding-left: 0px;
}


/* =Blog
-------------------------------------------------------------- */
.tags a
{
    background-color: #58ad78;
    color: #ffffff;
}

.category .content .content-spacer
{
    padding-bottom: 40px !important;
}

/* =Portfolio
-------------------------------------------------------------- */
/*.portfolio-filters a.button, .portfolio-filters a.button:hover
{
    background-color: #58ad78;
    color: #ffffff;
    display: inline;
}*/

.page-template-template-portfolio-2col-php #section-header,
.page-template-template-portfolio-3col-php #section-header,
.page-template-template-portfolio-4col-php #section-header
{
    margin-bottom: 0px;
}

.portfolio-pag-fix .article_nav
{
    margin-bottom: 0px;
}

.portfolio-pag-fix .article_nav hr
{
    display: none;
    
}

/* Forms */
label
{
    font-weight: 600;
}

input[type="text"], input[type="password"], input[type="email"], textarea, input[type="tel"], select
{
    min-width: 195px;
}

input[type="text"], input[type="password"], input[type="email"], textarea, input[type="tel"]
{
    padding: 10px !important;
    border-radius: 0px;
}


/* wpcf7 Contact Form */

.wpcf7
{
    max-width: 600px;
    width: 100%;
}

.wpcf7 .form-fields
{
    padding-top: 30px;
    padding-bottom: 30px;
}

.wpcf7 label
{
    font-size: 1.1em;
    display: inline;
    font-weight: 600;
}

.wpcf7 label a
{
    color: #353636;
    text-decoration: underline;
}

.wpcf7 .label-wrapper
{
    float: left;
    width: 28%;
    min-width: 80px;
    margin-top: 4px;
}

.wpcf7 .field
{
    margin-left: 30%;
}


.wpcf7 .field .sub-field
{
    float: left;
    width: 50px;
    margin-right: 10px;
}

.wpcf7 .required
{
    color: #da1731;
}

.wpcf7 .wpcf7-form-control-wrap
{
    display: block;
}

.wpcf7 .wpcf7-form-control
{
    outline : none;
    padding: 0px 6px !important;
    height: 30px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -o-border-radius: 0;
    border-radius: 0;
    margin-bottom: 9px;
    display: inline;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7 textarea.wpcf7-form-control
{
    height: auto;
    padding: 4px 6px !important;
}

.wpcf7 select.wpcf7-form-control
{
    padding: 0px 0px 0px 2px !important;
    text-indent : 0.01px;
    text-overflow: '';
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    background-image: url('images/dropdown-arrow.gif');
    background-repeat: no-repeat;
    background-position: right center;    
}

.wpcf7 select.wpcf7-form-control::-ms-expand
{
    display: none;
}

.wpcf7 .wpcf7-form-control-wrap.terms-and-conditions
{
    display: inline;
}

.wpcf7 .wpcf7-form-control-wrap.terms-and-conditions .wpcf7-not-valid-tip
{
    top: -18px;
    left: 5px;
    min-width: 200px;
}

.wpcf7 .wpcf7-form-control-wrap.terms-and-conditions input
{
    padding: 0px 0px 0px 3px !important;
}

.wpcf7 .wpcf7-checkbox.wpcf7-form-control, .wpcf7 .wpcf7-checkbox.wpcf7-form-control .wpcf7-list-item
{
    padding: 0px !important;
    margin-left: 0px;
    
}

.wpcf7 input[type="submit"]
{
    width: auto;
    position: relative;
}

span.wpcf7-not-valid-tip
{
    color: #da1731;
    top: 5px;
    left: 10px;
    width: auto;
    position: absolute;
}

.single-rooms .wpcf7-not-valid-tip,
.twin-rooms .wpcf7-not-valid-tip,
.double-rooms .wpcf7-not-valid-tip
{
    top: 3px;
    left: 3px;
    min-width: 50px;
    background-color: #ffffff;
    font-size: 10px;
    line-height: 12px;
}



div.wpcf7-validation-errors
{
    border-color: red;
    background-color: #ffffff;

}

button#catapultCookie
{
    text-shadow: none;
    border-radius: 0px;
}


/* MISC */
.letter
{
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.2em;
    line-height: 1.5em;
    margin-left: 25px;
}

/* WOOCOMMERCE */
.woocommerce-info{border-top-color:#328d54}
.woocommerce-info:before{color:#328d54}
.select2-container .select2-choice
{
    border-radius: 0;
    padding: 3px 0 3px 8px;
}

.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce textarea, .woocommerce input[type="tel"], .woocommerce select
{
    min-width: 0;
}

#add_payment_method #payment ul.payment_methods li, .woocommerce-cart #payment ul.payment_methods li, .woocommerce-checkout #payment ul.payment_methods li
{
    list-style: none;
}

.woocommerce-checkout #payment div.form-row {
    padding: 0;
}

.wc-payment-form .form-row.form-row-first, .wc-payment-form .form-row.form-row-last {
    min-width: 120px;
    width: 30%;
    box-sizing: border-box;
    float: left;
    
}

.woocommerce-checkout #payment div.form-row.form-row-first {
    min-width: 110px;
    padding-right: 10px;
}

/* Search */
.widget_search h3, #searchform label, #searchform #searchsubmit {
    display: block;
}

#searchform input#s {
    width: 70%;
    display: inline-block;
    box-sizing: border-box;
}

#searchform #searchsubmit {
    
    display: inline-block;
    height: 37px;
} 


.wdgk_donation_content a.button.wdgk_add_donation {
    display: inline-block;
}

/* =Responsive
-------------------------------------------------------------- */

@media only screen and (min-width: 767px) 
{
    .footer-top .gallery.widget .green.button
    {
        margin-right: 26px;
    }
} 

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) {

    .welcome 
    {
        position: static;
        top: auto;
        padding-top: 22px;
        padding-left: 5px;
    }
    
    .home .widget_sp_image .green.button
    {
        font-size: 1.2em;
    }      

    .event_map
    {
        float: none !important;
        margin: 0px 0px 30px 0px !important;
    }
    
    .em-location-map-container
    {
        width: auto !important;
    }
   
}

/* Tablet Portrait size and upwards */
@media only screen and (min-width: 768px) {
    
    .trip-single .sidebar-placeholder
    {
        display: block;
    }
    
    .trip-single .sidebar
    {
        position: absolute;
    }
    
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
        
    
    .sf-menu > li > a
    {
        font-size: 14px;
    }
    
    .sf-menu > li:first-child > a, .sf-menu > li > a
    { 
        padding-left: 12px;
        padding-right: 12px;
    }
   
    #section-thirds .widget-title, .home .widget_sp_image .widget-title
    {
        font-size: 1.3em;
        line-height: 1.3em;
    }
    
    #section-thirds .widget h4
    {
        font-size: 1.4em;
        line-height: 1.3em;
    }
   
    #section-thirds .widget_sp_image a.wrapper-link .image:after, .home #section-thirds .textwidget.top:after
    {
        bottom: -15px;
    }
   
    .sidebar .widget_sp_image img
    {
        margin: 0px;
    }
    
    .sidebar a.wrapper-link
    {
        line-height: 0px;
        display: block;
    }
    
    .sidebar .widget_sp_image h3.widget-title
    {
        font-size: 1.2em;
        margin-bottom: 0px;
    }
 
    .sidebar .widget_sp_image-description a
    {
        font-size: 1.1em;
    }
    
    .sidebar .widget:after
    {       
        height: 15px;
    }

    .content-spacer
    {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .em-booking-login-form input[type="text"],
    .em-booking-login-form input[type="password"]
    {
        min-width: 182px;
    }
   
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
        
    #section-tophat .email
    {
        display: none;
    }
    
    #section-tophat
    {
        margin-bottom: 10px;
    }
    
    .logospace
    {
        max-width: 100%;
    }
    
    h1#logo
    {
       text-align: left;
       margin-bottom: 0px;
       
    }
    h1#logo img
    {
        max-width: 150px;
        
    }

    ul.social
    {
        margin-bottom: 0px !important;
        height: 36px;    
    }
    
    #section-header .navigation
    {
       padding-top: 10px;
    }
    
    #section-header .welcome
    {
        display: none;
    }

    #responsive-nav
    {
       margin-top: 0px;
       margin-bottom: 5px;
       width: 96% !important;
       margin-left: 2%;
       margin-right: 2%;
    }

    select.chzn-select
    {
       height: auto !important;
       margin-bottom: 2px;
    }

    #section-slider
    {
        display: none;
    }
    
    .events ul, .news .display-posts-listing
    {
        min-height: 0px !important;
    }
    
    .home .events-news .widgets, .home .news .display-posts-listing  {
        
        height: auto;
    }

    .home .news.widget, .home .facebook.widget {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        flex-basis: 100%;
    }

    .home .news .display-posts-listing li {
        width: auto;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        margin: 9px 30px;
    }

    .home .news .display-posts-listing .news.listing-item .content .title {
        height: auto;
    }

    .home .news .display-posts-listing .excerpt {
        max-height: none;
    }

    .half.column.left, .half.column.right
    {
        width: 100%;
        margin: 0px 0px 20px 0px;
    }

    .events li .image
    {
        float: none;
        width: 100%;
    }
    
    .events li .content
    {
        float: none;
        width: 100%;
    }
    
    #section-thirds
    {
        margin-bottom: 0px;
    }

    #section-thirds .widget_sp_image a.wrapper-link .image
    {
        text-align: center;
    }
    
    #section-thirds .widget .widget_sp_image-description
    {
        min-height: 0px;
        padding-bottom: 40px;
    }
    
    
    #section-thirds .widget .green.button
    {
        position: static;
        bottom: auto;
        top: auto;
    }
    
    
    #section-footer
    {
        padding-top: 40px;
        text-align: center;
    }
    
   
    
    .footer-links 
    {
        text-align: center;
        float: left;
        width: 100%;
        line-height: 2em;
    }

    .footer-links 
    {
        padding-top: 0px;
    }
    
    hr
    {
        margin-bottom: 25px;
    }
    
    .content-spacer
    {
        padding: 0px;
    }
    
    .sidebar .widget
    {
        margin-left: 0px;
    }
    
    .sidebar .widget_sp_image .image
    {
        text-align: center;
    }
    
    .em-booking-form label
    {
        float: none;
    }

    #searchform input#s {
        margin-bottom: 2px;
        box-sizing: border-box;
        width: 100%;
        /* 
        margin-right: 0;
        width: 80%;
        
        display: inline-block;*/
    }

    #searchform #searchsubmit {
        width: 100%;
        /*display: inline-block;
        width: 20%;
        box-sizing: border-box;
        */
    } 
}


/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    
    .home .one-third.column
    {
        padding: 0px;
       
    }
    
    #section-thirds a.wrapper-link
    {
        width: 72%;
        margin: 0 14%;
    }
    
    .sidebar .widget:after
    {
        height: 28px;
    }
    
    #further-information .widget_sp_image .widget-title
    {
        color: #353636;
        background-color: transparent;
        padding: 0px;
    }
    
    #overlay-content .logo
    {
        padding: 40px 50px 20px 20px;
    }

    #overlay-content .title
    {
        font-size: 1.3em;
        line-height: 1.1em;
        padding: 10px 45px 10px 45px;
    }
    
    #overlay-content .content
    {
        font-size: 1em;
        padding: 10px 45px 10px 45px;
    }
    
    #overlay-content .green.button
    {
        margin-bottom: 0px;
        margin: 20px 10% 30px 10%;
    }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
    
    
    body {
        min-width: 320px;
    }

    #section-tophat .my-account .button, #section-tophat .donate .button {
        padding: 7px 7px;
    }

    #section-tophat .basket .button {
        padding-left: 35px;
        padding-right: 7px;
    }

    #section-tophat .basket .cart-empty.button {
        padding-right: 7px;
    }

    #section-tophat .basket .button .sprite {
        left: 10px;
    }

    #section-header
    {
        margin-bottom: 15px;
    }
    
    .logospace img
    {
        max-width: 100%;
        height: auto;
    }
    
    .home #section-thirds .widget-title
    {
        margin-top: 20px;
    }    
    
    .home .one-third.column
    {
        margin: 0px 0px 15px 0px;
    }
    
    
    #further-information .widget_sp_image,
    #further-information .widget_sp_image.widget-first
    {
        width: 38%;        
        padding: 6%;
    }
        
    #further-information:after
    {
        bottom: -20px;
        height: 20px;
    }
    
    #section-footer ul.display-posts-listing li.listing-item
    {
        width: 88px;
    }
    
    
    .footer-newsletter .widget input.email
    {
        min-width: 155px;
    }

    .half.column.left, .half.column.right
    {
        width: 100%;
    }
    
    .calendar-link .image
    {
        left: auto;
        width: 100%;
        background-position: top center;
    }
    
    .calendar-link .title
    {
        font-size: 1.15em;
        padding: 200px 20px 20px 20px;
    }
    
    .calendar-link .description
    {
        padding: 0px 20px 20px 20px;
    }
    
    .calendar-link .green.button
    {
        margin: 0px 20px;
        width: auto;
    }
    
    .wpcf7 .label-wrapper
    {
        float: none;
        width: auto;
    }
    
    .wpcf7 .field
    {
        margin-left: 0px;
    }
}
        

