/* Style Sheet for Personal website */
/* Last Modified 22-Aug-2022 */

/**************************/
/****** Clear Styles ******/
/**************************/

* {
    margin: 0;
    padding: 0;
/*    box-sizing: border-box;*/
}

/****************************/
/****** General Styles ******/
/****************************/

body {
  font: 16px Poppins,sans-serif;
  margin: 0;
  background: #666666;
}

h1 {
  font: 24px Roboto,sans-serif;
  margin: 0;
}

/*h2 {

}*/

a {
  text-decoration: none;
}

.smalltext {
  font-size: 0.8em;
  color: #4f7d7d;
}

.smalltext2 {
  font-size: 0.9em;
}

/***************************************************************************************/
/****** CSS Grid Layout ****************************************************************/
/***************************************************************************************/

/* Default Grid for any screen size

.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-template-areas:
  "title"
  "canvass"
  "footer";
  grid-gap: 2px;
}

*/

/* Grid layout for screen width 1200px+ */

@media screen and (min-width: 1200px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr 1100px 1fr;
    grid-template-rows: auto;
    grid-template-areas:
    ". title ."
    ". header ."
    ". canvass ."
    ". footer .";
    grid-gap: 5px;
  }
}

.title {
  grid-area: title;
  display: block;
  /*width: 100%;*/
  padding: 0 0 0 0;
  z-index: 100;
}

/* Default canvass layout for any screen size*/

/*.canvass {
  grid-area: canvass;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  "content";
  grid-gap: 0px;
  padding-bottom: 20px;
}

*/

/* Change canvass layout for screen 1200px+ */

@media screen and (min-width: 1200px) {
  .canvass {
    grid-area: canvass;
    display: grid;
    grid-template-columns: 2fr 9fr;
    grid-template-areas:
    "sidebar content";
    grid-gap: 0;
    padding-bottom: 20px;
  }
}

.sidebar {
  position: fixed;
  grid-area: sidebar;
  display: inline-block;
  font: 20px "Source Sans Pro",sans-serif;
  line-height: 1.8em;
  width: auto;
  padding: 50px 0 50px 0;
  margin: 20px 0 20px 0;
  visibility: hidden;
}

@media screen and (min-width: 1200px) {
  .sidebar {
    visibility: visible;
  }
}

.canvass2 {
  grid-area: canvass;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
  "content";
  grid-gap: 0;
  padding-bottom: 20px;
}

.content {
  grid-area: content;
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  gap: 10px 5px;
  align-items: stretch;
  align-content: flex-start;
  flex-basis: 23%;
  padding: 20px 0 20px 0;
  min-height: 800px;
  background-color: #666666;
}


/**************************************************************************************/
/****** Footer Styling ****************************************************************/
/**************************************************************************************/

.footer {
  grid-area: footer;
  width: inherit;
  font: 14px "Open Sans",sans-serif;
  background-color: #666;
  text-align: center;
  padding: 0 20px 20px 20%;
}

.footer a {
  text-decoration: none;
  color: #ddd;
}


.footer p{
  margin: 5px 0;
  color: #aaa
}


/*********************************************************************************************/
/****** Title: Navbar Styling ****************************************************************/
/*********************************************************************************************/

.title {
    /*background-color: #244850;*/
    justify-content: center;
    height: 50px;
    width: 950px;
    margin: 0 0 0 150px;
    padding: 20px 0 20px 0;
    background-color: #777777;
}

.title h1 {
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 10px auto;
    box-sizing: border-box;
    font: 1.8em "Source Sans Pro",sans-serif;
    font-weight: 700;
	color: #0a4f0a;
}

.navbar {
  position: fixed;
  display: flex;
  flex-flow: row wrap;
  justify-content: left;
  height: 50px;
  background-color: inherit;
}

.navbar p a {
  text-decoration: none;
  color: #c0c5ce;
}

.navbar ul {
  display: block;
  float: right;
  list-style: none;
  height: 50px;
}

.navbar ul li {
  list-style: none;
  display: inline-flex;
  position: relative;
  font: 1em "Open Sans",sans-serif;
  color: #c0c5ce;
  font-weight: 700;
}

