/* 
    Document   : vip
    Created on : Jan 5, 2012, 11:53:06 AM
    Author     : rtherianto
    Description:
        Purpose of the stylesheet follows.
*/

/* BASE */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* VIP */

html, html * {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

html, body {
	background-color: #fff;
	color: #444;
	height: 100%;
    overflow: hidden;
	font: 13px/1.5 Helvetica, Arial, Tahoma, sans-serif;
}

input[type='text'], textarea {
	font-size: 1em;
    outline: none;
}

.wrapper, .header, .content, .footer {
	position: relative;
}

.wrapper {
	width: 100%;
	height: 100%;
	border: 1px solid #333;
}

.btn {
	margin-left: 4px;
}

.btn, .btn div {
	float: left;
	overflow: hidden;
}

.btn div, #prechatless-submit  {
	/*background: #888 url('../images/button-green-bg.png') repeat-x 0 0;*/
	background-color: white;
	border: 1px solid #888;
	color: #666;
	cursor: pointer;
	display: inline-block;
	height: 30px;
	line-height: 28px;
	font-family: Tahoma, Arial, Verdana, sans-serif;
	font-size: 11px;
	font-weight: bold;
	padding: 0 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#prechatless-submit {
    margin-left:10px;
    height: 25px;
}

#prechatless-email {
    border-radius: 2px;
    border: 1px solid #ccc;
    height: 25px;
    width:200px;
    margin-top: 5px;
}

.btn div.green {
	/*background: #71b81d url('../images/button-green-bg.png') repeat-x 0 0;*/
	background-color: white;
	border: 1px solid #71b81d;
}

.btn-pressed div {
	background-position: 0 -30px
}

.btn-pressed div.green {
	background-position: 0 -30px;
}

.btn-disabled div, .btn-disabled div.green {
	background: #888 url('../images/button-bg.png') repeat-x 0 -60px;
	border-color: #dadada;
	color: #afafaf;
}

/* IOS overrides on global.css */

.ua-ios .msg-bubble {
	padding-bottom: 8px;
}

/* HEADER */

.header {
	height: 42px;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 30;
	overflow: hidden;
}

.header h1,
.header img {
    float: left;
}

.header, .header h1 {
	background-color: #333;
	line-height: 42px;
}

.header h1 {
    font-family: Arial, Helvetica, sans-serif, BebasNeueRegular, CuprumFFURegular;
	font-size: 24px;
	font-weight: normal;
	color: #c2c2c2;
	padding: 0 16px;
}

/* NOTIFICATION */

#closeEmailAsker {
    float: right;
    top: 8px;
    right: 8px;
    position: relative;
    cursor: pointer;
}

#prechatlessemailHTML {
    min-width:320px;
    bottom: 97px;
    width: 100%;
    z-index: 100;
    opacity: 0.9;
}

#notification {
	padding: 16px 16px 0;
}

#notify-text, #email-text, .yellowbubble {
	background-color: #fbf5d6;
    border: 1px dotted #e5da9d;
    padding: 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#email-text {
    padding-left:13px;
    height:93px;
    padding-top: 2%;
}

.yellowbubble {
    bottom: 97px;
    left: 1px;
    margin-bottom: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    position: fixed;
    width: 100%;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
    border: 0px dotted #e5da9d;
    z-index: 100;
    height:93px;
    
}

/* PRECHAT */

#prechat {
	padding: 60px 16px 16px;
}

.ua-ios #prechat {
	padding: 0 10px;
}

.prechat-input-container {
	padding-left: 20%;
	padding-right: 20%;
	margin: 15px 0;
	position: relative;
}

.ua-ios .prechat-input-container {
	margin: 6px 0;
}

#prechat .welcome-text {
    display: block;
    font-size: 14px;
    padding: 0 10%;
    margin: 0 0 30px 0;
    display: block;
}

.prechat-input-wrapper, .prechat-input-wrapper input {
	background: url('../images/input-inner-shadow.png') repeat-x 0 0 #fff;
}

.prechat-input-wrapper {
	border: 1px solid #888;
	overflow: hidden;
}

.prechat-input-wrapper input {
	width: 100%;
	height: 30px;
	line-height: 32px;
	border: 0;
	padding: 0 4px;
	color: #444;
}

.prechat-label-wrapper {
	display: inline-block;
	height: 32px;
	line-height: 32px;
	text-align: right;
	width: 20%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 40;
}

.prechat-label-wrapper label {
	padding-right: 12px;
}

