/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Oct 11, 2018, 10:04:46 AM
    Author     : ِAlaa Alhajj
*/

.popup_form {
    position: absolute;
    width: 89%;
    height: 73.2%;
    top: 15%;
    margin: auto;
    left: 0;
    right: 0;
    z-index: 3;
    /*background: rgba(33, 31, 31, 1);*/
    background: rgb(11,12,18);
    padding: 0 1%;
    box-sizing: border-box;
    /*padding-bottom: 1%;*/
    display:none;
    /*  overflow-y: auto;*/
}
.popup_form_scroller {
    width: 100%;
    height: 100%;
}
/*
.popup_form:before{
    content: "";
    position: absolute;
    top: -3%;
    left: -2%;
    background: url(../images/top_form.png);
    width: 45px;
    height: 44px;
}
*/
.popup_form .popup_form_container{
    width:39%;
    height: 100%;
    /*  background: #fff;*/
    color:#000;
    padding: 0% 4%;
    box-sizing: border-box;
    margin: 0px auto;
    background: rgba(33, 31, 31, 1);
}
.popup_form .popup_form_container form{
    display: none
}
.popup_form .popup_form_container h1 {
    text-transform: uppercase;
    text-align: center;
    font-size: 120%;
    padding-top: 2%;
    padding-bottom: 2%;
    color: #fff;
    line-height: normal;
    margin: 0;
    font-weight: unset;
    font-family: 'InfinitiBrand-Light';
}
.popup_form form input[type="text"],
.popup_form form input[type="email"],
.popup_form form .form_field label{
    width:100%;
    display: block;
}
.popup_form form .form_field label{
    text-transform: capitalize;
    font-family: 'InfinitiBrand-Light';
    font-size: 70%;
    color:#fff;
    margin-bottom: 1%;
}
.popup_form form input[type="text"],
.popup_form form input[type="email"],
.popup_form form select,
.popup_form form textarea{
    outline: 0;
    text-indent: 10px;
    background: transparent;
    border: 0px;
    color: #fff;
    border-bottom: 1px solid rgba(128,128,128,.1);
    width:100%;
    font-family: 'InfinitiBrand-Light';
    font-size: 70%;
}
.popup_form form textarea{
    border: 1px solid rgba(128,128,128,.1);
    /*    height: 6em;*/
    margin-top: 2%;
    background: #2B2829;
    padding: 10px;
    text-indent: 0;
}
.popup_form form select{
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background: url(../images/arrow_select.jpg);
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    padding: 0px 10px;
    text-indent: 0;
    font-size: 76%;
}
.popup_form form select option,
.popup_form form select option:checked{
    background: rgba(33, 31, 31, 1) !important
}

.checkbox_field input[type="checkbox"]{
    opacity: 0;
    position: relative;
    vertical-align: super;
    width: 1vw;
    height: 1vw;
    z-index: 2;
    cursor: pointer;
}
.popup_form .form_field {
    margin-bottom: 2%;
    margin-top: 2%;
}
.popup_form .form_field:last-child{
    text-align: center;
}
.checkbox_field label {
    font-size: 86%;
    display: inline-block;
    vertical-align: middle;
}
.popup_form  .term_text {
    color: #fff;
    font-size: 63%;
    text-align: justify;
    font-family: 'InfinitiBrand-Light';
    line-height: 19px;
}
.popup_form  .term_text a{
    color:#000;
    text-decoration: underline;
    font-weight: 600;
}
.popup_form input[type="submit"] {
    margin: auto;
    margin-top: 2%;
    display: inline-block;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    color: rgb(34,31,31);
    border: 2px solid #fff;
    background: #fff;
    width: 100%;
    margin-bottom: 2%;
    text-align: center;
    float: none;
    display: block;
    padding: 1.5% 6%;
    cursor: pointer;
    text-transform: uppercase;
    outline: 0;
    font-family: 'InfinitiBrand-Light';
}
.custom-checkbox {
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    margin-right: 1%;

}
.custom-checkbox label {
    cursor: pointer;
    position: absolute;
    width: 1vw;
    height: 1vw;
    top: 0;
    left: 0;
    background: transparent;
    border:1px solid #000;
    z-index: 1;
}
.custom-checkbox label:after {
    opacity: 0;
    content: '';
    position: absolute;
    width: 9px;
    height: 5px;
    background: transparent;
    top: 4px;
    left: 4px;
    border: 3px solid #333;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    color: #000;
}
.custom-checkbox input[type=checkbox]:checked + label:after {
    opacity: 1;
}
#success_message{
    display: none;
    color: #fff; 
    border-color: #d6e9c6;
    padding: 1%;
    width: 100%;
    text-align: center;
    clear: both;
    float: left;
    margin-top: 4%;
}
.popup_form .cancel {
    display: block !important;
    right: 3%;
    top: -2%;
}
.popup .main-container .main-container-img{
    height: 100%;
}
.popup .main-container img.main-container-img{
    height: 100%;
    width: auto;
}

