body {
	background-color: aliceblue;
}

p, span, i, select, label, input[type="text"], input[type="email"], input[type="checkbox"], textarea, button, table, #source_lang, .footerserviceslist ul, #zoneTextTocheck {
	font-size: clamp(8px, 2vw, 16px);
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

#imglogo {
	width: 68px;
}

#imgBtnBackspace {
	width: 26.16%;
}

#earth {
	width: 30px;
}
	
#v38ndc952k {
	width: 300px;
}

@media only screen and (max-width: 624px) {
	
    #earth {
	     width: 25px;
    }
	
	#v38ndc952k {
		width: 229px;
	}
	
	#dropdownMnPricg table img, #detailsonpricingtranslation table img {
	    width: 108.75px;
    }
	
}

/* See below for when max-width screen is 470px */

h1 {
	font-size: clamp(13px, 2vw, 26px);
	line-height: 0;
	margin-left: 5px;
}

#Main, #legalinfocontent, #privacypolicycontent {
	width:100%;
}

#header {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 2px;
}

#header div p {
	margin-left: 15px;
}
/*
#menu {
	text-align: right;
} */

#menu span {
	display: inline-block;
	height: 31px;
	margin-left: 15px;
	margin-right: 15px;
}

.spanmenu a:link {
	text-decoration: none;
	color: black;
}


.spanmenu a:hover {
	color: green;
	
}

#menu span:hover {
	font-weight: bold;
	color: green;
	cursor: default;
}

#menu > span:nth-child(1) > sub:nth-child(1):hover, #menu > span:nth-child(2) > sub:nth-child(1):hover {
	color: #2e00ff;
	cursor: pointer;
}


#menuServices, #menuPricing, #spell_checker {
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
	border-radius: 3px;
	
} 

.servInfos > p > img {
	width: 40px;
	float:left;
	margin-right:5px;
	border: 1px #d90080 solid;
}

@media only screen and (max-width: 660px) {
	.servInfos > p > img {
		width: 30px;
	}
}

@media only screen and (max-width: 500px) {
	.servInfos > p > img {
		width: 20px;
	}
}

.servInfos:hover {
	background-color: rgba(161,187,209,0.5);
	cursor: pointer;
}

.pricing table, .pricing th, .pricing td {
	border: 1px #d90080 solid;
	/*border-collapse: collapse; removed because border-collapse can't be associate with border-radius*/
	border-spacing: 0;
}

.pricing table, #detailsonpricingtranslation table, #detailsonpricingspellchecker table {
	border-radius: 5px;
}

.pricing th, #detailsonpricingtranslation th, #detailsonpricingspellchecker th {
	padding-left: 5px;
	padding-right: 5px;
}

.pricing td, #detailsonpricingtranslation td, #detailsonpricingspellchecker td {
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
}

.pricing table ul, #detailsonpricingtranslation table ul {
	list-style-type: none;
}

#detailsonpricingtranslation table, #detailsonpricingtranslation th, #detailsonpricingtranslation td, #detailsonpricingspellchecker table, #detailsonpricingspellchecker th, #detailsonpricingspellchecker td {
	border: 1px #99b999 solid;
	border-spacing: 0;
}

#changelangDiv {
	position: absolute;
	right: 8px;
}

#changelang {
	position: relative;
	bottom: 7px;
}
/*
#topBanPub {
	
} */

#translate {
	width:100%;
	display:flex;
	flex-wrap:wrap;
	flex-direction:row;
	justify-content:center;
}

#conversion_parameters {
	width:9%;
	background-color: aliceblue;
	/*border: 1px solid green;*/
}

#source_lang {
	width:43%;
	height:200px;
	background-color: white;
	border: 1px solid gray;
	overflow-y: auto;
	padding:2px;
	
}

#source_lang span {
	color:#333333;
}

#langchoice {
	padding-left: 1px;
}

#arrow {
	display: block;
	text-align: center;
	font-size: 30px;
	line-height: 0.9;
	font-weight: 400;
}

#toFr {
	display: block;
	text-align: right;
	padding-right: 1px;
}

#target_lang {
	width:43%;
	height:200px;
	position:relative;
	background-color: white;
	border: 1px solid gray;
	overflow-y: auto;
	padding:2px;
	
}

#align-btn {
	text-align: center;
}

.blink {
	color: red;
	animation-name: blikingtxt;
	animation-duration: 4s;
	animation-timing-function: linear;
	animation-delay: 5s;
	animation-iteration-count: 10;
}

