html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: none;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.container-fluid{
    margin: 0;
    padding: 0;
}

main{
    padding-top: 100px;
    position: relative;
}

@media (max-width: 576px) {
    main {
        padding-top: 140px;
    }
}
@media (max-width: 576px) {
    .thank-you {
        margin-top: -60px;
    }
}
h1{
    font-size: 32px;
}
.page-heading{
    text-align: center;
}
@media (max-width: 767px){
    .form-page .page-heading {
        text-align: left;
    }
}

.page-heading h1 {
    font-size: 28px;
}
.input-wrapper{
    display: flex;
}
.input-wrapper img{
   padding: 10px 0px;
   margin-top: 10px;
   margin-right: 10px;
   width: 65px !important;
   max-height: 82px;
}
label{
    padding:10px 0px;
    font-weight: 500;
    display: flex;
}
label p{
    margin-bottom: 0;
    color: red;
    padding-left: 2px;
}
.label-wrapper{
    width: 100%;
}
input, textarea {
    border: solid 2px #BDBDBD;
    border-radius: 4px;
}
textarea{
    height: 150px;
}
input{
    height: 35px;
    padding-left: 5px;
}
.language-preference-wrapper{
    align-items: center;
}
.radio-wrapper{
    display: flex;
    align-items: center;
}
input[type="radio"]:nth-of-type(2) {
    margin-left: 20px;
    margin-right: 5px;
}
input[type="radio"]:nth-of-type(1) {
    margin-left: 0px;
    margin-right: 5px;
}
input[type="radio"]{
    width: 15px;
}
.button-white {
    color: #12284C;
    background-color: #fff;
    border: #12284C solid 2px;
    border-radius: 4px;
    padding: 5px 15px;
    width: 128px;
    white-space: nowrap;
}
.button-blue {
    color: #fff;
    background-color: #12284C;
    border: #12284C solid 2px;
    border-radius: 4px;
    padding: 5px 15px;
    width: 128px;
    white-space: nowrap;
}
.button-blue:hover {
    color: #12284C;
    background-color: #fff;
    border: #12284C solid 2px;
    border-radius: 4px;
    padding: 5px 15px;
    width: 128px;
    white-space: nowrap;
}
.button-white:hover {
    color: #fff;
    background-color: #12284C;
    border: #12284C solid 2px;
    border-radius: 4px;
    padding: 5px 15px;
    width: 128px;
    white-space: nowrap;
}
/*FORM PAGE STYLING*/
.form-container {
    display: flex;
    flex-direction: column;
}
label[for="language-preference"]{
    padding-bottom: 0px;
    padding-top: 0px;
}
.details-label{
    padding: 0px;
    font-weight:300;

}
.image-label {
    padding: 0px;
    font-size: 20px;
}

.form-container .dealer-logo-wrapper {
    order: -1;
}

.form-container .dealer-color-primary-wrapper {
    order: -3;
    flex-direction: row-reverse !important;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.form-container .dealer-color-secondary-wrapper {
    order: -2;
    flex-direction: row-reverse !important;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}


input[type="color"] {
    border: 3px #fff;
    border-radius: 50px;
    background-color: transparent;
    width: 50px;
    height: 50px;
    box-shadow: rgba(0,0,0,0.2) 0 1px 1px 1px;
    display: flex;
    padding: 5px;
    justify-content: center;
    align-items: center;
}
    input[type="color"]::-webkit-color-swatch {
        border-radius: 50%;
        
    }
input[type="color"]::-moz-color-swatch {
    border-radius: 50px;
    
}
#dealer-logo{
    height: 10px;
    width: 10px;
    overflow: hidden;
    opacity: 0;
    order: -1;
}
.dealer-logo-wrapper {
    border: 2px dashed #187CCA;
    align-items: center;
    padding: 10px;
    width: 275px;
    height: 200px;
    justify-content: center;
    margin: 20px 0px;
    background-position: center;
    background-size: cover;
    position: relative;
}
.language-preference-wrapper{
    order: 1;
}
.tooltip-message{
    color: #fff;
}
@media (min-width: 768px) {
    .dealer-logo-wrapper {
        width: 325px;
        height: 235px;
    }
}
.dealer-logo-wrapper:hover {
    border: 2px solid #187CCA;
}
.logo-text-wrapper{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.field-wrapper {
    margin-top: 10px;
    margin-bottom: 10px;
}
.dealer-color-primary-wrapper label:first-of-type {
    padding-left: 10px;
}
.dealer-color-secondary-wrapper label:first-of-type {
    padding-left: 10px;
}
#dealer-color-secondary-error {
    display: block;
    flex-basis: 100%;
    color: red;
    padding: 5px
}
#dealer-color-primary-error {
    display: block;
    flex-basis: 100%;
    color: red;
    padding: 5px
}
.error {
    color: red;
    padding: 5px
}
.add-icon {
    height: 25px;
    width: 25px;
    background-image: url("..//img/plusIcon.png");
    background-size: cover;
    margin-bottom: 30px;
}
.close-icon, .close-icon-nurture {
    height: 25px;
    width: 25px;
    background-image: url("..//img/close-icon.png");
    background-size: cover;
    position: absolute;
    top: 2px;
    right: 2px;
}
.tooltip-icon {
    height: 15px;
    width: 15px;
    background-image: url("..//img/help-icon-with-tooltip.png");
    background-size: cover;
    margin-left: 10px;
    padding-left: 10px;
}

