* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    background: transparent;
}

body {
    margin: 0;
    font-size: .90em;
    line-height: 150%;
    font-family: Helvetica, Arial, sans-serif;
    overflow-y: scroll;
    background: #FAFAFA;
    background-size: cover;
}

a {
    text-decoration: none;
    color: #1d486f;
}

a:hover {
    text-decoration: underline;
}

h2, h3 {
    font-weight: normal;
    line-height: 150%;
}

h1 {
    font-size: 147.5%;
    margin-bottom: 30px;
    font-weight: bold;
}

h1.error404-title {
    font-size: 200%;
    line-height: 125%;
    font-weight: bold;
}

h1:first-child, h2:first-child, h3:first-child {
    margin-top: 0;
}

h2 {
    font-size: 122.5%;
}

table {
    border-spacing: 0;
    border-style: solid;
    border-color: rgba(0, 0, 0, .1);
    border-width: 1px 0 0 1px;
}

table th {
    background: rgba(0, 0, 0, .1);
}

table th,
table td {
    padding: 7px 10px;
    border-style: solid;
    border-color: rgba(0, 0, 0, .1);
    border-width: 0 1px 1px 0;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="time"],
textarea {
    padding: 7px 9px;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    border-radius: 3px;
    outline: 0;
    font-size: 100%;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    min-width: 250px;
}

textarea {
    min-width: 350px;
    min-height: 75px;
    font-size: 120%;
}

#feedback-form textarea {
    height: 200px;
    width: 50%;
}

form fieldset {
    border: none;
    padding: 0;
    margin: 20px 0;
}

