/* CSS for widgets and controls generated by ExSite::UI */

@import url(bootstrap/bootstrap.css);
@import url(font-awesome.css);

/* general styles */

.tone-bad,.tone-bad a {
  color:#c00;
/*  border-color:red; */
}
.tone-warning,.tone-warning a {
  color:#f0ad4e;
/*  border-color:gold; */
}
.tone-good,.tone-good a {
  color:green;
/*  border-color:green; */
}

/*------- buttons -------*/

/* stock form buttons - similar to Bootstrap btn class */

button,
.formButton, 
input[type=submit], 
input[type=reset], 
input[type=button],
button.button, 
a.button {
  display: inline-block;
  margin: 5px;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  background-color:#eee;
  border: 1px solid #bbb;
  color:#333;
  white-space: nowrap;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
a.button span.ucIcon {
    color:green;
}
.formSubmit {
    background-color:green;
    border-color:green;
    color: white;
}
.formCancel {
    color:#c00;
    border-color:#c00;
}
.formReset {
    color:#666;
    border-color:#666;
}

.formButton:hover, 
input[type=submit]:hover, 
input[type=reset]:hover, 
input[type=button]:hover,
button.button:hover, 
a.button:hover {
	background-color:#999;
	background-position: 0px -10px;
	color:black;
	border-color:black;
        text-decoration:none;
}
a.button:hover span.ucIcon {
    color:red;
}
input.cancel {
    color:#900;
    background-color:#eee;
    border-color:red;
}
input.delete {
    background-color:#c00;
    border-color:#c00;
    color: white;
}

/* a.button_sm are used as links/controls in reports - similar to btn-sm */

a.button_sm {
  display: inline-block;
  margin-bottom: 0;
  margin-right:4px;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  background-color:#eee;
  border: 1px solid #999;
  color: blue;
  white-space: nowrap;
  padding: 1px 5px;
  font-size: 12px;
  border-radius: 3px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  line-height: 1.5;
  border-radius: 3px;
  text-decoration:none;
}

a.button_sm:hover {
    background:#fff;
    text-decoration:none;
}

a.button_sm:active {
    color: #3b0611;
    border-top:1px solid #3b0611;
    border-left:1px solid #3b0611;
    border-bottom:0px solid #3b0611;
    border-right:0px solid #3b0611;
}

div.formButtons {
    margin-bottom:10px;
}

table.Report .btn {
    margin-right:5px;
}

/* linkforms (regular-looking links that post) */

button.linkbutton {
    border:0px solid white;
    padding:0px;
    margin:0px;
    color:blue;
    text-decoration:underline;
    font-size:medium;
    display:inline;
    font:inherit;
    background-color:inherit;
}
form.linkform {
    display:inline;
    margin:0px;
}

/* unicode toolbuttons */

a.uctool {
    display:inline-block;
    color:white !important;
    background-color:#337ab7;
    border-radius:10px;
    text-decoration:none;
    height:19px;
    width:19px;
    padding:7px;
    overflow:visible;
    margin-right:2px;
    font-size:15px;
    position:relative;
    top:6px;
    left:0px;
}
a.uctool.tone-bad {
    background-color:#c00;
}
a.uctool.tone-good {
    background-color:green;
}
a.uctool .ucicon {
    display:inline-block;
    text-align:center;
    
    width:20px;
    position:relative;
    top:-8px;
    left:-5px;
}
a.uctool:hover {
    text-decoration:none;
    background-color:black;
}
button .ucicon {
    color:#337ab7;
}
.btn-success .ucicon, .btn-danger .ucicon {
    color:white;
}
.ucicon, .toolicon {
    margin-right:5px;
}

/* Font Awesome icons */

.fa {
    margin-right: 5px;
}
.fatool .fa {
    margin-right: 0px;
}
.btn-success .tone-good, .btn-danger .tone-bad {
    color:white;
}
a.fatool {
    display:inline-block;
    color:#337ab7;
    text-decoration:none;
    margin-right:5px;
    font-size:14px;
}
a.fatool:hover {
    text-decoration:none;
    color:black;
}
.dropdown-menu .fa {
    position:relative;
    left:-5px;
}

/* help links */

a.helplink {
    color:#090;
    padding:3px;
    border-radius:3px;
    text-decoration:none;
    font-size:90%;
}
a.helplink:hover {
    background-color:#ded;
}

/* Icon */

div.icon:hover {
    background-color:#ddd;
}
div.icon a {
    font-size:90%;
}
div.icon-lg a {
    font-size:110%;
}
div.icon-lg {
  height:100px;
  width:100px;
  padding-top:15px;
  margin-bottom:5px;
}
.icon a { 
    margin-right:0px;
}
.icon .iconimg {
  font-size:20pt;
}
.icon-lg .iconimg {
  font-size:32pt;
}
.icon .iconimg img {
  max-height:24px;
  max-width:24px;
  padding:0px;
  font-size:24pt;
}
.icon-lg .iconimg img {
  max-height:64px;
  max-width:64px;
  height:64px;
  width:64px;
  padding:0px;
  font-size:24pt;
}
.icon-sm img {
  height:16px;
  width:16px;
  padding:0px;
    margin-right:5px;
}

div.icon {
    float:left;
    width:110px;
    height:115px;
    text-align:center;
    overflow:hidden;
    font-size:80%;
    border-radius:10px;
}
div.icon img {
    padding:10px;
    border-width:0px;
}
div.icon a { 
    font-size:9pt;
    text-decoration:none;
    color:#333;
    font-weight:normal;
}

/* bars */

.basicbar {
  padding: 8px 15px;
  list-style: none;
  background-color: #f5f5f5;
  border-radius: 4px;
  border:1px solid #ccc;
}
.breadcrumb {
  border:1px solid #ccc;
}
.navbar {
    border-radius:0px;
}
.navbar-brand img {
    position:relative;
    top:-15px;
}
a.btn img {
  padding-right:5px;
}
.basicbar, .menubar, .toolbar {
    margin-bottom:20px;
}

.btn-group .btn-default {
    background-color:#eee;
    color:#666;
}
.btn-group .btn-default:hover {
    color:black;
}
.btn-group .btn-danger,.btn-group .btn-success {
    color:white;
}
    
/*
.toolbar .btn {
    color:#666;
    background-color:#eee;
}
.toolbar .btn.tone-bad{
    color:#c00;
}
.toolbar .btn.tone-good{
    color:green;
}
.toolbar .btn-group {
    margin-right:5px;
}
*/
.breadcrumb > li + li:before {
  content: ">\00a0" !important;
  padding: 0 5px;
  color: #999 !important;
}
.vmenu {
    width:250px;
}
.vmenu-sm {
    width:150px;
}
.vmenu-lg {
    width:auto;
}

/* figures */

div.figure {
    margin:15px;
}
div.figure-wrapper {
    display:inline-block;
}
div.figure img {
    border:1px solid #ccc;
    padding:15px;
}

/* messages, simple boxes */

p.msg { border-radius:5px; }
p.msg-large {
  padding:20px;
    font-size:large;
}
p.msg-medium {
  padding:10px;
  width:50%;
}
p.msg-small {
  display:inline-block;
  padding:5px;
    font-size:small;
}

.bg-primary a {
    color:white;
    text-decoration:underline;
}

/* boxes */

.box-large {
  width:100%;
  margin-bottom:10px;
}
.box-medium {
  width:50%;
  min-width:500px;
  margin-right:10px;
  margin-bottom:10px;
}
.box-small {
  width:25%;
  min-width:250px;
  margin-right:10px;
  margin-bottom:10px;
}
.box-small .panel-body {
    font-size:90%;
}
.box-small .panel-title {
    font-size:110%;
}

.scrollbox .panel-body {
    overflow:auto;
    height:400px;
}
.scrollbox.box-small .panel-body {
    height:200px;
}
.scrollbox.box-large .panel-body {
    height:600px;
}

.cropbox.box-small .panel-body {
    overflow:hidden;
    height:200px;
}
.cropbox.box-medium .panel-body {
    overflow:hidden;
    height:400px;
}
.cropbox.box-large .panel-body {
    overflow:hidden;
    height:600px;
}

.panel-title {
    font-weight:normal;
}

.alert {
    width:350px;
    position:fixed;
    top:175px;
    right:20px;
    opacity:0.85;
    border-width:3px;
    box-shadow: 5px 5px 10px #999;
}
.alert-closed {
    display:none;
}

/* menu, tab boxes */

.menubox {
    margin-bottom:10px;
}
.menuboxpane {
    min-height:200px;
    margin-left:160px;
    width:auto;
    padding:20px;
    border:1px solid #ddd;
    border-radius:5px;
}
.menubox .vmenu { 
    float:left;
}

.menubox .nav-pills a {
    border:1px solid #ccc;
    margin-bottom:5px;
}
.menubox .nav-pills a.thisitem {
    border:none;
}


.tab-pane {
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
    border-bottom:1px solid #ccc;
    padding:20px;
}
.tabbox {
    margin-bottom:10px;
}
/* use darker rules than bootstrap default of #ddd */
.nav-tabs {
    border-bottom:1px solid #ccc;
}
.nav-tabs > li > a {
    background-color:#f7f7f7;
    border: 1px dotted #ddd;
    border-bottom: 1px solid #ccc;
    margin-right:4px;
    padding: 5px 10px;
    font-size:90%;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  border: 1px solid #ccc;
  border-bottom-color: transparent;
}

/* accordions, blindboxes */

a.accordionLink {
    display:block;
    padding:10px 15px 10px 30px;
    border-top-left-radius:3px;
    border-top-right-radius:3px;
    background:url(arrow-up.png);
    background-repeat:no-repeat;
    background-position:10px 10px;
}
.accordionLink.collapsed {
    background:url(arrow-down.png);
    background-repeat:no-repeat;
    background-position:10px 10px;
}
a.accordionLink:hover {
    text-decoration:none;
    background-color:#999;
    color:white;
    border-color:#999;
}
.accordionbox .panel-heading {
    padding:0px;
}

/* Framed Boxes */

div.framebox {
    margin-bottom:2px;
    margin-right:10px;
}
span.framehead {
    display:inline-block;
    position:relative;
    left:15px;
    top:5px;
    z-index:1;
    padding-left:8px;
    padding-right:8px;
    padding-top:2px;
    padding-bottom:2px;
    font-size:120%;
    font-weight:bold;
    color:#999;
}
div.framepane {
    position:relative;
    top:-8px;
    z-index:0;
    padding:20px;
    border:1px solid #ccc;
    border-radius:5px;
}

/* OverlayFrame */

#OLbox {
    margin:auto;
    margin-top:60px;
    width:80%;
    height:80%;
    padding:0px;
    opacity:1.0;
}
#OLbox iframe {
    height:100%;
    width:100%;
    border:1px solid black;
    background-color:white;
}
#OLwrapper {
    width:100%;
    height:100%;
    position:fixed;
    top:0px;
    left:0px;
    display:none; 
    z-index:100;
}
#OLscreen {
    width:100%;
    height:100%;
    background-color:black;
    opacity:0.5;
    position:fixed;
    top:0px;
    left:0px;
    display:none;
    z-index:100;
}
#OLctrl a {
    display:block;
    width:75px;
    font-size:x-small;
    padding-top:3px;
    padding-bottom:3px;
    padding-left:5px;
    padding-right:15px;
    color:white;
    text-decoration:none;
    cursor:pointer;
}
#OLcloseTab {
    float:right;
    width:70px;
    font-size:x-small;
    padding-right:5px;
    border:1px solid black;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    background:black;
    position:relative;
    right:-2px;
}