.tooltip-wrapper {
    box-shadow: rgba(10,0,0,0.5) 0 1px 1px 1px;
    padding: 10px;
    border-radius: 15px;
    overflow-y: auto;
    background-color: #fff;
    margin-left: 10px;
    display: none;
    position: absolute;
    left: 150px;
    background-color: rgba(18, 40, 76, .90);
    color: white;
}
label[for="dealer-color-primary"] .tooltip-wrapper, label[for="dealer-color-secondary"] .tooltip-wrapper{
    width: 150px;
    z-index: 9999;
}
label[for="on-road-codes"] .tooltip-wrapper, label[for="off-road-codes"] .tooltip-wrapper {
    left: 260px;
    max-width: 500px;
    max-height: 200px;
    z-index: 9999;
}
.tooltip-wrapper:hover{
    display: block !important;
}
@media only screen and (max-width: 767px) {
    label[for="dealer-color-secondary"] .tooltip-wrapper {
        left: 150px;
        width: 150px;
        z-index: 9999;
    }
    label[for="dealer-color-primary"] .tooltip-wrapper{
        left: 125px;
        width: 150px;
        z-index: 9999;
    }
    label[for="on-road-codes"] .tooltip-wrapper, label[for="off-road-codes"] .tooltip-wrapper {
        left: 225px;
        max-width: 200px;
        max-height: 120px;
        z-index: 9999;
    }
}
.tooltip-wrapper::-webkit-scrollbar {
    display: none;
}
.label-tooltip{
    position: relative;
    display: flex;
}
.dragover {
    border: 3px dashed rgba(0,0,250,0.3);
}
.dealer-name-label{
    font-size: 16px;
}
.dealer-name{
    font-size: 24px;
}
.dealer-info-wrapper{
    margin-bottom: 20px;
}
.save-button{
    margin-right: 10px;
}
.preview-button {
    margin-left: 10px;
}

nav .nav-text{
    margin-bottom: 0px !important;
}
nav .navbar-brand{
    max-width: 115px;
}
.nav-brand-wrapper {
    padding: 10px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-button-wrapper {
    padding: 10px;
    display: flex;
    transform: translate(-30rem);
}
@media(max-width: 1400px){
    .nav-button-wrapper {
        transform: translate(-21rem);
    }
}
@media(max-width: 1200px){
    .nav-button-wrapper {
        transform: translate(-18rem);
    }
}
@media(max-width: 992px){
    .nav-button-wrapper {
        transform: translate(0);
    }
}
nav button{
    margin: 0px 10px;
}
header {
    position: fixed;
    width: 100%;
    z-index: 1;
}

.preview-container {
    margin: 15px;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    max-height: 650px;
    margin-top: 30px;
    margin: auto;
    width: 100%;
    min-width: 650px;
}
.list-container {
    border-right: 1px solid rgba(0,0,0,0.1);
    padding: 15px;
}
.dropdown-wrapper{
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.dropdown-wrapper label{
    padding: 5px 0px;
}
.dropdown-wrapper select{
    border-radius: 2px;
    padding: 2px;
    border: 1px solid rgba(0,0,0,0.3);
}
.email-list-wrapper{
    display: flex;
    flex-direction: column;
}
.preview-wrapper {
    height: 100%;
    width: 100%;
}
.preview-wrapper::-webkit-scrollbar {
    display: none;
}
.email-item{
    text-align: left;
    padding: 5px 5px;
    border-radius: 2px;
    cursor: pointer;
}
.email-item:hover {
    background-color: #ECF5FB;
}
.active-item {
    background-color: #ECF5FB;
}
#preview-frame{
    height: 100%;
    width: 100%;
    min-height: 650px;
}
#preview-frame::-webkit-scrollbar {
    display: none !important;
}

.confirmation-modal,.modal-overlay{
    display: none;
}
.confirmation-modal{
    width: 100%;
    max-width: 600px;
    position: fixed;
    top: 50px;
    left: 0;
    margin-left: auto;
    background: #fff;
    padding: 30px;
    z-index: 3;
    right: 0;
    margin-right: auto;
    border-radius: 4px;
}
.modal-header{
    font-size: 30px;
    border: none;
    padding: 0px;
    padding-bottom: 20px;
}
.modal-button-wrapper{
    text-align: right;
    padding-top: 30px;
}
.modal-overlay{
    position: fixed;
    height: 100vh;
    width:100vw;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}
footer{
    display: none;
}

