/*
	Abstracts are helpers, variables and functions
	for scss compliation.
*/
/*
	@TODO: Add to theme: new division fix for updated sass package.
*/
/**==================================================================================================================================
BREAKPOINT
@TODO: remove? What is use case?? either use simple global points or write custom line. why does first breakpoint have to be 0?
 ==================================================================================================================================*/
/**==================================================================================================================================
BREAKPOINT ENDS
==================================================================================================================================*/
span.edit-link {
  display: inline-block;
  background-color: yellow;
  font-weight: 700;
  position: fixed;
  left: 0;
  bottom: 3.125rem;
  transform: translateX(-45px);
  transition: all 0.2s;
}

span.edit-link a {
  display: block;
  padding: 0.9375rem;
}

span.edit-link:hover {
  transform: translateX(0);
}

/*
	Variables for compliation
	NB! Colors should be added to base/config file as css root variable.
*/
/**
 * Block section background colors.
 * Include the background options ACF fields group to use these.
 */
/*
 * makes ul/ol as a dropdown select (normaly in mobile)
 * Structure: div > title > list > li > a
*/
/*
	Variables for legacy dc plugins
*/
.video {
  width: 100%;
  height: 100%;
}

.video .video-container {
  height: 100%;
  width: 100%;
  position: relative;
  border-radius: 10px;
}

.video .video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: translate(0) !important;
  border-radius: 10px;
}

.video .video-container .gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgb(10, 6, 18) 0%, rgba(10, 6, 18, 0.8) 30%, transparent 100%);
  border-radius: 10px 10px 0 0;
  pointer-events: none;
  z-index: 1;
}

.video .video-container .gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgb(10, 6, 18) 0%, rgba(10, 6, 18, 0.8) 30%, transparent 100%);
  border-radius: 0 0 10px 10px;
  pointer-events: none;
  z-index: 1;
}

.video .video-container .gradient-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 80px;
  background: linear-gradient(to right, rgb(10, 6, 18) 0%, rgba(10, 6, 18, 0.8) 30%, transparent 100%);
  border-radius: 10px 0 0 10px;
  pointer-events: none;
  z-index: 1;
}

.video .video-container .gradient-right {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  background: linear-gradient(to left, rgb(10, 6, 18) 0%, rgba(10, 6, 18, 0.8) 30%, transparent 100%);
  border-radius: 0 10px 10px 0;
  pointer-events: none;
  z-index: 1;
}
