/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

* {
    box-sizing: border-box;
}

:focus {
    outline: none;
}

body {
    font-family: Lato, sans-serif;
    font-size: 16px;
    font-weight: 300;
    background: #f7f7f7;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

textarea {
    resize: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: 20px 0;
}

table thead {
    background: #959595;
    color: #fff;
}

table th {
    padding: 10px 20px;
    text-align: left;
}

table th.small {
    max-width: 150px;
}

table tr {
    border-bottom: 1px solid #e0e0e0;
}

table td {
    padding: 20px;
    vertical-align: top;
}

table.v-middle td {
    vertical-align: middle;
}

table tr.totals {
    border-bottom: 0;
    font-weight: 400;
}

table tr.totals td {
    padding: 20px 20px 0 20px;
    vertical-align: middle;
}

table tr.hoverable:hover {
    background: #fff;
    cursor: pointer;
}

sup {
    vertical-align: super;
    font-size: smaller;
}

a:not(.button) {
    color: #8e25a4;
    text-decoration: none;
}

a:not(.button):hover {
    color: #2484c6;
    border-bottom: 1px solid #2484c6;
}

p {
    margin: 10px 0;
    line-height: 1.4;
}

.highlight {
    font-weight: 400;
    font-style: italic;
}

strong {
    font-weight: 400;
}

ul.no_bullets,
#basic-content:not(.privacy-policy) ul {
    list-style: none;
}

#basic-content.privacy-policy {
    list-style-position: inside;
}

#basic-content ul ul {
    margin-left: 40px;
}

#basic-content ol li,
#basic-content ul li {
    line-height: 1.4;
    margin: 10px 0;
}

#basic-content h2 {
    margin: 20px 0;
}

h1 {
    font-weight: 700;
    font-size: 32px;
    margin: 0 0 20px 0;
    line-height: 1;
}

h2 {
    font-weight: 400;
    font-size: 24px;
}

.subtitle {
    font-size: 20px;
    font-weight: 300;
    margin: 0 0 20px 0;
}

/* Helpers */

.hidden {
    border: 0;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.centered {
    text-align: center;
}

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

.inline {
    display: inline-block;
}

.clearfix {
    clear: both;
}

.clearfix.force {
    height: 1px;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

body > .container {
    padding: 50px 20px;
}

.guidance_text {
    font-size: 14px;
}

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

.very_important {
    color: #ff3939;
    font-weight: 600;
}

.loading i {
    font-size: 40px;
}

.buttons.right-aligned {
    text-align: right;
}

.inline-block {
    display: inline-block;
}

/* Back link */

.back-link {
    margin: 0 0 50px 0;
}

.purple-link i,
.back-link a i {
    font-size: 14px;
    margin-right: 5px;
}

.purple-link,
.back-link a {
    color: #8e25a4;
    text-transform: uppercase;
}

.purple-link:hover,
.back-link a:hover {
    color: #8e25a4;
    border-bottom: 1px solid #8e25a4;
}

/* Notifications */
.notification {
    padding: 5px 10px;
    margin: 10px 0;
    background: #fff;
    border: 1px solid #4e9bd0;
    border-bottom-width: 5px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

.notification::before {
    content: '\f05a';
    color: #4e9bd0;
    display: inline-block;
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    margin-right: 10px;
    font-size: 20px;
}

.notification.success {
    border-color: #1fa1a3;
}

.notification.success::before {
    content: '\f058';
    color: #1fa1a3;
}

.notification.error {
    border-color: #a30003;
}

.notification.error::before {
    content: '\f057';
    color: #a30003;
}

.notification.warning {
    border-color: #ffa646;
}

.notification.warning::before {
    content: '\f071';
    color: #ffa646;
}

.notification strong {
    font-weight: 700;
}

/* Buttons */

button,
input[type="submit"],
.button {
    cursor: pointer;
}

.button,
input[type="submit"] {
    font-weight: 300;
    font-family: Lato, sans-serif;
    font-size: 100%;
    color: #fff;
    text-transform: uppercase;
    line-height: 38px;
    padding: 0 25px;
    border: 2px solid #1fa1a3;
    background: #1fa1a3;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.button:hover,
input[type="submit"]:hover {
    background: #fff;
    color: #1fa1a3;
}

.button.neutral {
    border: 2px solid #2484c6;
    background: #2484c6;
}

.button.neutral:hover {
    background: #fff;
    color: #2484c6;
}

.button.negative {
    border: 2px solid #a00;
    background: #a00;
}

.button.negative:hover {
    background: #fff;
    color: #a00;
}

.button.disabled,
.button.grey {
    border: 2px solid #959595;
    background: #959595;
}

.button.grey:hover {
    background: #fff;
    color: #575757;
}

.button.disabled:hover {
    color: #fff;
    background: #959595;
    pointer-events: none;
    cursor: auto;
}

.button.purple {
    border: 2px solid #8e25a4;
    background: #8e25a4;
}

.button.purple:hover {
    background: #fff;
    color: #8e25a4;
}

.button:disabled {
    background-color: #e0e0e0;
    color: #000;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

.button.dashboard {
    text-transform: none;
    font-size: 14px;
    line-height: 36px;
    padding: 0 15px;
    border: 0;
    background: #fff;
    color: #000;
}

.button.dashboard i {
    color: #8e25a4;
    margin-right: 3px;
}

.button.dashboard:hover {
    background: #8e25a4;
    color: #fff;
}

.button.dashboard.login i {
    color: #1fa1a3;
}

.button.dashboard.login:hover {
    background: #1fa1a3;
}

.button.dashboard.logout i {
    color: #a00;
}

.button.dashboard.logout:hover {
    background: #a00;
}

.button.dashboard:hover i {
    color: #fff;
}

.button.icon {
    text-transform: none;
    line-height: 32px;
    background: #fff;
    color: #2484c6;
    border-color: #2484c6;
    padding: 5px 15px 5px 50px;
    position: relative;
}

.button.icon.alt {
    color: #1fa1a3;
    border-color: #1fa1a3;
}

.button.icon i {
    font-size: 30px;
    margin-right: 10px;
    position: absolute;
    left: 10px;
    top: 7px;
}

.button.icon:hover {
    background: #2484c6;
    color: #fff;
}

.button.icon.alt:hover {
    background: #1fa1a3;
}

.button.icon:disabled:hover {
    background-color: #e0e0e0;
    color: #fff;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

/* Button with icon only */

.button.icon-only {
    line-height: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-color: #2484c6;
    text-align: center;
    font-size: 26px;
    padding: 0;
    color: #2484c6;
    background: #fff;
}

.button.icon-only:hover {
    color: #fff;
    background: #2484c6;
}

/* Button for removing stuff (red cross icon) */

.remove-icon {
    color: #a00;
    font-size: 28px;
    line-height: 35px;
    height: 42px;
    width: 42px;
    border: 2px solid #a00;
    background: #fff;
}

.remove-icon:hover {
    color: #fff;
    background-color: #a00;
}

.disabled .remove-icon {
    color: #959595;
    border: 2px solid #959595;
    background: #fff;
}

.disabled .remove-icon:hover {
    cursor: not-allowed;
}

button.link {
    background: none;
    color: #8e25a4;
    border: 0;
    border-bottom: 1px solid transparent;
    padding: 0;
    line-height: 1.2;
    margin: 5px 0 0 0;
    display: inline-block;
}

button.link:hover {
    border-bottom: 1px solid #8e25a4;
}

/* Red dot */

.red-dot {
    position: relative;
}

.red-dot::after {
    content: '\f111';
    color: #a00;
    font-family: "Font Awesome 5 Pro";
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: 7px;
    right: 9px;
}

.purple.red-dot::after {
    color: #ffa646;
}

.form-buttons > * {
    margin-right: 10px;
}

/* Form fields */

.label-replacement,
label {
    cursor: pointer;
    display: block;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 400;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
select,
textarea {
    border: 1px solid #959595;
    background: #fff;
    padding: 8px 10px;
    font-weight: 300;
    font-family: Lato, sans-serif;
    font-size: 100%;
    color: #000;
    min-width: 300px;
    line-height: 24px;
    margin: 0;
}

select {
    display: block;
	width: 100%;
	max-width: 100%;
	-moz-appearance: none;
    -webkit-appearance: none;
    padding-right: 25px;
    height: 42px;
	appearance: none;
	background-color: #fff;
	background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23959595%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E'),
	  linear-gradient(to bottom, #ffffff 0%,#ffffff 100%);
	background-repeat: no-repeat, repeat;
	background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    border-radius: 0;
}

:not(output):-moz-ui-invalid {
    box-shadow: none;
    border-color: #a00;
    border-width: 2px;
}

input.invalid {
    border-color: #a00;
    border-width: 2px;
}

form::after {
    content: "";
    display: block;
    height: 1px;
    clear: both;
}

form {
    text-align: left;
}

form .form-items {
    margin: 20px 0;
    overflow: hidden;
}

form .form-items::after {
    content: '';
    clear: both;
    display: block;
}

form .form-items .form-item {
    width: calc(100% / 2);
    margin: 10px 0;
    padding-right: 40px;
    float: left;
}

form .form-items .form-item:first-child:last-child {
    margin: 0;
}

form .form-items .form-item:nth-of-type(even) {
    padding-right: 0;
}

form .form-items .form-item:nth-of-type(odd) {
    clear: left;
}

form .form-items .form-item.full {
    width: 100%;
    padding-right: 0;
}

form .form-items .form-item.full textarea {
    width: 100%;
}

form .form-items .form-item label + .guidance_text + *,
form .form-items .form-item label + * {
    width: 100%;
}

form .form-items .form-item.file-upload input {
    background: #fff;
    padding: 10px;
    border: 1px solid #959595;
}

form .form-submit {
    text-align: center;
    width: 100%;
    margin: 10px 0;
}

form .form-item.checkbox.inline {
    display: inline-block;
    margin-right: 20px;
}

/* Custom Checkbox */

form .form-item.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

form .form-item.checkbox label {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin: 0;
    line-height: 25px;
    font-size: 16px;
    font-weight: 300;
}

form .form-item.checkbox:not(.full) label {
    line-height: 39px;
}

form .form-item.checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form .form-item.checkbox:not(.full) .checkmark {
    top: 7px
}

form .form-item.checkbox .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

form .form-item.checkbox input:checked ~ .checkmark:after {
    display: block;
}

form .form-item.checkbox label:hover input ~ .checkmark {
    background-color: #ccc;
}

form .form-item.checkbox input:checked ~ .checkmark {
    background-color: #1fa1a3;
}

form .form-item.checkbox input:checked:disabled ~ .checkmark {
    background-color: #ccc;
}

/* Toggle switch */

.form-item.switch .slider_wrap {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    vertical-align: middle;
}

.form-item.switch label {
    line-height: 26px;
    display: inline-block;
}

.form-item.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.form-item.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eaeaea;
    -webkit-transition: .4s;
    transition: .4s;
    border: 1px solid #959595;
}

.form-item.switch .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: #a00;
    -webkit-transition: .4s;
    transition: .4s;
}

.form-item.switch input:checked + .slider::before {
    background-color: #1fa1a3;
}

.form-item.switch input:focus + .slider {
    box-shadow: 0 0 1px #1fa1a3;
}

.form-item.switch input:checked + .slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
}

.form-item.switch .slider.round {
    border-radius: 34px;
}

.form-item.switch .slider.round:before {
    border-radius: 50%;
}

.form-item.switch .text_before,
.form-item.switch .text_after {
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
}

/* Labels */

.label {
    background: #1fa1a3;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    padding: 5px 10px;
    font-weight: 300;
    display: inline-block;
    border: 1px solid #1fa1a3;
    vertical-align: bottom;
}

.label.blue,
.label.selection {
    background: #2484c6;
    border-color: #2484c6;
}

.label.purple {
    background: #8e25a4;
    border-color: #8e25a4;
}

.label.grey {
    background: #959595;
    border-color: #959595;
}

.label.warning {
    background: #ffa646;
    border-color: #ffa646;
}

.label.negative {
    background: #a00;
    border-color: #a00;
}

.label.filter.unselected {
    background: transparent;
    color: #000;
}

.label.filter.selection:hover,
.label.filter.selection.selected {
    background: #2484c6;
    border-color: #2484c6;
    color: #fff;
}

/* #########################
        POPUPS
############################ */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5);
}

body.overlay {
    overflow: hidden;
}

body.overlay #overlay {
    display: block;
}

.popup {
    display: none;
}

.popup.active {
    display: block;
}

.popup .wrapper {
    position: fixed;
    z-index: 10;
    background: #f9f9f9;
    padding: 20px;
    min-width: 60vw;
    max-width: 90vw;
    width: 1200px;
    max-height: 60vh;
    top: 20vh;
    margin: 0 auto;
    left: 0;
    right: 0;
    box-shadow: 0 0 10px #000;
}

.popup#popup_are_you_sure .wrapper {
    width: 40vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: 30vh;
    z-index: 20;
}

.popup#popup_are_you_sure .popup-overlay {
    z-index: 15;
}

