﻿body {
    height: 100%;
    background-color: #eee;
}

td {
    padding:5px 0;
}

td.caption {
    padding-right:30px;
    color:#888;
}

td.space {
    width:5%;
}

.wrapper {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -4em;
}

.header
{
    z-index:10;
    background: linear-gradient(to top, #78b, #abe);
}

    .header a {
        color:#fff;
    }

.logo
{
    display:block;
    padding:10px 0;
    font-weight:bold;
    font-size:1.5em;
    color:#fff;
    text-decoration:none;
}
.logo:hover {
    color:#fff;
    text-decoration:none;
}

.footer {
    padding-bottom:10px;
    height: 4em;
    background: #78b;
}

    .footer a {
        color:#fff;
    }

.clearfix:after {
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

.abzac
{
    margin:1rem 0 0.8rem;
    text-indent: 3rem;
    text-align:justify;
}

.advPhoto
{
    position:relative;
    float:left;
    width:250px;
    height:200px;
    overflow:hidden;
    margin:0 5px 6px 5px;
}

.removePhoto
{
    width:11px;
    height:11px;
    cursor:pointer;
    position:absolute;
    top:0px;
    right:0px;
    background:url('images/removePhoto.png');
    z-index:1000;
}


/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/*#region CityChange */

#city_change {
    margin:9px 0;
    padding: 5px 15px;
    text-align: center;
    color: #667;
    background: #eef;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
    #city_change > a {
        color:#78b;
    }
#city_change_window
{
    display:none;
    position:absolute;
    right:0px;
    top:2.5em;
    padding:10px;
    width:320px;
    z-index:100;
    background:#9ad;
    border:1px solid #abe;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-column-count:2;  
    -moz-column-count:2;  
    column-count:3;  
}

#city_change_window a:hover{
    background:#bcf;
}

.city_change_item
{
    display:block;
    width:100px;
    font-size:12px;
    color:#eee;
}

#city_change_window>.city_active
{
    color:#ff0;
}

/*#endregion */


/*#region Item */

.ci-container{
    text-align: justify;
}