@keyframes  blikingtxt {
  00% {color: red;}
  25% {color: #ffebeb;}
  50% {color: #ffc2c2;}
  75% {color: #ff8585;}
  100% {color: #ff4747;}
}

#menuAfterMsgPubAfterTranslate {
	border: 2px green solid;
	margin-top: 5px;
	text-align: center;
	color: gray;
}

#menuAfterMsgPubAfterTranslate span {
	margin-left: 0.9%;
		margin-right: 0.9%;
}

#human_reader_choice, #translationhelpandtips, #detailsonpricingtranslation, #detailsonpricingspellchecker, #spellcheckerhelpandtips, #sp-infoandpubs {
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	margin-bottom: 50px;
}

#machine, #translationTips, #spellcheckerTips {
	margin-right: 0.8%;
}

#human, #translationFAQ, #spellcheckerFAQ {
	margin-left: 0.8%;
}

#infosandpubs {
	width: 100%;
	height: 370px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#infosandpubs > div:nth-child(1) {
	width: 50%;
	height: 100%;
	background-image: url("images/background_pub_gray-aliceblue.png");
	background-repeat: no-repeat;
	/*background-attachment: scroll;*/
	background-position: center center;
	background-size: contain;
}

#cart {
	width: 40%;
	/*border: 1px green solid;*/
}

#cart > div:nth-child(1) {
	position: relative;
	top: 6%;
	/*border: 1px blue solid;*/
}

#cartform input {
	margin-top: 0.5%;
}

/*
#cartform input[type="email"]:valid, #cartform input[type="text"]:valid {
	background-color: palegreen;
}

#cartform input[type="email"]:invalid, #cartform input[type="text"]:invalid {
	background-color: lightpink;
} */

#translation-order-button {
	border: 1px blue solid;
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	background-color: green;
	color: white;
	text-align: center;
	border-radius: 99px;
	margin-top: 5px;
	margin-bottom: 5px;
}

#translation-order-button:hover {
	background-color: #40A040;
	cursor: pointer;
}

#detailsonpricingtranslation > div:nth-child(1), #detailsonpricingspellchecker > div:nth-child(1) {
	width: 100%;
}

.txtinfo, .helpandtips {
	width: 45%;
}

.txtinfo h2, #detailsonpricingtranslation h2, .helpandtips h2, #privacypolicycontent h2, #detailsonpricingspellchecker h2, #sp-infoandpubs h2 {
	font-size: clamp(10px, 2vw, 20px);
	line-height: 1;
	text-align: center;
}

.txtinfo p:nth-child(2), #sp-infoandpubs div:nth-child(1) p {
	text-indent: 25px;
}

 /* Style the buttons that are used to open and close the accordion panel */
.accordion {
	background-color: #f0f0f0;
    color: #444444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
	border: none;
	outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #c5ccd3;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: aliceblue;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion:after {
	content: "\002b"; /* Character for "plus" sign (+) */
	font-size: clamp(10px, 2vw, 13px);
    color: #777777;
    float: right;
	margin-left: 5px;
}

.active:after {
	content: "\2212"; /* Character for "minus" sign (-) */
}

#spell_checker {
	width: 80%;
	/* height: 300px; */
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
}

#zoneTextTocheck {
	width: 100%;
	height: 200px;
	overflow-y: auto;
	background-color: white;
	padding: 2px;
}

#commandsSpellchecker {
	width: 75%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 2px;
	margin-bottom: 2px;
}

div.txtParam:nth-child(3) {width: 20%;}
div.txtParam:nth-child(4) {width: 20%;}
div.txtParam:nth-child(5) {width: 55%;}

#saveTxt:hover, #copyTxt:hover, #deleteTxt:hover, #menuAfterMsgPubAfterTranslate span:hover {
	font-weight: bold;
	background-color: #cccccc;
	border-radius: 2px;
}

.highlightSolution:hover {
	font-weight: bold;
	cursor: default;
	background-color: #c5ccd3;
	
}

#aboutallservices {
	width: 100%;
	margin-top: 150px;
}

#aboutallservices > div:nth-child(1) {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
}

#aboutallservices h2 {
	text-align: center;
}

#linkbacktosponsor > p:nth-child(1) {
	text-align: center;
}

#sp-infoandpubs {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (max-width: 949px) {
	#commandsSpellchecker {
	width: 100%;
	margin-left: 2px;
    }
}

#spell_checker span, #langtocheck, #spbutton {
	margin-left: 0.4%;
	margin-right: 0.4%;
}

