 /* 1. Use a more-intuitive box-sizing model. */

 *,
 *::before,
 *::after {
     box-sizing: border-box;
}
/* 2. Remove default margin */
* {
  margin: 0;
}

/* Typographic tweaks! 4. Add accessible line-height 5. Improve text rendering */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
    /* font-size:16px; */
    /* line-height: 32px; */
    /* color: #000000; */
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

/* 6. Improve media defaults */
  img,svg,video,picture {
  max-width: 100%;
  height: auto;
}
/* 7. Remove built-in form typography styles */
input, button, textarea, select {
  font: inherit;
}
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Head section */
.head-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    background: url(../images/wood_bg.webp) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
    /* gap: 1rem; */
    grid-template-areas: 
    "logo title title title contact"
    "menu menu menu menu menu";
}
.logo {
    /* background-color: blueviolet; */
    padding: 1rem;
    text-align: center;
    grid-area: logo;

}
.head-title {
    /* background-color: brown; */
    padding: 1rem;
    text-align: center;
    grid-area: title;
}
.contact-section {
    /* background-color: cadetblue; */
    padding: 1rem;
    text-align: center;
    grid-area: contact;
}
.navigation {
    /* background-color: chocolate; */
    grid-area: menu;
}

/*JQuery slider */
.slider {
    width: 100%;
}

/* 50 50 split */
.fifty {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
    align-content: center; 
    align-items: center;
    margin-bottom: 1rem;
}
.left-content {
    /* background-color: darkcyan; */
    padding: 1rem;
    text-align: left;
}
.right-content {
    /* background-color: darksalmon; */
    padding: 1rem;
    text-align: center ;
}

