/**
 * @version 1.1.4
 * @package Perfect Decorations For Occasions
 * @copyright © 2015 Perfect Web sp. z o.o., All rights reserved. http://www.perfect-web.co
 * @license GNU/GPL http://www.gnu.org/licenses/gpl-3.0.html
 * @author Mateusz Podraza, Grzegorz Pabian, Andrzej Kawula, Piotr Moćko
 */

#perfect_main {
    margin-top: 0;
    background: #fafafa;
    padding-right: 25px;
}
#perfect_main, .dfo-tabs{
    margin-left:-19px;
}
.dfo-tabs {
    border-bottom: 1px solid #ccc;
}

.dfo-tabs .active a {
    position: relative;
    top: 1px;
    background: #fafafa;
}

.dfo-tabs a {
    display: block;
    padding: 5px 0;
    text-align: center;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #e4e4e4;
    color: #555;
}

.dfo-tabs a.active {
    background: #f1f1f1;
}
.dfo-clear-cache{
    margin-top:40px;
}
.dfo-event h4 {
    margin-top: 0;
}

.dfo-event {
    position: relative;
}

.dfo-event-details input.date {
    width: 87px;
}

.dfo-event-details > .uk-modal-dialog {
    width: 800px;
}

.headerbtn {
    margin-left: 4px;
    padding: 4px 8px;
    position: relative;
    top: -3px;
    text-decoration: none;
    border: none;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #e0e0e0;
    text-shadow: none;
    font-weight: 600;
    font-size: 13px;
}

.fc-event {
    height: 20px;
    line-height: 20px;
    padding-left: 10px;
}

.fc-title {
    text-shadow: 0 0 1px rgba(0, 0, 0, 1);
}

.event-disabled {
    background-color: rgb(213, 78, 33);
    border-color: rgb(213, 78, 33);
}

.event-enabled {
    background-color: #3a87ad;
    border-color: #3a87ad;
}

.event-displayed {
    background-color: rgb(122, 208, 58);
    border-color: rgb(122, 208, 58);
}

.event-past {
    background-color: #f88f07;
    border-color: #f88f07;
}

.fc-day-number{
    font-weight:bold;
}

.fc-day-header{
    line-height:30px;
    height:30px;
}
/*.event-past .fc-title {
    color: #000;
    text-shadow: none;
}*/

.event-not-owned {
    background: url('../img/stripes.png');
    border-color: #3a87ad;
}

.legend .event {
    display: inline-block;
    width: 25px;
    height: 25px;
    vertical-align: bottom;
    margin-right: 15px;
}

.legend p {
    line-height: 25px;
}

.feeds-filter {
    display: none;
}

.dfo-cart {
    position: relative;
    display: none;
}

.cart-toggler {
    cursor: pointer;
}

.cart-items {
    display: none;
    position: absolute;
    border: 1px solid #ccc;
    background: #fafafa;
    top: 30px;
    right: 16px;
    min-width: 250px;
    z-index: 2;
}

.cart-items:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 11px 11px 11px;
    border-color: transparent transparent #ccc transparent;
    position: absolute;
    top: -11px;
    right: 4px;
}

.cart-items:after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #fafafa transparent;
    position: absolute;
    top: -9px;
    right: 5px;
}

.cart-items ul {
    padding-left: 0;
    margin: 0;
}

.cart-items li {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #fff;
    margin: 0;
    padding: 8px 5px;
}

.cart-items li:last-child {
    border-bottom: none;
}

.cart-items .total span.info {
    font-size: 0.8em;
}

.cart-items .total span.price {
    font-weight: bold;
}

.cart-items li > a {
    position: absolute;
    right: 5px;
    font-size: 20px;
    color: #000;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
}

.cart-items li > a:hover {
    text-decoration: none;
}

.cart-toggler:hover .icon {
    color: #9d9d9d;
}

.cart-badge {
    position: relative;
    left: -10px;
    top: -10px;
}

.checkout-button {
    width: 100%;
    border: none;
    background: #009dd8;
    color: #fff;
    padding: 6px 0;
    cursor: pointer;
}

.dfo-btn-resize {
    vertical-align: bottom;
    height: 29px;
}

ul.event_feeds {
    margin: 0;
    padding-left: 0;
}

ul.event_feeds li {
    padding: 5px 0;
}

.dfo-slider {
    position: relative;
}

.dfo-slider-controls-cover {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.dfo-slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #fff;
    pointer-events:all;
}

.dfo-slider-controls > a {
    color: #fafafa;
    font-size: 60px;
    padding: 0 8px;
    display: inline-block;
    transition: all .5s;
}

.dfo-slider-controls > a:focus {
    outline: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.dfo-slider-controls > a.upvote.selected {
    color: #FFA640;
}

.dfo-slider-controls > a.downvote.selected {
    color: #40A6FF;
}

.dfo-slider-controls > a > i {
    margin-right: 4px;
}

.dfo-slider-controls > a:hover {
    color: #fff;
    text-decoration: none;
    transform: rotate(3deg) scale(1.25);
}

.dfo-cover {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -20px;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2;
}

.dfo-fix-center {
    position: fixed;
    top: 50%;
    left: 25%;
    width: 100%;
}

.dfo-trial-btn {
    height: 100px;
    margin-top: -50px;
    width: 50%;
    display: block;
    line-height: 100px;
    margin-bottom: 10px;
}

#referer_toggle {
    color: #fff;
}

