* {
    padding: 0;
    margin: 0;
}
img {
    max-width: 100%;
    height: auto;
}
a[href], button, input {
    text-decoration: none;
    outline: none !important;
}


/* Header */
#header {
    padding: 22px 0;
}
#header .logo {
    font-family: 'Fira Sans', sans-serif;
    font-size: 30px;
    font-weight: bold;
    color: #000;
    transition: all .3s linear;
    width: 100px;
    display: inline-block
}
#header .logo span {
    color: #1e73be;
}
#header .sites {
    max-width: 420px;
    position: relative;
    border-radius: 8px 8px 0 0;
    transition: all .3s linear;
}
#header .sites .logo {
    margin-right: 20px;
    padding-right: 20px;
    width: 100px;
}
#header .sites .logo img {
    display: block;
}
#header .sites .desc {
    font-size: 16px;
    color: #a2a2a2;
    transition: all .3s linear;
}
#header .sites .current {
    border-radius: 8px;
    position: relative;
    z-index: 5;
    background: #fff;
    cursor: pointer;
    transition: box-shadow .3s linear;
}
#header .sites:not(.open) .current:hover {
    box-shadow: 0 0 20px 5px rgba(0,0,0,0.1);
}
#header .sites.open .current {
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #ededed;
}
#header .sites .current a {
    display: flex;
    align-items: center;
    position: relative;
    padding: 10px 45px 10px 10px;
}
#header .sites .current a::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 110px;
    width: 1px;
    background: #808080;
    height: 60%;
    opacity: 1;
    transition: all .3s linear;
}
#header .sites .current:hover a::after,
#header .sites.open .current a::after {
    height: 10%;
    opacity: 0;
}
#header .sites .current .icon {
    position: absolute;
    top: 40%;
    width: 18px;
    right: 20px;
    transform: translateY(-50%);
    color: #a2a2a2;
    opacity: 0;
    transition: all .3s linear;
}
#header .sites .current:hover .icon {
    opacity: 1;
    top: 50%;
}
#header .sites.open .current .icon {
    transform: translateY(-50%) rotate(180deg);
    top: 50%;
    color: #1e73be;
    opacity: 1;
}
#header .sites ul.other-sites {
    list-style: none;
    display: none;
    border-radius: 0 0 8px 8px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 66px 0 0;
    background-color: #fff;
    z-index: 4;
    transition: box-shadow .3s linear;
}
#header .sites.open ul.other-sites {
    box-shadow: 0 0 20px 5px rgba(0,0,0,0.1);
}
#header .sites ul.other-sites li {
    padding: 10px;
    transition: all .3s linear;
}
#header .sites ul.other-sites li:hover {
    background-color: #1e73be;
}
#header .sites ul.other-sites li a {
    display: flex;
    align-items: center;
    position: relative;
}
#header .sites ul.other-sites li a .logo {
    max-height: 35px;
    flex: 0 0 100px;
    border-right: 1px solid #808080;
    transition: all .3s linear;
}
#header .sites ul.other-sites li a .logo.light {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    transform: translateY(-50%);
}
#header .sites ul.other-sites li:hover a .logo {
    border-right-color: #fff;
}
#header .sites ul.other-sites li:hover a .logo.dark {
    opacity: 0;
}
#header .sites ul.other-sites li:hover a .logo.light {
    opacity: 1;
}
#header .sites ul.other-sites li:hover .desc {
    color: #fff;
}
#header .sites ul.other-sites li:last-child {
    border-radius: 0 0 8px 8px;
}

#header ul.navigation {
    list-style: none;
    text-align: right;
}
#header ul.navigation li {
    display: inline-block;
    margin:0 0;
}
#header ul.navigation li a {
    font-family: 'Fira Sans', sans-serif;
    font-weight: bold;
    color: #000;
    transition: all .3s linear;
}
#header ul.navigation li a:hover {
    color: #1e73be;
}
#header ul.navigation li a.sign-up-button {
    display: inline-block;

    border: 1px solid #1e73be;
    padding: 10px 23px;
    border-radius: 0;
    color: #1e73be;
    text-transform: uppercase;
    transition: all .3s linear;
}
#header ul.navigation li a.sign-up-button:hover {
    background-color: #1e73be;
    color: #fff;
}

