/*
 *=====================*
 * Resets              *
 *=====================*
 */
* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0; /* reseta a margin padrão do navegador*/
    padding: 0;
}
body {
    min-height: 100vh;
    max-width: 60rem;
    margin: auto;
    padding: 0;
    font-family: "Lato", Verdana, sans-serif;
    font-size: 100%;
}
/*
 *=====================*
 * Layout (floats)     *
 *=====================*
 */
.top-header {
    height: 100px;
    width: 100%;
    padding: 1rem;
    background-color: #E4E6E5;
}
.top-header-logo {
    float: left;
    max-height: 120px;
    width: auto;
}
.top-header-user {
    float: right;
}
article {
    float: left;
    width: 67%;
    clear: both;
}
.header-title {
    display: inline-block;
    width: 100%;
    text-align: left;
}
.header-toolbar {
    display: inline-block;
    width: 50%;
    text-align: right;
}
.activity::after {
    content: "";
    display: block;
    clear: both;
}
.activity-item {
    float: left;
    width: 25%;
}
.control-wrapper div:first-child {
    margin-right: 1rem;
}
.control-wrapper div {
    display: inline-block;
}
aside {
    float: left;
    margin-top: 2rem;
    width: 30%;
}
footer {
    clear: both;
    height: 50px;
    width: 100%;
}
.hidden {
    display: none;
}
/*
 *=====================*
 * Layout (flexbox)     *
 *=====================*
 */
