/*input[type=checkbox],input[type=radio]{opacity:0;position:absolute;z-index:12;width:18px;height:18px;}*/
input[type=checkbox]:checked,input[type=radio]:checked,input[type=checkbox]:focus,input[type=radio]:focus{outline:none !important;}
input[type=checkbox]+.lbl,input[type=radio]+.lbl{position:relative;z-index:11;display:inline-block;margin:0;line-height:20px;min-height:14px;min-width:14px;font-weight:normal;}
input[type=checkbox]+.lbl.padding-16::before,input[type=radio]+.lbl.padding-16::before{margin-right:16px;}
input[type=checkbox]+.lbl.padding-12::before,input[type=radio]+.lbl.padding-12::before{margin-right:12px;}
input[type=checkbox]+.lbl.padding-8::before,input[type=radio]+.lbl.padding-8::before{margin-right:8px;}
input[type=checkbox]+.lbl.padding-4::before,input[type=radio]+.lbl.padding-4::before{margin-right:4px;}
input[type=checkbox]+.lbl.padding-0::before,input[type=radio]+.lbl.padding-0::before{margin-right:0px;}
input[type=checkbox]+.lbl::before,input[type=radio]+.lbl::before{font-family:fontAwesome;font-weight:normal;font-size:11px;color:#2091cf;content:"\a0";background-color:#FAFAFA;border:1px solid #CCC;box-shadow:0 1px 2px rgba(0, 0, 0, 0.05);border-radius:0;display:inline-block;text-align:center;vertical-align:middle;height:13px;line-height:13px;min-width:13px;margin-right:1px; margin-top: -5px;}
input[type=checkbox]:checked+.lbl::before,input[type=radio]:checked+.lbl::before{display:inline-block;content:'\f00c';background-color:#F5F8FC;border-color:#adb8c0;box-shadow:0 1px 2px rgba(0, 0, 0, 0.05),inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05),inset 15px 10px -12px rgba(255, 255, 255, 0.1);}
input[type=checkbox]:hover+.lbl::before,input[type=radio]:hover+.lbl::before,input[type=checkbox]+.lbl:hover::before,input[type=radio]+.lbl:hover::before{border-color:#1c7aad;}
input[type=checkbox]:active+.lbl::before,input[type=radio]:active+.lbl::before,input[type=checkbox]:checked:active+.lbl::before,input[type=radio]:checked:active+.lbl::before{box-shadow:0 1px 2px rgba(0, 0, 0, 0.05),inset 0px 1px 3px rgba(0, 0, 0, 0.1);}
input[type=checkbox]:disabled+.lbl::before,input[type=radio]:disabled+.lbl::before,input[type=checkbox][disabled]+.lbl::before,input[type=radio][disabled]+.lbl::before,input[type=checkbox].disabled+.lbl::before,input[type=radio].disabled+.lbl::before{background-color:#DDD !important;border-color:#CCC !important;box-shadow:none !important;color:#BBB;}
input[type=radio]+.lbl::before{border-radius:32px;font-family:Arial,Helvetica,sans-serif;font-size:36px;}
input[type=radio]:checked+.lbl::before{content:"\2022";}
pre.block {white-space: pre-wrap;}

input[type=checkbox],input[type=radio]{position:absolute;z-index:12;width:18px;height:18px;}
div.custom-checkbox > label {padding-left:20px; padding-top:3px;}

.blink_me {
  animation: blinker 0.5s cubic-bezier(.5, 0, 1, 1) infinite alternate;  
}
@keyframes blinker { to { opacity: 0; } }
.breadcrumb {background-color:#5bc0de!important; color:#fff!important;}
.breadcrumb a, .breadcrumb a small{color:#fff!important}
.prop_success{ color: #5cb85c !important; }
.prop_warning{ color: #eb9316 !important; }
.prop_danger { color: #d9534f !important; }
.prop_info { color: #46b8da !important; }

.container {width:600px; margin-left:auto; margin-right: auto;}
.container header {margin-bottom: 10px; padding: 10px 20px; border-bottom: 1px solid #DDD; background: #f4f4f4;}

.half-col {border:1px solid #DDD; float:left; width:250px; margin-right: 5%; box-shadow: 0 3px 0 #EEE;}
.half-col.last {width:250px; margin-right: 0;}

.half-col ul {list-style: none; padding-left:20px;}
.half-col li {overflow: hidden; display: block; margin-bottom: 10px;}

.centrardiv { 
	position: absolute; 
	top:50%; 
	left:50%;
	width:300px; 
	margin-left:-200px; 
	height:300px;
	margin-top:-150px;
	padding:5px; 
}

.btn-black {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.15) inset, 0px 1px 1px rgba(0, 0, 0, 0.075);
}
.btn-black {
    color: #FFF;
    background-color: #000;
    border-color: #D43F3A;
}

.navbar-brand {
    padding: 5px;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}
.bs-callout p:last-child {
    margin-bottom: 0;
}
.bs-callout code {
    border-radius: 3px;
}
.bs-callout+.bs-callout {
    margin-top: -5px;
}
.bs-callout-default {
    border-left-color: #777;
}
.bs-callout-default h4 {
    color: #777;
}
.bs-callout-primary {
    border-left-color: #428bca;
}
.bs-callout-primary h4 {
    color: #428bca;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-success h4 {
    color: #5cb85c;
}
.bs-callout-danger {
    border-left-color: #d9534f;
}
.bs-callout-danger h4 {
    color: #d9534f;
}
.bs-callout-warning {
    border-left-color: #f0ad4e;
}
.bs-callout-warning h4 {
    color: #f0ad4e;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-info h4 {
    color: #5bc0de;
}



/* /////////////// Submenu /////////////////*/
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
@media screen and (max-width: 767px){
.navbar-fixed-top .navbar-collapse{
    max-height:100%;
} }
/* /////////////////////////////////////////////////*/


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 24px;
  float:right;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18Px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input.default:checked + .slider {
  background-color: #444;
}
input.primary:checked + .slider {
  background-color: #2196F3;
}
input.success:checked + .slider {
  background-color: #8bc34a;
}
input.info:checked + .slider {
  background-color: #3de0f5;
}
input.warning:checked + .slider {
  background-color: #FFC107;
}
input.danger:checked + .slider {
  background-color: #f44336;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  /*border-radius: 35px; */
  border-radius: 5px;
}

.slider.round:before {
  border-radius: 50%;
}





table.cosasdns-grid { 
  width: 100%; 
  border-collapse: collapse; 
}
/* Zebra striping */
table.cosasdns-grid tr:nth-of-type(odd) { 
  background: #eee; 
}
table.cosasdns-grid th { 
 /* background: #e7e7e7; */
  color: #000; 
  font-weight: bold; 
}
table.cosasdns-grid td, 
table.cosasdns-grid th { 
  padding: 6px; 
  border: 1px solid #ccc; 
  text-align: left; 
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen 
and (max-width: 360px), (min-device-width: 360px) and (max-device-width: 1024px)  {
		
	/* Force table to not be like tables anymore */
	table.cosasdns-grid {
		display: block; 
	}
	table.cosasdns-grid thead, 
	table.cosasdns-grid tbody,
	table.cosasdns-grid th, 
	table.cosasdns-grid tr, 
	table.cosasdns-grid td { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	table.cosasdns-grid thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	table.cosasdns-grid tr { border: 1px solid #ccc;  margin-top:10px; }
	
	
	table.cosasdns-grid td { 
		/* Behave  like a "row" */
		border: none;		
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 35%; 
		min-height: 30px;		
	}
	
	table.cosasdns-grid td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 35%; 
		padding-right: 10px; 
		white-space: nowrap;
		font-weight:bold !important;
		
	}
		
	
	/* RFC */
	table.cosasdns-grid td.rfc:nth-of-type(1):before { content: "Type"; }
	table.cosasdns-grid td.rfc:nth-of-type(2):before { content: "Status"; }
	table.cosasdns-grid td.rfc:nth-of-type(3):before { content: "Title"; }
	
	table.cosasdns-grid td.rfc:nth-of-type(4):before { content: "Bgnd"; }
	table.cosasdns-grid td.rfc:nth-of-type(5):before { content: "Prot"; }
	table.cosasdns-grid td.rfc:nth-of-type(6):before { content: "Names"; }
	table.cosasdns-grid td.rfc:nth-of-type(7):before { content: "Ops"; }
	table.cosasdns-grid td.rfc:nth-of-type(8):before { content: "RR"; }
	table.cosasdns-grid td.rfc:nth-of-type(9):before { content: "Proxy"; }
	table.cosasdns-grid td.rfc:nth-of-type(10):before { content: "Stub"; }
	table.cosasdns-grid td.rfc:nth-of-type(11):before { content: "Auth"; }
	table.cosasdns-grid td.rfc:nth-of-type(12):before { content: "Res"; }
	table.cosasdns-grid td.rfc:nth-of-type(13):before { content: "Xfr"; }
	table.cosasdns-grid td.rfc:nth-of-type(14):before { content: "DDNS"; }
	table.cosasdns-grid td.rfc:nth-of-type(15):before { content: "DNSSEC"; }
	table.cosasdns-grid td.rfc:nth-of-type(16):before { content: "Actions"; }	
	

	
	/* Domains */
	table.cosasdns-grid td.domains:nth-of-type(1):before { content: "Databases"; }
	table.cosasdns-grid td.domains:nth-of-type(2):before { content: "Hosting"; }
	table.cosasdns-grid td.domains:nth-of-type(3):before { content: "Provider"; }
	table.cosasdns-grid td.domains:nth-of-type(4):before { content: "Expiry date"; }
	table.cosasdns-grid td.domains:nth-of-type(5):before { content: "Last Update"; }
	table.cosasdns-grid td.domains:nth-of-type(6):before { content: "Actions"; }		
	
	table.cosasdns-grid td.domainsdyn:nth-of-type(1):before { content: "MAX Changes"; }	
	table.cosasdns-grid td.domainsdyn:nth-of-type(2):before { content: "Actions"; }		
		
	table.cosasdns-grid td.propagate:nth-of-type(1):before { content: "IPv4 / Port"; }
	table.cosasdns-grid td.propagate:nth-of-type(2):before { content: "Last update"; }
	table.cosasdns-grid td.propagate:nth-of-type(3):before { content: "Ping"; }	
	
	table.cosasdns-grid td.domainsrecord:nth-of-type(1):before { content: "Record"; }
	table.cosasdns-grid td.domainsrecord:nth-of-type(2):before { content: "Value"; }	
	table.cosasdns-grid td.domainsrecord:nth-of-type(3):before { content: "Order"; }	
	table.cosasdns-grid td.domainsrecord:nth-of-type(4):before { content: "Actions"; }	
	
	table.cosasdns-grid td.dynamic:nth-of-type(1):before { content: "Record"; }
	table.cosasdns-grid td.dynamic:nth-of-type(2):before { content: "IPv4"; }
	table.cosasdns-grid td.dynamic:nth-of-type(3):before { content: "Secret API"; }
	table.cosasdns-grid td.dynamic:nth-of-type(4):before { content: "Last Sync"; }
	table.cosasdns-grid td.dynamic:nth-of-type(5):before { content: "IP not change"; }
	table.cosasdns-grid td.dynamic:nth-of-type(6):before { content: "Actions"; }		
}


#tabDatabases {max-height: 60vmin; overflow-y: auto; overflow-x: hidden; }

.form-control.is-invalid, .was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.panels {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-justify-content: flex-start;
  -moz-justify-content: flex-start;
  -ms-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-align-items: stretch;
  -moz-align-items: stretch;
  -ms-align-items: stretch;
  align-items: stretch;
  -webkit-align-content: stretch;
  -moz-align-content: stretch;
  -ms-align-content: stretch;
  align-content: stretch;
  margin: 0 -15px;
}
.text-center {
  text-align: center !important;
}

.panel-content .panel-logo-large {
  max-height: 80px;
}
.panel-content .panel-logo {
  max-height: 80px;
  margin: 0 0 1em 0;
}


table.cmd_table {
  margin-bottom: 1.2em;
  width: 100%;
}

.cmd_table {
  border-spacing: 0;
}

table.cmd_table tbody tr:nth-child(2n+1) {
  background: rgba(63,81,181,.05);
}

table.cmd_table tbody tr > td:first-child {
  white-space: nowrap;
}

table.cmd_table tbody td:first-of-type {
  padding-right: .7em;
}

table.cmd_table tbody td {
  padding: 0 0 0 .2em;
    padding-left: 0.2em;
}

.cmd_table pre {
  margin: 0 !important;
  background-color: unset;
    border: unset;
    border-radius: unset;
}
