/*
Theme Name: bluesinbritain
Author: Blue Smarty
Author URI: https://blue-smarty.com/
Version: 2021.9
*/

/*VARS*/
:root {
    --mainColor: #B6854F;
    --SiteBlue: #102B4D;
    --SiteGrey: #dbdbdb;
    --Product: #00A6E2;
    --LightBlue: #789EAC;
    --BtnOrange: #D67C49;
    --FooterBkg: #0781E6;
    /* --Mastbkg: #010101; */
    --Mastbkg: #0D0A4A;


}

html, body{
    /* overflow-x: hidden !important; */
    background-color: var(--Mastbkg);
  }

html { scroll-behavior: smooth;
   font-size: 18px;
    /* font-size: calc(0.1250em + 1vw);   */
}

body {font-family: 'Open Sans', sans-serif!important;}

.SiteBlack {
    background-color: var(--Mastbkg)!important;
}
#header a {
    color: #fff;
}
#header a:hover {
    color: var(--SiteGrey);
    text-decoration: underline;
}

.contact a {color:white;text-decoration: none;}
.contact a:hover {color:white;text-decoration:underline;}


.wpforms-field-description > a {color: var(--BtnOrange)}
.wpforms-field-description > a:hover {color: var(--BtnOrange);text-decoration: underline;}


button.navbar-toggler {
    margin-left: auto!important;
    margin-right: auto!important;
}



/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    .navbar .nav-item a {text-align: center;}
    .navbar .nav-item .nav-link {padding: 0.2rem 1rem;}
	.navbar .nav-item .dropdown-menu{ display: none; }
	.navbar .nav-item:hover .nav-link{ color: #fff;  }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
	.navbar .nav-item .dropdown-menu{ margin-top:0; }
    .navbar .nav-item:hover .dropdown-menu {
        background-color:#D7D2B1CC;
        padding: 1rem 0rem;
        /* margin-left: -3.3rem; */
        font-size: 1.4rem;
        border: none;
        border-radius: 0;
        width:100%;
    }
}	

/* Change the color in the stroke property of the image data */
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  }
  
  .custom-toggler.navbar-toggler {
    border-color: rgb(255,255,255);
  } 

  a.nav-link {
    text-align: center;
}


.bodybkground {
    position: relative;
    top: 0px;
    width: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    /* background-image: url('/wp21/wp-content/uploads/2021/09/Strip-background-1.jpg'); */
    background-image: url('/wp21/wp-content/uploads/2024/08/Strip-background-2024.webp');
    background-attachment: fixed;
}

/* .darkbkg {background-color: rgba(0, 0, 0, 0.6)!important;} */
.darkbkg {background-color: rgba(13, 10, 74, 0.6)!important;}
.lightbkg {background-color: rgba(255, 255, 255, 0.3);}


.latestissue {max-width: 350px;height:auto}

.wpforms-form button[type=submit] {
    background-color: white !important;
    border-color: white !important;
    color: var(--Mastbkg)!important;
}
 
.wpforms-form button[type=submit]:hover {
    background-color: var(--mainColor) !important;
    border-color: var(--mainColor) !important;
    color: white !important;
}

.wpforms-field-description {font-size: 16px!important;}

.btn-buynow {
	color: white;
	border-radius: 0;
	background-color: var(--mainColor);
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
}
a.btn-buynow:hover {color: var(--Mastbkg);background-color: white;text-decoration: none;
}

/* acf oembed responsive */
/* .embed-container { 
    position: relative; 
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
  } 
  
  .embed-container iframe,
  .embed-container object,
  .embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  } */

  .wp-block-image img {
    max-width: 100%;
    height: auto;
    }


.directorycard {background-color:white; padding: 1rem; overflow-wrap: break-word;
    word-wrap: break-word;}


.fancybox__content {
    max-width: 600px;   /* adjust to taste */
    margin: 0 auto;
}

.fancybox__slide {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* prevent vertical stretching */
}

.bi-modal-content {
    max-width: 550px;    /* your sweet spot */
    margin: 0 auto;
}



/* flipcard */

.flipcard {
	perspective: 1000px;
	margin-bottom: 0.5rem;
}

.flipcard .flipcard-wrap {
	position: relative;
	width: 100%;
	height: 100%;
	text-align: center;
	transition: transform 0.6s;
	transform-style: preserve-3d;
}

.flipcard .card-front, .flipcard .card-back {
	width: 100%;
	height: 100%;
	position: relative;
	backface-visibility: hidden;
	transition: all .3s;
}

.flipcard .card-front {
	z-index: 2;
}

.flipcard .card-front.card-title {
	height: 400px;
	background: var(--SiteBlue);
	color: var(--light);
	display: flex;
	justify-content: center;
}

.flipcard .card-front::after {
	content: "";
	display: block;
	width: 0;
	position: absolute;
	bottom: -1px;
	right: -1px;
	border-width: 16px 16px 0 0;
	border-style: solid;
	border-color: #999 #fff;
	border-radius: .25rem 0 0 0;
}

.flipcard .card-back {
	position: absolute;
	top: 0;
	text-align: left;
	z-index: 1;
	transform: rotateY(180deg);
	overflow-y: auto;
    background-color: black;
    color: white;
}
.flipcard > div > div.card.card-back > div > p {font-size:1.1rem}
p.flipcardsubtitle {font-size:0.8rem}

@media (min-width: 576px) { 
    .flipcard > div > div.card.card-back > div > p {font-size:0.5rem}
}


.flipcard:hover .flipcard-wrap {
	transform: rotateY(-180deg);
}


input#pwbox-196 {border:none}

form.post-password-form > p > input[type=submit] {
    background-color: var(--mainColor) !important;
    border-color: var(--mainColor) !important;
    color: white !important;
    border: none;
}
 
form.post-password-form > p > input[type=submit]:hover {
    background-color: white !important;
    border-color: white !important;
    color: var(--Mastbkg)!important;
}

/* back to top */

#backtotop {
	display: inline-block;
	color: var(--SiteGrey);
	width: 50px;
	height: 50px;
	text-align: center;
	border-radius: 4px;
	position: fixed;
	bottom: 30px;
	right: 15px;
	transition: background-color .3s, opacity .5s, visibility .5s;
	opacity: 0;
	visibility: hidden;
	z-index: 1000;
}

#backtotop svg, #backtotop i {
	width: 100%;
	height: 100%;
}

#backtotop:hover {
	cursor: pointer;
	color: #aaa;
}

#backtotop:active {
	color: #aaa;
}

#backtotop.show {
	opacity: 1;
	visibility: visible;
}

footer#footer {background-color: var(--FooterBkg);}
footer#footer a {color:white;text-decoration: none;}
footer#footer a:hover {color:white;text-decoration:underline;}
hr.footer {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
  }