.popup .popup_close {
    border-radius: 50%;
    background: #fff;
    text-align: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #888;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.popup .popup_close:hover {
    color: #fff;
    background: #888;
}

.popup .popup_title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    height: 30px;
}

.popup .popup_content {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(60vh - 90px);
    padding-right: 20px;
}

.popup .popup_buttons {
    margin-top: 20px;
}

.popup .popup_buttons button {
    margin-right: 20px;
}

.popup .popup_buttons button:last-of-type {
    margin-right: 0;
}

/* #########################
        HOMEPAGE
############################ */

/* Slick Slideshow */

#slideshow_home {
    position: relative;
}

#slideshow_home .slide {
    width: 100vw;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Logo on top */

#logo_on_top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    max-width: 100%;
    height: 100vh;
    display: table;
}

#logo_on_top .wrapper {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

/* Navigation - Main menu */

#public_topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    box-shadow: 0 2px 10px 0 #aeaeae;
    height: 70px;
}

#public_topbar .small-logo {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 50px;
    height: 50px;
    line-height: 50px;
}

#public_topbar .small-logo a {
    border: 0;
}

#public_topbar .small-logo img {
    width: 220px;
    height: auto;
}

#public_topbar #main_menu {
    list-style: none;
    overflow: hidden;
    width: 100%;
    text-align: center;
    height: 70px;
}

#public_topbar #main_menu li {
    display: inline-block;
    line-height: 70px;
    margin: 0 -1px 0 -6px;
}

#public_topbar #main_menu li:not(:last-child)::after {
    content: '|';
    color: #fff;
    margin: 0 0 0 -2px;
}

#public_topbar #main_menu li a {
    display: inline-block;
    padding: 0 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 70px;
}

#public_topbar #main_menu li a:hover {
    color: #000;
    background: #e0e0e0;
}

#public_topbar #main_menu li.active a {
    background: #fff;
    color: #000;
}

#public_topbar .right-side {
    position: absolute;
    right: 20px;
    top: 10px;
    color: #fff;
}

#public_topbar .right-side .logged-in {
    margin-top: 7px;
    display: inline-block;
}

.login #public_topbar .right-side a,
.login #public_topbar .right-side p {
    display: none;
}

#public_topbar .right-side > p {
    display: inline-block;
    margin: 0;
}

#public_topbar .right-side p a {
    color: #fff;
    border-bottom: 1px solid #959595;
}

#public_topbar .right-side p a:hover {
    color: #1fa1a3;
    border-bottom: 1px solid #1fa1a3;
}

#public_topbar .right-side .button {
    vertical-align: text-bottom;
    margin-left: 10px;
}

#public_topbar .right-side .button:last-child {
    display: none;
}

/* User Top Bar */

body.dashboard {
    padding-top: 60px; /* sticky topbar */
}

body.locations.admin:not(.dashboard),
body.about.admin,
body.searchcrew.admin {
    padding-top: 0;
}

#user_topbar {
    height: 60px;
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    overflow: hidden;
    box-shadow: 2px -1px 10px rgba(0, 0, 0, 0.25);
}

#user_topbar .container {
    padding: 0 20px;
}

#user_topbar .small-logo {
    height: 60px;
    float: left;
    padding: 10px 10px;
    margin-right: 20px;
    background: #8e25a4;
}

#user_topbar .small-logo img {
    height: auto;
    width: 98px;
    line-height: 40px;
}

#user_topbar .small-logo a {
    border: 0;
    line-height: 35px;
    display: inline-block;
}

#user_topbar .dashboard-title {
    float: left;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 60px;
    padding-right: 15px;
    border-right: 2px solid #ccc;
    font-weight: 400;
}

#user_topbar .dashboard-title a {
    color: #8e25a4;
}

#user_topbar .dashboard-title a:hover {
    color: #2484c6;
}

#user_topbar .right-side {
    float: right;
    padding: 10px 0 0 45px;
    text-align: right;
    font-size: 14px;
}

#user_topbar .right-side p {
    margin: 0;
}

#user_topbar .right-side .logout a {
    color: #000;
    margin-top: 3px;
    display: inline-block;
}

#user_topbar .right-side .logout a:hover {
    color: #a00;
    border-color: #a00;
}

#user_topbar .right-side .logout i {
    color: #a00;
    vertical-align: baseline;
    margin-right: 5px;
}

#user_topbar #main_menu {
    float: right;
    font-size: 18px;
    line-height: 60px;
    border-right: 2px solid #ccc;
    list-style: none;
}

#user_topbar #main_menu li {
    float: right;
}

#user_topbar #main_menu a {
    padding: 0 25px;
    line-height: 60px;
    color: #000;
    display: inline-block;
}

