
/*
---------------------------------------------------------------------------------------
APOLLO ACCESSIBILITY WIDGET - CSS
EITHIER INCLUDE - https://dev.apollocentral.co.uk/apollo-widget/apolloaccessibility.css
OR
REPLACE WITH BRANDED CSS
---------------------------------------------------------------------------------------
*/
.apc-widget-colour-overlay {
  border: 1px solid black;
  position: fixed;
  width: 80px;
  height: 40px;
}


.apc-widget-font-static {
    font-size: 12px !important;
}


/* Universal Bootstrap-like select styling */
apc-select.form-control,
apc-select.form-select,
apc-select.custom-select {
    display: block;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5'><path fill='%23666' d='M2 5L0 0h4z'/></svg>") no-repeat right .75rem center;
    background-size: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

apc-select.form-control:focus,
apc-select.form-select:focus,
apc-select.custom-select:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25);
}



.apc-widget-header {
    width:100%;
    height:25px !important;
    background:Steelblue;
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 8px;
 }

.apc-widget-headerlabel {
    margin-top: 5px;
    margin-left: 5px;
}

/* Protect all panels/controls inside id_pnlAccess */
#id_pnlAccess,
#id_pnlAccess * {
    font-size: initial !important;
}

/* Protect all elements with id starting with 'id_Apollo' */
[id^="id_Apollo"],
[id^="id_Apollo"] * {
    font-size: initial !important;
}


/* Apollo Accessibility widget base styles (design-time / host) */
#apollo-widget-button,
.apc-widget-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #007ACC;
  display:flex;
  align-items:center;
  justify-content:center;
}

#apollo-widget-button span { color: white; font-weight: 700; font-size: 22px; user-select: none; }

#apollo-widget-container,
.apc-widget-container {
  position: fixed; top: 80px; left: 0; right: 20px; width: 355px; height: 320px;
  background: white; border:1px solid #ccc; box-shadow:0 2px 10px rgba(0,0,0,0.3);
  display: none; overflow: hidden; z-index: 999998; transition: opacity 0.25s ease;
}

#apollo-widget-header,
.apc-widget-header {
  width:100%;
  height:40px;
  background:Steelblue;
  color:white;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

#apollo-widget-body,
.apc-widget-body {
    position: fixed;
    top: 40px;
    width:100%;
    height: calc(100% - 40px);
    overflow:auto;
    box-sizing:border-box;
}

.apc-widget-actionbtn {
    background-color: seagreen;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.apc-widget-actionimg {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
.apc-widget-toolbarbtn {
    width: 40px;
    height: 40px;
}

.apc-widget-iconsettings {
    position: absolute;
    bottom: 0;
    right: 0;
}

.apc-widget-iconcontainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 999999;
  width: 60px;
  height: 70px;
  cursor: grab;
}

.apc-widget-micbtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #444;
    color: white;
    display: flex;
    font-size: 30px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,.2);
    transition: background .2s, transform .2s, box-shadow .2s;
    z-index: 9999;
}


.apc-widget-micbtn.active {
    background: red !important;
    box-shadow: 0 0 20px red;
    transform: scale(1.1);
}



/* ------------------------------
   Margin bottom utility (mb-3)
-------------------------------*/
.mb-3 {
  margin-bottom: 1rem !important;
}

/* ------------------------------
   Form label
-------------------------------*/
.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ------------------------------
   Form control (input, textarea, select)
-------------------------------*/
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem; /* vertical | horizontal */
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.apc-widget-statetext {
    font-size: 10px !important;
    color: white;
}


