/*
 Theme Name:   No 53 Frederick Street
 Description:  Custom theme
 Author:       Carnoustie Creative
 Author URI:   https://www.carnoustiecreative.co.uk
 Template:     bedrock-carbon
 Version:      1.1.15
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  carbon-child

font-family:'EdwardianScriptITCW01';

*/

/* NEW CSS ADDED 2022 */
header img.custom-logo {width: 200px !important;}
.mobile-nav img.custom-logo { max-width: 1px !important; width: 1px !important}

.before-content {overflow: unset !important;}
.guesty-root-element.guesty-widget__container {justify-content: center !important;}
.guesty-root-element #guesty-search-widget__datepicker .__super-input, 
.guesty-root-element .selectr-selected, .guesty-root-element .selectr-options{border: 1px solid #ddd !important;}

.guesty-root-element #guesty-search-widget__datepicker [id^=date-picker-wrapper].has-value input {top: 0 !important}
.guesty-root-element #guesty-search-widget__datepicker [id^=date-picker-wrapper].has-value:before {bottom: unset !important}

.guesty-root-element.guesty-widget__container {height: 40px}

body.page-id-7 .wpcf7 input, body.page-id-7 .wpcf7 textarea {width: 93%}

.before-content-page,
.home .before-content-page, 
.page-id-167 .before-content-page,
.page-id-149 .before-content-page,
.page-id-411 .before-content-page,
.page-id-101 .before-content-page {display: none;} 

body.home .text-overlay h1 {font-family: unset !important;}
.home h1 span {font-size: 5.5rem !important;}

.contact-name {
  min-height: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}
.contact-name > .cn-item {
  display: flex; 
  flex-basis: calc(50% - 40px);  
  justify-content: center;
  flex-direction: column;
}

.cn-item.cn-item-fname {margin-right: 50px;}

.wpcf7 form .wpcf7-response-output {padding: 5px !important; text-align: center; width: 91.5% !important;}

.entry .entry-content .event-tickets .tribe-tickets__tickets-item-quantity-add, .entry .entry-content .event-tickets .tribe-tickets__tickets-item-quantity-remove, .event-tickets .tribe-tickets__tickets-item-quantity-add, .event-tickets .tribe-tickets__tickets-item-quantity-remove {border:none;}

.grecaptcha-badge, body.page-id-577 .before-content {visibility: hidden; display: none !important}

@media ( max-width: 957px) {
  .guesty-root-element.guesty-widget__container {height: auto !important}
  .home .avail .container {padding: 0 !important}
}

@media ( max-width: 799px) {
  body.page-id-7 .wpcf7 input, body.page-id-7 .wpcf7 textarea {width: 100%}
  .contact-name {display: unset;}
  .cn-item.cn-item-fname {margin-right: 0;}
  .wpcf7 form .wpcf7-response-output {width: 91.5% !important;}
}

/* // END NEW CSS ADDED 2022 */


@media ( max-width: 960px) {
  html {overflow-x: hidden;}
}

.merrimerri h1 {
	font-family:'EdwardianScriptITCW01';	
	font-size: 4.5rem;
}

@media ( min-width: 800px ) {

	.merrimerri h1 {
		font-size: 6.5rem;
		line-height: 1;
	}

}

.pacific nav .full ul li {
	font-size: 1.5rem;
}

.header-wrap {
	border-bottom: 0.1rem solid #eee;
}

.home .header-wrap {
	border-bottom: none;
}

.pacific nav .full li a,
.pacific nav .full.top li a {
	border: 0.2rem solid transparent;
}

.pacific nav .full li a:hover, 
.pacific nav .full.top li a:hover {
    background: transparent;
    color: #000;
    border: 0.2rem solid #aaa;
}

.pacific header .widget .menu a .fontawesome-text,
.pacific footer .widget .menu a .fontawesome-text  {	
	font-size: 1.4rem;
}

.pacific header .widget .menu a .fontawesome-text {
	font-weight: 300;	
	font-size: 1.3rem;
}

footer .menu-item-93 .fontawesome-text,
footer .widget-area li.menu-item-170 {
	display: none;
}

.pacific header .logotitle.row {
	padding: 1.5rem 0 1rem 0;
}

.pacific header .second {
	bottom: 1rem;
}

.pacific footer {
	background-color: #fff;
	background-image: url('tartan.png');
	background-repeat: repeat;	
}

.pacific nav .full li.button  {
	border-radius: 0;
}

.home .avail {	
	position: relative;
	top: -5rem;
}

.home .avail .container {
	width: 60%;
	background-color: #eee;
	padding: 2rem;
	border: 1px solid #ccc;
}

.home .avail input[type="date"] {
	padding: 0.9rem;
	margin-right: 2rem;
	border-radius: 0;
	flex: 2;
}

.home .avail a.button {
	margin-left: 2rem;	;
}

.home .avail form {
	text-align: center;
	display: flex;
}

@media( max-width: 1050px ) {

	.home .avail form {
		display: block;
	}

	.home .avail form input {
		display: inline-block;	
		margin-bottom: 1rem;		
	}

	.home .avail input[type="date"] {
		margin-right: 0;
	}

	.home .avail a.button {
		margin-bottom: 0;
	}

}

@media( max-width: 850px ) {  

	.home .avail form input {
		display: block;		
		margin-left: auto;
		margin-right: auto;	
	}

	.home .avail input[type="date"] {
		margin-right: auto;
	}

	.home .avail a.button {
		margin-left: 0;			
	}

}

.home h1 i {
	font-family: "Merriweather";
	display: inline-block;
	text-transform: uppercase;
	font-size: 2rem;
	font-style: normal;
	padding: 0.6rem 0.3rem 0.4rem 0.3rem;
	font-weight: 300;
	letter-spacing: 0.4rem;
	border-top: 0.2rem solid #fff;
	border-bottom: 0.2rem solid #fff;
	margin-bottom: 1rem;
	text-shadow: 0.1rem 0.1rem 0.1rem #000;
}

.home h1 span {
	font-feature-settings: "lnum";
	font-size: 7.0rem;
	line-height: 1.1;
	display: block;	
	/*margin-bottom: 5rem;*/
	text-shadow: 0.1rem 0.1rem 0.1rem #000;
}

.text-overlay .sub {
	color: #fff;
	font-size: 1.9rem;
	line-height: 2.5rem;
	margin-bottom: 5rem;
	text-shadow: 0.1rem 0.1rem 0.1rem #000;
}

@media ( max-width: 800px ) {

	.home h1 span {	
		font-size: 4.0rem;
		line-height: 1.1;	
		margin-bottom: 2rem;
	}

	.home h1 i {
		font-size: 1.6rem;
	}

	.text-overlay .sub {
		font-size: 1.5rem;
		margin-left: 10%;
		width: 80%;
	}

}

/* Shortcode slider */

.testi blockquote,
.testi .tss_item {
	width: 70%;
	margin-left: 15% !important;
}

.testi .owl-carousel .owl-item {
	position: relative;  	
}

.testi .tss_item p {
	font-size: 2.2rem;
	line-height: 1.3;
	margin-top: 2rem;
}

.testi .tss_item strong:before {
  content: "\2014";
  margin-right: 0.4rem;
}

.pacific.merrimerri .testimonial-entry:before, 
.pacific.merrimerri blockquote:before, 
.pacific.merrimerri .tss_item p:before {	
    font-family: Serif;
    content: "\201c";
    font-size: 8rem;
    line-height: 8rem;
    color: #aaa;
    top: 0.2rem;
    left: -5rem;
    position: absolute;
}

.pacific.merrimerri .testimonial-entry:before, 
.pacific.merrimerri blockquote:before {
	top: -1rem;
}

.pacific.merrimerri .tss_item p:before {
	left: calc(15% - 5.5rem);
	font-size: 10rem;
}

.pacific.merrimerri blockquote {
	border-top: none;
}

.pacific .tss_testimonial_slider .owl-theme .owl-controls .owl-nav [class*=owl-]:before {
	font-size: 28px !important;
}

.pacific .tss_testimonial_slider .owl-theme .owl-controls .owl-nav [class*=owl-] {
	line-height: 0;	
}

.pacific .owl-controls {
	text-align: center;
}

/* End shortcode slider */

footer .footer-add {
	margin-top: 4rem;
}

.pacific footer .widget-area #menu-footer-col-3.menu li {
	margin-bottom: 2rem;
}

