
/*  Styling for Conecta theme */

/* Bootstrap uses Helvitica (Neue and ordinary) as preferred font which renders
   badly on IE ... so user Aria as preferred font */

body {
    font-size: 14px;
    font-family: Arial, sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: Arial, sans-serif;
}

.form-control {
    font-family: Arial, sans-serif;
}

/*  Styles for header area */

div#page-header {
	margin: 10px 0px;
	font-size: 14px;
}
div#page-header div.locale {
	text-align: right;
}

div#page-header div.welcome {
	margin-top: 2px;
    font-weight: bold;
    color: #000000;
}
div#page-header div.welcome span {
    color: #428bca;
    cursor: pointer;
}
div#page-header div.welcome span:hover {
    text-decoration: underline;
    color: #2a6496;
}
div#page-header div.locale a.lang {
    margin-left: 20px;
}

/*this is a problem for chrome only*/
@media all and (-webkit-min-device-pixel-ratio:0) and (min-resolution: .001dpcm) {
	

}
.navbar-default .navbar-nav>li>a, 
.navbar-default .navbar-nav>li>a:hover, 
.navbar-default .navbar-nav>li>a:focus {
    background: #fff;
    border: 1px #000 solid;
    border-bottom: 0px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    line-height: 16px;
}

.navbar-default .navbar-nav>.active>a, 
.navbar-default .navbar-nav>.active>a:hover, 
.navbar-default .navbar-nav>.active>a:focus {
    background: #ffee99;
    border: 1px #ffee99 solid;

}

nav.navigation {
    padding-top: 4px;
    border-top: 0px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}


ul.dropdown-menu li a:hover {
    background-color: #fff;
    color: #777;
}

/*  Styling for the dashboard page */

div.dashboard h2 {
    margin: 10px 0px 0px 0px;
}

div.dashboard table.bulk-actions tr.selected td {
	background-color: #d9edf7;
}
div.dashboard div.bulk-actions-wrapper {
	padding-top: 11px;
	float:left;
}
div.dashboard div.bulk-actions-control div.btn-sm.btn-default {
	padding-left: 7px;
}
div.dashboard div.bulk-actions-control input {
	height: 13px;
	padding: 0px;
	margin: 4px 4px 0px 0px;
}
div.dashboard div.bulk-actions-control span.caret {
	margin-top: -6px;
}
div.dashboard div.bulk-actions-wrapper div.btn-primary {
	margin-left: 10px;
}
div.dashboard div.bulk-actions-panel {
	display: none;
}
div.dashboard div.bulk-message {
	width: 150%;
	padding: 8px 15px;
}
div.dashboard div.bulk-message div.btn {
	float: right;
	margin-top: 10px;
}
div.dashboard div.themes div.btn {
	float: left;
}
div.dashboard div.themes span.badge {
	margin: 11px 0px 0px 10px;
}
div.dashboard div.conversations-table div.alert {
	margin: 5px 0px 0px 0px;
	display: none;
	font-weight: bold;
}

div.convo-header div.paginator {
    float: right;
    padding: 4px 10px;
}
div.convo-header a {
    cursor: pointer;
}
div.paginator div.arrows {
    margin-top: 3px;
    float: right;
}
div.paginator ul.pager {
    margin: 0px;
}
div.paginator ul.pager li>a {
    border-width: 3px;
    border-radius: 10px;
}
div.paginator div.range {
    float: left;
}
div.paginator div.showing,
div.paginator div.page-size {
    text-align: center;
    margin-right: 20px;
}

div.dashboard input.bulk-action-checkbox {
	display: none;
	margin-right: 20px;
}
div.dashboard table.bulk-actions input.bulk-action-checkbox {
    display: inline;
}


/*  Styling for the conversations page  */

div.conversation div.panel-heading div.btn {
    float: right;
    margin: -2px 10px 0px 0px;
    padding: 2px 5px;
    height: 22px;
}

div.conversation div.bubble {
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-radius: 4px;
    margin-bottom: 10px;
}
div.conversation div.header {
    padding: 3px 5px;
}
div.conversation div.dropdown, div.dropup {
    float: right;
    margin-top: -8px;
}


div.conversation div.dropdown  span.glyphicon, driv.dropup span.glyphicon {
    margin-right: 5px;
}
div.conversation div.dropdown button, div.dropup button {
    background: transparent;
    margin-top: 6px;
    padding-top: 1px;
    float: right;
    border: 0px;
    border-radius: 0px;
    border-left: 1px #000000 solid;
    height: 21px;
    width: 52px;
}

