
body {
  margin: 0;
  font-family: Montserrat, Caveat, arial, helvetica, sans-serif;
	font-size: 15px;
color: #3D4849;
background: #f1f3f4;
background-image: url(images/background.png);
background-position: center center;
background-attachment: fixed;
background-repeat: no-repeat;
background-size: cover;

}

@media screen and (max-width: 680px) {
    body {
        background-image: url(images/background-mobile.png);
background-position: center center;
background-attachment: scroll !important;
    background-repeat: no-repeat !important;
    
    }
}


html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Navigation */
.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
}

.active {
  background-color: #dd0000;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}


@media screen and (max-width: 680px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 680px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

header {
  position: relative;
  width: 100%;
  background: #ffffff;
  color: #000000;
}

/* Header/Logo Title */
/*.header {
   height:350px;
  padding: 10px;
  text-align: center;
  background: #1abc9c;
  background: url("images/mainlogo.png") no-repeat center;
  
  color: white;
  font-size: 30px;
} */

.header{
  position: relative;
  width: 100%;
}

.header-image{
  height: 350px;
  background: url("images/mainlogo.png") no-repeat center top;
  background-size: cover;
}

/* text ON the image, slightly above bottom */
.header-text{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 35px;          /* raise/lower this */
  text-align: center;
  color: #fff;

  padding: 0 12px;       /* safe padding without causing overflow */
  box-sizing: border-box;/* IMPORTANT: keeps padding inside width */
}

/* Title */
.header-text h1{
  margin: 0;
  color: #ffffff;

  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;

  /* Smaller overall */
  font-size: clamp(16px, 3.2vw, 30px);

  /* Less “spread out” */
  letter-spacing: 0.12em;
  text-transform: uppercase;

  /* Let it stay one line unless you choose otherwise */
  white-space: nowrap;
}



/* Subtitle */
.header-text .sub {
  margin-top: 6px;
  color: #ffffff;

  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;

  font-size: clamp(14px, 3vw, 18px);
  letter-spacing: 0.08em;

  opacity: 0.9;
}


/* Mobile */
@media (max-width: 600px){
  .header-image{ height: 250px; }
  .header-text{ bottom: 14px; }
  .header-text h1{ letter-spacing: 1px; }
}

@media (max-width: 600px){
  .header-text h1{
    font-size: 16px;        /* firm mobile size */
    letter-spacing: 0.06em; /* stops it running across */
  }
}
 @media (max-width: 600px){
  .header-text{
    bottom: 30px;   /* raise the text on mobile */
  }
}





.container {
  position: relative;
  width: 920px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
  border: solid 0px;
}


h1 {
  font-size: 40px;
}

h1.shadow {
  font-size: 40px;
text-shadow: 2px 2px 4px #000000;
}


h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

h3.orange {
  font-size: 20px;
	color: orange;
  text-shadow: 2px 2px 4px #000000;
}

h3.red {
  font-size: 20px;
	color: #c5161e;
	font-weight: normal;
	text-decoration: none;
text-shadow: 3px 3px 9px #696969;
}


h4.red {
	color: #c5161e;
	font-size: 14px;
	font-weight: normal;
	margin: 0 0 8px 0;
	text-decoration: underline;
}

p {
  font-size: 15px;
}

.small {
  font-size: 12px;
}

.smaller {
  font-size: 10px;
}

a.links{ font: 15px Montserrat, Caveat, arial, helvetica, sans-serif;
	text-decoration:none;
	color : #dd0000;
}
	a.links:hover{
	text-decoration:none;
	color : #9c7c38;
}

a.menu{ font: 15px Montserrat, Caveat, arial, helvetica, sans-serif;
	text-decoration:none;
	color : grey;
}
	a.menu:hover{
	text-decoration:underline;
	color : maroon;
}

a.smaller{ font: 10px arial, helvetica, sans-serif;
	text-decoration:none;
	color : blue;
}
	a.smaller:hover{
	text-decoration:underline;
	color : maroon;
}


ul {

font-size: 15px;
padding-left:30px;

}

li {
  list-style-image: url('images/shuri-dojo-logo-no-kanji-sm.png');
margin-top:10px
}

li.basic{
  list-style-image: none;
margin-top:10px
}

ul.more {
  list-style-image: url('images/shuri-dojo-logo-no-kanji-sm.png');
font-size: 15px;
padding-left:40px;
}


	figure { 
	float: right; 
	display: block;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
	margin: 0px; 
	margin-left:15px; 
 	margin-bottom: 0px; 
	margin-right: 15px;
}

figure figcaption {
    border: 0px;
    text-align: center;
	font-size: 12px;
}


figure.left { 
	float: left; 
	display: block;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
	margin: 0px; 
	margin-left:5px; 
 	margin-bottom: 0px; 
	margin-right: 5px;
	border: 0px;
}

figure.left figcaption {
    border: 0px;
    text-align: center;
	font-size: 12px;
}




#img {
  display:block;
	margin-left: auto;
  margin-right: auto;
  width: 100%;
}



.left {
  border: solid 1px black;
  float: left;
padding: 0px 0px 0px 0px;
	vertical-align: top;
	margin-top: 0px; 
	margin-left:15px; 
 	margin-bottom: 0px; 
	margin-right: 15px;
}


.leftnoborder {
  border: 0px;
  float: left;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
	margin-top: 0px; 
	margin-left:15px; 
 	margin-bottom: 0px; 
	margin-right: 15px;
}

.leftnobordersm {
  border: 0px;
  float: left;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
	margin-top: 0px; 
	margin-left:10px; 
 	margin-bottom: 0px; 
	margin-right:5px;
}

.right {
  border: solid 1px black;
  float: right;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
	margin: 0px; 
	margin-left:15px; 
 	margin-bottom: 0px; 
	margin-right: 15px;
}

.rightnoborder {
  border: 0px;
  float: right;
	padding: 0px 0px 0px 0px;
	vertical-align: top;
	margin-top: 0px; 
	margin-left:15px; 
 	margin-bottom: 0px; 
	margin-right: 15px;

}


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


figure {
text-align: center; 
float: none;
    display: block;
margin-left: auto;
  margin-right: auto;
}

figure.left {
text-align: center; 
float: none;
    display: block;
margin-left: auto;
  margin-right: auto;
}



  .right{
  
    float: none;
    display: block;
margin-left: auto;
  margin-right: auto;
  
  }

.rightnoborder{
  
    float: none;
    display: block;
margin-left: auto;
  margin-right: auto;
  
  }

.left{
  
    float: none;
    display: block;
margin-left: auto;
  margin-right: auto;
  
  }

.leftnoborder{
  
    float: none;
    display: block;
margin-left: auto;
  margin-right: auto;
  
  }

}

.column {
  float: left;
  width: 33.33%;
	font-size: 15px;
	
}

.column50 {
  float: left;
  width: 50%;
	font-size: 15px;
	font-weight: normal;
}

.column100 {
  float: left;
  width: 50%;
	font-size: 15px;
	font-weight: normal;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 680px wide, make the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 680px) {
  .column {
    width: 100%;
  }


  .column100 {
    width: 100%;
	float: left;
	font-size: 15px;
	font-weight: normal;
  }
}


/* Style the content */
.content {
  background-color: #ddd;
  padding: 10px;
  
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #dd0000;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}


/* Style the footer */
.footer {
  background-color: #333;
  padding: 20px;
	text-align: center;
	font-size: 10px;
	color: white;
}





