/* CSS Document */

/* general css */
.hidden {
    display: none;
}
.center {
    text-align: center;
}
.no-margin-top {
    margin-top: 0;
}
h1 {
    margin-top: 15px;
}
h3 {
    font-size: 20px;
}
#menu-resource-bar-resource-heading a {
    font-size: 24px;
}

/* flexbox css */
.flex{
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2%;
}
.flex > div {
    flex-grow: 1;
}
.small-input {
    flex-basis: 250px;
}
.medium-input {
    flex-basis: 400px;
}
.flex > div input:not([type=submit]), .flex > div textarea {
    width: 100%;
}
.large-input, .section-title {
    flex-basis: 100%;
}

/* form css */
label {
    font-weight: 600;
    color: #59585f;
}

input:not([type=search], .search-button), textarea, select {
    border-width: 1px;
    border-style: solid;
    border-color: #d6d8da;
    border-radius: 2px;
    padding: 8px;
	margin-bottom: 22px;
    width: 97%;
    font-size: 12px;
    line-height: normal;
}
input[type='submit']:not(.search-button) {
	width: 30%;
    right: 30%;
	-webkit-appearance: button;
    appearance:button;
    cursor: pointer;
}

input[type='button'] {
    width: 30%;
    right: 30%;
    background-color: #be2026;
    color: #fff;
}

input[type='checkbox'] {
	width: 15px !important;
	height: 15px !important;
    margin-top: 3px;
}
input[type='tel'] {
	width: 20% !important;
}

label.normal-text {
    font-weight: normal;
}
.checkbox-label-container {
    display: inline-flex;
    flex-direction: column;
    margin-bottom: 22px;
}
.flex-checkbox {
    display: flex;
    flex-direction: row;
    gap: 8px;
}
input, textarea, select {
    box-sizing: border-box;
    font-family: Avenir, sans-serif;
}
input[type=radio] {
    width: auto !important;
}
input[type=file] {
    color: #111;
}
.required {
    color: #be2026;
}



/* server side error css */
.submit-error {
    width: 95%;
    margin: 10px auto;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: #5F0000;
    background-color: #FFC7C7;
    border-color: #CB0000;
    animation: fadein 0.5s;
    transition: 0.5s;
}
@keyframes fadein {
    0% { opacity: 0; bottom: -100px; }
    100% { opacity: 1; bottom: 0; }
}

/* input validation error css */
.invalid {
    outline: 1px solid red;
}
.error-msg {
    color: red;
    font-size: 14px;
    margin: -18px 0 0;
}
.invalid ~ span {
    display: block;
}

/* specific css */
.employer-container {
    position: relative;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid white;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}
.employer-container input {
    margin-bottom: 7px;
}
.employer-container:last-of-type {
    margin-bottom: 0;
}
.close-button {
    font-size: 34px;
    position: absolute;
    cursor: pointer;
    top: 7px;
    right: 7px;
    color: #be2026;
    line-height: 0.5;
}
.close-button:active {
    top: 8px;
}
.warning-box {
    padding: 10px;
    background-color: #e3e3de;
    border-radius: 5px;
    color: #a11b20;
    border: 2px solid black;
    font-weight: bold;
}
/* popup css */
.popup-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.316);
}
.popup-container.hidden {
    display: none;
}
.popup {
    width: 40%;
    margin: 35vh 15px 0;
    background-color: white;
    padding: 5px;
    position: relative;
    border-radius: 10px;
}
.active {
    animation: fadein 0.4s;
}
@keyframes fadein {
    0% { opacity: 0; bottom: -100px; }
    100% { opacity: 1; bottom: 0; }
}
.popup-content {
    font-size: 16px;
    padding: 0 30px 15px;
    margin-top: 40px;
    overflow: auto;
    max-height: 80vh;
    text-align: left;
}
.popup-container .close-button {
    width: 25px;
    height: 25px;
    position: absolute;
    cursor: pointer;
    top: 13px;
    right: 13px;
}
.popup-container .close-button:active {
    top: 14px;
}
.popup-container .close-button:hover {
    content: url("/wp-content/laker-images/laker/laker-cms-images/close-hover.png");
}
@media (max-width: 1200px){
    .popup {
        width: 70%;
    }
}
@media (max-width: 600px){
    .popup {
        width: 100%;
    }
}
