:root {
    --orange: #D97425;
    --black: #151515;
    --blue: #040D1F;
    --white: #fff;
    --grey: #F5F5F5;
    --darkgrey: #e5e5e5;
    --rubik: Rubik, sans-serif;

}

html, body {
    overflow-x: hidden;
}

a {
    color: #1274ce;
}

input, textarea {-webkit-appearance: none;}


input[type="file"]{
    -webkit-appearance: none;
    text-align: left;
    -webkit-rtl-ordering:  left;
    /*display: none;*/
    max-width: 64%;
    height: 40px;
}
input[type="file"]::-webkit-file-upload-button{
    -webkit-appearance: none;
    float: right;
    margin: 0 0 0 10px;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    background-image: -webkit-gradient(linear, left bottom, left top, from(#d2d0d0), to(#f0f0f0));
    background-image: -moz-linear-gradient(90deg, #d2d0d0 0%, #f0f0f0 100%);
    display: none;
}

#app-login {
    background: url('/images/login-bg.jpg') 50% 50% no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-content: center;
    align-content: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
}

#app-login .logo {
    text-align: center;
    margin-top: 160px;
    margin-bottom: 140px;
}

#app-login .card {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

#app-login .card-header {
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 27px;
    line-height: 32px;
    text-transform: uppercase;
    color: var(--orange);
    background: none;
    border-bottom: none;
    padding-top: 20px;
}

#app-login label {
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: var(--black);
}

#app-login .btn-primary {
    background-color: var(--orange);
    border: 1px solid var(--orange);
    width: 100%;
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    text-transform: uppercase;
}

#app-login .form-control {
    line-height: 1.7;
}

#app .header {
    background: url('/images/header-bg.jpg') 50% 50% no-repeat;
    background-size: cover;
    min-height: 560px;
}

#app .header .logo {
    text-align: center;
    margin-top: 110px;
}

#app .header-top {
    text-align: right;
    padding: 30px;
}

#app .header-top a {
    width: 285px;
    height: 50px;
    border: 1px solid var(--white);
    font-family: var(--rubik);
    font-style: normal;
    font-weight: bold;
    font-size: 16px;
    line-height: 50px;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    color: var(--white);
    text-decoration: none;
}

#app .header-top a:hover,
#app .header-top a:focus {
    background-color: var(--white);
    color: var(--orange);
}

#app main {
    background-color: var(--darkgrey);
}

#app main > section > .container {
    background-color: var(--white);
    box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.11);
    padding: 45px 40px;
    /*margin-top: -140px;
    margin-bottom: 100px;*/
    position: relative;
    top: -140px;
    margin-bottom: -40px;
}

#app h1 {
    text-align: center;
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 27px;
    line-height: 32px;
    text-align: center;
    text-transform: uppercase;
    color: var(--orange);
}

#app h1 span {
    font-weight: 300;
}

#app h2 {
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
    text-transform: uppercase;
    color: var(--black);
    margin-top: 30px;
    margin-bottom: 25px;
}

#app h3 {
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: var(--orange);
}

#app label {
    font-family: var(--rubik);
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    color: var(--black);
}

#app .form-block {
    background: var(--grey);
    padding: 30px;
}

#app .form-block1 .row2 {
    margin-top: 40px;
}

#app .next {
    text-align: right;
}

#app .next .btn-primary {
    width: 187px;
    height: 40px;
    background-color: var(--orange);
    border: 1px solid var(--orange);
    font-family: Rubik;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
    margin-top: 30px;
    transition: all 0.25s ease-in;
    -webkit-transition: all 0.25s ease-in;
}

#app .next .btn-primary:hover,
#app .next .btn-primary:focus {
    background-color: var(--white);
    color: var(--orange);
}


#app .prev .btn-primary {
    width: 187px;
    height: 40px;
    background-color: var(--white);
    border: 1px solid var(--orange);
    font-family: Rubik;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    /*line-height: 19px;*/
    line-height: 29px;
    text-align: center;
    text-transform: uppercase;
    color: var(--orange);
    margin-top: 30px;
    transition: all 0.25s ease-in;
    -webkit-transition: all 0.25s ease-in;
}

