.labels {
  cursor: pointer;
}
.labels.active > td:first-child:before {
  transform: rotate(0deg);
}
.labels > td:first-child {
  position: relative;
}
.labels > td:first-child:before {
  content: '';
  background: url('../images/tools-mt4vsmt5/arrow.svg') no-repeat center top;
  color: #000;
  width: 16px;
  height: 16px;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -8px;
  transform: rotate(180deg);
}
html[lang="ug"] .labels > td:first-child:before {
  left: 0;
  right: inherit;
}
.mt4vsmt5-con {
  padding-top: 160px;
}
#mt4vsmt5 {
  position: relative;
}
html[lang="ug"] #mt4vsmt5 {
  padding-right: 250px;
  padding-left: inherit;
}
html[lang="ug"] #mt4vsmt5 .tab {
  right: 0;
  left: inherit;
}
#mt4vsmt5 #marketPlace > table > tbody > tr:nth-child(odd),
#mt4vsmt5 #transactionMode > table > tbody > tr:nth-child(odd) {
  background: #fafafb !important;
}
#mt4vsmt5 #marketPlace > table > tbody > tr:nth-child(even),
#mt4vsmt5 #transactionMode > table > tbody > tr:nth-child(even) {
  background: #fff !important;
}
#mt4vsmt5 #marketPlace > table > tbody > tr:first-child,
#mt4vsmt5 #transactionMode > table > tbody > tr:first-child {
  background: #fff !important;
}
#mt4vsmt5 table {
  width: 100%;
  background: #fdfdfd;
}
#mt4vsmt5 table thead {
  background: #f6f8fb;
  border-bottom: 1px solid #ededed;
}
#mt4vsmt5 table thead tr td {
  padding: 35px 30px;
}
#mt4vsmt5 table thead tr td:first-child {
  vertical-align: middle;
  padding: 30px 30px 30px 15px;
}
#mt4vsmt5 table thead tr td:last-child {
  padding: 30px 15px 30px 30px;
}
#mt4vsmt5 table thead tr td img {
  display: inline-block;
  vertical-align: middle;
  width: 37px;
}
#mt4vsmt5 table tbody tr:nth-child(even) {
  background: #fafafb;
}
#mt4vsmt5 table tbody tr td {
  padding: 25px 0px;
}
#mt4vsmt5 table tbody tr td:first-child {
  padding: 25px 30px 25px 15px;
}
html[lang="ug"] #mt4vsmt5 table tbody tr td:first-child {
  padding: 25px 15px 25px 30px;
}
#mt4vsmt5 table tbody tr td:last-child {
  padding: 25px 15px 25px 30px;
}
#mt4vsmt5 table tbody tr td.no-gap {
  padding: 0 !important;
}
#mt4vsmt5 table tbody tr td.no-gap > table {
  margin: 0;
  border-top: 1px solid #ebebeb;
}
#mt4vsmt5 table tbody tr td.no-gap > table tr {
  background: #fff !important;
}
#mt4vsmt5 table tbody tr td.no-gap > table tr:first-child td {
  padding-top: 20px;
}
#mt4vsmt5 table tbody tr td.no-gap > table tr:last-child td {
  padding-bottom: 20px;
}
#mt4vsmt5 table tbody tr td.no-gap > table tr td {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: 1.5px;
  color: #8b8b8b;
}
#mt4vsmt5 table tbody tr td img {
  width: 24px;
}
@media screen and (min-width: 1200px) {
  #mt4vsmt5 {
    padding-left: 250px;
    min-height: 924px;
    border-radius: 24px;
    box-shadow: 0 0 25px 0 rgba(120, 120, 120, 0.25);
    display: flex;
    justify-content: center;
  }
  #mt4vsmt5 .tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    width: 250px;
    height: 100%;
    border-radius: 24px 0 0px 24px;
    border: 0;
  }
  #mt4vsmt5 .tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    flex: 1 1 auto;
    font-size: 28px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.14;
    letter-spacing: normal;
    text-align: center;
    color: #000018;
    position: relative;
  }
  #mt4vsmt5 .tab button:hover,
  #mt4vsmt5 .tab button:focus {
    background-color: #ddd;
    color: #D91D22;
    background-color: transparent;
  }
  #mt4vsmt5 .tab button.active {
    background: #fff;
  }
  #mt4vsmt5 .tab button.active:before {
    content: '';
    background: #D91D22;
    width: 3px;
    height: 61px;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -30px;
  }
  html[lang="ug"] #mt4vsmt5 .tab button.active:before {
    right: 0;
    left: inherit;
  }
  #mt4vsmt5 #marketPlace table tfoot {
    display: none;
  }
  #mt4vsmt5 p.rules {
    display: none;
  }
  #mt4vsmt5 .m-title {
    display: none;
  }
  #mt4vsmt5 .tabcontent {
    display: none;
    padding: 50px 12px 50px 50px;
    border: 1px solid #ccc;
    border-top: none;
    align-items: center;
    border: 0;
    width: 100%;
  }
  html[lang="ug"] #mt4vsmt5 .tabcontent {
    padding: 50px 50px 50px 12px;
  }
  #mt4vsmt5 table {
    max-width: 850px;
    margin-left: 25px;
  }
  html[lang="ug"] #mt4vsmt5 table {
    margin-right: 25px;
    margin-left: inherit;
  }
  #mt4vsmt5 table thead tr td {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    color: #000018;
  }
  #mt4vsmt5 table thead tr td:not(:first-child) {
    text-align: center;
    vertical-align: middle;
  }
  #mt4vsmt5 table tbody tr:nth-child(even) {
    background: #fafafb;
  }
  #mt4vsmt5 table tbody tr td {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    text-align: center;
  }
  #mt4vsmt5 table tbody tr td:first-child {
    font-size: 20px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    color: #000018;
    text-align: left;
  }
  html[lang="ug"] #mt4vsmt5 table tbody tr td:first-child {
    text-align: right;
  }
  #mt4vsmt5 table tbody tr td:first-child p {
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 1.5px;
    color: #8b8b8b;
    margin-top: 5px;
  }
  #mt4vsmt5 table tbody tr td:not(:first-child) {
    text-align: center;
    vertical-align: middle;
  }
  #mt4vsmt5 table tbody tr td:not(:first-child) p {
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.5;
    letter-spacing: 2px;
    text-align: center;
    color: #757575;
  }
  #mt4vsmt5 table tbody tr td span:first-child {
    display: block;
  }
  #mt4vsmt5 table tbody tr td span:last-child {
    display: none;
  }
  #mt4vsmt5 table tfoot tr td {
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    color: #757575;
    padding-top: 15px;
  }
}
@media screen and (max-width: 1199px) {
  .labels > td:first-child:before {
    display: none !important;
  }
  #trading-tools {
    padding-top: 0 !important;
  }
  .mt4vsmt5-con {
    padding: 80px 0 0;
  }
  #mt4vsmt5 .tab {
    display: none !important;
  }
  #mt4vsmt5 .tabcontent {
    position: relative;
    padding-bottom: 104px;
    display: block !important;
  }
  #mt4vsmt5 .tabcontent > table {
    border-radius: 9px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    width: 96%;
    margin: 0 auto;
  }
  #mt4vsmt5 .tabcontent picture img {
    width: 100% !important;
    height: 208px;
    object-fit: cover;
    object-position: top center;
  }
  #mt4vsmt5 .rules {
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    text-align: center;
    color: #757575;
    position: absolute;
    left: 0;
    bottom: 80px;
    width: 100%;
  }
  #mt4vsmt5 #marketPlace .rules {
    display: none;
  }
  #mt4vsmt5 #marketPlace > table > tbody > tr:first-child td:last-child,
  #mt4vsmt5 #transactionMode > table > tbody > tr:first-child td:last-child,
  #mt4vsmt5 #orderExecution > table > tbody > tr:first-child td:last-child {
    vertical-align: top;
  }
  #mt4vsmt5 .m-title {
    font-size: 28px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 24px;
    color: #000018;
  }
  #mt4vsmt5 table thead {
    background: #f6f8fb;
    border-bottom: 1px solid #ededed;
  }
  #mt4vsmt5 table thead tr td {
    padding: 25px 15px 25px 15px;
    font-size: 16px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.2px;
    width: 33% !important;
  }
  #mt4vsmt5 table thead tr td:first-child {
    text-indent: -9999px;
    padding: 25px 15px 25px 15px;
  }
  #mt4vsmt5 table thead tr td:last-child {
    padding: 25px 15px 25px 15px;
  }
  #mt4vsmt5 table thead tr td img {
    width: 25px;
  }
  #mt4vsmt5 table tbody tr:nth-child(even) {
    background: #fafafb;
  }
  #mt4vsmt5 table tbody tr.hideCat {
    display: none;
  }
  #mt4vsmt5 table tbody tr td {
    padding: 16px 10px !important;
    width: 33% !important;
    vertical-align: middle;
  }
  #mt4vsmt5 table tbody tr td:first-child {
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 2;
    letter-spacing: 1.13px;
    color: #000018;
  }
  #mt4vsmt5 table tbody tr td:first-child p {
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    color: #757575;
    margin-top: 2px;
  }
  #mt4vsmt5 table tbody tr td:not(:first-child) {
    font-size: 12px;
    font-weight: bold;
    font-stretch: normal;
    font-style: normal;
    line-height: 2;
    letter-spacing: 1.13px;
    color: #00001a;
    padding: 16px 18px !important;
  }
  #mt4vsmt5 table tbody tr td:not(:first-child) p {
    color: #757575;
  }
  #mt4vsmt5 table tbody tr td.no-gap > table tr td {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: normal;
    letter-spacing: 1.5px;
    color: #8b8b8b;
  }
  #mt4vsmt5 table tbody tr td span:first-child {
    display: none;
  }
  #mt4vsmt5 table tbody tr td span:last-child {
    display: block;
  }
  #mt4vsmt5 table tfoot {
    display: none;
  }
}
@media screen and (max-width: 834px) {
  html[lang="ug"] #mt4vsmt5 {
    padding-right: inherit;
  }
  #banner .text {
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  }
}