:root {
	--default-control-max-width: 85px;
}

body {
	position: relative;
	margin: 0;
	padding: 0 0 5px 0;
	font-family: Tahoma;
	background: var(--default-body-background);
	color: var(--default-body-text-color);
}

.wrapper {
	padding: CALC(42px + 1px) 0 0 CALC(var(--default-control-max-width) + 1px);
}

.small {
	font-size: 12px;
}

#cardview {
	padding: 10px;
}

#cardview .btn {
	margin-bottom: 0;
	padding: 2px 8px;
}

#cardview textarea {
	display: block;
	margin-bottom: 8px;
	min-height: 110px;
	min-width: 250px;
	border: 1px solid var(--text-input-border-color);
	color: var(--text-input-color);
	background-color: var(--text-input-background);
	font-family: courier;
	font-size: 16px;
	font-weight: bold;
	max-width: auto; 
	width: 100%; 
	box-sizing: border-box;
}

#domains-to-check {
	height: 200px;
}

#regdata {
	max-height: 250px;
	overflow-y: auto;
	overflow-x: hidden;
	border: 1px solid var(--default-border-color);
}

#register_new, #domain_to_renew {
	box-sizing: border-box;
	width: 100%;
	padding: 5px;
	background-image: none;
	font-size: 16px;
	font-weight: bold;
}

.card ul {
	list-style-image: none;
	list-style-position: inside;
	padding: 4px 0;
	height: 140px;
	overflow: auto;
	margin-top: 0;
}

#statuscard ul {
	height: 205px;
}

.card ul li {
	padding: 5px 0  5px 30px;
	list-style: none;
	background-color: var(--even-row-background);
	color: var(--even-row-color);
	background-image: var(--list-style-image);
	background-repeat: no-repeat;
	background-position: 2px center;
	background-size: 20px;
}

.card ul li.available {
	background-image: var(--domain-available-image);
}

.card ul li.not-available {
	background-image: var(--domain-not-available-image);
}

.card ul li.available-premium {
	background-image: var(--domain-available-premium-image);
}

.card ul li.not-available-premium {
	background-image: var(--domain-not-available-premium-image);
}

.card ul li:nth-child(odd) { 
	background-color: var(--odd-row-background);
	color: var(--odd-row-color);
}

.card ul li:hover {
	cursor: pointer;
	background-color: var(--btn-hover-background-color);
    color: var(--btn-hover-text-color);
}

#cardview .btn-sm {
	font-size: 14px;
}

#cardview .btn-success {
	background-color: #20AA20;
	color: #FFFFFF;
}

#cardview .btn-success:hover {
	background-color: #208020;
}

#cardview .btn-primary {
	background-color: #AA2020;
	color: #FFFFFF;
}

#cardview .btn-primary:hover {
	background-color: #802020;
}

#regdata {
	margin-bottom: 16px;
	margin-top: 16px;
}

#regdata .row {
	display: table;
}

#regdata input[type=text] {
  width: 100%;
}

#cardview textarea {
  resize: vertical;
}

#regdata textarea {
	min-height: 120px !important;
	border: none;
	font-weight: 600;
	font-family: courier;
	font-size: 16px;
	color: var(--text-input-color);
	background-color: var(--text-input-background);
	width: 100%;
}

#nsdata  {
	height: 150px;
}

#regdata input[type=text] {
	font-weight: 600;
	border: 1px solid var(--edit-border-color);
	font-family: courier;
	font-size: 16px;
	background-image: none;
	background-color: transparent;
	width: 100%;
	height: 100%;
	padding: 0 5px;
	box-sizing: border-box;
}

.no-border {
	border: none !important;
}

#regdata label {
  font-weight: 500;
  width: 100%;
}



#apipanel {
	padding: 5px;
	display: grid;
	grid-template-columns: 100px auto;
}

.control {
	position: fixed;
	left: 0;
	top: 42px;
	width: var(--default-control-max-width);
	height: 100%;
	bottom: 0;
	background: var(--control-background);
	color: var(--control-text-color);
	border-right: 1px solid var(--default-border-color);
}

#dtablewrapper {
	margin-right: 10px;
	border: 1px solid var(--default-border-color);
	margin-bottom: 0px;
}

#dtablewrapper > .dtcard {
	height: 300px;
}

hr {
	border: none;
	margin: 0 auto;
	padding: 0;
	margin-bottom: 6px;
	height: 5px;
	border-bottom: 1px solid var(--default-border-color);
	width: 70%;
	text-align: center;
}

a {
	color: var(--default-link-text-color);
	text-decoration: none;
}

.btn {
}

.card {
	position: relative; 
	border: 1px solid var(--default-border-color);
	margin-bottom: 10px; 
	margin-right: 10px;  
	padding: 10px 10px 10px 10px; 
	box-shadow: var(--default-box-shadow);
	flex: 1 100%;
	border-radius: var(--card-border-radius);
	background: var(--card-background); 
	color: var(--card-text-color);
}

.card h3 {
	margin-top: 0; 
	background-color: var(--card-header-background); 
	padding: 5px; 
	border-radius: var(--card-border-radius);
	margin-bottom: 10px;
}

