

/*
 * Global box-sizing
 */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

/*
 * Basics
 */
body {
	font-family: 'Cadiz', sans-serif;
	font-weight: normal;
	font-size: 18px;
	color: #384848;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background: #FDFDFD;
	height: 100%;
}
:focus:not(:focus-visible) {
	outline: none;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
	display: inline-block;
}
a {
	color: #3578ea;
}
a:hover {
}
a:focus {
}
a:active {
	color: #2a60bb;
}
a:visited {
	color: #2a60bb;
}

h1, h2, h3, h4, h5 {
	margin: 0;
}

h1 {
	font-size: 1.33rem;
	line-height: 1em;
	font-weight: bold;
	margin-bottom: 1rem;
}
h2 {
	font-size: 1rem;
	margin-bottom: 1rem;
	font-weight: bold;
}
h3 {
	font-size: 1rem;
	margin-bottom: 0.5rem;
	font-weight: normal;
}
@media (max-width: 768px) {
  h1 {
	font-size: 1.65rem;
	margin-bottom: 0.65rem;
  }
  h2 {
	font-size: 1.40rem;
  }
  h3 {
	font-size: 1rem;
  }
}
p,
ul,
ol {
	max-width: 60ch;
	margin: 0.5rem 0 1rem 0;
}
blockquote {
	max-width: calc(60ch + 2em + 2px);
	margin: 1em 0 1em 1em;
	padding-left: 2em;
	border-left: 2px solid rgba(0,0,0,0.1);
}
blockquote::before {
	content: '“';
	background: white;
	color: rgba(0,0,0,0.1);
	font-size: 4em;
	line-height: 0.75em;
	float: left;
	margin-left: -0.75em;
}
blockquote p {
	margin-bottom: 0.5em;
}
@media (max-width: 768px) {
  blockquote::before {
	margin-left: -0.65em;
  }
}
ins {
	text-decoration: none;
}

legend {
	padding: 0 10px;
}
iframe {
	width: 100%;
}

/*
 * Forms
 */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"] {
	display: inline-block;
	padding: 10px;
	border-radius: 10px;
	border: 1px solid #EBEDED;
}
textarea {
	display: inline-block;
	height: 4em;
	padding: 10px;
	border-radius: 10px;
	border: 1px solid #EBEDED;
}
input[type="submit"],
button[type="submit"],
.button,
.button:visited {
    cursor: pointer; /* Thor added 2021.08.04 */
	font-size: 0.8rem;
	font-weight: bold;
	padding: 13px 18px 12px 18px;

	display: inline-block;
	border-radius: 5px;
    background-color: #3578ea;
	color: white;

	border: none;
	text-decoration: none;

    /* Useful stuff from bootstrap */
    -ms-touch-action: manipulation;
        touch-action: manipulation;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}
input.low-contrast-button,
button.low-contrast-button {
	background: transparent;
	border: 1px solid #EBEDED;
	color: #384848;
}
button { /* If inside .button then Safari rendering anchors with class="button" really shitty */
    -webkit-appearance: button;
}
.button:hover {
    background-color: #2a60bb;
}
.button:focus {
    box-shadow: 0 0 0 .4rem rgba(53,120,234,.5);
    outline:0;
}
/* Needed to avoid dotted inner border around button text */
button::-moz-focus-inner {
  border-style: none;
}
/* Copied from my design */
.button-go-icon {
    display: none;
}
select {
	display: inline-block;
	padding: 10px 20px 10px 10px;
	border-radius: 10px;
	border: 1px solid #EBEDED;
}
fieldset {
	border: 1px solid #EBEDED;
	border-radius: 10px;
}

