.df_Marines { /*background-color:#eee;*/
    color: #333; /*padding: 10px 10px 10px 10px;*/
    font-family: "Helvetica", Helvetica, Arial, sans-serif;
}

.g-recaptcha {
    margin-top: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding-top : 50px;
    margin-bottom: 30px;
}

/* Override Jquery UI's datepicker begin*/
.ui-widget-content {
    background: #940000 !important;
    color: white !important;
}

.ui-datepicker {
    background: #940000 !important;
    color: #fff !important;
    margin-top: 4px;
    -webkit-box-shadow: -1px 6px 8px 6px rgba(0,0,0,0.29);
    -moz-box-shadow: -1px 6px 8px 6px rgba(0,0,0,0.29);
    box-shadow: -1px 6px 8px 6px rgba(0,0,0,0.29);
}
.ui-datepicker-header {
    border: #940000 1px solid !important;
    background: #940000 !important;
    color: #fff !important;
}

.ui-datepicker .ui-datepicker-prev, 
.ui-datepicker .ui-datepicker-next {
    top: 7px !important;
    text-align:center ;
    background-color: #940000;
    color: #fff;
}

.ui-state-hover .ui-icon,
.ui-state-focus .ui-icon,
.ui-widget-header .ui-icon {
    background-image: none !important;
}

.ui-datepicker-prev::after{
   content: "<";
}
 
.ui-datepicker-next::after{
   content: ">";
}

.ui-state-hover {
    background: #fff !important;
    color: #940000 !important;
    border: none;
}

.ui-datepicker .ui-datepicker-prev.ui-state-hover,
.ui-datepicker .ui-datepicker-next.ui-state-hover {
    border: none;
    background-color: #940000 !important;
    color: #fff !important;
}

.ui-datepicker-prev::after:hover,
.ui-datepicker-next::after:hover {
    background-color: #940000 !important;
    color: #fff !important;
}

table thead th {
    color: #fff !important;
    padding: 0 !important;
}

.ui-datepicker-calendar .ui-datepicker thead {
    color: #fff !important;
}

.ui-datepicker-calendar .ui-datepicker tbody td {
    border: none !important;
}

.ui-state-default, 
.ui-widget-content .ui-state-default{
    border: none !important;
    color: #940000 !important;
}


.ui-datepicker-calendar .ui-state-default {
    background: #940000 !important;
    color: #fff !important;
    cursor: pointer;
    padding: 0;
    border: none !important;
    text-align: center;    
    line-height: 1.5;
}
.ui-datepicker-calendar .ui-state-highlight,
.ui-datepicker-calendar .ui-state-hover,
.ui-datepicker-calendar .ui-state-active {
    background: #fff !important;
    color: #940000 !important;
    border-radius: 50%;
}

/* Override Jquery UI's datepicker ends */

.df_Marines .label {
    color: #960000;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    line-height: 27px;
    font-size: 18px;
    margin: 25px 0 8px 0;
    font-weight: 300;
    font-family: Helvetica, Helvetica, Arial, sans-serif;
}

.df_Marines .control,
.df_form .field {
    padding: 0
}

.df_form .field {
    float: none;
}

.df_Marines .control
.df_Marines .hint {
    font-size: 80%;
    color: #000;
    font-style: italic;
    background-color: #F5F5F5;
    padding: 5px;
}

.valtDate,
.valtTime {
    margin: 0 0 25px 0;
}

.df_form .submit a {
    background: #960000;
    color: #fff;
    padding: 5px 20px;
    margin: 20px 0 100px 0;
    text-transform: uppercase;
    letter-spacing: .23em;
    font-family: 'Colossalis';
    display: inline-block;
}

.df_Marines .subextra {
    font-size: 80%;
    color: #555;
}

.df_Marines .section {
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.2) 0 0 5px 0;
    margin-bottom: 10px;
}

.df_Marines .section .header {
    background-color: #ccc;
    padding: 5px 5px 5px 5px;
}

.df_Marines .section .header h1 {
    font-size: 150%;
    width: 100%;
    margin-bottom: 1px;
    color: #000
}

.df_Marines .section .header h2 {
    font-size: 90%;
    width: 100%;
    padding-bottom: 3px;
    color: #333
}

.df_Marines .section_design {
    border: 2px dotted #aaa;
}

.df_help {
    background-color: #000;
    border: 1px solid #fff;
    padding: 10px 15px;
    width: 200px;
    display: none;
    color: #fff;
    text-align: left;
    font-size: 12px; /* outline radius for mozilla/firefox only */
    -moz-box-shadow: 0 0 10px #000;
    -webkit-box-shadow: 0 0 10px #000;
}

.df_Marines .required {
    color: #960000;
    font-size: 26px;
    font-weight: bold;
    padding: 0;
}

