/* General */
#post-1953 .container { width: 90%; max-width: 1100px; }
#zw-slider { display: none; }

/* Filters */
main:after { content: ''; display: block; clear: both; }
main form { float: left; width: 255px; max-width: 100%; background: #FFF; border-top: medium double #ff0000; border-bottom: medium double #ff0000; border-radius: 10px; text-align: center; padding: 20px 15px; box-sizing: border-box; box-shadow: 0 0 5px 3px #C1C1C142; }
#container form h2 { font-weight: 600; font-size: 22pt; color: #e7e7e7; width: auto; margin: 0 0 17px; letter-spacing: -1px; }
#container form h3, .section-block section h2 { color: #373737; font-size: 15pt; margin: 25px 0 9px; letter-spacing: -.25px; border-left: 3px solid #ff0000; padding: 0 0 0 10px; font-weight: 600; }
main h3 { letter-spacing: 0; text-align: left; font-size: 13pt; margin: 0 0 8px; }
main .date { font-size: 10pt; margin: 0 0 6px; letter-spacing: -.25px; }
.line { margin: 0 0 9px; line-height: 1.1; }
.line label { display: inline-block; width: 100%; margin: 0; font-size: 10pt; text-align: left; line-height: 1.3; transition: all .4s; }
.line label:hover { color: #f97070; }
.line [type="checkbox"] { display: none; }
.line [type="checkbox"]:checked + label { color: #ff0000; }
#container main [type="text"] { min-height: 34px; width: 100%; box-sizing: border-box; background: #fbfbfb; margin: 0 0 7px; border: 0; border-bottom: 1px double #f97070; font: 10pt 'nexa_lightregular', 'Arial', 'Helvetica', sans-serif; }
#container main [type="text"]:focus { border-bottom: 1px double #ff0000; }
main .select2-container { z-index: 98; }
main [type="submit"] { font-weight: 700; text-transform: uppercase; background: #ff0000; color: #fff; margin: 20px auto 0; display: flex; align-items: center; justify-content: center; border: 0; width: 100%; border-radius: 5px; }
main [type="submit"]:before { content: ' '; display: inline-block; background: url( '../images/icons/search.png' ) no-repeat center/contain; width: 20px; aspect-ratio: 1; margin: 0 3px 0 0; transition: transform .5s ease-in-out; }
main [type="submit"]:hover { background: #ff4343; }
main [type="submit"]:hover:before { transform: rotate( 90deg ); }

/* Results table */
main section { display: flex; flex-wrap: wrap; gap: 30px 20px; float: right; width: calc( 100% - 285px ); position: relative; }
main section.loading:before { content: ' '; display: block; background: #000000d9; position: absolute; top: 0; left: 0; right: 0; bottom: -13px; z-index: 1; border-radius: 10px; }
main section.loading:after { content: ' '; background: #fff url( '../images/icons/hr-logo.png' ) no-repeat center; display: block; position: absolute; top: 50%; left: 50%; transform: translate( -50%, -50% ); width: 50px; aspect-ratio: 1; border-radius: 50%; z-index: 2; box-shadow: 0 0 11px 4px #00000024; animation: turn 1s infinite; transform-origin: 50%; }
main section.loading.discreet:before, main section.loading.discreet:after { display: none; }
@keyframes turn { 0% { transform: rotate( 0deg ); } 100% { transform: rotate( 360deg ); } }
.section-block section h2 { margin: 0; text-transform: none; }
.section-block section a + h2 { margin: 27px 0 0; }
main section a { position: relative; display: block; flex: 0 calc( ( 100% - 40px ) / 3 ); box-shadow: 0 0 5px 2px #0000001a; border-radius: 10px; padding: 0 0 30px; transition: all .6s; }
main section a:after { content: ' '; width: 21px; height: 24px; display: block; position: absolute; bottom: -14px; left: 50%; transform: translateX( -50% ); padding: 0 2px; background: url( '../images/icons/hr-logo.png' ) no-repeat #fdfdfd center; }
main section a:hover { transform: scale( 1.05 ); }
.section-block section h3 { font-weight: 600; font-size: 13pt; text-transform: uppercase; }
main section a figure { position: relative; border-top-left-radius: 10px; border-top-right-radius: 10px; overflow: hidden; }
main section a figure:before { content: ' '; background: #626262; position: absolute; top: 0; right: 0; bottom: 0; left: 0; opacity: 0; transition: all .6s; z-index: 1; }
main section a:hover figure:before { opacity: .5; }
main section a figure:after { content: 'Discover'; line-height: 1; font-size: 11pt; background: #ff0000; padding: 10px 10px 7px; position: absolute; z-index: 2; top: 50%; left: 50%; opacity: 0; transition: all .6s; transform: translate( -50%, -50% ); color: #fff; text-transform: uppercase; }
main section a:hover figure:after { opacity: 1; }
main section p { font-size: 11pt; line-height: 1.3; }
main section p, .section-block section h3 { letter-spacing: 0; text-align: left; margin: 0 0 8px; color: #000; }
main section p b { font-weight: 700; }
main section a div { padding: 0 15px; word-break: break-word; }
main section a img { width: 100%; }

@media (max-width: 950px) {
    main section a { flex: 0 calc( ( 100% - 20px ) / 2 ); }
}

@media (max-width: 920px) {
    #container form h2 { font-size: 24pt; }
    #container form h3 { font-size: 18pt; }
    .section-block section h3 { font-size: 12pt; }
    main section p { font-size: 11pt; }
}

@media (max-width: 900px) {
    main form { padding: 15px 17px; }
    main form .line input, main form .line select, main form .line textarea { font-size: 9pt; }
}

@media (max-width: 767px) {
    .section-block, .section-block:last-of-type { padding: 0; }
}

@media (max-width: 752px) {
    main section a { flex: auto; }
}

@media (max-width: 730px) {
    main form { float: none; margin: 0 auto 40px; width: 350px; }
    main form .line { display: inline-block; vertical-align: top; margin: 0 5px; }
    main form .line:first-of-type { margin-left: 0; }
    main form .line:last-of-type { margin-right: 0; }

    main section { float: none; width: 100%; }
    main section a { flex: 0 calc( ( 100% - 20px ) / 2 ); }
}

@media (max-width: 500px) {
    main section { gap: 25px 13px; }
    main section a div { padding: 0 10px; }
}

@media (max-width: 420px) {
    main section { justify-content: center; }
    main section a { flex: 0 100%; }
}