body {
    font-family: 'Istok Web', 'Open Sans', 'Roboto', sans-serif;
    background-color: #fff;
}

a:link {
    color: #4cb9ea;
    text-decoration: none;
}

.smalldot {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc1JyBoZWlnaHQ9JzUnPgo8cmVjdCB3aWR0aD0nNScgaGVpZ2h0PSc1JyBmaWxsPScjZmZmJy8+CjxyZWN0IHdpZHRoPScxJyBoZWlnaHQ9JzEnIGZpbGw9JyNlZWUnIGZpbGwtb3BhY2l0eT0iMC41Ii8+Cjwvc3ZnPg==");
    background-repeat: repeat;
    }

    /* puzzle from http://www.heropatterns.com/ */

.cgPuzzlebg {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cpath fill='%23dce7f0' fill-opacity='0.29' d='M192 15v2a11 11 0 0 0-11 11c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H145v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11 13 13 0 1 1 .02 26 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43a6.1 6.1 0 0 0-3.03 4.87V143h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 181 164a11 11 0 0 0 11 11v2a13 13 0 0 1-13-13 12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84a6.1 6.1 0 0 0-4.87-3.03H145v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 124 181a11 11 0 0 0-11 11h-2a13 13 0 0 1 13-13c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43a6.1 6.1 0 0 0 3.03-4.87V145h-35.02a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 107 124a11 11 0 0 0-22 0c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H49v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11A13 13 0 0 1 81 192h-2a11 11 0 0 0-11-11c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V145H11.98a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 0 1 0 177v-2a11 11 0 0 0 11-11c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H47v-35.02a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 28 109a13 13 0 1 1 0-26c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43A6.1 6.1 0 0 0 47 84.02V49H11.98a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 11 28 11 11 0 0 0 0 17v-2a13 13 0 0 1 13 13c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84A6.1 6.1 0 0 0 11.98 47H47V11.98a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 68 11 11 11 0 0 0 79 0h2a13 13 0 0 1-13 13 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43A6.1 6.1 0 0 0 49 11.98V47h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 85 68a11 11 0 0 0 22 0c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H143V11.98a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 124 13a13 13 0 0 1-13-13h2a11 11 0 0 0 11 11c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V47h35.02a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 179 28a13 13 0 0 1 13-13zM84.02 143a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 83 124a13 13 0 1 1 26 0c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84a6.1 6.1 0 0 0 4.87 3.03H143v-35.02a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 164 107a11 11 0 0 0 0-22c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V49h-35.02a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 1 1 83 68a12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84A6.1 6.1 0 0 0 84.02 49H49v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 28 85a11 11 0 0 0 0 22c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V143h35.02z'%3E%3C/path%3E%3C/svg%3E");
}

