/*
 *  CSS by shortybsd
 *
 *        blue: #002A98   RGB: 0, 42, 152
 *  red/maroon: #A50000   RGB: 165, 0, 0
 *
 */

@import url("https://fonts.googleapis.com/css2?family=Ubuntu&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Caveat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap");
@import url("https://fonts.googleapis.com/css?family=Audiowide");

* {
  box-sizing: border-box;
  scrollbar-gutter: auto;
}

html {
  overflow-x: hidden;
  margin-right: calc(-1 * (100vw - 100%));
  height: 100%;
}

body::-webkit-scrollbar{
    display: none;
    width: 100%;
  }

body {
  background-color: #f3ebf6;
  margin: 0;
}

body.login {
  background-color: #002A98;
}

h2.totalwithtax {
  font: normal normal normal 20px/1 Helvetica, arial, sans-serif;
  border-bottom: 2px solid yellow;
  background:#000;
  color: lime;
  display:inline-block;
  padding:3px 15px;
  margin-left:10px;
}

h2.ccnotax {
  font: normal normal normal 20px/1 Helvetica, arial, sans-serif;
  border-bottom: 2px solid lime;
  background:#000;
  color: yellow;
  display:inline-block;
  padding:3px 15px;
  margin-left:10px;
}

h2.ccwithtax {
  font: normal normal normal 20px/1 Helvetica, arial, sans-serif;
  border-bottom: 2px solid #000;
  background:#000;
  color: red;
  display:inline-block;
  padding:3px 15px;
  margin-left:10px;
}

#vendors {
  font-family: Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  /*width: 100%;*/
}

#vendors td, #customers th {
  border: 1px solid #ddd;
  padding: 8px;
}

#vendors tr:nth-child(even){background-color: 3f2f2f2;}
#vendors tr:hover {background-color: #ddd;}

#vendors th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #002A98;
    color: white;
}

@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	#vendors table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	#vendors thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	#vendors tr { border: 1px solid #ccc; }
	
	#vendors td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
#vendors td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	#vendors td:nth-of-type(1):before { content: "Company"; }
	#vendors td:nth-of-type(2):before { content: "Contact"; }
	#vendors td:nth-of-type(3):before { content: "Phone"; }
	#vendors td:nth-of-type(4):before { content: "Email"; }
	#vendors td:nth-of-type(5):before { content: "Notes"; }

}

/*tbody tr:nth-child(odd) td   { background-color:red; }
tbody tr:nth-child(even) td   { background-color:blue; }

thead tr th { background-color: yellow}
table {
    border: 1px solid black;
    margin: 10px;
    width: 100px;
    }


tbody tr {
    transition: background 0.2s ease-in;
}

tbody tr:nth-child(odd) {
    background: #F2F2F2;
    font-size:1.2em;
}

thead tr th { 
  background-color: white;
  font-size:1.4em;
}


.table tr:hover {
    background: lightgray;
    cursor: pointer;
}
*/

/* Link Hover */
a.link {
  color: inherit;
  text-decoration: none;
}

a {
  text-decoration: none;
  color: #002A98;
}


a.link {
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(165, 0, 0, 1)
    ),
    linear-gradient(
      to right,
      rgba(165, 0, 0, 1),
      rgba(0, 42, 152, 1)
  );
  background-size: 100% 3px, 0 3px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 400ms;
}

a.link:hover {
  background-size: 0 3px, 100% 3px;
}
/* End of link hover */


/* start of Tax */
.content {
  border: 2px solid rgb(32, 33, 41);
  width: 300px;
  padding: 10px 20px;
  margin: auto;
  margin-top: 50px;
  margin-bottom: 50px;
}

.content h1 {
  font-size: 28px;
  background-color: midnightblue;
  color: #fff;
  padding: 10px 10px;
  width: 100%;
  text-align: center;
}

input#monetaryAmmount,
input#taxPercentage {
  width: 100%;
  text-align: right;
  padding: 5px;
  margin: 5px 0;
}

#calculateBtn {
  width: 100px;
  padding: 5px;
  margin: 5px 0;
  text-align: center;
}

#summary {
  background-color: #ccc;
  width: 100%;
  padding: 2px;
  margin: 5px 0;
}

#summary p {
  padding: 1px;
  margin: 5px 5px;
}
/* end of Tax*/

a {
  text-decoration: none;
  /*color: inherit;*/
  /*color: lime;*/
}

a:hover {
  text-decoration: none;
}

body.contacts {
  background-color: #002A98; /*#F3EBF6;*/
  font-family: "Ubuntu", sans-serif;
}

h1.header {
  color: #002A98;
  font-family: "Audiowide", cursive;
  font-size: 1em;
  font-size: 4vw;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  margin: 0.5em 0 0.5em;
  text-shadow: 1px 1px 1px darkgreen;
}

p.debug {
  margin-top: 0;
  margin-bottom: 0;
}
p.failed {
  text-align: center;
  font-weight: bold;
  color: red;
  margin-top: 0;
}

