/***************************************/
/*** global ***/
/***************************************/
body {
    background-image:  url("../images/bg_main.png");
    color: #575757;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    margin: 0;
}

a {
    color: #bb1566;
    text-decoration: none;
    padding: 1px;
}

a:visited {
    color: #bb1566;
    text-decoration: none;
    padding: 1px;
}

a:hover {
    background: #bb1566;
    color: #ffffff;
    text-decoration: none;
    padding: 1px;
}

img {
    border-style: none;
}

ul, li {
    list-style-type: none;
    list-style-image: none;
    margin: 0px;
}

li {
    list-style-image:  url("../images/bullet.png");
    margin: 10px 0 0 0;
}

acronym {
    border-bottom: 1px dashed #cccccc;
    padding: 1px;
}

p {
    margin: 0px 0 20px 0;
}

h2 {
    font-size: 13px;
    font-weight: normal;
    margin: 0px 0 20px 0; 
}

/***************************************/
/*** header ***/
/***************************************/
#pre_header_stripe {
    background-color: #333333;
    height: 4px;
    width: 100%;
}

#header {
    background: url("../images/bg_header.png") repeat;
    height: 110px;
    margin: 0;
}

#header_content {
    margin: 0 auto;
    position: relative;
    width: 960px;   
}

#logo {
    background: url("../images/logo_tengi_design.png") no-repeat;
    background-position: 0 -119px;
    display: block;
    float: left;
    height: 69px;
    margin-top: 20px;
    width: 302px;
}

#logo:hover {
    background: url("../images/logo_tengi_design.png") no-repeat;
    background-position: 0 0;
    display: block;
    float: left;
    height: 69px;
    margin-top: 20px;
    width: 302px;
}

/***************************************/
/*** contact button ***/
/***************************************/

a#contact_button {
    background: url("../images/contact_button_sprite.png") no-repeat;
    background-position: 0 0;
    height: 26px;
    position: absolute;
    right: 10px;
    top: 110px;
    width: 189px;
}

a#contact_button:hover {
    background: url("../images/contact_button_sprite.png") no-repeat;
    background-position: 0 -76px;
    height: 26px;
    position: absolute;
    right: 10px;
    top: 110px;
    width: 189px;
}

#contact_button span {
    color: #ffffff;
    font-weight: bold;
    font-size: 0.9em;
    padding: 3px 3px 3px 18px;
}

/***************************************/
/*** content ***/
/***************************************/

#container {
    margin: 40px auto 40px auto;
    overflow: auto;
    width: 960px;
}

.upper {
    font-size: 1.2em;
    font-variant: small-caps;
    padding: 0 2px 2px 2px;
}

.bold {
    font-weight: bold;
}

.small {
    font-size: 0.9em;
}

.light_text {
    color: #999999;
}

.title {
    color: #666666;
    clear: both;
    font-size: 22px; 
    font-weight: bold;
    margin: 0 0 20px 0;
}

.quote {
    font-style: italic;
}

.author {
    margin: -15px 0 0 0;  
}

.link {
    float: right;
}

.arrow {
    float: right;
    margin: 6px 0 0 5px;
}

.divider_h {
    float: left;
    margin: 20px 0;
    width: 580px;
}
.divider_left {
    background: url("../images/divider_left.png") no-repeat;
    float: left;
    width: 128px;
    height: 2px;
}
.divider_middle {
    background: url("../images/divider_middle.png") repeat-x;
    float: left;
    height: 2px;
    width: 320px;
}
.divider_right {
    background: url("../images/divider_right.png") no-repeat;
    float: left;
    width: 128px;
    height: 2px;
}

.stripe {
    background-color: #dddddd;
    height: 1px;
    width: 100%;
}

/***************************************/
/*** left col ***/
/***************************************/

.left_col {
    color: #666666;
    float: left;
    width: 580px;
}

.left_col .inner_title {
    clear: both;
    font-size: 16px; 
    font-weight: bold;
    margin: 20px 0 5px 0;
}
/***************************************/
/*** right col ***/
/***************************************/

.right_col {
    float: right;
    Width: 340px;
}

.right_col .inner_title {
    color: #777777;
    clear: both;
    font-size: 13px; 
    font-weight: bold;
    margin: 20px 0 5px 0;
}

/***************************************/
/*** menu ***/
/***************************************/
#menu {
    float: right;
    margin-top: 30px;
    width: 560px
}

#onas{
    background: url("../images/onas_sprite.png") no-repeat top left;
    background-position: 10px -66px; 
    display: block;
    float: left;
    height: 60px;
    margin: 0 10px 0 0px;
    padding: 10px;
    text-indent: -99999px;
    width: 93px; 
}

#onas:hover {
    background: url("../images/onas_sprite.png") no-repeat top left;
    background-position: 10px 10px; 
    display: block;
    float: left;
    height: 60px;
    margin: 1px 10px 0 0px;
    padding: 10px;
    text-indent: -99999px;
    width: 93px; 
}