#privacypolicycontent > div:nth-child(1) {
	width: 53%;
	margin-left: auto;
	margin-right: auto;
}

#privacypolicycontent table, #privacypolicycontent th, #privacypolicycontent td {
	border: 1px green solid;
	border-collapse: collapse;
	
}

#privacypolicycontent th, #privacypolicycontent td {
	padding-left: 5px;
	padding-right: 5px;
	
}

#privacypolicycontent ul, #privacypolicycontent ol {
	line-height: 1.6;
	
}

#footer {
	width:100%;
	height:100px;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
	margin-bottom: 50px;
	margin-top: 50px;
	border-top: 2px #99b999 solid;
}

#footerlegalinfos {
	margin-left: 30px;
}

.footerserviceslist {
	width: 30%;
	padding-left: 10px;
	padding-right: 10px;
	
}

#footerlegalinfos a:link, .footerserviceslist a:link {
    text-decoration: none;
    color: black;
}

.underline, #footerlegalinfos a:hover, .footerserviceslist a:hover {
	text-decoration: underline;
}

#footerlegalinfos a:visited, .footerserviceslist a:visited {
	color: black;
}

.footerserviceslist ul {
	list-style-type: none;
	padding: 0;
	
}

.footerserviceslist h3 {
	
	font-size: clamp(9px, 2vw, 18px);
}

/* Mobile screen */

@media only screen and (max-width: 1080px) {
	
	#topBanPub img {
		position: relative;
		left: 440px;
		bottom: 40px;
	}
	
	


}

@media only screen and (max-width: 925px) {
	
	#topBanPub img {
		position: relative;
		left: 140px;
		bottom: 1px;
	}
	
	


}


@media only screen and (max-width: 625px) {
	
	#topBanPub img {
		position: relative;
		left: 0px;
		bottom: 1px;
	}
	
	#changelangDiv {
		top: 70px;
	}


}

@media only screen and (max-width: 470px) {
	
	#topBanPub img {
		display: none;
	}
	
    #earth {
	     width: 20px;
    }
	
	#v38ndc952k {
		width: 150px;
	}
	
	#dropdownMnPricg table img, #detailsonpricingtranslation table img {
	    width: 75.5px;
    }
	


}

@media only screen and (max-width: 339px) {
	
	#changelangDiv {
		top: 8px;
	}
	
}

/* Localhost --------------------
#fake-paypal-container {
	width: 35%;
	height: 200px;
	border: 1px blue solid;
	margin-left: auto;
	margin-right: auto;
}

#fake-button1 {
	background-color: yellow;
	margin-top: 51.5px;
	margin-bottom: 8px;
}

#fake-button2 {
	background-color: black;
	margin-top: 8px;
	margin-bottom: 51.5px;
}

.fake-button {
	width: 80%;
	height: 40px;
	margin-left: auto;
	margin-right: auto;
	border-radius: 99px;
} */

#paymentordercontent > div:nth-child(2) {
    width: 35%;
    margin-left: auto;
    margin-right: auto;
}

#summarycontent {
	width: 88%;
	height: 200px;
	border: 1px silver solid;
	margin-left: auto;
	margin-right: auto;
}

#summarycontent > div:nth-child(1) > div:nth-child(1), #summarycontent > div:nth-child(1) > div:nth-child(2) {
	display: inline-block;
	border: 1px blue solid;
}

#summarycontent > div:nth-child(1) > div:nth-child(1) {
	width: 85%;
	text-align: left;
}

#summarycontent > div:nth-child(1) > div:nth-child(2) {
	width: 14%;
	text-align: right;
}

#summarycontent > div:nth-child(1) > div:nth-child(3) {
	width: 45%;
	height: 154px;
	display: block;
	border: 1px silver solid;
	overflow-y: auto;
	padding:2px;
}

#summarycontent > div:nth-child(1) > div:nth-child(4) {
	width: 37%;
	height: 154px;
	display: block;
  float: right;
	position: relative;
	right: 14.5%;
	bottom: 159px;
	border: 1px silver solid;
	overflow-y: auto;
	padding:2px;
}

#summarycontent > div:nth-child(1) > div:nth-child(5) {
	width: 11.5%;
	height: 154px;
	display: block;
  float: right;
	position: relative;
	left: 37%;
	bottom: 159px;
	padding:2px;
}

#summarycontent > div:nth-child(1) > div:nth-child(5) > div:nth-child(1) {
	width: 100%;
	border: 1px blue solid;
	position: relative;
	top: 16%;
}