.input-widget,
.input-block {
    margin-bottom: 1.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.input-widget-label,
.input-block-label {
    width: 300px;
    background-color: #FDFDFD;
	border: 1px solid #EBEDED;
	border-right-width: 0px;
    border-radius: 10px 0 0 10px;
    padding: 10px;
    display: inline-block;
}
/*
.input-widget-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
*/
.input-widget-group-input,
.input-block-input {
    padding: 10px;
    width: 100%;
	border: 1px solid #EBEDED;
    outline: 0;
}
.input-widget-group-input {
    letter-spacing: 2px;
    border-bottom-left-radius: 5px;
}
.input-block-input,
input.input-block-input {
    border-radius: 0 10px 10px 0;
}

.input-widget-group-button {
    width: 100px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-style: none;

}
.input-widget-group-input:focus,
.input-block-input:focus {
    border-color: #3578ea;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(53,120,234, 0.6);
}

.input-block-input[readonly] {
    background-color: #EBEDED;
    cursor: not-allowed;
}
.input-block-input[readonly]:focus {
	box-shadow: none;
	border-color: #EBEDED;
}
.input-block-input > label+label {
    padding-left: 10px;
}

.input-block.has_help_text {
    margin-bottom: .5rem;
}
.input-block-help-text {
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
}
.input-block-help-text-injected {
    animation-duration: 3s;
    animation-name: fadeIn;
}
.form-margin-top {
    margin-top: 40px;
}
.form-small {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 800px) {
  .input-block {
	display: block;
  }
  .input-block-label {
	width: 100%;
	border-radius: 10px 10px 0 0;
	border-right-width: 1px;
	border-bottom-width: 0;
	text-align: left;
  }
  .input-block-input,
  input.input-block-input {
	border-radius: 0 0 10px 10px;
  }
}





/*
 * Tables
 */
table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}
.responsive-table {
    overflow-x: auto;
}
caption {
    font-style: italic;
    font-size: 13px;
    font-size: 1.3rem;
    line-height: 25px;
}
thead, tfoot {
    font-weight: bold;
}
thead {
}
tfoot {
}
th {
	padding: 20px 20px 0 0;
	text-align: left;
}
th:first-child {
	padding-left: 40px;
}
th:last-child {
	padding-right: 40px;
}
td {
	padding: 20px 20px 20px 0;
    border-bottom: 1px solid #EBEDED;
    vertical-align: top;
}
td:first-child {
	padding-left: 40px;
}
td:last-child {
	padding-right: 40px;
}
tfoot td {
	border: none;
}
tbody:last-child tr:last-child td {
	border: none;
}
.products-table--header-icon svg {
	width: 18px;
	height: 18px;
}

/*
 * Components
 */
.alert {
	display: block;
	background: #EBEDED;
	border-radius: 10px;
	padding: 30px 45px;
	position: relative;
	margin: 0 0 30px 25px;
}
.alert:before {
	content: ' ';
	border: 2px solid #EBEDED;
	border-radius: 100%;
	width: 50px;
	height: 50px;
	display: block;
	background: url("img/icon--error.svg");
	background-repeat: no-repeat;
	background-color: white;
	background-position: 50% 50%;
	background-size: 24px;
	position: absolute;
	top: calc(50% - 25px);
	left: -25px;
}

.alert-big {
	border-radius: 30px;
	padding: 45px 30px 30px 30px;
	margin: 30px 0 30px 0;
}
.alert-big:before {
	top: -25px;
	left: 40px;
}
.alert-error {
	background: #FF7C60;
	color: white;
	font-weight: bold;
}
.alert-error:before {
	border-color: #FF7C60;
	background-image: url("img/icon--error--red_1.svg");
}
.alert-success {
	background: #d5f0d0;
}
.alert-success:before {
	border-color: #d5f0d0;
}
.alert-warning {
	background: #FFE6B5;
}
.alert-warning:before {
	border-color: #FFE6B5;
}



/*
 * Page Parts
 */
.body--content-header--focus {
	overflow: hidden;
	position: fixed;
}
.overlay {
	z-index: 2;
	background: rgba(0,0,0,0.8);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}
.body--content-header--focus .overlay {
	display: block;
}
.page-header {
	width: 100%;
	max-width: 280px;
	height: 100%;
	padding: 15px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 3;
	background: white;
	box-shadow: 0px 30px 54px rgba(0, 0, 0, 0.03);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: auto;
}
@media (max-width: 900px) {
  .page-header {
	display: none;
  }
  .body--content-header--focus .page-header {
	display: flex;
  }
}