.navbar ul li a {
  display: block;
  text-decoration: none;
  color: #c0c5ce;
  padding: 14px 15px 14px 15px;
}

.navbar ul li a:hover {
  color: #ffa500;
  background-color: #000000;
}

.navbar ul li p {
  display: block;
  color: #c0cfce;
  padding: 14px 15px 14px 15px;
}

.navbar ul li p:hover {
  color: #ffa500;
  background-color: #000000;
}

.navbar ul li ul {
  display: none;
  position: absolute;
  margin: 50px 0 0 0;
  padding: 0;
  width: auto;
}

.navbar ul li:hover ul {
  display:block;
  background-color: #000000;
  height: auto;
}

.navbar ul li ul li {
  min-width: 210px;
  height: auto;
  padding: 0;
  border-bottom: solid 1px #004c4c;
}

/*.navbar ul li ul li:hover {
  background-color: #00ff00;
}*/

.navbar ul li ul li a {
  padding: 10px 10px 10px 10px;
  width: 100%;
}

.navbar ul li ul li a:hover {
  background-color: #56615d;
}


/**************************************************************************************/
/****** Header Styling ****************************************************************/
/**************************************************************************************/

.header h1{
  font: 28px "Open Sans",sans-serif;
  color: #fff;
  font-weight: 900;
  padding: 50px 0 0 20px;
  margin: 0;
}

/***************************************************************************************/
/****** Content Styling ****************************************************************/
/***************************************************************************************/

.content p {
  width: 100%;
  padding: 0 20px 20px 20px;
  text-align: justify;
  display:block;
}

.content h1 {
  font: 24px "Rubik",sans-serif;
  font-weight: 800;
  color: #000;
  width: 100%;
  padding-bottom: 40px;
  padding-top: 40px;
  text-align: center;
/*  outline: 1px dashed #000;  for layout testing only */
}

.content h2 {
  font: 24px "Rubik",sans-serif;
  font-weight: 700;
  color: #000;
  width: 100%;
  padding-bottom: 40px;
  padding-top: 40px;
  text-align: center;
/*  outline: 1px dashed #000;  for layout testing only */
}


.content ul {
  text-align: left;
  padding: 10px 0 10px 50px;
}

.content li {
  padding: 2px 0 2px 0;
}

.content a {
  color: #1222dd;
}

.content a:hover {
  color: #05ffa1;
}

/***************************************************************************************/
/****** Sidebar Styling ****************************************************************/
/***************************************************************************************/

.sidebar {
    box-sizing: border-box;
    width: 150px;
    background-color:#244850;
    margin-top: 100px;
    padding:0;
    z-index: 100;
    font: 1em "Open Sans",sans-serif;
    font-weight: 700;
}

.sidebar a {
    display:inline-block;
    width:235px;
    padding: 0;
    margin: 0;
}

.sidebar p {
    display:block;
    color: #c0c5ce;
    line-height: 30px;
    width: 100%;
    padding: 5px 0 5px 15px;
}

.sidebar p:hover {
    color: #ffa500;
    background-color: #000000;
}

.sidebar ul li{
    list-style: none;
    display: block;
    position: relative;
    color: #c0c5ce;
    background-color:#244850;
    width: 150px;
    height: 40px;
    /*border-bottom: solid 1px #666666;
    border-top: solid 1px #666666;*/
}

.sidebar ul li p:hover{
    color: #ffa500;
    background-color: #000000; 
    padding-left: 20px;
}


.sidebar ul li ul {
    display: none;
    position: absolute;
    margin: -43px 0 0 150px;
    border-bottom: solid 1px #666666;
    border-top: solid 1px #666666;
    padding: 0;
    height: auto;
}

.sidebar ul li:hover ul {
    display: block;
    background-color: #000000;
    width: auto;
    height: auto;
}

.sidebar ul li ul li {
    min-width: 250px;
    width: auto;
    height: 40px;
    /*padding: 10px 0 10px 15px;*/
    /*border-bottom: solid 1px #004c4c;*/
    border-left: solid 1px #666666;
}


.sidebar ul li ul li a {
    text-decoration: none;
    color: #ffffff;
    display: inline-block;
}

