#fh-addcal {
    display: block;
    color: #fff;
    height: 35px;
    line-height: 35px;
    margin-bottom: 10px;
    padding-left: 40px;
    background: #78a600 url(//c.tadst.com/gfx/n/i/ical-save.png) 0 no-repeat;
    font-size: 13px;
    width: 100%
}

.font-serif {
    font-family: Playfair Display, serif;
    font-size: 63px
}

.font-cursive {
    font-family: Lobster Two, cursive
}

.font-sanserif {
    font-family: Roboto, sans-serif;
    font-size: 63px
}

.font-slab {
    font-family: Roboto Slab, serif;
    font-size: 63px
}

.font-hand {
    font-family: Lobster Two, cursive
}

.csvg {
    position: relative;
    background: #f8f8f8
}

.csvg.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000
}

.csvg.fullscreen .csvg-background {
    height: 100%;
    background-size: contain;
    background-color: #444
}

.csvg.fullscreen .csvg-controls .icon-fullscreen.close {
    display: block
}

.csvg.fullscreen .csvg-controls .icon-fullscreen.open {
    display: none
}

.csvg-counters {
    display: flex;
    justify-content: space-between
}

.csvg-background {
    width: 100%;
    padding-top: 35%;
    position: relative
}

.csvg-background img,
.csvg-background svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto
}

.csvg-background svg {
    height: 100%
}

.csvg-background img,
.csvg-countdown {
    bottom: 0;
    margin: auto
}

.csvg-countdown {
    position: absolute;
    top: 0;
    left: 0;
    height: 366px;
    width: 100%;
    text-align: center;
    color: #fff;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-name: fadeIn
}

.csvg-countdown__content {
    max-width: 100%
}

@media only screen and (min-width:37.5em) {
    .csvg-countdown {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center
    }
}

.csvg-digit {
    display: inline-block;
	margin: 0;
	padding: 0;
	overflow: hidden;
    vertical-align: center;
}

.csvg-digit-number {
    font-size: 107px;
    padding: 0 24px;
    background: #38414a;
    background: rgba(40, 50, 61, .62);
    font-family: Roboto, sans-serif;
    font-weight: 300
}

.csvg-digit[data-tad-bind=seconds] .csvg-digit-number {
    color: #ee5486
}

.csvg-digit-label {
    padding-bottom: 5px;
    font-size: 23px;
    text-transform: uppercase
}

@media only screen and (min-width:37.5em) {
    .csvg-digit-label {
        background: rgba(40, 50, 61, .62);
        text-align: center
    }
}

.csvg-title {
    font-size: 70px;
    margin: 0 auto;
    color: #fff;
    border: none;
    white-space: nowrap
}

@supports (-webkit-line-clamp:2) {
    .csvg-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical
    }
}

@media only screen and (max-width:46em) {
    .csvg-title {
        -webkit-line-clamp: 1
    }
}

.csvg-title.long {
    font-size: 50px
}

.csvg-date {
    font-family: Roboto, sans-serif;
    font-weight: 300;
    font-size: 18px;
    margin-top: 10px;
    color: #fff;
    letter-spacing: .5px
}

.csvg-date a {
    color: #f8eab9
}

@media only screen and (min-width:37.5em) {
    .csvg-date {
        padding: 6px 0;
        position: absolute;
        bottom: 0;
        width: 100%;
        background: rgba(40, 50, 61, .62);
        margin-top: 0
    }
}

.csvg.completed .csvg-date span[data-type=until] {
    color: red
}

.csvg-controls {
	display: none;
    position: absolute;
    top: 50px;
    left: 44px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    background: #ee5486;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .2);
    cursor: pointer
}

.csvg-controls a {
    display: block;
    color: #fff
}

.csvg-controls i {
    width: 100%;
    height: 56px;
    display: block;
    background: url(//c.tadst.com/gfx/cd/menu-spr.png) 0 -336px no-repeat #ee5486;
    z-index: 1
}

.csvg-controls .menu a {
    color: #454545;
    position: relative;
    display: block;
    padding: 20px 0 20px 56px;
    font-size: 16px;
    font-family: Roboto, sans-serif
}

.csvg-controls .menu a:before {
    content: "";
    width: 56px;
    height: 56px;
    background: url(//c.tadst.com/gfx/cd/menu-spr.png) no-repeat;
    top: 0;
    left: 0;
    position: absolute
}

.csvg-controls .menu a:hover {
    background-color: rgba(0, 0, 0, .05);
    text-decoration: none
}

.csvg-controls .menu .icon-fullscreen:before {
    background-position: 0 0
}

.csvg-controls .menu .icon-world:before {
    background-position: 0 -56px
}

.csvg-controls .menu .icon-text:before {
    background-position: 0 -112px
}

.csvg-controls .menu .icon-demo:before {
    background-position: 0 -168px
}

.csvg-controls .menu .icon-new:before {
    background-position: 0 -224px
}

.csvg-controls .menu .icon-edit:before {
    background-position: 0 -280px
}

.csvg-controls .menu .icon-demo,
.csvg-controls .menu .icon-fullscreen.close {
    display: none
}

.csvg-controls.show {
    transition: height .2s ease-in, width .2s ease-in, background-color .8s ease-in;
    border-radius: 0;
    background: #fff;
    width: 235px;
    height: 359px;
    border-bottom: 8px solid #ee5486
}

.csvg-controls.show .menu {
    display: block
}

.csvg.hassvg .csvg-controls.show {
    height: 418px
}

.csvg.hassvg .csvg-controls .icon-demo {
    display: block
}

.csvg-controls.show i {
    animation-name: none
}

.bg-sect {
    border-bottom: 1px dotted #ccc;
    background-color: #f8f8f8
}

#disclaimer {
    background: #f8f8f8;
    padding: 5px 0;
    text-align: center
}

#disclaimer p {
    margin: 0
}