@media ( min-width: 600px ) {
	.pacific footer .widget-area #menu-footer-col-3.menu,
	.pacific footer .widget-area #menu-footer-col-3.menu li {
		text-align: left;
	}
} 

.pacific footer .widget-area #menu-contact-1.menu li {
	width: auto;
}

.pacific footer .widget-area #menu-contact-1.menu li.tel {
	margin-left: 1rem;
}

footer .address {
	margin-top: 1rem;
}

.pacific footer .widget-area #menu-footer-col-2.menu li {
	width: 80%;
	margin-left: 20%;
}

.text-overlay {
	position: absolute;
	z-index: 999;
	margin: auto;
	height: auto;
	right: 0;
	left: 0;
	top: 40%;
	-webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
}

@media( max-width: 750px) {
	.text-overlay {
		top: 42vw;
	}
}

.text-overlay h1 {
	color: #fff;
}

.text-overlay .button {
	text-shadow: 0.1rem 0.1rem 0.1rem #000;
	color: #fff;
	border-color: #fff;
}

.block {
	padding: 6rem 0 5rem 0;
}

.home .features {
	background-color: #dddddd;
}

.message.block {
	padding: 0 0 6rem 0;
}

.message-wrap {
	padding: 1.5rem;
	background: #f4f4f4;
	border: 0.3rem solid #ddd;
}

