/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  box-sizing: border-box;
}

/*html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Hind", sans-serif;
  color: #25283D;
  background-color: #ECF0F1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}*/

a {
  color: #8F3985;
  text-decoration: none;
}

/* -------------------------------- 

1. Auto-Hiding Navigation - Simple

-------------------------------- */
.cd-auto-hide-header {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(21, 21, 21, 0.9);
  /* Force Hardware Acceleration */
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
  will-change: transform;
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
}
.cd-auto-hide-header::after {
  clear: both;
  content: "";
  display: block;
}
.cd-auto-hide-header.is-hidden {
  -webkit-transform: translateY(-105%);
      -ms-transform: translateY(-105%);
          transform: translateY(-105%);
}
@media only screen and (max-width: 374px) {
  .cd-auto-hide-header {
    height: 85px;
  }
}
@media only screen and (min-width: 375px) {
  .cd-auto-hide-header {
    height: 85px;
  }
}
@media only screen and (min-width: 768px) {
  .cd-auto-hide-header {
    height: 107px;
  }
}


.cd-auto-hide-header .logo,
.cd-auto-hide-header .nav-trigger {
  position: absolute;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.cd-auto-hide-header .logo {
  left: 5%;
}
.cd-auto-hide-header .logo a, .cd-auto-hide-header .logo img {
  display: block;
}

.cd-auto-hide-header .nav-trigger {
  /* vertically align its content */
  display: table;
  height: 100%;
  padding: 0 1em;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: bold;
  right: 0;
  border-left: 1px solid #484848;
}
.cd-auto-hide-header .nav-trigger span {
  /* vertically align inside parent element */
  display: table-cell;
  vertical-align: middle;
}
.cd-auto-hide-header .nav-trigger em, .cd-auto-hide-header .nav-trigger em::after, .cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon */
  display: block;
  position: relative;
  height: 2px;
  width: 22px;
  background-color: #ffffff;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.cd-auto-hide-header .nav-trigger em {
  /* this is the menu central line */
  margin: 45px auto 14px;
  -webkit-transition: background-color .2s;
  transition: background-color .2s;
}
.cd-auto-hide-header .nav-trigger em::before, .cd-auto-hide-header .nav-trigger em::after {
  position: absolute;
  content: '';
  left: 0;
  -webkit-transition: -webkit-transform .2s;
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}
.cd-auto-hide-header .nav-trigger em::before {
  /* this is the menu icon top line */
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
}
.cd-auto-hide-header .nav-trigger em::after {
  /* this is the menu icon bottom line */
  -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
          transform: translateY(6px);
}
@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .cd-auto-hide-header .nav-trigger {
    display: none;
  }
}

.cd-auto-hide-header.nav-open .nav-trigger em {
  /* transform menu icon into a 'X' icon */
  background-color: rgba(255, 255, 255, 0);
}
.cd-auto-hide-header.nav-open .nav-trigger em::before {
  /* rotate top line */
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.cd-auto-hide-header.nav-open .nav-trigger em::after {
  /* rotate bottom line */
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}

.cd-primary-nav {
  display: inline-block;
  float: right;
  height: 100%;
  padding-right: 5%;
}
.cd-primary-nav > ul {
  position: absolute;
  z-index: 2;
  top: 107px;
  left: 0;
  width: 100%;
  background-color: rgba(21, 21, 21, 0.9);
  display: none;
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.2);
	    list-style: none;
    padding-left: 0;
}

.cd-primary-nav > ul a {
  /* target primary-nav links */
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
	font-family: 'Conv_PSL158Pro', Helvetica Neue, Helvetica, Arial, sans-serif;
  color: #e6e6e6;
	font-size: 20px;
    letter-spacing: 0.03em;
  border-top: 1px solid #484848;
	
	-webkit-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}


.cd-primary-nav > ul a.exit2-forResponsive {
    display: none;
}

@media only screen and (max-width: 1585px) {
  .cd-primary-nav > ul a.login-boder {
  border-top:0px solid #484848;
  }

  .cd-primary-nav > ul a.exit2-forResponsive {
    display: block;
}

}


.cd-primary-nav > ul a:hover, .cd-primary-nav > ul a.active {
  color: #77bc1f;
}
@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .cd-primary-nav {
    /* vertically align its content */
    /*display: table;*/
  }
  .cd-primary-nav > ul {
    /* vertically align inside parent element */
    display: table-cell;
    vertical-align: middle;
    /* reset mobile style */
    position: relative;
    width: auto;
    top: 0;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
  }
  .cd-primary-nav > ul::after {
    clear: both;
    content: "";
    display: block;
  }
  .cd-primary-nav > ul li {
    display: inline-block;
    float: left;
    margin-right: 30px;
  }

  .margin-right30 {
  margin-right: 30px;
}
  .cd-primary-nav > ul li:last-of-type {
    margin-right: 0;
  }
  .cd-primary-nav > ul a {
    /* reset mobile style */
    height: auto;
    line-height: normal;
    padding: 55px 0;
    border: none;
  }
}