/* Color Generator Pages */
body[class^="colour-generator-"] #header .sites ul.other-sites {
    padding-top: 72px;
}





#footer {
    background-color: #1e73be;
}
#footer .innercol {
    padding: 25.8px;
}
#footer .innercol a {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    text-decoration: none;
    color: #fff;
    transition: all .3s linear;
}
#footer .innercol a:hover {
    opacity: 0.7;
}
#footer .innercol.edna-logo {
    text-align: center;
}

@media (min-width: 1600px) {
    #footer .container {
        max-width: 1140px;
    }
}

@media (max-width: 1199px) {
    body[class^="colour-generator-"] #header .sites ul.other-sites {
        padding-top: 86px;
    }
}

@media (max-width: 991px) {
    #footer .innercol {
        padding: 25.8px 0;
    }
    #footer .innercol a {
        font-size: 15px;
    }
    body[class^="colour-generator-"] #header .sites ul.other-sites {
        padding-top: 100px;
    }
}

@media (max-width: 767px) {
    #header .sites ul.other-sites {
        padding-top: 80px;
    }
    #header .sites .logo {
        margin-right: 10px;
        padding-right: 10px;
        width: 90px;
    }
    #header .sites .current a::after {
        left: 100px;
    }
    #footer .innercol {
        padding: 25.8px;
    }
    body[class^="colour-generator-"] #header .sites ul.other-sites {
        padding-top: 105px;
    }
}
@media (max-width: 530px) {
    body[class^="colour-generator-"] #header .sites .desc {
        font-size: 14px;
    }
}
@media (min-width: 480px) and (max-width: 500px) {
    #header .sites {
        max-width: 250px;
    }
    #header .sites .current a::after {
        left: 92px;
    }
    #header .sites .logo {
        margin-right: 10px;
        padding-right: 10px;
        width: 82px;
    }
    #header .sites .desc {
        font-size: 14px;
    }
    body[class^="colour-generator-"] #header .sites ul.other-sites {
        padding-top: 100px;
    }
}

@media (max-width: 479px) {
    #header .logo-box,
    #header .nav-box {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    #header .sites ul.other-sites {
        padding-top: 60px;
    }
    #header .sites .current a {
        padding-right: 30px;
    }
    body[class^="colour-generator-"] #header .sites ul.other-sites {
        padding-top: 76px;
    }
    body[class^="colour-generator-"] #header .sites .current a {
        padding-right: 48px;
    }
    #header .sites .current a::after {
        left: 100px;
    }
    #header ul.navigation {
        margin: 20px 0 0 10px;
        text-align: left;
    }
}


* {
    padding: 0;
    margin: 0;
}
body {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #000;
}
img {
    max-width: 100%;
    height: auto;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans', sans-serif;
    font-weight: bold;
}
a[href], button, input {
    text-decoration: none;
    outline: none !important;
}

/* msgbox */
.msgbox {
    position: fixed;
    top: 10px;
    left: 0;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    width: 100%;
    z-index: 999999999;
    line-height: 1;
}

.msgbox.overlay:before {
    content: '';
    top: 0;
    left: 0;
    position: fixed;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.78;
    height: 100%;
    width: 100%;
}

.msgbox a.close {
    color: #fff;
    font-size: 18px;
    height: 100%;
    line-height: 34px;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 0;
    width: 30px;
}

