html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

input[disabled="disabled"]
{
    cursor: not-allowed!important;
    opacity: .6;
}

/* Style inputs, select elements and textareas */
input[type=text], select, textarea
{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

/* Style the label to display next to the inputs */
label
{
    padding: 12px 12px 12px 0;
    display: inline-block;
}

input[type=submit],
input.primaryBtn
{
    background-color: #04AA6D;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    /*float: right;*/
}

input[type=submit]
{
    padding: 12px 20px;
}

input.primaryBtn
{
    padding: 6px 12px;
}
/*
.container
{
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}*/

/* Floating column for labels: 25% width */
.row-label
{
    float: left;
    width: 25%;
    margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.row-input
{
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */
.row:after
{
    content: "";
    display: table;
    clear: both;
}

/* Start loading panel */
.portalLoadingPanel
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
    background-color: #EEEEEE;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    z-index: 9999;
}

.portalLoadingPanel.containedToParent
{
    position: absolute;
}
/* End loading panel*/

/* Start - AMS alert messages */
.amsAlertIcon.iconRight
{
    margin-left: 10px;
}

.amsAlertIcon.iconLeft
{
    margin-right: 10px;
}

.amsAlertIcon.iconCenter
{
    margin: 0px 20px;
}

.amsAlertIcon
{
    display: inline-flex;
    height: 24px;
    min-height: 24px;
    width: 24px;
    min-width: 24px;
    background-repeat: no-repeat;
    padding: 0px;
    border-radius: 12px;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    border: none;
    background-position: center;
    background-size: contain;
}

.amsSuccess .amsAlertIcon
{
    background-image: url('/images/alert-icon-success.svg');
    filter: invert(41%) sepia(73%) saturate(372%) hue-rotate(88deg) brightness(93%) contrast(94%);
}

.amsInfo .amsAlertIcon
{
    background-image: url('/images/alert-icon-info.svg');
    filter: invert(72%) sepia(37%) saturate(7039%) hue-rotate(183deg) brightness(89%) contrast(88%);
}

.amsWarning .amsAlertIcon
{
    background-image: url('/images/alert-icon-warning.svg');
    filter: invert(90%) sepia(66%) saturate(4388%) hue-rotate(309deg) brightness(107%) contrast(99%);
}

.amsError .amsAlertIcon
{
    background-image: url('/images/alert-icon-error.svg');
    filter: invert(22%) sepia(85%) saturate(1374%) hue-rotate(333deg) brightness(128%) contrast(87%);
}

.amsAlertMessageContainer
{
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    border: thin solid;
    /*line-height: 25px;*/
    border-radius: 5px;
    width: -webkit-fill-available;
    width: -moz-available;
    /*padding: 10px;*/
    margin: 10px;
}

.amsAlertMessageContainer.amsSuccess
{
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.amsAlertMessageContainer.amsError
{
    /*background-color: #d944421a;
border-color: #D94442;*/
    background-color: #f8d7da;
    border-color: #f5c6cb;
    /*color: #D94442;*/
    color: #721c24;
}

.amsAlertMessageContainer.amsInfo
{
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

.amsAlertMessageContainer.amsWarning
{
    background-color: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

.amsAlertMessageContainer.hidden
{
    display: none;
}

.amsAlertMessageIconContainer
{
    display: inline-flex;
}

.amsAlertMessage
{
    padding: 10px 20px 10px 0px;
    font-size: 15px;
    line-height: 20px;
    width: -webkit-fill-available;
    width: -moz-available;
}
/* End - AMS alert messages */

.pageSection,
.fullPageSection
{
    border: thin solid #DDD;
    border-radius: 4px;
    background-color: #FFF;
    padding: 15px;
    box-shadow: 5px 5px 5px #EEEEEE;
    margin-bottom: 5px;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

.pageSection
{
    display: inline-flex;
}

.fullPageSection
{
    display: block;
}

.phoneCountryCodeInput
{
    max-width: 30px;
}

.phoneAreaCodeInput
{
    max-width: 60px;
}

.phoneNumberInput
{
    max-width: 100px;
}

.phoneExtensionInput
{
    max-width: 80px;
}

/* screen reader only (for hidden labels) */
.sr-only
{
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

h1 {
    font-size: 1.5rem;
}

.hidden
{
    display: none!important;
}

.btn-primary
{
    background-color: #0057b8!important;
}

.customerInfoContainer
{
    position: relative;
}

.customerInfoHeader
{
    font-size: 16px;
}

.customerInfoUser
{
    font-size: 20px;
}

.customerInfoContainer .label
{
    font-weight: bold;
}

.btnCancelClose
{
    background-image: url(/images/x.png);
    border: none;
    border-radius: 4px;
    background-repeat: no-repeat;
    width: 36px;
    height: 36px;
    background-color: white;
    background-position-x: 3px;
    background-position-y: 3px;
    background-position: center;
    background-size: contain;
}

@media screen and (min-width: 992px)
{
    .pageSection
    {
        display: block;
    }
}