html,
body {
    height: 100%;
    background-image: repeating-radial-gradient(#ffffff, #def5ff, #3b9bc2);
    font-size: 15px;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 10px 20px;
}

.wrap {
    background: url('/img/bg.png?x=5');
    background-position:top;
    background-repeat: no-repeat;
}

.form-group input[type="text"] {
    width: 200px;
}

.form-group textarea {
    opacity: 0.8;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.btn-default {
    width: 150px;
    text-align: left;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

div.mtop {
    margin-top: 60px;
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.navbar-brand {
    padding-top: 0px;
}

.navbar-inverse {
    background-color: #3B9BC2;
    border: 0px;
}
.navbar-inverse .navbar-brand, .navbar-inverse .navbar-nav > li > a, .navbar-inverse .btn-link {
    color: #f5f3f3;
    font-weight: bold;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #2959a0;
}

.form-control {
    line-height: 2.5;
}

ul.breadcrumb {
    border-radius: 10px;
}

@media print {
    ul.breadcrumb, .btn, footer, div.analyzes, div.view-mode {display: none; }
}

.htitle {
    padding-top: 15px;
    display: inline-block;
}

div.pleft {
    padding: 0 0 0 12px;
}

div.pright {
    padding: 0 12px 0 0;
}

div#both-names {
    padding: 0px;
}

div.names, div#both-names {
    vertical-align: top;
    text-align: justify;
}

div.names img,
    div#both-names img {
    float: left;
    margin: -3px 7px 0 0;
}

table.name-quality td {
    vertical-align: top;
}

table.name-quality td.col {
    width: 10px;
}

table.characteristics {
    margin-top: 20px;
}

table.characteristics td {
    vertical-align: top;
    text-align: justify;
}

table.characteristics td {
    padding: 3px 0px 3px 5px;
}

table.characteristics td.first-col {
    width:110px;
}

table.characteristics td.pleft, table.names td.pleft {
    padding-left:25px;
}

div.clear {
    clear: both;
}

div.pad {
    padding-top: 20px;
}

table.lifeway {
    float: left;
    margin: 0px 30px 30px 0px;
}

table.lifeway td {
    width: 80px;
    height: 80px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid black;
    padding: 10px;
}

.info {
    color: #2959a0 !important;
    font-style: italic;
}

table.numbers tr.head,  table.planes tr.head {
    background-color: antiquewhite !important;
    font-weight: bold;
    vertical-align: top;
}

table.planes td.desc {
    padding-left: 20px;
}

table.names {
    margin-bottom: 20px;
}

table.names td, th {
    padding: 0px 12px 2px 0px;
}

table.names td {
    vertical-align: top;
    text-align: justify;
}

table.names td.name {
    width: 45px;
}

table.names td.name-col {
    width: 115px;
    font-weight: bold;
}

div.vibrations p {
    text-align: justify;
    margin-bottom: 5px;
}

div.vibrations div.years  {
    padding-left: 25px;
}

div.vibrations h4 {
    background-color: navajowhite !important;
    padding: 7px;
    cursor: pointer;
}

div.vibrations h4.hl, div.vibrations h5.hl {
    background-color: lightsalmon !important;
}

div.vibrations h5 {
    width: 80%;
    margin: 7px 0px;
    padding: 4px 7px;
    background-color: antiquewhite !important;
    font-weight: bold;
    cursor: pointer;
}

div.vibrations h5 span:not([class]) {
    padding-right: 15px;
}

div.analyzes {
    opacity: 0.9;
    border-radius: 10px;
    padding: 5px;
    background-color: white;
}

div#analyzesHome {
    opacity: 0.8;
    border-radius: 15px;
    padding: 15px;
    background-color: white;
    text-align: justify;
}

div.analyzes th, td {
    padding-right: 15px;
}

div.analyzes .table {
    margin-bottom: 0px;
}

div.analyzes .table > tbody > tr > td {
    padding: 5px;
}

div.analyzes ul.pagination {
    margin-top: 10px;
    margin-bottom: 0px;
}

div.analyzes .form-control {
    height: 25px;
}

div.fateAnalysis {
    padding-left: 0px;
}

div.fateAnalysis h1 {
    margin-top: 5px;
}

#close-analyzes, #analyzes {
    float: right;
    margin-bottom: 5px;
}

#loading {
    float: right;
    margin-right: 10px;
}

#analyzes, #loading {
    display: none;
}

h5.inactive, p.inactive, div.inactive, table.inactive {
    display: none;
}

.circle-num, .red-circle-num {
    font-size: 18px;

    border-radius: 17px;
    margin-left: 10px;
    padding: 0px 5px;
    border: 1px solid black;
}

.min-circle-num {
    border-radius: 11px;
    margin-left: 7px;
    padding: 0px 5px;
    border: 1px solid black;
}

.red-circle-num {
    margin: 0 10px 0 0;
    border: 1px solid red;
}

.triangle, .circle {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-color: lightcoral;
    text-align: center;
    font-weight: bold;
    margin-right: 3px;
    padding-top: 7px;
    /* The points are: centered top, left bottom, right bottom */
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
}

.circle {
    width: 22px;
    height: 22px;
    padding-top: 2px;
    background-color: moccasin;
    clip-path: circle(50% at 50% 50%);
}

div.view-mode {
    margin-top: 15px;
}

span.exit-points {
    color: darkred;
    font-weight: bold;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }

    .wrap {
        background: url('/img/bg-min.png?x=5');
        background-position: top;
        background-repeat: no-repeat;
    }

    #home-page-menu {
        display: none;
    }

    #home-quotes {
        margin-top: 210px;
    }

    .form-group input[type="text"] {
        width: 110px;
    }

    div.mtop {
        margin-top: 10px;
    }

    div.pleft, div.pright {
        padding: 0px;
    }

    div.analyzes {
        margin-top: 20px;
    }

    ul.breadcrumb {
        display: none;
    }

    div.analyzes {
        position: absolute;
        right: 0px;
        top: 56px;
        width: 100%;
        opacity: 1;
    }
}