.oldcgHexbg {
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23f2f2f2' fill-opacity='0.46' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
/* grid_paper 
https://www.magicpattern.design/tools/css-backgrounds
*/
.cgHexbg {
    background-color: #ffffff;
    opacity: 1;
    background-image:  linear-gradient(#f8f8f8 2.8000000000000003px, transparent 2.8000000000000003px), linear-gradient(90deg, #f8f8f8 2.8000000000000003px, transparent 2.8000000000000003px), linear-gradient(#f8f8f8 1.4000000000000001px, transparent 1.4000000000000001px), linear-gradient(90deg, #f8f8f8 1.4000000000000001px, #ffffff 1.4000000000000001px);
    background-size: 70px 70px, 70px 70px, 14px 14px, 14px 14px;
    background-position: -2.8000000000000003px -2.8000000000000003px, -2.8000000000000003px -2.8000000000000003px, -1.4000000000000001px -1.4000000000000001px, -1.4000000000000001px -1.4000000000000001px;
}

/* boxes */
.cgBoxbg {
    background-color: #ffffff;
    opacity: 0.8;
    background-image:  linear-gradient(#f8f8f8 1px, transparent 1px), linear-gradient(to right, #f8f8f8 1px, #ffffff 1px);
    background-size: 20px 20px;
}

.cgDiagonalbg {
    background-color: #ffffff;
background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23f6f6f6' fill-opacity='0.99' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
/* new PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc1JyBoZWlnaHQ9JzUnPgo8cmVjdCB3aWR0aD0nNScgaGVpZ2h0PSc1JyBmaWxsPScjZmZmJy8+CjxyZWN0IHdpZHRoPScxJyBoZWlnaHQ9JzEnIGZpbGw9JyNlZWUnIGZpbGwtb3BhY2l0eT0iMC41Ii8+Cjwvc3ZnPg== */
/* orig PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc1JyBoZWlnaHQ9JzUnPgo8cmVjdCB3aWR0aD0nNScgaGVpZ2h0PSc1JyBmaWxsPScjZmZmJy8+CjxyZWN0IHdpZHRoPScxJyBoZWlnaHQ9JzEnIGZpbGw9JyNjY2MnLz4KPC9zdmc+ */

.whitecarbon {
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHhtbG5zOnhsaW5rPSdodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rJyB3aWR0aD0nNicgaGVpZ2h0PSc2Jz4KICA8cmVjdCB3aWR0aD0nNicgaGVpZ2h0PSc2JyBmaWxsPScjZWVlZWVlJy8+CiAgPGcgaWQ9J2MnPgogICAgPHJlY3Qgd2lkdGg9JzMnIGhlaWdodD0nMycgZmlsbD0nI2U2ZTZlNicvPgogICAgPHJlY3QgeT0nMScgd2lkdGg9JzMnIGhlaWdodD0nMicgZmlsbD0nI2Q4ZDhkOCcvPgogIDwvZz4KICA8dXNlIHhsaW5rOmhyZWY9JyNjJyB4PSczJyB5PSczJy8+Cjwvc3ZnPg==");
background-repeat: repeat;
}



a:link{
    color: #18649B;
}

.flex-images { overflow: hidden; }
.flex-images .item { float: left; margin: 4px; border: 1px solid #eee; box-sizing: content-box; overflow: hidden; position: relative;  }
.flex-images .item img { display: block; width: auto; height: 100%; }



.cgPane{
    height: 426px;
    overflow-y: scroll;
    background-color: #ffffff;
    /* border-left: 1px solid #DDDDDD; */
}

.cgTool{
    max-width: 900px;
    min-width: 50em;
    min-height: 500px;
    border-bottom: 1px solid #DDDDDD;
    border-radius: 4px;
    /*margin: auto;*/
}

.cgToolBar{
    width: 100%;
    background-color: #f9f9f9;
    padding-bottom: 6px;
    border-bottom: 1px solid #dddddd;
}

.cgToolSubBar{
    display: flex;
    justify-content: flex-start;
    width: 100%;
    background-color: #f4f4f4;
    padding-top: 0px !important;
}

.cgFlexEl{ 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 6px;
}

.cgMakerTitle{
    font-size: 28px;
    font-weight: 700;
    color: #505659;
    background-color: #fff;
    height: 50px;
    border-top: 1px solid #dddddd;
}

.cgMakerSubTitle{
    font-size: 16px;
    font-weight: 200;
    padding-bottom: 6px;
    padding-right: 20px;
    color: #888886;
    background-color: #fff;
    border-bottom: 1px solid #dddddd;
}

.cgHelpSymbol{
    font-size: 18px;
    cursor: pointer;
}

.oldcgDisplayBlock{
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23f2f2f2' fill-opacity='0.46' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    min-height: 284px;
    padding-top: 1em;
}

.cgDisplayBlock {
    background-color: #ffffff;
    min-height: 284px;
    padding-top: 1em;
    background-image:  linear-gradient(#f8f8f8 2.8000000000000003px, transparent 2.8000000000000003px), linear-gradient(90deg, #f8f8f8 2.8000000000000003px, transparent 2.8000000000000003px), linear-gradient(#f8f8f8 1.4000000000000001px, transparent 1.4000000000000001px), linear-gradient(90deg, #f8f8f8 1.4000000000000001px, #ffffff 1.4000000000000001px);
    background-size: 70px 70px, 70px 70px, 14px 14px, 14px 14px;
    background-position: -2.8000000000000003px -2.8000000000000003px, -2.8000000000000003px -2.8000000000000003px, -1.4000000000000001px -1.4000000000000001px, -1.4000000000000001px -1.4000000000000001px;
}
/* hex  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='192' height='192' viewBox='0 0 192 192'%3E%3Cpath fill='%23dce7f0' fill-opacity='0.29' d='M192 15v2a11 11 0 0 0-11 11c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H145v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11 13 13 0 1 1 .02 26 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43a6.1 6.1 0 0 0-3.03 4.87V143h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 181 164a11 11 0 0 0 11 11v2a13 13 0 0 1-13-13 12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84a6.1 6.1 0 0 0-4.87-3.03H145v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 124 181a11 11 0 0 0-11 11h-2a13 13 0 0 1 13-13c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43a6.1 6.1 0 0 0 3.03-4.87V145h-35.02a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 107 124a11 11 0 0 0-22 0c0 1.94 1.16 4.75 2.53 6.11l2.36 2.36a6.93 6.93 0 0 1 1.22 7.56l-.43.84a8.08 8.08 0 0 1-6.66 4.13H49v35.02a6.1 6.1 0 0 0 3.03 4.87l.84.43c1.58.79 4 .4 5.24-.85l2.36-2.36a12.04 12.04 0 0 1 7.51-3.11A13 13 0 0 1 81 192h-2a11 11 0 0 0-11-11c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V145H11.98a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 0 1 0 177v-2a11 11 0 0 0 11-11c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H47v-35.02a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 28 109a13 13 0 1 1 0-26c2.47 0 5.79 1.37 7.53 3.11l2.36 2.36a4.94 4.94 0 0 0 5.24.85l.84-.43A6.1 6.1 0 0 0 47 84.02V49H11.98a8.08 8.08 0 0 1-6.66-4.13l-.43-.84a6.91 6.91 0 0 1 1.22-7.56l2.36-2.36A10.06 10.06 0 0 0 11 28 11 11 0 0 0 0 17v-2a13 13 0 0 1 13 13c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84A6.1 6.1 0 0 0 11.98 47H47V11.98a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 68 11 11 11 0 0 0 79 0h2a13 13 0 0 1-13 13 12 12 0 0 1-7.53-3.11l-2.36-2.36a4.93 4.93 0 0 0-5.24-.85l-.84.43A6.1 6.1 0 0 0 49 11.98V47h35.02a8.08 8.08 0 0 1 6.66 4.13l.43.84a6.91 6.91 0 0 1-1.22 7.56l-2.36 2.36A10.06 10.06 0 0 0 85 68a11 11 0 0 0 22 0c0-1.94-1.16-4.75-2.53-6.11l-2.36-2.36a6.93 6.93 0 0 1-1.22-7.56l.43-.84a8.08 8.08 0 0 1 6.66-4.13H143V11.98a6.1 6.1 0 0 0-3.03-4.87l-.84-.43c-1.59-.8-4-.4-5.24.85l-2.36 2.36A12 12 0 0 1 124 13a13 13 0 0 1-13-13h2a11 11 0 0 0 11 11c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V47h35.02a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 179 28a13 13 0 0 1 13-13zM84.02 143a6.1 6.1 0 0 0 4.87-3.03l.43-.84c.8-1.59.4-4-.85-5.24l-2.36-2.36A12 12 0 0 1 83 124a13 13 0 1 1 26 0c0 2.47-1.37 5.79-3.11 7.53l-2.36 2.36a4.94 4.94 0 0 0-.85 5.24l.43.84a6.1 6.1 0 0 0 4.87 3.03H143v-35.02a8.08 8.08 0 0 1 4.13-6.66l.84-.43a6.91 6.91 0 0 1 7.56 1.22l2.36 2.36A10.06 10.06 0 0 0 164 107a11 11 0 0 0 0-22c-1.94 0-4.75 1.16-6.11 2.53l-2.36 2.36a6.93 6.93 0 0 1-7.56 1.22l-.84-.43a8.08 8.08 0 0 1-4.13-6.66V49h-35.02a6.1 6.1 0 0 0-4.87 3.03l-.43.84c-.79 1.58-.4 4 .85 5.24l2.36 2.36a12.04 12.04 0 0 1 3.11 7.51A13 13 0 1 1 83 68a12 12 0 0 1 3.11-7.53l2.36-2.36a4.93 4.93 0 0 0 .85-5.24l-.43-.84A6.1 6.1 0 0 0 84.02 49H49v35.02a8.08 8.08 0 0 1-4.13 6.66l-.84.43a6.91 6.91 0 0 1-7.56-1.22l-2.36-2.36A10.06 10.06 0 0 0 28 85a11 11 0 0 0 0 22c1.94 0 4.75-1.16 6.11-2.53l2.36-2.36a6.93 6.93 0 0 1 7.56-1.22l.84.43a8.08 8.08 0 0 1 4.13 6.66V143h35.02z'%3E%3C/path%3E%3C/svg%3E");*/

.cgInput{
    font-size: 14px;
    height: 40px;
    font-family: Roboto;
    border-radius: 4px;
    border: 1px solid #cccccc;
    margin-bottom: 4px;
    width: 150px;
    -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
    -moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */
         box-sizing: border-box;
}

.cgInput::placeholder{
    font-size: 80%;
    color: rgba(75, 91, 153, 0.66);
}

.cgInputLabel{
    font-size: 14px;
    height: 40px;
    font-family: Roboto;
    flex-basis: 25%;
    margin-top: 10px;
    margin-right: 10px;
    text-align: right;
    color: #888886;
}

.cgRadioLabel{
    font-size: 16px;
    height: 40px;
    font-family: Roboto;
    width: 150px;
    margin-top: 6px;
    margin-right: 10px;
    text-align: right;
    color: #36548C;
}

.cgPrefsField{
    flex-basis: 20%;
}

.cgGABtn{
    margin-right: 6px;
    margin-left: 6px;
    height: 38px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    cursor: pointer;
}

.cgPreviewBtn{
    margin-right: 6px;
    margin-left: 6px;
    height: 38px;
    border: 1px solid #dddddd;
    border-radius: 4px;
    cursor: pointer;
    visibility: hidden;
}

.cgNumberInput{
    font-size: 11px; 
    width: 36px;
}

.cgInputNoWidth{
    font-size: 14px;
    height: 40px;
    font-family: Roboto;
    border-radius: 4px;
    border: 1px solid #cccccc;
    margin-right: 4px;
    -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
    -moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */
         box-sizing: border-box;
}


.cgBigInput{
    font-size: 14px;
    height: 40px;
    margin-top: 1em;
    border-radius: 4px;
    border: 1px solid #cccccc;
    width: 250px;
    -webkit-box-sizing: border-box; /* For legacy WebKit based browsers */
    -moz-box-sizing: border-box; /* For legacy (Firefox <29) Gecko based browsers */
         box-sizing: border-box;
}


.cgStyleBox{
    font-size: 14px;
    margin-left: 6px;
    margin-right: 6px;
    padding: 11px;
    background-color: #ffffff;
    color: #444444;
    border-radius: 4px;
    border: 1px solid #cccccc;
    cursor: pointer; 
}

.cgStyleBox:hover{
    color: #684194;
    cursor: pointer;
    background: #bbbbbb;
}


.cgFlatpickrBox{
    min-width: 140px;
    font-size: 12px;
    margin-left: 2px;
}


.cgTZpickrBox{
    margin-left: 4px;
    margin-right: 4px;
}

.cgFormatBox{
    min-width: 180px;
}

.cgFontSizepickrBox{
    min-width: 100px;
}
.cgFlatpickr{
    font-size: 13px;
    padding: 10px 8px 10px 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    position: relative;
}

.cgColorBox{
    font-size: 11px;
    font-weight: 100;
    color: #888888;
    background-color: #fff; 
    cursor: pointer;
    min-width: 52px;
    text-align: center;
    min-height: 32px;
    margin-top: 2px;
    height: 38px;
    margin-bottom: 2px;
    border-radius: 4px;
    border-style: solid;
    border-color: #CCCCCC;
    border-width: 1px;
    margin-right: 4px;
    margin-left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.cgColorBoxTwo{
    font-size: 11px;
    font-weight: 100;
    color: #888888;
    background-color: #fff; 
    cursor: pointer;
    min-width: 52px;
    text-align: center;
    min-height: 32px;
    /* margin-top: 2px; */
    height: 38px;
    margin-bottom: 2px;
    border-radius: 4px;
    border-style: solid;
    border-color: #CCCCCC;
    border-width: 1px;
    margin-right: 4px;
    margin-left: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cgPlaceColorBox{
    font-size: 11px;
    background-color: #fff; 
    cursor: pointer;
    min-width: 52px;
    text-align: center;
    min-height: 32px;
    margin-top: 2px;
    margin-bottom: 2px;
    border-radius: 4px;
    border-style: solid;
    border-color: #CCCCCC;
    border-width: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.cgButton{
    font-size: 14px;
    font-family: Arial;
    margin-left: 2em;
    margin-right: 6px;
    padding: 8px;
    height: 40px;
    background-color: #7CB6E8;
    color: #fff;
    border-radius: 4px;
    cursor: pointer; 
    width: 98px; 
    text-transform: uppercase;
    /* recurly sets buttons to 100%. grr */ 
}

.cgFlexButton{
    font-size: 14px;
    font-family: Arial;
    padding: 8px;
    height: 40px;
    background-color: #7CB6E8;
    color: #fff;
    border-radius: 4px;
    border: none;
    cursor: pointer; 
    text-transform: uppercase;
    /* recurly sets buttons to 100%. grr */ 
}


.cgBabyButton{
    font-size: 11px;
    text-decoration: underline;
    color: #714695;
}

.cgImageBox{
    border-radius: 4px;
    min-height: 8em;
    margin-top: 2em;
}

.cgImageBox img{
    max-width: 520px;
    height: auto;
    background-color: #f0f0f0;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    border-color: #efefef;
} 

.cgImage{
    /*-webkit-box-shadow: 7px 6px 12px -5px rgba(150,150,150,1);*/
    /*-moz-box-shadow: 7px 6px 12px -5px rgba(150,150,150,1);*/
    /*box-shadow: 7px 6px 12px -5px rgba(150,150,150,1);*/
}
.cgPlaceStampBox{
    width: 520px;
    height: 114px;
    min-height: 114px;
    border-radius: 4px;
}

.cgPlaceStamp{
    max-width: 100%;
}

.cgURLBox{
    padding: 8px 8px 8px 8px;   
}


.cgCopyToClipboard{
    margin-left: 6px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    display: none;
    color: #684194;
    line-height: 100%;
} 

.cgCopyToClipboardLabel{
    font-size: 10px;
    text-align: center;
    color: #666666;
}

.cgShowURL{
    flex-basis: 50%;
    font-size: calc(8px + 0.3vw);
    min-height: 20px;
    font-weight: 500;
    color: #6b6b6b;
    text-align: left;
}
.cgFooter{ 
    display: flex;
    padding-top: 2em;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 8px;
    border: 1px solid #efefef;
    background-color: #fff;
}

.cgFooterRight{
    flex-basis: 20%;
    font-weight: 200;
    color: ##0b6399;
    font-size: 12px;
    text-align: right;
    padding-right: 1em;
    height: 2em;
}

.cgFooterCenter{
    flex-basis: 50%;
    font-weight: 200;
    color: #0b6399;
    font-size: 14px;
    text-align: center;
    height: 2em;
}

.cgFooterLeft{
    flex-basis: 20%;
    font-weight: 100;
    color: #aeaeae;
    font-size: 14px;
    text-align: left;
    padding-left: 1em;
    height: 2em;
}

.cgFooterButtonsBox{
    flex-basis: 100%;
    display: flex;
    justify-content: center;
}
 

.cgSelfActionBox{
    flex-basis: 60%;
    display: flex;
    justify-content: center;
}

.cgSelfInputBox{
    flex-basis: 28%;
    margin-left: 5em;
    
}

.cgBigButton{
    flex-basis: 50%;
    font-size: 24px;
    font-family: Arial;
    padding: 12px;
    background-color: #3D5F9A;
    color: #fff;
    border-radius: 4px;
    cursor: pointer; 
}

.cgCancelButton{
    flex-basis: 30%;
    font-size: 24px;
    font-family: Arial;
    padding: 12px;
    background-color: #ADAEAF;
    color: #fff;
    border-radius: 6px;
    cursor: pointer; 
    margin-right: 6px;
}


.cgLinkBox{
    border-radius: 4px;
    max-width: 900px;
    min-width: 50em;
    font-size: 12px;
    font-weight: 400;
    color: #aeaeae;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    flex-wrap: wrap;
    background-color: #fdfdfd;
}


.cgTab{
    color: #727273;
    background-color: #f9fafa;
    flex-grow: 1;
    height: 20px;
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    border-style: solid;
    border-color: #e3e3e3;
    border-bottom: 1px solid #666666;
    cursor: pointer;
    padding-right: 4px;
    padding-left: 4px;
    padding-top: 6px;
    margin-right: 2px;
    text-transform: uppercase;
    max-width: 60px;
    width: 60px;
}

.cgTab:first-child{
    margin-left: 32px;
}


.cgTab-Box-Top{
    border-bottom-style: solid;
    border-bottom-color: #dddddd;
    border-bottom-width: 1px;
}

.cgTab-Box-Bottom{
    border-top-style: solid;
    border-top-color: #dddddd;
    border-top-width: 1px;
}


.cgLoading {
    display: inline-block;
    visibility: hidden;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(150,150,150,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    -webkit-animation: spin 1s ease-in-out infinite;
    margin-left: 6px;
}

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


.cgTop-tab{
    border-width: 1px 1px 0px 1px;
    border-radius: 4px 4px 0px 0px;
}

.cgTop-tab img{
    width: 16px;
    height: 16px;
    position: relative;
}

.cgTop-tab span{
    position: relative;
}

.cgBottom-tab{
    border-width: 0px 1px 1px 1px;
    border-radius: 0px 0px 4px 4px;
}

.cgTabOn{
    font-weight: 800;
    color: #212121 !important; 
    background-color: #fff !important;
    border-color: #999999 !important;
}
`

.cgInfoLink{
    font-size: 14px; 
    color: #666666;
}

.cgHowTo{
    margin: 10px 2em 10px 2em;
    display: none;
    line-height: 1.4;
    background-image: none;
}

.cgHowToSet{
    flex-basis: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    text-align: left;
}
.cgHowToHead{
    font-size: 18px;
    text-align: center;
    color: #565656;
    flex-basis: 100%;
}

.cgHowToSubHead{
    font-size: 14px;
    text-align: center;
    margin-bottom: 1em;
    color: #9a9a9a;
    flex-basis: 100%;
}


.cgHowToLabel{
    font-size: 13px;
    color: #684194;
    flex-basis: 22%;
}
.cgHowToParam{
    margin-left: 10px;
    margin-right: 10px;
    font-size: 11px;
    color: #888888;
    flex-basis: 14%;
}
.cgHowToExample{
    color: #1a1a1a;
    margin-left: 10px;
    font-size: 14px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bolder;
    flex-basis: 64%;
}

.cgCodeExample{
    font-size: 12px;
    font-family: 'Courier New', Courier, monospace;
    text-align: left;
    margin-bottom: 1em;
    color: #9a9a9a;
    flex-basis: 100%;
}

.cgEmojiPicker{
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}


.cgEmoji{
    width: 5em !important;
    cursor: pointer;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

.cgBigEmojiWrapper{
    flex-basis: 60%;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
    -moz-box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
    box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
}

.cgBigEmojiImgBox{
    display: flex;
    justify-content: center;
    align-content: center;
    max-width: 512px;
    max-height: 512px;
} 


.cgBigEmojiImg {
    max-width:  512px;
    max-height: 512px;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

.cgTemplateBox{
    display: flex;
    align-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 100%;
    padding-bottom: 2em;
}

.cgTemplateWrapper{
    flex-basis: 80%;
}


.cgTemplateImgBox{
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 1em;
    /*    width: 460px; */
    /*     height: 276px;*/
} 


.cgTemplateImg {
    margin-left: auto;
    margin-right: auto;
    align-self: center;

}

.cgTemplateVideoBox{
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 1em;
    visibility: hidden;
    /*    width: 460px; */
    /*     height: 276px;*/
} 

.cgTemplateVideo {
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

.cgTemplateTitleBox {
    margin: 8px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 4px;
    border: 1px solid #cccccc;
    -webkit-box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
    -moz-box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
    box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
    max-width: 712px;
    background-color: #fff;
    padding: 6px;
}

.cgTemplateID{
    font-weight: 600;
    color: #888886;
}

.cgTemplateTitle{
    font-weight: 200;
    color: #666666
}


.cgThumbBox{
    height: 12em;
    border: 1px solid #cccccc;
    border-radius: 4px;
    background-color: #ffffff;
    margin: 8px;
    min-width: 180px;
    min-height: 108px;
    -webkit-box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
    -moz-box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
    box-shadow: 3px 2px 6px -5px rgba(150,150,150,1);
}

.cgThumbBox:hover{
    -webkit-box-shadow: 7px 6px 12px -5px rgba(150,150,150,1);
    -moz-box-shadow: 7px 6px 12px -5px rgba(150,150,150,1);
    box-shadow: 7px 6px 12px -5px rgba(150,150,150,1);
}
.cgThumbImgBox{
    display: flex;
    justify-content: center;
    align-content: center;
    width: 180px;
    height: 108px;
    cursor: pointer;
} 

.cgThumbImg {
    max-height: 108px;
    max-width:  180px;
    margin-left: auto;
    margin-right: auto;
    align-self: center;
}

.cgThumbTitleBox {
    margin: 8px;
    font-size: 12px;
    max-width: 180px;
}

.cgThumbID{
    font-weight: 600;
    color: #18649B;
}

.cgThumbTitle{
    font-weight: 100;
    color: #666666
}


.cgDocIFrame{
    flex-basis: 90%;
    overflow-y: scroll;
    min-height: 200px;
    border: 0;
    width: 95%;
}

.cgRecurlyBox{
    flex-basis: 95%;
    border: 2px solid #dedede;
    border-radius: 4px;
    margin: 1em 12px 12px 12px;
    padding: 8px;
    height: 320px;
    box-shadow: 3px 4px 9px -5px rgba(150,150,150,1);
}

.cgRecurlyForm{
    
}

.cgRecurlyLine{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1em;
    margin-bottom: 1em;
}
.cgRecurlyFieldBig{
    flex-basis: 99%;
    margin: 4px;
    text-align: center;
}

.cgRecurlyField{
    flex-basis: 32%;
    margin: 4px;
}

.cgRecurlyFieldSmall{
    flex-basis: 10%;
    margin: 4px;
}

.cgRecurlySelect{
    flex-basis: 20%;
    margin: 4px;
    width: 128px;
}

.cgPricingTable{
    flex-basis: 42%;
    border: 2px solid #dedede;
    border-radius: 4px;
    margin: 1em 12px 12px 12px;
    padding: 8px;
    height: 310px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: flex-start;
}

.cgPricingTableWhole{
    flex-basis: 95%;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #3B485D;
}

.cgPricingTableHalf{
    flex-basis: 42%;
    padding: 8px;
    color: #363636;
    font-weight: 200;
    font-size: 14px;
}

.cgToolbarThird{
    flex-basis: 28%;
    display: flex;
    padding: 0px 6px 0px 6px;
    text-align: center;
}

.cgToolbarHalf{
    flex-basis: 48%;
    display: flex;
    padding: 0px 6px 0px 6px;
    text-align: center;

}

.cgPhotoSearchPrevNext{
    justify-content: space-between !important;
    visibility: hidden;
}

.cgSearchPrevNext{
    flex-basis: 6%;
    margin-right: 6px;
    margin-left: 6px;
    vertical-align: text-bottom;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cgSearchSymbols{
    font-size: 200%;
    color: #E0E0E0;
    cursor: pointer;
    line-height: 60%;
}


.cgTeenyNote{
    font-size: 80%;
    color: #dededf;
}


.cgSearchSource{
    flex-basis: 90%;
    display: flex;
    margin: 0px 6px 0px 6px;
    vertical-align: text-bottom;
    text-align: center;
    max-height: 26px;
    align-self: flex-start;
}

.cgSearchCheck{
    padding-right: 6px;
}





.nice-select {
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
    border-radius: 5px;
    border: solid 1px #cccccc;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    float: left;
    font-family: inherit;
    font-size: 12px;
    font-weight: normal;
    height: 40px;
    line-height: 38px;
    outline: none;
    padding-left: 12px;
    padding-right: 24px;
    position: relative;
    text-align: left !important;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    white-space: nowrap;
    width: auto; }
    .nice-select:hover {
      border-color: #dbdbdb; }
    .nice-select:active, .nice-select.open, .nice-select:focus {
      border-color: #999; }
    .nice-select:after {
      border-bottom: 2px solid #999;
      border-right: 2px solid #999;
      content: '';
      display: block;
      height: 5px;
      margin-top: -4px;
      pointer-events: none;
      position: absolute;
      right: 12px;
      top: 50%;
      -webkit-transform-origin: 66% 66%;
          -ms-transform-origin: 66% 66%;
              transform-origin: 66% 66%;
      -webkit-transform: rotate(45deg);
          -ms-transform: rotate(45deg);
              transform: rotate(45deg);
      -webkit-transition: all 0.15s ease-in-out;
      transition: all 0.15s ease-in-out;
      width: 5px; }
    .nice-select.open:after {
      -webkit-transform: rotate(-135deg);
          -ms-transform: rotate(-135deg);
              transform: rotate(-135deg); }
    .nice-select.open .list {
      opacity: 1;
      pointer-events: auto;
      -webkit-transform: scale(1) translateY(0);
          -ms-transform: scale(1) translateY(0);
              transform: scale(1) translateY(0); }
    .nice-select.disabled {
      border-color: #ededed;
      color: #999;
      pointer-events: none; }
      .nice-select.disabled:after {
        border-color: #cccccc; }
    .nice-select.wide {
      width: 100%; }
      .nice-select.wide .list {
        left: 0 !important;
        right: 0 !important; }
    .nice-select.right {
      float: right; }
      .nice-select.right .list {
        left: auto;
        right: 0; }
    .nice-select.small {
      font-size: 12px;
      height: 36px;
      line-height: 34px; }
      .nice-select.small:after {
        height: 4px;
        width: 4px; }
      .nice-select.small .option {
        line-height: 34px;
        min-height: 34px; }
    .nice-select .list {
      background-color: #fff;
      z-index: 10;
      border-radius: 5px;
      box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
      box-sizing: border-box;
      margin-top: 4px;
      opacity: 0;
      overflow: hidden;
      padding: 0;
      pointer-events: none;
      position: absolute;
      top: 100%;
      left: 0;
      -webkit-transform-origin: 50% 0;
          -ms-transform-origin: 50% 0;
              transform-origin: 50% 0;
      -webkit-transform: scale(0.75) translateY(-21px);
          -ms-transform: scale(0.75) translateY(-21px);
              transform: scale(0.75) translateY(-21px);
      -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
      transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
      z-index: 9; }
      .nice-select .list:hover .option:not(:hover) {
        background-color: transparent !important; }
    .nice-select .option {
      cursor: pointer;
      z-index: 10;
      font-weight: 400;
      line-height: 24px;
      list-style: none;
      min-height: 24px;
      outline: none;
      padding-left: 18px;
      padding-right: 29px;
      text-align: left;
      -webkit-transition: all 0.2s;
      transition: all 0.2s; }
      .nice-select .option:hover, .nice-select .option.focus, .nice-select .option.selected.focus {
        background-color: #f6f6f6; }
      .nice-select .option.selected {
        font-weight: bold; }
      .nice-select .option.disabled {
        background-color: transparent;
        color: #999;
        cursor: default; }
  
  .no-csspointerevents .nice-select .list {
    display: none; }
  
  .no-csspointerevents .nice-select.open .list {
    display: block; }


/* 
	Uploader: 
	- These styles are the ones used on the examples. No needed to use it by any means.
	- It disables user selection to avoid some weird visuals in some browsers
	- It masks/hides the the file input behind a button
 */

 .dm-uploader {
	cursor: default;

	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.dm-uploader .btn {
	position: relative;
	overflow: hidden;
}

.dm-uploader .btn input[type="file"] {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	border: solid transparent;
	width: 100%;
	opacity: .0;
	filter: alpha(opacity= 0);
	cursor: pointer;
}

.cgToolBin{
    visibility: visible;
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    padding-left: 4px; 
    padding-right: 4px;
}

.cgToolbar-Divider{
    width: 2px;
    margin-right: 6px;
    margin-left: 6px; 
    background-color: #eeeeee;
}

.cgSets{
    background-color: #fff;
}

.cgSet{
    display: flex;
    margin: 1em;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background-color: #fff;
    -webkit-box-shadow: 2px 2px 2px 2px #EAEAEA; 
    box-shadow: 2px 2px 2px 2px #EAEAEA;
}

.cgSetImgBox{
    flex-basis: 25%;
    display: flex;
    padding: 6px;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
}

.cgSetImg{
    flex-basis: 100%;
    object-fit: contain;
    max-width: 100%;
    max-height: 6em;
}

.cgSetLinkTargetBox{
    flex-basis: 40%;
    flex-wrap: wrap;
    align-self: center;
    margin-right: 1em;
    margin-left: 1em;
    display: flex;
    justify-content: flex-end;
}

.cgSetSize{
    flex-basis: 50%;
    font-size: 75%;
    color: #aaaaaa;
    align-self: center;
}

.cgSetMobileCheck{
    flex-basis: 50%;
    font-size: 75%;
    color: #505659;
    align-self: center;
}

.cgSetLink{
    flex-basis: 100%;
    align-self: center;
}

.cgSetTarget{
    flex-basis: 100%;
    align-self: center;
    text-align: center;
}

.cgHalfTarget{
    flex-basis: 50%;
    align-self: center;
    text-align: center;
}

.cgSetCheck{
    flex-basis: 2%;
    align-self: center;
    margin-left: 6px;
}

.cgSetNum{
    text-align: center;
    color: #888888;
    align-self: center;
    margin-left: 6px;
}

.cgCTRBox{
    flex-basis: 25%;
    text-align: center;
    padding: 6px;
}

.cgCTRTable{
    width: 90%;
}

.cgCTRTitles{
    color: #888888;
    font-size: 80%;
}

.cgCTRFields{
    color: #212121;
}

.tbInnerToolbar{
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
}

.tbMostOfRight{
    flex-basis: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.tbStatsBox{
    width: 100%;
    display: flex;
    padding-right: 1em;
    padding-left: 1em;
    justify-content: space-evenly;
}

.tbStatsLabels{
    flex-basis: 15%;
    text-align: center;
    font-size: 80%;
    color: #666666;
}

.tbStatsFields{
    flex-basis: 15%;
    text-align: center;
    color: #212121;
}

.tbStatsWinner{
    font-size: 150%;
    color: #4C5C99;
}

.sampleData{
    text-align: center;
}

.cgHistoryItem{
    flex-basis: 30%;
    height: 160px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    background-color: #fff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    margin: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

/*.cgHistoryItem:hover{
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    transform: scale(1.5); 
}*/

.cgHistoryImg{
    flex-basis: 90%;
    max-width: 90%;
    max-height: 50%;
    margin-top: 1em;
    object-fit: scale-down;
    cursor: pointer;
}

.cgHistoryTitle{
    flex-basis: 90%;
    color: #0b6399;
    line-height: 20px;
    text-align: center;
    font-weight: 600;
}

.cgHistoryID{
    flex-basis: 90%;
    font-size: 90%;

    text-align: center;
    color: #444444;
    line-height: 12px;
    margin-top: 6px;
}

.cgHistoryDelete{
    flex-basis: 100%;
    text-align: right;
    color: #727275;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}


.cgTemplatesItem{
    flex-basis: 30%;
    height: 160px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    background-color: #fff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    margin: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.cgTemplatesItem img{
    flex-basis: 90%;
    max-width: 90%;
    max-height: 75%;
    margin-top: 1em;
    object-fit: scale-down;
    cursor: pointer;
}

.cgTemplatesTitle{
    flex-basis: 90%;
    color: #0b6399;
    line-height: 20px;
    text-align: center;
    font-weight: 600;
}


.cg_opt_method{
    margin-top: 2px;
    flex-basis: 100%;
    visibility: hidden;
    display: none;
    text-align: center;
    height: 60px;
}

.cgOptMethod{
    margin-top: 2px;
    flex-basis: 100%;
    visibility: hidden;
    display: flex;
    text-align: center;
}

/* The Modal (background) */
.cg-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  }
  
  /* Modal Content/Box */
  .cg-modal-content {
    width: 904px;
    height: 682px;
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    border: 2px solid #ebebeb;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  }
  
  /* The Close Button */
  .cg-modal-close {
    color: #aaa;
    float: right;
    margin-right: 10px;
    font-size: 28px;
    font-weight: bold;
    line-height: 80%;
  }

  .cg-modal-close:hover,
  .cg-modal-close {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

.cg-modal-frame{
    width: 900px; 
    margin-top: 2px;
    margin-left: 2px;
    height: 628px;
    overflow: hidden;
    padding-top: 2px;
}

.cg-drop-area{
    display: flex;
    justify-content: center;
    flex-basis: 48%; 
    padding-right: 6px;
}

table.cgGreyGridTable {
    width: 220px;
    height: 60px;
    text-align: center;
    border-collapse: collapse;
  }
  table.cgGreyGridTable tbody td {
    font-size: 11px;
    font-weight: bold;
    color: #545659;
  }
  table.cgGreyGridTable thead th {
    font-size: 11px;
    font-weight: normal;
    color: #888888;
    text-align: center;
  }


.cgMetricsFooterLink{
        display: block;
}

  .cgMetricsOverlay{
    z-index: 100;
    display: none;
    position: absolute;
    width: 854px;
    height: 645px;
    margin-top: -12px;
    border: 2px solid #0b6399;
    border-radius: 8px;
    background-color: #fff;
    -webkit-box-shadow: 10px 10px 13px 0px rgba(68,68,68,0.66);
    -moz-box-shadow: 10px 10px 13px 0px rgba(68,68,68,0.66);
    box-shadow: 10px 10px 13px 0px rgba(68,68,68,0.66);
  }

.cgMetricsToolbar{
    height: 36px;
    padding-right: 6px;
    background-color: #c7c7c7;
    display: flex;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    color: #0b6399;
}
.cgMetricsToolbarTitle{
    flex-basis: 66%;
    text-align: center;
    margin-top: 7px;
    font-size: 14px;
    
}
.cgMetricsToolbarLeft{
    flex-basis: 17%;
    text-align: left;
    font-size: 20px;
    padding-left: 8px;
    padding-top: 6px;
    color: #666666;
}
.cgMetricsToolbarRight{
    flex-basis: 17%;
    text-align: right;
    cursor: pointer;
    font-size: 26px;
}

#cgMetricsIcon{
    position: relative;
    height: 24px;
    top: 6px;
}

#greyout{
    display: none;
    position: absolute;
    top: 0px;
    left: 0px;
    background: rgb(102, 102, 102);
    width: 100%;
    height: 100%;
    opacity: 0.2;
}

.cgTiles{
    display: flex;
    padding: 1em;
    flex-wrap: wrap;
    background: #F9F9F9;
    margin-bottom: 600px;
}

.cgTile{
    max-width: 114px;
    display: flex;
    justify-content: center;
    flex-basis: 15%;
    flex-wrap: wrap;
    background: #fff;
    border: #dddddd 1px solid;
    border-radius: 3px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    box-shadow: 0 1px 1px rgba(0,0,0,0.05);
    -webkit-transition-duration: .15s;
    -o-transition-duration: .15s;
    transition-duration: .15s;
    -webkit-transition-property: -webkit-box-shadow;
    transition-property: -webkit-box-shadow;
    -o-transition-property: box-shadow;
    transition-property: box-shadow;
    transition-property: box-shadow, -webkit-box-shadow;
    margin: 0.5em;
    height: 124px;
    cursor: pointer;
    filter: grayscale(1);
    transition-property: -moz-filter, -ms-filter, -o-filter, -webkit-filter, filter;
    transition-duration: 1s;
}

.cgTile:hover{
    -webkit-box-shadow: 0px 10px 13px -7px #000000, -3px 10px 15px -2px rgba(145,145,145,0); 
box-shadow: 0px 10px 13px -7px #000000, -3px 10px 15px -2px rgba(145,145,145,0);
    filter: none;
}

.cgTileIconBox{
    flex-basis: 100%;
    margin: auto;
    display: flex;
    justify-content: center;
    margin-top: 12px;
    height: 60px;
}
.cgTileIcon{
    width: 50px;
    max-height: 50px;
}


.cgTileTitle{
    flex-basis: 100%;
    width: 90%;
    text-align: center;
    hyphens: auto;
    word-break: break-word;
    word-wrap: break-word;
    font-size: 15px;
    height: 26.4px;
    line-height: 1.1;
    overflow: hidden;
    text-align: center;
    /* text-transform: uppercase; */
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-weight: 500;
}


.cgBigTabBox{
    display: flex;
    flex-wrap: nowrap;
    color: #464C4F;
    height: 48px;
}

.cgBigTab{
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: #d6d9dc;
    line-height: 1.42857;
    min-height: 45px;
    border-bottom-color: #ccc;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-left: 2px solid #ccc;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    cursor: pointer;
    margin-right: 1px;
    filter: grayscale(1);
    transition-property: -moz-filter, -ms-filter, -o-filter, -webkit-filter, filter;
    transition-duration: 1s;
}
.cgBigTab:hover{
    filter: none;
}

.cgStubTab{
    width: 224px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #fff;
    line-height: 1.42857;
    min-height: 45px;
    margin-right: 4px;
    filter: grayscale(1);
    color: #4B4B4B;
}

.cgStubTab:hover{
    filter: none;
    color: #0b6399;
}


.cgBigTabIcon{
    max-width: 24px;
    max-height: 24px;
    flex-basis: 25%;
    margin-left: 1em;
    margin-right: 0.5em;
}

.cgLangTile{
    flex-basis: 30%;
    height: 19px;
    margin: 8px 6px 6px 6px;
    font-family: "Open Sans";
    font-size: 13px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #CFD0D3;
    border-radius: 3px;
    cursor: pointer;
    -webkit-box-shadow: 1px 3px 2px 2px #E3E3E3; 
box-shadow: 1px 3px 2px 2px #E3E3E3;
font-weight: 500;
}
.cgLangTile:hover{
    color: #0b6399;
    -webkit-box-shadow: 1px 3px 2px 2px #D8D8D8; 
box-shadow: 1px 3px 2px 2px #D8D8D8;
font-weight: 800;
}

.cgLangPicker{
    width: 600px; 
    height: 320;
    margin: 1em;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    background-color: #F0F2F5;
    border: 2px solid #d8d8d8;
    border-radius: 6px;
    justify-content: space-around;
    padding: 6px;
}


.cgBigTabLabel{
    font-size: 13px;
    flex-basis: 70%;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 500;
}

.cgBigTabOn{
    border-bottom-color: #F9F9F9;
    border-right-color: #F9F9F9;
    border-left-color: #F9F9F9;
    background-color: #F9F9F9;
}

.wistia_embed{
    margin-left: 1em;
}

.cgSmallIcon{
    font-size:medium;
    color: #0b6399;
    margin-right: 4px;
    margin-left: 4px;
}

.cgSmallLabel{
    font-size:11px;
    color: #0b6399;
    margin-right: 4px;
    margin-left: 4px;
}


.cgAddPixel{
    text-align: center;
    flex-basis: 100%;
    color: #888888;
    cursor:pointer;
    font-size: 80%;
    text-decoration:underline;
}

.cgAltTag{
    flex-basis: 100%;
    width: 120px;
    margin-top: 2px;
    /* visibility: hidden; */
}

.cgToolBinLabel{
    text-align: center;
    color: #525659;
    margin-bottom: 1em;
    flex-basis: 100%;
}
/*wtf*/
.cgToolBinThreeQuarter{
    display: flex;
    flex-basis: 75%;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 4px;
    padding-left: 4px;
} 

.cgToolBinHalf{
    display: flex;
    flex-basis: 44%;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 4px;
    padding-left: 4px;
} 

.cgToolBinThird{
    display: flex;
    flex-basis: 33%;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 4px;
    padding-left: 4px;
} 

.cgToolBinQuarter{
    display: flex;
    flex-basis: 25%;
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 4px;
    padding-left: 4px;
} 

.cgAnalyticsConfigPopup{
    z-index: 1010;
    display: flex; 
    flex-wrap: wrap;
    border: 1px solid #dddddd;
    margin-bottom:2em;
    margin-right: 1em;
    margin-left: 1em;
    background-color: #fff;
    border-radius: 4px;
}

.cgAnalyticsConfigHalf{
    flex-basis: 50%;
}

.cgAnalyticsConfigClose{
    width: 100%;
    padding-right: 6px;
    height: 1em;
    cursor: pointer;
    text-align: right;
}


.cgSetThumbnail{
    height: 100px;
    transition-timing-function: ease-in;
}
.cgSetSubtitle{
    font-size: 12px;
    font-weight: 200;
    line-height: 1.1;
    color: #666664;
    margin-bottom: 0.5em;
}
.cgSetTitle{
    font-size: 14px;
    font-weight: 400;
    color: #333334;
}

.hover2x{
    height: 4em;
    max-width: 100%;
    transition-timing-function: ease-in;
}

.hover2x:hover{
    height: 8em;
    max-width: 210px;
}


.borderedLabel{
    border: 1px dotted #dedede;
    border-radius: 4px;
    width: 30px;
    text-align: center;
    cursor: pointer;
    font-size: 150%;
  }
  
  .thumbbox{
    /* flex-basis: 49%; */
    height: 190px;
    display: flex;
    flex-wrap: wrap;
    width: 300px;
    margin-top: 1em;
  }
  .thumbbox p{
  margin-top: 6px;
  color: #0b6299;
  font-size: 13px;
  align-self: flex-end;
  flex-basis: 98%;
  text-align: center;
  }
  .thumbframe{
  flex-basis: 98%;
  align-self: flex-start;
  text-align: center;
  }
  .thumbframe img{
  width: 200px;
  cursor: pointer;
  }
  


  /*Embed Code (Video)*/
  .embedcodes{
    max-width: 292px;
    /* width: 100%; */
    /* margin: 10px auto 30px auto; */
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    flex-basis: 33%;
    justify-content: center;
    align-items: flex-start;
    height: 304px;
}  
.embedheader{
  flex-basis: 90%;
  height: 26px;
  align-self: flex-start;
  font-size: 18px;
  /* background-color: #cfcfcf; */
  color: #0b6299;
  border-radius: 4px;
  padding: 4px 0px 0px 6px;
}
.embedlabel{
  flex-basis: 90%;
  height: 14px;
  align-self: flex-start;
  font-size: 13px;
  color: #666666;
  padding: 10px 0px 0px 6px;
  text-align: center;
}
.embedbox{
  flex-basis: 90%; 
  height: 100px;
  align-self: flex-start;
  font-family: monospace;
  overflow-y: auto;
  overflow-wrap: break-word;
  background-color: #fafafa;
  border-radius: 4px;
}

.thumbnailerTwo{
    visibility: hidden;
}