#fx-fee-calc1 * {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

#fx-fee-calc1 {
	max-width: 1024px;
	width: 100%;
	margin: 0 auto;
	background: rgb(242, 242, 242);
	padding: 20px;	
	margin: 20px auto;
	-webkit-border-radius: 10px;    
	border-radius: 10px; 
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	background: #d5dae2;
}

#fx-fee-calc1 #trade-size {
	text-align: left;
}

#fx-fee-calc1 h2 {
	padding: 0px 0 13px 0;
	margin: 0 0 10px 0; 
}

#fx-fee-calc1 form {
	display: grid;	
	grid-template: repeat(2, 1fr) / repeat(2, 1fr);	
	gap: 20px;
	width: 100%;
	-webkit-border-radius: 5px;    
	border-radius: 5px; 
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
}

#fx-fee-calc1 form > *:nth-child(5) {	
	grid-column: span 2;
}

#fx-fee-calc1 form input[type='number'] {
	border: none;
	font-size: 16px;
	line-height: 1em;
	height: 46px;
	width: 50px;
	text-align: right;
}

#fx-fee-calc1 form label {
	display: block;
	font-size: 16px;
	font-weight: 600;
	line-height: 1em;
	margin: 0 0 10px 0;
	color: #000000;
}

#fx-fee-calc1 form select {
	font-size: 16px;
	line-height: 1em;
	width: 100%;
	padding: 15px 10px;
	border: solid rgb(204, 204, 204) 1px;
	-webkit-border-radius: 5px;    
	border-radius: 5px; 
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	background-color: #ffffff;
	color: #000000;
}

#fx-fee-calc1 form > div:nth-child(4) {
	display: grid;
	column-gap: 10px;
	grid-template-columns: repeat(2, 1fr);
	
  
} 

#fx-fee-calc1 form > div > div {
	background-color: #ffffff;
	border: solid rgb(204, 204, 204) 1px;
	-webkit-border-radius: 5px;    
	border-radius: 5px; 
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	text-align: right;
	padding: 0 10px;
}

#fx-fee-calc1 form > div > div.brokers {	
	text-align: left;
	background-color: transparent;
	border: none;
	padding: 0;
}

#fx-fee-calc1 form > div > div span {
	font-size: 16px;
	line-height: 1em;
	padding-left: 10px;
}

#fx-fee-calc1 form #calculate-fx-fee {
	position: relative;
	display: block;
	font-size: 20px;
	line-height: 32px;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	padding: 15px 0;
	background-color: #5a6d8e;
	color: #ffffff;
	-webkit-border-radius: 5px;    
	border-radius: 5px; 
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	text-decoration: none;
	letter-spacing: 1px;
	border: none;
	max-width: 100%;
	width: 320px;
	cursor: pointer;
	margin: 0 auto;
}

#fx-fee-calc1 form #error {
	background-color: rgb(255,248,249);
	color: rgb(193,39,45);
	border-left: solid rgb(193,39,45) 4px;
	padding: 15px 15px 15px 20px;
	font-size: 22px;
	line-height: 1em;
	margin-top: 20px;
}

#fx-fee-calc1 form .error {
	border: solid rgb(193,39,45) 1px;
	border-left: solid rgb(193,39,45) 4px;
	color: rgb(193,39,45);
}

#fx-fee-calc1 form #calculate-fx-fee:hover {
	background-color: rgb(0, 25, 225);
}	

#fx-fee-calc1 form #calculate-fx-fee .lds-dual-ring {
	display: none;
	width: 32px;
	height: 32px;
	position: absolute;
	top: 10px;
}

#fx-fee-calc1 form #calculate-fx-fee .lds-dual-ring:after {
  content: " ";
  display: block;
  width: 16px;
  height: 16px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid #fff;
  border-color: #fff transparent #fff transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#fx-fee-calc1 #fx-fee-calc1-results {
	display: none;
	max-width: 1024px;
	padding: 20px 0 0 0 ;
	margin-top: 30px;	
}

#fx-fee-calc1 #error {
	display: none;	
}

#fx-fee-calc1 #fx-fee-calc1-results > h2 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2em;
	color: #000000;
	text-align: center;
	margin-bottom: 15px;
}

#fx-fee-calc1 #fx-fee-calc1-results > p {
	text-align: center;
	color: #5a6d8e;
	font-size: 22px;
	font-weight: bold;
}

#fx-fee-calc1 #fx-fee-calc1-results > #fees {
	font-size: 18px;
	color: rgb(148, 163, 184);
	font-weight: bold;
	line-height: 1.2em;
	margin-bottom: 30px;
}

#fx-fee-calc1 #fx-fee-calc1-results .broker {
	display:flex;
	border: solid rgb(203, 213, 225) 1px;	
	-webkit-border-radius: 10px;    
	border-radius: 10px; 
	-moz-border-radius:10px;
	-khtml-border-radius:10px;
	padding: 15px;
	background-color: #F8F8F8;
	margin-bottom: 20px;
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(1) {
	display:flex;
	align-items: center;
	flex-basis: 33%;
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(1) img {
	max-width: 33%;
	box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
	-moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(1) p {
	font-size: 15px;
	line-height: 1.2em;
	padding: 0 0 0 10px;
	color: rgb(100, 116, 139);
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(1) p a {	
	font-size: 17px;
	font-weight: bold;
	color: rgb(0, 65, 178);
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) {
	display:flex;
	flex-basis: 66%;	
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) .fees {
	flex-basis: 33%;
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) .fees.first > div {
	-webkit-border-radius: 5px;    
	border-radius: 5px; 
	-moz-border-radius:5px;
	-khtml-border-radius:5px;
	background-color: rgb(241, 245, 249);
	border: solid #000000 1px;
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) .fees > div {
	display:flex;
	flex-direction: column;
	justify-content: center;
	width: 120px;
	height: 75px;
	margin: 0 auto;	
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) .fees > div > p {
	font-size: 16px;
	line-height: 1.2em;
	color:rgb(100, 116, 139);
	text-align: center;
}

#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) .fees > div > div {
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	line-height: 1.2em;
	margin-top: 5px;
}

@media only screen and (max-width: 640px) {	

	#fx-fee-calc1 form {		
		display:block;	
	}
	
	#fx-fee-calc1 form > div {
		margin-bottom: 20px;
	}

	#fx-fee-calc1 #fx-fee-calc1-results .broker {
		flex-direction: column;
		padding: 8px;
	}
	
	#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(1) {
		flex-direction:column;
		margin-bottom: 20px;
	}
	
	#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(1) img {
		margin-bottom: 10px;
	}
	
	#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(1) p {
		text-align: center;
	}
	
	#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) .fees > div {
		width: 100%;
		height: 75px;
		margin: 0 auto;	
	}
	
	#fx-fee-calc1 #fx-fee-calc1-results .broker > div:nth-child(2) .fees > div > p {
		font-size: 15px;
	}
	
}	