.prechat-input-error {
	font-weight: bold;
	font-size: 11px;
	padding-top: 6px;
}

.prechat-input-error strong {
	color: #b42d2d;
}

/* CONTENT */

#content {
	padding: 16px 16px 0;
    padding-bottom: 25px;
}

.content {
    display: block;
    position: absolute;
    z-index: 10;
    height: auto;
    bottom: 30px;
    top: 0;
    left: 0;
    right: 0;
    margin-top: 42px;
    margin-bottom: 98px;
    overflow: auto;
    background-color: #fff;
}

.ua-ios .content {
	margin-bottom: 78px;
}

.no-bottom-margin-content {
    margin-bottom: 0px;
}

.msg-bubble-seemore {
	cursor: pointer;
	font-size: 10px;
    font-weight: bold;
	padding: 8px;
}

.msg-bubble-text-trimmed {
	height: 133px;
    overflow: hidden;
}

/* KNOWLEDGEBASE */

#kbase {
	padding: 0 16px 16px;
}

.kbase-inner {
	padding-top: 10px;
	border-top: 1px dotted #ccc;
}

.kbase-inner h2 {
	margin-bottom: 6px;
	font-size: 15px;
	color: #999;
	font-weight: normal;
}

.kbase-list {
	list-style-type: decimal;
}

.kbase-list li {
	margin-left: 30px;
}

.kbase-list a {
	color:#3f7bc4;
}
.kbase-list a:hover {
	color: #3f7bc4;
	text-decoration: underline;
}


li div.kbase-content {
	font-weight: normal;
	
}

.kbase-list li.collapsed div.kbase-content {
	display: none;
}

.kbase-list li .kb-title {
	cursor: pointer;
}


/** VIP FILE IE8 UPLOAD **/
#uploadAttachment-ie8 {
	margin-top: -5px;
	margin-left: 10px;
    z-index: 11;
	height: 30px;
}

#uploadAttachment-ie8 #upload-icon-ie8 {
	height : 25px;
	position: relative;
	top: 0px; 
	left: 0px;
	background: url("../images/clip.png") 0px -37px no-repeat;
	font-size: 11px;
	font-weight: bold;
	float: left;
	padding-left: 16px;
	cursor: pointer;
}

.hover-ie8 {
	background: url("../images/clip.png") 0px 0px no-repeat !important;
	
}


/** IE8 **/

/** VIP FILE UPLOAD **/
#uploadAttachment {
	height: 30px;
	min-width: 20px;
	float:left;
	margin-left: 12px;
	
}

#upload-icon {
	height : 25px;
	background: url("../images/clip.png") 0px -37px no-repeat;
	font-size: 11px;
	font-weight: bold;
	padding-left: 16px;
	cursor: pointer;
	
}
#upload-icon:hover {
	background: url("../images/clip.png") 0px 0px no-repeat !important;
}


#uploadAttachment.hidden, #uploadAttachment-ie8.hidden {
	display: none !important;
}

.uploadbubble {
	border: 2px solid #9E9B9B;
    min-height: 103px;
	margin : auto 60px 13px 30px;
    padding: 5px;
}

.attachment-bubble-div {
	overflow: auto;
}

.attachement-message-container {
	padding-left:7px;
	margin-top: 3px;
}

.attachment-file {
	overflow: auto;
	float:left;
}

.attachment-file .attachIcon {
	background-image: url("../images/att-icon-16.png");
    background-repeat: no-repeat;
	width:20px;
	height:20px;
	margin-left:3px;
	margin-top: 4px;
	float: left;
	
	
}

.attachment-file .fileName {
	float: left;
    font-size: 16px;
    font-weight: bold;
    height: 16px;
    margin-top: 0;
}


.loaderContainer {
	border: 1px solid #CCCCCC;
    height: 7px;
    margin-left: 2px;
    width: 137px;
	overflow: auto;
	margin-top: 5px;
	float:left;
	margin-right: 10px;
	border-radius : 10px;
}


.msg-div {
	float:left;
	margin-right: 8px;
}

.msg-div.error {
	color : #990000;
}

.msg-div.uploaded {
	color : #009900;
}

.loaderContainer .loader {
	 height: 7px;
	 width: 0%;
	 background-color: #888;
}


.attachment-bubble-bottom {
	overflow: auto;
	min-height: 64px;
}

.sent-successfully {
	color: #27AA33;
    font-size: 11px;
}