@media only screen and (max-width: 767px) {
	.cd-primary-nav > ul {
	  position: absolute;
	  z-index: 2;
	  top: 85px;
	  left: 0;
	  width: 100%;
	  background-color: rgba(21, 21, 21, 0.9);
	  display: none;
	  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.2);
	   list-style: none;
		padding-left: 0;
	}
}

.nav-open .cd-primary-nav ul,
.cd-primary-nav ul:target {
  /* 
  	show primary nav - mobile only 
  	:target is used to show navigation on no-js devices
  */
  display: block;
}
@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .nav-open .cd-primary-nav ul,
  .cd-primary-nav ul:target {
    display: table-cell;
  }
}

/* -------------------------------- 

2. Auto-Hiding Navigation - with Sub Nav

-------------------------------- */
.cd-secondary-nav {
	position: relative;
    z-index: 1;
    clear: both;
    width: 100%;
    /*height: 50px;*/
    border-bottom: 1px #e8e8e8 solid;
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
}
.cd-secondary-nav::after {
  /* gradient on the right - to indicate it's possible to scroll */
  content: '';
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  height: 100%;
  width: 35px;
  background: transparent;
  background: -webkit-linear-gradient(right, #efefef, rgba(37, 40, 61, 0));
  background: linear-gradient(to left, #efefef, rgba(37, 40, 61, 0));
  pointer-events: none;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}
.cd-secondary-nav.nav-end::after {
  opacity: 0;
}
.cd-secondary-nav ul, .cd-secondary-nav li, .cd-secondary-nav a {
  height: 100%;
}
.cd-secondary-nav ul {
  /* enables a flex context for all its direct children */
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 1%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
	border-top: 1px #d4d4d4 solid;
    margin-bottom: 0;
}
.cd-secondary-nav ul::after {
  clear: both;
  content: "";
  display: block;
}
.cd-secondary-nav li {
  display: inline-block;
  float: left;
  /* do not shrink - elements float on the right of the element */
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}
.cd-secondary-nav li:last-of-type {
  padding-right: 20px;
}
.cd-secondary-nav a {
    display: block;
    font-family: 'sirintr_pro_bold', Helvetica Neue, Helvetica, Arial, sans-serif;
    color: #000000;
    letter-spacing: 0.03em;
    opacity: .6;
    line-height: 50px;
    padding: 0 10px;
    font-size: 20px;
	
	-webkit-transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .cd-secondary-nav {
    height: 70px;
    overflow: visible;
  }
  .cd-secondary-nav ul {
    /* reset mobile style */
    display: block;
    text-align: center;
	      float: right;
  }
  .cd-secondary-nav li {
    /* reset mobile style */
    float: none;
    -webkit-flex-shrink: 1;
        -ms-flex-negative: 1;
            flex-shrink: 1;
  }
  .cd-secondary-nav a {
    line-height: 70px;
  }
  .cd-secondary-nav a.active {
    box-shadow: inset 0 -3px #77bc1f;
  }

}

@media only screen and (min-width: 992px) {
  .cd-secondary-nav {
    height: 70px;
    overflow: visible;
  }
  .cd-secondary-nav ul {
    /* reset mobile style */
    display: block;
    text-align: center;
	      float: right;
  }
  .cd-secondary-nav li {
    /* reset mobile style */
    float: none;
    -webkit-flex-shrink: 1;
        -ms-flex-negative: 1;
            flex-shrink: 1;
  }
  .cd-secondary-nav a {
    line-height: 70px;
  }
  .cd-secondary-nav a.active {
    box-shadow: inset 0 -3px #77bc1f;
  }
}

@media only screen and (max-width: 991px) {


  .cd-secondary-nav a.active {
    box-shadow: inset 0 -3px #77bc1f;
  }
}



/* -------------------------------- 

3. Auto-Hiding Navigation - with Sub Nav + Hero Image

-------------------------------- */
.cd-secondary-nav.fixed {
  position: fixed;
  top: 60px;
}
.cd-secondary-nav.slide-up {
  -webkit-transform: translateY(-60px);
      -ms-transform: translateY(-60px);
          transform: translateY(-60px);
}
@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .cd-secondary-nav.fixed {
    top: 80px;
    /* fixes a bug where nav and subnab move with a slight delay */
    box-shadow: 0 -6px 0 #25283D;
  }
  .cd-secondary-nav.slide-up {
    -webkit-transform: translateY(-80px);
        -ms-transform: translateY(-80px);
            transform: translateY(-80px);
  }
}

/* -------------------------------- 

Main content

-------------------------------- */
.cd-main-content {
  padding: 60px 5% 2em;
  overflow: hidden;
}
.cd-main-content.sub-nav {
  /* to be used if there is sub nav */
  padding-top: 200px;
}
.cd-main-content.sub-nav-hero {
  /* to be used if there is hero image + subnav */
  padding-top: 0;
}
.cd-main-content.sub-nav-hero.secondary-nav-fixed {
  margin-top: 50px;
}
.cd-main-content p {
  max-width: 1024px;
  line-height: 1.6;
  margin: 2em auto;
  font-family: "David Libre", serif;
  color: #6f6f73;
}
@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .cd-main-content {
    padding-top: 80px;
  }
  .cd-main-content.sub-nav {
    padding-top: 180px;
  }
  .cd-main-content.sub-nav-hero.secondary-nav-fixed {
    margin-top: 70px;
  }
  .cd-main-content p {
    font-size: 14px;
  }
}

