.bread-guid {
  margin: 0;
}
#addAdPlan:focus {
  outline: none;
}
#addAdPlan h2 {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  margin-bottom: 10px;
}
.ul {
  list-style: none;
}

.clearfloat:after {
  content: '';
  display: block;
  clear: both;
  height: 0;
  line-height: 0;
  /* visibility: hidden; */
}

body {
  position: relative;
}

#frame-sheild, #frame-sheild1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    top: 0;
    left: 0;
    z-index: 99999;
}

.frame {
  position: fixed;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 700px;
  height: 580px;
  background-color: white;
}

.frame .frame-header {
  width: 100%;
  height: 45px;
  background-color: #5898d7;
  position: absolute;
}

.frame .frame-header .search-box {
  width: 192px;
  height: 26px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 420px;
  background-color: cyan;
  border-radius: 14px;
}
.frame .frame-header .search-box .icon {
  position: absolute;
  top: 6px;
  left: 12px;
  color: #aaa;
}
.frame .frame-header .search-box .clear {
  position: absolute;
  top: 6px;
  right: 12px;
  color: #aaa;
}
#search-frame, #search-frame1 {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    border-radius: 14px;
    padding-left: 30px;
}

.frame .frame-header span {
  position: absolute;
  right: 20px;
  top: 14px;
  font-size: 18px;
  color: white;
  cursor: pointer;
}

.frame .frame-header h4 {
  line-height: 45px;
  margin: 0;
  color: white;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.frame .frame-body {
  margin-top: 45px;
  height: 470px;
  padding: 16px 30px;
}

.frame .frame-body .selectAll {
  padding: 10px 0;
}

.frame .frame-body .selectAll .select-all-media {
  width: 138px;
  height: 44px;
}

#sourceList {
    height: 100%;
}

.frame .frame-body ul {
  overflow: auto;
  height: 88%;
}

.frame .frame-body ul li {
  float: left;
  margin-right: 16px;
  margin-bottom: 16px;
}

.frame .frame-body ul li .btn {
  width: 138px;
  height: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.select-all-media.selected {
    background-color: #5898d7;
    color: white;
}

.frame .frame-body ul li .btn.selected {
  background-color: #5898d7;
  color: white;
}

.frame .frame-footer {
  width: 100%;
  height: 75px;
  position: absolute;
  bottom: 0;
}

.frame .frame-footer .btn-box {
  margin: 12px auto;
  width: 300px;
  display: flex;
  justify-content: space-between;
}

.frame .frame-footer .btn-box .btn {
  width: 140px;
  height: 50px;
}

.frame .frame-footer .btn-box .btn.confirm-btn {
  background-color: #5898d7;
  color: white;
  border: none;
}

.declaration-input-box {
  border-radius: 6px;
  width: 100%;
}
.switchState {
  margin: 0 !important;
  vertical-align: middle;
  width: 39px;
  height: 18px;
}
.switchState::before {
  width: 16px;
  height: 16px;
}

#frame-sheild_2 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  top: 0;
  left: 0;
  z-index: 9999;
}

#frame-sheild_2 .frame {
  width: 80%;
  max-width: 996px;
  min-width: 700px;
  height: 490px;
}

#frame-sheild_2 .form-control {
  width: 128px;
  vertical-align: middle;
}
#frame-sheild_2 .frame-body {
  padding: 0 10px;
  height: 370px;
  overflow-y: auto;
}
#frame-sheild_2 .date-time-box div {
  display: flex;
  justify-content: space-around;
}
#frame-sheild_2 .form-group {
  margin: 0;
}
#frame-sheild_2 td {
  padding: 12px 15px;
}

#frame-sheild_2 .limit-flow-type span.active,#frame-sheild_2 .limit-flow-type span.active::before {
  color: #5898d7;
}
#frame-sheild_2 .limit-flow-type span.active::before {
  background-color: #5798de;
  border: #5898d7;
}
#frame-sheild_2 .limit-flow-type span, #frame-sheild_2 .limit-flow-type span::before {
  color: #666;
  position: relative;
  cursor: pointer;
}
#frame-sheild_2 .limit-flow-type span::before {
  content: '';
  display: block;
  position: absolute;
  top: 3px;
  left: -14px;
  width: 10px;
  height: 10px;
  border: 1px solid #666;
  border-radius: 50%;
}
.add-sub {
  display: inline-block;
  cursor: pointer;
}
.add-sub::before {
  display: block;
  font-size: 22px;
}

.limit-flow-tip {
  display: none;
  width: 220px;
  height: 60px;
  position: fixed;
  margin: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid #aaa;
  border-radius: 6px;
  background-color: #fcfcfc;
  font-size: 18px;
  text-align: center;
  line-height: 60px;
}