#user_topbar #main_menu .active a,
#user_topbar #main_menu a:hover {
    background: #959595;
    color: #fff;
}

/* #########################
       GENERAL
############################ */

.container .page-content .top-text {
    text-align: center;
}

.header {
    height: 520px;
    display: table;
    width: 100%;
}

.header .wrapper {
    height: 520px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.header .wrapper > div {
    padding-top: 70px;
}

.header .wrapper > div p {
    margin: 10px 0;
}

/* #########################
       FOOTER
############################ */

#footer {
    background: #fff;
    padding: 20px 0;
}

.login #footer,
.homepage #footer {
    display: none;
}

#footer .columns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

#footer .container .column {
    width: calc(100% / 4);
    border-right: 1px solid #e0e0e0;
    padding: 0 20px;
}

#footer input[type="email"] {
    min-width: 0;
    width: 100%;
    max-width: 300px;
}

#footer .container .column:last-child {
    border-right: 0;
    padding-right: 0;
}

#footer .container .column:first-child {
    padding-left: 0;
}

#footer .social-media-links {
    list-style: none;
    margin-bottom: 10px;
}

#footer .social-media-links li {
    display: inline-block;
    margin-right: 5px;
}

#footer .social-media-links li a {
    color: #000;
    font-size: 20px;
}

#footer .social-media-links li a:hover {
    color: #2484c6;
}

#footer .title-like {
    font-weight: 400;
    font-size: 18px;
    margin: 0 0 15px 0;
}

#footer .credits {
    text-align: center;
    font-size: 14px;
}

#footer .credits ul {
    list-style: none;
    margin-top: 10px;
}

#footer .credits ul li {
    display: inline-block;
    line-height: 1.4;
}

#footer .credits ul li:not(:last-child)::after {
    content: '|';
    padding: 0 5px;
    display: inline-block;
}

#footer .credits ul li a {
    color: #000;
    text-decoration: none;
    border-bottom: 1px solid #000;
}

#footer .credits ul li a:hover {
    color: #2484c6;
}

/* #########################
        LOGIN PAGE
############################ */

#login_page {
    background: url(/images/calton-hill-background.jpg) no-repeat center center;
    background-size: cover;
    width: 100vw;
    max-width: 100%;
    height: 100vh;
}

#login_page .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    flex-wrap: wrap;
    align-content: center;
}

#login_page .box {
    width: calc(100% / 3 - 30px);
    height: 380px;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

#login_page .box.full {
    width: 100%;
    height: auto;
}

#login_page .box h2 {
    font-size: 24px;
    margin: 0 0 20px 0;
}

#login_page .box ul {
    list-style: none;
}

#login_page .box ul li {
    margin: 0 0 15px;
    line-height: 1.4;
}

#login_page .box ul li i {
    float: left;
    margin: 3px 10px 0 0;
}

#login_page .clearfix {
    width: 100%;
}

#login_page .box.login input:not([type="submit"]) {
    background: transparent !important;
    border: 0;
    border-bottom: 2px solid #fff;
    color: #fff;
    padding-left: 0;
}

#login_page .box.login .form-item {
    margin: 0 0 20px 0;
    width: 100%;
    padding-right: 0;
}

.passwords #login_page .box.login .form-item {
    margin: 30px 0;
}

#login_page .box.login .form-item.email,
#login_page .box.login .form-item.password {
    position: relative;
}

#login_page .box.login .form-item.email input,
#login_page .box.login .form-item.password input {
    margin: 0 0 0 45px;
    width: calc(100% - 45px);
    min-width: auto;
}

#login_page .box.login .form-item.password::after,
#login_page .box.login .form-item.email::after {
    content: '\f007';
    font-family: "Font Awesome 5 Pro";
    font-size: 32px;
    color: #fff;
    position: absolute;
    bottom: -2px;
    left: 0;
}

#login_page .box.login .form-item.password::after {
    content: '\f30d';
}

#login_page .box.login p a {
    color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

#login_page .box.login p a:hover {
    color: #1fa1a3;
    border-bottom: 1px solid #1fa1a3;
}

/* #########################
     REGISTER CREW/CLIENT PAGE
############################ */

body[class*="register"] .page-content {
    position: relative;
    padding-top: 115px;
}

body[class*="register"] .form-wrapper {
    border-top: 2px solid #4d4646;
    padding-top: 40px;
    background: #f7f7f7;
    position: relative;
}

body[class*="register"] .page-content .top-text {
    position: absolute;
    top: -400px;
    left: 0;
    right: 0;
    background: #f7f7f7;
    padding: 45px 45px 0 45px;
    margin: 0 auto;
    width: 70%;
    border-radius: 30px 30px 0 0;
    text-align: left;
}

body[class*="register"] .top-text .mobile-illustration {
    background: url(../images/misc/site-phone.png) no-repeat center top;
    background-size: 100% auto;
    width: 325px;
    height: 470px;
    float: left;
    margin-right: 30px;
    position: relative;
}

body[class*="register"] .top-text .mobile-illustration .image {
    background: no-repeat center top;
    background-size: 100% auto;
    width: 275px;
    height: 390px;
    position: absolute;
    top: 80px;
    left: 25px;
}

body[class*="register"] .top-text .subtitle {
    font-size: 24px;
    font-weight: 400;
}

body[class*="register"] .top-text ul {
    list-style: none;
}

body[class*="register"] .top-text ul li {
    font-size: 18px;
    line-height: 1.4;
    margin: 20px 0;
    overflow: hidden;
}

body[class*="register"] .top-text ul li i {
    font-size: 22px;
    width: 40px;
    height: 40px;
    float: left;
    padding-top: 3px;
}

body[class*="register"] .form-wrapper > .guidance_text {
    text-align: center;
    padding: 0 50px;
}

body[class*="register"] form {
    padding-top: 20px;
}

body[class*="register"] form .crew-roles.wrapper {
    margin: 10px 0;
    overflow: hidden;
    float: left;
    width: 100%;
}

body[class*="register"] form .form-item.three {
    width: calc(100% / 3);
    float: left;
    padding-right: 40px;
}

body[class*="register"] form .form-item.three select {
    width: 100%;
    min-width: auto;
}

body[class*="register"] form .form-item.three:nth-child(3) {
    padding-right: 0;
    clear: none;
}

body[class*="register"] form .form-item.checkbox .terms a {
    font-weight: 400;
    color: #000;
}

body[class*="register"] form .form-item.checkbox .terms a:hover {
    color: #2484c6;
}

body[class*="register"] .register-crew-guidance {
    padding: 20px;
    background: #fff;
    margin: 20px 0;
}

body[class*="register"] .register-crew-guidance p {
    margin: 0 0 10px 0;
}

body[class*="register"] .register-crew-guidance ul {
    list-style: none;
}

body[class*="register"] .register-crew-guidance ul li {
    margin: 5px 0;
}

body[class*="register"] .register-crew-guidance ul li::before {
    content: '\f35a';
    display: inline-block;
    font-family: 'Font Awesome 5 Pro';
    font-weight: bold;
    padding-right: 10px;
}

/* #########################
        SEARCH LOCATIONS
############################ */

#search_location_form form {
    text-align: center;
}

.locations #search_field {
    width: 740px;
    margin-right: 5px;
}

#locations_grid {
    margin-top: 50px;
    overflow: hidden;
}

#locations_grid .location {
    width: calc(100% / 3 - 20px);
    margin: 0 30px 30px 0;
    float: left;
}

#locations_grid .location:nth-child(2),
#locations_grid .location:nth-child(3n+5) {
    margin-right: 0;
}

#locations_grid .location:nth-child(-n+2) {
    width: calc(100% / 2 - 15px);
}

#locations_grid .location .featured-image {
    height: 370px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#locations_grid .location .featured-image a {
    height: 370px;
    display: block;
}

#locations_grid .location .featured-image a:hover {
    background: rgba(0, 0, 0, 0.2);
}

#locations_grid .location .title {
    font-size: 24px;
    font-weight: 400;
    margin: 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#enquire_location h2 {
    text-align: center;
    font-size: 24px;
}

#enquire_location h2 + p {
    text-align: center;
}

#enquire_location form > .form-item:nth-of-type(2) {
    padding-right: 0;
}

/* #########################
        SEARCH CREW
############################ */

#search_crew_form form {
    text-align: center;
}

#search_crew_form #search_field {
    width: 340px;
}

#search_crew_form #search_field + span {
    color: #fff;
    display: inline-block;
    margin: 0 5px;
}

#search_crew_form #select_dates {
    display: inline-block;
    border: 1px solid #959595;
    background: #fff;
    font-weight: 300;
    font-family: Lato, sans-serif;
    font-size: 100%;
    color: #000;
    min-width: 340px;
    text-align: left;
    position: relative;
    line-height: 24px;
    cursor: pointer;
    margin-right: 15px;
}

