:is(body) :is(h4, h5, h6, h1, h2, h3, p) {
  margin: 0;
}

.hierarchy ngx-chart-designer {
  -webkit-box-align: start !important;
      -ms-flex-align: start !important;
          align-items: flex-start !important;
  display: grid !important;
  place-items: center;
}

.blank {
  display: inline-block;
  width: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-container {
  display: grid;
  grid-template-columns: auto 1fr;
}

main {
  display: inline-block;
  width: 100%;
  /* padding: 20px; */
  background: var(--bg-light);
  overflow: hidden;
}

.main-section {
  min-height: 500px;
  padding: 20px;
  padding-top: 0;
}

#wrapper {
  width: 100%;
}

#page-wrapper {
  /* min-height: 568px;
  position: inherit;
  margin: 0 0 0 222px;
  background: var(--bg-light); */
}

/* .blank {
  padding: 20px;
  margin-top: 90px;
  display: inline-block;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
} */

/* new css */

.blue_color {
  color: #297dfe;
  background-color: #f4e830;
}

.btn_purple:hover,
.btn_green:hover {
  color: var(--white) !important;
}

:is(body) :is(.btn_green, .btn_purple, .btn_warning, .btn_red) {
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white) !important;
  padding: 4px 12px;
}

.student-widget .multiselect-dropdown .dropdown-btn {
  min-height: 40px !important;
}

:is(ol, ul) :is(li) {
  word-wrap: break-word;
}

.btn_purple {
  background: var(--blue);
}

.btn_green {
  background: #009432;
  background-color: #009432;
}

.btn_warning {
  background: #f7b057;
  background-color: #f7b057;
}

.btn_red {
  background: #ea4335;
  background-color: #ea4335;
}

/* new css */

.footer-section {
  position: fixed !important;
}

div#wrapper {
  background-color: var(--white);
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
  background-color: #f2f4f8;
}

.sidebar-nav .nav {
  height: 70vh;
  overflow-y: auto;
  padding-inline: 12px;
  padding-bottom: 60px;
}

/*----*/

.banner h2 {
  font-size: 0.9em;
}

.banner {
  background: var(--white);
  display: block;
  margin: 0 0em 1em;
  padding: 10px;
  border: 1px solid #ebeff6;
  border-radius: 4px;
  -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.banner h2 a {
  color: var(--blue);
  padding: 0.3em;
  font-weight: bold;
}

.banner h2 span {
  color: var(--black);
  padding: 0.3em;
}

app-header nav {
  display: inline-block;
  /* width: calc(100% - 260px); */
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  background: var(--white);
  z-index: 999;
  right: 0;
  left: 0;
  top: 0;
  border-radius: 6px;
  margin-bottom: 30px;
}

/* app-header nav {
  display: inline-block;
  width: calc(100% - 260px);
  position: sticky;
  top: 16px;
  background: var(--white);
  z-index: 999;
  right: 0;
  border-radius: 6px;
  margin: 12px 20px 12px 0;
  left: 260px;
} */

/*--calendar--*/

.calendar {
  padding: 1em;
}

/* automation  */

.automation-head {
  padding: 0 0 20px;
}

.automation-head .head-inner {
  width: 50%;
}

.automation-head h2 {
  line-height: 24px;
  margin: 0 0 5px 0;
  font-weight: 700;
}

.automation-head .dash-icons {
  color: #000;
}

.automation-head p {
  color: #8395a7;
  line-height: 15px;
  margin: 0;
}

.my_automation p {
  min-width: 150px;
}

.my_automation p span {
  font-weight: bold;
}

.my_automation.disabled h2 {
  color: #aaaaaa;
}

.my_automation.disabled p {
  color: #aaaaaa;
}

/* .disabled-box .my_automation p span { color:#AAAAAA ;} */

.my_automation {
  position: relative;
  background: var(--white);
  -webkit-box-shadow: 0px 4px 12px rgba(45, 52, 54, 0.15);
          box-shadow: 0px 4px 12px rgba(45, 52, 54, 0.15);
  border-radius: 10px;
  padding: 20px;
}

.my_automation .divider {
  color: var(--dark-grey);
}

.my_automation.active {
  border: 2px solid var(--blue);
}

.automation-activity-btn a {
  margin: 0 5px 5px 0;
  font-size: 12px !important;
  display: inline-block;
}

.automation-activity-btn span {
  color: #8395a7;
  text-align: right;
  display: block;
}

.disable-warning {
  color: #ea4335;
  font-size: 10px;
  font-weight: 400;
  line-height: 12px;
  background-color: #ea433547;
  padding: 5px 10px;
  border-radius: 4px;
  margin: 5px 0 0 0;
}

.disable-warning svg {
  width: 10px;
  height: 10px;
  margin-left: 10px;
}

.app-conect .app-card {
  width: 25%;
  -webkit-box-shadow: 0px 4px 12px rgba(45, 52, 54, 0.15);
          box-shadow: 0px 4px 12px rgba(45, 52, 54, 0.15);
  border-radius: 20px;
  margin-bottom: 20px;
}

.app-conect .app-card h5 {
  margin: 0;
  font-weight: 700;
}

.app-conect .app-card p {
  margin: 0 0 10px 0;
}

.app-conect .app-card .connect-account a {
  float: right;
}

a.common-btn {
  min-width: 110px;
  text-align: center;
  border-radius: 25px;
  font-size: 14px;
  padding: 5px 15px;
  font-weight: 700;
}

/* orange rounded btn */

a.red_btn {
  color: var(--orange);
  border: 1px solid var(--orange);
}

a.red_btn.active {
  background-color: var(--orange);
  color: var(--white);
}

/*trigger-form-css*/

.right-popup.in {
  padding-right: 0 !important;
}

.right-popup.automation .modal-content,
.right-popup.automation .modal-dialog {
  background: var(--bg-light);
}

.right-popup.automation {
  left: inherit;
  width: 450px;
  /*top: 25%;*/
}

.right-popup.automation .modal-dialog {
  max-width: 450px;
  -webkit-box-shadow: none;
          box-shadow: none;
  overflow-y: auto;
}

.trigger-form-block h5 {
  margin: 0 0 10px;
}

.event-txt {
  border: 1px solid var(--blue);
  border-radius: 4px;
  padding: 10px;
  background: var(--white);
  width: 100%;
  cursor: pointer;
}

.event-txt p {
  margin: 0 0 2px;
  color: var(--black);
}

.event-txt input:checked~p {
  color: var(--blue);
}

.event-txt input:checked~.workflow {
  color: var(--blue);
}

.event-txt .workflow {
  color: #8395a7;
}

.trigger-number {
  width: 30px;
  padding: 14px;
  letter-spacing: -0.02em;
  border-radius: 50%;
  height: 30px;
  background: var(--white) FFF;
  -webkit-box-shadow: 0px 1px 5px rgba(45, 52, 54, 0.15);
          box-shadow: 0px 1px 5px rgba(45, 52, 54, 0.15);
}

.trigger-form-block h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 10px 0;
}

