/*
Theme Name:     GTH
Theme URI:      https://greentravelhants.org.uk/
Description:    Green Travel Hampshire child theme for twentyseventeen
Author:         Andy Henderson
Author URI:     http://www.seeita.com
Template:       twentyseventeen
Version:        1.0.0
*/

@import url("../twentyseventeen/style.css");

/* Generics */
ul, ol {
padding-left: 20px;
}
ul {
list-style-image: url("images/gthBullet.png");
}
h1, h2, h3, h4,
.page .panel-content .entry-title,
.page-title, 
.single-post  .entry-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
color: #e2007a;
font-size: 48px;
text-transform: none;
font-weight: normal;
letter-spacing: normal; 
}
h1 {
border-top: solid #1982d1 4px;
font-size: 48px;
font-weight: normal;
padding-top: 0px;
}
h1.site-title,
h1.site-title a {
border: none;
color: #fff !important;
font-size: 36px;
}
h2 {
font-size: 30px;
border-top: solid #1982d1 3px;
padding-top: 0;
margin-top: 25px;
margin-bottom: 25px;
}
.site-description {
font-weight: bold;
}
h2.widget-title {
color: #e2007a;
text-transform: none;
font-size: 16px;
margin-top: 20px;
border: none;
}
body.home h2{
border: none;
}
h3 {
font-size: 22px;
font-weight: normal;
border-top: solid #1982d1 2px;
padding-top: 0;
margin-top: 22px;
margin-bottom: 22px;
}
h4 {
font-size: 20px;
font-weight: normal;
padding-top: 0;
margin-top: 22px;
margin-bottom: 22px;
}
blockquote {
margin-left: 0px;
margin-right: 0px;
padding-left: 40px;
padding-right: 40px;
border-left: 4px solid #e2007a;
margin-bottom: 24px;
}
blockquote :last-child {
margin-bottom: 0;
}
table, tbody {
vertical-align: top;
}
  
/* Links */
.entry-content a,
.entry-summary a,
.comment-content a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
color: #1982d1;
-webkit-box-shadow: none;
box-shadow: none;
text-decoration: none;
}
.entry-title a,
.entry-meta a,
.page-links a,
.page-links a .page-number,
.link-more a,
.venue-archive-meta a,
.entry-footer a,
.entry-footer .cat-links a,
.entry-footer .tags-links a,
.edit-link a,
.post-navigation a,
.logged-in-as a,
.comment-navigation a,
.comment-metadata a,
.comment-metadata a.comment-edit-link,
.comment-reply-link,
a .nav-title,
.pagination a,
.comments-pagination a,
.site-info a,
.widget .widget-title a,
.widget ul li a,
.site-footer .widget-area ul li a,
.site-footer .widget-area ul li a {
color: #1982d1;
-webkit-box-shadow: none;
box-shadow: none;
text-decoration: none;
}
.entry-content a:focus,
.entry-content a:hover,
.entry-summary a:focus,
.entry-summary a:hover,
.comment-content a:focus,
.comment-content a:hover,
.widget a:focus,
.widget a:hover,
.site-footer .widget-area a:focus,
.site-footer .widget-area a:hover,
.posts-navigation a:focus,
.posts-navigation a:hover,
.comment-metadata a:focus,
.comment-metadata a:hover,
.comment-metadata a.comment-edit-link:focus,
.comment-metadata a.comment-edit-link:hover,
.comment-reply-link:focus,
.comment-reply-link:hover,
.widget_authors a:focus strong,
.widget_authors a:hover strong,
.entry-title a:focus,
.entry-title a:hover,
.entry-meta a:focus,
.entry-meta a:hover,
.page-links a:focus .page-number,
.page-links a:hover .page-number,
.link-more a:focus,
.link-more a:hover,
.venue-argchive-meta a:focus,
.venue-archive-meta a:hover,
.entry-footer a:focus,
.entry-footer a:hover,
.entry-footer .cat-links a:focus,
.entry-footer .cat-links a:hover,
.entry-footer .tags-links a:focus,
.entry-footer .tags-links a:hover,
.post-navigation a:focus,
.post-navigation a:hover,
.pagination a:not(.prev):not(.next):focus,
.pagination a:not(.prev):not(.next):hover,
.comments-pagination a:not(.prev):not(.next):focus,
.comments-pagination a:not(.prev):not(.next):hover,
.logged-in-as a:focus,
.logged-in-as a:hover,
a:focus .nav-title,
a:hover .nav-title,
.edit-link a:focus,
.edit-link a:hover,
.site-info a:focus,
.site-info a:hover,
.widget .widget-title a:focus,
.widget .widget-title a:hover,
.widget ul li a:focus,
.widget ul li a:hover {
color: #1982d1;
-webkit-box-shadow: none;
box-shadow: none;
text-decoration: underline;
font-weight: bold;
}
/* Make linked headers pink */
h1 a, h2 a, h3 a, h4 a,
.entry-title a,
.page-title a , 
body.page:not(.twentyseventeen-front-page) .entry-title a {
color: #e2007a !important;
font-weight: normal !important;
}