.msgbox > div {
    display: inline-block;
    min-height: 35px;
    border-radius: 3px;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.msgbox > div i {
    font-size: 24px;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}
.msgbox > div span {
    display: inline-block;
    vertical-align: middle;
}
.msgbox .error {
    background: #FF512F;
}
.msgbox .warnings{
    background: #ff6900;
}
.msgbox .success {
    background: #35be5c;
}
.msgbox .info {
    background: #3673b8;
}
.msgbox a:not(.close) {
    color: #fff;
    text-decoration: underline;
}
.msgbox a:not(.close):hover {
    text-decoration: none;
}


.page-content {
    margin: 30px 0 0;
    position: relative;
    min-height: calc(100vh - 135px);
}

/* Home */
.page-content .home h1 {
    font-size: 40px;
    line-height: 45px;
    text-align: center;
}
.page-content .home .colour-apps {
    margin: 50px 0;
}
.page-content .home .colour-apps .app-box {
    display: block;
    max-width: 90%;
    height: 100%;
    margin: 0 auto;
    border-radius: 7px;
    background-color: #FFF;
    cursor: pointer;
    box-shadow: 0 2px 6px 2px rgba(0,0,0,0.2);
    color: #000;
    transition: all .3s linear;
}
.page-content .home .colour-apps .app-box:hover {
    box-shadow: 0 5px 20px 5px rgba(0,0,0,0.2);
}
.page-content .home .colour-apps .app-box .image {
    border-radius: 7px 7px 0 0;
    background-image: url('/assets/images/colour-fans.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.page-content .home .colour-apps .app-box .image::before {
    content: '';
    display: block;
    padding-top: 100%;
}
.page-content .home .colour-apps .app-box.image-to-colours-app .image {
    background-image: url('/assets/images/image-to-colours.jpg');
}
.page-content .home .colour-apps .app-box.palette-generator-app .image {
    background-image: url('/assets/images/palette-generator.jpg');
}
.page-content .home .colour-apps .app-box .info {
    padding: 20px;
}
.page-content .home .colour-apps .app-box .info h3 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 10px;
}
.page-content .home .colour-apps .app-box .info p {
    font-size: 16px;
    line-height: 19px;
    color: #8B8A8F;
}

/* Colours Fan */
body.colour-generator-colour-fan .page-content {
    margin-top: 0;
}
.colours-fan-page .canvas {
    font-size: 0.45em;
    padding: 170px 0;
}
.colours-fan-page .canvas .color-ring>div {
    top: -12em;
}
.colours-fan-page .canvas .close-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    border-radius: 100%;
    z-index: 1;
    transition: all .3s linear;
    box-shadow: 0 10px 20px 5px rgba(0,0,0,0.1);
}
.colours-fan-page .canvas .close-icon img {
    max-width: 24px;
    display: block;
}
.colours-fan-page .canvas .close-icon:hover {
    box-shadow: 0 10px 40px 5px rgba(0,0,0,0.4);
}
.colours-fan-page .canvas .color-info h2 {
    font-size: 22px;
    margin-bottom: 8px;
}
.colours-fan-page .canvas .color-info .refresh i {
    font-size: 18px;
}
.colours-fan-page .canvas .color-display .color-brick.current::after {
    font-size: 2.8em;
    top: 1.2em;
}
.colours-fan-page .details {
    text-align: center;
    margin: 30px 0 50px;
}
.colours-fan-page .details h2 {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 10px;
}
.colours-fan-page .details p {
    text-align: center;
    font-size: 21px;
    line-height: 19px;
    font-weight: 300;
}
.colours-fan-page .details .colors-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0px;
}
.colours-fan-page .details .colors-palette .colorbox {
    width: 10%;
    text-align: center;
    padding: 10px;
    margin: 0 4px;
    border-radius: 8px;
    transition: all .3s linear;
}
.colours-fan-page .details .colors-palette .colorbox:hover {
    box-shadow: 0 5px 10px 0px rgba(0,0,0,0.2);
}
.colours-fan-page .details .colors-palette .colorbox .color {
    margin: 0 auto 8px;
    position: relative;
    cursor: pointer;
    transition: all .3s linear;
}
.colours-fan-page .details .colors-palette .colorbox .color::before {
    content: '';
    display: block;
    padding-top: 100%;
}
.colours-fan-page .details .colors-palette .colorbox .color .copy-text {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    transform: translateY(-50%);
    background-color: #ffffff63;
    color: #000;
    width: 100%;
    text-align: center;
    padding: 4px 0;
    transition: all .3s linear;
}
.colours-fan-page .details .colors-palette .colorbox .color .check-image {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    width: 100%;
    background-color: #ffffff63;
    padding: 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: all .3s linear .2s;
}
.colours-fan-page .details .colors-palette .colorbox .color .check-image img.check {
    display: inline-block;
    max-width: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .1s ease-in-out, transform .3s ease-in-out;
}
.colours-fan-page .details .colors-palette .colorbox .color:hover .copy-text {
    opacity: 1;
}
.colours-fan-page .details .colors-palette .colorbox .color.copied .check-image {
    opacity: 1;
}
.colours-fan-page .details .colors-palette .colorbox .color.copied img.check {
    opacity: 1;
    transform: translateY(0);
    transition: all .3s ease-in-out .2s;
}
.colours-fan-page .details .colors-palette .colorbox .color.copied .copy-text {
    opacity: 0;
}
.colours-fan-page .details .colors-palette .colorbox .hex-code {
    line-height: 14px;
    font-size: 12px;
}





