.buttonGrey {
    color: #000;
    background: #e6e6e8;
}

.buttonGrey:before {
    content: "\f030";
    position: absolute;
    top: 50%;
    margin-top: -14px;
    right: 14px;
    font-family: fontawesome;
    font-size: 20px;
    line-height: 24px;
    color: #e6e6e8;
    border: none;
    border-radius: 100%;
    z-index: 2;
}

.buttonGrey:hover:before {
    color: #000;
}

.buttonGrey:after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -19px;
    right: 7px;
    line-height: 29px;
    color: #000;
    border: 5px solid #000;
    border-radius: 100%;
    background: #000;
    width: 25px;
    height: 25px;
    text-align: center;
}

.buttonGrey:hover:after {
    background: #fff;
    border-color: #fff;
}


#generateImages3d:before {
    content: "\f03e";
    position: absolute;
    top: 50%;
    margin-top: -15px;
    right: 10px;
    font-family: fontawesome;
    font-size: 20px;
    line-height: 29px;
    color: #000;
    border: none;
    border-radius: 100%;
    background: #fff;
    width: 30px;
    height: 30px;
    text-align: center;
    z-index: 2;
}

#generateImages3d:after {
    content: "";
    position: absolute;
    top: 50%;
    margin-top: -19px;
    right: 7px;
    line-height: 29px;
    color: #000;
    border: 5px solid #ffffff;
    border-radius: 100%;
    background: transparent;
    width: 25px;
    height: 25px;
    text-align: center;
}

#generateImages3d:hover:before {
    z-index: 0;
    border-color: #000;
    background: #000;
    color: #fff;
}

#generateImages3d:hover:after {
    border-color: #000;
}


.button3dViewerSm {
    display: inline-block;
    font-family: 'dincond-mediumregular';
    position: relative;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    color: #000;
    box-shadow: none;
    border: 1px solid #000;
    border-radius: 3px;
    background: #ffffff;
    padding: 0 35px 0 10px;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    margin: 3px 0 3px 3px;
}

.button3dViewerSm:before {
    content: "\f138";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    right: 10px;
    font-family: 'FontAwesome';
    font-size: 14px;
    line-height: 29px;
    color: #000;
}

.button3dViewerSm:after {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 4px;
    right: 4px;
    border: 5px solid #000;
    border-radius: 100%;
    text-align: center;
}

.button3dViewerSm:hover:before, .button3dViewerSm.active:before {
    color: #fff;
}

.button3dViewerSm:hover:after {
    border-color: #fff;
}

.showMore3d {
    cursor: pointer;
    margin-bottom: 25px;
    display: inline-block;
    color: #2b2b2b;
    font-family: 'Roboto-Regular';
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    font-size: 1.4rem;
    position: absolute;
    right: 0;
}

.showGallery3d {
    cursor: pointer;
    margin-bottom: 25px;
    display: inline-block;
    color: #2b2b2b;
    font-family: 'Roboto-Regular';
    font-style: normal;
    font-weight: 400;
    line-height: 1.42857143;
    font-size: 1.4rem;

}
.display3Dgallery{
    position: absolute;
    left: 59px;
    top:220px;
    width:300px;
}

.showMore3d i {
    margin-right: 2px;
}

.settingsWrap {
    position: relative;
    height: 40px;
    margin-right: 20px;
}

/*#advancedSettings {*/
/*    right: 112px;*/
/*}*/

body {
    min-height: 900px!important;
}

.button3dViewer:hover {
    background: #ffffff;
    color: #000;
}

.button3dViewer:focus, .button3dViewer:visited, .button3dViewer:active {
    background: #000;
    color: #ffffff;
}

.button3dViewerSm:hover {
    background: #000;
    color: #ffffff;
}

.buttonGrey:hover {
    background: #000;
    color: #ffffff;
}


a:visited, .alink:visited {
    color: initial;
}