@supports ((display: -webkit-box) or (display: flex)) {
    body {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      -webkit-box-pack: start;
          -ms-flex-pack: start;
              justify-content: flex-start;
}
    .top-header {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
}
    .top-header-logo {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      text-align: left;
}
    .top-header-user {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      text-align: right;
}
    main {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
    article {
      -webkit-box-flex: 4;
          -ms-flex: 4 1 300px;
              flex: 4 1 300px;
      padding: 1rem;
      width: auto;
}
    header {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
}
    .header-toolbar {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
}
    /*.nostradamus-intro div {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
        flex-direction: column;
}*/
    .activity-log-toolbar {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}
    .activity-log {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
}
    .activity {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
}
    .activity-item {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      width: auto;
}
    .form-wrapper {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
          -ms-flex-direction: column;
              flex-direction: column;
      -ms-flex-pack: distribute;
          justify-content: space-around;
      -webkit-box-align: start;
          -ms-flex-align: start;
              align-items: flex-start;
      width: 100%;
}
    .form-row {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
      -ms-flex-pack: distribute;
          justify-content: space-around;
      width: 100%;
}
    .form-row:last-child {
      -webkit-box-pack: start;
          -ms-flex-pack: start;
              justify-content: flex-start;
}
    aside {
      -webkit-box-flex: 1;
          -ms-flex: 1 1 150px;
              flex: 1 1 150px;
      width: auto;
}
}
/*
 *=====================*
 * Page Elements       *
 *=====================*
 */
a {
    color: #3f8d50;
}
a:hover {
    color: #102314;
}
aside {
    padding: 1rem;
    background-color: #d8d8d8;
}
aside h2 {
    margin-top: 0;
}
aside h3 {
    margin-bottom: 0;
}
aside section {
    margin-bottom: 1rem;
}
footer {
    padding: 1rem;
    border-top: 1px solid black;
}
/*
 *=====================*
 * Activity Log        *
 *=====================*
 */
.filter-activity {
    max-width: 9rem;
    padding: .25rem;
}
.activity-log-toolbar {
    margin-bottom: .5rem;
}
.activity-log-toolbar label {
    margin: 0 .5rem;
}
.activity-log-toolbar label:first-child {
    margin-left: 0;
}
.activity-log-header {
    font-weight: bold;
}
.activity {
    padding: .25rem 0;
}
.activity-log-header,
.activity:nth-child(odd) {
    background-color: #d8d8d8;
}
.activity-item:last-child {
    max-width: 4rem;
    padding: 0 1rem;
}
.activity-item img {
    margin-right: .5rem;
    vertical-align: middle;
}
.activity-item a,
.activity-item a:visited {
    font-weight: bold;
    text-decoration: none;
}
/*
 *=====================*
 * General Form Styles *
 *=====================*
 */
.form-wrapper {
    margin-bottom: 1rem;
}
.form-row {
    margin-bottom: .5rem;
}
.form-row:last-child {
    margin: .5rem 0 0 0;
}
.form-row:last-child button {
    margin-right: 1rem;
}
.control-wrapper {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
}
.form-control {
    height: 2rem;
    width: 15rem;
    margin-bottom: 1rem;
}
.form-control[name='password'] {
    margin-bottom: 0;
}
.btn, .btn-sair,
.ui-dialog-buttonset button,
.ui-dialog-buttonset button:focus {
    padding: .5rem 1rem;
	background-color: hsl(238, 2%, 37%); 
	background-image: linear-gradient(to bottom, hsl(238, 2%, 57%) 0%, hsl(238, 2%, 37%) 100%); 
	border-color: hsl(0, 0%, 0%); 
	border-radius: 0px; 
	border-style: solid; 
	border-width: 1px; 
	color: hsl(0, 0%, 100%); 
	font-family: Arial, sans-serif; 
	font-style: normal; 
	font-variant: normal; 
	font-weight: bold; 
	letter-spacing: 0px;
    cursor: pointer;
    align-self: center;
    justify-self: center;
    font-size: 16px;
}
.btn:hover {
    background-color: hsl(238, 2%, 67%);
    background-image: linear-gradient(to bottom, hsl(238, 2%, 67%) 0%, hsl(238, 2%, 47%) 100%);
    cursor: pointer;
    font-size: 16px;
}
.btn-plain {
    padding: .5rem 1rem;
	background-color: hsl(0, 0%, 88%); 
	background-image: linear-gradient(to bottom, hsl(0, 0%, 108%) 0%, hsl(0, 0%, 88%) 100%); 
	border-color: hsl(0, 0%, 0%); 
	border-radius: 0px; 
	border-style: solid; 
	border-width: 0px; 
	color: hsl(238, 2%, 37%); 
	font-family: Arial, sans-serif; 
	font-style: normal; 
	font-variant: normal; 
	font-weight: bold; 
	letter-spacing: 0px; 
    cursor: pointer;
    font-size: 16px;
}
.btn-plain:hover {
    background-color: hsl(0, 0%, 118%);
    background-image: linear-gradient(to bottom, hsl(0, 0%, 118%) 0%, hsl(0, 0%, 98%) 100%);
    cursor: pointer;
    }
.btn-form {
    margin-top: 1rem;
}
label {
    display: block;
    margin-bottom: .5rem;
}
.label-horizontal {
    display: inline;
    margin-right: .5rem;
}
input[type='checkbox'] {
    margin-left: 0;
}
.data-edit-button,
.data-save-button,
.data-cancel-button {
    cursor: pointer;
}
.data-delete-button,
.ui-dialog-buttonset button:last-child {
    border-color: #632c2c;
    background-color: #810e0e;
    color: #f8f8f8;
}
.error {
    display: none;
    color: red;
}
.error-message {
    margin-left: .75rem;
    width: 50%;
    word-wrap: break-word;
    vertical-align: top;
}
.form-error-message {
    margin-left: 0;
}
.form-message {
    display: none;
    margin-left: 0;
    color: #3f8d50;
}
.header-title {
    font-variant: small-caps;
    padding-bottom: 15px;
}
.result-message {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: #3f8d50;
}
select {
    margin-right: 1rem;
    height: 1.5rem;
    width: 7rem;
    overflow-y: hidden;
}
.form-wrapper input[type='date'] {
    width: 11em;
}
.form-wrapper input[name='activity-distance'] {
    height: 1.5rem;
    width: 4em;
}
.form-wrapper input[name^='activity-duration'] {
    height: 1.5rem;
    width: 3em;
}
/*
 *==============*
 * Modal Dialog *
 *==============*
 */
.ui-dialog .ui-dialog-titlebar {
    background-color: #d8d8d8;
}
.ui-dialog .ui-dialog-title {
    color: black;
}
.ui-widget {
    font-family: "Lato", Verdana, sans-serif;
}
.ui-widget .ui-widget {
    font-size: .8rem;
}
.dialog-control {
    height: 2rem;
    max-width: 15rem;
    margin-bottom: 1rem;
}
.dialog-error {
    display: none;
    margin-top: 1rem;
    color: red;
    font-size: .75rem;
}
/*
 *==================*
 * Responsive Stuff *
 *==================*
 */
img {
    max-width: 110%;
    height: auto;
}
.img-btn {
    width: 20px;
    height: auto
}
.header-h1 {
    display: flex;
    flex-direction: row;
    max-height: 6rem;
    width: 100%;
    justify-content: space-between;
}
.top-title {
    float: right;
    vertical-align: middle;
}
.img-photo {
    padding-left: 2rem;
    float: left;
    height: 100%;
    width: auto;
    max-height: 6rem;
}
.odd {
    padding: 1rem;
}
.even {
    padding: 1rem;
    background-color: #E4E6E5;
}
.results-title {
    font-size: 2rem;
}
.share {
    border-color: hsl(0, 0%, 0%); 
	border-radius: 5px; 
	border-style: solid; 
	border-width: 2px; 
    background-color: #9fd8ab;
    padding: 0.5rem;
    margin: 1rem;
    font-size: 1.5rem;
    text-align: center;
}
.share-btns2 {
    display: flex;
    justify-content: space-around;
}
.share-link {
    font-size: small
}
.shared-img {
    max-height: 12rem;
}
.shared-title {
    text-align: center;
}
a { text-decoration: none; }
a:visited { text-decoration: none; }
a:active { text-decoration: none; }
.btn-icon {
    width: 50px;
    margin-bottom: 2rem;
}
.img-icon {
    width: 100%;
    height: auto;
}
select {
    width: 12rem;
}

@media (max-width: 1000px) and (orientation: portrait) {
    .btn-sair {
        width: 110px;
    }
    .header-title {
      font-size: .9rem;
    }
    select, input, .even, form label, .odd {
        font-size: 1.2rem;
    }
    .activity-log-toolbar label:last-of-type,
    .activity-log-toolbar select {
      margin: .5rem .5rem 0 0;
    }
    .filter-activity {
      padding: .25rem 0;
    }
    .activity {
      font-size: .9rem;
    }
    .activity-item img {
      display: none;
    }
    .activity-item:nth-child(2) {
      margin-left: -2rem;
      width: 125%;
    }
    .activity-item:nth-child(3) {
      margin-left: .5rem;
    }
    label {
      font-size: .9rem;
    }
}

.account {
    padding: 1rem;
}

.pp-tdu {
    text-indent: 3rem;
}
.pp-tdu p {
    margin-bottom: 1rem;
}

.ul li {
    text-indent: 1rem;
    margin-bottom: 0.7rem;
}
.ul {
    margin-left: 4rem;
}
aside p {
    margin-bottom: 0.8rem;
    line-height: 1.5rem;
}
.bk {
    cursor: pointer;
    margin-left: 3rem;
}
.altre-reg {
    display: flex;
    flex-direction: column;
    margin-top: 10rem;
    margin-bottom: 2rem;
    text-align: center;
    background-color: hsl(244, 51%, 89%); 
	border-color: hsl(0, 0%, 0%); 
	border-radius: 5px; 
	border-style: solid; 
	border-width: 2px; 
	color: hsl(0, 0%, 16%); 
	font-family: Georgia, serif; 
	font-size: 1rem; 
	font-style: normal; 
	font-variant: normal; 
	font-weight: normal; 
	letter-spacing: 0px; 
	padding-bottom: 10px; 
	padding-left: 20px; 
	padding-right: 18px; 
	padding-top: 9px; 
}
.altre-reg img {
    margin: 1.5rem 5rem 0.75rem 5rem;
    border-radius: 80%;
    width: 5rem;
}
@media (orientation: portrait) {
    .altre-reg {
        display: flex;
        flex-direction: column;
        margin-top: 5rem;
        margin-bottom: 2rem;
        text-align: center;
        background-color: hsl(244, 51%, 89%); 
        border-color: hsl(0, 0%, 0%); 
        border-radius: 5px; 
        border-style: solid; 
        border-width: 2px; 
        color: hsl(0, 0%, 16%); 
        font-family: Georgia, serif; 
        font-size: 1rem; 
        font-style: normal; 
        font-variant: normal; 
        font-weight: normal; 
        letter-spacing: 0px; 
        padding-bottom: 10px; 
        padding-left: 20px; 
        padding-right: 18px; 
        padding-top: 9px; 
    }
    .altre-reg img {
        margin: 1.2rem 2rem 0.6rem 2rem;
        border-radius: 80%;
        width: 4rem;
    }
}
.CR-div {
    text-align: center;
    background-color: rgb(181, 255, 181);
    border-style: solid;
    border-color: rgb(0, 49, 0);
    border-radius: 25%;
    height: 25vh;
    margin: 3rem 1rem 1rem 1rem;
    padding: 1rem;
    width: 70%;
    font-size: 1.5rem;
}
.CR-load {
    font-family: "Doto", serif;
    color: white;
    text-align: center;
    background-color: rgb(0, 0, 0);
    border-style: none;
    border-radius: 25%;
    height: auto;
    margin: 2.5rem;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 2.5rem;
    box-shadow: 5px 10px #222222;
    font-weight: bold;
}
@media (orientation: portrait) {
    .CR-div {
        text-align: center;
        background-color: rgb(181, 255, 181);
        border-style: solid;
        border-color: rgb(0, 49, 0);
        border-radius: 25%;
        height: 30vh;
        margin: 3rem 1rem 1rem 1rem;
        padding: 1rem;
        width: 70%;
        font-size: 1.5rem;
    }
    .CR-load {
        font-family: "Doto", serif;
        color: white;
        text-align: center;
        background-color: rgb(0, 0, 0);
        border-style: none;
        border-radius: 25%;
        height: auto;
        margin: 2.5rem;
        margin-top: 1rem;
        padding: 1rem;
        font-size: 1.5rem;
        box-shadow: 5px 10px #222222;
        font-weight: bold;
    }
}
#enter-page-button{
    opacity: 0;
    cursor: default;
}