/* Palette Generator */
body.colour-generator-palette-generator .page-content {
    margin-top: 0;
    min-height: calc(100vh - 105px);
}
.palette-generator-page #canvas {
    display: none;
}
.palette-generator-page .container {
    position: relative;
}
.palette-generator-page .close-icon {
    position: absolute;
    top: 10px;
    right: 30px;
    cursor: pointer;
    border-radius: 100%;
    z-index: 1;
    transition: all .3s linear;
    box-shadow: 0 10px 20px 5px rgba(0,0,0,0.1);
}
.palette-generator-page .close-icon img {
    max-width: 24px;
    display: block;
}
.palette-generator-page .close-icon:hover {
    box-shadow: 0 10px 40px 5px rgba(0,0,0,0.4);
}
.palette-generator-page .colours-palette {
    position: relative;
}
.palette-generator-page .colours-palette .color {
    padding: 250px 0;
    text-align: center;
    position: relative;
    min-height: 100%;
    cursor: pointer;
    transition: all .3s linear;
}
.palette-generator-page .colours-palette .color .copy-hex {
    position: relative;
    font-size: 18px;
    text-transform: uppercase;
}
.palette-generator-page .colours-palette .color .copy-hex span {
    opacity: 0;
    transition: all .3s linear;
}
.palette-generator-page .colours-palette .color .hex-code {
    position: absolute;
    bottom: 50px;
    left: 50%;
    font-size: 18px;
    text-transform: uppercase;
    opacity: 1;
    transform: translateX(-50%);
    transition: all .3s linear;
    background-color: #ffffff50;
    min-width: 100%;
    padding-top: 3px;
    padding-bottom: 3px;
    font-weight: 300;
    font-family: "Fira Sans", sans-serif;
}

.palette-generator-page .colours-palette .color .hex-code input {
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    font-size: 18px;
    background-color: #ffffff;
    width: 95%;
    height: 30px;
    font-weight: 300;
    font-family: "Fira Sans", sans-serif;
    text-transform: uppercase;
    margin: auto;
    margin-top: 1px;
    margin-bottom: 1px;
    border: 1px solid #3490dc;
}

.palette-generator-page .colours-palette .color:hover .copy-hex span,
.palette-generator-page .colours-palette .color:hover .hex-code {
    opacity: 1;
}
.palette-generator-page .colours-palette .color .copy-hex img.check {
    max-width: 18px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -9px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .1s ease-in-out, transform .3s ease-in-out;
}
.palette-generator-page .colours-palette .color.copied .copy-hex img.check {
    opacity: 1;
    transform: translateY(0);
    transition: all .3s ease-in-out .2s;
}
.palette-generator-page .colours-palette .color.copied .copy-hex span,
.palette-generator-page .colours-palette .color.copied .hex-code {
    opacity: 0;
}
.palette-generator-page .colours-palette .refresh-icon {
    position: absolute;
    bottom: -24px;
    z-index: 1;
    max-width: 48px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    border-radius: 100%;
    transition: all .3s linear;
}
.palette-generator-page .colours-palette .refresh-icon img {
    display: block;
}
.palette-generator-page .colours-palette .refresh-icon:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.palette-generator-page .details {
    text-align: center;
    margin: 50px 0;
}
.palette-generator-page .details h2 {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 10px;
}
.palette-generator-page .details p {
    text-align: center;
    font-size: 21px;
    line-height: 19px;
    font-weight: 300;
}
.palette-generator-page .details .hue-field {
    justify-content: center;
    align-items: center;
    max-width: 50px;
    padding-top: 10px;
    cursor: pointer;
}
.palette-generator-page .details .hue-field .arrow {
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 100%;
    display: flex;
    align-items: center;
    transition: all .3s linear;
}
.palette-generator-page .details .hue-field .arrow svg {
    display: block;
    height: 14px;
    width: 14px;
    margin-left: 8px;
}
.palette-generator-page .details .hue-field .arrow:hover {
    background-color: #1e73bd;
}
.palette-generator-page .details .hue-field .arrow:hover svg path {
    fill: #fff;
}
.palette-generator-page .details .hue-field input {
    max-width: 50px;
    border: 1px solid #979797;
    padding: 5px;
    font-size: 18px;
    text-align: center;
    margin: 0 10px;
    border-radius: 8px;
}
.palette-generator-page .details .hue-field input::-webkit-outer-spin-button,
.palette-generator-page .details .hue-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.palette-generator-page .details .hue-field input[type=number] {
    -moz-appearance: textfield;
}