#search_crew_form #select_dates .selector {
    padding: 8px 10px;
    color: #959595;
}

#search_crew_form #select_dates .selector.selected {
    color: #000;
}

#search_crew_form #select_dates .selector > i {
    position: absolute;
    right: 10px;
    line-height: 24px;
    font-size: 24px;
    color: #959595;
}

#search_crew_form #select_dates:hover {

}

#search_crew_form:hover #select_dates .selector > i {
    color: #2484c6;
}

#search_crew_form #search_calendar.visible {
    z-index: 9;
}

#search_crew_form #search_calendar {
    width: 741px;
    position: absolute;
    top: 44px;
    background: #fff;
    left: -402px;
    padding: 0 10px;
    border: 1px solid #959595;
    z-index: -1;
}

#search_crew_form #search_calendar .calendar-wrapper {
    padding: 0 50px;
}

.searchcrew .page-content {
    z-index: 5;
    position: relative;
}

#search_crew_form #search_calendar .calendar-month {
    margin-top: 10px;
}

#search_crew_form #search_calendar .month-wrapper {
    height: auto;
    margin: 15px;
}

.searchcrew .header .wrapper {
    background-image: url(/images/calton-hill-background.jpg);
}

.searchcrew #filter ul {
    list-style: none;
    text-align: center;
}

.searchcrew #filter ul li {
    display: inline-block;
}

#searchcrew_grid {
    margin-top: 50px;
    overflow: hidden;
}

#searchcrew_grid .crew {
    width: calc(100% / 3 - 30px);
    margin: 0 15px 60px 15px;
    float: left;
    position: relative;
}

/*#searchcrew_grid .crew:nth-child(3n+3) {
    margin-right: 0;
}*/

#searchcrew_grid .crew .featured-image {
    height: 230px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

#searchcrew_grid .crew .featured-image a {
    height: 230px;
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

#searchcrew_grid .crew .featured-image .roles {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    padding: 10px;
    height: calc(100% - 40px);
    display: none;
}

#searchcrew_grid .crew .featured-image:hover .roles {
    display: table;
    width: calc(100% - 40px);
}

#searchcrew_grid .crew .featured-image .status_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    display: table;
    width: 100%;
    height: 100%;
}

#searchcrew_grid .crew .featured-image .status_overlay p {
    margin: 0;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

#searchcrew_grid .crew .featured-image .roles ul {
    list-style: none;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

#searchcrew_grid .crew .featured-image .roles ul li {
    display: block;
    text-transform: uppercase;
    font-weight: 300;
    margin: 5px 0;
}

#searchcrew_grid .crew h2 {
    font-size: 24px;
    margin: 10px 0 4px 0;
}

#searchcrew_grid .crew h2 a {
    color: #000;
}

#searchcrew_grid .crew h2 a:hover {
    color: #2484c6;
}

#searchcrew_grid .crew .location {
    line-height: 38px;
}

#searchcrew_grid .crew .roles-icons {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
}

#searchcrew_grid .crew .roles-icons li {
    display: inline-block;
    vertical-align: middle;
}

#searchcrew_grid .crew .roles-icons li img {
    height: 38px;
    width: auto;
    display: block;
}

#searchcrew_grid .crew .favourite-star {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    text-shadow: 0 0 3px #000;
}

#search_results_info {
    margin: 30px 0 40px 0;
    line-height: 1.4;
}

#search_results_info .matching_roles span {
    color: #2484c6;
    cursor: pointer;
}

#search_results_info .matching_roles span:hover {
    border-bottom: 1px solid #2484c6;
}

/* Keyword search */
.ui-widget.ui-widget-content {

}

.ui-menu .ui-menu-item {
    list-style: none;
    border-bottom: 1px solid #ccc;
    font-size: 1em;
    padding: 0;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 10px 15px;
    border: 0;
}

.ui-widget-content .ui-state-active {
    background: #2484c6;
}

/* #########################
             FAQ
############################ */

.faq-section .faq-item {
    margin: 20px 0;
    padding: 20px;
    background: #fff;
}

.faq-section .faq-item .question {
    font-size: 18px;
    font-weight: 400;
}

/* #########################
        DASHBOARD
############################ */

.users td {
    vertical-align: middle;
}

#users_list.clients tr.pending {
    background-color: rgba(255, 166, 70, 0.2);
}

.users tr.you {
    background-color: rgba(36, 132, 198, 0.2);
}

#users_list td {
    font-size: 14px;
    line-height: 1.5;
}

#users_list strong {
    font-size: 16px;
}

#users_list .fake {
    color: #aa0000;
}

.crews[class*="admin"] #users_list tr > td:first-child {
    min-width: 183px;
}

.crews[class*="admin"] #table-top .keyword-filter {
    width: 100%;
}

.crews[class*="admin"] #table-top .keyword-filter label {
    width: 100%;
    display: flex;
    align-items: center;
}

.crews[class*="admin"] #table-top .keyword-filter label input {
    flex-grow: 2;
}

.company_details {
    margin: 20px 0;
}

.company_details .buttons {
    margin: 20px 0;
}

.company_details > div {
    margin: 5px 0;
}

.company_details h2 {
    margin: 0 0 20px 0;
}

.company_details .approval {
    margin: 30px 0;
}

#form_delete_client {
    margin-top: 30px;
}

.section {
    margin: 20px 0;
}

.section.white {
    padding: 30px;
    background: #fff;
}

.section .subsection {
    margin: 20px 0;
}

.crew_details ul {
    margin: 20px 0;
}

.crew_details ul li {
    margin: 10px 0;
    display: block;
}

.crew_details {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.crew_details .box {
    width: calc(100% / 3);
    margin-bottom: 40px;
    padding-right: 40px;
}

.crew_details .box a:not(.url) {
    text-transform: uppercase;
}

.crew_details .membership_status * {
    vertical-align: middle;
    margin-top: 0;
}

span.view_profile {
    display: inline-block;
    vertical-align: super;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 300;
}

/* #########################
        CREW PROFILE
############################ */

.crew-profile-edit .section,
.crew-profile .section {
    margin: 35px 0;
    overflow: hidden;
}

#crew-banner {
    height: 210px;
    width: 100%;
    background: no-repeat center center;
    background-size: cover;
    transition: height 1s;
}

#crew-banner.expanded .wrapper,
#crew-banner.expanded {
    height: 600px;
}

#crew-banner .wrapper {
    height: 210px;
    position: relative;
    transition: height 1s;
}

#crew-banner .wrapper button {
    position: absolute;
    right: 20px;
    bottom: 0;
    z-index: 9;
    border-bottom: 0;
}

#crew-banner .wrapper #upload-banner {
    position: absolute;
    right: 20px;
    bottom: 50px;
    z-index: 10;
    line-height: 46px;
}

#crew-banner {
    position: relative;
}

#crew-banner.expanded .banner-overlay {
    height: 600px;
}

#crew-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: none;
    height: 210px;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.5);
}

#crew-banner.hover-edit .banner-overlay {
    display: table;
}

#crew-banner .banner-overlay span {
    display: table-cell;
    vertical-align: middle;
    width: 600px;
}

#crew-profile-image {
    width: 265px;
    height: 265px;
    background: no-repeat center center;
    background-size: cover;
    border: 1px solid #fff;
    border-radius: 50%;
    margin: -172px 50px 30px 0;
    float: left;
    position: relative;
}

#crew-profile-image #upload-profile-image {
    position: absolute;
    bottom: 30px;
    right: 0;
    margin: 0;
    line-height: 46px;
}

.profile-buttons > button {
    margin-left: 10px;
}

.profile-buttons > h2 + button {
    margin-left: 0;
}

#crew-roles .wrapper-roles {
    display: flex;
}

#crew-roles .crew-role {
    text-align: center;
    background: #fff;
    padding: 25px;
    width: calc(100% / 3 - 40px / 3);
    margin-right: 20px;
}

#crew-roles .crew-role:last-child {
    margin-right: 0;
}

img.role-icon,
#crew-roles .crew-role .role-icon img {
    width: 40px;
    height: auto;
}

#crew-roles .crew-role .row {
    padding: 15px 0 0 0;
    margin: 15px 0 0 0;
    border-top: 1px solid #c3c3c3;
}

#crew-roles .crew-role .row .price {
    font-size: 18px;
    font-weight: 400;
}

#crew-roles .crew-role .experience {
    font-size: 14px;
    line-height: 1;
}

#crew-roles .crew-role h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    margin: 10px 0;
}

#crew-details h1 {
    margin-bottom: 10px;
}

#crew-details .location {
    font-weight: 700;
    font-size: 18px;
}

#crew-details .wrapper {
    margin-top: 20px;
    overflow: hidden;
}

#crew-details .wrapper > div {
    width: 400px;
    float: left;
}

#crew-details .wrapper > div i {
    font-size: 30px;
    margin-right: 10px;
    float: left;
    line-height: 40px;
}

