html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1.4em;
    font-size: 12px;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
body {
    height: 100%;
    background-color: #0d4058;
    position: relative;
    color: #ededed !important;
    font-weight: 400 !important;
    font-family: 'Roboto', sans-serif !important;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}


/*=====****MAIN LAYOUT STYLES****=====**/

section.main-reg-wrap {
    height: 100%;
    background-image: url('../Images/back.jpg');
    width: 100%;
    position: absolute;
    overflow-y: scroll;
    overflow-x: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.form-tb {
    display: table;
    table-layout: fixed;
    width: 100%;
    height: 100%;
    margin-top: 50px;
}

.tb-row {
    display: table-row;
}

.form-cell {
    display: table-cell;
    vertical-align: top;
}


/******************
****************** FORM HEADER STYLES ******************
******************/

.loggedInUser{
    font-family: 'Roboto', sans-serif !important;
    text-decoration: underline;
    font-size: 15px;
    float: right;
    margin-right: 4%;
    margin-top: 2%;
}

.header {
    text-align: center;
    display: block;
    margin-bottom: 15px;
}

.header .img {
    width: 68px;
    height:68px;
    display: inline-block;
}

.header .img img {
    width: 100%;
    min-height: 100%;
}

.form.title {
    font-size: 2.4rem;
    color: #ededed;
    padding: 15px 0px;
    display: block;
    line-height: 1;
}


/******************
****************** FORM FRAME STYLES ******************
******************/

.f-frame {
    position: relative;
    width: 530px;
    height: 480px;
    margin: 0 auto;
      -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.f-frame form {
    position: absolute;
    width: 530px;
    display: block;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

form.client-form {
    opacity: 1;
}

form.account-form {
    top: 0;
    opacity: 0;
    visibility: hidden;
}


/******************
****************** FORM ANIMATION RULES ******************
******************/

.move-down {
    -webkit-animation: moveDown 0.5s ease forwards;
    animation: moveDown 0.5s ease forwards;
}

.move-up {
    -webkit-animation: moveUp 0.5s ease forwards;
    animation: moveUp 0.5s ease forwards;
}

.move-left {
    -webkit-animation: moveLeft 0.5s ease forwards;
    animation: moveLeft 0.5s ease forwards;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.move-right {
    -webkit-animation: moveRight 0.5s ease forwards;
    animation: moveRight 0.5s ease forwards;
}

@-webkit-keyframes moveDown {
    from {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
    to {
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes moveDown {
    from {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
    to {
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px);
        opacity: 0;
    }
}

@-webkit-keyframes moveUp {
    from {
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px);
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes moveUp {
    from {
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px);
        opacity: 0;
    }
    to {
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
        opacity: 1;
    }
}

@-webkit-keyframes moveLeft {
    from {
        -webkit-transform: translateX(120px);
        transform: translateX(120px);
        opacity: 0;
        visibility: hidden;
    }
    to {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

@keyframes moveLeft {
    from {
        -webkit-transform: translateX(120px);
        transform: translateX(120px);
        opacity: 0;
        visibility: hidden;
    }
    to {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
}

@-webkit-keyframes moveRight {
    from {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
    to {
        -webkit-transform: translateX(120px);
        transform: translateX(120px);
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes moveRight {
    from {
        -webkit-transform: translateX(0px);
        transform: translateX(0px);
        opacity: 1;
        visibility: visible;
    }
    to {
        -webkit-transform: translateX(120px);
        transform: translateX(120px);
        opacity: 0;
        visibility: hidden;
    }
}


/*=====****FORM ERROR MESSAGES STYLES****=====**/

.form-group {
    position: relative;
}

span.error-wrap {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 100%;
    right: 0;
}

.form-group.show-error-msg input {
    border-color: #fd583d !important;
}

.form-group.show-error-msg .label-title {
    color: #fd583d !important;
}

.error-wrap label {
    padding-left: 25px;
    margin-bottom: 0px !important;
    color: #fd583d;
    font-weight: 400 !important;
}


/*=====****COUNTRY SELECT BOX STYLES****=====**/
select::-moz-focus-inner, option::-moz-focus-inner {
  border: 0;
  outline: 0;
}
select, option{
  color: #000;
  color: rgba(0,0,0,0);
  text-shadow: 0 0 0 #fff;
}    
select::-moz-focusring, option::-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #fff;
}

.select-box {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 2.8em;
    margin-bottom: 30px;
    border-radius: 5px;
    color: #fff;
}

select {
    background-color: transparent;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    outline: none;
    width: 100%;
    padding: 8px;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    font-size: 14px;
    font-weight: 400;

}

select::-ms-expand {
    display: none;
}

.select-box:after {
    content: "\f078";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0.8em;
    pointer-events: none;
    font-family: 'FontAwesome';
    border-left: 1px solid rgba(255, 255, 255, 0.5);
}

@-moz-document url-prefix() {
    .select-box:after {
        height: 39px;
    }
}

select:focus {
    border: 1px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.05);
}

select option {
    font-size: 14px;
    border: 0px;
    color: #fff;
    background: transparent;
    font-weight: 400;
}

@supports (-webkit-appearance: none) {
    select option {
        background: #0d4058;
    }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ CSS styles go here */
    select option {
        font-size: 14px;
        border: 0px;
        color: #fff;
        background: #0797d4;
        font-weight: 400;
    }
}
/******************
****************** CLIENT ACCOUNT FORM STYLES ******************
******************/


/*=====****RADIO BTN STYLES****=====**/

.radio-wrap {
    position: relative;
    float: left;
    width: 46%;
    text-align: center;
    margin-right: 15px;
    margin-bottom: 20px;
}

.radio-wrap input[type=radio] {
    display: none;
}

.radio-txt {
    position: absolute;
    left: 0;
    right: 0;
    padding-top: 10%;
    bottom: 0;
    height: 100%;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    background-color: transparent;
}

label.radio-label {
    display: inline-block;
    width: 100%;
    height: 82px;
    margin-bottom: 0px !important;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.radio-wrap input[type=radio]:checked + .radio-label + .radio-txt {
    border: 1px solid #0797d4;
    background-color: rgba(7, 151, 212, 0.3);
}

.radio-wrap + span span.fa-info-circle {
    padding-right: 8px;
}

.star {
    position: absolute;
    margin: 0 auto;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-radius: 0px 5px 0px 0px;
    border-width: 0px 15px 16px 0;
    border-color: transparent #0797d4 transparent transparent;
    z-index: 3;
    display:none;
}

.star .fa-star {
    font-size: 8px !important;
    display: block !important;
    padding: 4px;
}

@-moz-document url-prefix() {
    .star {
        border-radius: 0px 0px 0px 0px;
        border-width: 0px 20px 20px 0;
    }
    .star .fa-star {
        padding: 5px 10px;
    }
}

.form-group span {
    color: #0797d4;
    cursor: pointer;
}


/*=====****USER EMAILS STYLES****=====**/

.input-wrap {
    width: 50%;
    float: left;
    padding: 0 15px;
    height: 64px;
}

.align-fix{
    margin-right: 15px;
    padding: 0px;
    width: 46%;
}

.back-btn {
    float: left;
    background-color: transparent !important;
}

.back-btn:before {
    content: "\f177" !important;
    right: 70%;
    left: 0 !important;
 
}

.back-btn:hover:before {
    right: 76%;
    opacity: 1;
    left: 0 !important;
}
#subProcessBtn{
    width: 34%;
    margin-right: 30px;
}
#subProcessBtn:hover{
    width: 38%;
}
.mre-mrgn {
    margin-bottom: 25px !important;
}

.error-wrap2 label {
    padding: 8px 0px;
    margin-bottom: 0px;
    color: #fd583d;
    font-weight: 400 !important;
}

.input-wrap.show-error-msg input {
    border-color: #fd583d !important;
}

.additional-input {
    display: none;
}

label {
    display: block;
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 13px;
    font-weight: 500 !important;
}

input {
    width: 100%;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    outline: none;
    padding: 8px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


/*placeholder text*/

::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

:-moz-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

::-moz-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:focus {
    border: 1px solid rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.05);
}

input:hover:enabled {
    border: 1px solid rgba(255, 255, 255, 0.7);
}

input:disabled {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


:invalid {
    box-shadow: none;
}

:-moz-submit-invalid {
    box-shadow: none;
}

:-moz-ui-invalid {
    box-shadow: none;
}

button {
    background-color: #0797d4;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    color: #fff;
    border-radius: 5px;
    padding: 8px 30px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    float: right;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

button:hover {
    background-color: #097fb3;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.nxt-btn:before {
    position: absolute;
    content: "\f178";
    color: #fff;
    left: 55%;
    opacity: 0;
    top: 0;
    line-height: 2.4;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-family: 'FontAwesome';
}

.nxt-btn:hover:before {
    left: 60%;
    opacity: 1;
}
#nextBtn{
    width: 30%;
}
#nextBtn:hover{
        width: 32%;
    padding-right: 48px;
}
/******************
****************** PROCESSING SECTION STYLES ******************
******************/
.processing-msg {
    text-align: center;
    display: none;
    margin-bottom: 15px;
    position: relative;
    top: -15px;
    opacity: 0;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}
    .processing-msg.slideDwon {
        top: -15px;
        opacity: 1;
    }


    .processing-msg.slideUp {
        top: 0px;
        opacity: 0;
    }

.loading-msg{
        margin-bottom: 45px;
    width: 64%;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 500;
    line-height: 18px;
}



.latop-wrap {
    width: 380px;
    margin: 0 auto;
    position: relative;
}
.latop-wrap img {
    width: 100%;
    height: 100%;
}
.loader {
  color: #ffffff;
  font-size: 5px;
  margin: 30px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  display:none;
}

/*=====****SUBSCRIPTION SUCESS MESSAGE STYLES & BTN****=====**/
.success-msg {
    text-align: left;
    width: 55%;
    margin: 0 auto;
    border: 1px solid rgba(104, 198, 75, 0.9);
    background-color: rgba(104, 198, 75, 0.35);
    border-radius: 5px;
    margin-bottom: 15px;
    padding: 10px 15px;
}

.nxt-btn.finish-btn{
    float: none !important;
    width: 20%;

}
.nxt-btn.finish-btn:hover{
    width: 24%;
}
.nxt-btn.finish-btn:before{
    left: 62% !important;
}
.nxt-btn.finish-btn:hover:before{
    left: 67% !important;
}

/*=====****VIDEO OVERLAY STYLES****=====**/
.video-play-button {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  box-sizing: content-box;
  display: block;
  width: 22px;
  height: 44px;
  /* background: #fa183d; */
  border-radius: 5%;
  padding: 38px 20px 18px 28px;
}

.video-play-button:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 70px;
  height: 42px;
  background: #ba1f24;
  border-radius: 5%;
  -webkit-animation: pulse-border 1500ms ease-out infinite;
  animation: pulse-border 1500ms ease-out infinite;
}

.video-play-button:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 70px;
  height: 42px;
  background: #fa183d;
  border-radius: 5%;
  -webkit-transition: all 200ms;
  transition: all 200ms;
}

.video-play-button:hover:after {
  background-color: darken(#fa183d, 10%);
}

.video-play-button img {
  position: relative;
  z-index: 3;
  max-width: 100%;
  width: auto;
  height: auto;
}

.video-play-button span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  border-left: 18px solid #fff;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

@-webkit-keyframes pulse-border {
  0% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

@keyframes pulse-border {
  0% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
    opacity: 0;
  }
}

.video-overlay {
  position: fixed;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.80);
  opacity: 0;
  -webkit-transition: all ease 500ms;
  transition: all ease 500ms;
}

.video-overlay.open {
  position: fixed;
  z-index: 1000;
  opacity: 1;
}

.video-overlay-close {
  position: absolute;
  z-index: 1000;
  top: 15px;
  right: 20px;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: all 200ms;
  transition: all 200ms;
}

.video-overlay-close:hover {
  color: #0797d4;
}

.video-overlay iframe {
  position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 50%;
    overflow: auto;
    margin: auto;
    height: 50%;
  box-shadow: 0 0 15px rgba(0,0,0,0.75);
}

@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}











/******************
****************** MEDIA QUERIES ******************
******************/

/* ----------- iPad 3 and 4 ----------- */
/* Portrait and Landscape */
@media only screen 
  and (max-device-width: 769px) 
  and (-webkit-min-device-pixel-ratio: 2) {
      section.main-reg-wrap{
          overflow-y: auto!important;
          height: auto;
      }
      .success-msg, .internal-form .f-frame, .btn-placeholder{
         width: 100% !important;
      }
      .btn-placeholder #nextBtn{
              width: 28% !important;
      }
      .btn-placeholder #nextBtn:hover{
              width: 30% !important;
      }
      
}
@media screen and (max-width: 769px){
        section.main-reg-wrap{
          overflow-y: auto!important;
          height: auto;
      }
    .success-msg, .internal-form .f-frame, .btn-placeholder{
        width: 100% !important;
      }
      .btn-placeholder #nextBtn{
              width: 28% !important;
      }
      .btn-placeholder #nextBtn:hover{
              width: 30% !important;
      }
}

/* ----------- iPhone 4 and 4S ----------- */
/* Portrait and Landscape */

@media only screen and (max-device-width: 480px) and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    section.main-reg-wrap {
        height: 100%;
    }
    .form-tb,
    .form-cell,
    .tb-row {
        display: block;
    }
    .f-frame {
        width: 100%;
        overflow: hidden;
        height: 100vh;
    }
    .f-frame form, .loading-msg, .success-msg, .latop-wrap, .video-overlay iframe {
        width: 100%;
    }
    #nextBtn {
        margin: 0 auto;
        float: none;
        display: block;
        width: 60%;
        padding: 15px;
        font-size: 18px;
    }
    #nextBtn:hover{
        width: 65% !important;
    }
    span.error-wrap {
        position: relative;
        top: 0;
        left: 0;
        display: block;
        right: 0;
    }
    .error-wrap label {
         padding-left: 10px;
        padding-top: 10px;

    }
    
    .radio-wrap{
        width: 100%;
        margin-right: 0px !important;
    }
    .input-wrap{
         width: 100%;
    }
    .radio-txt{
        padding-top: 6%;
    }
    .btn-placeholder{
       padding: 15px 0px !important; 
    }
    .btn-placeholder #nextBtn {
        width: 60% !important;
    }
    .btn-placeholder #nextBtn:hover {
        width: 64% !important;
    }
    .btn-placeholder #nextBtn:before{
        left: 70% !important;
    }
    .nxt-btn:before{
        line-height: 2.8;
    }
    .internalform{
        position: relative !important;
    }
    .internal-form .f-frame{
        height: auto !important;
    }
    .internalform .form-group{
        width: 100% !important;
    }
    .reset-btn{
        margin: 25px 0px;
        display: block;
        font-size: 16px;
    }
    .internal-f-group.form-group ul li{
        width: 100% !important;
    }
    .internalform .form-group{
        height: auto !important;
    }
    #subProcessBtn{
        width: 64% !important;
    }
    .nxt-btn.finish-btn:hover{
        width: 65% !important;
        padding-right: 44px;
    }
    .nxt-btn.finish-btn {
        width: 50% !important;
    }
    .nxt-btn.finish-btn:before{
        line-height: 2.4 !important;
    }
    .nxt-btn.finish-btn:hover:before {
        left: 65% !important;
    }
    .back-btn:before{
        line-height: 2.4 !important;
    }
    
}