/*
.sidebar p {
  display: block;
  background-color: #244850;
  color: #ffffff;
  text-align: center;
  font-family: Heebo, Rubik, sans-serif;
  font-weight: 700;
  font-size: 1.1em;
  outline: 1px solid #000;
  padding: 10px 0px;
}


.sidebar a {
  position: relative;
  background-color: #888;
  text-align: center;
  font-weight: 600;
  padding: 10px 0;
}

.sidebar p:hover {
  color: #ffa500;
}

.sidebar a:hover {
  color: #ffa500;
}

.sidebar ul {
  list-style: none;
  background-color:#888;
  padding: 0;
  outline: 1px solid #000;
}

.sidebar ul a {
  display: block;
  font: 0.8em;
  text-align: left;
  color: #fff;
  padding: 10px 20px;
}

.sidebar ul li {
  width: auto;
  border-bottom: 1px solid;
}

.sidebar ul li a {
  outline: none;
  font-weight: 400;
  font: 0.8em;
}

.sidebar ul li a:hover {
  background-color: #222;
  transform: scale(1.1,1.1);
}
*/


/**********************************************************************************************/
/****** item-fullblock Styling ****************************************************************/
/**********************************************************************************************/

.item-fullblock {
  display: block;
  position: relative;
  min-height: 200px;
  width: 850px;
  padding: 10px;
  margin: 10px 0;
  justify-content: center;
  align-content: center;
  background-color: #888;
}

.item-fullblock p {
  display: block;
  text-align: justify;
  width: 90%;
}

.item-fullblock ul {
 display: block;
 width: 80%;
 list-style: circle;
 list-style-position: inside;
 padding: 0 0 0 80px;
}

.item-fullblock ul li {
  text-indent: -40px;
}

.item-fullblock img {
  display: block;
  margin: 0 auto 20px auto;
}


/*********************************************************************************************/
/***** section-fullflex Styling **************************************************************/
/*********************************************************************************************/

.section-fullflex {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 25px;
  /*position: relative;*/
  /*min-height: 200px;*/
  width: 950px;
  padding: 20px 0 40px 0;
  justify-content: space-evenly;
  align-content: center;
  background-color: #888888;
  margin: 0 0 30px 0;
/*  outline: dashed 1px #333333;*/
}

.section-fullflex h1 {
  font: 28px "Rubik",sans-serif;
  display: block;
  font-weight: 800;
  /*width: 100%;*/
  width: 100%;
  padding: 20px 0 0 30px;
  text-align: center;
}

.section-fullflex h2 {
  font: 24px "Rubik",sans-serif;
  display: block;
  font-weight: 700;
  /*width: 100%;*/
  width: inherit;
  padding: 0 0 0 30px;
  text-align: left;
}

.section-fullflex h3 {
  font: 20px "Rubik",sans-serif;
  display: block;
  font-weight: 700;
  /*width: 100%;*/
  width: inherit;
  padding: 0 0 0 30px;
  text-align: left;
}

.section-fullflex p {
  font: 1em Poppins, sans-serif;
  padding: 0 50px;
/*  outline: dashed 1px #333333;*/
}

/********************************************************************************************************/
/********** Background Color Styling ********************************************************************/
/********************************************************************************************************/

.colour1 {
  background-color: #C0D2DF;
}

.colour2 {
  background-color: #D9C1BF;
}

.colour3 {
  background-color: #E2DABA;
}

.colour4 {
  background-color: #D3C7D8;
}

.colour5 {
  background-color: #BCD9D3;
}

.colour6 {
  background-color: #7D8D5E;
}

.colour7 {
  background-color: #888888;
}

.colour8 {
  background-color: #555555;
}

.colour99 {
  background-color: #555555;
}

/**********************************************************************************************/
/***** section-fullwidth Styling **************************************************************/
/**********************************************************************************************/

.section-fullwidth {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 25px;
  /*position: relative;*/
  /*min-height: 200px;*/
  width: 1100px;
  padding: 20px 0 40px 0;
  justify-content: space-evenly;
  align-content: center;
  background-color: inherit;
  border: none;
/*  outline: dashed 1px #333333;*/
}