#crew-details .wrapper > div span + span {
    display: block;
}

#crew-experience .experience {
    margin: 15px 0;
    overflow: hidden;
}

#crew-experience .experience .name {
    width: calc((100% / 3) * 2);
    background: #fff;
    padding: 15px 20px;
    float: left;
    margin-right: 20px;
}

#crew-experience .experience .dates {
    width: calc(100% / 3 - 20px);
    background: #fff;
    padding: 15px 20px;
    float: left;
}

#crew-kit .kit-items {
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

#crew-kit .kit-items .kit {
    width: calc(100% / 3 - 40px / 3);
    /*float: left;*/
    margin: 0 20px 15px 0;
    display: list-item;
    list-style: disc;
    list-style-position: inside;
    background: #fff;
    padding: 10px 15px;
}

#crew-kit .kit-items .kit:nth-child(3n+3) {
    margin-right: 0;
}

/* #########################
     CREW PROFILE PREVIEW
############################ */

.client.previewCrew h2,
.crew.profile.preview h2 {
    margin-bottom: 20px;
}

.crew.profile.preview .section {
    margin-bottom: 40px;
}

#profile-top-bar {
    text-align: center;
    background: #2484c6;
    color: #fff;
    padding: 10px 20px;
}

#profile-top-bar.warning {
    background: #a00;
}

#profile-top-bar.grey {
    background: #959595;
}

#profile-top-bar a {
    color: #fff;
    font-weight: 600;
}

#profile-top-bar a:hover {
    border-bottom-color: #fff;
}

#profile-top-bar .fa-copy {
    margin-left: 5px;
    cursor: pointer;
}

#profile-top-bar .fa-copy:hover {
    margin-left: 5px;
    cursor: pointer;
    color: #1fa1a3;
}

.crew-profile-preview h1 #mark_favourite::before {
    content: '\f005';
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    cursor: pointer;
}

.crew-profile-preview h1 #mark_favourite:hover::before,
.crew-profile-preview h1 #mark_favourite.favourite::before {
    font-weight: 900;
}

/* #########################
     CREW PROFILE EDIT
############################ */

#crew-profile-edit #driving_licence div:first-child {
    margin-right: 40px;
}

#crew-profile-edit .wrapper-roles-edit .role.form-items {
    overflow: hidden;
    width: 100%;
    margin: 0;
}

#crew-profile-edit .wrapper-roles-edit .role.form-items .form-item {
    width: calc(100% / 5);
    padding-right: 20px;
}

#crew-profile-edit .wrapper-roles-edit .role.form-items .form-item select {
    min-width: auto;
}

#crew-profile-edit .wrapper-roles-edit .role.form-items .form-item:nth-of-type(even) {
    padding-right: 20px;
}

#crew-profile-edit .wrapper-roles-edit .role.form-items .form-item:nth-of-type(odd) {
    clear: none;
}

#crew-biography .form-items {
    margin-bottom: 0;
}

#crew-biography .biography-content {
    padding: 25px;
    background: #fff;
}

#crew-experience .experience .datepicker {
    min-width: auto;
    width: 170px;
}

#crew-experience .experience .has-datepicker {
    max-width: 220px;
}

#crew-experience .experience .has-name input {
    width: 600px;
}

#crew-experience table .experience label {
    display: none;
}

.ui-datepicker select.ui-datepicker-year,
.ui-datepicker select.ui-datepicker-month {
    min-width: auto;
    display: inline-block;
}

#crew-kit-edit .kit-items {
    overflow: hidden;
    margin-bottom: 20px;
}

#crew-kit-edit .kit-items .kit {
    width: calc(100% / 3);
    padding-right: 20px;
    float: left;
    margin: 15px 0 0 0;
}

#crew-kit-edit .kit-items .kit > * {
    vertical-align: middle;
}

#portfolio-edit {
    overflow: hidden;
}

.portfolio_item {
    width: calc(100% / 3 - 40px / 3);
    height: 275px;
    background: transparent no-repeat center center;
    background-size: cover;
    float: left;
    margin: 0 20px 20px 0;
    position: relative;
    text-align: center;
}

.portfolio_item:nth-child(3n+3) {
    margin-right: 0;
}

.portfolio_item a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.portfolio_item a:hover {
    background: rgba(0, 0, 0, 0.5);
}

.portfolio_item a:hover .hover {
    display: table-cell;
}

.portfolio_item .hover {
    position: absolute;
    display: none;
    height: 275px;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
}

.portfolio_item .hover * {
    vertical-align: middle;
}

.portfolio_item i.zoom,
.portfolio_item i.video {
    line-height: 275px;
    color: #fff;
    font-size: 48px;
    padding: 0 10px;
}

.showcase_item {
    width: calc(100% / 3 - 40px / 3);
    float: left;
    margin: 0 20px 20px 0;
    height: 350px;
}

.showcase_item .wrapper {
    height: 275px;
    background: transparent no-repeat center center;
    background-size: cover;
    position: relative;
    text-align: center;
}

.showcase_item:nth-child(3n+3) {
    margin-right: 0;
}

.showcase_item a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.showcase_item a:hover {
    background: rgba(0, 0, 0, 0.5);
}

.showcase_item a:hover .hover {
    display: table-cell;
}

.showcase_item .hover {
    position: absolute;
    display: none;
    height: 275px;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
}

.showcase_item .hover * {
    vertical-align: middle;
}

.showcase_item i.zoom,
.showcase_item i.video {
    line-height: 275px;
    color: #fff;
    font-size: 48px;
    padding: 0 10px;
}

.showcase_item .title {
    font-size: 20px;
    font-weight: 400;
    margin: 10px 0;
}

.fancybox-caption__body {
    max-width: 60vw;
    margin: 0 auto;
}

body:not(.crew-profile-edit) .portfolio_item:hover > i.video {
    display: none;
}

.portfolio_item button {
    position: absolute;
    top: 10px;
    right: 10px;
}

#popup_portfolio_item_edit .portfolio_item_image {
    background: transparent no-repeat center center;
    background-size: cover;
    float: left;
    width: 300px;
    height: 300px;
    margin-right: 20px;
}

#popup_portfolio_item_edit .popup_buttons .button.alignright {
    margin-right: 0;
}

#form_delete_portfolio_item {
    float: right;
    margin: -43px 0 0 0;
}

/* My Account - Choose Membership popup */

.popup #card {
    border: 1px solid #959595;
    background: #fff;
    padding: 8px 10px;
    font-weight: 300;
    width: 100%;
}

.popup .stripe-logos a {
    border: 0;
    line-height: 42px;
    display: inline-block;
}

.popup .stripe-logos img {
    vertical-align: middle;
}

.popup #card-errors {
    display: none;
}

/* #########################
     USER ASSISTANCE
############################ */

/* Floating button */
#user-assistance-floating {
    position: fixed;
    z-index: 99;
    bottom: 0;
    right: 20px;
}

.assistance #user-assistance-floating {
    display: none; /* Hide on the assistance page */
}

#user-assistance-floating .button {
    line-height: 42px;
}

#user-assistance-floating span {
    border: 2px solid #fff;
    border-radius: 50%;
    display: inline-block;
    background: #e0e0e0;
    color: #212121;
    width: 35px;
    height: 35px;
    font-size: 14px;
    line-height: 31px;
    text-align: center;
    margin-left: 10px;
    vertical-align: baseline;
}

#user-assistance-floating span.unread {
    background: #a00;
    color: #fff;
}

#assistance_list .username {
    font-weight: bold;
}

#assistance_list td {
    vertical-align: middle;
}

#assistance_list .message_count {
    text-align: center;
}

#assistance_list .message_count span {
    border: 2px solid #fff;
    border-radius: 50%;
    display: inline-block;
    background: #e0e0e0;
    color: #212121;
    width: 35px;
    height: 35px;
    font-size: 14px;
    line-height: 31px;
    text-align: center;
    vertical-align: baseline;
}

#assistance_list .message_count.unread span {
    background: #f00;
    color: #fff;
}

/* #########################
      CONVERSATIONS
############################ */

#conversation {
    overflow: hidden;
    margin-top: 40px;
}

#conversation .sidebar-left {
    float: left;
    width: 275px;
    margin-right: 20px;
}

#conversation .content-right {
    float: left;
    width: calc(100% - 275px - 20px);
    background: #fff;
    padding: 30px;
}

#conversation .message {
    margin: 0 0 40px 0;
}

#conversation .message-content {
    /*background: #f7f7f7;*/
    background: #ebe8ff;
    padding: 25px;
}

#conversation .own .message-content {
    background: #e7f5ff;
}

#conversation .message-content-wrapper {
    position: relative;
    overflow: hidden;
    padding-bottom: 20px;
}

#conversation .speech-bubble {
    position: absolute;
    bottom: 0;
    left: 30px;
    width: 0;
    height: 0;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    /*border-left: 10px solid #f7f7f7;
    border-top: 10px solid #f7f7f7;*/
    border-left: 10px solid #ebe8ff;
    border-top: 10px solid #ebe8ff;
}

