﻿.prod-outer {
    float: left;
    margin: 5px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    overflow: hidden;
   width: 200px;
}

.prod-outer .prodpic {
    height: 200px;
	text-align: center;
}

.prod-outer .prodpic img {
    width: 198px;
    height: auto;
}

.prod-outer figcaption {
    float: left;
    background-color: #fff;
    position: relative;
    width: 100%;
    height: 25px;
    padding-left: 8px;
    padding-top: 6px;
    color: #000;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}
.prod-outer .InBasket {
    position: absolute;
    z-index: 2;
    width: 30px;
    height: 23px;
    left: 4px;
    bottom: 0px;
    cursor: pointer;
    background: transparent url(../include/images/shopping-cart-16px.png) no-repeat scroll 6px 0px;
}

.prod-outer .productcost {
        color: #8a8e90;
    font-size: 13px;
    text-align: right;
    position: relative;
    height: 23px;
    float: left;
    width: 100%;
    padding-right: 7px;
    box-sizing: border-box;
	padding-top: 3px;
}

.prod-outer .prodsave {
		position: absolute;
		height: 19px;
		left: 0;
		top: 0;
		font-size: 13px;
		background-color: yellow;
		padding: 5px 5px 1px;
		color: #c51d1d;
		font-weight: bold;
}

  #container {
    position: relative;
    display: inline-block;
    background: #f1f3f0;
    cursor: pointer;
    user-select: none;
	border: 0px;
  }

  video { display: block; }

  #centerBtn {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 68px; height: 68px;
    background: none;              /* var: rgba(0,0,0,0.65) */
    border-radius: 50%;            /* kan blive, gør ikke noget når background er none */
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.25s;
    pointer-events: none;
}
#centerBtn svg {
    width: 34px; height: 34px;
    fill: #fff;
    stroke: #000;                  /* ny */
    stroke-width: 0.7;             /* ny – justér efter smag, se note nedenfor */
    stroke-linejoin: round;        /* ny – giver pænere hjørner på kanten */
}

  #container.paused #centerBtn,
  #container.active #centerBtn { opacity: 1; }

  #controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 10px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    opacity: 0;
    transition: opacity 0.25s;
  }
  #container.paused #controls,
  #container.active #controls { opacity: 1; }

  #progressContainer {
    width: 100%; height: 4px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 7px;
  }
  #progressContainer:hover { height: 6px; margin-bottom: 5px; }
  #progressBar {
    height: 100%; background: #fff;
    border-radius: 2px; width: 0%;
    pointer-events: none;
  }
  #progressContainer:hover #progressBar { background: #f00; }

  #controlsRow {
    display: flex; align-items: center; justify-content: space-between;
  }
  #timeDisplay { color: #fff; font-size: 12px; font-family: Arial, sans-serif; }
  #fullscreenBtn {
    background: none; border: none; cursor: pointer;
    padding: 2px; display: flex; align-items: center; line-height: 0;
  }
  #fullscreenBtn svg { width: 20px; height: 20px; fill: #fff; }

  #container:fullscreen { width: 100%; height: 100%; display: flex; align-items: center; }
  #container:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
  
@media(max-width: 850px) { 
	.prod-outer {			
		width: 180px;
	}
	.prod-outer .prodpic {
		height: 171px;
	}
	.prod-outer .prodpic img {
		width: 100%;
	}
}

@media(max-width: 570px) { 
	.prod-outer {
        width: 30%;
    }
	.prod-outer .prodpic {
        height: 140px;
    }
	.prod-outer figcaption {
		font-size: 13px;
	}
}

@media(max-width: 435px) { 
	.prod-outer {
        width: 47%;
    }
	 .prod-outer .prodpic img {
        width: 82%;
    }
}