#demo-cursor {
    position: absolute;
    top: 10%;
    left: 25%;
    animation-name: movecursor;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    -webkit-animation-name: movecursor;
    -webkit-animation-duration: 5s;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: movecursor;
    -moz-animation-duration: 5s;
    -moz-animation-iteration-count: infinite;
}

#demo-cursor-top {
    position: absolute;
    bottom: 0;
}

#demo-cursor-bottom {
    position: absolute;
    top: 0;
}

@keyframes movecursor {
    0% {
        top: 10%;
        left: 20%
    }
    25% {
        top: 30%;
        left: 40%
    }
    50% {
        top: 30%;
        left: 20%
    }
    75% {
        top: 10%;
        left: 40%
    }
    100% {
        top: 10%;
        left: 20%
    }
}

@-webkit-keyframes movecursor {
    0% {
        top: 10%;
        left: 20%
    }
    25% {
        top: 30%;
        left: 40%
    }
    50% {
        top: 30%;
        left: 20%
    }
    75% {
        top: 10%;
        left: 40%
    }
    100% {
        top: 10%;
        left: 20%
    }
}

@-moz-keyframes movecursor {
    0% {
        top: 10%;
        left: 20%
    }
    25% {
        top: 30%;
        left: 40%
    }
    50% {
        top: 30%;
        left: 20%
    }
    75% {
        top: 10%;
        left: 40%
    }
    100% {
        top: 10%;
        left: 20%
    }
}

.next {
    position: absolute;
    right: 10px;
}

.prev {
    position: absolute;
    left: 10px;
}

.dfo-demo-frame {
    width: 100%;
    opacity:0;
    display:block;
}

.perfect-decorations-flake {
    position: absolute;
}

.perfect-decoration {
    pointer-events: none;
}

.suggestions button.add-event, .suggestions button.add-feed {
    display: block;
    margin: 5px auto 15px auto;
}

.suggest-list {
    border: 1px solid #ccc;
    border-bottom: none;
    padding: 0;
}

.suggest-list > li {
    position: relative;
    border: 1px solid #fff;
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 5px 10px;
}

.dfo-suggestion-vote {
    position: absolute;
    right: 10px;
    top: 14px;
    font-size: 28px;
}

.dfo-suggestion-vote:focus, .dfo-suggestion-vote:active{
    box-shadow:none;
}

.dfo-suggestion-vote:hover {
    text-decoration: none;
}

.suggest-list > li > span {
    font-weight: bold;
}

.dfo-suggestion-desc.folded {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dfo-suggestion-desc {
    padding-right: 56px;
    text-align: justify;
    cursor: pointer;
    margin: 5px 0;
}

#referer {
    display: none;
}

#referer .uk-form-help-inline {
    color: #fff;
}

.dfo-activating {
    color: #fff;
    font-size: 28px;
    display: none;
    text-align: center;
    opacity: 0;
    position: fixed;
    top: 50%;
    left: 25%;
    width: 50%
}

input.dfo-search-field {
    width: 100% !important;
}

.autocomplete-suggestions { border: 1px solid #999; background: #fff; cursor: default; overflow: auto; }
.autocomplete-suggestion { padding: 10px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #f0f0f0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399ff; }

.dfo-spinner-m svg{
    width: 100px;
    height: 100px;
    zoom:2;
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
}
.path {
    stroke-dasharray: 1,200;
    stroke-dashoffset: 0;
    -webkit-animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round;
}

@-webkit-keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-webkit-keyframes dash {
    0% {
        stroke-dasharray: 1,200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89,200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89,200;
        stroke-dashoffset: -124;
    }
}
@keyframes dash {
    0% {
        stroke-dasharray: 1,200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 89,200;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 89,200;
        stroke-dashoffset: -124;
    }
}
@-webkit-keyframes color {
    100%, 0% {
        stroke: #d62d20;
    }
    40% {
        stroke: #0057e7;
    }
    66% {
        stroke: #008744;
    }
    80%, 90% {
        stroke: #ffa700;
    }
}
@keyframes color {
    100%, 0% {
        stroke: #d62d20;
    }
    40% {
        stroke: #0057e7;
    }
    66% {
        stroke: #008744;
    }
    80%, 90% {
        stroke: #ffa700;
    }
}
.spinner-cover{
    position:absolute;
    top:50%;
    left:50%;
    margin:-80px 0 0 -100px;
}

.dfo-my-account{
    display:inline-block;
    margin-top: 18px;
    margin-right:10px;
}

.dfo-empty-db{
    opacity:1.0;
}
fieldset.advanced{
    display:none;
    padding:0 20px;
}
.dfo-toggle-advanced{
    padding:0;
}