.page-header--top--branding-close {
	display: flex;
	align-items: flex-end;
	margin: 35px 0;
}
.page-header--menu-toggle--icon {
	display: none;
	font-size: 1rem;
	padding: 0 10px 0 0;
}
.page-header--logo {
	display: inline-block;
	height: 29px;
	margin-left: 15px;
}
@media (max-width: 900px) {
  .page-header--menu-toggle--icon {
	display: inline-block;
  }
  .page-header--logo {
	height: 25px;
	margin: 0;
  }
}
.page-header--nav--primary {
}
.page-header--nav--secondary {
}

.page-header--nav--item {
	display: block;
	padding: 13px 20px 13px 50px;
	text-decoration: none;
	border-radius: 10px;
	background-position: 13px 13px;
	background-size: auto 21px;
	background-repeat: no-repeat;
	color: #384848;
}
.page-header--nav--item:visited {
	color: #384848;
}
.page-header--nav--item--current {
	background-color: #384848;
	color: white;
}
.page-header--nav--item--current:visited {
	color: white;
}
.page-header--nav--item--start {
	background-image: url("img/icon--review.svg");
}
.page-header--nav--item--start.page-header--nav--item--current {
	background-image: url("img/icon--review--white.svg");
}
.page-header--nav--item--invoices {
	background-image: url("img/icon--invoice.svg");
}
.page-header--nav--item--invoices.page-header--nav--item--current {
	background-image: url("img/icon--invoice--white.svg");
}
.page-header--nav--item--products {
	background-image: url("img/icon--product.svg");
}
.page-header--nav--item--products.page-header--nav--item--current {
	background-image: url("img/icon--product--white.svg");
}
.page-header--nav--item--company-details {
	background-image: url("img/icon--company-details.svg");
}
.page-header--nav--item--company-details.page-header--nav--item--current {
	background-image: url("img/icon--company-details--white.svg");
}
.page-header--nav--item--user-information {
	background-image: url("img/icon--user-information.svg");
}
.page-header--nav--item--user-information.page-header--nav--item--current {
	background-image: url("img/icon--user-information--white.svg");
}
.page-header--nav--item--reviews {
	background-image: url("img/icon--star.svg");
}
.page-header--nav--item--reviews.page-header--nav--item--current {
	background-image: url("img/icon--star--white.svg");
}
.page-header--nav--item--accessibility {
	background-image: url("img/icon--accessibility.svg");
}
.page-header--nav--item--accessibility.page-header--nav--item--current {
	background-image: url("img/icon--accessibility--white.svg");
}
.page-header--nav--item--api {
	background-image: url("img/icon--api.svg");
}
.page-header--nav--item--api.page-header--nav--item--current {
	background-image: url("img/icon--api--white.svg");
}
.page-header--nav--item--bookings {
	background-image: url("img/icon--booking.svg");
}
.page-header--nav--item--bookings.page-header--nav--item--current {
	background-image: url("img/icon--booking--white.svg");
}


.page-header--nav--item--help-contact {
	background-image: url("img/icon--umbrella.svg");
}
.page-header--nav--item--help-contact.page-header--nav--item--current {
	background-image: url("img/icon--umbrella--white.svg");
}
.page-header--nav--item--logout {
	background-image: url("img/icon--logout.svg");
}

.has-sidebar {
	display: flex;
}
.content {
	padding: 50px 30px 50px 330px;
}
.has-sidebar .content {
	width: 75%;
}
.sidebar {
	width: 25%;
	background: white;
	padding: 50px 30px 50px 30px;
}
@media (max-width: 1150px) {
  .has-sidebar {
	display: block;
  }
  .has-sidebar .content,
  .sidebar {
	width: 100%;
  }
  .sidebar {
	padding: 50px 30px 50px 330px;
  }
}
@media (max-width: 900px) {
  .content,
  .sidebar {
	padding: 50px 15px 50px 15px;
  }
}
.content-header {
	max-width: 1000px;
}

.content-header--menu-toggle {
	display: none;
	font-size: 1rem;
	padding: 0 10px 0 0;
}
@media (max-width: 900px) {
  .content-header--menu-toggle {
	display: inline-block;
  }
}