.section-fullwidth h1 {
  font: 28px "Rubik",sans-serif;
  display: block;
  font-weight: 800;
  /*width: 100%;*/
  width: 100%;
  padding: 20px 0 0 30px;
  text-align: center;
}

.section-fullwidth h2 {
  font: 24px "Rubik",sans-serif;
  display: block;
  font-weight: 700;
  /*width: 100%;*/
  width: inherit;
  padding: 0 0 0 30px;
  text-align: left;
}

.section-fullwidth p {
  font: 1em Poppins, sans-serif;
  padding: 0 50px;
/*  outline: dashed 1px #333333;*/
}


/*********************************************************************************************/
/**** section-fullflex2 Styling **************************************************************/
/*********************************************************************************************/

.section-fullflex2 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 25px;
  /*position: relative;*/
  min-height: 200px;
  width: 1100px;
  justify-content: space-evenly;
  align-content: center;
  background-color: inherit;
/*  outline: dashed 1px #333333;*/
}

.section-fullflex2 h1 {
  font: 24px "Rubik",sans-serif;
  display: block;
  font-weight: 800;
  /*width: 100%;*/
  width: inherit;
  padding: 0 0 20px 0;
  text-align: center;
}


/*********************************************************************************************/
/****** section-triple-column ****************************************************************/
/*********************************************************************************************/

.section-triple-column {
  min-height: 200px;
  width: 940px;
  column-count: 3;
  column-rule: 1px solid #555555;
  padding: 0 5px 20px 5px;
  margin: 0 0 30px 0;
  /*outline: 1px dashed #555555;*/
}

.section-triple-column h2 {
  column-span:all;
  font: 24px "Rubik",sans-serif;
  display: block;
  font-weight: 700;
  /*width: 100%;*/
  width: inherit;
  padding: 20px 0 30px 20px;
  text-align: left;
}

.section-tripe-column a:hover {
  transform: scale(1.2,1.2);
}

/*********************************************************************************************/
/****** section-double-column ****************************************************************/
/*********************************************************************************************/

.section-double-column {
  min-height: 200px;
  width: 920px;
  column-count: 2;
  column-rule: 1px solid #555555;
  padding: 0 15px 20px 15px;
  margin: 0 0 30px 0;
  /*outline: 1px dashed #555555;*/
}

.section-double-column ul li {
  padding: 0 0 10px 0;
}

.section-double-column h2 {
  column-span:all;
  font: 24px "Rubik",sans-serif;
  display: block;
  font-weight: 700;
  /*width: 100%;*/
  width: inherit;
  padding: 20px 0 30px 20px;
  text-align: left;
}


/******************************************************************************************/
/****** item-200px Styling ****************************************************************/
/******************************************************************************************/

.item-200px {
  display: flex;
  flex-direction: column;
/* This would flex the width based on contents (i.e. not fixed!)*/
/*  flex-basis: content;*/
  height: 270px;
  width: 200px;
  padding: 0;
  align-items: flex-start;
  background-color: #9f9f9f;
/*  outline: 1px dashed #000;  for layout testing only */
}

.item-200px table {
  width: 100%;
  height: 100%;
}

.item-200px a {
  margin: 0;
  position: absolute;
  width: 200px;
  height: 270px;
}

.item-200px img {
  max-width: 100px;
  max-height: 100px;
  position: static;
  display: block;
  padding: 5px 0 5px 0;
  margin: 5px auto 5px auto;
}

.item-200px h2 {
  position: static;
  display: block;
  width: 100%;
  text-align: center;
  font: 1.2em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: 0 0 10px 0;
}

.item-200px h3 {
  position: static;
  display: block;
  width: 100%;
  text-align: center;
  font: 1.2em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: 0 0 10px 0;
}

.item-200px p {
  position: static;
  display: block;
  width: 190px;
  text-align: left;
  font: 0.8em "Roboto",sans-serif;
  font-weight: 400;
  color: #333;
  padding: 5px;
}

.item-200px:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.1,1.1);
}


/******************************************************************************************/
/****** item-200sq Styling ****************************************************************/
/******************************************************************************************/

