#app {
    min-width: 1024px;
    overflow: hidden;
}

header {
    background-color: #0a5b95;
    text-align: center;
    line-height: 50px;

    a {
        font-size: 30px;
        font-family: 'Open-Sans-Extrabold';
        color: #eee;

        &:hover,
        &:focus {
            color: #fff;
        }
    }
}

nav {
    background-color: #efefef;
    border-top: 1px solid #d2d2d2;
    border-bottom: 1px solid #d2d2d2;
}

main {
    padding: 20px 0;
}

footer {
    border-top: 1px solid #d2d2d2;
    background-color: #eee;
    padding: 30px 0;
    text-align: center;

    p {
        color: #108d00;

        a {
            color: inherit;
        }

        margin-bottom: 7px;
    }

    cite {
        font-size: 12px;
        font-style: normal;
    }
}

#main,
#search,
#categories,
#recommend,
#goldBox {
    figure {
        a {
            display: block;

            img {
                zoom: 1;

                &:hover,
                &:focus {
                    border: 1px solid #ff9020;
                }
            }
        }

        figcaption {
            a {
                color: #333;
                font-size: 14px;

                &:hover,
                &:focus {
                    text-decoration: underline;
                }
            }
        }

        p {
            margin-top: 7px;
            margin-bottom: 5px;
            color: #cb1400;
            font-weight: bold;
            font-family: Tahoma;
        }
    }

    .ads {
        a {
            display: block;
            margin-bottom: 5px;

            img {
                width: 100%;
            }
        }
    }
}

#event {
    figure {
        a {
            display: block;

            img {
                zoom: 1;

                &:hover,
                &:focus {
                    border: 1px solid #ff9020;
                }
            }
        }
    }
}
