@charset "UTF-8";

/*
	Theme Name: Matla Employers
	Theme URI: https://wordpress.org/themes/twentytwentyone/
	Author: Think Malta
	Author URI: https://think.mt
	Description: Wordpress theme for Malta Employers
	Requires at least: 5.3
	Tested up to: 5.6
	Requires PHP: 5.6
	Version: 1.0
	Text Domain: maltae
*/
@import url("dist/app.css");

.wpcf7-not-valid-tip {
	display: none !important;
}

.join-form .wpcf7-not-valid-tip {
    display: block !important;
}

.forgotpass .um-um_password_id.um {
	max-width: 100%;
}

.um-field-block div {
	text-align: left !important;
}

.wpcf7-form-control-wrap {
    display: block;
}

.um-button {
    font-family: "AvenirBold";
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    padding: 1em 2em;
    border: 1px solid rgba(98,98,98,0.3);
    border-radius: 0.3em;
    list-style: none;
    box-shadow: 0px 2px 0px rgb(98 98 98 / 30%);
    transition: all .3s ease-out;
	background: #be2e29;
    color: #ffffff;
}

.um-button:hover {
    opacity: 0.8;
    transition: all .3s ease-out;
}

input.um-form-field {
	background-color: #ffffff !important;
    border: 1px solid #282461 !important;
}

input.um-form-field:focus {
    outline: #be2d2a;
    box-shadow: 0px 0px 5px #be2d2a;
}

.um-field-error {
    display: block;
    background: #ecedef;
    padding: 1em;
    border: solid 1px #626262;
    border-radius: 3px;
    margin: 1em 0em;
    text-align: center;
	color: #fff !important;
    border: solid 1px #be2d2a;
    background: #d64845;
}

.um-field-block {
    color: #282461;
    font-family: AvenirBold;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 300;
}

.um-err {
	padding-top: 100px;
	position: relative;
}

.um-field-error {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.um-field {
	margin-bottom: 15px;
	overflow: hidden;
	padding: 5px 0;
}

.um-field:last-child {
	margin-bottom: 0;
}

.um-bottom {
	overflow: hidden;
	margin-top: 20px;
}

.um-center {
	text-align: right;
}

.search-button {
	background: #ffffff;
    color: #be2d2a;
    font-family: "AvenirBold";
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
    padding: 1em 2em;
    border: 1px solid rgba(98,98,98,0.3);
    border-radius: 0.3em;
    list-style: none;
    box-shadow: 0px 2px 0px rgb(98 98 98 / 30%);
    transition: all .3s ease-out;
}

.um.um-password.um-um_password_id {
	max-width: 100%;
}

.cp-errors {
    display: block;
    background: #ecedef;
    padding: 1em;
    border: solid 1px #626262;
    border-radius: 3px;
    margin: 1em 0em;
    text-align: center;
    color: #fff !important;
    border: solid 1px #be2d2a;
    background: #d64845;
}

.wpcf7-countrytext {
    float: none;
}

.fields span:not(.wpcf7-form-control-wrap) {
    width: auto;
}

.fields .wpcf7-list-item label {
    width: auto;
    float: none;
}

.wpcf7-list-item-label {
    display: inline-block;
    margin-right: 15px;
}

.page .reg-table td {
    padding: 3px;
}

.wpcf7-not-valid {
    border: 1px solid #d64845 !important;
}

.wpcf7-not-valid::placeholder {
    color: #d64845 !important;
}

.wpcf7 form .wpcf7-response-output {
    border: 0 !important;
}

.join-thanks {
    display: none;
}

.container  {
    max-width: 980px;
}

.container-fluid .container,
.container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.meaindex-link {
    margin-right: 25px;
    display: inline-block;
}

.footer p, .footer a {
    color: #fff;
    display: inline-block;
}

.carousel-text h5 {
    margin: 0;
}

.mobile-menu-btn {
    position: absolute;
    right: 15px;
    top: calc(50% + 10px);
    transform: translateY(-50%);
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    display: none;
}

.mobile-menu-btn span {
    height: 2px;
    display: block;
    background: #000;
    margin-bottom: 4px;
}

.mobile-menu-btn span:last-child {
    margin-bottom: 0;
}

.mobile-menu.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
    display: none;
}

.mobile-menu__wrapper {
    height: 100%;
    overflow-y: auto;
}

.mobile-menu__wrapper .menu {
    list-style: none;
    padding-left: 15px;
    padding-right: 15px;
}

.mobile-menu__wrapper .sub-menu {
    display: none;
}

.mobile-menu__wrapper .menu > li {
    padding: 7px 0;
    border-bottom: 1px solid #282461;
}

.mobile-menu__wrapper .menu li a {
    color: #282461;
    position: relative;
    font-size: 18px;
}

.mobile-menu__wrapper .menu .sub-menu {
    list-style: none;
    padding-left: 10px;
}

.mobile-menu__wrapper .menu .sub-menu li a {
    font-size: 15px;
}

.mobile-menu .menu > .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    background: url(assets/images/menu-arrow.png) no-repeat;
    background-size: 100% 100%;
    left: calc(100% + 7px);
    top: 50%;
    transform: translateY(-50%);
    transition: .25s;
}

.mobile-menu .menu > .menu-item-has-children.opened > a::after {
    transform: translateY(-50%) rotate(90deg);
    transition: .25s;
}

.mobile-menu__wrapper {
    padding-top: 50px;
}

.mobile-menu__close {
    position: absolute;
    width: 25px;
    height: 25px;
    transform: rotate(45deg);
    top: 30px;
    right: 15px;
}

