html {
    position: relative;
    min-height: 100%;
}

.solecolumn {
    width: 62%;
    min-width: 400px;
    max-width: 750px;
}

.column {
    min-width: 400px;
}

.left {
    float: left;
}

.right {
    float: right;
}

div.column.left {
    width: 55%;
}

div.column.right {
    width: 45%;
}

.clear {
    clear: both;
}

.invisible {
    visibility: hidden;
}

div#header {
    max-width: 952px;
    width: 95%;
    margin: 0 auto 32px;
    height: 95px;
    padding: 0 10px;
}

/* responsive design */
@media (max-width: 770px) {
    div#header {
        margin: 0 auto 5px;
    }
}

@media (max-width: 440px) {
    div#header {
        width: 90%;
        height: 97px;
    }

    .column {
        min-width: auto;
    }
}

#header .toolbar {
    float: right;
    margin: 45px 1em 0 0;
}

@media (max-width: 770px) {
    #header .toolbar {
        right: 12px;
        position: absolute;
        top: 72px;
        margin: 0 0 0 10px;
    }
}

@media (max-width: 425px) {
    #header .toolbar {
        position: absolute;
        top: 46px;
        text-align: right;
        margin: 0 5px;
    }
}

#header .toolbar img {
    vertical-align: middle;
}

#header .toolbar div {
    display: inline-block;
}

#header div.lang {
    position: relative;
}

#header .lang a img {
    -ms-filter: progid: dximagetransform.microsoft.alpha(Opacity=50);
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
    border: 0;
    margin: 0 5px 0 0;
}

#header .lang a:hover img {
    -ms-filter: progid: dximagetransform.microsoft.alpha(Opacity=100);
    filter: alpha(opacity=100);
    -moz-opacity: 1;
    -khtml-opacity: 1;
    opacity: 1;
}

#header .toolbar .handlename {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: text-bottom;
    white-space: nowrap;
    max-width: 185px;
}

div#content,
ul.messagelist li {
    width: 928px;
    margin: 29px 80px 2px;
    margin: auto;
}

#id-logout-form {
    display: inline;
}

li.success,
li.error,
li.warning,
li.debug {
    list-style-type: none;
    font-weight: bold;
}

ul.messagelist li {
    color: white;
    font-weight: normal;
    list-style-type: none;
    margin: 10px;
    padding: 0 10px 10px;
    width: 200px;
}

ul.messagelist li a {
    color: #dff0fe;
    font-weight: normal;
    text-decoration: underline;
}

ul.messagelist li.success,
ul.messagelist li.error,
ul.messagelist li.info,
ul.messagelist li.warning,
ul.messagelist li.debug {
    padding-left: 36px;
}

ul.messagelist li.success {
    background: url("/static/img/icon32-check.d2ec817cf893.png") no-repeat -1px -4px;
}

ul.messagelist li.error {
    background: url("/static/img/icon32-forbid.174cb395daf7.png") no-repeat 0 0;
    color: #f00;
}

ul.messagelist li.warning {
    background: url("/static/img/icon16-warning.acf38be13472.png") no-repeat scroll 8px 8px;
    color: #d9b03a;
}

ul.messagelist li.info {
    background: url("/static/img/icon32-info.614e6e5b642b.png") no-repeat -1px -2px;
}

ul.messagelist li.debug {
    background: url("/static/img/icon32-debug.c2be7c773d60.png") no-repeat -1px -2px;
}

ul.messagelist {
    padding-left: 0;
    margin-bottom: 10px;
    margin-top: 0;
}

div.one-line-message {
    margin-top: 29px;
}

/* buttons and forms */