#cardview h1 {
	font-size: 1.17em;
	color: var(--card-title-color);
	background-color: var(--card-title-background-color);
	text-align:center;
}

#currentdomain h1 {
	margin-top: 12px;
}

.card .stamp {
	background: var(--stamp-background); 
	padding: 2px 5px;
	border-radius: 3px;
	display: inline;
	line-height: 160%;
	margin-right: 5px;
}

.card .break {
	display: block;
	padding: 3px 3px;
	border-radius: 3px;
}

.break:not(:last-child) {
	margin-bottom: 40px;
}

.card h1:first-child {
	margin-bottom: 24px;
}

#regdata .break {
	margin-bottom: 0px;
}

.card .break .btn {
	margin-bottom: 0;
	margin-top: 0;
}

.card .filedata {
	display: block;
	margin-top: 10px;
	max-height: 250px;
	overflow: auto;
}

.card-wide {
	min-width: 480px;
}

.card-ewide {
	min-width: 480px;
}
	
.slno, .google, .pcount, .icount {
	margin-left: 5px; 
	padding: 5px; 
	position: absolute; 
	left: 0; 
	top: 10px; 
	border-radius: 5px; 
	background: var(--stamp-background); 
	color: var(--stamp-text-color); 
}

.pcount, .icount {
	top: 110px;
	background: transparent;
	color: var(--default-body-text-color);
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	display: inline;
	width: 48px;
}

.icount {
	top: 140px;
}

.google {
	top: 60px;
	background: none;
	margin-left: 0;
}

.google div {
	margin-left: auto;
	margin-right: auto;
	display: block;
	background: var(--google-button-background);
	background-size: 24px 24px;
	width: 45px;
	height: 32px;
	background-position: center center;
	border-radius: var(--default-border-color);
}

.clickable {
	cursor: pointer;
}

input:not(.datatable input) {
	margin-right: 10px;
	border: 1px solid var(--default-border-color);
	background: var(--search-input-background);
	color: var(--search-input-color);
	background-size: 15px 15px;
	background-position: 2px 2px;
	padding-left:20px;
}

input:focus, select:focus-visible, textarea:focus, textarea:focus-visible {
	outline: none;
}

select {
	border: 1px solid var(--default-border-color);
}

.header {
	position: fixed;
	left: 0;
	width: 100%;
	height: 42px;
	background: var(--header-background);
	color: var(--header-text-color);
	z-index: 10;
	border-bottom: 1px solid var(--default-border-color);
	display: grid;
	grid-template-columns: 180px auto;
	display: flex;
	align-items: center;
	grid-gap: 10px;
}

.header img {
	width: 100%; height: auto;
}

.header div:last-child {
  margin-left: auto;
}

.header > div {
	padding-left: 10px;
	
}

.header > .search {
	justify-self: end;
}

.control > img {
	margin-left: auto;
	margin-right: auto;
	display: block;
	width: 48px;
	text-align: center;
	margin-top: 10px;
}

.cards {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	flex-basis: auto;
	width: 100%;
	grid-gap: 10px;
	margin-bottom: 10px;
}

.card .break {
	background-color: var(--even-row-background);
	color: var(--even-row-color);
}

@media all {
	.card {
		flex: 1 calc(20%);
	}
}

@media all and (max-width: 1200px) {
	.card {
		flex: 1 calc(20%);
		flex-basis: 25%;
	}
}

@media all and (max-width: 980px) {
	.card {
		flex: 1 calc(35%);
	}
}

@media all and (max-width: 750px) {
	.card  {
		flex: 1 calc(45%); 
	}
}

@media all and (max-width: 500px) {
	.card    {
		flex: 1 100%; 
	}
	.wrapper {
		padding-left: 48px;
		padding-top: CALC(32px + 6px);
	}
	.control {
		width: 40px;
		top: 32px;
	}
	.control > img {
		width: 32px;
		margin-top: 6px;
	}
	.header {
		height: 32px;
	}
	.slno {
		font-size: 16px;
	}
	.google div {
		background-size: 18px 18px;
		width: 40px;
		height: 24px;
	}
	.pcount, .icount {
		width: 40px;
	}
}

@media all and (max-width: 640px) {
	.row {
		margin-bottom: 10px;
	}
}

::-webkit-scrollbar {
	width: 14px;
    height: 18px;
}

::-webkit-scrollbar-track
{
	box-shadow: none; 
    border-radius: 1px;
}

::-webkit-scrollbar-thumb
{
    background-color: rgba(177,225,255,0.6);
    box-shadow: none; 
	background-clip: padding-box;
	height: 6px;
    border: 4px solid rgba(0, 0, 0, 0);
	border-radius: 7px;
}

::-webkit-scrollbar-thumb:vertical {
	
}

::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}
::-webkit-scrollbar-corner {
    background-color: transparent;
}

.highlight {
	background: none !important;
	background-color: var(--default-highlight-background) !important;
	color: 	var(--default-highlight-color) !important;
}

.mb-0 {
	margin-bottom: 0px !important;
}

.multirowadd {
	width: 100%;
	height: 200px !important;
	resize: none !important;
	border-radius: 2px;
	box-sizing: border-box;
}