@media screen and (max-width: 480px) {
    section.main-reg-wrap {
        height: 100%;
    }
    .form-tb,
    .form-cell,
    .tb-row {
        display: block;
    }
    .f-frame {
        width: 100%;
        overflow: hidden;
        height: 100vh;
    }
    .f-frame form, .loading-msg, .success-msg, .latop-wrap, .video-overlay iframe {
        width: 100%;
    }
    #nextBtn {
        margin: 0 auto;
        float: none;
        display: block;
        width: 60%;
        padding: 15px;
        font-size: 18px;
    }
    #nextBtn:hover{
        width: 65% !important;
    }
    span.error-wrap {
        position: relative;
        top: 0;
        left: 0;
        display: block;
        right: 0;
    }
    .error-wrap label {
         padding-left: 10px;
        padding-top: 10px;

    }
    
    .radio-wrap{
        width: 100%;
        margin-right: 0px !important;
    }
    .input-wrap{
         width: 100%;
    }
    .radio-txt{
        padding-top: 6%;
    }
    .btn-placeholder{
       padding: 15px 0px !important; 
    }
    .btn-placeholder #nextBtn {
        width: 60% !important;
    }
    .btn-placeholder #nextBtn:hover {
        width: 64% !important;
    }
    .btn-placeholder #nextBtn:before{
        left: 70% !important;
    }
    .nxt-btn:before{
        line-height: 2.8;
    }
    .internalform{
        position: relative !important;
    }
    .internal-form .f-frame{
        height: auto !important;
    }
    .internalform .form-group{
        width: 100% !important;
    }
    .reset-btn{
        margin: 25px 0px;
        display: block;
        font-size: 16px;
    }
    .internal-f-group.form-group ul li{
        width: 100% !important;
    }
    .internalform .form-group{
        height: auto !important;
    }
    #subProcessBtn{
        width: 64% !important;
    }
    .nxt-btn.finish-btn:hover{
        width: 65% !important;
        padding-right: 44px;
    }
    .nxt-btn.finish-btn {
        width: 50% !important;
    }
    .nxt-btn.finish-btn:before{
        line-height: 2.4 !important;
    }
    .nxt-btn.finish-btn:hover:before {
        left: 65% !important;
    }
    .back-btn:before{
        line-height: 2.4 !important;
    }
}



