html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width:100%;
    background-color: #C9D9AD;
    font-family: area-normal, sans-serif;
}

h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 800;
    color: rgb(83, 93, 66);
}

#header {
    position: relative;
    background-color: white;
    width: 100%;
    height: 80px;
}

.vhelper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.valign-middle {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;

    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.vdivider {
    min-width: 1px;
    max-width: 1px;
    min-height: 50px;
    margin-left: 10px;
    background-color: #ccc;
}

.col-green {
    color: #799C3A;
}

#logo {
    vertical-align: middle;
    margin-left: 20px;
    cursor: pointer;
}

#content {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    width: 80%;
    margin: 0 auto 0 auto;
}

.searchresult {
    width: 100%;
    height: 80px;
    margin: 10px auto 10px auto;
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #C9D9AD;
    cursor: pointer;
}

.searchresult:hover {
    border: 1px solid #799C3A;
}

.res-photo {
    float: left;
    width: 100px;
    height: 100%;
    object-fit: cover;
}

.res-name {
    margin-left: 20px;
}

.res-right {
    margin-left: auto;
    margin-right: 20px;
}

.churchName {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

.churchLocation {
    display: block;
    font-size: 18px;
    line-height: 24px;
}

.res-live {
    height: 24px;
    white-space: nowrap;
    padding: 5px;
}

.live-img {
    float: left;
    width: 24px;
    height: 24px;
}

.live-text {
    float: left;
    margin-left: 10px;
    font-size: 16px;
    line-height: 24px;
    height: 24px;
}

.res-modaliteit {
    margin-left: 20px;
    margin-right: 10px;
}

#player {
    position: relative;
    background-color: rgb(83, 93, 66);
    margin-left: auto;
    margin-right: auto;
    object-fit: cover; 
}

#error {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    padding: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 800px;
    color: #B00020;
    background-color: #330020;
    visibility: hidden;
}

.button {
    color: #fff;
    background-color: #799C3A;
    border-radius: 17px;
    font-family: Arial, system, sans-serif;
    font-weight: 500;
    font-size: 16px;
    vertical-align: middle;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    box-shadow: none;
    border: 0;
    padding: 8px 20px;
    cursor: pointer;
    user-select: none;
    margin-left: 15px;
}

.btn-icon {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.lock {
    width: 20px;
    height: 20px;
    margin-left: 20px;
}

.search-container {
    position: absolute;
    right: 20px;
    top: 20%;
    display: flex;
}

.search-container input[type="search"] {
    width: 200px;
    padding: 8px 12px;
    border: 2px solid #799C3A;
    border-radius: 20px 0 0 20px;
    outline: none;
    font-size: 16px;
    vertical-align: middle;
}

.search-container button {
    position: relative;
    right: 5px;
    vertical-align: middle;
    padding: 5.5px 12px;
    border: 2px solid #799C3A;
    border-radius: 0 20px 20px 0;
    background-color: #799C3A;
    cursor: pointer;
    font-size: 16px;
    color: white;
}

.search-container button:hover {
    background-color: #566e29;
}

.multibox {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 10px auto 10px auto;
}

.search-res {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;      
    padding: 10px;
    border-radius: 5px;           
    background-color: white;  
}

/* Overwrites the control bar for correct display on TV */
.video-js .vjs-control-bar {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 10px;
  background-color: rgba(255, 219, 219, 0.6) !important;
}

.video-js .vjs-progress-control {
  flex-grow: 1 !important;
  margin: 0 10px !important;
  width: 90% !important;
}

.video-js .vjs-progress-holder {
  width: 100% !important;
  box-sizing: border-box;
}

/* Only when watching live video */
#player.live-stream .video-js .vjs-fullscreen-control {
  margin-left: auto !important; /* pushes fullscreen button all the way right */
}

#player.live-stream .video-js .vjs-progress-control, /* Hides the progress bar and time */
#player.live-stream .video-js .vjs-time-control,
#player.live-stream .video-js .vjs-time-display {
  display: none !important;
}
