/*body {
	background-image: url('bg.jpg');
	background-attachment: fixed;
	background-repeat: repeat;
	background-color: #fafafa;
	color: #636363;
	margin: 0;
}*/

code.colors {
    background-color: #ffffff;
    border-radius: 3px;
    font-size: 12px;
    color: #333333;
    padding: 3px 8px;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #aaaaaa;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #aaaaaa;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #aaaaaa;
}

input.btn-success[type=button],
input.btn-success[type=submit],
button.btn-success, 
input.btn-danger[type=button],
input.btn-danger[type=submit],
input.btn-danger[type=reset],
button.btn-danger,
input.btn-primary[type=button],
input.btn-primary[type=submit],
input.btn-primary[type=reset],
button.btn-primary, 
input.btn-warning[type=button],
input.btn-warning[type=submit],
input.btn-warning[type=reset],
button.btn-warning, 
input.btn-default[type=button],
input.btn-default[type=submit],
input.btn-default[type=reset],
button.btn-default {
	font: 400 14px 'Segoe UI', sans-serif;
	text-align: center;
	border-radius: 3px;
	padding: 5px 12px;
}
input.btn-success[type=button],
input.btn-success[type=submit],
button.btn-success {
	border: 1px solid #5cb85c;
	background-color: #5cb85c;
	color: #ffffff;
}
input.btn-danger[type=button],
input.btn-danger[type=submit],
input.btn-danger[type=reset],
button.btn-danger {
	border: 1px solid #d9534f;
	background-color: #d9534f;
	color: #ffffff;
}
input.btn-primary[type=button],
input.btn-primary[type=submit],
input.btn-primary[type=reset],
button.btn-primary {
	border: 1px solid #0275d8;
	background-color: #0275d8;
	color: #ffffff;
}
input.btn-warning[type=button],
input.btn-warning[type=submit],
input.btn-warning[type=reset],
button.btn-warning {
	border: 1px solid #f0ad4e;
	background-color: #f0ad4e;
	color: #ffffff;
}
input.btn-default[type=button],
input.btn-default[type=submit],
input.btn-default[type=reset],
button.btn-default {
	border: 1px solid #5bc0de;
	background-color: #5bc0de;
	color: #ffffff;
}

