/* Additional CSS (SLA requests, etc.) */

select,
input[type="button"],
input[type="search"],
input[type="submit"],
button {
	-webkit-appearance: none;
	-moz-appearance:    none;
	appearance:         none;
}

/* Blue bar fix */
#rn_ChatContainer textarea.rn_Hidden,
#rn_ChatPostMessage textarea.rn_Hidden,
#rn_ChatContainer input[type=text].rn_Hidden,
#rn_ChatPostMessage input[type=text].rn_Hidden,
#rn_ChatContainer input[type=password].rn_Hidden,
#rn_ChatPostMessage input[type=password].rn_Hidden,
#rn_ChatContainer input[type=email].rn_Hidden,
#rn_ChatPostMessage input[type=email].rn_Hidden,
#rn_ChatContainer input[type=url].rn_Hidden,
#rn_ChatPostMessage input[type=url].rn_Hidden {
	display: none!important;
}

.footer_awards {
    float: right;
    padding: 30px 0 0
}

.footer_awards img {
    max-width: 200px;
    margin-right: 16px;
    height: auto
}

.footer_awards .show-in-footer {
    display: block
}

.footer_awards .show-in-sidebar {
    display: none
}

.side_bar .footer_awards {
    float: none;
    padding: 10px 0 30px
}

.side_bar .footer_awards img {
    max-width: 200px
}

.side_bar .footer_awards .show-in-footer {
    display: none
}

.side_bar .footer_awards .show-in-sidebar {
    display: block
}

.rn_FileAttachmentUpload  ul li,
.rn_FileAttachmentUpload  ol li{
	color: #fff;
}

/* Custom file input styles */

/* File attachment button */
.rn_FileAttachmentUpload .NFI-wrapper {
    background: #59666F;
    padding: 5px 8px;
    width: 100%;
}

.rn_FileAttachmentUpload .NFI-button,
.rn_FileAttachmentUpload .NFI-filename {
    padding: 3px 8px;
    border: none;
}

.rn_FileAttachmentUpload .NFI-button {
    color: #fff;
    background-color: #2D7BDB;
    float: right!important;
	font-size: 12px;
	padding: 2px 15px;
}

.rn_FileAttachmentUpload .NFI-filename {
    display: none;
    width: 0;
    height: 0;
    visibility: none;
}

/* File attachment (for dialog box) */
.rn_ChatFileAttachContent .NFI-wrapper {
    background: transparent;
    padding: 0;
    width: auto;
}

.rn_ChatFileAttachContent .NFI-button,
.rn_ChatFileAttachContent .NFI-filename {
    padding: 3px 8px;
    border: none;
}

.rn_ChatFileAttachContent .NFI-button {
	font-size: 14px;
    color: #fff;
	height: auto!important;
    background-color: #2D7BDB;
    padding: 2px 15px;
    float: right!important;
}

.rn_ChatFileAttachContent .NFI-filename {
    display: none!important;
    width: 0;
    height: 0;
    visibility: none;
}

.rn_ChatFileAttachContent .NFI-current {
	height: auto!important;
}

.rn_FormSubmit > span {
	color: white;
}

#rnc_ContactForm textarea {
    height: 277px;
}

/* Hide Enquiry type clear option */
#rn_QuestionSubmit #ygtv1 {
	display: none;
}

/* Swap button colors */
.rn_Dialog .yui3-widget-ft .yui3-widget-buttons > a,
.rn_Dialog .yui3-widget-ft .yui3-widget-buttons .yui3-button {
	color: #fff;
    background: #396DD0;
}

.rn_Dialog .yui3-widget-ft .yui3-widget-buttons > a:hover,
.rn_Dialog .yui3-widget-ft .yui3-widget-buttons .yui3-button:hover {
	color: #fff;
    background: #2e61c2;
}

/* Adjust <p> tags inside feedback form */
.rn_AnswerFeedbackForm p{
	font-size: 1em;
}

.yui3-button {
	border-radius: 0;
    box-shadow: none;
    padding: 2px 15px;
}

/* Chat landing */
#chat_landing .rn_Dialog {
	overflow: hidden;
	display: none;
}

#chat_landing .rn_ChatFileAttachContent span {
    display: block;
    min-width: 320px;
}

