﻿@default-font-family: 'Segoe UI Semilight', 'Open Sans', Verdana, Arial, Helvetica, sans-serif;

.font-light() {
    font-family: @default-font-family;
    font-weight: 300;
}

.font-normal() {
    font-family: @default-font-family;
    font-weight: 400;
}

.font-semi-bold() {
    font-family: @default-font-family;
    font-weight: 600;
}

.font-bold() {
    font-family: @default-font-family;
    font-weight: 700;
}

.opacity(@value) {
    opacity: @value;
    @ieValue: @value * 100;
    filter: alpha(opacity=@ieValue);
}

body {
    .font-normal;
    color: #000000;
    font-size: 13px;
    background-color: #fff;
}

h1 {
    .font-normal;
    font-size: 25px;
    margin-top: 10px;
}

h2 {
    .font-light;
    font-size: 21px;
    line-height: 18px;
    margin-top: 10px;
}

h3 {
    .font-light;
    font-size: 16px;
}

h4 {
    .font-light;
    font-size: 14px;
}

a {
    color: #2e92cf;
    text-decoration: none;

    &:hover {
        color: #2daded;
        text-decoration: none;
    }
}

div.site-container {
    width: 760px;
    margin: auto;
}

div.ads-container {
    width: 130px;
    margin: auto;
    position: fixed;
    right: 5px;
    top: 5px;
}

div.main-header {
    padding: 10px;
    margin-bottom: 5px;
    background-color: #2d89ef;
    color: white;

    h1 {
        margin: 0px;

        .light {
            color: #fff;
            .opacity(0.6);
        }

        a {
            color: #fff;
        }
    }

    h2 {
        font-size: 16px;
        position: relative;
        top: 8px;
        margin-top: 0px;
    }

    a {
        color: #fff;
    }
}

div.top-navigation {
    color: #ccc;
    padding: 4px;
    margin-bottom: 5px;
    background-color: #eff4ff;

    a {
        padding: 0px 2px;
    }
}

div.content-container {
    padding: 0px;
    margin-bottom: 5px;
    background-color: #f5f5f5;

    div.padded-content-container {
        padding: 6px;
    }
}

div.main-footer {
    padding: 4px;
    margin-bottom: 5px;
    background-color: #2d89ef;
    color: #fff;
    text-align: center;

    a {
        color: #afe2ff;
    }
}

ul {
    list-style-type: none;
    margin: 2px 0px;
    padding: 0px 10px;

    > li {
        background: url('images/Home/bullet.png') no-repeat 0px 1px transparent;
        margin: 2px 0px;
        padding: 0px 0px 0px 22px;

        ul {
            list-style-type: none;
            margin: 0px;
            padding: 1px 0px;

            li {
                background: url('images/Home/bullet.png') no-repeat 0px 1px transparent;
                margin: 2px;
                padding: 0px 0px 0px 22px;
            }
        }
    }

    &#DemoList {
        .demo-new {
            .font-bold();
        }

        .demo-updated {
            .font-semi-bold;
        }
    }

    &#QuickLinks {
        list-style-type: none;
        margin: 0px;
        padding: 0px;
        margin-top: 12px;
        text-align: center;

        > li {
            background: none;
            display: inline-block;
            width: 31%;
            text-align: left;
            position: relative;
            margin: 2px;
            padding: 0px;

            &.seedemos {
                background-color: #e51400;

                img {
                    right: 10px;
                }
            }

            &.second {
                background-color: #e8ae00;

                img {
                    top: 8px;
                    right: 4px;
                }
            }

            &.third {
                background-color: #00a300;

                img {
                    right: 0px;
                }
            }

            a {
                color: #fff;

                h2 {
                    margin: 15px 10px;
                }
            }

            img {
                .opacity(0.5);
                position: absolute;
                top: 0px;
            }

            &:hover img {
                .opacity(1);
            }
        }
    }
}

.centered {
    text-align: center;
    vertical-align: middle;
}

/* DOCUMENTS */

.api-option-header {
    color: #fff;
    background-color: #6faef4;
    padding: 5px;
    margin-top: 10px;

    div {
        display: inline;
        padding-right: 20px;
    }

    .option-name {
        font-weight: bold;
    }
}

.expandable-header {
    color: #000066;
    cursor: pointer;
}

.expandable-content {
    display: none;
}

/* OTHERS */

.news-date {
    color: #0f0f87;
}

.tabsContainer .code-extra a {
    font-weight: bold;
    color: blue;
}


.aspnet-zero-promotion-bottom {
    border: 1px solid #049100;
    background-color: #DBFFE9;
    padding: 10px;
    min-height: 220px;
    margin-top: 9px;

    p.lead {
        margin-top: 8px;
        margin-bottom: 8px;
        font-size: 16px;
    }

    img {
        float: left;
        border: 2px solid green;
        margin: 0 5px 5px 0;
        /*-webkit-box-shadow: 1px 2px 4px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 1px 2px 4px 0px rgba(0,0,0,0.75);
        box-shadow: 1px 2px 4px 0px rgba(0,0,0,0.75);*/
    }
}
