/*
Theme Name:     A F Slate and Stone
Description:    Child theme of the twentyseventeen
Template:       twentyseventeen
Version:        1.0.0
*/

@import url( '../twentyseventeen/style.css' );


/* your CSS here */

/*--------------------------------------------------------------
5.0 Typography
--------------------------------------------------------------*/

body {
	font-family: "Roboto Slab", sans-serif;
	color: #222222;
	background-image: url('lib/img/warmstone.jpg') ;
	margin: 0;
}
body,
button,
input,
select,
textarea {
	font-size: 14px;
	font-size:  0.875rem;
	font-weight: 400;
	line-height: 1.66;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Spectral SC', sans-serif;
  	font-weight: 400;
  	line-height: 1.45;
	color: #222222;
  	text-transform: none;
}


h1, h2, h3, h4 {
  margin: 1.414em 0 0.5em;
  font-weight: inherit;
  line-height: 1.2;
}


h1, h2, h3, h4 {
  margin: 1.414em 0 0.5em;
  font-weight: inherit;
  line-height: 1.2;
}



	h1,
	body.page:not(.twentyseventeen-front-page) h1.entry-title,
h1.page-title,
.page .panel-content h2.entry-title {
		font-size: 39px;
		font-size: 2.441rem;
	}

	h2,
	.page .panel-content h2.entry-title,
	.home.blog .entry-title,
	.page .panel-content .recent-posts .entry-title {
		font-size: 31px;
		font-size: 1.953rem;
	}

	h3 {
		font-size: 25px;
		font-size: 1.563rem;
	}

	h4,
h2.widget-title  {
		font-size: 20px;
		font-size: 1.25rem;
	}

	h5 {
		font-size: 13px;
		font-size: 0.8125rem;
	}

	h6 {
		font-size: 16px;
		font-size: 1rem;
	}


small,
.font_small,
.entry-meta,
.comment-metadata {
    font-size: 12px;
    font-size: 0.75rem;
    font-weight: 400;
}

#main a:link,
#main a:visited {
	border-width: 0 0 1px;
	border-style: solid;
}
#main a:hover,
#main a:active,
#main a:focus {
	border-color: #fff;
	box-shadow: 0 2px 0px rgba(0,0,0,0.7);
}
.site-title,
body.page:not(.twentyseventeen-front-page) h1.entry-title,
h1.page-title,
.page .panel-content h2.entry-title,
.entry-meta,
.comment-metadata {
	letter-spacing: 0;
	text-transform: none;
}



/*Header*/

.site-title, .site-title a {
    color: #222;
    opacity: 1;
    text-decoration: none;
}
.site-branding a:hover, .site-branding a:focus {
    opacity: 0.7;
}
.custom-header {
	background-image: url('../index_files/warmstone.jpg') ;
	background-repeat:  repeat;
	background-position:  center center;
	padding-bottom: 10px;
}
.contacts a img {
	vertical-align: text-bottom;
}
.site-title {
	font-weight: 400;
}

.site-branding,
#masthead .site-branding .wrap {
    padding: 0;
}

#masthead .wrap.header-widget{
	position: absolute;
	right: 0;
	top: 0;
}
.header-widget .widget {
	padding: 0;
}

/*logo and site branding*/
#masthead .site-branding-text {
  text-align: center;
}

#masthead .site-branding-text .site-title {
	float: none;
    width:100%;
}
#masthead .site-branding-text .site-title img {
}
#masthead .site-branding-text .widget_media_image {
	display: inline-block;
	width: 40%;
	float: right;
	padding: 1em;
}
#masthead .site-branding-text .widget_media_image img{
	max-width: 249px;
}

/*content*/
.site-content-contain {
    background-color: #9d8f9d; /*222222*/
    color: #222222;
}
.page-template-page-booking .site-content-contain,
.page-template-page-giftvouchers .site-content-contain {
    background-color: #fff;
}

/*--------------------------------------------------------------
6.0 Forms
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="submit"] {
	background-color: #222222;
}

/*--------------------------------------------------------------
10.0 Links
--------------------------------------------------------------*/
a {
    color: #222;
    text-decoration: none;
}

.entry-title a, .entry-meta a, .page-links a, .page-links a .page-number, .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 {
    -webkit-box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}


/*--------------------------------------------------------------
12.0 Navigation
--------------------------------------------------------------*/

.navigation-top {
	background: #222222;
	border-color:#222222;
}
.main-navigation li,
.main-navigation > div > ul {
	border-color:#222;
}
.menu-toggle,
.navigation-top a {
	color: #9d8f9d;
}

.navigation-top .current-menu-item > a,
.navigation-top .current_page_item > a {
	color: #fff;
}

.main-navigation {
	clear: both;
	display: block;
}

.main-navigation ul {
	background: #222222;
	list-style: none;
	margin: 0;
	padding: 0 1.5em;
	text-align: left;
}
.menu-toggle:hover,
.main-navigation a:hover {
	color: #9bdb2a;
}

.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
	color: #222222;
}

/*--------------------------------------------------------------
13.4 Posts
--------------------------------------------------------------*/
.entry-meta,
.entry-meta a {
	color: inherit;
}

/* Entry footer */

.entry-footer {
	border-bottom: 1px solid #624f62;
	border-top: 1px solid #624f62;
}
.entry-footer .edit-link a.post-edit-link {
	background-color: #222222;
}