.nearest-infiniti,.test-drive-title {
    width: 18%;
    height: 88px;

    text-align: center;
    border: 1px solid #ccc;
    color: #ccc;
    font-family: 'InfinitiBrand-Light';
    font-size: 58%;
    float: left;
    margin-right: 2%;
    cursor: pointer;
    /*padding-bottom: 2%;
    padding-top: 32px;
    */
    margin-bottom: 2%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.nearest-infiniti.active,
.test-drive-title.active
{
    font-weight: bolder;
    font-family: 'InfinitiBrand-Bold';
    font-size: 63%;
}
.nearest-infiniti:last-child,
.test-drive-title:last-child
{
    margin-right: 0%;
}



.control {
    display: block;
    position: relative;
    cursor: pointer;
    font-size: 18px;
}
.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}
.control__indicator {
    position: relative;
    height: 80px;
    width: 80px;
    background: transparent;
    border: 1px solid #fff;
}
.control--radio .control__indicator {
    border-radius: 50%;
}
.control:hover input ~ .control__indicator,
.control input:focus ~ .control__indicator {
    background: transparent;
    border: 1px solid #fff;
}
.control input:checked ~ .control__indicator {
    background: transparent;
    border: 1px solid #fff;
}
.control:hover input:not([disabled]):checked ~ .control__indicator,
.control input:checked:focus ~ .control__indicator {
    background: transparent;
}
.control input:disabled ~ .control__indicator {
    background: transparent;
    border: 1px solid #fff;
    opacity: 0.6;
    pointer-events: none;
}
.control__indicator:after {
    content: '';
    position: absolute;
    display: none;
}
.control input:checked ~ .control__indicator:after {
    display: block;
}
.control--checkbox .control__indicator:after {
    left: 34px;
    top: 11px;
    width: 15px;
    height: 50px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.control--checkbox input:disabled ~ .control__indicator:after {
    border-color: transparent;
}
.control--radio .control__indicator:after {
    left: 7px;
    top: 7px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #fff;
}
.control--radio input:disabled ~ .control__indicator:after {
    background: #7b7b7b;
}
.select {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    width: 100%;
}
.select select {
    display: inline-block;
    width: 100%;
    cursor: pointer;
    padding: 10px 15px;
    outline: 0;
    border: 0;
    border-radius: 0;
    background: #e6e6e6;
    color: #7b7b7b;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.select select::-ms-expand {
    display: none;
}
.select select:hover,
.select select:focus {
    color: #000;
    background: #ccc;
}
.select select:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.select__arrow {
    position: absolute;
    top: 16px;
    right: 15px;
    width: 0;
    height: 0;
    pointer-events: none;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #7b7b7b transparent transparent transparent;
}
.select select:hover ~ .select__arrow,
.select select:focus ~ .select__arrow {
    border-top-color: #000;
}
.select select:disabled ~ .select__arrow {
    border-top-color: #ccc;
}

.my-custom-class-for-label {
    color: #fff;
    font-size: 14px;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    top: -7px;
}

.ui-selectmenu-button.ui-button{
    width: 99%;
    background: transparent !important;
    outline: 0;
    border-color: #fff !important;
}
.ui-selectmenu-text{
    color: #fff !important;
    font-size: 70%;
}
.ui-menu .ui-menu-item-wrapper{
    font-size: 70%;
}
.ui-state-active{
    border: 1px solid #000 !important;
    background: #211f1f !important;
    font-weight: normal;
    color: #ffffff;
}