#ticketForm table {
    width: 100%;
}


.filedrop .dropzone {
    border: 2px dashed rgba(0, 0, 0, 0.2);
    padding: 8px;
    border-radius: 5px;
    color: #999;
}
.filedrop .dropzone a {
    color: rgba(24, 78, 129, 0.7);
}

.filedrop__span {
    display: none;
}
.filedrop .files:not(:empty) {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 5px 5px 0 0;
    padding: 5px;
}
.filedrop .files:not(:empty) + .dropzone {
    border-top: none;
    border-radius: 0 0 5px 5px;
}
.filedrop .files .file {
    display: block;
    padding: 5px 10px 5px 20px;
    margin: 0;
    border-radius: 5px;
    height:25px;
}

.rtl .filedrop .files .file {
    padding-left: 10px;
    padding-right: 20px;
}
.filedrop .files .file:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.filedrop .files .file .filesize {
    margin: 0 1em;
    color: #999;
}
.filedrop .files .file > span {
    padding:4px 0 0 0;
    display:block;
}
.filedrop .files .file .upload-rate {
    margin: 0 10px;
    color: #aaa;
}
.filedrop .files .file .trash {
    cursor: pointer;
}
.filedrop .progress {
    margin-top: 5px;
}
.filedrop .cancel {
    cursor: pointer;
}
.filedrop .preview {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 25px;
    display: inline-block;
    float: left;
    padding-right: 10px;
}
.rtl .filedrop .preview {
    padding-right: initial;
    padding-left: 10px;
    float: right;
}
.-redactor-container + .filedrop .dropzone,
.-redactor-container .filedrop .dropzone,
.-redactor-container .filedrop .files {
    border-top-width: 1px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.tooltip-preview,
.tooltip-preview img {
    max-width: 300px;
    max-height: 300px;
    z-index:11;
}

/* Bootstrap 3.2 progress-bar */
@-webkit-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}
@-o-keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}
@keyframes progress-bar-stripes {
    from {
        background-position: 40px 0;
    }
    to {
        background-position: 0 0;
    }
}
.progress {
    height: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}
.progress-bar {
    float: left;
    width: 0;
    height: 100%;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    background-color: #428bca;
    -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15);
}
.rtl .progress-bar {
    float: right;
}
.progress-bar:not(.active) {
    -webkit-transition: width .6s ease;
    -o-transition: width .6s ease;
    transition: width .6s ease;
}
.progress-striped .progress-bar,
.progress-bar-striped {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
}
.progress.active .progress-bar,
.progress-bar.active {
    -webkit-animation: progress-bar-stripes 2s linear infinite;
    -o-animation: progress-bar-stripes 2s linear infinite;
    animation: progress-bar-stripes 2s linear infinite;
}
.progress-bar[aria-valuenow="1"],
.progress-bar[aria-valuenow="2"] {
    min-width: 30px;
}
.progress-bar[aria-valuenow="0"] {
    min-width: 30px;
    color: #777;
    background-color: transparent;
    background-image: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.progress-bar-success {
    background-color: #5cb85c;
}
.progress-striped .progress-bar-success {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.progress-bar-info {
    background-color: #5bc0de;
}
.progress-striped .progress-bar-info {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.progress-bar-warning {
    background-color: #f0ad4e;
}
.progress-striped .progress-bar-warning {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}
.progress-bar-danger {
    background-color: #d9534f;
}
.progress-striped .progress-bar-danger {
    background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:      -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
    background-image:         linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent);
}


.filedrop .dropzone {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    border-radius: 8px;
    background-color: #fff;
    color: #999;
    position: relative;
    text-align: center;
}
/*
.filedrop .dropzone .manual {
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    -webkit-box-shadow: 0 7px 12px -10px rgba(0,0,0, .75);
    -moz-box-shadow: 0 7px 12px -10px rgba(0,0,0, .75);
    box-shadow: 0 7px 12px -10px rgba(0,0,0, .75);
    text-transform: capitalize;
    color: #999;
    -webkit-transition: .5s box-shadow;
    -o-transition: .5s box-shadow;
    -moz-transition: .5s box-shadow;
    transition: .5s box-shadow;
    display: block;
    margin-top: 10px;
}
.filedrop .dropzone .manual:hover {
    -webkit-box-shadow: 0 7px 20px -6px rgba(0,0,0, .75);
    -moz-box-shadow: 0 7px 20px -6px rgba(0,0,0, .75);
    box-shadow: 0 7px 20px -6px rgba(0,0,0, .75);
}
*/
.filedrop .dropzone #files {
    position: absolute;
    top:0; left: 0;
    z-index: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
    padding: 0 !important;
    margin: 0;
}
.filedrop .dropzone #files, ::-ms-browse, ::-webkit-file-upload-button {
    cursor: pointer;
}
.filedrop .dropzone .drop-text {
    text-align: center;
    position: relative;
    line-height: 1em;
}
.filedrop .dropzone .drop-text>div:first-child {
    font-size: 18px;
}
.filedrop .dropzone  #preview {
    width: 100%;
}

input[name="subject"] {}

#preview {
    text-align: left;
}
#preview .img-preview {
    display: flex;
    width: 176px;
    height: 176px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}
#preview .img-preview .img-del {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #F5F5F5;
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    font-size: 0;
    text-decoration: none;
    z-index: 10;
}
#preview .img-preview .img-del::before {
    content: '';
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url('data:image/svg+xml;charset=utf-8, %3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M15%205L5%2015M5%205L15%2015%22%20stroke%3D%22%23272727%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E') no-repeat center;
}

#preview img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.dropable {
    border: 2px dashed #999 !important;
    background-color: #ddd !important;
}