form fieldset legend {
    font-weight: bold;
    padding: 0;
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form fieldset > div {
    margin-bottom: 15px;
}

button,
.button,
input[type="button"],
input[type="submit"] {
    display: inline-block;
    cursor: pointer;
    border: 1px solid #a84f01;
    border-radius: 3px;
    padding: 5px 20px;
    background: #d47300 bottom center repeat-x;
    color: white;
    outline: 0;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: orange;
}

select {
    padding: 3px 7px;
}

select:focus {
    outline: 0;
}

.form-error {
    background: #982000;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, .5);
}

.form-error p:first-child {
    margin-top: 0;
    padding-top: 0;
}

.form-error p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.field-error-description {
    color: #982000;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

.page-wrap {
    background: #FFFFFF;
    width: 100%;
    max-width: 1200px;
    min-height: 100vh;
    margin: 0 auto;
    border-left: 1px solid rgba(0, 0, 0, .1);
    border-right: 1px solid rgba(0, 0, 0, .1);
    display: flex;
    flex-direction: column;
}

.page-header {
    padding: 20px 30px;
    flex: 0 0 auto;
    display: flex;
}

.page-header-right {
    text-align: right;
    width: 25%;
}

a.website-title {
    color: black;
    text-decoration: none;
    font-size: 175%;
    font-weight: bold;
}

.website-logo {
    display: flex;
    width: 80%;
    align-items: center;
    font-size: 175%;
    font-weight: bold;
}

.website-logo img {
    margin-right: 15px;
}

.page-content {
    display: flex;
    flex: 1 0 auto;
}

main {
    width: 75%;
    flex: 1;
    padding: 30px 15px 30px 30px;
}

aside {
    width: 25%;
    padding: 30px 30px 30px 15px;
    border-left: 1px solid rgba(0, 0, 0, .1);
}

aside h3 {
    text-align: center;
    font-size: 110%;
}

table {
    border: none;
    font-size: 90%;
}

table td {
    border-right: none;
}

table tr:nth-last-of-type(1) td {
    border-bottom: none;
}

#chart-geo-coords {
    display: none;
}

ul.livesearch-list {
    position: absolute;
    display: none;
    border: 1px solid rgba(0, 0, 0, .2);
    border-top-width: 0;
    width: auto;
    background: #FFFFFF;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
    min-width: 250px;
}

ul.livesearch-list li {
    padding: 7px 12px;
    list-style: none;
}

ul.livesearch-list li:hover {
    background: rgba(168, 79, 1, .1);
}

.icon-gender {
    display: inline-block;
    position: relative;
    font-size: 200%;
    font-weight: bold;
    top: .2em;
    left: -.1em;
}

.icon-gender.gender-female {
    color: deeppink;
}

.icon-gender.gender-male {
    color: blue;
}

.page-footer {
    flex: 0 0 auto;
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding: 20px 30px;
    background-color: rgba(0, 0, 0, .05);
    display: flex;
}

.footer-info,
.footer-counters {
    display: inline-block;
    vertical-align: top;
}

.footer-info {
    width: 85%;
}

ul.footer-menu {
    margin: 0 0 15px;
}

ul.footer-menu li {
    display: inline-block;
    margin-right: 15px;
}

.footer-counters {
    text-align: right;
    width: 15%;
}

.footer-counters a,
.footer-counters img {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-counters i:nth-last-child(1),
.footer-counters img:nth-last-child(1) {
    margin-bottom: 0;
}

img.footer-social {
    text-decoration: none;
    cursor: pointer;
    display: block;
    text-align: center;
    background: #1D5682 center center no-repeat;
    border: 1px solid rgba(0, 0, 0, .5);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
    opacity: 0.5;
}

img.footer-social:hover {
    border: 1px solid #0b2057;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=100);
    opacity: 1;
}

img.footer-social.vkontakte {
    background-position: 0 -44px;
}

.radio-sex-options {
    display: inline-block;
    width: auto;
    font-size: 250%;
    font-weight: bold;
}

.radio-sex-option {
    display: inline-block;
    padding: 10px 10px;
    border: 1px solid rgba(0, 0, 0, .1);
    cursor: pointer;
    background: rgba(0, 0, 0, .05);
}

.radio-sex-option-female {
    border-radius: 0 5px 5px 0;
    color: deeppink;
}

.radio-sex-option-male {
    border-radius: 5px 0 0 5px;
    color: deepskyblue;
}

.radio-sex-options input[type="radio"] {
    display: none;
}

.radio-sex-options input[type="radio"]:checked + .radio-sex-option {
    box-shadow: inset 0 0 10px rgba(0, 0, 0, .25);
    color: black;
}

.radio-sex-options input[type="radio"]:checked + .radio-sex-option-female {
    background: pink;
}

.radio-sex-options input[type="radio"]:checked + .radio-sex-option-male {
    background: lightskyblue;
}

.mono {
    font-family: 'Courier New', Couriter, monospace;
}

.website-nav {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 0 10px;
    background: white;
    /*background: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .05) 50%, transparent 100%);*/
    z-index: 2;
}

.website-nav ul {
    padding: 0;
    margin: 0 auto;
    background: #fff;
}

.website-nav li {
    display: inline-block;
    text-transform: uppercase;
    position: relative;
}

.website-nav li:hover {
    background: rgba(0, 143, 232, 1);
}

.website-nav ul ul {
    min-width: 100%;
    position: absolute;
    display: none;
    border: 1px solid rgba(0, 0, 0, .25);
    border-top-color: rgba(0, 0, 0, .05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .2);
    z-index: 3;
}

.website-nav li:hover ul {
    display: block;
}

.website-nav ul li li {
    display: block;
}

.website-nav li span,
.website-nav li a {
    padding: 10px 20px;
    display: block;
    color: black;
}

.website-nav li a {
    text-decoration: none;
}

.website-nav li:hover span,
.website-nav li:hover > a {
    color: white;
}

.note {
    font-size: 90%;
    color: rgba(0, 0, 0, .75);
}

.center {
    text-align: center;
}

.centering-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-switch {
    display: none;
}

.tabs {
    margin: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .5);
}

.tabs li {
    border: 1px solid rgba(0, 0, 0, .33);
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
    display: inline-block;
}

.tabs li label {
    display: block;
    padding: 8px 30px;
    cursor: pointer;
}

.tabs li:nth-of-type(1) {
    margin-left: 10px;
}

.tabs li:nth-last-of-type(1) {
    margin-right: 0;
}

.tab-content {
    display: none;
}

.nowrap {
    white-space: nowrap;
}

.mdl {
    vertical-align: middle;
    align-content: center;
}