.full-width {
    /* background-color: crimson; */
    padding: 1rem;
    text-align: center;
    margin-top: 0.5rem;
}
/*todo example boxes */
.example {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.ex1 {
    background-color: white;
    padding: 0.5rem;
    text-align: center;
}
.ex2 {
    background-color: white;
    padding: 0.5rem;
    text-align: center;
}
.ex3 {
    background-color: white;
    padding: 0.5rem;
    text-align: center;
}
.ex4 {
    background-color: white;
    padding: 0.5rem;
    text-align: center;
}
/*todo heading div */
.heading {
    background-color: white;
    padding: 0.5rem;
    text-align: center;
}

/*!! header background images */

.about_bg {
    background: url(../images/holding.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
    padding: 30vh 1rem;
}

.medals_bg {
    background: url(../medals/medal_slide.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
    padding: 30vh 1rem;
}
.trophies_bg {
    background: url(../trophies/trophy_slide.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
    padding: 30vh 1rem;
}
.coasters_bg {
    background: url(../coasters/misc.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
    padding: 30vh 1rem;
}
.keyrings_bg {
    background: url(../keyrings/keyring_slide.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
    padding: 30vh 1rem;
}

.misc_bg {
    background: url(../misc/misc_head.jpg) no-repeat center center scroll; 
	-webkit-background-size: cover;
	-moz-background-size: contain;
	-o-background-size: cover;
	background-size: cover;
    padding: 30vh 1rem;
}


/*TODO FONT */

.gloria-hallelujah-regular {
    font-family: "Gloria Hallelujah", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
	/*H1
	Min      Std      Max
	25px              48px*/
	h1 {font-size: clamp(1.5625rem, 1.2887rem + 1.369vw, 3rem);
    margin-bottom: 15px;}
	
	
	/*H2
	Min      Std      Max
	20px              38px*/
	h2 {font-size: clamp(1.25rem, 1.0357rem + 1.0714vw, 2.15rem);
    margin-bottom: 1rem;
    font-family: "Gloria Hallelujah", cursive;}
	
	
	/*H3
	Min      Std      Max
	18px              30px */
	h3 {font-size: clamp(1.125rem, 0.9821rem + 0.7143vw, 1.875rem);
    margin-bottom: 1rem;
    font-family: "Gloria Hallelujah", cursive;
    color: #31211C;}
	
	
	/*H4
	Min      Std      Max
	18px              26px*/
	h4 {font-size: clamp(1.125rem, 1.0298rem + 0.4762vw, 1.625rem);
    margin-bottom: 1rem;
    font-family: "Gloria Hallelujah", cursive;
    color: #31211C;}
	
	
	
	/*H5
	Min      Std      Max
	17px              22px*/
	h5 {font-size: clamp(1.0625rem, 1.003rem + 0.2976vw, 1.375rem);
        color: #31211C;
        margin-bottom: 1rem;
        font-family: "Gloria Hallelujah", cursive;
    }
	
	
	/*P 
	Min      Std      Max 
	16px              20px*/
	p {font-size: clamp(1rem, 0.9524rem + 0.2381vw, 1.1rem);
    margin-bottom: 1rem;}

    .white {
        color: white;
    }
    .grey {
        color: #cccccc;
    }
    .large {
        font-size: 4rem;
        color: black;
    }
    /*todo list style */
    ul.b {
        list-style-type: square; 
        line-height:200%;
        text-align: left;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        color: #000000;
        /* font-size: large; */
   }

   /*todo table config */
   table {
    border-collapse: collapse;
    border-spacing: 0;
   
    border: 1px solid #ddd;
    width: 100%;
    max-width: 500px;
}

th, td {
    border: none;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even){background-color: #f2f2f2;
}

/*todo icons */
.fa {
	padding: 20px;
	font-size: 22px;
	width: 22px;
	text-align: center;
	text-decoration: none;
	margin: 5px 2px;
	color:white;
  }
  
  /* Hover for AF4 fa but for AF5 it will be fas */
  .fa:hover {
	  opacity: 0.8;
	  color: #868685;
	  transition: .6s ease;
  }
  .fa-facebook {
	background:transparent;
	color: white;
	padding-right: 20px; 
	padding-top: 10px; 
	text-decoration: none;
	transition: .6s ease;
  }
  .fa-instagram {
   
    color: white;
  }

  /* todo Count up dynamic */
  .countup {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
    opacity: 0;
  }
  
  .countup--is-visible {
    opacity: 1; /* show countup once JS has been initialized */
  }
  .cd-sr-only {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
            clip-path: inset(50%);
    width: 1px;
    height: 1px;
    overflow: hidden;
    padding: 0;
    border: 0;
    white-space: nowrap;
  }

  /*todo button style */

  .button-default {
    color: white;
    width: 80%;
    background-color: rgb(31, 24, 3);
    text-align: center;
    text-transform: uppercase;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 9px 14px;
    margin: 10px;
    display: inline-block;
    -webkit-transition-duration: 0.3s; 
    transition-duration: 0.3s;
    text-decoration: none;
   }
   .button-default:hover {
    background-color:#4F3322;
    color: white;
   }
   .button-slanted {
    -ms-transform: skewX(-20deg);
    -webkit-transform: skewX(-20deg);
    transform: skewX(-20deg);
   }
   
   .button-slanted-content {
    -ms-transform: skewX(20deg);
    -webkit-transform: skewX(20deg);
    transform: skewX(20deg);  
    display: inline-block;
   }
   .button-fixedwidth {
    width: 90%;
   }

  /*todo tabbed gallery */

  /* The grid: Four equal columns that floats next to each other */
.column {
    float: left;
    width: 25%;
    padding: 10px;
  }
  
  /* Style the images inside the grid */
  .column img {
    opacity: 0.8; 
    cursor: pointer; 
  }
  
  .column img:hover {
    opacity: 1;
  }
  
  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* The expanding image container */
  .container {
    position: relative;
    display: none;
  }
  
  /* Expanding image text */
  #imgtext {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    font-size: 20px;
  }
  
  /* Closable button inside the expanded image */
  .closebtn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 35px;
    cursor: pointer;
  }
  /*!! Finish tabbed gallery */

  /*todo back to top */
  .cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    /* image replacement properties */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: #1b0f03 url("../images/cd-top-arrow.svg") no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
  }
  .cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
  }
  .cd-top.cd-is-visible {
    /* the button becomes visible */
    visibility: visible;
    opacity: 1;
  }
  .cd-top.cd-fade-out {
    /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
    opacity: .5;
  }
  .no-touch .cd-top:hover {
    background-color: #F29E92;
    opacity: 1;
  }
  @media only screen and (min-width: 768px) {
    .cd-top {
      right: 20px;
      bottom: 20px;
    }
  }
  @media only screen and (min-width: 1024px) {
    .cd-top {
      height: 60px;
      width: 60px;
      right: 30px;
      bottom: 30px;
    }
  }


  /* todo testimonals */
  .testimonial{
    text-align: center;
}
.description{
    color:#656565;
    font-size: 24px;
    line-height: 35px;
    margin-bottom: 30px;
    padding:0px 11%;
    position: relative;
}
.description:before{
    content: "\f10d";
    font-family: 'FontAwesome';
    display: inline-block;
    position: absolute;
    top: 8px;
    left: 2%;
    color:#1A130F;
    font-size: 36px;
}
.description:after{
    content: "\f10e";
    font-family: 'FontAwesome';
    display: inline-block;
    position: absolute;
    top: 8px;
    right: 2%;
    color:#1A130F;
    font-size: 36px;
}
.pic{
    width: 94px;
    height: 1px;
    margin: 0 auto;
}
.pic img{
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.testimonial-title{
    font-size: 18px;
    color:#333;
    font-weight: bolder;
    text-transform: capitalize;
}
.testimonial-title > small{
    display: block;
    color:#656565;
    font-size: 15px;
    text-transform: uppercase;
    margin-top: 5px;
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span{
    background: #1A130F;
}
.owl-theme .owl-controls .owl-page span{
    opacity: 1;
}
@media screen and (max-width: 480px) {
    .description{
        font-size:19px;
        line-height: 29px;
    }
    .description:before,
    .description:after{
        font-size: 25px;
    }
}

/*todo menu */
 
   .toggle,
    [id^=drop] {
    display: none;
    }
    
    /* Giving a background-color to the nav container. */
    nav { 
    display:grid;
    margin-left:0;
    padding: 0;
    z-index: 999;
    justify-content: center;
    background-color: #1a130f;
    }
    
    nav:after {
    content:"";
    display:table;
    clear:both;
    }
    
    /* Removing padding, margin and "list-style" from the "ul",
    * and adding "position:reltive" */
    nav ul {
    float: left;
    padding:0;
    z-index: 999;
    margin:0;
    list-style: none;
    position: relative;
    
    }
    
    /* Positioning the navigation items inline */
    nav ul li {
    margin: 0;
    display:inline-block;
    float: left;
    background-color: #1a130f;
    }
    
    /* Styling the links */
    nav a {
    display:block;
    padding:14px 20px;	
    color:#ffffff;
    font-size:14px;
    text-decoration:none;
    transition: 0.3s;
    }
    
    nav ul li ul li:hover {
    background: #FFFFFF;
    }
    
    /* Background color change on Hover */
    nav a:hover { 
    background-color: #FFFFFF; 
    color:#000000;
    }
    
    /* Hide Dropdowns by Default
    * and giving it a position of absolute */
    nav ul ul {
    display: none;
    position: absolute; 
    z-index: 999;
    /* has to be the same number as the "line-height" of "nav a" */
    top: 45px; 
    }
    
    /* Display Dropdowns on Hover */
    nav ul li:hover > ul {
    display:inherit;
    z-index: 999;
    }
    
    /* Fisrt Tier Dropdown */
    nav ul ul li {
    width:230px;
    float:none;
    display:list-item;
    position: relative;
    }
    
    /* Second, Third and more Tiers	
    * We move the 2nd and 3rd etc tier dropdowns to the left
    * by the amount of the width of the first tier.
    */
    nav ul ul ul li {
    position: relative;
    top:-60px;
    /* has to be the same number as the "width" of "nav ul ul li" */ 
    left:170px; 
    }
    
    
    /* Change ' +' in order to change the Dropdown symbol */
    li > a:after { content:  ' +'; }
    li > a:only-child:after { content: ''; }
    
    
    /* Media Queries
    --------------------------------------------- */
    
    @media all and (max-width : 768px) {
    
    
        nav {
    
            display: grid;
            justify-content:left;
            margin-left:0;
            padding: 0;
            justify-content: left;
            /* position: fixed; */
            /* background-color: #669900; */
        }
    
    /* Hide the navigation menu by default */
    /* Also hide the  */
    .toggle + a,
    .menu {
        display: none;
    }
    
    /* Styling the toggle lable */
    
    .toggle {
        display: block;
        background-color: #1a130f;   /* toggle button on mobile background colour*/
        padding:14px 20px;	
        color:white;  /* font colour on toggle button mobile*/
        font-size:16px;
        text-decoration:none;
        border:none;
    }
    
    .toggle:hover {
        background-color: #1a130f;   /* the button toggle background behind the hamburger and drop downs on mobile on hover */
    }
    
    /* Display Dropdown when clicked on Parent Lable */
    [id^=drop]:checked + ul {
        display: block;
    }
    
    /* Change menu item's width to 100% */
    nav ul li {
        display: block;
        width: 100% !important;
        }
    
    nav ul ul .toggle,
    nav ul ul a {
        padding: 0 40px;
    }
    
    nav ul ul ul a {
        padding: 0 80px;
    }
    
    nav a:hover,
     nav ul ul ul a {
        background-color: #cccccc;
    }
    
    nav ul li ul li .toggle,
    nav ul ul a,
    nav ul ul ul a{
        padding:14px 20px;	
        color:#000000;
        font-size:15px; 
    }
    
    nav ul li ul li .toggle,
    nav ul ul a {
        background-color:  #1a130f; 
        color: white;
    }
    
    /* Hide Dropdowns by Default */
    nav ul ul {
        float: none;
        position:static;
        color: #000000;
        /* has to be the same number as the "line-height" of "nav a" */
    }
        
    /* Hide menus on hover */
    nav ul ul li:hover > ul,
    nav ul li:hover > ul {
        display: none;
    }
        
    /* Fisrt Tier Dropdown */
    nav ul ul li {
        display: block;
        width: 100%;
    }
    
    nav ul ul ul li {
        position: static;
        /* has to be the same number as the "width" of "nav ul ul li" */ 
    }
    
    }
    
    @media all and (max-width : 320px) {
    
        nav ul li {
        display: block;
        width: 100%;
        }
    }


/**********todo medica Queries **************/


/* MOBILE MEDIA QUERIES Nexus 7 Android landscape */

@media screen and (max-width: 966px) {
    /* Head section */
.head-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    /* gap: 1rem; */
    grid-template-areas: 
    "logo" 
    "title" 
    "contact"
    "menu";
}

/* 50 50 split */
.fifty {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
    align-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
/*todo example boxes */
.example {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

}

/* MOBILE MEDIA QUERIES iPad portrait */

@media screen and (max-width: 768px) {

/* Head section */
.head-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    /* gap: 1rem; */
    grid-template-areas: 
    "menu"
    "logo" 
    "title" 
    "contact";
}

/*todo example boxes */
.example {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.left-content {
    /* background-color: darkcyan; */
    padding: 1rem;
    text-align: center;
}
.right-content {
    /* background-color: darksalmon; */
    padding: 1rem;
    text-align: center ;
}

}

/* MOBILE MEDIA QUERIES Nexus 7 Android portrait / Galaxy Tab */

@media screen and (max-width: 604px) {

/* Head section */
.head-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    /* gap: 1rem; */
    grid-template-areas: 
    "menu" 
    "logo"
    "title" 
    "contact";
}

}

/* MOBILE MEDIA QUERIES Mobile iPhone 6plus */

@media screen and (max-width: 414px) {



}



/* MOBILE MEDIA QUERIES Mobile iPhone 6 */

@media screen and (max-width: 375px) {



}



/* MOBILE MEDIA QUERIES Mobile Anroid */

@media screen and (max-width: 360px) {


}


/* MOBILE MEDIA QUERIES Mobile Lumia */

@media screen and (max-width: 320px) {


}