﻿/* Bespoke functionality added for Contact Moderation to cater for Sub-menus. */
/* Sub-menus are no longer part of the Bootstrap framework so kept in separate file to prevent any future bootstrap package update overwrites */

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

.bg-info {
    padding: 15px;
}

.modal-header {
    background-color: #428bca;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    box-shadow: inset 0 1px 0 #3f94d0;
}

    .modal-header span {
        color: #ff0000;
        font-size: 24px;
    }

.navbar-brand {
    margin-top: -10px;
}

.table-bordered {
    border: 1px solid #ddd;
}

    .table-bordered th {
        border-bottom-width: 1px;
    }

.dropdown-menu {
    min-width: 180px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #777;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu.active > a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/* Default Bootstrap Overrides */

body {
    /*font-family: 'Open Sans', sans-serif;*/
    font-family: Tahoma;
}

.navbar-default {
    background-color: #ffffff;
}

.navbar-right {
    margin-right: 0;    
}

.navbar-right .profile  {
    padding-right: 8px;    
    padding-left: 8px; 
}

.badge {
    background-color: #48BEEA;
    padding: 4px 7px;
}

input, select, textarea {
    padding: 4px 10px;
    border: 1px solid #ccc !important;
}

.moderation-details-container .form-section label {
    margin-top: 5px;
}

.btn.disabled, .btn[disabled] {
    opacity: 0.3;
}

/*Feedback accordian - gives click to full header*/
.panel-title a {
    display: block;
    padding: 10px 15px;
    margin: -10px -15px;
}
/**/

.text-success-custom, .text-success-bold {
  color: #4CAF50;
}

.text-warning-custom, .text-warning-bold {
  color: #FF9800;
}

.text-danger-custom, .text-danger-bold {
  color: #F44336;
}

.text-primary-custom, .text-primary-bold {
  color: #337ab7;
}

.text-success-bold, .text-warning-bold, .text-danger-bold, .text-primary-bold {
  font-weight:bold;
}

.text-danger-locked {
    color: #ff0000 !important;
}

.text-warning-locked {
    color: #ff9900 !important;
}

code {
    font-size: 100%;
    padding: 4px;
}

th a:hover, th a:link {
    text-decoration: none;
}

th a.dropdown-toggle {
    color: black !important;
}

pre {
    white-space: pre-wrap;
    word-break: normal;
}

table .collapse.in {
	display:table-row;
}

/*Page heading load spinner*/
.modal-backdrop-inherit {
  z-index: 1040;
  background-color: #000;
}

.modal-backdrop-inherit.in {
  filter: alpha(opacity=50);
  opacity: .5;
}

.alert {
  margin-top: 10px;  
}