.trigger-title p {
  color: #8395a7;
  margin: 0 0 10px;
}

.trigger-title h4 {
  margin: 0 0 5px 0;
}

/*custom-radio-checkmark-css*/

.container_radio {
  display: inline-block;
  position: relative;
  padding: 5px 12px;
  width: 100%;
  margin: 0 0px 10px 0;
  font-weight: 400;
  cursor: pointer;
}

.container_radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.container_radio .title {
  color: var(--black);
  cursor: pointer;
  font-size: 12px;
  display: inline-block;
  margin: 2px 0 0 2px;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--white);
  border: 0.5px solid var(--black);
  border-radius: 4px;
}

.container_radio .checkmark:after {
  content: '';
  position: absolute;
  display: none;
  left: 6.5px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.container_radio input:checked~.checkmark {
  border-color: var(--blue);
  background: var(--blue);
}

.container_radio input:checked~.checkmark:after {
  display: block;
}

.container_radio input:checked~.title {
  color: var(--blue);
  font-weight: 900;
}

.container_radio input:checked~.container_radio {
  color: var(--blue);
}

.select-radio-btn {
  text-align: center;
}

.select-radio-btn .checkmark {
  height: 14px;
  width: 14px;
  border-radius: 2px;
}

.select-radio-btn .container_radio {
  width: auto;
  margin: 0;
}

.select-radio-btn .container_radio .checkmark:after {
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
}

/*activity-radio-css*/

.select_radio_btn.trigger .container_radio {
  width: 100%;
  cursor: pointer;
  padding: 2px 0 0 30px;
}

.trigger-form-block .container_radio .checkmark:after {
  top: 2px;
  left: 6px;
  height: 11px;
}

.trigger-form-block .radio-txt {
  color: var(--black);
  font-size: 10px;
}

.trigger-form-block .checkmark {
  background: var(--bg-light);
  height: 20px;
  width: 20px;
  border-radius: 4px;
}

.trigger-form-block .container_radio input:checked~.radio-txt {
  color: var(--blue);
}

.trigger-form-block .container_radio.required input:checked~.radio-txt {
  color: #aaaaaa;
  font-weight: 700;
}

.trigger-form-block .container_radio.required input:checked~.checkmark {
  background-color: #aaaaaa;
  border-color: #aaaaaa;
}

.trigger-form-block .btn-small {
  padding: 4px 12px;
  border-radius: 25px;
}

.trigger-form-block .btn-red,
.btn-red:hover {
  background: #ea4335;
  color: var(--white);
}

.trigger-form-block .btn-orange,
.btn-orange:hover {
  background: var(--reset) !important;
  color: var(--white) !important;
}

.publish_select {
  position: relative;
}

.publish_select select {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

.publish_select svg {
  position: absolute;
  right: 5px;
  top: 14px;
  z-index: 10;
}

select::-ms-expand {
  display: none;
}

.flex_btn li a,
.flex_btn li button {
  background: var(--white);
  font-size: 12px;
  font-weight: 900;
  margin: 15px 8px 10px 0;
  border: 1px solid var(--blue);
  color: var(--blue) !important;
  padding: 6px 22px;
  border-radius: 25px;
}

.flex_btn li.active a,
.flex_btn li.active button {
  background: var(--blue);
  color: var(--white) !important;
  border-color: var(--blue);
}

.close_btn svg {
  z-index: 101;
}

.close_btn {
  position: absolute;
  padding: 5px;
  cursor: pointer;
  top: 15px;
  right: 20px;
  color: #333;
  z-index: 10;
}

.close_btn:hover {
  color: var(--blue);
}

@media only screen and (max-width: 767px) {
  :is(body) :is(.btn_blue, .btn_green, .btn_purple, .btn_warning) {
    font-size: 10px;
    padding: 2px 9px;
  }

  .main-section {
    padding: 12px;
  }

  app-header nav {
    width: 100%;
    right: 0;
    left: auto;
    top: 0;
  }

  #hide_mob {
    display: none !important;
  }

  .ng-select .ng-select-container {
    overflow: inherit !important;
  }

  .ng-select .ng-select-opened .ng-select-container {
    z-index: 999999 !important;
  }

  .banner {
    margin: 60px 0 10px 0;
  }

  .sidebar .sidebar-nav.navbar-collapse {
    height: 100vh !important;
    width: 100%;
    margin: 0 !important;
  }

  .navbar {
    margin-top: 0 !important;
  }

  .navbar-default {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }

  .navbar a {
    padding: 10px 12px !important;
  }

  .navbar {
    background: #378092 !important;
  }

  .sorting-check {
    padding: 1px 13px !important;
    margin: 3px 3px !important;
  }

  .navbar {
    overflow: visible !important;
  }

  .navbar a:hover,
  .dropdown:hover .dropbtn,
  .navbar a.active {
    background: var(--white);
    color: #308092;
    border-radius: 4px;
  }

  .pagination>li>a,
  .pagination>li>span {
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
    border-radius: 4px;
  }

  .sidebar-nav.navbar-collapse {
    margin: 0;
  }

  .navbar-default {
    background-color: var(--white);
  }

  /* .navbar-header {padding: 10px 0 10px; display: inline-block; background: var(--white); width: 100%; } */
  .sidebar .sidebar-nav.navbar-collapse {
    left: -100%;
    position: fixed;
    width: 65%;
    background: var(--white);
    z-index: 22222;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
    opacity: 0;
  }

  #first_menu {
    display: block !important;
  }

  .nav>li>a {
    padding: 5px 10px 5px 0px;
  }

  .sidebar ul li a {
    font-size: 12px;
    display: inherit;
  }

  .sidebar-nav .nav {
    margin-bottom: 0;
  }

  .sidebar-nav.navbar-collapse.collapse.in {
    left: 0;
    opacity: 1;
  }

  .app-conect {
    display: inline-block;
  }

  .app-conect .app-card {
    margin-bottom: 10px;
  }

  .app-conect .app-card p {
    line-height: 15px;
  }

  .app-conect .app-card h5 {
    line-height: 19px;
    margin-bottom: 10px;
  }

  .app-conect .app-card {
    width: 100%;
    display: inline-block;
  }

  .pagination {
    margin: 10px 0;
  }

  .instagramm {
    font-size: 48px;
  }

  a.common-btn {
    font-size: 12px;
    min-width: 80px;
  }

  .automation-head {
    display: block;
    padding-top: 0;
  }

  .automation-head .head-inner {
    width: 100%;
  }

  .automation-head .m-new-auto-btn {
    position: fixed;
    z-index: 1;
    background-color: var(--orange);
    color: var(--white);
    font-weight: 700;
    bottom: 14%;
    left: 50%;
    -webkit-transform: translate(-50%, 0%);
            transform: translate(-50%, 0%);
    border-radius: 30px;
    padding: 13px 24px 13px 24px;
    -webkit-box-shadow: 0px 16px 30px rgba(234, 67, 53, 0.25);
            box-shadow: 0px 16px 30px rgba(234, 67, 53, 0.25);
  }

  .back-btn svg {
    width: 6px;
    height: 10px;
    fill: var(--blue);
  }

  .trigger-form-block form {
    margin: 0 0 0 35px;
  }

  .back-btn .btn {
    color: var(--blue);
    padding: 0;
    margin-bottom: 20px;
  }

  .flex_btn li a {
    margin: 15px 5px 10px 0;
    padding: 6px 18px;
  }
}

@media (min-width: 768px) {
  .custom-input-width {
    width: 270px;
  }
}