.message-inner {
	background-color: #fff;
	padding: 3rem 4rem;	
}

.message-inner p {
	margin-bottom: 0;
}

.message-inner > h1,
.message-inner > h2,
.message-inner > h3,
.message-inner > h4,
.message-inner > h5,
.message-inner > h6 {
	margin-top: 0;
}

.home #custom_html-8  {
	margin-bottom: 0;
}

.home .guide {
	background-color: #000;
	position: relative;
	padding: 0;	
}

.home .guide a {
	display: block;
	position: relative;
	height: 40rem;
	text-decoration: none;
}

.home .guide a:hover {
	opacity: 0.8;
}

.home .guide:before {
	top: 0;
	position: absolute;
	content: "";
	background-image: url('guide-bgnd.jpg');
	background-position: center;
	width: 100%;
	height: 100%;
	opacity: 0.5;
}

.home .guide a .container {
	padding: 5rem 0;
	text-align: right;
	height: 100%;
}

.home .guide h2 {
	font-family:'EdwardianScriptITCW01';
	font-size: 6rem;
	color: #fff;
	padding-top: 1rem;
	display: inline-block;
	text-shadow: 0.1rem 0.1rem 0.1rem #000;
	border-top: 0.6rem solid #aaa;
}

.home .guide p {
	margin-top: 2rem;
	width: 35%;
	margin-left: 65%;
	font-size: 2.0rem;
	letter-spacing: 0.05rem;
	color: #eee;
	line-height: 1.3;
	text-shadow: 0.1rem 0.1rem 0.1rem #000;
}

.home .guide .button {
	position: absolute;
	bottom: 5rem;
	right: 0;
	color: #fff;
	border-color: #fff;
}

@media ( max-width: 800px ) {

	.home .guide h2 {
		font-size: 4.7rem;
	}

	.home .guide p {
		width: 50%;
		margin-left: 50%;
		font-size: 1.6rem;
	}


}

/* SFF components */

.singular-widget-battenburg {
	position: relative;
}

.singular-widget-battenburg .row {
	display: table;
	width: 100%;
	min-height: 35vw;
}

.singular-widget-battenburg .image-block,
.singular-widget-battenburg .text-block {
	display: table-cell;
	width: 50%;
}

.singular-widget-battenburg .text-block {
	width: 50%;
}

.singular-widget-battenburg .text-block {
	vertical-align: middle;
	padding: 4rem 7% 4rem 7%;
}

.singular-widget-battenburg .image-block {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 30rem;
}

.singular-widget-battenburg .isfull .inner {
	display: block;
	width: 90%;
	float: right;
}

@media ( min-width: 960px ) {

	.singular-widget-battenburg .isfull .inner {
		/* max-width: calc( 480px - 11% ); */
	}

}

@media ( min-width: 1200px ) {

	.singular-widget-battenburg .isfull .inner {
		/* max-width: calc( 600px - 11% ); */
	}

} 

.singular-widget-battenburg .isfull.right .inner {
	float: left;
}

li.singular-widget-battenburg {
	margin-bottom: 0;
}

@media ( max-width: 600px ) {
	
	.singular-widget-battenburg .text-block {	
		height: 15rem;	
		font-size: 0.8em;
	}

	.singular-widget-battenburg .text-block {
		height: 10rem;
	}

	.singular-widget-battenburg h2 {
		font-size: 1.6rem;
		line-height: 2.1rem;
	}

}

/* End of SFF */

.widget.singular-widget-battenburg {
	margin-bottom: 0;
}

@media ( min-width: 800px ) {

	.pacific footer .widget-area #menu-footer.menu li {
		width: 80%;
		margin-left: 20%;
	}

}

.singular-widget-battenburg h3 {
	font-size: 2.5rem;
}

.singular-widget-battenburg h3 {
	font-size: 1.9rem;
	color: #888;
}

.widget h2.widgettitle {
	font-size: 1.8rem;
	text-transform: uppercase;
	letter-spacing: 0.3rem;
}

table.rates tr td {
	width: 14%;
	text-align: center;
}

table.rates tr td:first-child {
	width: 30%;
	text-align: left;
}

table.rates tr:first-child td {
	padding-left: 0.5rem;
	padding-right: 0.5rem;
}

table.rates tr:first-child td:first-child {
	padding: 0;
} 

@media ( max-width: 800px) {

	table.rates td {
		font-size: 1.4rem;
	}

}

body.home .hero.medium {height:0;}

.pacific .hero .top-left, 
.pacific .hero .top-right, 
.pacific .hero .bottom-left, 
.pacific .hero .bottom-right {
	width: 80%;
}