/* Fix bug in 2017 stylesheet (background sb background-color), add vertical resizing on hover, remove transition effect */
button,
input[type="button"],
input[type="submit"],
.entry-footer .edit-link a.post-edit-link {
transition: none;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.entry-footer .edit-link a.post-edit-link:hover,
.entry-footer .edit-link a.post-edit-link:focus {
background-color: #767676;
transform: scale(1.0,1.1);
}

button.secondary:hover,
button.secondary:focus,
input[type="reset"]:hover,
input[type="reset"]:focus,
input[type="button"].secondary:hover,
input[type="button"].secondary:focus,
input[type="reset"].secondary:hover,
input[type="reset"].secondary:focus,
input[type="submit"].secondary:hover,
input[type="submit"].secondary:focus {
background-color: #bbb;
transform: scale(1.0,1.1);
}

.clear {
clear: both;
}

/* fancybox links */
a.fancybox img {
transition: all .5s ease-in-out;
}
a.fancybox img:hover {
transform: scale(1.1);
}
  
/* Home page adjustments */
body.home .entry-header {
display: none;
}
body.home #content #primary .entry-content {
float: none;
width: 100%;
column-count: 2;
column-width: 275px;
}
body.home #content #primary .entry-content h2 {
column-span: all;
margin-bottom: 0;
padding-bottom: 12px;
}
body.home #content .panel-content .wrap {
padding-top: 20px;
padding-bottom: 20px;
}
body li#menu-item-422 a {
color: #f00;
}

/* Remove post to post navigation footer */
nav.post-navigation {
display: none;
}
/* Other page adjustments */
.page:not(.home) #content,
.single #content,
.category #content {
padding-top: 1.5em;
padding-bottom: 1.5em;
}
/*
body.page:not(.twentyseventeen-front-page) .entry-title,
body.category .page-title,
body.single-post .entry-title {
font-size: 26px;
font-weight: bold;
letter-spacing: normal;
}
*/
body.page:not(.twentyseventeen-front-page) .entry-header,
.archive.page-one-column:not(.has-sidebar) .page-header {
margin-bottom: 0;
}
.entry-footer .cat-links {
text-transform: none;
}

/* Category list stuff */
ul.post-list-headers-only
{
list-style: none;
margin-left: 0;
padding-left: 0;
}
/* Rest implemented by the gth template for category lists */
.gthCategoryList {
margin-top: 12px;
margin-bottom: 48px;
}
.gthCategoryListTitle {
margin-bottom: 0;
}
.gthCategoryListStrapline {
color: #777;
font-size: 90%;
}
.taxonomy-description p {
font-size: 20px;
font-weight: bold;
color: #e2007a;
}

/* search bar in menu */
nav#site-navigation .search-form {
  position: absolute;
  right: 10px;
  top: 0px;
  }
@media screen and (min-width: 48em) {
  /* Full menu displayed */
  nav#site-navigation .search-form {
  position: absolute;
  right: 30px;
  top: 10px;
  }
  .page:not(.home) nav#site-navigation .search-form {
  position: absolute;
  right: 10px;
  top: 10px;
  }
}
nav#site-navigation .search-field {
background-color: transparent;
background-image: url(images/search-icon.png);
background-position: 5px center;
background-repeat: no-repeat;
background-size: 24px 24px;
border: none;
cursor: pointer;
height: 37px;
margin: 3px 0;
padding: 0 0 0 34px;
position: relative;
-webkit-transition: width 400ms ease, background 400ms ease;
transition:         width 400ms ease, background 400ms ease;
width: 0;
}
nav#site-navigation .search-field:focus {
background-color: #fff;
border: 2px solid #c3c0ab;
cursor: text;
outline: 0;
width: 350px;
}
.search-form
.search-submit { 
display:none;
}

/* Event pages */
body.single-event .eo-event-meta {
float: none !important;
width: 100% !important;
}
body.single-event .eo-event-venue-map {
float: none !important;
width: 100% !important;
margin-bottom: 24px;
}

/* Wide pages - add newpage ids to make them wide */
body.page-id-3650 .wrap {
padding-left: 3em;
padding-right: 3em;
max-width: 100% !important;
}
body.page-id-3650 #primary {
max-width: 100% !important;
}