#app .prev .btn-primary:hover,
#app .prev .btn-primary:focus {
    background-color: var(--orange);
    color: var(--white);
}

#app .footer {
    background: var(--blue);
    padding: 80px 20px;
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
}


#app .footer span {
    display: block;
}

#app .footer .img-span {
    position: relative;
    z-index: 0;
}

#app .footer .img-span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: inline-block;
    z-index: -1;
    border-radius: 50%;
}

#app .footer .blue-bg::before {
    background: #1274CE;
}

#app .footer .orange-bg::before {
    background: #D97425;
}

#app .footer .text-span {
    margin-top: 40px;
}

#app .footer > div {
    max-width: 612px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 0;
}

#app .footer > div::before {
    content: '';
    position: absolute;
    z-index: -1;
    max-width: 444px;
    width: 100%;
    height: 8px;
    background: var(--white);
    top: 10px;
}

#app .step2 label {
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: var(--orange);
}




#app .step2 label.custom-file-upload {
    width: 187px;
    height: 40px;
    display: inline-block;
    background: #626262;
    border-radius: 5px;
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 40px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
    transition: all 0.25s ease-in;
    -webkit-transition: all 0.25s ease-in;
    position: relative;
    top: -40px;
    float: right;
    margin-bottom: -40px;
    max-width: 32%;
}

#app .step2 label.custom-file-upload:hover,
#app .step2 label.custom-file-upload:focus {
    background: var(--orange);
}

#app .step3 input {
    height: 40px;
}

#app .step3 input + p {
    margin-top: 20px;
}

#app .step3 .btn-primary {
    width: 187px;
    height: 40px;
    display: inline-block;
    background: var(--orange);
    border: 1px solid var(--orange);
    border-radius: 5px;
    font-family: var(--rubik);
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    text-align: center;
    text-transform: uppercase;
    color: var(--white);
    transition: all 0.25s ease-in;
    -webkit-transition: all 0.25s ease-in;
    position: relative;
    /*margin-top: 40px;*/
    margin-top: 32px;
}

#app .step3 .btn-primary:hover,
#app .step3 .btn-primary:focus {
    background-color: #1274ce;
    border: 1px solid #1274ce;
}

#app .step3 .btn-primary img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

#app table tbody {
    border-top: none;
}

#app table tbody td {
    vertical-align: middle;
}

.trumbowyg-editor {
    background: var(--white);
}

canvas {
    background-size: contain;
}

.of {
    display: inline-block;
    top: 20px;
    position: relative;
    left: 45px;
    font-size: 0px;
}

.note-editing-area {
    min-height: 140px;
}

.logo img, .form-block img {
    max-width: 100%;
}


#imageDescription {
    margin-top: 20px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}

#imageDescriptionP {
    white-space: pre-wrap;
    overflow-wrap: break-word;
}


@media (max-width: 1024px) {

    #app-login .logo {
        margin-top: 0px;
        margin-bottom: 70px;
    }


    #app .header-top {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #app .step3 .btn-primary {width: 130px;}
}

@media (max-width: 767px) {

    #app .header .logo {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    #app .header-top a {
        width: 250px;
    }

    #app main > section > .container {
        padding: 45px 15px;
    }

    #app .form-block {
        padding: 15px;
    }

    #app .form-block h3 {
        margin-top: 20px;
    }

    #app .footer .img-span::before {
        width: 50px;
        height: 50px;
    }

    #app .footer .text-span {
        font-size: 12px;
    }


}


@media (max-width: 480px) {
    input[type="file"] {
        max-width: 100%;
        margin-bottom: 20px;
    }

    #app .step2 label.custom-file-upload {
        top: 0px;
        margin-bottom: 0px;
        max-width: 100%;
    }

    #app .prev .btn-primary, #app .next .btn-primary {
        width: 130px;
    }

}
