/*
First of all, remove default spaces from document. If there should be spaces
then only created by us and not by some weird browser settings.
*/

@font-face {
    font-family: "Intro Regular";
    src: url('fonts/Intro_Regular.woff') format('woff');
  } 

@font-face {
    font-family: "Intro Regular";
    src: url('fonts/Intro_Bold.woff') format('woff');
    font-weight: bold;
} 

body,
html {
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white;
    font-family: "Intro Regular", sans-serif;
    color: #182236;
    font-size: 16px;
}

.logo {
    display: inline-block;
    width: 200px;
}

.buttonIcon {
    -webkit-filter: invert(100%);
    filter: invert(100%);
    height: 19px;
    display: inline-block;
}

.wedia-button {
    font-family: "Intro Regular", sans-serif;
    background-color: #fe0047;
    color: white !important;
    border: 0px;
    border-radius: 0 !important;
    margin: 2px;
    cursor: pointer;
    transition: background-color 0.5s;
    text-decoration: none;
    font-size: 18px;
    border-radius: 0 !important;
    padding: 10px;
}

.active-navigation {
    width: 216px !important;
    margin-left: -8px;
}

.wedia-button-download {
    background-color: #fe0047;
    color: white !important;
    border: 0px;
    border-radius: 0 !important;
    margin: 8px;
    cursor: pointer;
    transition: background-color 0.5s;
    text-decoration: none;
    border-radius: 0 !important;
    padding: 10px;
    width: 64px;
    height: 64px;
    display: inline-block;
}

.wedia-button-with-icon {
    background-color: #fe0047;
    color: white !important;
    border: 0px;
    border-radius: 0 !important;
    cursor: pointer;
    padding: 6px;
    transition: background-color 0.5s;
    vertical-align: top;
    line-height: 19px;
    text-decoration: none;
}

.wedia-button-with-icon-and-text {
    background-color: #fe0047;
    color: white !important;
    border: 0px;
    border-radius: 0 !important;
    cursor: pointer;
    padding: 6px;
    transition: background-color 0.5s;
    vertical-align: top;
    line-height: 19px;
    text-decoration: none;
}


.wedia-button-icon {
    float: left;
    margin-left: 0px;
    width: 19px;
    -webkit-filter: invert(100%);
    filter: invert(100%);
    height: 19px;
    background-size: 19px 19px !important;
}

.wedia-button > .wedia-button-icon {
    margin-right: 10px;
}

.wedia-button-download > .wedia-button-icon {
    width: 64px;
    height: 64px;
    background-size: 64px 64px !important;
}

.wedia-button-user-icon {
    background: url(icons/user.svg) no-repeat;
}

.wedia-button-trash-icon {
    background: url(icons/trash.svg) no-repeat;
}

.wedia-button-edit-icon {
    background: url(icons/edit.svg) no-repeat;
}

.wedia-button-copy-icon {
    background: url(icons/copy.svg) no-repeat;
}

.wedia-button-view-icon {
    background: url(icons/view.svg) no-repeat;
}

.wedia-button-sort-icon {
    background: url(icons/sort.svg) no-repeat;
}

.wedia-button-search-icon {
    background: url(icons/search.svg) no-repeat;
}

.wedia-button-calendar-icon {
    background: url(icons/calendar.svg) no-repeat;
}

.wedia-button-add-location-icon {
    background: url(icons/add-location.svg) no-repeat;
}

.wedia-button-add-user-icon {
    background: url(icons/add-user.svg) no-repeat;
}

.wedia-button-xls-icon {
    background: url(icons/xls.svg) no-repeat;
}

.wedia-button-ppt-icon {
    background: url(icons/ppt.svg) no-repeat;
}

.wedia-button-photos-icon {
    background: url(icons/photos.svg) no-repeat;
}

.wedia-button-ascsv-icon {
    background: url(icons/ascsv.svg) no-repeat;
}

.wedia-button-secondary {
    background-color: black;
    color: white !important;
    border: 0px;
    font-size: 18px;
    border-radius: 0 !important;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.5s;
}
.wedia-button-secondary:hover {
    background-color: rgb(54, 54, 54);
}


