@import url('https://fonts.googleapis.com/css?family=Raleway:300,600,700');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');

:root {

    --site-background-color: #ffffff; /* #fdfdfd; */

    --free-color: #353b41;

    --primary-color: #1a95de;
    --primary-color-hover: #0d73c8;

    --info-color: #0dbeeb;
    --info-color-hover: #0db4e1;

    --success-color: #81c356;
    --success-color-hover: #70ad51;

    --danger-color: #dc3545;

    --subscribers-color: #81c356;
    --subscribers-color-hover: #70ad51;

    --exclusive-color: #fac10e;

    --warm-grey-color: rgba(123, 125, 110, 0.60);

    --collection-color: #fa7268; /* Living Coral */

    --tutorial-color: #b0b1a8;

    --strawberry-color: #d24a61;
}

html {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif !important;
}

@media (max-width: 992px) {
    html {
        font-size: 12px;
    }
}

body {
    background-color: #fff;
    color: #333;
    font-family: 'Open Sans', sans-serif !important;
}

a {
    color: inherit;
    text-decoration: none !important;
    transition: all .1s ease-in-out;
}

a:not(.btn):hover {
    color: var(--primary-color) !important; /* blue colors for links too */
    text-decoration: none !important; /* no underline */
}

/* Fanxybox 3 */

@media (min-width: 1200px) {
    .fancybox-modals {
        width: 50%;
    }
}

.fbCustomBackgroundWhite .fancybox-bg {
    background : #fff;
}

.fbCustomBackgroundGrey .fancybox-bg {
    background : #ddd;
}

.fbCustomBackgroundWhiteMatte .fancybox-bg {
    background : #fff;
    opacity: 1;
}

/* End Fancybox 3 */

input::placeholder {
    color: darkgrey !important;
}

.invisible {
    opacity: 0;
}

hr.hr-cgmood {
    width: 40px;
    border: none;
    height: 2px;
    margin: auto;

    color: #888888; /* old IE */
    background-color: #888888; /* Modern Browsers */
}

hr.hr-cgmood-wider {
    width: 120px;
}

.cgmood-text-warning {
    color: #ff8214;
}

.cgmood-header {
    height: 100%;
    background-color: #0c1a1e;
    line-height: 140px;
    color: #f8f8f8;
    background-size: cover;
}

.cgmood-header img {
    vertical-align: middle;
    width: 350px;
}

@media only screen and (max-width: 500px) {
    .cgmood-header {
        line-height: 110px;
    }
}

.cgmood-page-header {
    height: 100%;
    min-height: 300px;
    background-color: #0c1a1e;
    background-size: cover;
}

.cgmood-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 2.6em;
    color: #333;
    margin: 0;
    padding: 0;
}

.cgmood-title.big {
    font-size: 5em;
}

.cgmood-subtitle {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 2.2em;
    color: #333;
    margin: 0;
    padding: 0;
}

.cgmood-subtitle.big {
    font-size: 3em;
}

.cgmood-highlight-text {
    color: var(--collection-color);
}

.cgmood-menu-item {
    font-size: 1em;
    text-decoration: none;
    color: #333333;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.cgmood-navbar-item {
    font-size: 1.15em;
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}

.text-over-image-container {
    position: relative;
    text-align: center;
}

.text-over-image-top-right {
    z-index: 4;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* BADGES */
.badge-free {
    background-color: var(--free-color) !important;
    color: white;
}

.badge-credits {
    background-color: var(--info-color) !important;
    color: white;
}

.badge-discount {
    background-color: var(--primary-color) !important;
    color: white;
}

.badge-exclusive {
    background-color: var(--exclusive-color) !important;
    color: white;
}

.badge-subscribers {
    background-color: var(--subscribers-color) !important;
    color: white;
}

.badge-collection {
    background-color: var(--collection-color) !important;
    color: white;
}

.badge-tutorial {
    background-color: var(--tutorial-color) !important;
    color: white;
}

/* END BADGES */

/* TEXT COLORS */

.text-collection {
    color: var(--collection-color);
}

.text-lightgrey {
    color: #eee;
}

/* END TEXT COLORS */

.download-button {
    padding: 10px;
}

.shadow {
    -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
}

.bg-white {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 1.0);
    border-radius: 0px;
    -webkit-box-shadow: 0px 0px 30px 2px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 30px 2px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 30px 2px rgba(0,0,0,0.15);
}

.bg-white-small {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 1.0);
    border-radius: 0px;
    -webkit-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
}

.bg-dark {
    background-color: rgb(25, 25, 25);
    border-radius: 0px;
    -webkit-box-shadow: 0px 0px 30px 2px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 0px 30px 2px rgba(0,0,0,0.15);
    box-shadow: 0px 0px 30px 2px rgba(0,0,0,0.15);
}