.buttonsRow {
    display: block;
    margin-left: -5px;
}

.buttonsRowSm {
    display: block;
    margin-left: 17px;
}

.buttonsWrap {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 600px;
}

#canvasWrap {
    margin-left: -10%;
    margin-top: 0;
}

.button3dViewer a, .button3dViewer a:hover, .button3dViewerSm a {
    color: black!important;
}

.button3dViewerSm a:hover {
    color: white!important;
}

.imageGalleryWrap {
    margin: 20px 0 20px -25px;
    height: 200px;
}

.imageGalleryWrap2 {
    display: inline-block;
    margin-left: -13px;
}

#image_list img {
    width: auto;
    height: 140px;
    padding: 7px 10px;
}

.image-checkbox-container {
    position: relative;
    float: left;
    margin-left: 30px;
}

.image-checkbox-container a {
    position: relative;
    left: 20px;
}

.image-checkbox-container input[type="checkbox"]{
    position: absolute;
    top: 0;
    left: 0;
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 5px;
    border: 1px solid #000;
}

.image-checkbox-container input[type="checkbox"]::before {
    background: none;
    width: 0;
    height: 0;
}

input[type="checkbox"]:checked:before {
    content: '✕';
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    background: none;
    color: #000;
    position: absolute;
    top: -1%;
    left: 4px;
    font-weight: 600;
}

.image-checkbox-container input[type='checkbox']:checked {
    background: #e6e6e8;
    border: 1px solid #000;
}

#tooltip {
    position: absolute;
    left: 270px;
    top: 10px;
    color: #721c24;
    background-color: #f8d7da;
    padding: 5px 15px;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

canvas{
    overflow : scroll;
}

#radioButtonsWrap {
    font-size: 20px;
    font-weight: 400;
    font-family: 'dincond-mediumregular';
    text-transform: uppercase;
    color: #000;
    margin: 10px 0;
}

#radioButtonsWrap label {
    margin-right: 20px;
}

.brand-image-3d {
    position: absolute;
    left: 56px;
    top: 7px;
}

.brand-image-3d img {
    width: 100px;
}

.backBtnWrap {
    position: absolute;
    top: 50px;
    left: 56px;
}

#backButton:before,
#backButton:after,
#backCustomizeButton:before,
#backCustomizeButton:after
{
    display: none;
}

#backButton, #backCustomizeButton {
    padding: 0 10px;
}

#backButton i, #backCustomizeButton i {
    margin-right: 10px;
}

/*spinner style*/

html, body {
    overflow-x: hidden;
    margin: 0;
    width: 100%;
    height: 100%;
}
html{
    overflow: hidden;
}
#canvasWrap canvas{
    margin-left:-20%;
}
#loading-screen, #loading-screen1 {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 1;
    transition: 1s opacity;
}

#loading-screen.fade-out, #loading-screen1.fade-out {
    opacity: 0;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #005DAB;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #E51937;
    -webkit-animation: spin 3s linear infinite;
    animation: spin 3s linear infinite;
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #261D1E;
    -webkit-animation: spin 1.5s linear infinite;
    animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.page-wrapper {
    display: contents!important;
}

.page-main {
    margin-left: 15px!important;
}


.loader1 {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spinn 2s linear infinite;
}

@keyframes spinn {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hide-loader{
    display:none;
}

@-moz-document url-prefix() {
    #canvasWrap {
        margin-left: -10%;
    }
}


/*Gloves buttons*/

.storyboard_3d_view_gloves_colour {
    position: absolute;
    top: 100px;
    left: 58px;
}

/*Toggle texture buttons*/
.jerseyTextureWrap {
    position: absolute;
    top: 174px;
    left: 59px;
}

.pantsTextureWrap {
    position: absolute;
    top: 214px;
    left: 59px;
}

.socksTextureWrap {
    position: absolute;
    top: 254px;
    left: 59px;
}