.wedia-button-2 {
    background-color: #fe0047;
    color: white !important;
    border: 0px;
    border-radius: 0 !important;
    padding: 6px;
    margin: 2px;
    cursor: pointer;
    transition: background-color 0.5s;
    text-decoration: none;
}

.wedia-button-secondary {
    background-color: black;
    color: white !important;
    border: 0px;
    border-radius: 0 !important;
    padding: 6px;
    margin: 2px;
    cursor: pointer;
    transition: background-color 0.5s;
    text-decoration: none;
}

.wedia-button:hover {
    background-color: #c70038;
}

.wedia-button:active {
    background-color: #8f0028;
}

.table-printer input {
    color: white !important;
}

.table-printer-search .buttonIcon {
    height: 13px;
}
.table-printer a:hover {
    text-decoration: underline !important;
}


.form-creator-headline {
    padding: 8px;
}

.form-creator-row {
    background-color: #f3f3f3;
}

.errorOverlay {
    background-color: #0708088e;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.errorOverlayContent {
    background-color: white;
    width: 500px;
    min-height: 200px;
    margin-top: 200px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
}

.errorOverlayContent button {
    margin-left: auto;
    margin-right: auto;
}

.errorOverlay a {
    text-decoration: none;
}

table {
    border: none !important;
}

tr {
    border: none !important;
}