div.conversation .glyphicon {
	 margin-right: 15px;
}
div.conversation div.text {
    padding: 3px 5px;
}
div.conversation div.triangle {
    position: absolute;
    right: -32px;
    bottom: 10px;
    width: 20px;
    height: 14px;
}
div.conversation div.triangle-mask {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 20px;
    height: 14px;
    background: url( '../img/triangle-mask.png' );
}


/*  Specific colouring, alignment for questions and various statuses */

div.conversation div.question {
    margin-left: 30px;
    margin-right: 60px;
}
div.conversation div.question div.triangle {
    left: -22px;
}
div.conversation div.question div.triangle-mask {
    background-position: 20px 0px;
}

div.conversation div.closed {
    border-color: #34bf57;
}
div.conversation div.rejected,
div.conversation div.duplicate {
    border-color: lightgray;
}
div.conversation div.closed div.header,
div.conversation div.closed div.triangle {
    background-color: #34bf57;
}
div.conversation div.rejected div.header,
div.conversation div.rejected div.triangle,
div.conversation div.duplicate div.header,
div.conversation div.duplicate div.triangle {
    background-color: lightgray;
}
div.conversation div.closed div.text,
div.conversation div.rejected div.text,
div.conversation div.duplicate div.text {
    background-color: lightgray;
}

div.conversation div.open,
div.conversation div.pending,
div.conversation div.pendingChc  {
    border-color: #f66400;
}


div.conversation div.open div.header,
div.conversation div.open div.triangle,
div.conversation div.pending div.header,
div.conversation div.pending div.triangle,
div.conversation div.pendingChc div.header,
div.conversation div.pendingChc div.triangle {
    background-color: #f66400;
}

div.conversation div.pendingInthanou div.header,
div.conversation div.pendingInthanou div.triangle {
    background-color: #C79DFA;
}

div.conversation div.open div.text,
div.conversation div.pending div.text {
    background-color: #ffffff;
}

/*  Specific coloring, alignment for answers and actions   */

div.conversation div.answer,
div.conversation div.moreinfo,
div.conversation div.action {
    margin-left: 60px;
    margin-right: 30px;
    border-color: #3ebbee;
}

div.conversation div.moreinfo {
    border-color: #819FF7;
}

div.conversation div.action {
    border-color: #3e55ee;
}

div.conversation  div.unsent {
	border-color: #FF0000;
}

div.conversation div.answer div.triangle {
    right: -22px;
    background-color: #3ebbee;
}
div.conversation div.moreinfo div.triangle{
	right: -22px;
    background-color:#819FF7;
}

div.conversation div.unsent div.triangle{
	right: -22px;
    background-color:#FF0000;
}

div.conversation div.action div.triangle {
    right: -22px;
    background-color: #3e55ee;
}

div.conversation div.answer div.header {
    background-color: #3ebbee;
}
div.conversation div.moreinfo div.header {
    background-color: #819FF7;
}
div.conversation div.unsent  div.header {
    background-color: #FF0000;
}


div.conversation div.action div.header {
    background-color: #3e55ee;
}

div.conversation div.answer div.text,
div.conversation div.moreinfo div.text {
    background-color: lightgray;
}

div.response .btn-spacing {
    margin-top: 10px;	
}
div#conv-display {
	max-height: 400px;
	min-height: 200px;
    overflow-y:scroll; 
}

div#conv-display .msg-checkbox {
	position: relative;
    top: 40px;
}

span.queuelabel {
	margin-left: 4px;

}

.theme label {
	font-weight: normal;
 	margin-left: 15px;
}

.theme input {
	margin-right: 15px;
}

.theme.modal-dialog {
	width: 900px;
}

.theme legend {
    display: inline-flex;
}

form#faq legend {
    display: inline-flex;
}

form#faq label {
	font-weight: normal;
 	margin-left: 15px;
}

form#faq input {
    margin-right: 15px;
}

div .conversationrightheader {
	float:right;
	display:inline-flex;
	margin-top: -18px;
}

div .messagerightheader {
	float:right;
	display:inline-flex;
}

div .themesbages {
	margin-right: 10px;
	margin-top : -1px;
	float:left;
}

div .addtheme{
	margin-right: 10px;
	margin-top : -2px;
	cursor: pointer;
}
/*FAQs*/
.long-response {
  display: none;
}

.long-response.open {
  display: block;  
}

#faqsearchinput {
   display: inline;
   width: 78%;
   font-size: 0.9em;
   padding: 6px 8px;
}
#faqsearchbutton {
    cursor: pointer;	
}
.question {
    border-bottom: 1px solid #ccc;	
}
.faqsubtheme {
    padding-left: 10px;
    border-top: 1px solid #ccc;
}

/* Styling for the action form */

div#incompleteActionError {
    margin-top: 10px;
}

.form-hidden {
	display : none;
}

div.useredit {
	cursor: pointer;	
}

