﻿


.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.fade.show {
  opacity: 1;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}

.close:hover, .close:focus {
  color: #000;
  text-decoration: none;
  opacity: .75;
}

.close:not(:disabled):not(.disabled) {
  cursor: pointer;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
}

.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  z-index: 2;
  width: auto;
  margin: 0.5rem;
  pointer-events: none;
}

.modal.fade .modal-dialog {
  transition: -webkit-transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  -webkit-transform: translate(0, -25%);
  transform: translate(0, -25%);
}

.modal.show .modal-dialog {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

.modal-dialog-centered {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: calc(100% - (0.5rem * 2));
}

.modal-content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  outline: 0;
  padding: 40px 90px;
}

.page-webpartfree .modal .box {
	border-radius: 0;
	border-width: 0;
	box-shadow: none;
	width: 100%;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

.modal-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  border-top-left-radius: 0.3rem;
  border-top-right-radius: 0.3rem;
}

.modal-content .close {
  border: 2px solid #E3E3E3;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  border-radius: 50%;
  color: #1D2A4B;
  cursor: pointer;
  outline: none;
  width: 50px;
  height: 50px;
  position: absolute;
  right: 20px;
  top: 20px;
}

.modal-content .close:hover {
  background: #FF3823;
  color: #ffffff;
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid #e9ecef;
}

.modal-footer > :not(:first-child) {
  margin-left: .25rem;
}

.modal-footer > :not(:last-child) {
  margin-right: .25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: #000000 0% 0% no-repeat padding-box;
	opacity: 0.6;
}

.portrait-overlay {
  background-color: gray;
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  z-index: 999999;
}
.portrait-model {
  background-color: #fff;
  border-radius: 12px;
  margin: 0.5rem;
  width: 100%;
  height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
#close-portrait {
  	border: 2px solid #E3E3E3;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
    color: #1D2A4B;
    cursor: pointer;
    outline: none;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 10px;
    top: 10px;
}
.portrait-content-box {
  transform: rotate(270deg);
  text-align: center;
}
.portrait-model .phone-img {
  margin-bottom: 50px;
}
.portrait-model .phone-text {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: bold;
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: #192541;
}
.benchmark-data-table-container {
    border: 1px solid #ddd;
  }
.benchmark-data-table-container tr td:first-child {
	border-left:none;
	width: 40%;
}
.benchmark-data-table-container tr td:last-child {
	border-right:none;
}

.chart-modal .js-chart {
	height: auto;
	max-height: 600px;
}

@media (max-width: 1100px) {
  .modal-content .close {
	position: fixed;
  }
  .modal-content {
	overflow: auto;
  }
  .benchmark-data-table-container tr td:first-child {
	width: inherit;
	}
}

@media (max-width: 768px) {
  .benchmark-data-table-container {
    width: 100% !important;
    max-height: calc(100vh - 220px) !important;
  }
  .criteria-content {
    width: 240px !important;
  }
  .criteria-name {
    width: 240px !important;
  }
  .criteria-name div {
    font-size: 17px;
  }
  .criteria-name div:last-child {
    font-size: 13px !important;
  }
  .investf2-boxs .bottom .sections .invest-button {
	margin-top:20px !important;
  }
  .mCSB_scrollTools_vertical.mCSB_scrollTools {
  	right: -42px !important;
  }
  #mCSB_1_scrollbar_vertical.mCSB_scrollTools_vertical .mCSB_dragger_bar {
	width:20px !important;	
  }
  .benchmark-data-container .modal-content .close {
	width: 30px !important;
	right: 10px !important;
	top: 10px !important;
	height: 30px !important;
  }
  .chart-modal .modal-content {
	padding: 40px 40px 40px 10px;
  }
}

@media (max-width: 376px) {
  .page-webpartfree .modal .box {
	min-width: 400px;
  }
}


@media (min-width: 576px) {
  .modal-dialog {
    max-width: calc(100% - 100px);
    margin: 1.75rem auto;
  }
  .modal-dialog-centered {
    min-height: calc(100% - (1.75rem * 2));
  }
  .modal-sm {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .modal-lg {
    max-width: 800px;
  }
}