/* Forms */
.gthForm,
.gthNarrowForm {
padding: 10px;
background-color: #f1f2f4;
border: 1px solid #d8d8d8;
color: #000;
overflow: auto;
width: 100%;
margin-bottom: 24px;
}
.gthForm.withFieldsets,
.gthNarrowForm.withFieldsets {
background-color: #fff;
margin-bottom: 0px;
}
fieldset {
background-color: #f1f2f4;
border: 1px solid #d8d8d8;
margin-bottom: 24px;
min-width: 0px;
}
fieldset legend {
background-color: #fff;
padding: 5px;
color: #e2007a;
font-size: 20px;
border: 1px solid #e2007a;
}
.gthForm label,
.gthForm .labelSpacer{
display: block;
float:left;
width: 295px;
max-width: 100%;
padding-right: 5px;
clear: both;
color: #808080;
margin-bottom: 10px;
}
.gthNarrowForm label,
.gthNarrowForm .labelSpacer{
display: block;
float:left;
width: 195px;
max-width: 100%;
padding-right: 5px;
clear: both;
color: #808080;
font-weight: normal;
margin-bottom: 10px;
}
.gthForm .buttonsContainer,
.gthForm .literal {
float: left;
width: 700px;
max-width: 100%;
margin-bottom: 10px;
}
.gthNarrowForm .buttonsContainer {
float: left;
width: 495px;
max-width: 100%;
margin-bottom: 10px;
}
.buttonsContainer.withBorder {
background-color: #fff;
border: 2px solid #d4d0ba;
padding: 5px;
}
.gthForm .gthRadioButton, 
.gthForm .gthCheckBox
.gthNarrowForm .gthRadioButton,
.gthNarrowForm .gthCheckBox {
border-style: none;
background-color: #f1f2f4;
vertical-align: middle;
margin: -1px 3px 3px 4px;
height: 24px;
}
.gthForm .gthTextArea {
float: left;
width: 700px;
max-width: 100%;
height: 110px;
margin-bottom: 10px;
}
.gthNarrowForm .gthTextArea {
float: left;
width: 495px;
max-width: 100%;
height: 110px;
margin-bottom: 10px;
}
.gthForm .gthTextBox {
float: left;
width: 700px;
max-width: 100%;
margin-bottom: 10px;
}
.gthNarrowForm .gthTextBox {
float: left;
width: 495px;
max-width: 100%;
margin-bottom: 10px;
}
.gthForm .gthDropDown,
.gthNarrowForm .gthDropDown {
float: left;
max-width: 100%;
margin-bottom: 10px;
}
.gthForm .gthShortTextBox,
.gthNarrowForm .gthShortTextBox {
float: left;
width: 100px;
max-width: 100%;
margin-bottom: 10px;
}
.gthForm .mandatory,
.gthNarrowForm .mandatory {
background-color: #fffd91;
}
input[type=submit].gthSubmit,
input[type=button].gthSubmit {
clear: both;
float: right;
}
input[type=submit].inline,
input[type=button].inline {
float: none;
}
input[type=submit].same-line,
input[type=button].same-line {
clear: none !important;
float: right;
margin-right:10px;
}
.gthError {
color: #f00;
font-weight: bold;
}

/* Popups */
div.jquerybubblepopup tr {
border-bottom-style: none;
}

/* Fancy box - remove title so "Click to see a larger version doesn't appear" */
div.fancybox-title {
display: none;
}

/* Footer*/
.site-footer {
margin-top: 0px;
background-color: #fffdf0;
font-size: 16px;
}
.site-footer .widget-area {
padding: 0;
}
.site-footer .widget-area .footer-widget-1 {
width: 65%;
}
.site-footer .widget-area .footer-widget-2 {
width: 35%;
}
.site-footer .wrap {
padding-bottom: 0;
}
/* Determine whether to show login or logout link */
body.logged-in #footerLoginLink {
display: none;
}
body:not(.logged-in) #footerLogOutLink {
display: none;
}
/* Remove attribution at the bottom of the page */
.site-info {
display: none;
}

/* Element restyling */
.entry-meta {
text-transform: none;
}

/* Force a column break */
.columnBreak {
display: inline-block;
width: 100%;
}

#homePageLogo2 {
display:none;
}
  /* Reduced width displays */
@media (max-width: 658px) {
  #homePageLogo {
  display:none;
  }
  #homePageLogo2 {
  display:block;
  }
}
@media (max-width: 30em) {
  #homePageLogo2 {
  float: right;
  width: 40px;
  margin-left: 5px;
  margin-top: 10px;
  }
}