/*
 * Copyright (c) 2016 Aggregator ApS - www.aggregator.dk - info@aggregator.dk
 * --------------------------------------------------------------------------
 *
 * File-created: "2016-01-28 11:14:37 by cbn"
 * Time-stamp:   "2020-07-09 20:17:27 by cbn"
 * 
 * 
 * Setup default CSS styling
 * 
 */


/* ------------- */
/*   Global      */
/* ------------- */

* {
    -webkit-touch-callout: none;           /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;        /* prevent webkit from resizing text to fit */
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;           /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;        /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;             /* prevent copy paste, to allow, change 'none' to 'text' */

    font-family: MuseoSans;
    font-size: 108%;
    background-color: #f4f3f1;

    /* might give trouble with som android => not showing the icon's => moved to ios hence it works there */
    /* font-smoothing: antialiased; */
    /* text-rendering: optimizeLegibility; */
}

/* ------------ */
/*   Loading... */
/* ------------ */

.loading {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;    
    z-index: 999;
}

.loading-content {
    position: absolute;
    margin: auto;
    width: 240px;
    right: 0;
    left: 0;
    top: 180px;
    z-index: 1000;
}

.loading-content > div:first-child {
    background: rgba(0,0,0,.5);
    padding: 10px 0px 5px 0px;
    border-radius: 5px 5px 0 0;
}

.loading-content > div:last-child {
    background: rgba(0,0,0,.6);
    padding: 5px 0px 10px 0px;
    color: #fff;
    font-weight: bold;
    text-shadow: #000 0px 0px 2px;
    text-align:center;
    border-radius: 0 0 5px 5px;
}

.rotate {
    display: block;
    border: 4px solid var(--gray-dark);
    border-top-color: var(--gray-light);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: loading-spin 1s linear infinite;
    margin: auto;
    background-image: none !important;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}
