.dwd-container {
    width: 100%;
    background-color: #2d7aac;
    padding: 50px;
}

.dwd-container h1 {
    text-align: center;
    color: #FFF!important;
}

.dwd-form {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dwd-form small {
    position: absolute;
    top: -28px;
    color: #FFF;
}

#keywordInput,
#cityInput{
    margin-right: 10px;
    width: 250px;
}

.dwd-form input {
    max-width: 300px;
}

.dwd-form a {
    background: transparent;
    color: #FFF;
    padding: 10px 40px;
    border-radius: 20px;
    border: 1px solid #FFF;
}

.dwd-form a:hover {
    color: #DDD;
    border-color: #DDD;
}

.form--invalid #keywordInput {
    border: 1px solid #e74c3c;
}

.form--invalid small {
    color: #e74c3c!important;
}

.dwd-results-container {
    margin-top: 50px;
    display: none;
}

.dwd-results-container .dwd-button-wrapper {
    text-align: center;
}

.dwd-results-container .dwd-button-wrapper a {
    padding: 10px 31px;
    border-radius: 20px;
    color: #FFF;
    background-color: #2d7aac;
    white-space: nowrap!important;
}

.dwd-results-container .dwd-button-wrapper a:hover {
    color: #FFF!important;
}

.dwd-results-container table {
    width: 80%;
    margin: 0 auto;
    background-color: #FFF;
}

.dwd-results-container table th {
    width: 30%;
    text-align: center;
    padding: 10px;
    font-weight: bold;
}

.dwd-results-container table thead th .dwd-sort-control:after {
    content: '';
    display: inline-block;
    width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #2d7aac;
    margin-bottom: 5px;
    margin-left: 7px;
}

.dwd-results-container table thead th .dwd-sort-control.reversed:after {
    transform: rotate(180deg);
}

.dwd-results-container table th:first-child {
    width: 15%;
}

.dwd-results-container table thead {
    font-size: 22px;
}

.dwd-results-container table tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.dwd-results-container table td {
    padding: 10px;
}

.dwd-results-container table tr td:nth-child(3),
.dwd-results-container table tr td:nth-child(4){
    text-align: center;
}

.dwd-results-container table tr a {
    color: #2d7aac;
}

.dwd-results-container table tr a:hover {
    color: #184a6a;
}

.dwd-job-company {
    display: block;
}

.dwd-view-more {
    cursor: pointer;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    padding: 25px;
}

.dwd-loader-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: none;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.dwd-loader-container.show-loader {
    display: flex;
}

.dwd-loader,
.dwd-loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
.dwd-loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(255, 255, 255, 0.2);
    border-right: 1.1em solid rgba(255, 255, 255, 0.2);
    border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
    border-left: 1.1em solid #ffffff;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 783px) {
    .dwd-form {
        flex-direction: column;
    }

    .dwd-form > * {
        margin-bottom: 15px;
    }

    #keywordInput,
    #cityInput{
        margin-right: 0;
    }

    .dwd-container {
        padding: 25px;
    }

    .dwd-results-container table {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .dwd-results-container table tbody {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .dwd-results-container table thead th:first-child {
        display: none;
    }

    .dwd-results-container table tbody tr {
        display: flex;
        flex-direction: column;
    }

    .dwd-results-container table tbody tr td:first-child {
        order: 4;
    }

    .dwd-results-container .dwd-job-link,
    .dwd-results-container .dwd-job-company {
        display: block;
        text-align: center;
    }
}