#onas_active {
    background: #ffffff url("../images/onas_sprite.png") no-repeat; 
    background-position: 10px 10px; 
    border: 1px solid #dddddd;
    display: block;
    float: left;
    height: 26px;
    margin: 0 10px 0 0px;
    padding: 10px;
    text-indent: -99999px;
    width: 93px; 
}

#oferta {
    background: url("../images/oferta_sprite.png") no-repeat top left;
    background-position: 10px -66px; 
    display: block;
    float: left;
    height: 60px;
    margin: 0 10px 0 35px;
    padding: 10px;
    text-indent: -99999px;
    width: 127px; 
}

#oferta:hover {
    background: url("../images/oferta_sprite.png") no-repeat top left;
    background-position: 10px 10px; 
    display: block;
    float:left;
    height: 60px;
    margin: 1px 10px 0 35px;
    padding: 10px;
    text-indent: -99999px;
    width: 127px; 
}

#oferta_active {
    background: #ffffff url("../images/oferta_sprite.png") no-repeat; 
    background-position: 10px 10px; 
    border: 1px solid #eeeeee;
    display: block;
    float: left;
    height: 26px;
    margin: 0 10px 0 35px;
    padding: 10px;
    text-indent: -99999px;
    width: 127px; 
}

#portfolio {
    background: url("../images/portfolio_sprite.png") no-repeat top left;
    background-position: 10px -66px; 
    display: block;
    float: right;
    height: 60px;
    margin: 0 10px 0 0px;
    padding: 10px;
    text-indent: -99999px;
    width: 182px; 
}

#portfolio:hover {
    background: url("../images/portfolio_sprite.png") no-repeat top left;
    background-position: 10px 10px; 
    height: 26px;
    display: block;
    float: right;
    margin: 1px 10px 0 0px;
    padding: 10px;
    text-indent: -99999px;
    width: 182px; 
}

#portfolio_active {
    background: #ffffff url("../images/portfolio_sprite.png") no-repeat; 
    background-position: 10px 10px; 
    border: 1px solid #eeeeee;
    display: block;
    float: right;
    height: 26px;
    margin: 0 10px 0 0px;
    padding: 10px;
    text-indent: -99999px;
    width: 182px; 
}

/***************************************/
/*** footer ***/
/***************************************/
#footer {
    background: url("../images/bg_footer.png");
    clear: both;
    color: #999999;
    margin-top: 1px;
    overflow: auto;
}

.footer_content {
    margin: 0 auto;
    overflow: auto;
    padding: 20px 0;
    width: 960px;
}
.footer_content .left_col {
    font-size: 12px;
}

.footer_content .right_col {
    font-size: 13px;
    color: #cccccc;
}

.footer_element {
    float: right;
    margin: 0 10px 0 0;
}

.footer_content .first {
    float: left;
}

.footer_content .arrow {
    margin: 3px 0px 0 3px;   
}

#footer .right_col a {
    color:#cccccc;
    font-weight: bold;
    padding: 2px;
}

#footer .right_col a:hover {
    background: #dddddd;
    color:#333333;
    font-weight: bold;
    padding: 2px;
    text-decoration: none;
}

#post_footer {
    color: #999999;
    font-size: 12px;
    margin: -15px auto 0 auto;
    text-align: right;
    width: 960px;
}

#post_footer a {
    color: #999999; 
}

#post_footer a:hover {
    background: #999999;
    color: #eeeeee; 
}
/***************************************/
/*** portfolio ***/
/***************************************/

.portfolio_element {
    float: left;
    margin: 0px 0 40px 0;
    width: 100%;
}


/***************************************/
/*** contact form ***/
/***************************************/

.ui-dialog-titlebar { 
    display: none;
}

#cf_wrap {
    overflow: hidden;
}

#cf_wrap #title {
    font-size: 2.1em;
    color: #888888;
    font-variant: small-caps;
    font-weight: bold;
}
#cf_wrap label {
    color: #444;
    font-size: 1.3em;
    -font-weight: bold;
    float: left;
    clear: both;
}
#cf_wrap input, #cf_wrap textarea {
    border: 1px solid #999;
    float: right;
    margin: 5px 0 0 0;
    width: 280px;
}
#cf_wrap input{
    height: 20px;
}
#cf_wrap div {
    clear: both;
    padding: 15px;
}
#cf_wrap #buttons {
    float: right;
    font-size: 1.3em;
    font-weight: bold;
    margin-top: 10px;
}
#cf_wrap #buttons:hover{
    font-size: 1.3em;
    border: none;
}
#cf_close{
    border: none;
    color: #555;
    cursor: pointer;
    margin: 0 20px 0 0 ;
    padding: 5px;
}
#cf_close:hover{
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
}
#cf_send{
    border: 1px solid #555;
    background: #CFCFCF;
    color: #444;
    cursor: pointer;
    padding: 5px 15px;
}
#cf_send:hover{
    border: 1px solid #444;
    background: #efefef;
    color: #000;
    cursor: pointer;
    padding: 5px 15px;
}