.booked-symbol {
	background-color: #660000;
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	color: transparent;
	vertical-align: bottom;
	top: -0.7rem;
	position: relative;
	margin: 0 0.7rem;
}

.page-id-101 .bedrock-map-widget h2 {
	display: none;
}

.page-id-101 .widget-area .widget.bedrock_widget_location_googlemap {
	margin-top: -3rem;
	margin-bottom: 4rem;
}

.line {
	margin-bottom: 3rem;
	padding-bottom: 0.8rem;
	border-bottom: 0.1rem solid #aaa;
}

.line-above {	
	margin-top: 3rem;
	padding-top: 0.8rem;
	border-top: 0.1rem solid #aaa;	
}

.pacific input[type="email"], 
.pacific input[type="number"], 
.pacific input[type="search"], 
.pacific input[type="text"], 
.pacific input[type="tel"], 
.pacific input[type="url"], 
.pacific input[type="password"], 
.pacific textarea, 
.pacific select {
	border-radius: 0;
}

/* Mapify Pro styling */

.pacific .mpfy-p-widget-direction a {
	background-color: #000 !important;
}

.pacific .mpfy-container {
	margin: 3rem 0;
}

.pacific .mpfy-mll-location .mpfy-mll-l-buttons a,
.pacific .mpfy-mll-location .mpfy-mll-l-categories a {
	border-radius: 0;
}

.pacific .mpfy-mll-location .mpfy-mll-l-buttons a {
	background-color: #080;
}

.pacific .mpfy-mll-location .mpfy-mll-l-buttons a + a {
	background-color: #000;
}

.entry-content h2:first-child {
	margin-bottom: 2rem;
}

.pacific .mpfy-p-bottom {
	background-color: #fff;
}

.pacific .mpfy-p-scroll {
	padding: 1.5rem 0;
}

.button.book {
	display: block;
	margin-bottom: 3rem;
}

h3 .fa {
	color: #aaa;
	margin-right: 0.7rem;
}

.pacific .sidebar .menu li a {
	background-color: #dddddd;
}

.pacific .sidebar .menu li a:hover {
	background-color: #000;
	color: #fff;
}

.pacific .bedrock-panel {
	background-color: #dddddd;
}

/* Masterslider */

body.page-id-7617 .master-slider {display: none !important;}

.ms-slide-bgcont {
	background-color: #000;
}

.ms-slide-bgcont img {
	opacity: 0.7;
}

.pacific .ms-nav-next, 
.pacific .ms-nav-prev {
	display: none;
}

.pacific .mobile-nav li.button {
	border-color: #ccc;
}

.pacific .mobile-nav li.button a {
	color: #fff;
}

.pacific #hamburger {
	background-color: transparent;
}

.pacific #hamburger #div-1, 
.pacific #hamburger #div-2, 
.pacific #hamburger #div-3 {
	background-color: #aaaaaa;
}

@media( max-width: 800px ) {

	.pacific #bedrock-custom-field-3 {
		margin-top: 3rem;
	}

}

.room {
	margin: 3rem 0 0 0;
	clear: both;
	float: left;
	width: 100%;
}

.room .widget-code {
	margin-left: -8px;
	clear: both;
	float: left;
	width: 100%;
}

.room .widget-code h4 {
	margin-left: 8px;
	margin-bottom: -0.5rem;
	margin-top: 1rem;
}

.room .desc {
	width: 40%;
	float: left;	
}

.room .gallery {
	width: 55%;
	margin-left: 5%;
	float: right;
	clear: none;
}

.room .gallery.count-1 {
	width: 20%;	
	float: left;
}

.room .gallery.count-2 {
	width: 30%;	
	float: left;
}

footer .translate {
	border-top: 0.1rem solid #aaa;
	padding-top: 1rem;
	text-align: right;
}

footer .widget .translate a {
	text-decoration: none;
}

#QBOOKWIDGET_CAL {
	margin-top: 2rem;
	margin-bottom: -8rem;
}

#booking-notes {
	margin-bottom: 4rem;
}

#booking-notes h3 {
	margin-top: 0;
}

.page-id-99 #bedrock-custom-field-3 {
	border-top: 0.1rem solid #ddd;
	padding-top: 1rem;
}

.pacific .widget.bedrock_widget_custom_field h3 {
	margin-top: 0;
}

.blog h1 {
	font-family: 'Merriweather', serif;
	line-height: 1.2;
}

.blog h2.page-title {
	font-family:'EdwardianScriptITCW01';
	font-size: 4.5rem;
}

@media( max-width: 600px ) {
/*  body.home .hero.medium, .hero.medium .image {height:0;} */
  body.home .hero.medium {height:0;}
  .home h1 span {font-size: 3.0rem !important;}
}
