body,h1,h2,h3,h4,h5,h6,p {font-family: "Montserrat", sans-serif}
.w3-bar,.footer,.content,h1,button {font-family: "Montserrat", sans-serif}
.fa-telegram{font-size:25px}
.fa-times-circle{font-size:35px}

@media (max-width: 600px) {
  .w3-panel.w3-border.w3-padding-16.w3-margin-left.w3-margin-right.w3-round-xlarge.w3-border-grey {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
.blind{visibility:hidden;overflow:hidden;position:absolute;
top:0;left:0;width:0;height:0;font-size:0;line-height:0}

.masonry-layout {
  column-count: 3;
  column-gap: 0;
}
.masonry-layout__panel {
  break-inside: avoid;
  padding: 5px;
}
.masonry-layout__panel-content {
  padding: 10px;
  border-radius: 10px;
  position: relative;
}

.masonry-layout__delete {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 16px;
  height: 16px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
}

.masonry-layout__delete svg {
  width: 100%;
  height: 100%;
}

.masonry-layout__delete:hover svg, .masonry-layout__delete:hover path {
  fill: red;
}

.masonry-layout__panel:first-child {
  margin-top: 0 !important;
}

.masonry-layout__panel-content h5 {
  margin-top: 0;
}

@media (max-width: 1279px) {
  .w3-top__header .menu-item {
    display: none !important;
  }

  .w3-top__header .open-menu {
    display: block !important;
  }

  #navDemo.w3-show {
    display: block !important;
  } 
}

@media (max-width: 991px) {
  .masonry-layout {
    column-count: 2;
  }

  .w3-controls .w3-half {
    width: 100%;
  }

  .w3-controls .w3-half:first-child {
    margin-bottom: 24px;
  }

  .w3-controls .w3-bar {
    display: flex;
    flex-wrap: wrap;
  }

  .w3-controls .w3-button {
    flex: 1 0 0%;
  }
}

@media (max-width: 640px) {
  .masonry-layout {
    column-count: 1;
  }

  .w3-controls .w3-button {
    flex: initial;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 32px;
  }

  .w3-controls .w3-bar {
    border-radius: 0;
    margin-bottom: -10px;
  }

  .reminders-table {
    display: block;
  }

  .reminders-table tr {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
  }

  .reminders-table td {
    min-width: 100%;
    padding: 0;
    margin-bottom: 12px;
  }

  .reminders-table th:first-child, .w3-table td:first-child, .w3-table-all th:first-child, .w3-table-all td:first-child {
    padding: 0;
  }

  .w3-controls .w3-input {
    padding-left: 16px;
    padding-right: 16px;
  }

  .masonry-layout__panel {
    margin-left: 0 !important;
  }
  
  .w3-table-all-td-padding td, .w3-table-all-td-padding td:first-child {
  	padding: 10px !important;
  }
}

@media (max-width: 600px) {
  .w3-panel.w3-padding-16.w3-margin-left.w3-round-xlarge.w3-sand {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* -------Крест удаления------- */
.btn {
  transition: 0.7s;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: 0.7s;
}