* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    background: #e9e0d6;
    font-size: 100%;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    color: #2b3747;
    overflow-y: scroll;
    overflow-x: hidden;
}

.viewport {
    display: none;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(255, 255, 255, .3);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

p,
div.p {
    margin: 1em 0;
    font-size: 1em;
    text-align: justify;
}

h1.pageTitle {
    font-size: 1.8em;
    background: #354458;
    color: #eee;
    padding: 75px 30px;
    font-family: 'Lobster', cursive;
    font-weight: normal;
}

h2 {
    font-size: 1.5em;
    margin: 1em 0 0.5em 0;
}

.spacer {
    padding: 0 15px;
}

.error {
    color: #bf2c2c;
    border: 3px solid #bf2c2c;
    padding: 5px;
}

a.text,
a.text:link,
a.text:visited,
a.text:active {
    color: #29aba4;
    text-decoration: none;
    border-bottom: 1px dotted #29aba4;
    cursor: pointer;
}

a.text:hover {
    border-bottom: none;
}

button:focus,
input:focus,
textarea:focus {
    outline-width: 0;
}

button {
    padding: 5px 20px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1em;
    font-weight: 400;
    color: #eee;
    background: #29aba4;
    border: none;
}

.adWrapper {
    text-align: center !important;
    overflow: hidden;
}

.inputWrapper {
    position: relative;
    max-width: 500px;
    padding: 5px;
    border: 1px solid #29aba4;
}

.inputWrapper>img.spam {
    position: absolute;
    left: 5px;
    width: 60px;
    height: 19px;
}

input.spam {
    padding-left: 65px;
}

input,
textarea {
    width: 100%;
    background: none;
    border: none;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1em;
    font-weight: 400;
    color: #2b3747;
}

::-webkit-input-placeholder {
    color: #2b3747;
}

:-moz-placeholder {
    color: #2b3747;
}

::-moz-placeholder {
    color: #2b3747;
}

:-ms-input-placeholder {
    color: #2b3747;
}

#header {
    position: relative;
    z-index: 99999;
    -webkit-box-shadow: rgba(0, 0, 0, .7) 0px -15px 10px 18px;
    -moz-box-shadow: rgba(0, 0, 0, .7) 0px -15px 10px 18px;
    box-shadow: rgba(0, 0, 0, .7) 0px -15px 10px 18px;
}

#header>.spacer>div {
    display: inline-block;
    vertical-align: top;
}

#header h1 {
    position: relative;
    display: inline-block;
    left: 0;
    font-family: "Chango", cursive;
    font-size: 2.5em;
    line-height: 2em;
    font-weight: 400;
    color: #eb7260;
}

#header.pinned h1 {
    font-size: 2.0em;
    line-height: 1.4em;
    padding: 0;
}

#header h1>span {
    font-family: "Shadows Into Light", cursive;
    font-size: 0.8em;
    color: rgba(235, 114, 96, 0.4);
    /*opacity:0.4;*/
    position: absolute;
    top: -0.2em;
    right: -2.9em;
    line-height: 1;
}

@-moz-keyframes pinHeader {
    0% {
        top: -50px;
    }
    100% {
        top: 0;
    }
}

@-webkit-keyframes pinHeader {
    0% {
        top: -50px;
    }
    100% {
        top: 0;
    }
}

@-o-keyframes pinHeader {
    0% {
        top: -50px;
    }
    100% {
        top: 0;
    }
}

@-ms-keyframes pinHeader {
    0% {
        top: -50px;
    }
    100% {
        top: 0;
    }
}

@keyframes pinHeader {
    0% {
        top: -50px;
    }
    100% {
        top: 0;
    }
}

#header.pinned {
    position: fixed;
    top: 0;
    width: 100%;
    -webkit-animation: pinHeader 0.5s ease-out;
    -moz-animation: pinHeader 0.5s ease-out;
    -o-animation: pinHeader 0.5s ease-out;
    -ms-animation: pinHeader 0.5s ease-out;
    animation: pinHeader 0.5s ease-out;
}

#header.pinned>.spacer {
    background: #354458;
}

#header.pinned h1>span {
    opacity: 0.6;
}

#footer {
    padding: 10px 15px;
    /* border-bottom: 1px solid #d0d0d0; */
    background: #2e2e2e;
    color: #7d7d7d;
    font-size: .9em;
    text-align: left;
    /*
	-webkit-box-shadow: inset 0px 25px 14px -16px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: inset 0px 25px 14px -16px rgba(0, 0, 0, 0.8);
    box-shadow: inset 0px 25px 14px -16px rgba(0, 0, 0, 0.8);
	*/
}

