/* CSS Document */

div, p, span, h1, h2, h3, h4, h5, h6, h7 
{
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;

	margin: 0;
	/*background-image: url("/packages/Farmaexpress2020/skins/farmaexpress2020/img/main-bgr.png");*/ 
}
section, nav {
	padding: 0;
}


/* form */


div.farmaorderform h2 {
	font-size: 1.2rem !important;
	line-height: 1.8rem;
	color: var(--color-blue);
	display: inline-block;
	height: 38px;
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	text-transform: uppercase;
	font-weight: bold;
}


div.farmaorderform  div.doublecolumn h1.title {
	font-size: 2rem;
	line-height: 2.3rem;
	color: var(--color-white);
	display: block;
	height: 3rem;
	padding-left: 20px;
	text-transform: uppercase;
}

div.farmaorderform  div.doublecolumn .news h1 {
	font-size: 2rem;
	line-height: 2.3rem;
	color: var(--color-blue);
	display: block;
	height: 38px;
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 20px;
	text-transform: uppercase;
	font-weight: bold;
}

div.farmaorderform  div.doublecolumn .news h2 {
	font-size: 1.2rem !important;
	line-height: 1.8rem;
	color: var(--color-blue);
	display: inline-block;
	height: 38px;
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
	text-transform: uppercase;
	font-weight: bold;
}

div.farmaorderform  div.doublecolumn .news h3 {
	font-size: 1.2rem !important;
	line-height: 1.8rem;
	color: var(--color-text);
	display: inline-block;
	height: 38px;
	padding-left: 0;
	margin-top: 0;
	margin-bottom: 0;
}

div.farmaorderform  div.doublecolumn .news hr {
	border-top: 2px dashed var(--color-darkgray);
	padding-bottom: 0px;
	margin-top: 20px;
}


div.farmaorderform  div.singlecolumn div#customerdata, 
div.farmaorderform  div.singlecolumn div#medicinedata {
	flex: 48%;
}



div.farmaorderform  div.doublecolumn .flexcontainer,
div.farmaorderform  div.singlecolumn .flexcontainer {
	display:flex;
	flex-direction: row;
}

div.farmaorderform  div.singlecolumn .flexcontainer {
	margin-top: 56px;
}

div.farmaorderform  div.doublecolumn hr#dataendhr {
	display:none;
}

div.farmaorderform  div.singlecolumn hr#centerhr {
	display:none;
}


div.farmaorderform  div.doublecolumn h2.currentCard,
div.farmaorderform  div.doublecolumn h2.otherCard,
div.farmaorderform  div.singlecolumn h2.currentCard,
div.farmaorderform  div.singlecolumn h2.otherCard {
	display: inline-block;
	height: 4rem;
	width: 150px;
	font-size: 1.4rem;
	line-height:1.6rem;
	font-weight:bold;
	text-align: center;
	text-transform: uppercase;
	
	border-top-right-radius: 7% 20%;
	border-top-left-radius: 7% 20%;
	padding-left: 20px !important;
	padding-right: 20px !important;
	margin-left: 5px;
	margin-top: 8px;
	padding-top: 10px;
	
	text-transform: uppercase;
	
}
div.farmaorderform  div.doublecolumn h2.currentCard,
div.farmaorderform  div.singlecolumn h2.currentCard {
	color: var(--color-blue);
	background-color: var(--color-white);
}
div.farmaorderform  div.doublecolumn h2.otherCard,
div.farmaorderform  div.singlecolumn h2.otherCard {
	color: var(--color-white);
	background-color: var(--color-blue);
}
div.farmaorderform  div.doublecolumn h2.otherCard a,
div.farmaorderform  div.singlecolumn h2.otherCard a {
	color: var(--color-white);
	text-decoration: none;
}

div.farmaorderform input,
div.farmaorderform select
{
	/*border: 1px solid;  override border-style:inset;*/
	border-radius: var(--input-select-textarea-border-radius);
	border-color: var(--color-blue);
	padding: 0.8em;
	margin:0;
	font-size: 1.0rem;
	line-height:1.2rem;
}

div.farmaorderform input[type=text],
div.farmaorderform input[type=email],
div.farmaorderform input[type=tel],
div.farmaorderform select.inputbox
{
	width: 100%;
	margin-bottom: 6px;
}

div.farmaorderform label {
	padding: 2px;
	margin-bottom: 0;
}

div.farmaorderform label[for=accept1].fieldrequired,
div.farmaorderform label[for=accept2].fieldrequired {
	border: 2px solid var(--color-error); 
	border-radius: var(--input-select-textarea-border-radius);
	margin-bottom: 6px;
}

div.farmaorderform div#erroraccept1,
div.farmaorderform div#erroraccept2 {
	display: none;
}


div.farmaorderform div#erroraccept1.fieldrequired,
div.farmaorderform div#erroraccept2.fieldrequired {
	display: inline;
}