#conversation .own .speech-bubble {
    left: unset;
    right: 30px;
    border-left: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #e7f5ff;
    border-top: 10px solid #e7f5ff;
}

#conversation .message-meta {
    font-size: 14px;
    margin: 5px 0 0 0;
}

#conversation .own .message-meta {
    text-align: right;
}

#conversation .message-meta .author {
    font-weight: bold;
}

#conversation .message-meta .status {
    font-weight: bold;
    color: #f00;
}

#conversation .new-message {
    margin-bottom: 20px;
}

#conversation .new-message button {
    float: right;
    overflow: hidden;
}

#conversation .no-messages {
    text-align: center;
}

#conversation .job_name {
    color: #959595;
    display: block;
}

/* #########################
        CALENDAR
############################ */

.calendar-wrapper {
    position: relative;
    padding: 0 20px 0 80px;
}

.popup .calendar-wrapper {
    padding: 0 20px 0 60px;
}

.calendar-arrow {
    background: transparent;
    border: 0;
    padding: 0;
    position: absolute;
    top: 0;
    bottom: 0;
}

.calendar-arrow:hover i {
    color: #8e25a4;
}

.calendar-arrow.slick-arrow.slick-hidden {
    display: block;
}

.calendar-arrow.slick-arrow.slick-hidden i,
.calendar-arrow.slick-disabled i {
    color: #959595;
}

.calendar-arrow.slick-arrow.slick-hidden,
.calendar-arrow.slick-disabled {
    cursor: default;
}

.calendar-arrow i {
    color: #2484c6;
    font-size: 36px;
}

#calendar_left_arrow {
    left: 0;
}

#calendar_right_arrow {
    right: 0;
}

.month-wrapper {
    width: 390px;
    height: 345px;
    font-size: 14px;
    margin: 0 60px 0 0;
}

.popup .month-wrapper {
    width: 360px;
    margin: 0 40px 0 0;
}

.calendar-month {
    table-layout: fixed;
    margin: 0;
}

.calendar-month caption {
    font-size: 16px;
}

.calendar-month td {
    padding: 5px;
    border-bottom: 0;
    text-align: center;
    width: auto;
}

.calendar-month td.day span {
    border: 2px solid #959595;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    background: #fff;
    text-align: center;
    line-height: 28px;
    display: inline-block;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
}

.calendar-month td.day.past span {
    background: transparent;
    border-color: transparent;
    color: #959595;
    box-shadow: none;
}

.calendar-month td.day.selected span {
    background: #1fa1a3;
    border-color: #1fa1a3;
    color: #fff;
}

.calendar-month td.day.job_date span {
    border-color: #1fa1a3;
}

.calendar-month td.day:not(.past):not(.booked):not(.pending):not(.unavailable) span:hover {
    background: #959595;
    color: #fff;
    cursor: pointer;
}

#popup_location_availability .calendar-month td.day span:hover {
    cursor: auto;
    pointer-events: none;
}

.job-booking .calendar-month td.day:not(.past):not(.booked):not(.pending):not(.unavailable) span:hover {
    background: #1fa1a3;
    border-color: #1fa1a3;
}

#popup_crew_profile_availability .calendar-month td.day span:hover {
    cursor: auto;
    background: #fff;
    color: #000;
}

#popup_crew_profile_availability .calendar-month td.day.unavailable span:hover {
    cursor: auto;
    background: #959595;
    color: #fff;
}

#popup_crew_profile_availability .popup_content > p:first-child {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#popup_crew_profile_availability .popup_content > p:first-child button {
    margin-left: 10px;
}

.calendar-month td.day.selected span:hover {
    background: #fff;
    color: #000;
    cursor: pointer;
}

#availability_key {
    margin: 20px 0;
}

.popup #availability_key {
    margin: 10px 0;
}

#availability_key .key {
    display: inline-block;
    margin-right: 15px;
}

#availability_key .key span {
    border: 2px solid #959595;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    background: #fff;
    text-align: center;
    line-height: 28px;
    display: inline-block;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.25);
    margin-right: 5px;
}

.calendar-month td.day.unavailable:not(.past) span,
#availability_key .key.unavailable span {
    background: #959595;
    color: #fff;
    box-shadow: none;
}

.calendar-month td.day.booked span,
#availability_key .key.booked span {
    background: #1fa1a3;
    border-color: #1fa1a3;
    color: #fff;
}

.calendar-month td.day.pending span,
#availability_key .key.pending span {
    background: #ffa646;
    border-color: #ffa646;
    color: #fff;
}

/* Create a job page or similar */

.chosen_dates,
#chosen_dates {
    padding: 10px;
    background: #fff;
    margin: 10px 0;
}

/* Crew Profile > Book */

.crew-profile-book .all-jobs {
    margin: 40px 0;
}

.popup .shortlisted-job,
.popup .all-jobs .job,
.crew-profile-book .all-jobs .empty {
    padding: 20px;
    margin: 20px 0;
    background: #fff;
}

.popup .all-jobs .job .buttons > * {
    margin-left: 5px;
}

.popup .all-jobs .job h3 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 5px;
}

/* Client > Job */

.dashboard.job .description {
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 15px;
}

.dashboard.job .brief .guidance_text {
    display: inline-block;
    margin-left: 15px;
}

/* Client > Job > Crew list */

#job_crew_list td {
    vertical-align: middle;
}

#job_crew_list td.crew_name {
    font-weight: 500;
}

#jobs_list td .role-icon,
#job_crew_list td .role-icon {
    display: inline-block;
    margin-right: 3px;
}

#jobs_list td .role-icon img,
#job_crew_list td .role-icon img {
    display: inline-block;
    height: 35px;
    width: auto;
}

#job_crew_list tr.shortlisted td .role-icon img {
    opacity: 0.5;
}

#job_crew_list .status,
#job_locations_list .status {
    vertical-align: super;
    font-weight: bold;
    color: #f00;
}

.round_profile_image {
    background: #fff no-repeat center center;
    background-size: cover;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

/* Client > Job > Booked job */

.job-completed .role,
.job-booked .role {
    height: 30px;
    display: inline-block;
}

.job-booked h1,
.job-booking h1 {
    line-height: 1.5;
}

.job-booked h1 span,
.job-booking h1 span {
    display: inline-block;
}

.job-completed .role img,
.job-booked .role img {
    height: 100%;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
}

.location-completed .latest_message .no-messages,
.location-booked .latest_message .no-messages,
.job-completed .latest_message .no-messages,
.job-booked .latest_message .no-messages {
    padding: 20px;
    background: #d8d8d8;
    text-align: center;
}

.job-completed .conversation,
.job-booked .conversation {
    overflow: hidden;
}

.location-completed .buttons,
.location-booked .buttons,
.job-completed .buttons,
.job-booked .buttons {
    margin-top: 20px;
}

.job-completed .acceptance .buttons a,
.job-booked .acceptance .buttons a {
    margin: 0 10px 0 0;
}

.job-completed .bottom_estimate.admin > p:first-child > .button:nth-child(2) {
    margin-left: 5px;
}

/* Job > Conversation */

.job-conversation .sidebar-left .subsection {
    margin: 0 0 20px 0;
}

.job-conversation .sidebar-left .role {
    height: 30px;
    display: inline-block;
}

.job-conversation .sidebar-left .role img {
    height: 100%;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
}

/* Estimate table */

.estimate_date span {
    font-weight: bold;
    color: #f00;
}

.estimate .vat,
.estimate .fee,
.estimate .sub,
.estimate .subtotal,
.estimate .total {
    text-align: right;
}

.estimate .bottom_estimate {
    text-align: right;
    margin-top: 30px;
}

.estimate .bottom_estimate.admin {
    border-top: 1px solid #959595;
    padding-top: 30px;
}

.estimate .agency_fee {
    color: #959595;
    font-weight: 300;
}

/* Edit estimate */

.estimate.edit td {
    padding: 10px 20px;
    vertical-align: middle;
}

.estimate.edit td input {
    min-width: 70px;
}

.estimate.edit td.has-number input {
    width: 90px;
    display: inline;
    text-align: center;
}

.estimate.edit td.description input {
    width: 100%;
    display: inline;
}

.estimate.edit td div {
    display: inline;
}

.estimate.edit td label {
    display: inline-block;
    margin: 0;
    font-size: 16px;
    font-weight: 300;
}

.estimate.edit td.receipt .hidden {
    display: none;
    position: absolute;
    width: 1px;
    height: 1px;
    right: 0;
}

.estimate.edit td.receipt label {
    width: 100%;
    background: #fff;
    border: 1px solid #959595;
    padding: 8px 10px;
    line-height: 24px;
    position: relative;
}

.estimate.edit td.receipt:not(.has-receipt) span.text {
    color: #959595;
}

.estimate.edit td.receipt label.has-file span.text {
    color: #000;
}

.estimate.edit td.receipt span.button {
    position: absolute;
    right: 4px;
    top: 4px;
    line-height: 27px;
    width: 32px;
    height: 32px;
    font-size: 17px;
}

.estimate.edit td.receipt.has-receipt span.button,
.estimate.edit td.receipt.has-receipt span.button:hover {
    color: #959595;
    border-color: #959595;
    background: #fff;
    cursor: not-allowed;
}

.estimate.edit td.receipt label span.remove-file {
    display: none;
    color: #aa0000;
    font-size: 16px;
    padding: 0 3px;
    border: 2px solid #a00;
    margin-right: 4px;
    vertical-align: bottom;
    width: 22px;
    height: 22px;
    text-align: center;
    line-height: 18px;
}

.estimate.edit td.receipt.has-receipt label span.remove-file,
.estimate.edit td.receipt label.has-file span.remove-file {
    display: inline-block;
}

.estimate.edit td.receipt label span.remove-file:hover {
    background: #a00;
    color: #fff;
}

/* Crew > My Jobs */

#job_locations_list .message_count,
#job_crew_list .message_count,
#jobs_list .message_count {
    text-align: center;
}

