/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
    background-color: transparent;
    width:100%;
    height:100%;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
    padding:0px 20px;
    display:flex;
    align-items: center;

}
.flip-card-back {
    transform: rotateY(180deg);
}

.pricetable{
    font-size:1.5rem;
}
.pricetable td, .pricetable th{
    padding:10px 20px;
}

.dialog{
    display:flex;
    flex-direction: column;
}
.dialog .dialog-item{
    box-shadow: 0px 1px 3px -1px rgba(20,20,20,.7);
    border-radius:10px;
    max-width:80%;
    text-align:left;
    padding:10px;
    margin-bottom:10px;
    line-height:1.2em;
    color:#000;
}
.dialog .dialog-left{
    align-self: flex-start;
    background-color: #fff;
}
.dialog .dialog-right{
    align-self: flex-end;
    background-color: #e1ffc7;
}

.big-dialog{
    font-size:36px;
}
.big-dialog .dialog-item{
    padding:15px 40px;
    border-radius:20px;
}
#galleryModal .carousel-caption{
    width:100%;
    bottom:0px;
    padding:40px 0px;
    left:0px;right:0px;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(0deg, rgba(0,0,0,0.8043418050814075) 0%, rgba(0,0,0,0.5130252784707633) 75%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(0,0,0,0.8043418050814075) 0%, rgba(0,0,0,0.5130252784707633) 75%, rgba(0,0,0,0) 100%);
    background: linear-gradient(0deg, rgba(0,0,0,0.8043418050814075) 0%, rgba(0,0,0,0.5130252784707633) 75%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}
#galleryModal .modal-header{
    position:absolute;
    border: none;
    color:#fff;
    width:100%;
    z-index:100;
    height:80px;
    padding: 1rem 3rem;
    background: rgb(0,0,0);
    background: -moz-linear-gradient(180deg, rgba(0,0,0,0.8043418050814075) 0%, rgba(0,0,0,0.5130252784707633) 75%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,0.8043418050814075) 0%, rgba(0,0,0,0.5130252784707633) 75%, rgba(0,0,0,0) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,0.8043418050814075) 0%, rgba(0,0,0,0.5130252784707633) 75%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}
#galleryModal .modal-body{
    padding:0px;
}
span.accent{
    position:relative;
    text-transform: uppercase;

}
span.accent:before{
    z-index:-10;
    content:" ";
    position:absolute;
    left:-10px;top:-10px;
    width:100%;
    height:100%;
    display:inline-block;
    background-color:red;
}
span.accent:after{
    z-index:-6;
    content:" ";
    position:absolute;
    right:-10px;bottom:-10px;
    width:100%;
    height:100%;
    display:inline-block;
    background-color: red;
}

tr.row-accent {
    background-color: rgba(255,93,54,1);
    color:#fff;
    border:2px solid rgb(179, 60, 31);;

}
tr.row-accent td{
    position:relative;
}
tr.row-accent span.td-accent{
    position:absolute;
    width:200px;
    top:0px;
    right:100%;
    font-size:14px;
    display:inline-block;
    padding:0px 15px 0px 0px;
    text-align:right;
    color:#000;

}