.msg-bubble-sender-attachment {
	color: #3F7BC4;
    float: left;
    padding-left: 6px;
    padding-right: 8px;
    padding-top: 2px;
}

.msg-bubble-attachement-sendingtxt {
	float: left;
    margin-top: 5px;
	color: #3F7BC4;
	font-size: 10px;
}


.msg-bubble-attachment-status {
	float: right;
    height: 20px;
    margin-top: 2px;
    width: 20px;
}

.msg-bubble-attachment-status.sending {
	background-image: url("../images/sending.gif");
    background-repeat: no-repeat;
	left: 60px;
    position: relative;
    top: -4px;
}


.msg-bubble-attachment .msg-bubble-time {
	visibility: hidden;
}

.msg-bubble-attachment .msg-bubble-text {
	overflow:auto;
}

.msg-bubble.msg-bubble-a.sent .msg-bubble-time {
	visibility: visible;
}

.msg-bubble-attachment .msg-bubble-files {
	overflow: auto;
}

/**change to sent**/
.msg-bubble.msg-bubble-a.sent .msg-bubble-attachment-status {
	background-image: url("../images/sent.gif") !important;
    background-repeat: no-repeat;
}

/** change to error **/
.msg-bubble.msg-bubble-a.notsent .msg-bubble-attachment-status {
	background-image: url("../images/error.gif") !important;
	background-position: 0px -1px;
    background-repeat: no-repeat;
}

.retry-div {
	color: #3F7BC4;
    font-size: 11px;
    padding-top: 2px;
	float: left;
}

.retry-div.hideretry .retry-btn, .retry-div.hideretry .discard-divider {
	display:none;
}

.retry-btn, .discard-btn {
	cursor: pointer;
	text-decoration: underline;
}

.attachment-hidden {
	visibility: hidden !important;
}

.attachment-display-none {
	display: none !important;
}

.uploadbubble .msg-bubble-time {
	color: #B6BFC6;
    font-size: 11px;
    font-weight: normal;
	display: inline-block;
	margin-top: 5px;
}

/* FOOTER */

.footer {
	/*background: #fff url('../images/bulk-panel-bg.png') repeat-x 0 0;*/
	height: 68px;
	width: 100%;
	position: absolute;
	bottom: 30px;
	left: 0;
	z-index: 20;
}

.ua-ios .footer {
	height: 48px;
}

.footerplain {
	/*background: #f2f2f2;*/
	border-top: 1px solid #888;
}

#buttons-container {
	float: right;
	margin: 19px 19px 0 0;
}

.ua-ios #buttons-container {
	margin: 12px 6px 0 0;
}

#inputs-container {
	height: 68px;
	padding: 12px;
	position: relative;
}

.ua-ios #inputs-container {
	height: 48px;
	padding: 6px;
}

.msg-input-container {
	height: 46px;
	padding-right: 74px;
}

.ua-ios .msg-input-container {
	height: 34px;
}

.msg-input-wrapper {
	height: 44px;
	background-color: #fff;
	padding: 2px;
	border: 1px solid #888;
}

.ua-ios .msg-input-wrapper {
	height: 34px;
}

#inputs-container textarea, #inputs-container #btn-send {
	height: 38px;
	resize: none;
	padding: 0;
	margin: 0;
	border: 0;
}

.ua-ios #inputs-container textarea, .ua-ios #inputs-container #btn-send {
	height: 28px;
}

#inputs-container textarea {
	width: 100%;
	font-family: Helvetica, Arial, Tahoma, sans-serif;
	font-size: 13px;
}

#btn-send {
	height: 46px !important;
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 10;
}

.ua-ios #btn-send {
	right: 6px;
	top: 6px;
	height: 34px !important;
}

#btn-send div {
	line-height: 44px;
	height: 44px !important;
	background: #ccc !important;
	padding: 0;
    text-align: center;
    width: 68px;
}

.ua-ios #btn-send div {
	line-height: 34px;
	height: 34px !important;
}

/* POWERED BY */
.powered-by {
	height: 30px;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 20;
    text-align: right;
}

#powered-by a {
    color: #666;
    font-family: Helvetica, Arial, Tahoma, sans-serif;
    font-size: 11px;
    text-decoration: none;
    position: relative;
    top: 7px;
    right: 8px;
}

#powered-by a span {
	text-decoration: underline;
}