/* Image To Colors */
body.colour-generator-image-to-colour .page-content {
    margin-top: 0;
    min-height: calc(100vh - 105px);
}
.image-to-colours-page .close-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
    border-radius: 100%;
    z-index: 1;
    transition: all .3s linear;
    box-shadow: 0 10px 20px 5px rgba(0,0,0,0.1);
}
.image-to-colours-page .close-icon img {
    max-width: 24px;
    display: block;
}
.image-to-colours-page .close-icon:hover {
    box-shadow: 0 10px 40px 5px rgba(0,0,0,0.4);
}
.image-to-colours-page .upload-area {
    position: relative;
    background-color: #31373E;
    padding: 25px 0 185px;
    margin-bottom: 260px;
    text-align: center;
}
.image-to-colours-page .upload-area.with-error {
    margin-bottom: 40px;
}
.image-to-colours-page .upload-area .upload-field {
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all .3s linear;
}
.image-to-colours-page .upload-area .upload-field [type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 100px;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}
.image-to-colours-page .upload-area .upload-field [type="file"]::-webkit-file-upload-button {
    cursor:pointer;
}
.image-to-colours-page .upload-area .upload-field .btn-upload {
    background-color: #1E73BD;
    padding: 15px 25px;
    border: none;
    color: #fff;
    font-size: 15px;
    line-height: 18px;
    font-weight: 600;
    border-radius: 5px;
}
.image-to-colours-page .upload-area .upload-field:hover .btn-upload {
    opacity: 0.7;
}
.image-to-colours-page .upload-area .alert-error {
    padding: 12px 0;
    border-radius: 4px;
    font-weight: 300;
    color: #eee;
    background-color: #ec3a4a;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}
.image-to-colours-page .upload-area .uploaded-image {
    position: absolute;
    bottom: -232px;
    left: 50%;
    max-width: 320px;
    width: 100%;
    transform: translateX(-50%);
    z-index: 3;
}
.image-to-colours-page .upload-area .uploaded-image .image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 4px;
}
.image-to-colours-page .upload-area .uploaded-image .image::before {
    content: '';
    display: block;
    padding-top: 120%;
}
.image-to-colours-page .details {
    text-align: center;
    margin-bottom: 50px;
}
.image-to-colours-page .details h2 {
    font-size: 25px;
    line-height: 30px;
    margin-bottom: 10px;
}
.image-to-colours-page .details p {
    text-align: center;
    font-size: 21px;
    line-height: 19px;
    font-weight: 300;
}
.image-to-colours-page .details .colors-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.image-to-colours-page .details .colors-palette .colorbox {
    width: 10%;
    text-align: center;
    padding: 10px;
    margin: 0 4px;
    border-radius: 8px;
    transition: all .3s linear;
}
.image-to-colours-page .details .colors-palette .colorbox:hover {
    box-shadow: 0 5px 10px 0px rgba(0,0,0,0.2);
}
.image-to-colours-page .details .colors-palette .colorbox .color {
    margin: 0 auto 8px;
    position: relative;
    cursor: pointer;
}
.image-to-colours-page .details .colors-palette .colorbox .color::before {
    content: '';
    display: block;
    padding-top: 100%;
}
.image-to-colours-page .details .colors-palette .colorbox .color .copy-text {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    transform: translateY(-50%);
    background-color: #ffffff63;
    color: #000;
    width: 100%;
    text-align: center;
    padding: 4px 0;
    transition: all .3s linear;
}
.image-to-colours-page .details .colors-palette .colorbox .color .check-image {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    width: 100%;
    background-color: #ffffff63;
    padding: 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: all .3s linear .2s;
}
.image-to-colours-page .details .colors-palette .colorbox .color .check-image img.check {
    display: inline-block;
    max-width: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .1s ease-in-out, transform .3s ease-in-out;
}
.image-to-colours-page .details .colors-palette .colorbox .color:hover .copy-text {
    opacity: 1;
}
.image-to-colours-page .details .colors-palette .colorbox .color.copied .check-image {
    opacity: 1;
}
.image-to-colours-page .details .colors-palette .colorbox .color.copied img.check {
    opacity: 1;
    transform: translateY(0);
    transition: all .3s ease-in-out .2s;
}
.image-to-colours-page .details .colors-palette .colorbox .color.copied .copy-text {
    opacity: 0;
}
.image-to-colours-page .details .colors-palette .colorbox .hex-code {
    line-height: 14px;
    font-size: 12px;
}