/* Arrows */

.arrowbox {
  height:11px;
  width:11px;
  padding:2px 1px 0px 1px;
  display:inline-block;
}
.arrow_up {
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-bottom:10px solid #666;
}
.arrow_down {
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:10px solid #666;
}
.arrow_left {
  width:0;
  height:0;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-right:10px solid #666;
}
.arrow_right {
  width:0;
  height:0;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:10px solid #666;
}
.arrow_up:hover {
  border-bottom:10px solid red;
  cursor:pointer;
}
.arrow_down:hover {
  border-top:10px solid red;
  cursor:pointer;
}
.arrow_left:hover {
  border-right:10px solid red;
  cursor:pointer;
}
.arrow_right:hover {
  border-left:10px solid red;
  cursor:pointer;
}

/* simple treeview */

.tv {
  list-style-type: none;
  margin:0px;
  padding-left:0px;
}
.tv ul {
  list-style-type: none;
  margin:0px;
  padding-left:20px;
}
.tv-opener {
  position:relative;
  margin-right:10px;
  height:11px;
  width:11px;
  display:inline-block;
}
.tv-opener:hover {
  cursor:pointer;
}
.tv-open {
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:10px solid #337ab7;
}
.tv-closed {
  width:0;
  height:0;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:10px solid #337ab7;
}
.tv-open:hover {
  border-top:10px solid #337ab7;
}
.tv-closed:hover {
  border-left:10px solid #337ab7;
}
.tv-null:hover {
  cursor:auto;
}
.listitem_details {
    padding-left:10px;
    color:grey;
}