.item-200sq {
  display: flex;
  flex-direction: column;
/* This would flex the width based on contents (i.e. not fixed!)*/
/*  flex-basis: content;*/
  height: 200px;
  width: 200px;
  padding: 0;
  align-items: flex-start;
  background-color: #9f9f9f;
/*  outline: 1px dashed #000;  for layout testing only */
}

.item-200sq table {
  width: 100%;
  height: 100%;
}

.item-200sq a {
  margin: 0;
  position: absolute;
  width: 200px;
  height: 200px;
}

.item-200sq img {
  max-width: 120px;
  max-height: 120px;
  position: static;
  display: block;
  padding: 5px 0 5px 0;
  margin: 5px auto 5px auto;
}

.item-200sq h2 {
  position: static;
  display: block;
  width: 100%;
  text-align: center;
  font: 1.1em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: 0 0 10px 0;
}

.item-200sq p {
  position: static;
  display: block;
  width: 190px;
  text-align: center;
  font: 0.8em "Roboto",sans-serif;
  font-weight: 400;
  color: #333;
  padding: 5px;
}

.item-200sq:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.1,1.1);
}

/******************************************************************************************/
/****** item-150px Styling ***************************************************************/
/******************************************************************************************/


.item-150px {
  display: flex;
  flex-direction: column;
/* This would flex the width based on contents (i.e. not fixed!)*/
/*  flex-basis: content;*/
  height: 200px;
  width: 150px;
  padding: 0;
  align-items: flex-start;
  background-color: #9f9f9f;
/*  outline: 1px dashed #000;  for layout testing only */
}


.item-150px a {
  margin: 0;
  position: absolute;
  width: 150px;
  height: 200px;
}

.item-150px img {
  max-width: 80px;
  max-height: 80px;
  position: static;
  display: block;
  padding: 5px 0 5px 0;
  margin: 5px auto 5px auto;
}

.item-150px h3 {
  position: static;
  display: block;
  width: 100%;
  text-align: center;
  font: 1.2em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: 0 0 10px 0;
}

.item-150px p {
  position: static;
  display: block;
  width: 130px;
  text-align: left;
  font: 0.8em "Roboto",sans-serif;
  font-weight: 400;
  color: #333;
  padding: 5px 5px 5px 10px;
}

.item-150px:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.15,1.15);
}


/******************************************************************************************/
/****** item-120px Styling ****************************************************************/
/******************************************************************************************/


.item-120px {
  display: flex;
  flex-direction: column;
/* This would flex the width based on contents (i.e. not fixed!)*/
/*  flex-basis: content;*/
  height: 200px;
  width: 120px;
  padding: 0;
  align-items: flex-start;
  background-color: #9f9f9f;
/*  outline: 1px dashed #000;  for layout testing only */
}


.item-120px a {
  margin: 0;
  position: absolute;
  width: 120px;
  height: 200px;
}

.item-120px img {
  max-width: 60px;
  max-height: 60px;
  position: static;
  display: block;
  padding: 5px 0 5px 0;
  margin: 5px auto 5px auto;
}

.item-120px h3 {
  position: static;
  display: block;
  width: 100%;
  text-align: center;
  font: 0.9em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: 0 2px 10px 2px;
}

.item-120px p {
  position: static;
  display: block;
  width: 110px;
  text-align: left;
  font: 0.8em "Roboto",sans-serif;
  font-weight: 400;
  color: #333;
  padding: 5px;
}

.item-120px:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.2,1.1);
}


/******************************************************************************************/
/****** item-120sq Styling ****************************************************************/
/******************************************************************************************/


.item-120sq {
  display: flex;
  flex-direction: column;
/* This would flex the width based on contents (i.e. not fixed!)*/
/*  flex-basis: content;*/
  height: 120px;
  width: 120px;
  padding: 0;
  align-items: flex-start;
  background-color: #dddddd;
  /*background-color: #fffffc;*/
  outline: 1px solid #aaaaaa;
/*  outline: 1px dashed #000;  for layout testing only */
}


.item-120sq a {
  margin: 0;
  position: absolute;
  width: 120px;
  height: 120px;
}