/*--------------------------------------------------------------
14.0 Comments
--------------------------------------------------------------*/
.comment-metadata,
.comment-metadata a {
	color: inherit;
}

/*--------------------------------------------------------------
19.0 Media Queries
--------------------------------------------------------------*/

/*red*/
@media screen and (min-width: 20em) {
	body {
		border: red solid 0px;
	}
	.header-widget .widget {
		padding: 0;
	}
	.header-widget .widget_icl_lang_sel_widget .wpml-ls-legacy-list-horizontal {
		padding: 0px;
	}
	.header-widget .widget_icl_lang_sel_widget ul li {
		border-width: 0;
	}
	.header-widget .widget_icl_lang_sel_widget ul li a {
		padding: 1em;
		box-shadow: unset;
	}
	.header-widget .widget_icl_lang_sel_widget ul li a:hover span {
		border-bottom: 1px solid;
	}
	.menu-toggle {
		margin-left: 0;
	}

	/*home page*/
	.twentyseventeen-front-page.page-one-column .entry-header {
		/*display: none;*/
	}
	#contactbar {
		background-color: rgba(122,188,0,0.6); /* rgba(134,188,37,0.6)*/
		text-align: center;
	}
	#contactbar p {
		margin: 0;
		padding: 0.5em;
	}
	#contactbar span {
	}

	#panel1, #panel3 {
		background-color: #222222;
	}


	#panel1 h1,
	#panel1 h2,
	#panel1 h3,
	#panel1 p,
	#panel1 li,
	#panel1 a,
	#panel3 h1,
	#panel3 h2,
	#panel3 h3,
	#panel3 p,
	#panel3 li,
	#panel3 a {
		color: #fff;
	}

	.site-footer {
		border-top: 1px solid #624f62;
	}

}

/*blue*/
@media screen and (min-width: 30em) {
	body {
		border: blue solid 0px;
		font-size: 15px;
	}


	/* Fix image alignment */
	img.alignleft {
		float: left;
		margin-right: 1.5em;
	}

	img.alignright {
		float: right;
		margin-left: 1.5em;
	}

	/* Site Branding */

	.site-branding {
		padding: 3em 0 0;
	}

	/*header*/

	#contactbar {
		position: absolute;
		width: 100%;
		z-index: 10;
	}

	.custom-header {
		padding-bottom: 60px;
		/*margin-bottom: 60px !important;*/
	}

	.home .custom-header {
		padding-bottom: 60px;
		margin-bottom: 0px !important;
	}

	#masthead .site-branding-text {
		display: block;
		overflow: hidden;
		width: 100%;
	}
	#masthead .site-branding-text .site-title {
		/*float: left;
		width: 60%;
		max-width: 400px;*/
	}
	#masthead .site-branding-text .site-title img {
		width: 400px;
	}
	#masthead .site-branding-text .widget_media_image {
		display: inline-block;
		float: right;
		padding: 2em 0 0;
	}
	#masthead .site-branding-text .widget_media_image img {
		max-width: 180px !important;
		margin: 0 auto;
		display: block;
	}





	/* Front Page */

	.panel-content .wrap {
		padding-bottom: 2em;
		padding-top: 3.5em;
		    margin-left: auto;
    margin-right: auto;
	}

	.page-one-column .panel-content .wrap {
		max-width: 740px;
	}

	.panel-content .entry-header {
		margin-bottom: 4.5em;
	}

	.panel-content .recent-posts .entry-header {
		margin-bottom: 0;
	}

	/*home page*/

/*gallery*/
.gallery {
  display: flex;
  flex-wrap: wrap;
}
.gallery img {
  box-shadow: 0 0 0 8px #fff;
}

	/* Blog Index, Archive, Search */

	.taxonomy-description {
		font-size: 14px;
		font-size: 0.875rem;
	}

	.page-numbers.current {
		font-size: 16px;
		font-size: 1rem;
	}

	/* Site Footer */

	.site-footer {
		font-size: 16px;
		font-size: 1rem;
	}


}

/*yellow*/
@media screen and (min-width: 48em) {
	body {
		border: yellow solid 0px;
	}

/* Typography */

	body,
	button,
	input,
	select,
	textarea {
		font-size: 18px;
		font-size: 1.125rem;
	}





	/*header*/

	#masthead .site-branding-text .widget_media_image {
		width: 220px;
	}

	/*nav*/

	.main-navigation ul ul {
    background: #222222;
    border-color: #222222;
	}



	.entry-content blockquote.alignleft,
	.entry-content blockquote.alignright {
		font-size: 14px;
		font-size: 0.875rem;
	}

	h2.widget-title {
		font-size: 1.25rem;
		font-weight: 400;
		text-transform: uppercase;
	}


	/*home page*/
	#signuphome {
	}
	#signuphome label {
		width: 50%;
		float: left;
	}
	#signuphome label input {
		width: 96%;
	}



}

/*green*/
@media screen and ( min-width: 67em ) {
	body {
		border: green solid 0px;
	}
	#masthead .site-branding-text .widget_media_image img {
		max-width: 200px !important;
	}


}

/*pink*/
@media screen and ( min-width: 79em ) {
	body {
		border: pink solid 0px;
	}
}

/*brown*/
@media screen and ( max-width: 48.875em ) and ( min-width: 48em ) {
	body {
		border: brown dashed 0px;
	}
}