nav {
	width: 50%;
}

.sub-header{
    background-color: #fff;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,.1);
    font-size: 0.8em;
    padding: 16px 0;
    position: relative;
    font-weight: bold;
}

.sub-header .wraper {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.sub-header ul {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
    flex-grow: 1;
	margin-bottom: -10px;
}

.sub-header li {
	margin-right: 2%;
	font-weight: bold;
	white-space: nowrap;
	margin-bottom: 10px;
    position: relative;
}

.mobile-subheader > a {
    vertical-align: -webkit-baseline-middle;
}

.sub-header .menu{
    top: 10px;
    height: auto;
    display: none;
}

.sub-header .menu ul{
    flex-direction: column;
    right: auto;
    left: 0;
}

.sub-header .menu a {
	color: #ff6921;
}

.sub-header .menu a::after {
	display: none !important;
}

.mobile-subheader{
    display: none;
}

.dashboard-table {
    text-align: left;
    position: relative;
}

.dashboard-table tr td.overflowHidden a {
	color: #000000;
}

.dashboard-table tr.expired td {
    background-color: #f64c30;
    color: #fff !important;
}

.dashboard-table tr.expired td.overflowHidden a,
.dashboard-table tr.expired .icon:before {
	color: #fff !important
}

.dashboard-table tr.transfer td {
    background-color: #ffff00;
    color: #000000 !important;
}

.dashboard-table tr.transfer td.overflowHidden a {
    color: #000000 !important
}

.dashboard-table th {
	background-color: #d6d6d6;
	color: #333;
	padding: 10px 10px;
	white-space: nowrap;
	font-size: 1em;
	font-weight: bold;
}

.dashboard-table thead select {
	background-color: #d6d6d6;
    margin-left: -9px;
	padding: 5px 25px 4px 5px;
	box-shadow: none;
	background-size: 5px 5px, 5px 5px;
	background-position: calc(100% - 14px) 50%, calc(100% - 9px) 50%;
	border-radius: 30px;
	font-weight: bold;
}

.dashboard-table thead select:focus{
	border: 1px solid #ff6921;
    box-shadow: 0 1px 9px rgb(255, 105, 33,.3);
    background-color: #fff;
    color: #ff6921
}

.dashboard-table .round-btn {
	font-size: 12px !important;
	transition: none;
    margin: 0 5px;
}

.dashboard-table tbody .round-btn:hover {
	box-shadow: 0 0 0 1px #999 inset;
}

.dashboard-table thead{
    position: relative;
}

.dashboard-table thead::after {
	content: "";
	width: 100%;
	height: 5px;
	position: absolute;
	background-color: #D6D6D6;
	z-index: -1;
}

.dashboard-table tbody {
    position: relative;
	box-shadow: 0 -2px 6px 0px rgba(72,62,52,.3),
                0 0 12px 0px rgba(72,62,52,.15);
}

.dashboard-table tbody td,
.dashboard-table tbody tr:last-of-type:hover td{
	background-color: #fff;
    /*white-space: nowrap;*/
}

.dashboard-table tbody tr:hover td,
.dashboard-table tbody tr.tr-hover:hover td,
.dashboard-table tbody tr.tr-inactive td {
    background-color: #f5f5f5;
}
.dashboard-table tbody tr.tr-inactive:hover td {
	background-color: #efefef;
}

.dashboard-table tbody tr.expired:hover td {
	background-color: #fd6b4f;
}
.dashboard-table tbody tr.transfer:hover td {
	background-color: #ffff88;
}

.dashboard-table tbody tr.expiresSoon td {
	background-color: #ffefb2;
}
.dashboard-table tbody tr.expiresSoon:hover td {
	background-color: #fef2c4;
}

.dashboard-table thead a{
	color: #333;
}

.dashboard-table thead tr:first-child th:first-child,
.dashboard-table tbody tr:first-child td:first-child{
	border-top-left-radius: 10px;
}

.dashboard-table thead tr:first-child th:last-child,
.dashboard-table tbody tr:first-child td:last-child{
	border-top-right-radius: 10px;
}

.dashboard-table tbody tr:last-child td:last-child {
	border-bottom-right-radius: 10px;
}

.dashboard-table tbody tr:last-child td:first-child {
	border-bottom-left-radius: 10px;
    padding: 10px;
}

.dashboard-table thead tr th:first-child,
.dashboard-table tbody tr td:first-child{
    width: 30px;
}

.dashboard-table tr th:first-child .icon:before,
.dashboard-table tr td:first-child .icon:before{
    margin: 0;
}

.dashboard-table tr td.dashboard-icons {
	width: 322px;
}
.dashboard-table tr td.dashboard-shared-icons {
	width: 254px;
}

/* --- Dashboard Aside --- */

.dashboard-aside .block{
    margin-bottom: 30px;
}

.dashboard-aside .quick-search{
    position: relative;
}

.dashboard-aside .block-head{
    background-color: #d6d6d6;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
}

.dashboard-aside .block-head input[type="text"]{
    width: 100%;
}

.dashboard-aside .block-content {
	background-color: #fff;
	padding: 10px 20px;
	font-size: .8em;
	box-shadow: 0 -2px 6px 0px rgba(72,62,52,.3), 0 0 12px 0px rgba(72,62,52,.15);
	-webkit-transform: translateY(-13px);
	-ms-transform: translateY(-13px);
	transform: translateY(-13px);
}

.dashboard-aside .block-content > div{
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e5e5e5;
}

.dashboard-aside .block-content > div:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* --- Dashboard In --- */

.transfer-buttons {
	display: flex;
	justify-content: space-around;
	flex-wrap: nowrap;
}

.transfer-buttons button {
	margin: 0 15px;
    flex-grow: 1;
}

.control-menu {
	display: flex;
    flex-flow: row wrap;
	justify-content: space-between;
}

.control-menu button.icon {
	width: 6.88%;
	background-color: #e1e1e1;
	padding: 0;
	border-radius: 12px;
	margin: 0 !important;
	font-size: 2em;
	color: #5e5c5a;
}

/* Different sizes for the different zone types */
.control-menu.slave-zone-menu button.icon {
	width: 10%;
}

.control-menu.slave-zone-menu.reverse-menu-slave button.icon{
	width: 11.5%;
}

.control-menu.slave-zone-menu.shared-zone-slave button.icon {
	width: 13.5%;
	font-size: 2.7em;
}
.control-menu.slave-zone-menu.shared-zone-slave-reverse button.icon {
	width: 15.1%;
	font-size: 2.7em;
}
.control-menu.parked-zone-menu button.icon {
	width: 10.6%;
	font-size: 2em;
}

.control-menu.geodns-zone-menu button.icon,
.control-menu.reverse-zone-menu button.icon {
	width: 9.4%;
}

.control-menu.geodns-zone-menu-shared button.icon,
.control-menu.reverse-zone-menu-shared button.icon {
	width: 11.4%;
}

.control-menu button.icon:hover {
    background-color: #d5d5d5;
}

.control-menu.parked-zone-menu-shared button.icon {
	width: 13.5%;
}

.control-menu.master-zone-menu-shared button.icon {
	width: 8.5%;
}

.control-menu.domain-panel-menu button.icon {
	width: 10.5%;
}

.control-menu button.icon:hover {
    background-color: #d5d5d5;
}

.control-menu button span {
	font-size: .27em;
	font-weight: bold;
	display: block;
	padding: 0 5px;
	line-height: 1;
	margin: 7px 0 10px;
}

.zone-name {
	display: flex;
	align-items: center;
	justify-content: space-between;
	overflow: hidden;
	padding-top: .5em !important;
	padding-bottom: .5em !important;
	flex-wrap: wrap;
}

.zone-name h3 {
	margin: .5em 2em .5em 0;
	word-break: break-all;
}

.table-records th{
    color: #555;
    border-bottom: 1px solid #e5e5e5;
}

.table-records tr th:first-child,
.table-records tr td:first-child {
	padding: 15px 10px 15px 30px;
}

textarea#slaveZones {
	height: 100px !important;
}

