.fvi {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    -webkit-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    height: 100%;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.fvi *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.fvi--full {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.fvi--birthday {
    min-height: 240px;
    max-height: 400px;
    min-width: 240px;
    max-width: 300px;
}

.fvi__title {
    padding: 10px 60px 10px 10px;
    font-size: 17px;
    font-weight: 600;
    line-height: 17px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.40);
    position: relative;
    z-index: 2;
    background-color: #666666;
    -webkit-box-shadow: 0 3px 18px rgba(0, 0, 0, 0.40);
    -moz-box-shadow: 0 3px 18px rgba(0, 0, 0, 0.40);
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.40);
}

.fvi__date {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    text-align: center;
    background-color: #ffffff;
    text-shadow: none;
    -webkit-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.40);
    -moz-box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.40);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.40);
    padding-bottom: 2px;
}

.fvi__date:before {
    content: '';
    display: block;
    background-color: #f78421;
    width: 100%;
    height: 12px;
    margin-bottom: 6px;
}

.fvi__date-day {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #f78421;
    letter-spacing: .5px;
}

.fvi__date-month {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666666;
}

.fvi__content {
    padding: 10px 6px 0 6px;
    position: relative;
    z-index: 1;
    height: 100%;
}

.fvi:not(.fvi--full) .fvi__content:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 40px;
    bottom: 0;
    left: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(240, 240, 240, 1) 80%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(240, 240, 240, 1) 80%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(240, 240, 240, 1) 80%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#f0f0f0', GradientType=0); /* IE6-9 */
    z-index: 1;

}

.fvi--full .fvi__content {
    padding: 10px 12px 14px 14px;
}

.fvi__content iframe {
    height: 100%;
    width: 100%;
}

.fvi__footer {
    padding: 6px;
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 1;
    background-color: #f0f0f0
}

.fvi__show-more {
    position: relative;
    background-color: #f78421;
    color: #ffffff;
    font-size: 14px;
    width: 100%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 26px;
    padding: 0 10px;
    outline: none;
    border: none;
    cursor: pointer;
}
.fvi__show-more:before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 40px;
    top: -40px;
    left: 0;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(240, 240, 240, 1) 80%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(240, 240, 240, 1) 80%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(240, 240, 240, 1) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#f0f0f0', GradientType=0);
    z-index: 1;
}

.fvi-popup {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
}

.fvi-popup__shadow {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

.fvi-popup__content {
    z-index: 1;
    height: 400px;
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -200px;
    margin-left: -200px;
}

.fvi-popup__content iframe {
    width: 100%;
    height: 100%;
}

.fvi__content-selector {
    line-height: 20px;
    padding-top: 2px;
    padding-bottom: 12px;
    color: #000000;
    font-size: 18px;
    font-weight: 700;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fvi__content-selector * {
    display: inline-block;
    vertical-align: top;
}

.fvi__prev,
.fvi__next {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
}

.fvi__prev {
    background-image: url('prev.png');
    margin-left: 10px;
}

.fvi__next {
    background-image: url('next.png');
}

.fvi__content-selector-title {
    width: 120px;
    text-align: center;
}
.fvi__close {
    cursor: pointer;
    display: block;
    position: absolute;
    right: -7px;
    top: -7px;
    width: 16px;
    height: 16px;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%;
    background-color: #fff;
    background-image: url('rsz_close.png');
    background-repeat: no-repeat;
    background-position: 50% 50%;
    -webkit-background-size: contain;
    background-size: contain;
}