/* Smartphones (portrait and landscape) with low pixel density. adjustment (font-size * 6/5) ----------- */
@media
screen and (-webkit-max-device-pixel-ratio: 1) and (max-device-width: 480px),
screen and (max--moz-device-pixel-ratio: 1) and (max-device-width: 480px),
screen and (-o-device-pixel-ratio: 1) and (max-device-width: 480px),
screen and (max-device-pixel-ratio: 1) and (max-device-width: 480px){

    html, body {
        font: 15.6px/1.5 Helvetica, Arial, Tahoma, sans-serif;
    }

    input[type='text'], textarea {
        font-size: 1.2em;
    }

    .wrapper {
        border: 1.2px solid #333;
    }

    .btn {
        margin-left: 4.8px;
    }

    .btn div, #prechatless-submit  {
        border: 1.2px solid #888;
        height: 36px;
        line-height: 33.6px;
        font-size: 13.2px;
        padding: 0 12px;
        -webkit-border-radius: 3.6px;
        -moz-border-radius: 3.6px;
        border-radius: 3.6px;
    }

    #prechatless-submit {
        margin-left:12px;
        height: 30px;
    }

    #prechatless-email {
        border-radius: 2.4px;
        border: 1.2px solid #ccc;
        height: 30px;
        width:240px;
        margin-top: 6px;
    }

    .btn div.green {
        border: 1.2px solid #71b81d;
    }

    .btn-pressed div {
        background-position: 0 -36px
    }

    .btn-pressed div.green {
        background-position: 0 -36px;
    }

    .btn-disabled div, .btn-disabled div.green {
        background: #888 url('../images/button-bg.png') repeat-x 0 -72px;
    }

    /* IOS overrides on global.css */

    .ua-ios .msg-bubble {
        padding-bottom: 9.6px;
    }

    /* HEADER */

    .header {
        height: 50.4px;
    }

    .header, .header h1 {
        line-height: 50.4px;
    }

    .header h1 {
        font-size: 28.8px;
        padding: 0 19.2px;
    }

    /* NOTIFICATION */

    #closeEmailAsker {
        top: 9.6px;
        right: 9.6px;
    }

    #prechatlessemailHTML {
        min-width:384px;
        bottom: 116.4px;
    }

    #notification {
        padding: 19.2px 19.2px 0;
    }

    #notify-text, #email-text, .yellowbubble {
        border: 1.2px dotted #e5da9d;
        padding: 12px;
        -webkit-border-radius: 3.6px;
        -moz-border-radius: 3.6px;
        border-radius: 3.6px;
    }

    #email-text {
        padding-left:15.6px;
        height:111.6px;
        padding-top: 2.4%;
    }

    .yellowbubble {
        bottom: 116.4px;
        left: 1.2px;
        height:111.6px;

    }

    /* PRECHAT */

    #prechat {
        padding: 72px 19.2px 19.2px;
    }

    .ua-ios #prechat {
        padding: 0 12px;
    }

    .prechat-input-container {
        padding-left: 20%;
        padding-right: 20%;
        margin: 18px 0;
    }

    .ua-ios .prechat-input-container {
        margin: 7.2px 0;
    }

    #prechat .welcome-text {
        font-size: 16.8px;
        padding: 0 12%;
        margin: 0 0 36px 0;
    }

    .prechat-input-wrapper {
        border: 1px solid #888;
    }

    .prechat-input-wrapper input {
        height: 36px;
        line-height: 38.4px;
        padding: 0 4.8px;
    }

    .prechat-label-wrapper {
        height: 38.4px;
        line-height: 38.4px;
        width: 20%;
    }

    .prechat-label-wrapper label {
        padding-right: 14.4px;
    }

    .prechat-input-error {
        font-size: 13.2px;
        padding-top: 7.2px;
    }

    /* CONTENT */

    #content {
        padding: 19.2px 19.2px 0;
        padding-bottom: 30px;
    }

    .content {
        margin-top: 50.4px;
        margin-bottom: 117.6px;
    }

    .ua-ios .content {
        margin-bottom: 93.6px;
    }

    .msg-bubble-seemore {
        font-size: 12px;
        padding: 9.6px;
    }

    .msg-bubble-text-trimmed {
        height: 159.6px;
    }

    /* KNOWLEDGEBASE */

    #kbase {
        padding: 0 19.2px 19.2px;
    }

    .kbase-inner {
        padding-top: 12px;
        border-top: 1.2px dotted #ccc;
    }

    .kbase-inner h2 {
        margin-bottom: 7.2px;
        font-size: 18px;
    }

    .kbase-list li {
        margin-left: 36px;
    }

    /** VIP FILE IE8 UPLOAD **/
    #uploadAttachment-ie8 {
        margin-top: -6px;
        margin-left: 12px;
        height: 36px;
    }

    #uploadAttachment-ie8 #upload-icon-ie8 {
        height : 30px;
        background: url("../images/clip.png") 0px -44.4px no-repeat;
        font-size: 13.2px;
        padding-left: 19.2px;
    }


    /** IE8 **/

    /** VIP FILE UPLOAD **/
    #uploadAttachment {
        height: 36px;
        min-width: 24px;
        margin-left: 14.4px;

    }

    #upload-icon {
        height : 30px;
        background: url("../images/clip.png") 0px -44.4px no-repeat;
        font-size: 13.2px;
        padding-left: 19.2px;

    }

    .uploadbubble {
        border: 2.4px solid #9E9B9B;
        min-height: 123.6px;
        margin : auto 72px 15.6px 36px;
        padding: 6px;
    }

    .attachement-message-container {
        padding-left:8.4px;
        margin-top: 3.6px;
    }

    .attachment-file .attachIcon {
        width:24px;
        height:24px;
        margin-left:3.6px;
        margin-top: 4.8px;
    }

    .attachment-file .fileName {
        font-size: 19.2px;
        height: 19.2px;
    }


    .loaderContainer {
        border: 1.2px solid #CCCCCC;
        height: 8.4px;
        margin-left: 2.4px;
        width: 164.4px;
        margin-top: 6px;
        margin-right: 12px;
        border-radius : 12px;
    }


    .msg-div {
        margin-right: 9.6px;
    }

    .loaderContainer .loader {
        height: 8.4px;
    }


    .attachment-bubble-bottom {
        min-height: 76.8px;
    }

    .sent-successfully {
        font-size: 13.2px;
    }

    .msg-bubble-sender-attachment {
        padding-left: 7.2px;
        padding-right: 9.6px;
        padding-top: 2.4px;
    }

    .msg-bubble-attachement-sendingtxt {
        margin-top: 6px;
        font-size: 12px;
    }


    .msg-bubble-attachment-status {
        height: 24px;
        margin-top: 2.4px;
        width: 24px;
    }

    .msg-bubble-attachment-status.sending {
        left: 72px;
        top: -4.8px;
    }

    /** change to error **/
    .msg-bubble.msg-bubble-a.notsent .msg-bubble-attachment-status {
        background-position: 0px -1.2px;
    }

    .retry-div {
        font-size: 13.2px;
        padding-top: 2.4px;
    }

    .uploadbubble .msg-bubble-time {
        font-size: 13.2px;
        margin-top: 6px;
    }

    /* FOOTER */

    .footer {
        height: 81.6px;
        bottom: 36px;
    }

    .ua-ios .footer {
        height: 57.6px;
    }

    .footerplain {
        border-top: 1.2px solid #888;
    }

    #buttons-container {
        margin: 22.8px 22.8px 0 0;
    }

    .ua-ios #buttons-container {
        margin: 13.6px 7.2px 0 0;
    }

    #inputs-container {
        height: 81.6px;
        padding: 13.6px;
    }

    .ua-ios #inputs-container {
        height: 57.6px;
        padding: 7.2px;
    }

    .msg-input-container {
        height: 55.2px;
        padding-right: 88.8px;
    }

    .ua-ios .msg-input-container {
        height: 40.8px;
    }

    .msg-input-wrapper {
        height: 52.8px;
        padding: 2.4px;
        border: 1.2px solid #888;
    }

    .ua-ios .msg-input-wrapper {
        height: 40.8px;
    }

    #inputs-container textarea, #inputs-container #btn-send {
        height: 45.6px;
    }

    .ua-ios #inputs-container textarea, .ua-ios #inputs-container #btn-send {
        height: 33.6px;
    }

    #inputs-container textarea {
        font-size: 15.6px;
    }

    #btn-send {
        height: 55.2px !important;
        position: absolute;
        right: 13.6px;
        top: 13.6px;
    }

    .ua-ios #btn-send {
        right: 6px;
        top: 6px;
        height: 34px !important;
    }

    #btn-send div {
        line-height: 44px;
        height: 44px !important;
        width: 68px;
    }

    .ua-ios #btn-send div {
        line-height: 40.8px;
        height: 40.8px !important;
    }

    /* POWERED BY */
    .powered-by {
        height: 36px;
    }

    #powered-by a {
        font-size: 13.2px;
        top: 8.4px;
        right: 9.6px;
    }
}