/* basic form style */
    .ainvesting .eu-trading-involves, .mtm-6 .eu-trading-involves {
        display: none;
    }

	.zr_rest .btnCancel {
		
	width: 300px;
    text-align: left;
	
	}
	
	.rtl .zr_rest .btnCancel {
		
	 direction: ltr;
	
	}
	
	.el #bottom_form .submit_btn {
    font-size: 18px;
	}
	
	.rtl option {
    direction: ltr;
	}
	
	.rtl select:-moz-locale-dir(ltr) {
	direction: ltr;
	text-align: right;
	padding-right: 5px;
		
	}

	#bottom_form  .submit_btn_wrapper {
		
	width: 100%;
    margin: auto;
	
	}
	
     .agree_wrapper{
	    padding-left: 15px;
	    padding-right: 15px;
	}
    .iagree_input.error + .agreeToTerms, .agreeTerms.error + .iagree, .iagree_input.error + .iagree, .agreeTerms.error + .agreeToTerms {
        border: 2px solid red;
    }

	.rtl .agree_wrapper{
       float: right;
 
	}
	
	#bottom_form .short_disclaimer{
     	padding-right: 15px;
	    float: left !important;
	    padding-left: 15px;
	}
	
	#bottom_form .col-md-4.short_disclaimer{
		float: right !important;
	}

	.styled-select select {
    
	
		-webkit-appearance: none;
		border: 1px solid #CCC;
		background: transparent;
		
		-webkit-text-fill-color: grey;
		-webkit-appearance: none;
       -moz-appearance: none;
        -ms-appearance: none;
         -o-appearance: none;
            appearance: none;
	
}	


.styled-select select:focus {
    
	
	
		box-shadow: none;
		outline:none;
	
}

	.styled-select {
    
	background: url(arrow_down.png) no-repeat right 7px #fff;
    margin: 5px 0;
    height: 40px;
    line-height: 31px;
    font-size: 14px;
    border-radius: 4px;
	
	
    
	
}

	.flags_form .countryWithPhone {
    border: 1px solid #ccc;
    position: relative;
    float: left;
    height: 40px;
    margin-top: 5px;
	width: 100%;
    border-radius: 5px;
	background: white;	
	}

	.flags_form .styled-select {
		
	background: none !important;
    width:100%;
	height: auto;
	margin: 3px 0;
    float: left;
	}
	
	.flags_form .fields_wrapper {
		
		top:20px;
		position:relative;
		
	}
	
	
	.flags_form #phoneNumber {
		
	width: 150px;
    border: none;
    height: auto;
    float: left;
    box-shadow: none;
    position: absolute;
    left: 80px;
	}
	
	.rtl .flags_form #phoneNumber {
    left: 45px;
    direction: ltr;
	}

	 .flags_form .top {
    margin: 20px 0 10px 0px;
	}	
	
	.flags_form .before_code {
		
	position: absolute;
    left: 45px;
    z-index: 99;
    line-height: 36px;
	}
	
	.rtl .flags_form .before_code {
    left: 7px;
    direction: ltr;
    font-size: 14px;
    width: 16px;
	}
	
	.flags_form #countryCode {
		
	width: 50px;
    border: none;
    height: auto;
    float: left;
    box-shadow: none;
    position: absolute;
    left: 50px;
	}
	
	.rtl .flags_form #countryCode {
       float: right;
    left: 15px;
    z-index: 99;
    width: 36px;
    margin: 0;
    margin-top: 9px;
    padding: 0;
    direction: ltr;
	}
	


	.rtl .styled-select {
    
	background: url(arrow_down.png) no-repeat 3px 7px #fff;
    margin: 5px 0;
    height: 40px;
    line-height: 31px;
    font-size: 14px;
    border-radius: 4px;

	
    
	
}

	.styled-select select::-ms-expand {
    display: none;
}


@media (max-width: 800px) {

	.exit_popup {
	display:none !important;	
	}
	
}	
	
	
	
@media (max-width: 800px) {
	
	#bottom_form .short_disclaimer{
    
    float: left !important;
}


	