.df_Marines .val {
    color: #f00;
}

.df_Marines .focus {
    background-color: #FFFFFF;
}

.df_Marines .field input,
.df_Marines .field textarea {
    border: 3px solid #d6d6d6;
    padding: 5px 5px 5px 12px;
    font-size: 16px;
    font-family: Helvetica, Helvetica, Arial, sans-serif;
    transition: border-color .15s ease-in-out;
    outline: none;
    line-height: 24px;
}

.df_Marines .field input[type="text"],
.df_Marines .field textarea,
.df_Marines .field input[type="password"] {
    width: 100%;
}

.df_Marines .focus input
.df_Marines .focus textarea {
    border-color: #960000;
}

.df_Marines .field input[type="checkbox"] {
    margin: 0px 5px 0px 0px;
    width: auto;
}

.df_Marines div[name="dropdown"] {
    position: relative;
    width: 75%;
}

.df_Marines div[name="dropdown"] .active {
    font-family: Helvetica, Helvetica, Arial, sans-serif;
    margin: 0;
    border: none;
    border-bottom: solid 2px #ccc;
    padding: 3px 0;
    color: #940000;
    font-size: 16px;
    font-weight: 300;
    background: url(../../Images/arrow.png) no-repeat right center;
}

div[id*="Form_digAddrPanelctrlDig"] {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}

.df_form .field[id*="_Form_ctrlDig"][id*="UnitDiv"] {
    max-width: 50%;
    padding: 0 15px 0 0;
    flex: 0 0 50%;
    margin: 0 0 25px 0;
}

.df_form .field[id*="_Form_ctrlDig"][id*="StreetDiv"] {
    max-width: 50%;
    padding: 0 0 0 15px;
    flex: 0 0 50%;
    margin: 0 0 25px 0;
}

.df_form .field[id*="_Form_ctrlDig"][id*="CityDiv"],
.df_form .field[id*="_Form_ctrlDig"][id*="RegionList"],
.df_form .field[id*="_Form_ctrlDig"][id*="PostalCode"] {
    max-width: 33.33333%;
    flex: 0 0 33.333333%;
}

.df_form .field[id*="_Form_ctrlDig"][id*="CityDiv"] {
    padding: 0 15px 0 0;
}
.df_form .field[id*="_Form_ctrlDig"][id*="RegionList"] {
    padding: 0 15px;
}

.df_form .field[id*="_Form_ctrlDig"][id*="RegionList"] div[name="dropdown"] {
    width: 100%;
}

.df_form .field[id*="_Form_ctrlDig"][id*="PostalCode"] {
    padding: 0 0 0 15px;
}

.df_Marines div[name="dropdown"] ul {
    max-height: 543px;
    background: #721c24;
    color: #fff;
    padding: 8px 0;
    font-size: 16px;
    font-family: Helvetica, Helvetica, Arial, sans-serif;
    width: 100%;
    border-radius: 5px;
    margin: 5px 0 0 0;
    position: absolute;
    overflow: auto;
    display: none;
    z-index: 1;
}

.df_Marines .field input::placeholder,
.df_Marines .field textarea::placeholder {
    color: #d6d6d6;
    font-size: 13px;
}

.df_Marines .field input:-ms-input-placeholder {
    color: #d6d6d6 !important;
    font-size: 16px;
}
.df_Marines .field textarea:-ms-input-placeholder {
    color: #d6d6d6 !important;
    font-size: 16px;
}

.df_form .control {
    overflow: visible;
}

.df_Marines div[name="dropdown"] ul li {
    padding: 5px 24px;
}

.df_Marines div[name="dropdown"] ul li:hover {
    background: #960000;
}

.df_Marines .field input.valtDate.hasDatepicker {
    width: calc(100% - 37px);
    margin: 0 5px 25px 0;
}

.df_Marines .field select:not([multiple='multiple']) {
    font-family: Helvetica, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    border: none;
    border-bottom: solid 2px #ccc;
    width: 50%;
    color: #940000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    line-height: 24px;
    position: absolute;
    height: 0;
    width: 0;
    overflow: hidden;
}

.df_Marines {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}



@media (min-width: 576px) {
    .df_Marines {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .df_Marines {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .df_Marines {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .df_Marines {
        max-width: 1140px;
    }
}


@media (max-width: 512px) {
    .df_form .field[id*="_Form_ctrlDig"][id*="CityDiv"],
    .df_form .field[id*="_Form_ctrlDig"][id*="RegionList"],
    .df_form .field[id*="_Form_ctrlDig"][id*="PostalCode"],
    .df_form .field[id*="_Form_ctrlDig"][id*="UnitDiv"],
    .df_form .field[id*="_Form_ctrlDig"][id*="StreetDiv"] {
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }
}