@media only screen and (max-width: 768px) {
    
    /*This determines the actual size to which the canvas appends*/
    .design-tool-wrapper .sock-designer-wrapper {
        height:300px;
    }
    
    .btn-mobile-full-width {
        width: 100%;
    }
    
    .design-tool-wrapper .text-direction-choise > .card {
        width:42px;
    }
    
    .design-tool-wrapper .text-direction-choise > .card .rotated-vertical-text {
        top: auto;
        left: 0;
        right: 0px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .design-tool-wrapper .text-direction-choise .card .card-body {
        padding: 0.75rem;
    }
    
    .design-tool-wrapper .text-direction-choise .letter-container {
        line-height:20px;
    }
    
    .design-tool-wrapper .form-floating.mb-4, .design-tool-wrapper .form-select-wrapper {
        margin-bottom: 0.5rem!important;
    }    
    
    .design-tool-wrapper {
        margin-top: calc(-90vh + 60px);
        padding-top:15px;
        padding-bottom:15px;
    }
    
    .mobile-custom-tool-position {
        padding-top:90vh !important;
        padding-bottom:0 !important;
    }
    
    .wrapper.angled {
        position:static;
    }
    
    .design-tool-wrapper .text-direction-wrapper {
        padding-top:30px;
        padding-bottom:30px;
    }
}

@media only screen and (min-width: 768px) {
    .desktop-custom-tool-position {
        margin-top: -175px;
        min-height: 750px;
    }
    
    #colorpicker-wrapper {
        width: 46px;
        height: calc(50px * 7);
    }
    
    #colorpicker-wrapper .color-item {
        width: 40px;
        height: 40px;
    }
}