@media only screen and (max-width:82em) {
    .csvg-title {
        font-size: 50px
    }
}

@media only screen and (max-width:70em) {
    .csvg-title {
        font-size: 32px
    }
}

@media only screen and (max-width:64em) {
    .csvg-title {
        font-size: 40px;
        max-width: 70%
    }
    .csvg-title.long {
        font-size: 30px
    }
    .csvg-digit-number {
        font-size: 50px
    }
    .csvg-digit-label {
        font-size: 12px
    }
}

@media only screen and (max-width:37.438em) {
    #disclaimer {
        padding-top: 24px
    }
    #disclaimer p {
        margin: 0
    }
    #disclaimer p a {
        display: block
    }
    .csvg {
        padding-top: 40px;
        padding-bottom: 12px
    }
    h1.csvg-title {
        font-size: 20px;
        position: absolute;
        top: 8px;
        left: 0;
        z-index: 2;
        padding-left: 56px;
        width: 100%;
        pointer-events: none;
        text-align: left;
        margin: 0;
        white-space: nowrap;
        display: block;
        max-width: 100%
    }
    .csvg-title.long {
        font-size: 16px
    }
    .csvg-date {
        color: #000;
        margin-top: 7px;
        font-size: 12px
    }
    .csvg-date a {
        color: #556bb5
    }
    .csvg-countdown {
        transform: none;
        color: #fff;
        position: static;
        max-height: 100px;
        z-index: 1;
        padding-bottom: 12px
    }
    .csvg-controls {
		display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 40px;
        background: #ee5486;
        border-radius: 0;
        z-index: 0
    }
    .csvg-controls i {
        background-position: 0 -344px;
        height: 40px;
    }
    .csvg-controls .menu a {
        height: 40px;
        padding: 12px 0 12px 56px;
    }
    .csvg-controls .menu a:before {
        content: "";
        width: 56px;
        height: 40px;
        margin-top: -8px;
    }
    .csvg-controls.show {
        width: 100%;
        height: 288px;
        z-index: 1;
    }
    .csvg-digit {
        width: 25%;
        margin: 0;
    }
    .hasWeeks .csvg-digit {
        width: 20%;
        margin: 0;
    }
    .csvg-digit-number {
        font-size: 12vw;
        padding: 3px 4px;
        background: rgba(40, 50, 61, .8);
    }
    .csvg-digit-label {
        font-size: 12px;
        text-align: center;
        color: #000
    }
    .csvg-usermsg {
        color: #000;
        margin-bottom: 5px
    }
    .csvg.fullscreen {
        background: #444
    }
    .csvg.fullscreen .csvg-background {
        position: relative;
        bottom: auto;
        height: auto
    }
    .csvg.fullscreen .csvg-background img {
        bottom: auto
    }
    .csvg.fullscreen .csvg-date,
    .csvg.fullscreen .csvg-digit-label,
    .csvg.fullscreen .csvg-usermsg {
        color: #fff
    }
    .generic .csvg-digit {
        margin-top: 25px
    }
    .generic .csvg-countdown {
        position: absolute;
        height: auto;
        margin-top: 40px
    }
    .generic h1.csvg-title {
        margin-top: -40px
    }
    .generic .csvg-digit-number {
        background: rgba(40, 50, 61, .28)
    }
    .generic .csvg-date,
    .generic .csvg-digit-label {
        color: #fff
    }
    .generic .csvg-date a {
        color: #f8eab9
    }
    .generic .csvg-controls.show {
        z-index: 10
    }
    .csvg-counters {
        flex-direction: column
    }
}

.csvg-el__wrap {
    color: #454545;
    flex-grow: 0;
    font-size: 24px;
    padding-left: 64px;
    margin-left: 64px;
    border-left: 1px solid #ccc
}

@media only screen and (min-width:64.063em) and (max-width:90em) {
    .csvg-el__wrap {
        font-size: 22px
    }
}

@media only screen and (max-width:64em) {
    .csvg-el__wrap {
        font-size: 18px
    }
}

#el_s2 {
    color: #ee5486
}

.el-item {
    margin-bottom: 12px;
    white-space: nowrap
}

.el-item__data {
    font-weight: 700;
    margin-right: 6px
}

.plain-text .csvg-digit-number {
    font-size: 80px
}

@media only screen and (min-width:37.5em) and (max-width:64em) {
    .plain-text .csvg-digit-number {
        font-size: 6s0px
    }
}

.plain-text .csvg-date,
.plain-text .csvg-digit-label,
.plain-text .csvg-digit-number,
.plain-text .csvg-title {
    color: #454545;
    background: none
}

@media only screen and (min-width:64.063em) and (max-width:90em) {
    .wedding #el_s1t {
        color: #c3748e
    }
}

@media only screen and (min-width:37.5em) and (max-width:64em) {
    .wedding #el_s1t {
        color: #c3748e
    }
}