.ci-container:after {
    content: '';
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.ci
{
    position: relative;
    display: inline-block;
    *display: inline;
    vertical-align: top;
    zoom: 1;
    width: 100%;
    margin-bottom:15px;
    padding-bottom:5px;
    border:1px solid #78b;
    border-radius: 5px;
    text-align:left;
}

.ci-content
{
    position:relative;
    margin:10px 10px 0;    
}

.ci-caption
{
    padding:8px 8px 0 8px;
    background:#89c;
    border-top-right-radius: 3px 3px 0 0;
    font-weight:bold; 
}

.ci-caption a
{
    text-decoration:none;
    color:#fff;
}
.ci-caption a:hover
{
    color:#ccf;
}

.ci-bank
{
    float:right;
    padding:5px;
    width:25%;
    background:#fff;
    text-align:center;
    border-radius:5px 5px 0 0;
}
.ci-bank a
{
    color:#777;
}

.ci-img
{
    float:right;
    margin-right:2%;
    width:21%;
}
.ci-img img
{
    width:100%;
}

.ci-params {
    margin:1em 0 1em 5%;
}

.ci-params tr {
    vertical-align:top;
    border-bottom:1px solid #ddd;
}

.ci-updated{
    margin-right:10px;
    text-align:right;
}
.ci-updated span{
    display:inline-block;
    padding:2px;
    color:#777;
    font-size:0.8em;
}

/*#endregion */


/*#region ItemView */

.itemview-left {
    float:left;
    margin-right:5%;
    width:30%;
}

.itemview-pic img {
    width:100%;
}

.itemview-bank {
    margin-bottom:10px;
}

.itemview-bank > span {
    font-weight:bold;
}

.itemview-desc {
    float:left;
    width:65%;
}

.itemview-text {
    margin-bottom:15px;
}

.itemview-tag{
    display:inline-block;
    background:#eee;
    margin:4px 4px 0 0;
    padding:4px 8px;
    border-radius: 4px;
    color:#444;
}

.itemview-params {
    margin:1em 0;
}

.itemview-params tr {
    vertical-align:top;
    border-bottom:1px solid #ddd;
}

.itemview-params-caption {
    width:20%;
    font-weight:bold;
}

/*#endregion */


/*#region PagePreview */

.page-preview-container {
    padding-top:15px;
}

.page-preview {
    margin-bottom:15px;
    padding-bottom:15px;
    box-shadow:0px 4px 2px -2px rgba(0,0,0,0.2);
}

.page-preview-date {
    float:right;
    padding:4px;
    border-radius:3px;
    font-size:0.8em;
    background:#def;
    color:#555;
}

.page-preview-name {
    display:block;
    margin-bottom:10px;
    font-size:1.3em;
}

.page-preview-pic img {
    float:left;
    margin-right:1%;
    width:25%;
}

.page-preview-more {
    text-align:right;
}

.page-preview-more a {
    display:inline-block;
    padding:5px;
    border-radius:5px;
    background:#9ae;
    font-size:0.8em;
    color:#fff;
}

    .page-preview-more a:hover {
        background:#cdf;
    }

/*#endregion */


/*#region Page */

.page-name {
    margin-left:3rem;
}

.page-date {
    float:right;
    margin-top:15px;
    padding:4px;
    border-radius:3px;
    font-size:0.8em;
    background:#def;
    color:#555;
}

.page-pic img {
    float:left;
    margin-right:1%;
    width:25%;
}

/*#endregion */


/*#region Bank */

.bank-container{
    text-align: justify;
    padding-top:15px;
}

.bank-container:after {
    content: '';
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.bank
{
    position: relative;
    display: inline-block;
    *display: inline;
    vertical-align: top;
    zoom: 1;
    width: 23%;
    margin-bottom:15px;
    padding-bottom:5px;
    padding:10px;
    border-radius:5px;
    text-align:left;
    background:#f5f5ff;
}

@media (max-width:750px) {
    .bank {
        width: 30%;
    }
}

@media (max-width:550px) {
    .bank {
        width: 46%;
    }
}

@media (max-width:400px) {
    .bank {
        width: 98%;
    }
}

.bank-links {
    margin-top:10px;
}

.bank-links a {
    display:block;
}

/*#endregion */


/*#region BankView */

.bankview-name {
    margin-left:3rem;
}

.bankview-pic img {
    float:left;
    margin-right:1%;
    width:25%;
}

.bankview-desc > table {
    margin:0 auto;
    min-width:60%;
}

.bankview-desc > table tr {
    border-bottom:1px solid #ddd;
}

.bankview-table-info {
    margin:15px auto 0;
    width:50%;
}

/*#endregion */

a.disabled {
    pointer-events:none;
    color:grey
}

.main, .right
{
    margin-bottom:20px;
    padding:1px 20px 10px;
    background:#fff;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}

.right img {
    max-width:100%;
}

.block_info
{
    width:300px;
    float:right;
    padding:4px;
    border:1px solid #99a;
    margin:0 0 5px 20px;
}
.block_info_title
{
    margin-bottom:5px;
    padding:4px;
    font-weight:bold;
    background:#eee;
    border:1px solid #bbc;
}

#creditSelectionForm {
    display:none;
}

#accordion {
    text-align:justify;
}

    #accordion table {
        margin-top:15px;
    }


.text-block {
    display:inline-block;
    vertical-align:top;
    margin: 1%;
    padding: 10px;
    width: 47%;
    box-shadow:3px 3px 8px #999;
}

@media (max-width:800px) {
    .text-block {
        width: 97%;
    }
}

.color1 {
    background: linear-gradient(to bottom, #fef 0%,#faf 100%);
}

.color2 {
    background: linear-gradient(to bottom, #efe 0%,#afa 100%);
}

.color3 {
    background: linear-gradient(to bottom, #eef 0%,#aaf 100%);
}

.color4 {
    background: linear-gradient(to bottom, #fee 0%,#faa 100%);
}

.color5 {
    background: linear-gradient(to bottom, #ffe 0%,#ffa 100%);
}

.color6 {
    background: linear-gradient(to bottom, #eff 0%,#aff 100%);
}

.color7 {
    background: linear-gradient(to bottom, #eee 0%,#aaa 100%);
}

.color8 {
    background: linear-gradient(to bottom, #fcb 0%,#fc8 100%);
}