#footer a {
    color: #7d7d7d;
    text-decoration: none;
}

#footer a:hover {
    color: #eb7260;
}

#footer h1 {
    font-size: 1.5em;
    margin: .7em 1em .7em 0;
    font-weight: normal;
    border-bottom: 1px solid #7d7d7d;
    white-space: nowrap;
}

#bgpicker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 10px;
}

#bgpicker ul {
    display: block;
    list-style: none;
}

#bgpicker li {
    display: inline-block;
    margin: 0 8px;
    cursor: pointer;
}

#bgpicker li.pick {
    vertical-align: middle;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    background: #fff;
    background: rgba(255, 255, 255, 0.7);
}

#bgpicker li.active {
    width: 13px;
    height: 13px;
}

ul {}

li {
    margin: 0 15px;
}

.grid {
    display: inline-block;
    vertical-align: top;
}

.two {
    width: 50%;
}

.three {
    width: 33.3%;
}

.four {
    width: 25%;
}

.inlineBox {
    display: inline-block;
    min-widht: 125px;
    max-width: 200px;
    margin: 0 10px 10px 0;
    border: 1px solid #354458;
    text-align: center;
}

.inlineBox>h1 {
    background: #354458;
    color: #eee;
    font-family: "Handlee", cursive;
    font-size: 1.1em;
    padding: 5px 10px;
}

.inlineBox p {
    text-align: center;
}

.controlgroup {
    display: inline-block;
    background: #354458;
    color: #eee;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    cursor: default;
    overflow: hidden;
}

.controlgroup>span {
    display: inline-block;
    padding: 5px 10px 5px 10px;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 1);
}