/*
	adjust the positioning of in-page links
	http://nicolasgallagher.com/jump-links-and-viewport-positioning/
*/
.cd-main-content.sub-nav :target::before,
.cd-main-content.sub-nav-hero :target::before {
  display: block;
  content: "";
  margin-top: -50px;
  height: 50px;
  visibility: hidden;
}
@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .cd-main-content.sub-nav :target::before,
  .cd-main-content.sub-nav-hero :target::before {
    margin-top: -70px;
    height: 70px;
  }
}

/* -------------------------------- 

Intro Section

-------------------------------- */
.cd-hero {
  /* vertically align its content */
  display: table;
  width: 100%;
  margin-top: 60px;
  height: 300px;
  background: url(../img/cd-hero-background.jpg) no-repeat center center;
  background-size: cover;
}
.cd-hero .cd-hero-content {
  /* vertically align inside parent element */
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .cd-hero {
    height: 400px;
  }
}
@media only screen and (min-width: 1250px) {
/*@media only screen and (min-width: 1585px) {*/
  .cd-hero {
    height: 600px;
    margin-top: 80px;
  }
}

a.backHomePage {
    color: #2b2b2b !important;
    line-height: 50px !important;
    padding: 0 !important;
    letter-spacing: 0px !important;
    opacity: 1 !important;
}
.btn-broker-g{
  background: rgb(119, 188, 31) !important;

  color: #ffffff !important;
  font-size: 15px;
    font-family: 'Kanit', sans-serif;
    background: none;
    padding: 10px 30px 10px 30px;
    margin-top: 20px;
    margin-left: 0px;
    border: 2px solid #7bc143;
    border-radius: 3px;
   

}
.btn-broker-g:hover {
  background: #68ab33!important;
  color: #fff;
  transition: all 0.3s ease-out;
  border: 2px solid #68ab33;
}
.btn-broker-g2{
  background: #fff;

  color: #7bc143 !important;
  font-size: 15px;
    font-family: 'Kanit', sans-serif;
    background: none;
    padding: 10px 30px 10px 30px;
    margin-top: 20px;
    margin-left: 0px;
    border: 2px solid #7bc143;
    border-radius: 3px;
   

}
.btn-broker-g2:hover {
  background: rgb(119, 188, 31);
  transition: all 0.3s ease-out;
  color: #ffffff !important;
}
   .mt-style2{
    width: 233px;
   }
   @media screen and (max-width: 991px) {
    .mt-style2{
      width: 190px;
     }
   }
   @media screen and (max-width: 750px) {
    .mt-style2{
      width: auto;
     }
   }
   @media screen and (max-width: 660px) {
    .mt-style2{
      width: 233px;
     }
   }
   @media screen and (max-width: 585px) {
    .mt-style1{
      width: 190px;
     }
    .mt-style2{
      width: 190px;
     }
   }
   @media screen and (max-width: 490px) {
    .mt-style1{
      width: 100%;
     }
    .mt-style2{
      width: 100%;
     }
   }

  
   
.d-flex{
  display: flex;
}
.logo-broker{
  width: 90%;
  box-shadow: 0 5px 20px rgb(0 0 0 / 10%);
  border-radius: 100px;
  padding: 20px;
}
@media screen and (max-width: 1200px) {
  .logo-broker{
    width: 50%;
  }
}
@media screen and (max-width: 991px) {
  .logo-broker{
    width: 70%;
  }
}
@media screen and (max-width: 660px) {
  .logo-broker{
    width: 50%;
  }
}
@media screen and (max-width: 500px) {
  .logo-broker{
    width: 70%;
  }
}

.mt-style1{
  margin-top: 0;
}
.mt-style2{
  
}
@media screen and (max-width: 1200px) {

.mt-style1{
margin-top: 0;
}
.mt-style2{
  
}
}
.block-logo{
  display: flex;
  margin-top: 50px;
}

@media screen and (max-width: 1200px) {
  .block-logo{
    display: block;
    text-align: center;
  }
  .mt-style1{
    margin-top: 30px;
    }
}

@media screen and (max-width: 991px) {
  .row-style{
    display: flex;
    justify-content: center;
  }
}
@media screen and (max-width: 660px) {
  .row-style{
    display: block;
  }
  .w-660{
    width: 50%;
    float: left;
  }
}

@media screen and (max-width: 440px) {
  .logo-broker{
    width: 80%
  }
  
  .w-660{
    width: 50%;
    float: left;
  }
}

.texthead-content-BT a:hover {
  color: #77bc1f;
  text-decoration: underline !important;
}