#job_locations_list .message_count span,
#job_crew_list .message_count span,
#jobs_list .message_count span {
    border-radius: 50%;
    display: inline-block;
    background: #e0e0e0;
    color: #212121;
    width: 31px;
    height: 31px;
    font-size: 14px;
    line-height: 31px;
    text-align: center;
    vertical-align: baseline;
}

#job_locations_list .message_count.unread span,
#job_crew_list .message_count.unread span,
#jobs_list .message_count.unread span {
    background: #f00;
    color: #fff;
}

/* ADMIN > CLIENT INDIVIDUAL */

.admin.clients .buttons a {
    margin: 0 5px;
}

.admin.client .buttons_top_table {

}

.client[class*="admin"] .section.users tr > td:last-of-type {
    min-width: 245px;
}

.users.section tr > td:nth-last-child(4) {
    white-space: nowrap;
}

.company_details {
    overflow: hidden;
}

.company_details .box {
    float: left;
    width: calc(100% / 3);
    margin-bottom: 40px;
    padding-right: 40px;
}

#restricted_roles {
    overflow: hidden;
}

#restricted_roles .role {
    background: #fff;
    padding: 8px 30px 8px 10px;
    margin: 0 10px 10px 0;
    border: 1px solid #959595;
    float: left;
    position: relative;
}

#restricted_roles .role i {
    position: absolute;
    right: 10px;
    color: #a00;
    font-size: 20px;
}

#restricted_roles .role i:hover {
    right: 10px;
    cursor: pointer;
}

/* LOCATION INDIVIDUAL */

.location .top-text {
    margin-bottom: 50px;
}

.location .top-text .postcode {
    font-weight: bold;
}

#location_all_images {
    overflow: hidden;
}

#location_all_images .image {
    width: calc(100% / 3 - 60px / 3);
    height: 275px;
    background: transparent no-repeat center center;
    background-size: cover;
    float: left;
    margin: 0 20px 20px 0;
    position: relative;
    text-align: center;
}

#location_all_images .image:nth-child(3n+3) {
    margin-right: 0;
}

#location_all_images .image a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

#location_all_images .image a:hover {
    background: rgba(0, 0, 0, 0.5);
}

#location_all_images .image a:hover .hover {
    display: table-cell;
}

#location_all_images .image .hover {
    position: absolute;
    display: none;
    height: 275px;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 18px;
}

#location_all_images .image .hover * {
    vertical-align: middle;
}

#location_all_images .image i.zoom {
    line-height: 275px;
    color: #fff;
    font-size: 48px;
    padding: 0 10px;
}

/* Filter-Sort section on top of tables */

#table-top {
    background: #fff;
    padding: 20px;
    overflow: hidden;
}

#table-top .left {
    float: left;
}

#table-top .right {
    float: right;
    text-align: right;
}

#table-top .label-replacement,
#table-top label:not(.label) {
    font-size: 16px;
    font-weight: 300;
    display: inline-block;
    vertical-align: middle;
}

#table-top .label-replacement {
    margin: 0 15px 0 0;
}

#table-top label input,
#table-top label select {
    margin: 0 0 0 15px;
}

#table-top .filter {
    margin-bottom: 20px;
}

#table-top .filter .filter-item {
    display: inline-block;
}

#table-top .filter .filter-item .label {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
}

#table-top .filter .filter-item input[type="checkbox"] {
    display: none;
}

#table-top .filter .filter-item input[type="checkbox"]:not(:checked) + label {
    color: #555;
    background: #fff;
}

#table-top .sortby select,
#table-top .keyword-filter input {
    padding: 4px 5px;
    line-height: 1.1;
    font-size: 14px;
    width: auto;
    display: inline-block;
    height: 42px;
}

#table-top .keyword-filter {
    position: relative;
    display: inline-block;
}

#table-top .keyword-filter input {
    padding-right: 50px;
}

#table-top .keyword-filter button {
    position: absolute;
    right: 10px;
    bottom: 20px;
    margin: 0;
}

/* ADD/EDIT LOCATION */

.location.dashboard #location-images .button {
    margin: 0 5px 0 0;
}

.location.dashboard #images-edit {
    overflow: hidden;
    clear: both;
    margin-bottom: 50px;
}

.location.dashboard #images-edit.more {
    max-height: 370px;
    position: relative;
}

.location.dashboard #images-edit .load-more {
    display: none;
}

.location.dashboard #images-edit.more .load-more {
    display: block;
    position: absolute;
    bottom: 0;
    text-align: center;
    padding: 30px 0 10px 0;
    width: 100%;

    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(247,247,247,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(247,247,247,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(247,247,247,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#f7f7f7',GradientType=0 ); /* IE6-9 */
}

.location.dashboard #images-edit .featured {
    border: 6px solid #1fa1a3;
}

.location.dashboard #images-edit .featured .featured-text {
    background: #1fa1a3;
    padding: 11px 0 5px 0;
    color: #fff;
    width: 100%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    line-height: 1;
}

.location.dashboard .tags_list ul {
    list-style: none;
}

.location.dashboard .tags_list ul li {
    line-height: 35px;
}

.location.dashboard .tags_list tr.collapsed:hover,
.location.dashboard .tags_list tr.expanded:hover {
    cursor: pointer;
    background: #fff;
}

.location.dashboard .tags_list tr.collapsed ul ul {
    display: none;
}

.location.dashboard .tags_list td > ul > li > span.expand {
    cursor: pointer;
    float: right;
}

.location.dashboard .tags_list td > ul > li > span.used_by {
    display: inline-block;
    margin-left: 20px;
}

.location.dashboard .tags_list ul li i.delete.disabled {
    background: #959595;
    border-color: #959595;
    display: none;
}

.location.dashboard .tags_list ul li i.delete,
.location.dashboard .tags_list ul li i.save {
    font-weight: bold;
    font-family: 'Font Awesome 5 Pro';
    padding: 0;
    text-align: center;
    width: 40px;
    vertical-align: top;
}

.location.dashboard .tags_list ul li i.remove {
    cursor: pointer;
    color: #a00;
    font-size: 20px;
    vertical-align: middle;
    margin-left: 5px;
}

.location.dashboard .tags_list ul li i.remove:hover {
    color: #959595;
}

.location.dashboard .tags_list ul ul {
    margin-left: 25px;
}

.location.dashboard #edit_all_tags .tags_list ul ul {
    margin-top: 20px;
}

.location.dashboard #edit_all_tags .tags_list ul ul li {
    margin-top: 10px;
}

.location.dashboard .tags_list ul ul li {
    position: relative;
    padding-left: 25px;
}

.location.dashboard .tags_list ul ul li::before {
    content: ' ';
    background: url(../images/tag-sep.png) no-repeat left top;
    height: 21px;
    width: 13px;
    position: absolute;
    top: 0;
    left: 0;
}

.location.dashboard #add_tag {
    width: 300px;
}

#popup_location_image_edit .location_image {
    background: transparent no-repeat center center;
    background-size: cover;
    float: right;
    width: 300px;
    height: 300px;
    margin-left: 20px;
}

#popup_location_image_edit .form-items {
    margin: 0;
}

#form_delete_location_image {
    position: absolute;
    bottom: 20px;
    right: 40px;
}

/* dropzone */
.dropzone .dz-preview.dz-success .dz-success-mark {
    opacity: 1;
    -webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    -moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    -ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    -o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
    animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
}
.dropzone .dz-preview.dz-error .dz-error-message {
    display: none;
}

/* CREW STATS */