.bg-darker {
    /* background: rgba(0, 0, 20, 0.25); */
    background: rgba(0, 0, 20, 0.25); /* Old browsers */
    background: -moz-linear-gradient(-45deg, rgba(0, 0, 20, 0.6) 0%, rgba(0, 0, 20, 0.25) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, rgba(0, 0, 20, 0.6) 0%,rgba(0, 0, 20, 0.25) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, rgba(0, 0, 20, 0.6) 0%, rgba(0, 0, 20, 0.25) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

}

.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.fillet {
    border-radius: 12px !important;
}
.fillet-sm {
    border-radius: 8px !important;
}

.btn.fillet {
    border-radius: 8px !important;
}

.input-bg-white {
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 0;
}

.div-disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.4;
}

.smaller {
    font-size: 0.8rem;
}

.platform-icon {
    opacity: 0.5;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
}
.platform-icon:hover {
    opacity: 1.0;
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

.color {
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
    opacity: 1.0;
}

.color:hover {
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    opacity: 0.5;
}

/*
.btn-close {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 2em;
}
 */

button {
    cursor: pointer;
}

/* CATEGORY ICONS */
.category:not(.selected) {
    opacity: 0.45;
}
.category:hover {
    opacity: 1;
}

/* LINKS */
.enlarge:hover {
    transform: scale(1.15);
    -webkit-transition:0.1s;
    -webkit-transform:scale(1.15);
}
.enlarge-smaller:hover {
    transform: scale(1.05);
    -webkit-transition:0.1s;
    -webkit-transform:scale(1.05);
}
.enlarge-tiny:hover {
    transform: scale(1.03);
    -webkit-transition:0.1s;
    -webkit-transform:scale(1.03);
}

/* User drop-down menu items */

.user-menu-item {
    color: white;
    font-size: 1em;
}

.user-menu-item > i {
    font-size: 1em;
}

.user-menu-item:hover {
    background-color: transparent !important;
    color: white !important;
}

/* User avatars and different sizes */

.user-avatar-navbar {
    width: 38px;
    height: 38px;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.user-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.user-avatar-notification {
    width: 32px;
    height: 32px;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.user-avatar-60px {
    width: 60px;
    height: 60px;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.user-avatar-medium {
    width: 120px;
    height: 120px;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.user-avatar-big {
    width: 170px;
    height: 170px;
    object-fit: cover;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

/* Forms */
.no-border, .no-border:focus {
    border: solid 1px #e8e8e8;
    min-height: 36px;
    box-shadow: none; /* You may want to include this as bootstrap applies these styles too */
    background-color: transparent;
}

.no-border-bold, .no-border-bold:focus {
    border: solid 1px #e8e8e8;
    box-shadow: none; /* You may want to include this as bootstrap applies these styles too */
    background-color: transparent;
    font-weight: bolder;
}

.no-border:focus, .no-border-bold:focus {
    border-color: #999999 !important;
}
.no-border:hover, .no-border-bold:hover {
    border-color: #dbdbdb;
}

.big-borderless-input {
    border: none;
    border-bottom: 2px solid grey;
    padding: 4px;
    background-color: white;
    font-size: 1.8em;
    color: grey;
    text-align: center;
    opacity: 1;
    width: 100%;
}

.cgmood-label {
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    margin-bottom: 4px;
}

/* STRIKETHROUGH (for discounts etc) */
.strikethrough {
    position: relative;
    margin-left: 2px; margin-right: 2px;
}
.strikethrough:before {
    position: absolute;
    content: "";
    left: -3px;
    top: 50%;
    right: -3px;
    border-top: 3px solid;
    border-color: inherit;

    -webkit-transform:rotate(-15deg);
    -moz-transform:rotate(-15deg);
    -ms-transform:rotate(-15deg);
    -o-transform:rotate(-15deg);
    transform:rotate(-15deg);
}

/* Product component */

.product-element {
    transition: all .1s ease-in-out;
    padding: 10px;
}

.product-element:hover {
    transform: scale(1.025);
    -webkit-transition: 0.1s;
}

.product-element-favorite {
    margin: 5px;
    padding: 5px;
}

.product-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.98em;
    font-weight: 600;
}

.col.info {
    color: dimgrey;
    font-size: 0.9em;
}

.platform-icon-16px {
    opacity: 0.25;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.platform-icon-16px:hover {
    opacity: 1.0;
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.platform-icons {
    position: relative;
    text-align: center;
}

.bottom-left {
    position: absolute;
    bottom: 5px;
    left: 5px;
}
.top-left {
    position: absolute;
    top: 5px;
    left: 5px;
}

/* End product component */

/* Rainbow animated text (using Splitting.js) */
.rainbow-text .char {
    color: hsl(calc(360deg * var(--char-percent)), 90%, 65%);
}

.rainbow-text.animated .char {
    animation: rainbow-colors 2s linear infinite;
    animation-delay: calc(-2s * var(--char-percent));
}

/* Unfortunately, browsers try to take the shortest distance between transition/animation properties, so a simple `0turn` to `1turn` doesn't get the proper effect. */
@keyframes rainbow-colors {
    0% { color: hsl(0turn, 90%, 65%); }
    25% { color: hsl(.25turn, 90%, 65%); }
    50% { color: hsl(.5turn, 90%, 65%); }
    75% { color: hsl(.75turn, 90%, 65%); }
    100% { color: hsl(1turn, 90%, 65%); }
}
/* End rainbow animated text */