p.links {
  font-size: 1.5em;
  color: black;
  text-align: left;
  margin-top: 50px;
  margin-left: 24px;
  margin-bottom: 10px;
}

p.quote {
  font-family: "Caveat", cursive;
  /*font-family: 'Dancing Script', cursive;*/
  font-size: 2em;
  color: white;
  text-align: center;
  margin-top: 0;
  margin-bottom: 10px;
}

#calculateBtn {
  display: block;
  margin: 0 auto;
}

.login {
  background-color: #ffffff;
  width: 400px;
  height: 300px;
  margin: 7em auto;
  margin-bottom: 50px;
  border-radius: 1.5em;
  box-shadow: 0px 11px 35px 2px rgba(0, 0, 0, 0.14);
}

.sign {
  padding-top: 40px;
  color: #002A98; /*#8C55AA;*/
  font-family: "Ubuntu", sans-serif;
  font-weight: bold;
  font-size: 23px;
}

.un {
  width: 76%;
  color: rgb(38, 50, 56);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  background: rgba(136, 126, 126, 0.04);
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  outline: none;
  box-sizing: border-box;
  border: 2px solid rgba(0, 0, 0, 0.02);
  margin-bottom: 50px;
  margin-left: 46px;
  text-align: center;
  margin-bottom: 27px;
  font-family: "Ubuntu", sans-serif;
}

form.form1 {
  padding-top: 40px;
}

.pass {
  width: 76%;
  color: rgb(38, 50, 56);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  /*background: rgba(136, 126, 126, 0.04);*/
  background: rgba(11, 33, 116, 0.04);
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  outline: none;
  box-sizing: border-box;
  border: 2px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 50px;
  margin-left: 46px;
  text-align: center;
  margin-bottom: 27px;
  font-family: "Ubuntu", sans-serif;
}

.un:focus,
.pass:focus {
  border: 2px solid rgba(0, 0, 0, 0.18) !important;
}

input[type="submit"] {
  cursor: pointer;
  border-radius: 5em;
  color: #fff;
  /*background: linear-gradient(to right, #9C27B0, #E040FB);*/
  background: linear-gradient(to right, #002A98, #5c6ba2);
  border: 0;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 10px;
  padding-top: 10px;
  font-family: "Ubuntu", sans-serif;
  margin-left: 35%;
  font-size: 13px;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
  .main {
    border-radius: 0px;
  }
}

/* ===========================
   ====== Shorty Menu  ======= 
   =========================== */

.toggle,
[id^="drop"] {
  display: none;
}

nav {
  margin: 0;
  padding: 0;
  /*background-color: #0449A6;*/
  background-color: #404040;
}

#logo {
  display: block;
  padding: 0 30px;
  float: left;
  font-size: 20px;
  line-height: 60px;
}

nav:after {
  content: "";
  display: table;
  clear: both;
  z-index: 1000;
}

nav ul {
  float: left;
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  z-index: 1000;
}

nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  background-color: #404040;
  /*background-color: #0449A6;*/
}

nav a {
  display: block;
  padding: 0 20px;
  color: #fff;
  font-size: 20px;
  /*font-family: 'roboto', sans-serif;*/
  font-family: Arial, Helvetica, sans-serif;
  line-height: 60px;
  text-decoration: none;
}

nav ul li ul li:hover {
  background: #000000;
}

nav a:hover {
  background-color: silver;
  color: #A50000;
}

nav ul ul {
  display: none;
  position: absolute;
  top: 60px;
}

nav ul li:hover > ul {
  display: inherit;
}

nav ul ul li {
  width: 170px;
  float: none;
  display: list-item;
  position: relative;
}

nav ul ul ul li {
  position: relative;
  top: -60px;
  left: 170px;
}

li > a:after {
  content: " +";
}

li > a:only-child:after {
  content: "";
}

.active {
  background-color: #002A98;
}

/* ===========================
   ====== Media Queries ====== 
   =========================== */

@media all and (max-width: 768px) {
  #logo {
    display: block;
    padding: 0;
    width: 100%;
    text-align: center;
    float: none;
  }

  nav {
    margin: 0;
  }

  .toggle + a,
  .menu {
    display: none;
  }

  .toggle {
    display: block;
    background-color: #404040;
    /*background-color: #0449A6;*/
    padding: 0 20px;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    line-height: 60px;
    text-decoration: none;
    border: none;
  }

  .toggle:hover {
    background-color: #000000;
  }

  [id^="drop"]:checked + ul {
    display: block;
  }

  nav ul li {
    display: block;
    width: 100%;
  }

  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: #000000;
  }

  nav ul li ul li .toggle,
  nav ul ul a {
    background-color: #212121;
  }

  nav ul ul {
    float: none;
    position: static;
    color: #ffffff;
  }

  nav ul ul li:hover > ul,
  nav ul li:hover > ul {
    display: none;
  }

  nav ul ul li {
    display: block;
    width: 100%;
  }

  nav ul ul ul li {
    position: static;
  }
}

@media all and (max-width: 330px) {
  nav ul li {
    display: block;
    width: 94%;
  }
}