#chat_landing .yui3-widget-modal {
	left: 0!important;
	width: 100%!important;
}

#chat_landing .rn_Dialog {
	max-width:320px;
	min-width: 320px;
	margin: 0 auto;
}

#chat_landing .rn_Dialog.on {
	display: block;
}

#chat_landing .yui3-widget-hd {
	padding-top: 20px;
}

#chat_landing .yui3-widget-bd,
#chat_landing .yui3-widget-ft
{
	float: left;
	margin: 0;
	width: 50%;
	height: 30px;
}

#chat_landing .yui3-widget-bd {
	height: auto;
}

#chat_landing .yui3-widget-ft {
	height: 30px;
}

#chat_landing .yui3-widget-ft .yui3-button,
#chat_landing input[type="file"]
{
	background-color: #2D7BDB;
	font-size: 14px;
	line-height: 1;
	padding: 5px 18px!important;
	text-shadow: none;
}

#chat_landing .yui3-button-close
{
	/* background-color: #2D7BDB; */
	background-color: transparent;
	color: #ffffff;
	padding: 2px 10px;
	text-shadow: none;
}

#chat_landing .rn_ChatDisconnectButton button
{
    color: #000;
    background: none!important;
    box-shadow: none;
	border: none;
}

#chat_landing .rn_ChatQueueSearch
{
	overflow: hidden;
}

/* Submit button on iPad */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
	#chat_landing .rn_KeywordText {
		display: block;
		text-align: center;
	}
	
	#chat_landing  #rn_ChatContainer input[type=text] {
		display: block;
		width: 100%;
	}
	
	#chat_landing .rn_SubmitButton {
		margin-top: 10px;
	}
}

/* Survey template */
#survey_template legend, .webkit legend,
#survey_template .wffm .scfTitleBorder {
	font-family: Rubrik-Light, Arial, sans-serif!important;
	font-size: 16px;
	letter-spacing: 1px;
	line-height: 1.2;
	margin-left: 0;
}

#survey_template .rn_FeedbackQuestionText {
	font-size: inherit;
	font-family: inherit;
	font-weight: bold;
    line-height: inherit;	
}

#survey_template .rn_FeedbackFieldset input {
	height: 15px;
	width: 15px;
}

#survey_template .rn_FeedbackFieldset input+label{
	margin-left: 3px;
	line-height: 20px;
	vertical-align: middle;
}

#survey_template  #rn_MainColumn textarea {
	width: 100%;
}

#survey_template input[name="submit_btn"] {
	-webkit-box-shadow: none;
    -moz-box-shadow: none;
    -webkit-transition: all .1s ease-out;
    -moz-transition: all .1s ease-out;
    transition: all .1s ease-out;
    -webkit-border-radius: 0;
    -webkit-font-smoothing: antialiased;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #2D7BDB;
    border: 0;
	box-shadow: none;
    text-shadow: none;
    color: #fff;
    display: block;
    font-family: normal Rubrik-Regular, Arial, sans-serif;
    margin: .357143em 0;
    padding: .428571em 1.071429em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

#survey_template .content_holder_slim td {
	padding-left: 0;
}

.rn_Dialog .yui3-button-close,
.rn_Dialog .yui3-button-close:hover,
.rn_Dialog .yui3-button-close:focus
{
	background: url(https://www.trustpower.co.nz/images/fancybox/cross_sprite.png) no-repeat;
}

.rn_Dialog .yui3-button-close
{
    height: 33px;
    width: 33px;
    background-position: 0 -67px;
    text-indent: -9999999px;
}

.rn_Dialog .yui3-button-close:hover,
.rn_Dialog .yui3-button-close:focus
{
	background-position: 0 -100px;
}

#chat_landing .yui3-widget-ft {
    height: 30px;
    clear: none;
    margin-left: -10px;
    margin-top: 0;
}

@media (min-width: 1025px) {
	.rn_ConditionalChatLinkCustom.rn_ConditionalChatLink {
		height: 42.76px;
	}
	
	.rn_ConditionalChatLink .rn_Chat > a {
		padding-top: 1.2px;
		padding-bottom: 1.56px;
		padding-left: 58px;
		padding-right: 58px;
		font-size: 18px!important;
	}
}

.rn_ConditionalChatLink .rn_Chat > a:after {
	left: 20px;
}