/** Defaults */
    * {
        margin: 0;
        padding: 0;
    }
    body {
        font: 62.5%/1.4 "Trebuchet MS", sans-serif;
    }
    a {
        color: #009ee0;
        text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
    }
    a img {
        border: none;
    }
/* Defaults **/

/** b-popup */
    .b-popup {
        line-height: 1.4;
        position: relative;
    }
    .b-popup .x-link {
        position: absolute;
        top: 0;
        right: 0;
        width: 24px;
        height: 24px;
        margin: 7px 7px 0 0;
        overflow: hidden;
        text-indent: -9999px;
        background: url(/images/x.png) no-repeat;
        cursor: pointer;
    }
    .b-popup .top h3 {
        margin: 0 0 5px;
        color: #333;
        font-size: 1.8em;
        font-weight: normal;
    }
    .b-popup .top p {
        color: #555;
        font-size: 1.2em;
    }
    .b-popup .top {
        height: 100px;
    }
    .b-popup .top_i {
        padding: 35px 0 0 50px;
    }
    .b-popup .mid_i {
        padding: 20px 40px 0 50px;
    }
    .b-popup .bot {
        height: 41px;
    }
    /** Popup form */
        .b-popup_form {
            width: 501px;
        }
        .b-popup_form .top {
            background: transparent url(/images/bg_popup-form-top.png) no-repeat;
        }
        .b-popup_form .mid {
            background: transparent url(/images/bg_popup-form-mid.png) repeat-y;
        }
        .b-popup_form .bot {
            background: transparent url(/images/bg_popup-form-bot.png) no-repeat;
        }
        .b-popup_form textarea {
            resize: none;
        }
    /* /Popup form **/
    /** Popup tabs */
        .b-popup_tabs .top {
            height: 120px;
            background: transparent url(/images/bg_popup-tabs-top.png) no-repeat;
        }
        .b-popup_tabs .mid {
            background: transparent url(/images/bg_popup-tabs-mid.png) repeat-y;
        }
        .b-popup_tabs .mid_i {
            padding-top: 0;
        }
        .b-popup_tabs .bot {
            background: transparent url(/images/bg_popup-tabs-bot.png) no-repeat;
        }
        .b-popup_tabs p {
            font-size: 1.4em;
            padding: 0 0 1em;
            color: #333;
        }
    /* /Popup tabs **/
/* b-popup **/

#gallery .arrows {
    text-align: center;
    padding: 20px 0;
}
.btn-link {
    width: 110px;
    height: 20px;
    text-indent: -9999px;
    display: inline-block;
    overflow: hidden;
}
.btn-link:hover { background-position: 0 -20px; }
.btn-link:active { background-position: 0 -40px; }
.arr-left {
    background: url(/images/arr_left.png) no-repeat;
    margin-right: 10px;
}
.arr-right {
    background: url(/images/arr_right.png) no-repeat;
}
/* Tabs and gallery */
ul.tabs {
    position: absolute;
    width: 600px;
    height: 20px;
    margin: -30px 0 0;
    padding: 0;
}
ul.tabs li {
    list-style-type: none;
    display: inline;
    font-size: 1.4em;
}
ul.tabs li a {
    float: left;
    height: 28px;
    margin: 0 3px 0 0;
    line-height: 28px;
    border: 1px solid #f2f2f2;
    border-bottom: 0;
    background: #f2f2f2;
    padding: 0 10px;
}

ul.tabs li a.carousel-selected {
    color: #000;
    background: #FFF;
    border: 1px solid #B1B1B1;
    border-bottom-color: #FFF;
}

div.tabs {
    height: 400px;
    overflow: hidden;
}

div.middle-tabs {
    width: 640px;
    /*overflow: auto;*/
    overflow: hidden;
}

div.inner-tabs {
    width: 10000px;
}

div.tab {
    float: left;
    width: 640px;
    margin-right: 20px;
    height: 400px;
    padding: 20px 0 0;
    /*-moz-user-select: -moz-none;*/
}
#tab-3 {
    text-align: center;
}

.disabled {
    border: 1px solid #000;
}

/* Gallery */
#gallery {
    height: 300px;
}

.g-disabled,
.g-disabled:hover,
.g-disabled:active {
    background-position: 0 -40px;
    cursor: default;
}

#gallery .middle {
    margin: 0 auto;
    width: 410px;
    height: 310px;
    overflow: hidden;
}

#gallery .inner p {
    float: left;
    text-align: center;
    width: 410px;
}

#gallery a { }


#gallery a:hover {
    color: #000;
}
#tab-2 ul li {
    display: block;
    padding-bottom: 5px;
}