/******************
****************** INTERNAL FORM SECTION STYLES ******************
******************/

.internal-form .success-msg {
    text-align: center !important;
    font-size: 14px;
    width: 630px;
}


.internal-form .f-frame{
    width: 630px;
    height: 430px;
}

.internal-form .f-frame form{
    width: 100%;
}

.internalform .form-group{
    float: left;
    width: 50%;
    padding: 0px 15px;
        height: 80px;
}

.internal-f-group .error-wrap{
    position: relative !important;
    width: 100% !important;
    display: inline-block;
    top: 0 !important;
    left: 0 !important;
    right: 0;
    
}

.internal-f-group .error-wrap label{
    padding-left: 10px !important;
    padding-top: 5px;
}

.form-border {
    /* display: block; */
    width: 95%;
    height: 1px;
    background-color: #fff;
    margin: 0 auto;
    clear: both;
    margin-bottom: 25px;
    opacity: 0.3;
}


/*=====****RADIO BUTTON STYLES FOR ACCOUNT SELECTION****=====**/
.internal-f-group.form-group ul{
    list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.internal-f-group.form-group ul li{
    display: inline-block;
    width: 45%;
    position: relative;
}
/*
.internal-f-group.form-group ul li:hover label {
    opacity: 0.3;
    color: #0797d4 !important;

}
*/
.inline-label{
    display: inline-block !important;
}
.inline-label + span .fa{
    color: #fff !important;
    padding-left: 5px;
}

ul li input[type=radio] {
    position: absolute;
    visibility: hidden;
}

ul li label {
    display: block;
    position: relative;
    padding-left: 20px;
    margin: 10px auto;
    height: 16px;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
}


ul li .check {
    display: block;
    position: absolute;
    border: 2px solid #AAAAAA;
    border-radius: 100%;
    height: 12px;
    width: 12px;
    top: 12px;
    left: 0px;
    z-index: 5;
    -webkit-transition: border 0.3s ease;
    transition: border 0.3s ease;
}


ul li .check:before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 6px;
    width: 6px;
    top: 1px;
    left: 1px;
    margin: auto;
    transition: background 0.3s ease;
    -webkit-transition: background 0.3s ease;

}

