/* Custom CSS */


/* Ken Burns */


.kenburns-bottom {
	-webkit-animation: kenburns-bottom 15s ease-out 1s infinite both;
	        animation: kenburns-bottom 15s ease-out 1s infinite both;
}

@-webkit-keyframes kenburns-bottom {
  0% {
    -webkit-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 84%;
            transform-origin: 50% 84%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(15px);
            transform: scale(1.25) translateY(15px);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
  }
}
@keyframes kenburns-bottom {
  0% {
    -webkit-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0);
    -webkit-transform-origin: 50% 84%;
            transform-origin: 50% 84%;
  }
  100% {
    -webkit-transform: scale(1.25) translateY(15px);
            transform: scale(1.25) translateY(15px);
    -webkit-transform-origin: bottom;
            transform-origin: bottom;
  }
}

/*End Ken Burns */



.centered
{
    display: grid;
    justify-self: center;
    justify-content: center;
    text-align: center;
}

.centered h1, .centered h2, .centered h3, .centered h4, .centered p, .centered a
{
    justify-self: center;
text-align: center;
}


ul li::marker {
    color: #2ac4ec;
}

.frame {
    background-color: white;
    padding: 10px;
    border: 8px ridge #f7c115;
}

.title {
    font-size: 1.3em;
    font-weight: 400;
    color: #2ac4ec;
}

.imageback {
    padding: 50px 0px;
    background-image: url("../img/background-image.png");
    background-repeat: no-repeat;
    background-size: cover;
}

@media( max-width: 760px )
{
	.testimonial-arrow
	{
		display: none;
	}
}

.caret {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .255em;
	vertical-align: .255em;
	content: "";
	border-top: .3em solid;
	border-right: .3em solid transparent;
	border-bottom: 0;
	border-left: .3em solid transparent;
}

@media( max-width:768px)
{
    .caret
    { 
        display: none;
    }
}
@media( max-width:768px)
{
    .cent-drop
    { 
        justify-self: center;
    }
}


@media( max-width: 768px )
{
	.dropdown-container p
	{
		justify-self: center;
        text-align: center;
	}	
}


/* - Table - */

.w100 
{
	width: 100%;
}

.elem-table
{
	border: 1px solid #fff;
	background-color: #fff;
	width: 100%;
	text-align: left;
	border-collapse: collapse;
}

thead
{
	background-color: #207A3C;
	border-bottom: 2px solid #fff;
}

th
{
	font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
	border-left: 2px solid #fff;
	text-transform: uppercase;
	letter-spacing: 2px;
	border: solid 1px;
	
	height: 20px;
}

th h1
{
	font-size: 14px;
}

tr:nth-child(2n) {
    background: rgba(222,222,222,0.30);
}


/*** TABLE STYLING ***/

table {
  border: 1px solid #fff;
  background-color: #fff;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

table td, table th {
  border: 1px solid #fff;
  padding: 10px 10px;
}

table tbody td {
  font-size: 13px;
}

table thead th:first-child {
  border-left: none;
}

table tfoot td {
  font-size: 14px;
}

table tfoot .links {
  text-align: right;
}

/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons inside the tab */
.tab button {
  background-color: black;
  border: 1px solid orange;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
  font-size: 17px;
    color: #ff9101;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #444;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: orange;
    color: black;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}


.tabcontent {
  animation: fadeEffect 1s; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.box2 {
    display: grid;
     box-shadow: inset 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    border: 5px ridge gold;
    padding: 30px;
    justify-content: center;
    align-items: center;

}
.show {
    overflow: visible;
}
.card {
    position: relative;
    display: -ms-flexbox;
    display: grid;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0.25rem;
    box-shadow: 0px 0px 7px #444;
}

.card p {
    color: #000000;
}

.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-title {
    color: #526B98;
    font-size: 1.2em;
    margin-left: 3%;
}

/* Conveyor */

.conveyor {
	display: flex;
	height: auto;
	margin: auto;
	overflow: hidden;
	align-items: center;
}

.conveyor:before {
	position: absolute;
	z-index: 1;
	left: 0;
	content: "";
	width: 23.958%;
	height: 210px; /* originally 110px */
	background: linear-gradient(-90deg, hsla(0, 0%, 96.9%, 0), #FFF7E5); /* Last colour code is the shading the image fades to, match to page background colour */
}

.conveyor:after {
	position: absolute;
	right: 0;
	content: "";
	width: 23.958%;
	height: 210px; /* originally 110px */
	background: linear-gradient(90deg, hsla(0, 0%, 96.9%, 0), hsla(0, 0%, 96.9%, 0.99) 99%);
}

.conveyor .conveyor-belt {
	display: flex;
	animation: scroll 35s linear infinite;
	-webkit-animation: scroll 35s linear infinite;
	width: calc(240px * 10);
}

.conveyor .package {
	display: flex;
}

.conveyor .package img {
	width: 180px;
	height: 180px; /* originally 80px */
	padding: 10px;
	background-color: white;
	cursor: pointer;
	margin: 20px;
	border-radius: 8px;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}

@keyframes scroll {
	0% {
		-webkit-transform: translateX(0);
		transform: translateX(0);
	}
	100% {
		-webkit-transform: translateX(calc(-240px * 5));
		transform: translate((calc(-240px * 5));
	}
}