.item-120sq img {
  max-width: 60px;
  max-height: 60px;
  position: static;
  display: block;
  padding: 5px 0 5px 0;
  margin: 5px auto 5px auto;
}

.item-120sq h3 {
  position: absolute;
  /*width: 100%;*/
  transform: translate(0, 70px);
  text-align: center;
  font: 0.9em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: auto;
}

.item-120sq p {
  position: static;
  display: block;
  width: 110px;
  padding: 5px;
  text-align: center;
  font: 0.8em "Roboto",sans-serif;
  font-weight: 700;
  color: #333;
}

.item-120sq:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.25,1.25);
}


/*******************************************************************************************/
/****** item-newbox Styling ****************************************************************/
/*******************************************************************************************/


.item-newbox {
	display: inline-block;
	height: 160px;
	width: 120px;
	padding: 0;
	margin: 0;
  outline: 1px solid #244850;
}


.item-newbox a {
  margin: 0;
	padding: 0;
  position: absolute;
  width: 120px;
  height: 160px;
}

.item-newbox p {
	font-family: "Source Sans Pro", Montserrat, sans-serrif;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	padding: 0;
	margin: auto 5px auto 5px;
	width: 110px;
}

.item-newbox img {
  width: 116px;
  height: 116px;
  position: static;
  display: block;
  padding: 2px;
  margin: 0;
}

.item-newbox-img {
  width: 120px;
  height: 120px;
  background-color: #cccccc;
	padding: 0;
  margin: 0;
}

.item-newbox-text {
	width: 120px;
	height: 40px;
	background-color: #cccccc;
	padding: 0;
	margin: 0;
}

.item-newbox-text p {
	font-family: "Source Sans Pro", Montserrat, sans-serrif;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	padding: 2px 5px 0 5px;
	margin: 0;
	width: 110px;
  color: #193238;
}


.item-newbox:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.2,1.2);
}



/******************************************************************************************/
/****** item-250w Styling ****************************************************************/
/******************************************************************************************/


.item-250w {
  display: flex;
  flex-direction: row;
/* This would flex the width based on contents (i.e. not fixed!)*/
/*  flex-basis: content;*/
  width: 200px;
  height: 60px;
  padding: 0;
  align-items: flex-start;
  background-color: #dddddd;
  outline: 1px solid #999999;
}


.item-250w a {
  margin: 0;
  position: absolute;
  width: 200px;
  height: 60px;
}

.item-250w img {
  width: 60px;
  height: 60px;
  position: static;
  display: inline-block;
  padding: 0;
  margin: 0;
}

.item-250w h3 {
  position: absolute;
  /*width: 100%;*/
  transform: translate(0, 70px);
  text-align: center;
  font: 0.9em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: auto;
}

.item-250w p {
  position: static;
  display: inline-block;
  padding: 0;
  line-height: 60px;
  margin: auto 15px auto 10px;
  width: auto;
  text-align: left;
  font: 0.8em "Roboto",sans-serif;
  font-weight: 700;
  color: #333;
}

.item-250w:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.0,1.0);
}


/******************************************************************************************/
/****** box_1 Styling ****************************************************************/
/******************************************************************************************/


.box1 {
  display: block;
  width: 295px;
  height: 110px;
  padding: 0;
  align-items: flex-start;
  /*border: #333 solid 1px;*/
}

.box1 a {
  margin: 0;
  position: absolute;
  width: 295px;
  height: 110px;
}

.box1 a:hover {
  outline: 1px solid #ffffff;
  /*transform: scale(1.1,1.1);*/
}

.box1_up {
  display: flex;
  /*justify-content: center;
  align-content: center;*/
  width: 295px;
  height: 40px;
  padding: 0;
  margin: 0;
  background-color: #4f4f4f;
  /*border: #333 solid 1px;*/
}

.box1_mid {
  display: flex;
  width: 295px;
  height: 25px;
  padding: 0;
  margin: 0;
  background-color: #626262;
}

.box1_down {
  display: flex;
  flex: 0 1 auto;
  justify-content: left;
  flex-wrap:wrap;
  width: 295px;
  height: 45px;
  padding: 0;
  margin: 0;
  background-color: #9f9f9f;
  /*border: #3C7 solid 1px;*/
}