div.paginate span a {
    box-shadow: #c2c2c2 0 1px 1px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    transition: all 0.2s ease-in-out 0;
    border: 1px solid #606569;
    background-color: #e7e9e8;
    background-color: -moz-linear-gradient(top bottom, #fff 0%, #e7e9e8 100%); /* FF3.6+ */
    background-color: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff), color-stop(100%, #e7e9e8)); /* Chrome,Safari4+ */
    background-color: -webkit-linear-gradient(top bottom, #fff 0%, #e7e9e8 100%); /* Chrome10+,Safari5.1+ */
    background-color: -o-linear-gradient(top bottom, #fff 0%, #e7e9e8 100%); /* Opera 11.10+ */
    background-color: -ms-linear-gradient(top bottom, #fff 0%, #e7e9e8 100%); /* IE10+ */
    background-color: linear-gradient(to bottom, #fff 0%, #e7e9e8 100%); /* W3C */
    filter: progid:dximagetransform.microsoft.gradient(startColorstr="#fff", endColorstr="#e7e9e8", GradientType=0); /* IE6-9 */
    color: #404040;
    cursor: pointer;
    text-decoration: none;
    margin: 0 3px 3px 0;
    padding: 2px 8px;
}

/* no-descending-specificity forces us to put it here */
ul.messagelist li a:hover {
    text-decoration: none;
}

ul.messagelist li a:visited {
    color: #f1fedf;
}

div.paginate span.current,
div.paginate span.current:hover {
    box-shadow: #c2c2c2 0 1px 1px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    transition: all 0.2s ease-in-out 0;
    border: 1px solid #1d7900;
    color: #fff;
    cursor: default;
    background-color: #81c33b;
    background-color: -moz-linear-gradient(top bottom, #81c33b 0%, #4a9a17 100%); /* FF3.6+ */
    background-color: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #81c33b), color-stop(100%, #4a9a17)); /* Chrome,Safari4+ */
    background-color: -webkit-linear-gradient(top bottom, #81c33b 0%, #4a9a17 100%); /* Chrome10+,Safari5.1+ */
    background-color: -o-linear-gradient(top bottom, #81c33b 0%, #4a9a17 100%); /* Opera 11.10+ */
    background-color: -ms-linear-gradient(top bottom, #81c33b 0%, #4a9a17 100%); /* IE10+ */
    background-color: linear-gradient(to bottom, #81c33b 0%, #4a9a17 100%); /* W3C */
    filter: progid:dximagetransform.microsoft.gradient(startColorstr="#81c33b", endColorstr="#4a9a17", GradientType=0); /* IE6-9 */
    margin: 0 3px 0 0;
    padding: 2px 8px;
}

.hidden,
#content .invisible,
div.paginate span.inactive,
div.paginate span.inactive:hover {
    display: none;
}

input[type=submit]:hover,
input[type=button]:hover,
button:hover,
select:hover,
.button:hover,
div.paginate span a:hover {
    background: none;
    background-color: #fff;
}

div.paginate {
    display: inline;
}

div.pagecount {
    margin: 0;
    padding: 0 0 4px !important;
    text-align: right;
}

/* table nsset */
.tdcenter {
    text-align: center;
}

/* table domain list */

div.tableheader,
div.tablefooter,
div.tablebody {
    width: 100%;
    margin: 0;
    padding: 0;
}

table#objectlist {
    width: 100%;
    margin: 0;
    border-width: 0;
}

/* fixed width cells */
table#objectlist td.selection,
table#objectlist th.selection {
    width: 20px;
}

table#objectlist td.domain,
table#objectlist th.domain { /* responsive in style.css */
    width: 21%;
}

table#objectlist td.expired,
table#objectlist th.expired { /* responsive in style.css */
    width: 20%;
}

table#objectlist th.dnssec,
table#objectlist tr td.dnssec {
    margin: auto;
    width: 53px;
}

table#objectlist tr td.dnssec {
    text-align: center;
}

table#objectlist td.role,
table#objectlist th.role {
    width: 8%;
}

table#objectlist td.registrar,
table#objectlist th.registrar {  /* responsive in style.css */
    width: 17%;
}

table#objectlist td.domain-count,
table#objectlist th.domain-count {
    width: 100px;
}

table#objectlist th.status-name,
table#objectlist td.status-name {
    width: 10em;
}

table#objectlist thead tr td.expired,
table#objectlist thead tr td.dnssec,
table#objectlist thead tr td.role,
table#objectlist thead tr td.registrar {
    border-width: 1px 0;
}

