/* Generic css file for SwingIT */

@import url(https://fonts.googleapis.com/css?family=Exo+2:200i);

/*For page title*/
.neon {
    font-family: 'Exo 2', sans-serif;;
    font-size: 2rem;
    font-weight: 200;
    font-style: italic;
    color: #fff;
    text-transform: uppercase;
    text-shadow: -0.2rem -0.2rem 1rem #fff;
    padding-left: 1rem;
}

.page-titles .subtitle {
  padding-left: 1rem;
  font-size: 1.5rem;
}

/*Make card transparent*/
.card {
    background: none;
    background-color: rgba(255, 255, 255, 0.95);

    /* See https://github.com/rstudio/shiny/issues/2233 */
    /* PRE formatted text needs word-wrap break-word for propper horizontal scrolling in Safari */
    /* (for view process_mollie_payment) */
    /*word-wrap: break-word;*/
    word-wrap: normal;
}

/*//@formatter:off*/
/*Flash effect e.g. on home page */
@-webkit-keyframes flash {
    from,50%,to {opacity: 1;}
    25%,
    75% {opacity: 0;}
}

@keyframes flash {
    from,50%,to {opacity: 1;}
    25%,
    75% {opacity: 0;}
}
/*//@formatter:on*/

/* dotted background */
#dot-matrix {
    background: url("https://storage.googleapis.com/swingit-static/extras/dot.png");
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 0;
}

/*background*/
.slideshow li span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: unset;
    background-attachment: fixed;
    opacity: 0;
    z-index: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    box-shadow: 0 0 150px 5px rgb(0, 0, 0.9) inset;
}

@media only screen and (min-width: 768px) {
    .slideshow li h3 {
        bottom: 30px;
        font-size: 2em;
    }
}

@media only screen and (min-width: 1024px) {
    .slideshow li h3 {
        font-size: 2em;
    }
}

.slideshow li:nth-child(2) span {
    -webkit-animation-delay: 6s;
    -moz-animation-delay: 6s;
    animation-delay: 6s;
}

.slideshow li:nth-child(3) span {
    -webkit-animation-delay: 12s;
    -moz-animation-delay: 12s;
    animation-delay: 12s;
}

.slideshow li:nth-child(4) span {
    -webkit-animation-delay: 18s;
    -moz-animation-delay: 18s;
    animation-delay: 18s;
}

.slideshow li:nth-child(5) span {
    -webkit-animation-delay: 24s;
    -moz-animation-delay: 24s;
    animation-delay: 24s;
}

.slideshow li:nth-child(6) span {
    -webkit-animation-delay: 30s;
    -moz-animation-delay: 30s;
    animation-delay: 30s;
}

.slideshow li:nth-child(7) span {
    -webkit-animation-delay: 36s;
    -moz-animation-delay: 36s;
    animation-delay: 36s;
}

.slideshow li:nth-child(8) span {
    -webkit-animation-delay: 42s;
    -moz-animation-delay: 42s;
    animation-delay: 42s;
}

.slideshow li:nth-child(9) span {
    -webkit-animation-delay: 48s;
    -moz-animation-delay: 48s;
    animation-delay: 48s;
}

.slideshow li:nth-child(10) span {
    -webkit-animation-delay: 54s;
    -moz-animation-delay: 54s;
    animation-delay: 54s;
}

/* My own icons */
.myicon {
    max-width: 31px;
    max-height: 24px;
    padding-right: 7px;
}

img.myicon {
    min-height: 24px;
}

li:not(.active):not(:hover) .myicon {
    filter: opacity(50%);
    max-width: 31px;
    max-height: 24px;
}

.list-block-item {
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: 10px;
    margin-right: 0px;
    margin-left: 0px;
    padding: 15px;
    background-color: white;
}

.list-block-item-condensed {
    border: 1px solid rgba(0,0,0,.125);
    margin-bottom: 8px;
    margin-right: 0px;
    margin-left: 0px;
    padding: 5px;
    background-color: white;
}

/* Show tooltip outside wave effect as well, See SWDEV-81 */
.waves-effect.waves-effect-with-tooltip {
    overflow: unset;
}


/* Rounded corners styling */
.card {
    border-radius: 8px!important;
}
/*!* .btn-rounded and summernote buttons unchanged *!*/
.btn:not(.btn.btn-rounded):not(.note-btn):not(.bootstrap-touchspin-up):not(.bootstrap-touchspin-down){
    border-radius: 8px;
}
.card-header {
    border-radius: 8px 8px 0px 0px!important;
}


/* Top level cards: shadow */
.card {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px !important;
}
/* Nested cards: only subtle shadow */
.card .card {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 3px !important;
}

.card-no-border {
    border: none !important;
    box-shadow: none !important;
}

/* keep images within divs */
.swal2-content img {
    max-width: 100%;
}
.card-body img {
    max-width: 100%;
}

.fade-in {
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-duration: 0.2s;
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade-out {
    opacity: 0;
    animation-name: fadeOutOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.4s;
}

@keyframes fadeOutOpacity {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