#bottom_form  .submit_btn {
	
	 background-size: contain !important;
		
}

 .flags_form  .submit_btn {
	
	 background-size: contain !important;
	 margin-top: 25px;	
}


}
	
	#bottom_form  .submit_btn {
		
	width: 100%;
    height: 60px;
    top: 10px;
    position: relative;
	padding: 0px;
	font-size: 20px;
	border-radius: 4px;
	margin: 5px 0 10px;
	}
	
	.flags_form  .submit_btn {
		
	
    top: 10px;
    
	
	}
	
	
	
	.de #bottom_form  .submit_btn {
		
	
	font-size: 18px;
	
	
	}
	
	
	
	
	#bottom_form  label {
		
		margin:0;
		
	}
	
	#bottom_form  select {
		
		font-size: 14px !important;
		width:100%;
		height: 40px;
		color: grey;
		
	}
	
	
	#bottom_form  select.form_elem_countryId {
		
		padding-left: 5px;
		-moz-padding-start: 0px;
	}
	
	
	#exitForm  select.form_elem_countryIdExitForm {
		
		padding-left: 5px;
		-moz-padding-start: 2px;
		
	}
	
	
	
	
	#bottom_form  input {
		
	height: 40px;
    margin: 5px 0;
		
	}
	
	
	#bottom_form input.iagree_input {
    margin: 0;
	}
	
	#bottom_form  input::-webkit-input-placeholder {
		   color: grey;
		}

	#bottom_form  input:-moz-placeholder { /* Firefox 18- */
		   color: grey;  
		}

	#bottom_form  input::-moz-placeholder {  /* Firefox 19+ */
		   color: grey;  
	}

	#bottom_form  input:-ms-input-placeholder {  
		   color: grey;  
	}
	
	#bottom_form  select::-webkit-input-placeholder {
		   color: grey;
		}

	#bottom_form  select:-moz-placeholder { /* Firefox 18- */
		   color: grey;  
		}

	#bottom_form  select::-moz-placeholder {  /* Firefox 19+ */
		   color: grey;  
	}

	#bottom_form  select:-ms-input-placeholder {  
		   color: grey;  
	}

	#bottom_form .form_wrapper {
		
		width: 100%;
		position: relative;
		float: left;
	
		
	}


	#bottom_form .form_elem_countryCode {
		
		width: 22%;
		
	}
	
	#bottom_form  .areaCode {
		
		width: 22%;
		
	}
	
	.rtl #bottom_form .form_elem_countryCode, .rtl #bottom_form .areaCode {
    float: left;
	}
	
	#customerLeadEmail {
    color: #555 !important;
}
			
			
			
	#bottom_form #phoneNumber{
		
		width: 75%;
		float: right;
	
	}
		
		
		
	#bottom_form .top{
		
		
	margin: 10px 0;
    
	
	}
	
	#bottom_form  div.short_disclaimer .eu-trading-involves{
			
			float:right;
		}
		
		
	
	
	@media (max-width: 979px) {
		
		#bottom_form  div.short_disclaimer .eu-trading-involves {
			
			float:left;
		}
		
		#restricted_country .inner {
			top: 20px !important;
		}
		
	}
		
	
		
	/* popup_box Styles*/
	#restricted_country { 
    display:none; /* Hide the DIV */
    position: fixed;
    height: 100%;
    width: 100%;
    background: #000000;
    left: 0;
    opacity: 0.95;
    z-index: 9999999;
	top: 0;
    
}


	#restricted_country .inner_wrapper {
    position: relative;
    width: 700px;
    margin: auto;
    height: auto;
	max-width: 100%;
	}


	#restricted_country .inner {
	margin: auto;
    width: 700px;
    height: auto;
    padding: 10px;
    background: white;
    top: 100px;
    border-radius: 4px;
    max-width: 100%;
    position: relative;
	color:black;
	float:left;
}	
		
		
		
		
	/* popup_terms popup_box Styles*/
	#popup_terms { 
    display:none; /* Hide the DIV */
    position: fixed;
    height: 100%;
    width: 100%;
    background: #000000;
    left: 0;
    opacity: 0.95;
    z-index: 9999999;
	top: 0;
    
}


	#popup_terms .inner_wrapper {
    position: relative;
    width: 700px;
    margin: auto;
    height: auto;
	max-width: 100%;
	}


	#popup_terms .inner {
	margin: auto;
    width: 700px;
    height: auto;
    padding: 10px;
    background: white;
    top: 100px;
    border-radius: 4px;
    max-width: 100%;
    position: relative;
	color:black;
	float:left;
}		
		
		
		
	/* MTM popup_box Styles*/
	#mtm_popup {
		display: none;
	}
	
	.page-template-live_text_template #bottom_form .form_wrapper.mtm_form  #phoneNumber {
    width: 100%;
	}
		
	.pnlRestrButtons {
		
		margin-top: 30px;
		
	}	
	
	
		
	
	
	
	.btnApprove {
		
		float:right !important;
		
	}
	
	
		
		