table#objectlist a.domain-count {
    display: block;
    width: 100%;
    height: 100%;
}

div#displayrows {
    font-size: 80%;
}

.space-after {
    margin-right: 20px !important;
}

.inline-block {
    display: inline-block;
    margin: 1px;
}

/* pagination */
div.rightpagination {
    padding: 1em;
    float: right;
    text-align: right;
}

div.lefttools {
    padding: 1em;
    float: left;
}

div.actionbuttons {
    padding: 1em 0 0;
}

div.actionbuttons p {
    margin: 0;
    padding: 0 0 4px;
}

/* contact page */

@media all and (max-width: 900px) {
    form#contact .left,
    form#contact .right {
        float: none;
    }

    form#contact .column,
    .solecolumn {
        width: 80%;
    }

    div.longmax {
        width: 80%;
    }
}

table.contact tr td,
table.contact tr th,
table.objregistry tr th,
table.objregistry tr td {
    padding: 0.51em;
    vertical-align: top;
}

#content table.contact tr td div,
#content table.objregistry tr td div {
    line-height: 1.5em;
}

table.contact tr th,
table.objregistry tr th {
    text-align: right;
    padding-right: 0.5em;
    max-width: 180px;
    width: 145px;
    min-width: 120px;
}

table.objregistry tr th.toptoggle {
    text-align: left;
}

table.contact tr td.modified,
div.modified {
    background-color: #ffd487;
}

table.contact tr,
table.objregistry tr {
    border-top: 1px solid #c5c5c3;
    border-bottom: 1px solid #c5c5c3;
    margin: 0;
}

table.contact table tr,
table.objregistry table tr {
    padding: 0.5em;
    border: 0;
}

/* edit elements in contact table */

table.contact td.privacy {
    vertical-align: top;
    max-width: 80px;
    width: 80px;
}

table.contact td.noselect input {
    visibility: hidden;
}

table.contact td.disclose-flag-values span.privatehide {
    color: #999;
}

table.contact td.disclose-flag-values span.privatehide a {
    color: #3873a0;
}

table.contact tr.even.linked span,
table.contact tr.even.linked span a {
    background-image: none;
    padding-left: 0;
}

table.contact tr.linked th,
table.contact tr.linked td {
    border-top: 1px solid transparent;
    padding-top: 0;
}

.no-js {
    display: none;
}

table.contact fieldset {
    border: 0;
    margin: 0;
    padding: 5px;
}

table.contact fieldset ul {
    list-style-type: none;
    text-indent: 0;
    padding: 0;
}

/* contact page "submit to save changes" */

div.contact-submit {
    padding: 0.6em;
    font-size: smaller;
    text-align: right;
}

#content form#contact div.contact-submit div {
    padding: 0.5em;
}

form#contact div.contact-submit div.clear {
    display: block;
}

div.modified {
    border-color: #ffad00 !important;
}

/* contact tables */

table.contact,
table.objregistry {
    border-spacing: 0;
    border-collapse: collapse;
    clear: both;
    table-layout: fixed;
    width: 100%;
    border-left: 0;
}

div.longmax {
    width: 90%;
    min-width: 400px;
}

.longmax h3 {
    margin: 0.5em 0;
    padding-left: 2em;
}

/* details */

.tableheader.clear-up {
    margin-top: 30px;
}

.nodisplay {
    display: none;
}

#id-show-again {
    left: 50%;
    position: absolute;
    top: -15px;
    padding: 0;
    transition: 0.5s;
    z-index: 999;
}

#messages-wrapper {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: 0.5s;
    text-align: center;
}

#messages-wrapper .warning,
p.warning {
    background: url("/static/img/icon16-warning.acf38be13472.png") no-repeat scroll 8px 8px #f4edb6;
    border: 1px solid #d9b03a;
    border-radius: 9px;
    padding: 8px 8px 8px 31px;
    margin: 3px 30px;
}

#messages-wrapper ul {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.6);
    margin: 0 auto;
    padding: 1px;
    text-align: left;
    width: 276px;
}