h2 {
    width: fit-content;
    font-size: 38px;
    color: #000000;
    border-bottom: 8px solid #fe0047;
    padding-bottom: 0px;
    margin-bottom: 60px !important;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.content > h2:first-child {
    margin-top: 0px !important;
}


h3 {
    width: 100%;
    text-align: center;
    font-size: 22px !important;
    color: white;
    background-color: black;
    padding-bottom: 6px;
    padding-top: 6px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}


h4 {
    margin-top: 10px;
    font-size: 18px;
    color: #2265a4;
}

.toggleVisibility {
    cursor: pointer;
    margin-top: 0;
    margin-bottom: 5px;
}

.initiallyHidden {
    position: relative;
    margin-bottom: 60px;
    margin-left: 10px;
    padding-left: 20px;
    padding-bottom: 10px;
    padding-top: 20px;
    border-bottom: 1px solid #d3dde8;
    border-left: 1px solid #d3dde8;
    /*
    border-left:3px solid #a9ccec;
    border-bottom:3px solid #a9ccec;
    */
}

/*
This elements adds spaces at left and right of document. Content will be shown
in the center.
*/
.verticalStrip {
    min-width: 500px;
    width: 95%;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    background-color: #ffffff;
    border: 0px solid #999999;
    border-top: 0px;
    border-bottom: 0px;
}


.navigationArea {
    position: sticky;
    top: 20px;
    align-self: flex-start; /* <-- this is the fix */
    width: 200px;
    margin-right: 50px;
}


/* needed if menu changes to fixed */
.navigationAreaSpacer {
    width: 100%;
    /* height:60px; */
    display: none;
    margin-bottom: 0px;
}

.pageHeadline {
    position: relative;
    vertical-align: middle;
    float: right;
    margin-top: 10px;
    margin-right: 22px;
    display: inline-block;
    font-size: 20px;
    color: black;
    z-index: 96;
}

/*
The actual area where all content is put into.
*/

.flexContent {
    width: 100%;
    display: flex;
    margin-top: 130px;
}

.navigationSwitch {
    display: none;
    height: 30px;
    background-image: url(icons/hamburger.svg);
    background-repeat: no-repeat;
    text-decoration: none;
}

.navigationSwitchOpened {
    background-image: url(icons/close.svg) !important;
}

@media (max-width: 1000px) {
    .flexContent {
        width: 100%;
        display: block;
        margin-top: 0px;
    }

    .navigationArea {
        margin-top: 0;
    }

    .navigationAreaHiddenMobile {
        display: none;
    }

    .navigationSwitch {
        display: block;
    }
    
    .logo {
        display: none;
    }
}
.content {
    flex-grow: 1;
    margin-left: auto;
    margin-right: auto;

}

.header {
    position: relative;
    width: 100%;
    height: 30px;
}


.headerNavigationLinkCategoryHeadline {
    font-size: 17px;
    position: relative;
    display: inline-block;
    z-index: 97;
    cursor: pointer;
    color: white;
    width:200px;
    text-align: left;
    padding-left: 16px;
    vertical-align: middle;
    text-transform: uppercase;
    font-weight: bold;
}

a.headerNavigationLinkCategoryHeadline:link {
    text-decoration: none;
}

/* box around navigation links, see it as "background" */
.headerNavigationLinkBox {
    margin-top: 0;
    border: 0px solid yellow;
    display: block;
    z-index: 99;
}


/* Invisible by default - only visibile when headerNavigationLinkCategoryBox is hovered */
.headerNavigationLinkBoxInner {
    position: relative;
    background-color: white;
    width: 200px;
    max-height: 0px;
    overflow: hidden;
    z-index: 99;
    transition: max-height 1s;
    margin-bottom: 20px;
}

/* Invisible by default - only visibile when headerNavigationLinkCategoryBox is hovered */
.headerNavigationLinkCategoryBox a.headerNavigationLink:visited,
a.headerNavigationLink:active,
a.headerNavigationLink:link {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    margin: 0px;
    display: block;
    text-align: center;
    margin-top: 3px;
    padding:2px;
    clear: both;
    z-index: 102;
    /* display:block;*/
    /*Debug*/
}


/*  This is the box around a link of navigation. Its size must be exactly the
    size of the link of navigation (that means height+margins of link).
    This box is used to span the whole navigation bar. If there are too many
    navigation elements inside the navigation bar, the elements will break to
    a second line. That means, using small browser windows (or mobile view),
    the navigation goes over multiple lines.
    However, the reasion for this element to have a fixed height is that 
    the popup menus always will show BELOW this navigation element and NOT
    increase the size of this navigation element! 
    
    To make it short: we have navigation bar ("navigationArea") which is a
    vertical stripe. Inside we have a couple of boxed with fixed sizes
    ("headerNavigationLinkCategoryBox") which are allowed to fill multiple 
    lines (and therefore increase the navigation bar in height). Each box 
    contains a headline and multiple links. The links are only displayed when
    hovered.
    
    */
.headerNavigationLinkCategoryBox {
    position: relative;
    display: block;
    margin: 0px;
    cursor: default;
    /* height:60px; */
    overflow: visible;
    font-size: 10px;
    z-index: 97;
}

/*
// Hover sub menu is currently not wanted
.headerNavigationLinkCategoryBox:hover {
    z-index: 101;
}

.headerNavigationLinkCategoryBox:hover a.headerNavigationLink {
    z-index: 101;
}

.headerNavigationLinkCategoryBox:hover .headerNavigationLinkBoxInner {
    max-height: 1000px;
    z-index: 101;
}
*/

.inpage-navigation {
    font-size: 18px;
    color: black;
    text-decoration: none;
    margin-right: 30px;
    margin-bottom: 100px !important;
    line-height: 40px;
    text-transform: uppercase;
}

.inpage-navigation-active {
    font-weight: bold;
    width: fit-content;
    color: #000000;
    border-bottom: 4px solid #fe0047;
    padding-bottom: 6px;
    margin-bottom: 100px !important;
}


a.headerUserLink:active,
a.headerUserLink:visited,
a.headerUserLink:link {
    position: absolute;
    top: 10px;
    right: 10px;
    text-decoration: none;
    color: #000000;
}

a.headerUserLink:hover {
    color: #bbbbbb;
}

.headerUserLink img {
    display: inline-block;
    height: 20px;
    margin-left: 10px;
}
.errorMessage {
    position: relative;
    width: 70%;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    border: 0px solid red;
    background-color: #f9e4e4;
    border-radius: 0px;
    color: red;
    margin-top: 20px;
    margin-bottom: 20px;
}


.warningMessage {
    position: relative;
    width: 70%;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    border: 0px solid red;
    background-color: #f4e6ae;
    border-radius: 0px;
    color: #9b6600;
    margin-top: 20px;
    margin-bottom: 20px;
}


.informationMessage {
    position: relative;
    width: 70%;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    border: 0px solid #65a770;
    background-color: #ebf8ed;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #1f5327;
}

.loginButton {

    text-decoration: none;
    background-color: #34739f;
    color: #ffffff;
    border-radius: 0px;
    padding: 2px;
    border: 0;
    cursor: pointer;
    font-size: 18px;
}



.returnLink {
    text-decoration: none;
    width: 200px;
    position: relative;
    display: block;
    z-index: 97;
    cursor: pointer;
    color: black;
    padding: 6px;
    margin: 2px;
    text-align: center;
    border: 4px solid black;
    font-weight: bold;
    text-transform: uppercase;
}

.returnLink:hover {
    background-color: black;
    color: white;
}

.defaultLink {
    display: inline-block;
    position: relative;
    text-decoration: none;
    background-color: #a2aaba;
    color: #ffffff;
    border-radius: 0px;
    padding: 2px 15px;
    border: 0;
    cursor: pointer;
    min-width: 120px;
    height: 30px;
    line-height: 30px;
    margin: 8px;
    margin-left: 2px;
    margin-right: 2px;
    ;
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
}

.defaultLinkText {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: #2265a4;
    cursor: pointer;
    font-size: 15px;
}

.defaultLinkSmaller {
    display: inline-block;
    position: relative;
    text-decoration: none;
    background-color: #a2aaba;
    color: #ffffff;
    border-radius: 0px;
    padding: 2px 15px;
    border: 0;
    cursor: pointer;
    height: 25px;
    line-height: 25px;
    margin: 8px;
    margin-left: 2px;
    margin-right: 2px;
    ;
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
}


.defaultLink:hover {
    background-color: #8890a0;
}


.textfield {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    background-color: #F1F2F2;
    color: #263a5f;
    padding: 20px;
    border-radius: 0px;
    max-width: 600px;
    border: 1px solid #d3dde8;
    margin-left: 0px;
    z-index: 10;
}

/* hmmm TODO find the missing one with lower case */
.textfieldLarge {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    background-color: #F1F2F2;
    color: #263a5f;
    padding: 20px;
    border-radius: 0px;
    border: 1px solid #d3dde8;
    margin-left: 0px;
    z-index: 10;
}


.innerTextfieldLarge {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    background-color: #e8edf6;
    color: #263a5f;
    padding: 20px;
    border-radius: 0px;
    border: 1px solid #d3dde8;
    margin-left: 0px;
    z-index: 10;
}


/* calendar widget */

.bookingDateField {
    float: left;
    position: relative;
    cursor: default;
    width: 26px;
    height: 26px;
    color: white;
    padding: 0px;
    display: inline-block;
    margin: 1px;
    text-align: center;
    vertical-align: middle;
    line-height: 26px;
}

.bookingInactive {
    color: #2c2c2c !important;
    background-color: #d8dbe1;
    border: 3px solid #d8dbe1;
}


.bookingFullNoOption {
    background-color: #ea334d;
    border: 3px solid #ea334d;
}


.bookingFreeNoOption {
    background-color: #45d467;
    border: 3px solid #45d467;
}

.bookingPartlyFreeNoOption {
    background-color: #01b4ff;
    border: 3px solid #01b4ff;
}

.bookingPartlyFreeAndOption,
.bookingFreeAndOption {
    border: 3px solid #ffa201;
    background-color: #ffa201;
}

.bookingFullAndOption {
    border: 3px solid #ea334d;
    background-color: #ffa201;
}

.bookingFlexible {
    border: 3px solid #93daa1 !important;
    background-color: #93daa1;
}

.emptyDate {
    background-color: #d8dbe1;
    border: 3px solid #d8dbe1;
}

.dateHeader {
    float: left;
    position: relative;
    cursor: default;
    width: 26px;
    height: 26px;
    color: white;
    display: inline-block;
    background-color: #9ba4b0;
    border: 3px solid #9ba4b0;
}


.calendarWidgetInner {
    position: relative;
    min-width: 1320px;
    height: 50px;
    margin: 0;
    padding: 0;

}

.calendarWidgetOuter {
    display: inline-block;
    float: left;
    position: relative;
    width: 100%;
    overflow-y: auto;
    margin: 0;
    padding: 0;
}

.dateMonthEqualLength {
    float: left;
    width: 100px;
    text-align: center;
    background-color: #d8dbe1;
    color: black;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    display: inline;
    clear: both;
}

.bookingCalendarLine {
    width: 100000px;
    /* NOTE: This length will be altered using javascript in addBooking */
}

.bookingLocationName {
    position: relative;
    float: left;
    height: 26px;
    border: 3px solid black;
    width: 300px;
    text-align: center;
    background-color: black;
    color: white;
    display: inline-block;
    font-size: 11px;
    clear: left;
}

.bookingCalendarContainer {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
}


.textPressed {
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.cartWidget {

    display: inline-block;
    border: 1px solid #d3dde8;
    background-color: #F1F2F2;
    margin: 20px;
    padding: 20px;
    width: 500px;
}


/*             booking overview         */


.bookingOverview {
    position: absolute;
    background-color: #F1F2F2;
    border: 0px solid gray;
    left: 80px;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: 0px;
}

.bookingOverviewOuter {
    position: relative;
    min-width: 400px;
    width: 80%;
    background-color: #F1F2F2;
    border: 0px solid gray;
    padding: 10px;
    border-radius: 0px;
    border: 1px solid #d3dde8;
    overflow: hidden;
}

.bookingOverviewLine {
    position: absolute;
    width: 100%;
    background-color: ;
}

.bookingOverviewItem {
    position: absolute;
    text-decoration: none;
}



.bookingOverviewMonth {
    position: absolute;
    background-color: #F1F2F2;
    border-left: 3px solid #dddddd;
    padding-left: 3px;
    cursor: default;
    color: #bbbbbb;
    /*font-weight:bold;*/
}

.bookingMediaName {
    position: absolute;
    border: 0px solid #dddddd;
    text-align: right;
    color: #2c5983;
    /*font-weight:bold;*/
    font-size: 14px;
    z-index: 20;
    cursor: pointer;
    text-decoration: none;
}



/* image widget */

.imageWidget {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 0;
    background-color: ;
    color: #263a5f;
    padding: 1px;
    display: inline-block;
}

.imageWidget img {
    margin-left: 0px;
    margin-right: 3px;
    position: relative;
}




/* Tool tip */

.ui-tooltip-content {
    max-width: 500px;
    font-size: 14px;
}

.ui-tooltip {
    white-space: pre-line;
}



/* Address widget */
.addressWidgetRight {
    font-size: 14px;

}

.addressWidgetLeft {
    min-width: 120px;
    font-size: 14px;
    font-weight: bold;
    color: #486582;
    vertical-align: top;
}

input:disabled,
input:read-only,
input:-moz-read-only {
    opacity: 0.5;
}



/* location overview widget */
.locationMapsEmbedding {
    border-width: 0px;
    position: relative;
}

.locationWidgetGroup {
    position: relative;
    width: 450px;
    /*float:left;*/
    display: inline-block;
    vertical-align: top;
    margin-right: 50px;
}

.locationWidgetImageGroup {
    display: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.locationWidgetTable {
    border: 0px solid green;
    border-spacing: 0px 10px;
}

.locationWidgetLeft {
    text-align: right;
    padding-right: 20px;
    vertical-align: top;
    width: 150px;
    font-weight: bold;
}

.locationWidgetRight {
    vertical-align: top;
}


.textLink {
    color: black;
    text-decoration: none;
}


.columnMaxSize {
    max-width: 400px;
}

.formRow {
    width: 100%;
    margin-top: 12px;
    margin-bottom: 12px;
}

.verticalDynamicSpacer {
    width: 100%;
    height: 20vh;
}

label {
    display: inline-block;
    min-width: 140px;
    text-align: left;
}


input[type=text], input[type=password], input[type=date], textarea, select {
    border: 2px solid black;
    min-width: 200px;
    margin: 2px;
}

input[type='checkbox'], input[type='radio'] {
    accent-color: #fe0047;
}