.crew.stats .annual-charts {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.crew.stats .chart {
    background: #fff;
    border: 2px solid #1fa1a3;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    width: 100%;
}
/*from 500px */
@media (min-width: 500px) {
    .crew.stats .chart {
        width: calc(100% / 2 - 10px);
    }
}
/* from 750px */
@media (min-width: 750px) {
    .crew.stats .chart {
        width: calc(100% / 3 - (40px / 3));
    }
}

.crew.stats .chart.purple {
    background: #fff;
    border: 2px solid #1fa1a3;
}

.crew.stats .chart.purple .chart_top {

}

.crew.stats .chart .chart_top {
    color: #fff;
    background: #1fa1a3;
    padding: 10px;
    margin-bottom: 20px;
}

.crew.stats .chart .chart_top span {
    font-size: 14px;
}

.crew.stats .chart.purple {
    background: #fff;
    border: 2px solid #8e25a4;
}

.crew.stats .chart.purple .chart_top {
    background: #8e25a4;
}

.crew.stats .chart.blue {
    background: #fff;
    border: 2px solid #2484c6;
}

.crew.stats .chart.blue .chart_top {
    background: #2484c6;
}

.crew.stats .pie-charts,
.crew.stats .small-boxes {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
}

.crew.stats .small-boxes .small-box {
    width: 100%;
}

/* from 750px wide */
@media (min-width: 750px) {
    .crew.stats .small-boxes .small-box {
        width: calc(100% / 3 - 40px / 3);
    }
}



.crew.stats .small-boxes .small-box .box {
    background: #000;
    position: relative;
    padding: 0 30px 0 90px;
    color: #fff;
    line-height: 70px;
    font-size: 30px;
    font-weight: 700;
    text-align: right;
    margin: 10px 0 0 0;
}

.crew.stats .small-boxes .small-box .box .box-icon {
    position: absolute;
    left: 0;
    top: 0;
    line-height: 70px;
    width: 70px;
    text-align: center;
    background: #1fa1a3;
}

.crew.stats .small-boxes .small-box.blue .box .box-icon {
    background: #2484c6;
}

.crew.stats .small-boxes .small-box.purple .box .box-icon {
    background: #8e25a4;
}

.crew.stats .small-boxes .small-box .box .box-content .info {
    font-size: 16px;
    position: absolute;
    top: 10px;
    right: 10px;
    line-height: 1;
    opacity: 0.6;
    cursor: help;
}

.crew.stats .pie-charts .pie-chart {
    overflow: hidden;
    border: 2px solid #1fa1a3;
    position: relative;
    padding: 20px 0 75px 0;
}
/*from 500px */
@media (min-width: 500px) {
    .crew.stats .pie-charts .pie-chart {
        width: calc(100% / 2 - 10px);
    }
}
/* from 750px */
@media (min-width: 750px) {
    .crew.stats .pie-charts .pie-chart {
        width: calc(100% / 3 - (40px / 3));
    }
}

.crew.stats .pie-charts .pie-chart.blue {
    border: 2px solid #2484c6;
}

.crew.stats .pie-charts .pie-chart.purple {
    border: 2px solid #8e25a4;
}

.crew.stats .pie-charts .pie-chart .legend .title {
    text-transform: uppercase;
}

.crew.stats .pie-charts .pie-chart .legend .info {
    font-size: 14px;
}

.crew.stats .pie-charts .pie-chart canvas {
    position: relative;
    z-index: 50;
}

.crew.stats .pie-charts .pie-chart .legend {
    width: 100%;
    background: #1fa1a3;
    text-align: center;
    color: #fff;
    padding: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.crew.stats .pie-charts .pie-chart.blue .legend {
    background: #2484c6;
}

.crew.stats .pie-charts .pie-chart.blue .subfigure,
.crew.stats .pie-charts .pie-chart.blue .figure {
    color: #2484c6;
}

.crew.stats .pie-charts .pie-chart.purple .legend {
    background: #8e25a4;
}

.crew.stats .pie-charts .pie-chart.purple .subfigure,
.crew.stats .pie-charts .pie-chart.purple .figure {
    color: #8e25a4;
}


.crew.stats .pie-charts .pie-chart .subfigure,
.crew.stats .pie-charts .pie-chart .figure {
    position: absolute;
    right: 0;
    left: 0;
    top: calc(50% - 50px);
    width: 100%;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #1fa1a3;
}

.crew.stats .pie-charts .pie-chart .subfigure {
    top: calc(50% - 20px);
    font-size: 16px;
    font-weight: 400;
}

/* ABOUT US PAGE */

.about-us-wrapper {
    margin-top: -160px;
    padding-top: 190px;
    overflow: hidden;
}

.about .text-content {
    max-width: 50%;
}

.about h2:not(:first-child) {
    margin: 40px 0;
}

.about h2:first-child {
    margin: 0 0 40px 0;
}

.about-section {
    position: relative;
    overflow: visible;
}

.about-section .offset-image {
    position: absolute;
}

#section-1 {
    padding-bottom: 80px;
}

#section-2 {
    padding-bottom: 20px;
}

#section-1 .offset-image {
    left: calc(50% + 30px);
    top: -130px;
}

#section-2 .offset-image {
    right: calc(50% + 31px);
    top: 0;
}

.about-sep {
    width: 100vw;
    max-width: 100%;
    margin: 60px 0;
}

.about-sep img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 120px;
}

.testimonials {
    overflow: hidden;
}

.testimonial {
    background: #fff;
    padding: 30px 30px 0 130px;
    position: relative;
    border-bottom: 6px solid #1fa1a3;
    width: calc(50% - 20px);
    margin: 0 0 20px 0;
}

.testimonial.blue {
    border-color: #2484c6;
}

.testimonial.purple {
    border-color: #8e25a4;
}

.testimonials .grid-sizer {
    width: calc(50% - 20px);
}

.testimonial::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Pro";
    font-weight: bold;
    color: #fff;
    font-size: 48px;
    display: block;
    text-align: center;
    width: 100px;
    line-height: 100px;
    height: 100px;
    margin: 0;
    background: #1fa1a3;
    position: absolute;
    left: 0;
    top: 0;
}

.testimonial.blue::before {
    background: #2484c6;
}

.testimonial.purple::before {
    background: #8e25a4;
}

.testimonial .author {
    font-weight: bold;
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.testimonial .author img {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px;
}

@media screen and (max-width: 1200px) {
    .about-section .offset-image {
        display: none;
    }

    .about .text-content {
        max-width: unset;
    }

    #section-1 {
        padding-bottom: 20px;
    }

    .about-sep {
        margin: 20px 0;
    }
}

@media screen and (max-width: 900px) {
    .testimonials .grid-sizer {
        width: 100%;
    }

    .testimonials .testimonial {
        width: 100%;
    }
}

@media screen and (max-width: 460px) {
    .testimonial {
        padding-left: 80px;
    }
    .testimonial::before {
        font-size: 34px;
        width: 60px;
        line-height: 60px;
        height: 60px;
    }
}

/* end of about us page */

/* some general rules for loading and empty table rows */

td.loading::before,
tr td.empty::before,
tr.empty td::before {
    display: none !important;
}

td.loading,
tr.empty td,
tr td.empty {
    justify-content: center !important;
}

/* Showcase Page */

#client-section {
    margin: 0 0 50px 0;
}

#client-section #our_clients {
    background: #fff;
    width: calc(100% - 50px);
    margin-left: 25px;
}

#our_clients .logo {
    width: 200px;
    height: 200px;
    text-align: center;
    margin: 0 20px;
    position: relative;
}

#our_clients .logo img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
    display: inline-block !important;
    line-height: 200px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.slick-prev::before, .slick-next::before {
    color: #959595;
}


/* CREW ROLES */

#crew-role-edit .role-icon img,
.filtered_list .role_icon img {
    width: 30px;
    height: auto;
    display: block;
    vertical-align: middle;
}

#crew-role-edit .role-icon .icon,
#popup_crew_roles_icon .icon {
    float: left;
    cursor: pointer;
    margin: 10px;
    padding: 5px;
    border: 1px solid #959595;
    background: #fff;
}

#popup_crew_roles_icon .icon.active,
#popup_crew_roles_icon .icon:hover {
    border-color: #1fa1a3;
    background: #1fa1a3;
}

#popup_crew_roles_icon .icon img {
    width: 35px;
    height: auto;
    display: block;
}


#crew-role-edit .role-icon .icon {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 0;
    height: 42px;
    width: 42px;
}

#upload_images_dropzone {
    margin-bottom: 120px;
    position: relative;
}

#upload_images_dropzone .form-items * {
    cursor: auto;
}

#upload_images_dropzone .form-items label {
    cursor: pointer;
}

#upload_images_dropzone .form-items {
    position: absolute;
    bottom: -140px;
    width: 100%;
    left: 0;
}

#locations_list .location-title img {
    height: 40px;
    width: auto;
    vertical-align: middle;
    margin-right: 10px;
}


/** Utilities **/
.bg-white {
    background: #fff;
}