.box1_up img {
  width: 40px;
  height: 40px;
  position: static;
  display: inline-block;
  padding: 0;
  margin: 0;
}

.box1_up h3 {
  display: inline-block;
  padding: 0;
  margin: 5px 5px 0 10px;
}

.box1_mid h3 {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
}

.box1_down p{
  display: inline-block;
  padding: 0;
  margin: 5px 5px 0 15px;
  font-size: 0.8em;
}

  


/******************************************************************************************/
/****** main_200y Styling ****************************************************************/
/******************************************************************************************/


.main_200y {
  display: block;
  width: 200px;
  height: 112px;
  padding: 0;
  align-items: flex-start;
  background-color: #dddddd;
  border: #333 solid 1px;
}

.up_200y {
  display: flex;
  width: 200px;
  height: 60px;
  padding: 0;
  margin: 0;
  border: #333 solid 1px;
}

.up_200y p {
  position: static;
  display: inline-block;
  padding: 0;
  line-height: 60px;
  margin: auto 15px auto 10px;
  width: auto;
  text-align: left;
  font: 0.8em "Roboto",sans-serif;
  font-weight: 700;
  color: #333;
}


.down_200y {
  display: flex;
  flex: 0 1 auto;
  justify-content: center;
  flex-wrap:wrap;
  width: 200px;
  height: 50px;
  padding: 0;
  margin: 0;
  background-color: #000
}


.main_200y a {
  margin: 0;
  position: absolute;
  width: 200px;
  height: 60px;
}

.main_200y img {
  width: 60px;
  height: 60px;
  position: static;
  display: inline-block;
  padding: 0;
  margin: 0;
}

.main_200y h3 {
  position: absolute;
  /*width: 100%;*/
  transform: translate(0, 70px);
  text-align: center;
  font: 0.9em "Roboto",sans-serif;
  font-weight: 600;
  color: #222;
  padding: auto;
}


.main_200y:hover {
  background: #dddddd;
  outline: 1px solid #1500ff;
  /*transform: scale(1.1,1.1);*/
}

.down_200y_ico {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  width: 25%;
  height: 100%;
}

.down_200y_ico img {
  width: 80%;
  height: 80%;
  padding: 0;
  margin: 0;
}




/******************************************************************************************/
/****** item-tile Styling ****************************************************************/
/******************************************************************************************/

.item-tile {
  display: flex;
  flex-direction: column;
  height: 170px;
  width: 170px;
  padding: 0;
  align-items: flex-start;
  background-color: #9f9f9f;
}

.item-tile a {
  margin: 0;
  position: absolute;
  z-index: 2;
  width: 170px;
  height: 170px;
}

.item-tile img {
  height: 170px;
  width: 170px;
  position: static;
  display: block;
  padding: 0;
  margin: 0;
}

.item-tile h2 {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
  width: 100%;
  top: -50px;
  text-align: center;
  font: 1.2em "Roboto",sans-serif;
  font-weight: 600;
  text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
  color: #ffffff;
}

.item-tile:hover {
  background: #dddddd;
  outline: 1px solid #ff0000;
  transform: scale(1.1,1.1);
}

.item-tile:hover h2 {
  visibility: visible;
  color: #ffffff;
  top: -45px;
  font: 1.25em;
  text-shadow: -1px -1px 0 #ff0000, 1px -1px 0 #ff0000, -1px 1px 0 #ff0000, 1px 1px 0 #ff0000;
}


/******************************************************************************************/
/****** item-800px Styling ****************************************************************/
/******************************************************************************************/

.item-800px, .item-800px-no {
  display: flex;
  position: relative;
  min-height: 200px;
  width: 850px;
  padding: 10px;
  justify-content: center;
  align-content: center;
  background-color: #888;
}

.item-800px-no {
  background-color: inherit;
}

.item-800px p, .item-800px-no p {
  font-size: 0.9em;
  width: 90%;
}

.item-800px:hover {
  outline: 1px solid #000;
}

.item-800px img {
  position: relative;
  max-width: 150px;
  max-height: 150px;
  vertical-align: middle;
}