.content-header--h1 {
	display: inline-block;
}
#main {
	clear: both;
	width: 100%;
	max-width: 1000px;
}
#main > .display-block {
	width: 100%;
}

.section {
	background: white;
	border-radius: 30px;
	box-shadow: 0px 30px 54px 0px #00000008;
	margin-bottom: 50px;
	padding: 	30px;
}
.table-section {
	padding: 0;
}
.section-heading {
}







/*
 * Page: Products
 */
.icon-check-bold--coloured {
	color: #61bd4f;
}



/*
 * Pages: Invoices
 */

.invoices--invoice--download {
	display: inline-block;
}
.invoices--invoice--download--icon {
	height: 1rem;
}


/*
 * Pages: Company Details
 */
.company-details--edit-button {
	float: right;
	margin: -11px 0 30px 0;
}
.company-details--display-block {
	width: 100%;
}
.company-details--table--subheading {
	border-right: 1px solid #EBEDED;
}
.company-details--table--subheading--last {
	border-bottom: none;
}
.company-details--table--subheading2,
.company-details--table--subheading2:first-child {
	padding-left: 30px;
}
.company-details--form--button {
	margin-left: auto;
	margin-right: auto;
	display: block;
}

/*
 * Page: Accessibility
 */
.accessibility--button {
	display: block;
	margin: 30px auto;
}


/*
 * Page: Login
 */
 #login {
    padding: 20px;
    margin: 0 auto;
    max-width: 700px;
}

.login--logo {
	margin: 20px auto 50px auto;
	width: 200px;
	display: block;
}

#login_form_actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
       -ms-flex-pack: justify;
        justify-content: space-between;
    -webkit-box-align: center;
       -ms-flex-align: center;
          align-items: center;
}




#login_contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.login_contact_support_widget {
    -webkit-box-flex: 1;
        -ms-flex: 1 0 0;
            flex: 1 0 0;
    margin-bottom: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
/* BUG? Safari refuses to wrap (works in IE/Edge/FF/Vivaldi) */
@media (max-width : 520px) {
    #login_contact {
        display: block;
    }
    .login_contact_support_widget {
        width: 100%;
    }
}

.login_contact_support_widget_icon {
    background-color: #e4e5e6;
    display: inline-block;
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    color: #fff;
    font-size: 30px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    text-shadow: #151b1e 0 0 1px;
    width: 60px;

    margin-right: 10px;

    /* Avoid shrinking icons */
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
}

.login_contact_support_widget_text {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
    -webkit-box-pack: center;
       -ms-flex-pack: center;
     justify-content: center;

}
.login_contact_support_widget_text_link {
    text-decoration: none;
}


#login_cookies_info {
}
#login_cookies_info_img {
    vertical-align: text-bottom;
}

@supports (display: flex) {
    #browser_not_supported {
        display: none;
    }
}





/*
 * Elements
 */


.h1_arrow {
    color: #3578ea;
}

.separator {
    background-image:url("img/dots-three-horizontal.svg");
    height: 60px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50px auto;
}
.seperator-small {
    height: 40px;
}
code {
    background-color: #f5f5f5;
    padding: 0 0.4rem;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
abbr {
    cursor: help;
}





/*
 * Layout
 */
.display-1-column {
    display: flex;
}

/* Small screens - half the padding */
@media (max-width : 480px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    #main {
        margin-top: 15px;
    }
    .section {
        margin-bottom: 10px;
        margin-bottom: 1.0rem;
    }
}



/*
 * Toggle password widget
 */

#toggle_password {
    display: none;
}
.show_toggle_password {
    display: block !important;
    position: absolute;
    right: 10px;
    bottom: 10px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

/* Remove IE 10 (win 7, more?) show password icon to add our own! */
::-ms-reveal {
    display : none;
}
/* FIX: https://stackoverflow.com/questions/38663578/how-to-hide-autofill-safari-icon-in-input-field */
/*input::-webkit-textfield-decoration-container {
    margin-right: 20px !important;
    padding-right: 20px !important;
}*/

/*
 * Animations
 */

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
