/*
 * Sign-in / password reset pages, user account and comparison.
 * The original styles (main.css) expect elements that were clickable through scripts
 * (<span ng-click>, <a href="#">); here they are real links, forms and buttons, so the
 * same looks are given to those.
 */

/* Buttons that look like links (forms that change something are POST forms). */
#account button.linklike,
#comparsion button.linklike { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; }
#account .inline-form { display: inline; margin: 0; }

/* Messages inside the pages */
.account-notice { background: #fcf8e3; border: 1px solid #f1e3b0; color: #6d5621; padding: 10px 15px; border-radius: 4px; margin: 0 0 20px; }
.account-notice.success { background: #d1e8d7; border-color: #b5d6be; color: #2d5a3a; }
.account-empty { color: #666; padding: 20px 0; }

/* Sign-in page, password reset, e-mail verification: one-column box */
.account-auth { min-height: 420px; }
.account-auth > .form-errors { max-width: 750px; margin: 20px auto -20px; }
.loginvyskakovaci.account-single { max-width: 520px; }
.loginvyskakovaci.account-single .content { width: 100%; float: none; padding: 40px; }
.loginvyskakovaci.account-single .subtext { margin-bottom: 25px; }
.loginvyskakovaci.account-single button { margin-top: 5px; }
.loginvyskakovaci.account-single .btn-orange { margin-top: 10px; }
.loginvyskakovaci.account-single .account-back { margin-top: 25px; }
.loginvyskakovaci.account-single .account-notice,
.loginvyskakovaci.account-single .form-errors { font-size: 14px; }

/* Account: menu and tabs are links */
.userAccount .orangeMegaForm ul > li > a { color: inherit; text-decoration: none; display: block; }
.userAccount .orangeMegaForm ul > li:hover > a { text-decoration: underline; }
.userAccount .orangeMegaForm ul > li.selected > a { font-weight: 700; }
.tabsnavua > ul > li { padding: 0; border-bottom: 0; }
.tabsnavua[hidden] { display: none; }
#resultsCol.userAccount h1.uniTitleAccounth1 { margin-bottom: 25px; }
#resultsCol.userAccount .tabua > .form-errors { clear: both; }
.uafrm label.twolines { line-height: 16px; }
.uafrm textarea { resize: vertical; }
.account-remove-all { margin: 0 0 15px; }

/* Account: warehouse cards (the look of "#resultsCol .twoCols a.col") */
#resultsCol .twoCols .col.account-card { width: 48.5%; margin-right: 3%; border: 0.5px solid #ededed; display: block; text-decoration: none; color: inherit; }
#resultsCol .twoCols .col.account-card:nth-child(2n) { margin-right: 0; }
#resultsCol .twoCols .col.account-card:hover { background: #edf7f8; }
#resultsCol .twoCols .col.account-card .img > a { display: block; }
#resultsCol .twoCols .col.account-card .img img { display: block; width: 100%; height: 240px; min-height: 0; object-fit: cover; }
#resultsCol .twoCols .col.account-card a.bottominfo { display: block; text-decoration: none; color: inherit; }
#resultsCol .twoCols .col.account-card:not([href]) { cursor: default; }
.tagsB > button { display: block; float: right; color: #fff; border: 0; border-radius: 5px; padding: 3px 7px; font-size: 12px; line-height: inherit; margin: 0 0 5px; cursor: pointer; }
.tagsB > button.favorite { background: #fda710; }
.tagsB > button.favorite:after { content: '\f08a'; font-family: 'FontAwesome'; }
.tagsB > button.delete { background: #cc1212; }
.tagsB > button.delete:after { content: '\f00d'; font-family: 'FontAwesome'; }
.tagsB > button:hover, .tagsB > button:focus { background: #86b817; }

/* Comparison */
#comparsion h1 a.generate { color: inherit; }
#comparsion h1 button.generateshare { font-weight: inherit; }
#comparisonShare { display: none; }
#comparsion > .account-empty { clear: both; padding: 30px 0 80px; }
#comparsion .permabox .blue form { margin: 0; }
#comparsion .permabox button.delete { border-top: 0; border-left: 0; border-right: 0; cursor: pointer; font-family: inherit; text-align: left; }
#comparsion .items .item .img form { margin: 0; }
#comparsion .items .item .img button.delete { border: 0; padding: 0; cursor: pointer; }
#comparsion .items .item .bottominfo .text .title a { color: inherit; text-decoration: none; }
#comparsion .items .item .bottominfo .text .title a:hover { text-decoration: underline; }
#comparsion .items .item .bottominfo .text .price .account-id { color: #000; }
#comparsion .items .item .bottominfo .text .price a { color: inherit; }
#comparsion .sharewindow input { max-width: 100%; }

@media screen and (max-width: 800px) {
    #resultsCol .twoCols .col.account-card:nth-child(n) { float: none; margin-left: auto; margin-right: auto; max-width: 420px; width: 100%; }
    .loginvyskakovaci.account-single .content { padding: 25px; }
    #comparsion .sharewindow { display: block; margin-top: 10px; }
    #comparsion .sharewindow input { margin-left: 0; width: 100%; }
}
