/* ============================ Desktop ============================ */

/* ============================
  Global Layout Desktop
  ============================ */

html, body {
  margin: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: arial, helvetica, sans-serif;
  color: #000;
}

main {
flex: 1;   /* pushes the footer down */
}

/* ============================
Header Box Formatting Desktop
============================ */

.BSL-logo {
  float: left;
  margin-left: 12px;
  margin-top: -8px;
  margin-bottom: 6px;
  height: 65px;
 }

.nominet-logo {
  float: right;
  margin-right: 15px;
  margin-top: 1px;
  height: 51px;
 }

/* ============================
Nav Bar Style Desktop
============================ */

nav.site-nav {
    height: 56px;
    line-height: 55px;
    text-align: center;
    font-size: 1.4em;
    font-weight: 500;
}

.site-nav a + a::before {
  content: " | ";
  color: #000099;
  font-weight: 700;
}

/* ============================
Footer Box and Links Formatting Desktop
============================ */

#desktop-footer {
  display: flex;
  width: 100%;
  justify-content: space-between;
  box-sizing: border-box;
  background: #000099;
  margin-top: 20px;
  padding: 8px 10px; /* top/bottom | left/right */
  color: white;
  font-size: 0.9em;
}

#mobile-footer  { display: none; }

#desktop-footer a { text-decoration: none; }

#desktop-footer  a,
  footer a:hover {
  color: white;
}

/* ============================================
General Page  / Body Headings and Paragraphs Tags Desktop
============================================== */

h1 {
  margin: 6px 0 0 0;
  padding: 0;
  color: black;
  font-size: 2.05em;
  font-weight: bold;
}

h2 {
  color: black;
  font-size: 1.4em;
  font-weight: bold;
}

h2#h02 {
  color: #6E6E6E;
  font-style: italic;
  font-size: 1.6em;
  text-align: justify;
}

h3 {
  color: black;
  font-size: 1.2em; font-weight: bold;
}

h4 {
  font-size: 36px;
  color: #000099;
  line-height: 1.2;
  margin: 6px;
}

p {
  width: 100%;
  color: black;
  font-size: 1.3em;
}

p#p02 { width: 85%; font-size: 1.2em; text-align: justify; }

hr { background-color: #000099; }

hr#hr1, hr#hr3 { height: 10px; clear: both;}

hr#hr2 { background-color: #BDBDBD; height: 2px; }

ul { list-style: square; }

a { color: #003399; text-decoration: none; font-weight: 500; }

a:hover { color: #3333CC; font-weight: 600; }

/*  =================================
    Section Styles - Containers / Boxes Desktop
=================================== */

.section1,.section2,.section5,.section6,.section7{
  width:70%;
  margin:20px auto 0;
  padding:10px 42px;
}

.section1 {
display: block;
background-color: #D8D8D8;
border: 10px solid #000099;
border-radius: 14px;
text-align: center;
}

.section2 {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 90px;
background-color: #0000CC;
border: 10px solid #000099;
border-radius: 14px;
}

/* -------- Section3 Used for Page Title H1 -------*/
.section3 {
 display: flex;
 flex-direction: column;
 justify-content: center;
 width:70%;
 align-items: center;
text-align: center;
 min-height: 28px;
 background-color: #CCCCCC; 
 border: 5px solid #CCCCCC;
 border-radius: 28px;
 margin: 8px auto -25px auto;
 padding: 0px 22px 3px 22px; /* top | right | bottom | left */
}

.section4 {
  display: flex;
  width: 67%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: justify;
  margin:20px auto 0;
  padding:10px 42px;
}

.section5 {
display: block;
text-align: justify;
}

.section6 {
display: block;
text-align: center;
}

.section7 {
display: flex;
border: 14px solid #D8D8D8;
border-radius: 14px;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 36px 42px;
}

/* =================================
Classic Domain Lists Pages Formatting Desktop
================================== */

.domcol{
  columns: 4 120px;
  column-gap: 70px;
  text-align: left;
  border: 8px solid #E6E6E6;
  border-radius: 25px;
  padding: 15px;
  color: black;
  font-size: 1.3em;
}

#classic-links {
    font-size: 1.2em;
}

.alphabetbookmark {
    margin-top: 38px;
    margin-bottom: 14px;
    text-align: center;
    font-size: 1.1em;
    font-weight: normal;
}

.alphabetbookmark a:hover {
display: inline-block;
    background: #0078d4;
    color: #fff;
    border-radius: 4px;
}

/* ---------- 'Back to top' Button that appears on these pages and also All Domains page ---------- */

.scroll-indicator {
  display: none;
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 20000; /* higher than your mobile menu (9999) */

  background: rgba(255,255,255,0.95);
  border: 3px solid #0078d4;
  color: #0078d4;

  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;

  box-shadow: 0 6px 12px rgba(0,0,0,0.3);

  /* iOS Safari: force its own composited layer */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.scroll-indicator.show {
  display: block !important;
}

.scroll-indicator:hover {
  background: #0078d4;
  color: #fff;
}

/* ============================
Homepage and IndexGTLD Attributes
============================ */
  
/* ---------- Domain Link Buttons ---------- */

.btn1 {
display: inline-block;
  width: 25%;
  background-color: #0000CC;
  border: 4px solid #000099;
  border-radius: 14px;
  padding: 6px;
  margin: 0 48px;
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: bold;
  color: #D8D8D8;
  cursor: pointer;
  text-align: center;
}

.btn1:hover {
background-color: #99ccff;
}

/* ---------- Livesearch Display ---------- */

#searchBox {
  text-align: center;
}
#results {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 316px;
}

#results li {
  background-color: #686868;
  margin-bottom: 5px;
  padding: 8px;
  border-radius: 4px;
}