.report .label {
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 10px;
	cursor: pointer;
}

.report .csv {
	width:40px;
}
.report .badge a {
	color: white;
}

.report .label a {
	color: white;
}

.report {
	float:left;
	width:100%;
}

.square {
    float: left;
    width:190px;
    height:190px;
    display:block;
    overflow:hidden;
    -webkit-border-radius: 45px;
	-moz-border-radius: 45px;
	border-radius: 45px;
	border-width:1px;
	border-style:solid;
	margin-bottom: 5px;
	float: left;
}
.square .open{
	cursor: pointer;	
	max-width:80px;
	float:left;
}
.square .answered{
	cursor: pointer;
	max-width:80px;
	float:left;
}
.square .name {
    font-size: 20px;
    font-weight: bold;
    padding-top: 10px;
    text-align: center;
}
.square .role {
    text-align: center;
    padding-top: 25px;
}
.square .values-open{
	color: #6699FF;
    font-size: 30px;
    font-weight: bold;
    padding: 33px;
    position: absolute;
}

.square .values-answered{
	color: #FFCC66;
    font-size: 30px;
    font-weight: bold;
    padding: 33px;
    position: absolute;
}

.square .text-open{
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    padding-left:35px;
    padding-top: 90px;
    color:#0033CC;
}

.square .text-answered{
    font-size: 12px;
    font-weight: bold;
    position: absolute;
    padding-left:25px;
    padding-top: 90px;
    color:#FF6600;
}

.filter.label {
	margin-top: 20px;
	margin-bottom: 20px;
	margin-left: 10px;
	cursor: pointer;
}

/*  Styles for the report table */

table.report {
    margin-top: 20px;
    xwidth: 420px !important;
}
table.report th,
table.report td {
    xmax-width: 120px !important;
}
table.report th.measure-1 {
    text-align: center;
}
table.report span.glyphicon-remove {
    float: right;
}
table.report span.glyphicon {
    cursor: pointer;
}
table.report tr.total-row,
table.report tr.grand-row,
table.report td.total-column,
table.report td.grand-column {
    font-weight: bold;
}
table.report tr.total-row {
    border-top: 2px #cccccc solid;
}
table.report tr.grand-row {
    border-top: 2px #999999 solid;
}
table.report td.total-column {
    padding-right: 50px;
}
.vertical {
    writing-mode:tb-rl;
    -webkit-transform:rotate(90deg);
    -moz-transform:rotate(90deg);
    -o-transform: rotate(90deg);
    white-space:nowrap;
    display:block;
    bottom:0;
    width:20px;
    height:100px !important;
}

.unlocker.modal-dialog {
	width: 500px;
}

#phone-loading,  #email-loading, #no-phone-contact-found, #no-email-contact-found{
	display:none;
	font-size:0.7em;
	color:red;
}

div#checkanswers .row {
    margin-top:10px;
    margin-bottom:10px;
}

div#answers {
    border-top: 1px solid #dddddd;	
}

div#answers .btn-primary{
    margin-bottom: 10px;	
}

div#answers .table tr td{
	border-top: none;
}

div#answers .answerContactDetails{
    display:none;	
}

div#answers .answerContactOptions .col-md-4 {
    padding-left: 0px;
}
div#checkanswers #filterResults {
    display:inline;
    max-width: 50%;
}
div#checkanswers h3, div#generatewinners h3 {
    font-weight: bold;	
}
div#winnersTable {
    display:none;	
}
div#generatewinners input#numWinners {
    display:inline;
    width: 33%;
}

div#entrantNotification .row {
    margin-bottom: 5px;	
}

div#generatewinners div#messageArea {
    display:none;	
}

div#generatewinners .newWinnerRow {
    background-color: #dff0d8;
}

div.mystats {
   float:right;
}
div.totalanswered {
	 width: 30px; 
  	 height:20px;
  	 display: inline-block; 
}
.dropdown-menu {
    width: 33%;
}
.dropdown.dropdown-lg .dropdown-menu {
    margin-top: -1px;
    padding: 6px 20px;

}
.input-group-btn .btn-group {
    display: flex !important;
}
.btn-group .btn {
    border-radius: 0;
    margin-left: -1px;
}
.btn-group .btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.btn-group .form-horizontal .btn[type="submit"] {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
    padding 5px 5px;
}
.form-group .form-control:last-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.bgblue {
    background-color: blue;
}
.form-group {
    padding: 5px 5px;
}
@media screen and (min-width: 768px) {
    #adv-search {
        width: 500px;
        margin: 0 auto;
    }
    .dropdown.dropdown-lg {
        position: static !important;
    }
    .dropdown.dropdown-lg .dropdown-menu {
        min-width: 500px;
    }
}