/* bootstrap overrides */

input,select {
    margin:5px;
}
.btn-default {
    background-color:#eee;
}
label {
    margin-bottom:0px;
    font-weight:normal;
}
.vmenu .btn-group {
    display:block;
}
.vmenu .btn-group .caret {
    float:right;
    position:relative;
    top:8px;
}
.list-group-item.tone-bad {
    color:#c00;
}
.vmenu-lg .list-group-item {
    font-size:120%;
}
.menubar .btn-default {
    background-color:#f5f5f5;
}
.badge {
    background-color:#337ab7 !important;
}

/* modals */

.modal-header {
    font-size: larger;
    font-weight: bold;
    background-color: #eee;
}

/*
.vmenu a.list-group-item {
    background-color:#f5f5f5;
}
*/

/* common CMS content functions */

.navpath, .navpath a {
    color:grey;
    font-size:x-small;
    font-style:italic;
}

/* sortables */

#sortable { 
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#sortable li { 
    margin: 0 3px 3px 3px;
    padding: 5px;
    padding-left: 35px;
    border:1px solid #ddd;
    background:white url(drag.png) no-repeat 15px center;
    border-radius:3px;
}

/* images */

.contentImage {
    padding:10px;
    border:1px solid #ccc;
    background:white;
    margin-bottom:10px;
    height:110px;
}
.imageThumb {
    width:120px;
    float:left;
    height:100px;
    margin-left:50px;
}
.imageEditDetails {
    padding:10px;
}
.imageEditDetails em {
    display:inline-block;
    border:1px dotted #ccc;
    background-color:#eee;
    padding:3px 5px;
    min-width:200px;
}
.imageEditDetails .btn {
    margin-left:5px;
}
.imageDelete {
}
.noCaption {
    font-style:italic;
    color:grey;
}

/* laptops */


@media only screen and (max-width : 1279px) {

#OLbox {
    margin-top:40px;
    width:90%;
    height:90%;
}

}
/* mobile rules */

@media only screen and (max-width : 799px) {

p.msg-medium {
  width:auto;
}
.box-medium {
  width:auto;
}
.box-small {
  width:50%;
}
#OLbox {
    margin-top:30px;
    width:95%;
    height:95%;
}

}