.palette-generator-page .colors-palette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.palette-generator-page .colors-palette .colorbox {
    width: 10%;
    text-align: center;
    padding: 10px;
    margin: 0 4px;
    border-radius: 8px;
    transition: all .3s linear;
}
.palette-generator-page .colors-palette .colorbox:hover {
    box-shadow: 0 5px 10px 0px rgba(0,0,0,0.2);
}
.palette-generator-page .colors-palette .colorbox .color {
    margin: 0 auto 8px;
    position: relative;
    cursor: pointer;
}
.palette-generator-page .colors-palette .colorbox .color::before {
    content: '';
    display: block;
    padding-top: 100%;
}
.palette-generator-page .colors-palette .colorbox .color .copy-text {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    transform: translateY(-50%);
    background-color: #ffffff63;
    color: #000;
    width: 100%;
    text-align: center;
    padding: 4px 0;
    transition: all .3s linear;
}
.palette-generator-page .colors-palette .colorbox .color .check-image {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    width: 100%;
    background-color: #ffffff63;
    padding: 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    transition: all .3s linear .2s;
}
.palette-generator-page .colors-palette .colorbox .color .check-image img.check {
    display: inline-block;
    max-width: 18px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .1s ease-in-out, transform .3s ease-in-out;

}
.palette-generator-page .colors-palette .colorbox .color:hover .copy-text {
    opacity: 1;
}
.palette-generator-page .colors-palette .colorbox .color.copied .check-image {
    opacity: 1;
}
.palette-generator-page .colors-palette .colorbox .color.copied img.check {
    opacity: 1;
    transform: translateY(0);
    transition: all .3s ease-in-out .2s;
}
.palette-generator-page .colors-palette .colorbox .color.copied .copy-text {
    opacity: 0;
}
.palette-generator-page .colors-palette .colorbox .hex-code {
    line-height: 14px;
    font-size: 12px;
    opacity: 1;
}



@media (min-width: 1600px) {
    .container {
        max-width: 1530px;
    }
}
@media (max-width: 1024px) {
    .colours-fan-page .details .colors-palette .colorbox,
    .image-to-colours-page .details .colors-palette .colorbox {
        width: 14%;
    }
    .palette-generator-page .colors-palette .colorbox {
        width: 14%;
    }
}
@media (max-width: 576px) {
    .colours-fan-page .details .colors-palette .colorbox,
    .image-to-colours-page .details .colors-palette .colorbox {
        width: 18%;
    }
    .palette-generator-page .colors-palette .colorbox {
        width: 18%;
    }
}
@media (max-width: 480px) {
    .colours-fan-page .details .colors-palette .colorbox,
    .image-to-colours-page .details .colors-palette .colorbox {
        width: 18%;
    }
    .palette-generator-page .colors-palette .colorbox {
        width: 18%;
    }
    .colours-fan-page .canvas {
        font-size: 0.35em;
        padding: 120px 0;
    }
}