.contacts {
	margin-bottom: 2%;
}

.section-wraper input[type=number] {
  -moz-appearance:textfield;
}

.contacts table input[type="text"], 
.contacts table input[type="email"], 
.contacts table select {
	width: 100%;
}

.contacts .phone-code {
	width: 30% !important;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.contacts .phone-number {
	width: 67% !important;
}

.contacts table td:last-child {
	width: 60%;
}
.contacts table td {
	padding: 5px 0;
}

.contacts table td:first-child {
	width: 35%;
	padding-right: 5%;
}
.contacts table td {
	padding: 5px 0;
	padding-right: 0px;
}

.contacts table tr.regTypeCheckbox td {
	border: none;
}

#privacyProtection .icon-close:before,
#privacyProtection .icon-ok:before,
#transferProtection .icon-close:before,
#transferCode .icon-close:before {
	vertical-align: initial;
}

#privacyProtection button {
	margin-top: 10px;
}

.nameservers-page ul,
#childNameservers ul{
	border-bottom: 1px solid #f0f0f0;
	padding: 0 10px;
}

.nameservers-page ul:hover,
#childNameservers ul:hover{
	background-color: #f8f8f8;
}

.nameservers-page li,
.glue-records-list li {
	padding: 10px 0;
}

.cns-table label {
	margin: 0;
}