.item-800px-no img {
  position: relative;
  max-width: 120px;
  max-height: 120px;
  vertical-align: middle;
}

.item-800px-nr img {
  position: relative;
  vertical-align: middle;
}

.item-800px table, .item-800px-no table {
  width: 100%;
  height: 100%;
}

.item-800px tbody, .item-800px-no table {
  width: auto;
}

.item-800px table tr, .item-800px-no table tr {
  width: 100%;
  height: 100%;
}

.item-800px table tr td, .item-800px table tr td {
  height: 100%;
  padding: 5px;
}

.item-800px table tr td p, .item-800px table tr td {
  padding: 10px;
  padding-right: 100px;
  font: 0.8em;
}

.item-800px-no h3 {
  text-align: center;
  font-size: 0.8em;
  display: inline-block;
  position: relative;
  align-self: center;
  padding: 10px;
}

/***********************************************************************************************/
/****** accordian-800px Styling ****************************************************************/
/***********************************************************************************************/

.accordian-800px {
  padding: 20px;
  display: block;
  width: 100%;
}

.accordian-800px a {
  color: #0e6655;
  font-weight: 600;
}

.accordian-800px h2 {
  display: block;
  text-align: center;
  padding: 0 10px 20px 10px;
}

.accordion {
  width: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
  font-family: "Quicksand", sans-serif;
  background: #444;
}

.accordion__label {
  padding: 14px 20px;
}

.accordion__content {
  padding: 0;
}

.accordion__label {
  display: block;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background 0.1s;
}

.accordion__label:hover {
  background: rgba(0, 0, 0, 0.1);
}

.accordion__label::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  width: 12px;
  height: 6px;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="50" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 100,0 50,50" style="fill:%23FFFFFF99;" /></svg>');
  background-size: contain;
  transition: transform 0.4s;
}

.accordion__content, .acnr {
  display: block;
  width: 80%;
  background: #999;
  line-height: 1.6;
  font-size: 0.85em;
  /*display: none;*/
  padding: 20px;
}


.accordion__content p, .acnr p {
  width: 95%;
}

.accordion__input {
  display: none;
}

.accordion__input:checked ~ .accordion__content {
  display: block;
  width: inherit;
  padding-right: 20px;
}

.accordion__input:checked ~ .accordion__label::after {
  transform: translateY(-50%) rotate(0.5turn);
}

.accordion__content table {
  width: 100%;
  text-align: left;
}

.accordion__content table tr td {
  padding: 5px;
}

.accordion__content img {
  max-width: 100px;
  max-height: 100px;
}

.accordion__content table p {
  width: auto;
}

.accordion__content .td-150px {
  width: 150px;
  padding: 0;
}

.accordion__content .td-rem {
  width: 100%;
}

/******************************************************************************************/
/****** item-400px Styling ****************************************************************/
/******************************************************************************************/

.item-400px {
  display: flex;
  position: relative;
  min-height: 150px;
  width: 400px;
  padding: 5px;
  margin: 10px 0;
  justify-content: center;
  align-content: center;
  background-color: #888;
}

.item-400px a {
  position: absolute;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
}

.item-400px p {
  font-size: 0.9em;
  width: 90%;
}

.item-400px:hover {
  outline: 1px solid #000;
}

.item-400px img {
  position: relative;
  max-width: 100px;
  max-height: 100px;
  vertical-align: middle;
}

.item-400px table {
  width: 100%;
  height: 100%;
}

.item-400px table td {
  padding: 0;
}
.item-400px table tr td p {
  padding: 0;
  margin: 0 5px 0 0;
}

/*.item-400px tbody {
  width: auto;
}

.item-400px table tr {
  width: 100%;
  height: 100%;
}

.item-400px table tr td {
  height: 100%;
  padding: 5px;
  outline: 1px dashed #000;
}

.item-400px table tr td p {
  padding: 10px;
  padding-right: 100px;
  font: 0.8em;
}*/

.item-400px h3 {
  text-align: center;
  font-size: 0.8em;
  display: inline-block;
  position: relative;
  align-self: center;
  padding: 10px;
}


/********************************************************************************/
/****** Clearfix ****************************************************************/
/********************************************************************************/

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