.mobile-menu__close::before {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 2px;
    background: #be2d2a;
    transform: translateX(-50%);
    left: 50%;
}

.mobile-menu__close::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #be2d2a;
    height: 2px;
}

.mobile-menu__wrapper .menu > li:last-child {
    border-bottom: 0;
}

article {
    padding: 0 15px;
    max-width: 100%;
    overflow-x: auto;
}

article img {
    max-width: 100%;
    height: auto;
}

.map-wrapper {
    max-width: 100%;
    overflow: hidden;
}

article table {
    max-width: 100%;
    overflow-x: auto;
}
 
@media (max-width: 991px) {
    .main-menu-wrapper {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    body {
        padding-top: 100px;
    }

    .top-social {
        width: 100%;
    }

    .intro p, .icons p {
        padding: 0 15px;
    }

    .red-block {
        margin-left: 0;
    }

    .header {
        padding: 0 15px;
    }

    .top-logo {
        position: absolute;
        width: 28% !important;
    }

    .lower-layer {
        text-align: center;
    }

    .meaindex-link {
        margin-right: 0;
    }

    .carousel-text {
        position: static;
        width: 100%;
    }

    .carousel-text .btn {
        max-width: 100%;
    }

    .carousel.slide {
        padding: 0 15px;
    }

    .sitemap-logo, .sitemap-contact {
        float: none;
        width: 100%;
    }

    .sitemap-links {
        float: none;
        width: 100%;
        display: flex;
    }

    .sitemap-links li a {
        font-size: 16px;
    }

    .sitemap-logo img {
        width: 40%;
    }

    .sitemap-box {
        min-height: 0;
        margin-bottom: 20px;
    }

    .sitemap a, .sitemap p {
        font-size: 15px;
    }

    .padded {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .footer {
        padding: 15px !important;
    }

    .footer p {
        text-align: center;
        padding: 10px 0;
    }

    .social img {
        max-width: 100%;
    }

    .login-block,.register-block {
        display: flex;
        justify-content: center;
    }

    .lower-layer {
        display: none;
    }

    .headlines-item {
        width: 100%;
    }

    .news-list .item .news-content {
        width: 65%;
    }

    .carousel-text .btn {
        position: static;
        width: 100%;
        padding: 10px 15px;
    }

    .carousel-text {
        height: auto;
        padding: 2em 15px;
    }

    .carousel img {
        height: 200px;
        display: block;
    }

    .carousel-text h5 {
        font-size: 25px;
        text-align: center;
    }

    .carousel-text h6 {
        margin: 0;
    }

    .carousel-control.right {
        padding-top: 0;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-control.left {
        padding-top: 0;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
    }

    .carousel-control {
        bottom: auto;
    }

    .circle-box {
        display: flex;
        flex-direction: column;
        align-items: center; 
    }

    .circle-box .img-box {
        width: auto;
    }

    .circle-box .txt-box {
        width: auto;
    }

    .circle-text h2 {
        margin-bottom: 0;
        min-height: 0;
    }

    .circle-text p {
        padding: 10px 15px;
    }

    .list-aff ul {
        display: block;
    }

    .list-aff {
        height: auto;
    }

    .corporate-sponsors h4 {
        min-height: 0;
    }

    .social.container-fluid .container, .social.container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }

    .social h4 {
        font-size: 30px;
    }

    .social {
        min-height: 250px;
    }

    .page:not(body) article {
        width: 100%;
        padding: 0 15px;
    }

    .page:not(body) aside {
        width: 100%;
        padding: 0 15px;
    }

    .breadcrumb {
        padding: 0 15px;
        padding-top: 20px;
    }

    .page:not(.home) p:not(.menu-item-desc) {
        padding: 5px 0;
    }

    .top-social {
        margin-right: 40px;
    }

    .fixed-menu {
        display: none !important;
    }

    .top-social {
        height: auto !important;
        display: block !important;
        opacity: 1 !important;
    }

    .member-item img {
        float: none;
        margin-left: 0;
    }

    .header {
        padding-top: 15px;
    }

    .login-layer {
        position: absolute;
        top: 5px;
        right: 15px;
    }

    .top-logo {
        top: 25px;
    }
}

@media (max-width: 991px) and (orientation: landscape) {
    .top-logo {
        width: 18% !important;
    }
}

@media (max-width: 568px) {
    .mobile-col {
        display: flex;
        flex-direction: column;
    }

    .mobile-full-w {
        width: 100% !important;
    }

    .login {
        width: 100% !important;
    }

    .eventBox {
        padding-bottom: 10px;
        margin-bottom: 40px;
    }

    .join-form .mobile-col {
        margin-bottom: 20px;
    }

    .join-form .mobile-col input,
    .join-form .mobile-col label,
    .join-form .mobile-col select {
        width: 100%;
    }

    .join-form .mobile-col label {
        margin-bottom: 5px;
    }

    .main-news-list .item {
        margin-right: 10px;
        float: none;
        width: 100%;
    }

    .main-news-list .item img {
        object-fit: cover;
    }

    .main-news-list .item .news-content {
        position: static;
        min-height: 60px;
        height: auto;
    }

    .main-news-list .item .news-content h3 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .main-news-list .item:nth-child(3n) {
        float: none;
        width: 100%;
    }

    .main-news-list .item .news-content header h3 a time {
        float: none;
        display: block;
        text-align: right;
    }

    .fields .mobile-col label {
        margin-bottom: 4px;
        width: 100%;
    }

    .fields .mobile-col input,
    .fields .mobile-col textarea,
    .fields .mobile-col select {
        width: 100%;
    }

    .page:not(.home) p:not(.menu-item-desc) {
        overflow: visible;
    }
}