.box-warning, .box-error, .box-success, .box-info {
    line-height: 18px;
    border-radius: 5px;
    text-align: center;
    font-size: 11px;
    padding: 10px;
    width: 80%;
}
.box-warning {
    border: 1px solid #ffeeba;
    background-color: #fcf8e3;
    color: #856442;
}
.box-warning b {color: #856442;}
.box-error {
    border: 1px solid #f5c6cb;
    background-color: #f2dede;
    color: #721c24;
}
.box-error b {color: #721c24;}
.box-success {
    border: 1px solid #c3e6cb;
    background-color: #dff0d8;
    color: #155724;
}
.box-success b {color: #155724;}
.box-info {
    border: 1px solid #bee5eb;
    background-color: #d9edf7;
    color: #0c5460;
}
.box-info b {color: #0c5460;}

.cardList {
    font: 400 12px 'Segoe UI', Open Sans, Nunito, sans-serif;
    margin: 0 5px 10px 5px;
    display: inline-block;
    text-align: center;
    width: 130px;
}

.calendar {
	font: 400 12px 'Calibri', sans-serif;
	/*padding: 3px 3px !important;*/
	color: #e0eab8;
}
.calendar tbody td { padding: 3px 3px; border-radius: 3px; }
.calendar td.calDay {
	text-transform: uppercase;
	font-weight: 600;
	color: #f0ed57;
}
.calendar td.calMonth { background-color: rgba(255,255,255,0.1); font-weight: bold; font-size: 14px; }
.calendar td.calFocus { background-color: #ffff00; color: #000000; }
.calendar td.calEvent { background-color: #33b5e5; color: #ffffff; }
.calendar td.calUpdate { background-color: #85b24d; color: #ffffff; }
.calendar td.calEnd { background-color: #ed475f; color: #ffffff; }

.table {
	/*width: auto;*/
	font-size: 14px;
	margin-bottom: 1rem;
	border-collapse: collapse;
	background-color: transparent;
}
.table th,
.table td {
	padding: 0.25rem 0.5rem;
	vertical-align: middle;
	border-top: 1px solid #e3e3e3;
}
.table thead th {
	vertical-align: bottom;
	border-bottom: 2px solid #e3e3e3;
}
.table tbody + tbody { border-top: 2px solid #e3e3e3; }
.table .table { background-color: #fff; }

.table-sm th,
.table-sm td { padding: 0.2rem; }

.table-bordered { border: 1px solid #e3e3e3; }
.table-bordered th,
.table-bordered td { border: 1px solid #e3e3e3; }
.table-bordered thead th,
.table-bordered thead td { border-bottom-width: 2px; }

.table-sliced { border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; }
.table-sliced th,
.table-sliced td { border-bottom: 1px solid #e3e3e3; border-top: 1px solid #e3e3e3; }
.table-sliced thead th,
.table-sliced thead td { border-bottom-width: 2px; }

.table-borderless th,
.table-borderless td,
.table-borderless thead th,
.table-borderless tbody + tbody { border: 0; }

.table-striped tbody tr:nth-of-type(odd) { background-color: #fafafa; }

tr.rows td {
    border-bottom: 1px solid #022f59;
}
td.small { line-height: 20px; font-size: 14px; }
.fa-tint { font-size: inherit; }

/* Tab Content - menucool.com
-------------------------------------------------------------- */
ul.tabs {
	padding: 7px 0;
	margin:0;
	font-size: 0;
	list-style-type: none;
	text-align: left; /*set to left, center, or right to align the tabs as desired*/
	padding-left: 20px; /* Offset of the first tab */
}
ul.tabs li {
	display: inline;
	margin: 5px;/*no distance between tabs*/
	background: #ffffff;
	margin-left: 0px;
}
ul.tabs li a {
	font: 600 14px 'Segoe UI', sans-serif;
	background-color: transparent;
	text-decoration: none;
	padding: 10px 15px;
	color: #915232;
	outline: none;
}
ul.tabs li a:hover {
	color: #915232;
	background: #cccccc;
}
ul.tabs li.selected a, ul.tabs li.selected a:hover {
	top: 0px;
	background: #ffffff;
	border-bottom: 1px solid #ffffff;
    border-right: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
	color: #333333;
}
ul.tabs li.selected a:hover {
	text-decoration: none;
}
div.tabcontents {
	border-top: 1px solid #cccccc;
	background-color: #ffffff;
	padding: 20px 0;
	margin-top: -3px;
}

/* Memory Game Style
-------------------------------------------------------------- */
.m-wrap {
  position: relative;
  height: 500px;
  min-height: 500px;
  padding-bottom: 5px;
}

.m-game {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 300px;
  perspective: 300px;
  min-height: 100%;
  height: 100%;
}

@-webkit-keyframes matchAnim {
  0% {
    background: #bcffcc;
  }
  100% {
    background: white;
  }
}

@keyframes matchAnim {
  0% {
    background: #bcffcc;
  }
  100% {
    background: white;
  }
}
.card {
  float: left;
  width: 16.3%;
  height: 24%;
  padding: 1px;
  text-align: center;
  display: block;
  -webkit-perspective: 600px;
  perspective: 600px;
  position: relative;
  cursor: pointer;
  z-index: 50;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 800px) {
  .card {
    width: 20%;
    height: 16.666%;
  }
}
.card .inside {
  width: 100%;
  height: 100%;
  display: block;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: .4s ease-in-out;
  transition: .4s ease-in-out;
}
.card .inside.picked, .card .inside.matched {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.card .inside.matched {
  -webkit-animation: 1s matchAnim ease-in-out;
  animation: 1s matchAnim ease-in-out;
  -webkit-animation-delay: .4s;
  animation-delay: .4s;
}
.card .front, .card .back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.card .front img, .card .back img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  max-height: 100%;
}
.card .front {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

.card .back {     
    transform: rotateY(360deg);
}

@media (max-width: 800px) {
  .card .front {
    padding: 5px;
  }
}
@media (max-width: 800px) {
  .card .back {
    padding: 10px;
  }
}