#results a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
}

#noResults {
  display: none;
  font-family: arial, helvetica, sans-serif;
  font-size: 16px;
  color: white;
  margin-top: 14px;
}

mark {
  background-color: #ccc;
  color: black;
  border-radius: 3px;
  padding: 0 2px;
}

/* ===========================
 Global Form Inputs Formatting Desktop (only used currently partially on index page?) ...
============================= */

input, select, textarea {
  background: #99ccff;
  font-family: verdana;
  font-size: 10px;
  border-radius: 5px;
  height: 26px;
}

input, select {
  border: 4px solid #b3b3b3;
  padding: 4px;
}

textarea {
  border: 2px solid #000099;
  padding: 2px;
}

input:focus, textarea:focus, select:focus {
  border-color: #000099;
  outline: none;
  box-shadow: 0 0 0 1px #000099;
}

/* ===============================================
  Enquiry and Contact Form Field Styles and formatting Desktop
================================================= */

.contact-table {
  background: url(/images/bkgd-lines_lightpurp.gif);
  max-width: 600px;
  width: 100%;
  margin: 10px auto;
  padding: 20px 44px;
  font-size: 1.1em;
  box-sizing: border-box;
  border-radius: 15px;
}

.required {
  color: red;
  font-weight: bold;
}

/* ---------- .form-field attributes ---------- */

.form-field input,
.form-field textarea,
.form-field select {
  display: block;
  width: 100%;
  margin: 6px auto 14px;
  box-sizing: border-box;
  font-size: 18px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 4px solid #b3b3b3;
}

.form-field input {
  height: 48px;
}

.form-field textarea {
  height: 110px;
}

.form-field select {
  height: 48px;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: #000099;
  outline: none;
  box-shadow: 0 0 0 1px #000099;
}

/* ----------  other .form- attributes ---------- */

.form-error {
  background: #fff3cd;
  border: 1px solid #ffcc00;
  color: #856404;
  padding: 12px;
  margin: 4px 0 16px;
  font-size: 0.85em;
  font-weight: 600;
  text-align: center;
  display: none;
}

form.submitted .form-error {
  display: none;
}

form.submitted :is(input, select, textarea):invalid ~ .form-error {
  display: block;
}

input[type="checkbox"] {
  transform: scale(1.4);
  transform-origin: center;
  margin-top: -2px;
  margin-left: 25px;
}

.button-submitform {
display:block;
width:100%; 
height:45px; 
margin-top:29px; 
line-height:16px;
 background-color:#EFEFEF;
font-size:18px;
border:4px solid #b3b3b3;
border-radius: 6px;
} 