.message-container {
    display: flex;
    padding: 40px;
    margin-top: 20px;
    background-color: #F4F4F4;
    border-radius: 5px;
    align-items: flex-start;
}
@media (max-width: 767px){
    .message-container {
        display: flex;
        padding: 40px;
        margin-top: 20px;
        background-color: #F4F4F4;
        border-radius: 5px;
        align-items: center;
        flex-direction: column;
    }
    .message-text-wrapper {
        padding-left: 0px;
    }
    .message-container img {
        max-width: 175px;
        margin-right: 0px;
        margin-bottom: 20px;
    }
}
    .message-container img {
        max-width: 200px;
        margin-right: 15px;
    }
.message-text-wrapper{
    padding-left: 20px;
}
    .message-text-wrapper h1 {
        font-size: 28px;
        color: #13304F;
        font-weight: bold;
        
    }
.message-header-container {
    padding-bottom: 15px;
    border-bottom: #9F9F9F 1px solid;
}
.message-body-container{
    padding-top: 15px;
}
.message-body-container p {
    color: #4B4B4B;
    font-size: 24px;
}
.message-body-container a {
    color: #F15424;
}

.welcome{
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

.welcome-body-text {
    color: #212529;
}
.welcome-steps {
    color: #212529;
    margin-bottom: 10px;
}

.welcome-header{
    margin-bottom: 25px;
}
.start-button{
    margin-top: 15px;
}
.welcome-text-container{
    display: flex; 
    flex-direction: column;
}
.welcome-image{
    max-width: 350px;
    margin-right: 50px;
}
@media (max-width: 767px) {
    .welcome {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .welcome-image {
        max-width: 300px;
        margin-right: 0px;
    }

    .welcome-text-container {
        padding: 30px;
    }
}

/*Loading Overlay*/
.loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9;
    background-color: rgba(0,0,0,.5);
}

.loading-wheel {
    width: 20px;
    height: 20px;
    margin-top: -40px;
    margin-left: -40px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-width: 30px;
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite;
}

.style-2 .loading-wheel {
    border-style: double;
    border-color: #ccc transparent;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-360deg);
    }
}

.hide {
    display: none;
}
.w-50{
    width: 90% !important;
}
@media (min-width: 768px) {
    .w-50 {
      width: 50% !important;
    }
}

.all-settings {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.all-settings .settings-button-container {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}

.all-settings .settings-button-container .button-blue {
    width: 180px;
    margin-bottom: 15px;
}

.all-settings .settings-header-container {
    margin-bottom: 20px;
}

.table-container {
    margin: auto;
    position: relative;
}
.table-container table {
    position: relative;
    overflow-y: scroll;
}

.table-container tr:nth-child(even) {
    background-color: #f9f9f9;
}
.table-container td{
    padding:5px;
}
.add-formfield, .add-program {
    position: absolute;
    top: 100px;
    right: 15px;
    width: auto;
}
.add-formfield:hover, .add-program:hover {
    
    width: auto;
}
.formfield-form-container > div{
    display: flex;
    justify-content: space-evenly;
}
.formfield-input-wrapper{
    padding: 10px 0;
    padding-right: 10px;
}
.formfield-input-wrapper input{
    width: 100%;
}
.formfield-input-wrapper select {
    width: 100%;
    height: 35px;
    border: solid 2px #BDBDBD;
    border-radius: 4px;
}
.formfield-save-button{
    white-space: initial;
}
    .formfield-save-button:hover {
        white-space: initial;
    }
.form-field-form{
    width: 90%;
    margin: auto;
}
.all-settings{
    display: flex;
    flex-direction:column;
    align-items: center;

}

.program-form-container{
    display: flex;
    align-items: center;
    padding: 10px;
}
th {
    background-color: #e8e8e8;
    position: sticky;
    top: 0;
    padding: 5px;
}
.hidden{
    display: none !important;
}

#sort-program,#sort-provider,#sort-name,.formfield-edit,.program-edit{
    cursor: pointer;
}

.field-validation-error{
    color: red !important;
    padding-left: 5px;
}

.program-table table tbody a{
    max-width: 150px;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.nurture-email-wrapper{
    border: 2px dashed #187CCA;
  align-items: center;  
  width: 100%;
  justify-content: center;
  margin: 20px 0px;
    margin-top: 20px;
    margin-bottom: 20px;
  background-position: center;
  background-size: cover;
  position: relative;
}

#nurtureEmails-drop{
    display: block;
  margin: 0 auto;
  height: 35px;
  background-color: #fff;
  border: 2px solid rgb(189, 189, 189);
  border-radius: 4px;
}

.nurture-email-wrapper .large-label{
    padding: 5px 10px;
    border: 2px solid rgb(24, 124, 202);
    margin: 10px;
    color: rgb(24, 124, 202);
    cursor: pointer;
}

.modal-header {
    /*font-size: 30px;
    border: none;*/
    /*padding: 10px 10px 10px 10px;*/
    /*background-color: #ced4da;*/
    border-bottom: 1px solid #dee2e6;
    padding: 1.25rem;
}