.page-template-live_text_template.rtl .top.row div {
    float: right !important;
    text-align: right;
}		
		
		
		
		
		
		
	@media(max-width:990px) {
		
		.flags_form .fields_wrapper {
			margin-bottom:20px;
		}
		
	}	
		
		
	#side_form .flags_form .fields_wrapper {
    margin-bottom: 20px;
	}	
		
	
	#bottom_form .flags_form #phoneNumber {
		    background: transparent;
    width: 130px;
	}	
		
		
	#side_form .flags_form #phoneNumber {
		    background: transparent;
    width: 170px;
	}	
		
		
		
	.whiteLabel_form #phoneNumber {
    width: 100% !important;
}

	.whiteLabel_form  select {
		
			/*text-indent: 5px !important;*/
	}
	
		
		
	/* exit form style */


	.exit_popup, .custom_exit_popup {
			
	width: 100%;
    position: fixed;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    left: 0;
    z-index: 99999;
	 top: 0;
	display:none;		
	}
		

		
	.inner_exitpopup, .inner_custom_exit_popup {
			
	background-repeat: no-repeat;
    width: 700px;
    margin: auto;
    top: 100px;
    height: 500px;
    position: relative;
	
	}
	
	.inner_custom_exit_popup {
	background-color: #fff;
    max-width: 100%;
	}	
		
		
	#exitForm {
			
	width: 250px;
    float: right;
    position: relative;
    top: 140px;
    right: 20px;	
	
	}
	
	
	.rtl #exitForm {
			
	width: 250px;
    float: left;
    position: relative;
    top: 120px;
    right: auto;
	left:20px;
	
	}
	
	
	form#exitForm input, form#exitForm select {
	width: 100%;
    border-radius: 3px;
    height: 25px;
	line-height: normal;
	 margin: 0;
    -webkit-text-fill-color: #aaa;
	}
		
	#exitForm .styled-select	 {
		
	margin: 0;
    height: auto;
    line-height: normal;
    background: url(arrow_down.png) no-repeat right 0px #fff;
	line-height: normal;
	}
	
	
	.rtl #exitForm .styled-select	 {
		
    background: url(arrow_down.png) no-repeat left 0px #fff;
	
	}
		
		
	
	
	form#exitForm input#emailOpt {
    width: 15px;
    margin: 0;
	}
	

	form#exitForm input#sendDataExitForm {
    height: auto;
    -webkit-text-fill-color: inherit;
    font-size: 18px;
	}
	
	
	form#exitForm span.error {
    font-size: 11px;
    color: red;
	}
	
	form#exitForm  label {
    font-size: 11px;
    color: red;
	}
	
	.closeExitPopup {
		
	position: absolute;
    top: -28px;
    color: #fff;
    right: 0;
    font-size: 18px;
    cursor: pointer;
		
	}
	
	
	.rtl .closeExitPopup {
		
   
    right: auto;
	left:0;
  
		
	}
	
	
	span.popup_terms_link {
    color: #08c;
    cursor: pointer;
	}
	
	span.popup_terms_link:hover {
    text-decoration:underline;
	}
	
	#bottom_form .form_wrapper.short_form {
    padding-top: 30px;
	}
	
	#bottom_form .form_wrapper.short_form .submit_btn {
    top: -10px;
	}
	
	
	@media(max-width:990px) {
		
	#bottom_form .form_wrapper.short_form .submit_btn {
    top: 0 !important;
    margin: 10px 0;
	}
	
		
	}	
	
	
	@media(min-width:990px) {
	
	.livetext_form .flags_form.sideFlagsForm .submit_btn {
		
		    margin-top: 23px !important;
		
	}
	
}


span.close_popup {
        cursor: pointer;
    font-size: 18px;
    border: 1px solid #000;
    border-radius: 5px;
    padding: 5px 8px;
}


	span.eu-trading-involves span {
    font-size: 10px !important;
	font-weight:600;
}


/* error validations */

span.error {
    position: relative;
    top: -15px;
    background: #f5e9ce;
    padding: 6px;
    border: 1px #5b5b5b;
    word-wrap: normal;
    border-style: dashed;
    z-index: 9999;
	display: table-cell;
}

span#countryCode-error{
    top: 15px;
}

span#agreeToBeContacted-error{
	top: 0px;
	color: red !important;
}

.form_wrapper label {
	height:0;
    display: inline;
}


#side_form .areaCode {
    width: 22%;
}


body.xtrade #restricted_country {
           /* only xt popup */
           background: rgba(228,228,228,0.5); 
           opacity: 1;
     }
     .xtrade #restricted_country .pnlRestrButtons a,
     .xtrade #restricted_country .pnlRestrButtons span,
     .xtrade #restricted_country .pnlRestrButtons a:hover,
     .xtrade #restricted_country .pnlRestrButtons span:hover     {
           /*only affect xt popup */
           background: #0ac8ff; 
           border-radius: 0px;
           border: none;
           box-shadow: 2px 2px 2px #ababab;
     }
     body.xtrade #restricted_country .inner strong,
     body.xtrade #restricted_country .inner b {
           /* only xt popup */
           color: #0b0051;
     }
body.xtrade #restricted_country .inner {
           /* only xt popup */
           border-radius: 0px;
           border: 1px solid #051229;
           color: #051229;
     }
	#bottom_form .nocountry #phoneNumber {
    width: 100%;
	}

	 #side_form .nocountry #phoneNumber {
		width: 100%;
	}
	
#bottom_form span#iagree_input-error {
    color: red !important;
}	

#bottom_form span#agreeTerms-error {
    top: 0px;
}	




#bottom_form .form_wrapper.nocountry .termsAgreeCol {
}

.termsAgreeCol{
	line-height: 15px;
	padding-left: 0;
	float: left;
}

#side_form .termsAgreeCol {
    margin-top: 10px;
}

#side_form .termsAgreeCol #agreeToBeContacted{
	margin-bottom: 0px;
}

.fullwidth-bottomForm span.areaCodePend {
    display: none;
}