.page-content .home .colour-apps .app-box .image {
    border-radius: 7px 7px 0 0;
    background-image: url(/assets/images/colour-fans.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.colours-fan-page, .image-to-colours-page {
    margin: auto -50px auto -60px;
}
@media (max-width: 1199px) {
    .colours-fan-page, .image-to-colours-page {
        margin: auto -10px;
    }
}

.palette-generator-page {
    margin: auto;
}

@media (min-width: 1025px) {
    .palette-generator-page {
        margin: auto -45px;
    }
}

.palette-generator-controls {
    text-align:center;
    max-width: 620px;
    margin: auto;
}

.palette-generator-controls > div:nth-child(2) {
    text-align: left;
    margin: 0 auto !important;
    display: inline-block;
}

@media (min-width: 769px) {
    .palette-generator-controls > div:nth-child(1) {
        float: left;
    }

    .palette-generator-controls > div:nth-child(3) {
        float: right;
    }
}
@media (max-width: 768px) {
    .palette-generator-controls .refresh-icon {
        margin-bottom: 30px;
    }
}


.palette-generator-page .colours-palette .lock-icon {
    position: absolute;
    bottom: -24px;
    z-index: 1;
    max-width: 48px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    border-radius: 100%;
    transition: all .3s linear;

    width: 48px;
    height: 48px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.palette-generator-page .colours-palette .lock-icon img {
    display: block;
}
.palette-generator-page .colours-palette .blue-bg {
    background-color: #23a6cd !important;
}


.colour-generator-heading {
    margin: 30px auto;
    font-weight: 500 !important;
}

.palette-generator-page .colour-fan-user {
    margin-left: -15px;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
	display: none!important
}

[tap] {
	cursor: pointer
}

.fg-light, .fg-light h2 {
	color: #ffffff;
}

.fg-dark, .fg-dark h2 {
	color: #363639;
}

.canvas {
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	z-index: 1;
	flex: 4;
	font-size: 1.3vmin;
	transition: 1.5s ease-in-out;
	cursor: default
}

.dial {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	flex: none;
	background-image: radial-gradient(circle at 50% 50%, #fff, #000);
	mix-blend-mode: overlay
}

.color-display {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	font-size: 1.35em
}

.color-display a {
	text-decoration: none;
	color: inherit
}

.color-brick {
	border-radius: 50%;
	flex: 0 0 auto;
	padding: 0;
	width: 100%;
	height: 100%;
	pointer-events: auto;
	box-shadow: 1.5em 0 2.5em -2em rgba(0, 0, 0, .65)
}

.color-brick.current::after {
	content: '\e64c';
	font-family: themify;
	font-size: 4.5vmin;
	position: absolute;
	top: 1em;
	left: 50%;
	transform: translateX(-50%)
}

.color-ring-outer {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) translateZ(0)
}

.color-ring {
	position: relative;
	width: 35em;
	height: 35em;
	pointer-events: none;
	border-radius: 100%;
	overflow: visible;
	transform-origin: 50% 50%;
	line-height: 0;
	transition: transform .3s ease-out
}

.color-ring>div {
	display: flex;
	align-items: flex-start;
	justify-content: space-around;
	position: absolute;
	top: -12vmin;
	right: 50%;
	bottom: 50%;
	left: 50%;
	transform-origin: center bottom;
	transform: rotate(180deg);
	transition: transform .3s ease-out, top .3s ease-out
}

.color-ring>div:nth-last-child(-n+2) {
	transition: none
}

.color-ring>div:last-child {
	transform-origin: right bottom
}

.color-ring>div:last-child .color-brick {
	pointer-events: none;
	border-radius: 0 100% 10%/20% 55%;
	box-shadow: .7em 1em 1.5em -1em rgba(0, 0, 0, .65)
}

.color-ring>div:last-child .color-brick::after {
	left: 0
}

.color-info {
	position: relative;
	width: 13em;
	height: 13em;
	text-align: center;
	font-size: 2.1em;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	user-select: none;
	transition: background .3s ease-out;
	box-shadow: 0 .5em 4em -1em rgba(0, 0, 0, .9);
	border-radius: 100%
}

.color-info>*+* {
	margin: 0
}


@media screen and (max-width: 40em),
screen and (orientation: portrait) {
	.canvas {
		flex: 1
	}
	.color-ring {
		width: 24em;
		height: 24em
	}
	.color-ring>div {
		top: -15vmin
	}
	.color-info {
		width: 12em;
		height: 12em
	}
}