/* checkboxes: */

div.farmaorderform label[for=accept1],
div.farmaorderform label[for=accept2] {
	display: flex;
    position:relative;
}

div.farmaorderform label[for=accept1] input[type=checkbox],
div.farmaorderform label[for=accept2] input[type=checkbox] {
	margin-right: 1em;
	margin-top: 0.2em;
	width: 1.5em;
	height: 1.5em;
	accent-color: var(--color-blue);
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 1.5em;
}
div.farmaorderform div.copy_delivery_address_row {
	display: flex;
	flex-direction: row-reverse;
}

div.farmaorderform div.copy_delivery_address_row input[type=checkbox] {
	margin-right: 1em;
	margin-top: 0.2em;
	width: 1.5em;
	height: 1.5em;
	accent-color: var(--color-blue);
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 1.5em;
}





div.farmaorderform div.inputrow {
	margin-bottom: 0.7em;
}
div.farmaorderform div.inputrow label {
	display:block;
}

div.farmaorderform div.inputrow input[disabled] {
	background-color: var(--color-gray);
}

div.farmaorderform div.inputrow input,
div.farmaorderform div.inputrow select
{
	background-color: var(--backgroud-color);
	color: var(--text-color);
}

div.farmaorderform h2 {
	font-size: 0.85em;
	text-transform: uppercase;
	margin-top: 25px;
} 

div.farmaorderform hr {
	border-top: 2px dashed var(--color-blue);
	padding-bottom: 0px;
	margin-top: 20px;
}

div.farmaorderform input#addrow {
	border-radius: 1.5em;
	margin-left: auto !important;
	margin-right: auto !important;
	font-size: 0.8em;
	font-weight:bold;
	text-transform:uppercase;
	width: 9em;
	height: 3em;
	background-color: var(--color-white);
	color: var(--color-blue);
	padding: 0;
}

div.farmaorderform input#submit {
	border-radius: 3em;
	margin-left: auto !important;
	margin-right: auto !important;
	font-size: 1.6em;
	font-weight:bold;
	text-transform:uppercase;
	width: 5.7em;
	height: 2em;
	padding: 0;
	background-color: var(--color-blue);
	color: var(--color-white);
}

div.farmaorderform .rowcenter {
	margin-top:20px;
	margin-bottom:20px;
	text-align: center;
}

div.farmaorderform div.error label {
	color:var(--color-error);
}
div.farmaorderform div.invalid div.errormessage {
	color:var(--color-invalid);
	font-size: 0.8em;
}
div.farmaorderform div.valid div.errormessage {
	color:var(--color-valid);
	font-size: 0.8em;
}



div.farmaorderform div.error div.errormessage,
div#errorbox
{
	color:var(--color-bigerror);
}
div.farmaorderform div.error div.errormessage {
	font-size: 0.8em;
}
div#errorbox {
	font-size: 0.8em;
}

div.farmaorderform div.error input,
div.farmaorderform div.error select {
	border-color:var(--color-error);
}

div.farmaorderform div.flex1 {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

div.farmaorderform label {
	
}

table.bluetable {
	margin:20px auto;
	top:-35px;
	z-index:1;
	border: none;
	/*position:relative;*/
	clear: both;
	background-image:url(/packages/Farmaexpress2020/skins/farmaexpress2020/img/tablebghack_full.png);
	background-repeat:no-repeat;
	background-size:100%;
}

table.bluetable th:last-child,
table.bluetable th:first-child {
    /*border:14px solid var(--color-blue);
	border-radius: 30%;*/
}
    
table.bluetable tbody {
}

table.bluetable th {
	/*background-image:url(/packages/Farmaexpress2020/skins/farmaexpress2020/img/table-th.png);*/
	background-color: var(--color-blue);
	background-repeat:no-repeat;
	background-size:100%;
	text-align:left;
	color:#FFF;
	margin:0;
	font-weight:normal;
	z-index:50;
	position:relative;
	height: 27px;
}


table.bluetable tbody th:after {
	/*content: url(/packages/Farmaexpress2020/skins/farmaexpress2020/img/table-pic.png);*/
	position:absolute;
	right: -30px;
	top: -18px;
	z-index:100;
}

table.bluetable td {
	text-align:left;
	border-left:1px solid var(--color-darkgray);
}
table.bluetable td:first-child {
	border-left:0px;
}

table.bluetable tr {
	border-top:1px solid var(--color-darkgray);
}

table.bluetable tr:first-child {
	/*border-top:0px;*/
	background-color: var(--color-blue);
	background-image:none;
}
table.bluetable tr:nth-child(2) {
	background-color: var(--color-gray);
}


table.bluetable {	
	/*border-bottom:2px solid #000;*/	
}

form p {
	margin-top: 0px;
	margin-bottom: 0px;
}