.controlgroup>a {
    display: inline-block;
    border-left: 1px solid #455973;
    padding: 5px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.controlgroup>a:hover {
    background: #455973;
}

.controlgroup>a.active {
    background: #29aba4;
}

.controlgroup>select {
    margin-right: 5px;
    background: #354458;
    border: none;
    color: #eee;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1em;
}

.controlgroup>select:focus {
    outline-width: 0;
}

span.mark {
    border-left: 2px solid #29aba4;
    padding-left: 5px;
}

span.light {
    border-left: 2px dotted #29aba4;
}

span.rating>i {
    cursor: pointer;
    font-size: 1.5em;
}

span.rating>i.active,
span.rating>i:hover {
    color: #eb7260;
}

.calAdd {
    position: relative;
    margin: 5px;
    border: 1px solid #ccc;
}

.calAdd>a {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    font-size: 50px;
}


/** TABLE LAYOUT **/

table.list {
    font-size: 1em;
    border: 2px solid #354458;
    border-spacing: 0;
    width: 100%;
    cursor: default;
    text-align: left;
}

table.list>thead>tr:first-child>th {
    background: #354458;
    color: #eee;
    padding: 2px 10px;
}

table.list>thead>tr>th {
    padding: 2px 5px;
    color: #354458;
    font-weight: bold;
    background: rgba(53, 68, 88, .2);
}

table.list>thead>tr.title>th {
    color: #eee;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0px;
    font-family: "Handlee", cursive;
}

table.list th {
    font-weight: normal;
    padding: 2px;
}

table.list td {
    padding: 5px;
    border-left: 1px dotted #354458;
    border-left: 1px solid rgba(53, 68, 88, .3);
    border-bottom: 1px dotted #354458;
    border-bottom: 1px solid rgba(53, 68, 88, .3);
}

table.list td.select {
    background: #29aba4 !important;
    color: #eee !important;
}

table.list td:first-child {
    border-left: none;
}

table.list>tbody>tr:last-child>td {
    border-bottom: none;
}

table.list tr.even>td {
    background: rgba(53, 68, 88, .1);
}

table.list tr.disabled>td {
    color: rgba(43, 55, 71, .4);
}

table.list td.hoverable:hover,
table.list tr.even>td.hoverable:hover {
    background: #eb7260 !important;
    color: #eee !important;
}

table.list td.today,
table.list tr.even>td.today {
    font-weight: bold;
    color: #eee;
    background: #354458;
}


/** TABLE LAYOUT - cal **/

table.cal {
    font-size: 1em;
    border: 2px solid #354458;
    border-spacing: 0;
    width: auto;
    max-width: 200px;
    margin: 5px;
    display: inline-block;
    cursor: default;
}

table.cal>thead>tr:first-child>th {
    background: #354458;
    color: #eee;
    padding: 2px 10px;
}

table.cal>thead>tr>th {
    color: #354458;
    font-weight: bold;
    background: rgba(53, 68, 88, .2);
}

table.cal>thead>tr.title>th {
    color: #eee;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 0px;
    font-family: "Handlee", cursive;
}

table.cal th {
    text-align: center;
    font-weight: normal;
    padding: 1px;
}

table.cal td {
    width: 12.5%;
    border-left: 1px dotted #354458;
    border-left: 1px solid rgba(53, 68, 88, .3);
    border-bottom: 1px dotted #354458;
    border-bottom: 1px solid rgba(53, 68, 88, .3);
    text-align: center;
}

table.cal td.select {
    background: #29aba4 !important;
    color: #eee !important;
}

table.cal td.select10 {
    background: rgba(41, 171, 164, 0.1) !important;
}

table.cal td.select20 {
    background: rgba(41, 171, 164, 0.2) !important;
}

table.cal td.select30 {
    background: rgba(41, 171, 164, 0.3) !important;
}

table.cal td.select40 {
    background: rgba(41, 171, 164, 0.4) !important;
    color: #eee !important;
}

table.cal td.select50 {
    background: rgba(41, 171, 164, 0.5) !important;
    color: #eee !important;
}

table.cal td.select60 {
    background: rgba(41, 171, 164, 0.6) !important;
    color: #eee !important;
}

table.cal td.select70 {
    background: rgba(41, 171, 164, 0.7) !important;
    color: #eee !important;
}

table.cal td.select80 {
    background: rgba(41, 171, 164, 0.8) !important;
    color: #eee !important;
}

table.cal td.select90 {
    background: rgba(41, 171, 164, 0.9) !important;
    color: #eee !important;
}

table.cal td.select100 {
    background: rgba(41, 171, 164, 1) !important;
    color: #eee !important;
}

table.cal td.partly {
    color: #2b3747 !important;
    background: -moz-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, rgba(41, 171, 164, 0.3)), color-stop(50%, rgba(41, 171, 164, 0.3)), color-stop(51%, rgba(41, 171, 164, .7)), color-stop(100%, rgba(41, 171, 164, .7))) !important;
    background: -webkit-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: -o-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: -ms-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: linear-gradient(135deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#8029aba4', endColorstr='#29aba4', GradientType=1) !important;
}

span.keySelect {
    display: inline-block;
    width: 20px;
    line-height: 20px;
    text-align: center;
    background: #29aba4;
    color: #eee;
}

span.keyPartly {
    color: #2b3747;
    background: -moz-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, rgba(41, 171, 164, 0.3)), color-stop(50%, rgba(41, 171, 164, 0.3)), color-stop(51%, rgba(41, 171, 164, .7)), color-stop(100%, rgba(41, 171, 164, .7))) !important;
    background: -webkit-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: -o-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: -ms-linear-gradient(-45deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    background: linear-gradient(135deg, rgba(41, 171, 164, 0.3)0%, rgba(41, 171, 164, 0.3)50%, rgba(41, 171, 164, .7)51%, rgba(41, 171, 164, .7)100%) !important;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#8029aba4', endColorstr='#29aba4', GradientType=1) !important;
}

table.cal td.cw {
    color: rgba(98, 107, 120, 0.7);
}

table.cal td:first-child {
    border-left: none;
}

table.cal>tbody>tr:last-child>td {
    border-bottom: none;
}

table.cal tr.even>td {
    background: rgba(53, 68, 88, .1);
}

table.cal td.hoverable:hover,
table.cal tr.even>td.hoverable:hover {
    background: #eb7260 !important;
    color: #eee !important;
}

table.cal td.today,
table.cal tr.even>td.today {
    font-weight: bold;
    color: #eee;
    background: #354458;
}

table.infinite {
    max-width: none;
    margin: 0;
}

table.infinite th {
    padding: 2px;
}

table.infinite td {
    width: auto;
}

table.infinite th.highlight,
table.infinite td.highlight {
    background: rgba(53, 68, 88, .1);
}

table a {
    border-bottom: none !important;
}

table a:hover {
    border-bottom: 1px solid #29aba4 !important;
}