.flex {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-center {
  justify-content: center;
}

#dafViewerContent {
  font-family: Geneva, Arial, Helvetica, sans-serif;
  font-size: 106%;
  font-weight: 300;
}

#dafViewerContent button,
#dafViewerContent input[type="button"] {
  border: 0;
  color: #fff;
  background: #222;
  padding: 7px;
  margin-top: 10px;
  border-radius: 0;
  font-size: 90% !important;
  margin-right: 4px;
  padding: 9px;
  margin-left: 0;
  cursor: pointer;
}

#dafViewerContent button:hover {
  background: #dd1f1f;
}

#dafViewerContent select {
  border: 1px solid #aaa;
  padding: 6px;
  margin: 4px;
  border-radius: 4px;
  font-size: 85% !important;
}

#dafViewerContent label {
  margin: 4px;
}

#dafViewerContent select#massechet,
#dafViewerContent select#daf {
  margin-right: 6px;
  margin-left: 3px;
  height: 30px;
}

@media only screen and (max-width: 580px) {
  .mobileBreak {
    display: block;
  }
}

@media only screen and (max-width: 480px) {
  .mobileBreak {
    display: block;
  }
}

#dafViewerContent div#dafYomiInfo {
  margin: 8px auto;
  line-height: 172%;
  float: right;
  text-align: left;
  display: block;
}

@media only screen and (max-width: 1234px) {
  #dafViewerContent div#dafYomiInfo {
    display: none;
    float: left;
  }
}

@media only screen and (max-width: 926px) {
  #dafViewerContent div#dafYomiInfo {
    display: block;
    float: left;
  }
}

@media only screen and (max-width: 445px) {
  #dafViewerContent form label {
    display: none;
  }
}

button#goButton {
  width: 65px;
  background: #222;
  color: #fff;
  border-radius: 0;
  border: 0;
  padding: 9px;
  margin: 4px 0 4px 4px;
  cursor: pointer;
}

button#goButton:hover {
  background: #dd1f1f !important;
}

iframe#dafFrame {
  width: 100%;
  height: 1333px;
  border: none;
  min-height: 1045px;
}

.hidden {
  display: none;
}

.lang-he {
  direction: rtl;
}

a.languageToggle {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* loader */
.lds-ellipsis {
  display: block;
  margin: auto;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #016087;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(24px, 0);
  }
}