#msg_error {
    margin: 0;
    padding: 10px;
    line-height: 16px;
    margin-bottom: 10px;
    background: #fff0f0;
}
.error {
    color: #af3333;
    margin-top: 8px;
    display: inline-block;
}

@media all and (min-width: 457px) {
    label[for='subject'] {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        width: auto;
    }
    input#subject {
        margin: 0;
        -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
        -moz-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}
@media all and (min-width: 702px) {
    label[for='subject'] {
        width: 600px;
    }
}
@media all and (min-width: 961px) {
    label[for='subject'] {
        width: 606px;
    }
}

#logo {
    display: inline-block;
}
.note {
    margin-bottom: 24px;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 27px;
}
#ticketForm, #msg_error, .note {
    max-width: 648px;
}
#ticketForm .f-drop {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/*
#ticketForm > table td {
    position: relative;
}
*/
#ticketForm tr:not(.tr-message) label {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: auto !important;
}
#stype2 {margin-left:10px;}
#ticketForm tr:not(.tr-message) input, #ticketForm select {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -moz-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 34px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 12px;
    width: auto;
}
#ticketForm select {
    padding: 0 12px;
}

/*#ticketForm label>span {*/
/*    width: 100px;*/
/*}*/
#ticketForm .error{
    /*position: absolute;*/
    top: 3px;
    font-size: 12px;
    color: red;
    background-color: #fff;
    right: 15px;
    white-space: nowrap;
    margin: 0 !important;
}
#ticketForm .txtra {
    margin-top: 5px;
    box-sizing: border-box;
    max-width: none;
}
#ticketForm .tr-message .error {
    top: 26px;
}
#ticketForm .tr-email input {
    width: auto;
}

#preview {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

#ticketForm table {
    width: 100%;
    table-layout: fixed;
}

.f-drop .filedrop .dropzone a {
    font-weight: 400;
    color: #757575;
    text-decoration: underline;
}

.filedrop .dropzone {
    border-width: 1px;
}

.f-drop .swiper-button-next, .f-drop .swiper-button-prev {
    background: radial-gradient(70.6% 100% at 0% 50%, rgba(255, 255, 255, 0.00) 23.9%, #FFF 100%), linear-gradient(90deg, rgba(255, 255, 255, 0.00) 60%, #FFF 100%);
    top: 0;
    bottom: 0;
    width: 48px;
    height: auto;
    margin: 0;
}

.f-drop .swiper-button-next.swiper-button-disabled, .f-drop .swiper-button-prev.swiper-button-disabled {
    background: transparent;
    display: none;
}

.f-drop .swiper-button-next, .f-drop .swiper-container-rtl .swiper-button-prev {
    right: 0;
}

.f-drop .swiper-button-prev, .f-drop .swiper-container-rtl .swiper-button-next {
    left: 0;
    background: radial-gradient(70.6% 100% at 100% 50%, rgba(255, 255, 255, 0.00) 23.9%, #FFF 100%), linear-gradient(270deg, rgba(255, 255, 255, 0.00) 60%, #FFF 100%);
}

.f-drop .swiper-container-rtl .swiper-button-next {
    right: auto;
    left: 0;
}

.f-drop .swiper-container-rtl .swiper-button-prev {
    transform: rotate(180deg);
}

.swiper-slide img {
    border-radius: 8px;
}

.swiper-button-next::after, .swiper-button-prev::after {
    width: 40px;
    height: 40px;
    background: url('data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2240%22%20height%3D%2240%22%20viewBox%3D%220%200%2040%2040%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2239%22%20height%3D%2239%22%20rx%3D%2219.5%22%20fill%3D%22%23F5F5F5%22%2F%3E%0A%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2239%22%20height%3D%2239%22%20rx%3D%2219.5%22%20stroke%3D%22%23EBEBEB%22%2F%3E%0A%3Cpath%20d%3D%22M13%2020H27M27%2020L20%2013M27%2020L20%2027%22%20stroke%3D%22%23272727%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%0A%3C%2Fsvg%3E') no-repeat;
}

.swiper-button-prev::after {
    transform: translateY(-50%) rotate(-180deg);
}

@media all and (max-width: 767px) {
    #ticketForm, #msg_error, .note {
        max-width: none;
    }

    #ticketForm table,
    #ticketForm table tbody,
    #ticketForm table tr,
    #ticketForm table tr td {
        display: block;
    }
    .captchaRow {
        transform: scale(0.9);
        transform-origin: 0 0;
    }

    #ticketForm > table td {
        width: 100%;
    }

    #ticketForm input {
        max-width: none;
    }

    .filedrop {
        order: 1;
    }

    .filedrop .dropzone {
        padding: 16px;
        width: fit-content;
        height: auto;
        background-color: #5195DE;
        border-radius: 10px;
        border: none;
    }

    .filedrop__content {
        font-size: 0;
    }

    .filedrop__span {
        display: block;
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
        color: #FFF;
        text-transform: uppercase;
    }
}


@media all and (min-width: 501px) {
    #ticketForm tr:not(.tr-message) label {
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
    #ticketForm .tr-message>td {
        padding-top: 20px !important;
    }
    #ticketForm .tr-stype td {
        display: flex;
    }
}

@media all and (max-width: 500px) {
    #ticketForm tr:not(.tr-message) label {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    #ticketForm tr:not(.tr-message) input, #ticketForm select {
        margin-top: 5px;
    }
    #ticketForm .error, #ticketForm .tr-message .error {
        top: 27px;
    }
    #stype2 {margin-left:0;}

    #ticketForm select {
        width: 100%;
    }
}

@media screen and (max-width: 350px) {
    .g-recaptcha {
        transform:scale(0.9);
        transform-origin:0 0;
    }
}

@media screen and (min-width: 320px) {
    #ticketForm .captchaRow {
        display: table;
    }
}