ul li  input[type=radio]:checked ~ .check:before {
    background: #fff;
}

.tooltip-inner  {
   text-align: left !important;
}


.btn-placeholder {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    clear: both;
    padding: 30px 0px;
}

.btn-placeholder #nextBtn{
    float: none !important;
    width: 26%;
}
.btn-placeholder #nextBtn:hover{
    width: 29%;
    padding-right: 44px;
}
.btn-placeholder #nextBtn:hover:before{
        left: 74%;
}

.reset-btn{
    margin-left: 20px;
    color:  #0797d4;
    cursor: pointer;
    font-weight: 300;
    font-size: 14px;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.reset-btn:hover, .btn-placeholder.logout span:hover{
    opacity: 0.3;
}


.btn-placeholder.logout{
    font-size: 14px;
/*    padding: 35px 0px;*/
    border-top: 1px solid rgba(255,255,255,0.3);
}
.btn-placeholder.logout span {
    cursor: pointer;
        -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.btn-placeholder.logout span .fa{
        padding: 0px 8px;
}

.redBox{
    background-color: rgba(253,88,61,0.3);
    width: 30%;
    min-width: 250px;
    text-align: center;
    padding: 10px;
    border: 1px solid #fd583d;
    border-radius: 5px;
    font-size: 13px;
    margin-bottom: 20px;
}

.success-msg-hide{
    display:none;
}