:root {
    --backgroundColor: #aaa;
    --borderRadius: 0em;
    --borderColor: #aaa;
    --inputBorderRadius: 0em;
    --errorBackgroundColor: #e74c3c;
    --errorTextColor: #fff;
    --errorBackgroundColor2: #ffffcc;
    --buttonColor: #4eabf9;
    --buttonHoverColor: #3e87c5;
    --buttonActiveColor: #3676ac;
    --buttonWidth: 100%;
    --inputTextColor: #555;
    --errorButtonHoverColor: #fc3b27;
    --errorButtonActiveColor: #ff0000;
    --inputOutlineColor: #93CCEA;
    --inputPadding: 1em;
}

.atelweb-col-12 {
    content: flex;
    flex-wrap: wrap;
}
            
.atelweb-form-control {
    width: 100%;
    height: 2.5em;
    display: block;
    border: 1px solid lightgray;
    border-radius: var(--inputBorderRadius);
    margin-right: 2em;
    padding: var(--inputPadding);
}

.atelweb-form-control:focus {
    outline: 3px solid var(--inputOutlineColor);
}

.atelweb-form-label {
    margin-top: 0.5em;
    margin-bottom: 0.5em!important;
    display: block;
    width: 100%;
}

.atelweb-form-check-input {
    border: 1px solid lightgray;
    width: 1.25em;
    height: 1.25em;
    margin-top: 1em;
    margin-bottom: 1em;
}


.atelweb-form-check {
    display: flex;
    flex-wrap: wrap;
}

.atelweb-form-check-input {
    display: inline-block;
    align-self: center;
}

.atelweb-form-check-input:focus {
    outline: 3px solid var(--inputOutlineColor);
}

.atelweb-form-check-label {
    display: inline-block;
    margin-left: 0.5em;
}

.atelweb-form-check-input,
.atelweb-form-check-label {
    align-self: center;
}

.atelweb-btn,
.atelweb-btn-danger {
    padding: 1em;
    width: 100%;
    border-radius: 0.5em;
    border: none;
    color: var(--errorTextColor);
}

.atelweb-btn {
    background: var(--buttonColor);
    width: var(--buttonWidth);
}

.atelweb-btn-danger {
    background: var(--errorBackgroundColor);
}

.atelweb-btn:hover {
    background: var(--buttonHoverColor);
    cursor: pointer;
}

.atelweb-btn:active {
    background: var(--buttonActiveColor);
}

.atelweb-btn-danger:hover {
    background: var(--errorButtonHoverColor);
    cursor: pointer;
}

.atelweb-btn-danger:active {
    background: var(--errorButtonActiveColor);
}

.atelweb-mb-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.atelweb-mb-3 > .atelweb-btn {
    align-self: center;
}

.atelweb1-mb-3 {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.atelweb-container {
    margin: 1em;
    font-family: sans-serif;
    z-index: 10;
}
     

/* Button used to open the contact form - fixed at the bottom of the page */
.atelweb-open-button {
    background-color: var(--inputTextColor);
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 23px;
    right: 28px;
    width: 280px;
    border-radius: 0.5em;
}

/* The popup form - hidden by default */
.atelweb-form-popup,
.atelweb-form-popup * {
    box-sizing: border-box;
}

.atelweb-form-popup {
    display: none;
    position: fixed;
    border: 1px solid var(--borderColor);
    border-radius: var(--borderRadius);
    z-index: 999;
    background: var(--backgroundColor);
}


.atelweb-form-center {
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}

.atelweb-form-bottom-right {
    right: 1em;
    bottom: 1em;
}

.atelweb-btn-close {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    background: none;
    border: none;
}

.atelweb-btn-close:hover {
    font-weight: bold;
    cursor: pointer;
}

.atelweb-error {
    color: var(--errorBackgroundColor);
    background: var(--errorBackgroundColor2);
    font-size: 1em;
}

.atelweb-error ul {
    list-style: circle;
    padding: 1em;
}

/* For Mobile Landscape View */
@media screen and (max-device-width: 640px)
and (orientation: landscape) {
    .atelweb-form-popup {
        width: 100%;
    }
}
 
/* For Mobile Phones Portrait or Landscape View */
@media screen and (max-device-width: 640px) {
    .atelweb-form-popup {
        width: 100%;
    }
}
 
/* For iPhone 4 Portrait or Landscape View */
@media screen and (min-device-width: 320px)
and (-webkit-min-device-pixel-ratio: 2) {
    .atelweb-form-popup {
        width: 100%;
    }
}
 
/* For iPhone 5 Portrait or Landscape View */
@media (device-height: 568px) and (device-width: 320px)
and (-webkit-min-device-pixel-ratio: 2) {
    .atelweb-form-popup {
        width: 100%;
    }
}
 
/* For iPhone 6 and 6 plus Portrait or Landscape View */
@media (min-device-height: 667px) and (min-device-width: 375px)
and (-webkit-min-device-pixel-ratio: 3) {
    .atelweb-form-popup {
        width: 100%;
    }
}

.atelweb-container {
    background-color: var(--backgroundColor) !important;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
}