/* -------------------------------------------------------------------------
  External Located CSS to resolve probable form hover issue  
  ------------------------------------------------------------------------- */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
 /* display: none; - Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* -- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}

/* ###############################################################################################################
                                                                                       MOBILE RESPONSIVE
   ############################################################################################################### */

@media (max-width: 820px) {

/* ============================
                  Header Mobile
============================ */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding-right: 18px;
}
  
.BSL-logo {
  width: 130px;
  height: auto;
  margin-top: -8px;
}

.nominet-logo {
  width: 110px;
  height: auto;
  margin-top: -12px;
}  

/* ============================
                  Nav Mobile
============================ */

.burger {
  display: flex;
  width: 32px;
  height: 23px;
  margin-right: 7px;
  margin-top: -13px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  }

  .burger span {
    display: block;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
  }

  .burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  /* ---------- Mobile menu dropdown---------- */
  
.site-nav {
  display: none;           
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  width: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  flex-direction: column;
  background: #444;
  z-index: 9999;
}
  .site-nav.open {
    display: flex;
  }
.site-nav a {
  display: block;
  width: 100%;
  background: #e0e0e0;
  color: #000;
  padding: 7px 0;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
 }
  .site-nav a::before,
  .site-nav a::after {
   content: none !important;
  }
.site-nav a:hover,
.site-nav a:focus,
.site-nav a:active {
  background-color: #000099; /* Brand blue */
  color: #ffffff;
}

.site-nav a.is-pressed {
  background-color: #000099;
  color: #fff;
}

  /* Hide HR on mobile */
  #hr1 {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

/* ============================
                 Footer Mobile
============================ */

#desktop-footer { display: none;}

#mobile-footer {
  display: flex;
  justify-content: space-between;
  white-space: nowrap;
  background: #000099;
  margin-top: 20px;
  padding: 8px 6px;
  color: white;
  font-size: 11px;
}

#mobile-footer a {
  text-decoration: none;
  color: white;
}

#mobile-footer a:hover {
  color: white;
}

/* ============================
  Page and Body Attributes Mobile
============================ */

body {
 font-size: 16px;
}

h1 {
 font-size: 22px;
 line-height: 1.2;
  margin-top: 12px !important;
}

h2 {
 font-size: 20px;
 line-height: 1.25;
}

h3 {
 font-size: 16px;
 line-height: 1.3;
}

h4 {
  font-size: 28px;
  color: #000099;
  line-height: 1.2;
  margin: 6px;
}

p {
  font-size: 16px;
  line-height: 1.45;
 }

input[type="checkbox"] {
 transform: scale(0.8);
 margin-top: 0px;  
}

/* ===============================
 Classic Domain List Pages Attributes Mobile
================================= */

.domcol {
  columns: 1;
  column-gap: 20px;        
  width: 95% !important;
  margin: 0 auto;
  padding-left: 32px;
  font-size: 1.1em;
  border-width: 5px;
  box-sizing: border-box;
}

/* ---------- 'Back to top' Button that appears on these pages and also All Domains page ---------- */

  .scroll-indicator {
    font-size: 15px;
    padding: 12px 16px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
  }

/* ============================
Homepage and IndexGTLD Attributes
============================ */

.btn1 {
display: block;
width: 100%;
font-size: 16px;
margin-inline: auto;
margin-top: 18px;
}

/* =================================
   Enquiry and Contact Form Attributes Mobile
================================== */

.contact-table {
  width: 95%;
 }

.form-field input,
.form-field textarea,
.form-field select {
  margin: 6px 0px 14px 0px;
  font-size: 16px;
 }

/*  ===================================
       Section Styles - Containers / Boxes Mobile
===================================== */

.section1 {
width: 78%;
border: 7px solid #000099;
margin: 12px auto 0px auto;
padding: 10px 25px;
}

.section2 {
width: 78%;
border: 7px solid #000099;
padding: 10px 25px;
}

.section3 {
 min-height: 20px;
 margin: 6px auto -25px auto;
 padding: 0px 8px 13px 8px;  /* top | right | bottom | left */
 text-align: center;
}

.section7 {
width: 64%;
padding: 26px 32px;
text-align: center;
}
}