.cns-table tr td:last-child {
	width: 50%;
}

.cns-table tr td:first-child {
	width: 30%;
}

#childNameservers .add-new-server .left-col {
	width: 39%;
	padding-top: 5px;
}

#childNameservers .add-new-server .right-col {
	width: 59%;
	margin-bottom: 10px;
}

#childNameservers ul li label {
	margin: 0;
}

#nameservers .grow-col,
#childNameservers .grow-col{
	flex-wrap: nowrap;
}

.col-cdns-host {
	width: 25%;
	margin-left: 0;
}

.nameservers-page .nameserver-title-col {
	width: 20%;
}

.nameserver-button-col {
	width: 220px;
}

.lang-ru .nameserver-button-col {
	width: 277px;
}

.lang-bg .nameserver-button-col {
	width: 256px;
}

.lang-ua .nameserver-button-col {
	width: 304px;
}

.glue-records-list .cdns-host {
	word-break: break-all;
	white-space: normal;
}

.new-server-row {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.nameservers-save-loading {
	margin: 20px auto 0 auto;
}

#childNameservers .delete-cns {
	margin-left: 49px;
	width: 60px;
}

#childNameservers .edit-cns {
	margin-left: 40px;
	width: 60px;
}

#dnssec .dnssec-textarea {
	width: 100%;
	max-width: 100%;
	height: 200px;
}

#dnssec .table-records tr td:first-child {
    padding: 15px 10px;
}
#dnssec .icon-delete {
	margin-right: 10px;
}

.grow-col {
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	display: -webkit-inline-box;
	display: -webkit-inline-flex;
	display: -ms-inline-flexbox;
	display: inline-flex;
	margin: 0 20px;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}

.col.grow-col input {
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
}

.flex-4-col, .flex-3-col, .flex-2-col, .flex-col{
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
/* Specific langs and buttons fixes */

.lang-ru .control-menu button.icon-mail-forwards,
.lang-de .control-menu button.icon-mail-forwards,
.lang-fr .control-menu button.icon-dns-zones,
.lang-fr .control-menu button.icon-templates,
.lang-pt .control-menu button.icon-soa,
.lang-pt .control-menu button.icon-zone-transfers,
.lang-it .control-menu button.icon-soa,
.lang-it .control-menu button.icon-zone-transfers,
.lang-pl .control-menu button.icon-zone-share2,
.lang-ua .control-menu button.icon-mail-forwards,
.lang-id .control-menu button.icon-zone-import,
.lang-es .control-menu button.icon-zone-transfers {
	/* Warning: Needed for oldIE support, but words are broken up letter-by-letter */
	-ms-word-break: break-all;
	word-break: break-all;

	/* Non standard for webkit */
	word-break: break-word;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.dashboard-table.checks-table tbody tr td:first-child {
	width: 35%;
}
