@charset "UTF-8";

@import url(https://fonts.googleapis.com/css?family=Assistant:400,600);

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  #masthead {
  padding: 0;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .title-cointainer {
  width: 45%;
  margin: 0 auto;
  margin-top: 160px;
  margin-top: 10rem;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .title-cointainer
  h1.entry-title {
  display: none;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .title-cointainer
  h2 {
  display: none;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  #menu-subheader {
  height: 110px;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .feature-image-container {
  display: block;
  background-repeat: no-repeat;
  overflow: hidden;
  float: left;
  max-width: 100%;
  height: auto;
  width: 100%;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-color: #eff4f7;
  position: relative;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: right;
  justify-content: right;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .feature-image-container
  .search-wrap {
  max-width: 100%;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .feature-image-container
  .search-wrap
  a {
  position: absolute;
  display: inline-block;
  width: 180px;
  left: 0;
  right: 0;
  top: 35px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 30px;
  cursor: pointer;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .logo-container {
  position: absolute;
  right: 0;
  top: 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .logo-container
  h2 {
  font-family: south;
  font-weight: 200;
  font-size: 1.2rem;
  color: #333;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #header
  .logo-image {
  width: 70px;
  margin: 0;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #content-box
  > #content-container-masorot {
  margin: 17rem auto;
  overflow: visible;
  width: 100%;
}

body.page-template.page-template-masorot.page-template-masorot-php #content {
  width: 100%;
}

body.page-template.page-template-masorot.page-template-masorot-php
  #content
  .type-page.status-publish.hentry {
  padding-bottom: 90px;
}

body.page-template.page-template-masorot.page-template-masorot-php
  .entry-content {
  background-color: #f6fafd;
  width: 100%;
}

body.page-template-masorot.page-template-masorot-php
  #content-container
  #content {
  margin: auto;
  margin-top: 4rem;
}

body.page-template-masorot.page-template-masorot-php
  #content-container
  #content
  #copyright {
  margin-top: 2rem;
}

body.page-template-masorot.page-template-masorot-php
  header#masthead
  .search-block
  .site-banner {
  margin-top: 1rem;
  max-height: 390px;
}

body.page-template-masorot.page-template-masorot-php
  header#masthead
  .search-block
  .site-banner
  .banner-area {
  overflow: hidden;
  margin-top: 1.4rem;
}

/* body.page-template-masorot.page-template-masorot-php
  #content-container-masorot {
  margin-top: 16rem;
} */

#masorot-container {
  font-size: 16px;
  color: #0f526c;
  margin: 0 auto;
  padding: 0 20rem;
  width: 100%;
  background: #eff4f7;
}

#masorot-form {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  width: 815px;
  width: 50.9375rem;
  margin: 0 auto;
  margin-bottom: 32px;
  margin-bottom: 2em;
}

#masorot-form button#mobile-search-haklatot {
  display: none;
  width: 50%;
}

#masorot-form button#search-haklatot {
  outline: 0;
  width: 115px;
  width: 7.1875rem;
  height: 115px;
  height: 7.1875rem;
  box-sizing: border-box;
  background-image: url(../../assets/images/haklatot-btn.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

#masorot-form button#search-haklatot:focus,
#masorot-form button#search-haklatot:hover {
  border: 2px solid #c6e0eb;
  border-width: 4px;
}

#masorot-form button#clear-form {
  outline: 0;
  background-image: url(../../assets/images/bin-icon-word.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90px;
  background-color: #eff4f7;
  border-radius: 8px;
  width: 120px;
  height: 50px;
  box-sizing: border-box;
  cursor: pointer;
}

#masorot-form button#clear-form:focus {
  border-color: #c6e0eb;
  border-width: 4px;
}

button#about-btn {
  outline: 0;
  background-image: url(../../assets/images/Q-mark-words.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 90px;
  background-color: #eff4f7;
  border-radius: 8px;
  box-sizing: border-box;
  height: 50px;
  width: 120px;
  cursor: pointer;
}

button#about-btn:focus {
  border-color: #c6e0eb;
  border-width: 4px;
}

button#about-btn-mobile {
  position: absolute;
  background-color: #d2282f;
  color: #fff;
  border: 0;
  outline: 0;
  font-size: 18.5px;
  font-family: Assistant;
  border-width: 2px;
  border-style: outset;
  border-color: buttonface;
  width: 31px;
  height: 31px;
  border-radius: 6px;
  left: 25px;
  top: 5px;
  cursor: pointer;
  display: none;
}

div#haklatot-results {
  min-width: 330px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  /* position: relative; */
}

div#haklatot-results .spinner {
  height: 100px;
  width: 100px;
  position: relative;
  display: block;
  right: 40%;
}

div.buttons-container {
  display: -webkit-box;
  display: flex;
}

.buttons-container#clear-about-btn-container {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-pack: justify;
  justify-content: space-between;
  margin-right: 15px;
}

#masorot-container #about-modal-content {
  max-height: -webkit-max-content;
  max-height: -moz-max-content;
  max-height: max-content;
  height: 80vh;
  position: absolute;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  overflow-y: auto;
}

#results-form {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

#results-form input,
#results-form p {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #0f526c;
  font-family: Assistant;
  font-weight: 800;
}

#results-form div.tirgum-haklatot-checkbox {
  display: flex;
  align-items: center;
}

#results-form div.tirgum-haklatot-checkbox label {
  color: #0f526c;
  font-family: Assistant;
  font-weight: 800;
}

#results-form div.tirgum-haklatot-checkbox input#haklatot-checkbox {
  height: 15px;
  width: 15px;
  top: 5px;
  outline: 0;
  /* background-image: url(../images/checkbox.png); */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-right: 10px;
}

#results-form div.tirgum-haklatot-checkbox input#haklatot-checkbox:focus {
  box-shadow: #adceea 0 0 10px 2px;
}

#results-table {
  border-collapse: collapse;
  width: 100%;
  /* border: solid 5px transparent; */
  outline: 0;
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#results-table:focus {
  /* border: solid 5px #c6e0eb; */
  border-radius: 20px;
}

#results-table tbody {
  background-color: #fff;
}

#results-table tbody tr {
  cursor: pointer;
}

#results-table tbody tr:hover {
  /* transition: 0.1s ease-in-out; */
  background-color: #c6e0eb;
}

#results-table tbody tr:active {
  background-color: #518094;
}

#results-table tbody tr:active td {
  color: #fff;
}

#results-table tbody tr:focus {
  background-color: #c6e0eb;
  outline: 0;
}

#results-table span.haklata-bullet {
  background-image: url(../../assets/images/bullet-headphoned.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 10px;
  margin-left: 10px;
}

#results-table td {
  padding: 4px 10px;
  font-family: Assistant;
  font-weight: 400;
  color: #0f526c;
  min-width: 200px;
}

#results-table td:first-child {
  font-family: Assistant;
  font-weight: 600;
  height: 100%;
}

#results-table div.th-container {
  /* display: -webkit-box; */
  padding: 12px 9px;
  display: flex;
  align-items: center;
  height: 30px;
}

#results-table thead tr:first-child {
  background-color: #c6e0eb;
}

#results-table thead tr:first-child th {
  font-family: south;
  font-weight: 300;
  font-size: 1rem;
  color: #0b3f50;
}

#results-table thead tr:first-child th .arrow {
  color: #9fa1a1;
  font-size: 25px;
  margin-right: 5px;
  /* -webkit-user-select: none; */
  /* -moz-user-select: none; */
  /* -ms-user-select: none; */
  user-select: none;
}

#results-table thead tr:first-child th .arrow.asc,
#results-table thead tr:first-child th .arrow.desc {
  color: #333;
}

#results-table thead tr:first-child th:first-child {
  border-top-right-radius: 10px;
}

#results-table thead tr:first-child th:last-child {
  border-top-left-radius: 10px;
}

#results-table tbody tr.highlighted {
  background-color: #daeaf3;
}

#results-table td,
#results-table th {
  border: 0;
}

#results-table tbody tr td {
  /* display: flex; */
  /* flex-direction: row; */
  /* align-items: center; */
  height: 40px;
}

.masorot-form-container {
  height: 115px;
  height: 7.1875rem;
  width: 550px;
  width: 34.375rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

.masorot-form-element {
  display: -webkit-box;
  display: flex;
  height: 33px;
  height: 2.0625rem;
}

.masorot-form-element input[type="text"],
.masorot-form-element select {
  outline: 0;
  font-size: inherit;
  border-radius: 4px;
  margin: 0 2px;
  -webkit-box-flex: 1;
  flex: 1;
  color: #0f526c;
  font-family: Assistant;
  font-weight: 400;
  border: 2px solid #daeaf3;
  background-color: #fff;
}

.masorot-form-element input[type="text"]:disabled,
.masorot-form-element select:disabled {
  background-color: #eff4f7;
}

.masorot-form-element input[type="text"]:focus,
.masorot-form-element select:focus {
  border-color: #c6e0eb;
  border-width: 4px;
}

.masorot-form-element input::-webkit-input-placeholder {
  color: #0f526c;
}

.masorot-form-element input::-moz-placeholder {
  color: #0f526c;
}

.masorot-form-element input:-ms-input-placeholder {
  color: #0f526c;
}

.masorot-form-element input::-ms-input-placeholder {
  color: #0f526c;
}

.masorot-form-element input::placeholder {
  color: #0f526c;
}

.autocomplete-container {
  -webkit-box-flex: 1;
  flex: 1;
  position: relative;
  margin: 0 2px;
  height: 33px;
  height: 2.0625rem;
}

.autocomplete-container ul.masorot-autocomplete {
  list-style: none;
  background-color: #fff;
  position: absolute;
  border: solid 1px #000;
  z-index: 99;
  width: 100%;
  top: 100%;
  box-sizing: border-box;
  margin: 0 !important;
}

.autocomplete-container ul.masorot-autocomplete:hover {
  cursor: pointer;
}

.autocomplete-container ul.masorot-autocomplete li {
  padding-right: 4px;
  outline: 0;
}

.autocomplete-container ul.masorot-autocomplete li:focus,
.autocomplete-container ul.masorot-autocomplete li:hover {
  background-color: #c6e0eb;
}

.autocomplete-container #masran {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

.autocomplete-container #masran::-webkit-input-placeholder {
  color: #c3c3c3;
}

.autocomplete-container #masran::-moz-placeholder {
  color: #c3c3c3;
}

.autocomplete-container #masran:-ms-input-placeholder {
  color: #c3c3c3;
}

.autocomplete-container #masran::-ms-input-placeholder {
  color: #c3c3c3;
}

.autocomplete-container #masran::placeholder {
  color: #c3c3c3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: auto;
}

#masorot-container .modal-content {
  position: absolute;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-pack: justify;
  justify-content: space-between;
  background-color: #fff;
  left: 0;
  right: 0;
  margin: 0 auto;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  top: 50%;
  padding: 2rem;
  width: 90%;
  border: 2px solid #daeaf3;
  border-radius: 10px;
  height: 72%;
  min-width: 250px;
  max-width: 1300px;
}

#masorot-container .modal-content h2,
#masorot-container .modal-content h3,
#masorot-container .modal-content h4,
#masorot-container .modal-content p {
  margin: 0;
  padding: 0;
}

#masorot-container .modal-content .modal-row-container {
  width: 100%;
  margin: 0 auto;
}

#masorot-container .modal-content .modal-inner-container {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  height: 91%;
}

#masorot-container .modal-content #modal-title-container {
  border: 2px solid #eff4f7;
  border-radius: 10px;
  padding: 0 16px;
  padding: 0 1rem;
  box-sizing: border-box;
  margin-bottom: 15px;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  overflow-y: auto;
}

#masorot-container .modal-content #modal-title-container h3 {
  color: #0f526c;
  font-family: Assistant;
  font-weight: 600;
  font-size: 18px;
  font-size: 1.125rem;
}

#masorot-container
  .modal-content
  #modal-title-container
  span.title-name-origin {
  font-weight: 700;
}

#masorot-container .modal-content .text-container {
  background-color: #eff4f7;
  border-radius: 10px;
  color: #0f526c;
  margin-left: 20px;
  padding: 10px;
}

#masorot-container .modal-content .text-container div.text-block {
  font-family: arial;
  overflow-y: auto;
  direction: rtl;
  text-align: right;
  padding-right: 20px;
  height: 90%;
}

#masorot-container
  .modal-content
  .text-container
  div.text-block
  span.pasuk-num {
  display: flex;
  align-items: center;
  margin-left: 10px;
  font-size: 16px;
  font-family: arial;
  font-weight: 100;
}

#masorot-container .modal-content #kria-text {
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  -webkit-box-ordinal-group: 2;
  order: 1;
  height: calc(65% - 7.5px);
  box-sizing: border-box;
  margin: 0;
  width: calc(77% - 7.5px);
  margin-left: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}

#masorot-container .modal-content #kria-text h4 {
  font-family: Assistant;
  font-size: 18px;
  color: #0f526c;
  padding-right: 19px;
  font-weight: 600;
  margin-bottom: 8px;
}

#masorot-container .modal-content #kria-text h4 span.sefer-name {
  font-weight: 800;
  font-size: 18px;
}

#masorot-container .modal-content #kria-text .pasuk {
  /* margin-bottom: 5px; */
  display: flex;
  /* align-items: center; */
}

#masorot-container .modal-content #kria-text .pasuk span.pasuk-text {
  font-size: 18px;
  font-family: arial;
}

#masorot-container .modal-content img#masran-photo {
  background-color: #eff4f7;
  border: 2px solid #0f526c;
  border-radius: 10px;
  display: inline-block;
  -webkit-box-ordinal-group: 3;
  order: 2;
  box-sizing: border-box;
  width: calc(23% - 7.5px);
  height: calc(65% - 7.5px);
  margin-bottom: 15px;
  -o-object-fit: cover;
  object-fit: cover;
}

#masorot-container .modal-content div#masran-info {
  background-color: #0f526c;
  border-radius: 10px;
  height: calc(35% - 7.5px);
  width: calc(50% - 7.5px);
  display: inline-block;
  padding: 10px;
  box-sizing: border-box;
  -webkit-box-ordinal-group: 5;
  order: 4;
  margin: 0;
  color: #fff;
  overflow-y: auto;
}

#masorot-container .modal-content div#masran-info .name {
  font-size: 1.2rem;
  color: #fff;
  font-family: Assistant;
  font-weight: 600;
  margin-right: 8px;
}

#masorot-container .modal-content div#masran-info .bio {
  font-size: 16px;
  font-family: Assistant;
  padding: 0 8px;
}

#masorot-container .modal-content .modal-row-container {
  display: -webkit-box;
  display: flex;
}

#masorot-container .modal-content .audio-player {
  position: relative;
  box-sizing: border-box;
  width: calc(50% - 7.5px);
  height: calc(35% - 7.5px);
  background: #eff4f7;
  color: #003ba9;
  font-family: verdana;
  font-size: 1rem;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: space-evenly;
  justify-content: space-evenly;
  border-radius: 10px;
  -webkit-box-ordinal-group: 4;
  order: 3;
  margin: 0;
  margin-left: 15px;
}

#masorot-container .modal-content .audio-player .slider {
  /* -webkit-appearance: none; */
  direction: ltr;
  width: 250px;
  background-color: inherit;
  cursor: pointer;
}

#masorot-container
  .modal-content
  .audio-player
  .slider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  width: 250px;
  height: 5px;
  background-color: #0f526c;
  border: none;
  border-radius: 50px;
}

#masorot-container .modal-content .audio-player .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 12px;
  width: 16px;
  border-radius: 40%;
  background-color: #fff;
  border: 2px solid #367c98;
  margin-top: -3px;
}

#masorot-container .modal-content .audio-player .slider:focus {
  outline: 0;
}

#masorot-container
  .modal-content
  .audio-player
  .slider:active::-webkit-slider-runnable-track {
  background-color: #c6e0eb;
}

#masorot-container .modal-content .audio-player .slider::-moz-range-thumb {
  height: 12px;
  width: 16px;
  border-radius: 40%;
  background-color: #fff;
  border: 2px solid #367c98;
  margin-top: -3px;
}

#masorot-container .modal-content .audio-player .slider::-moz-range-track {
  width: 250px;
  height: 5px;
  background-color: #0f526c;
  border: none;
  border-radius: 50px;
}

#masorot-container
  .modal-content
  .audio-player
  .slider:focus::-moz-range-track {
  outline: 0;
}

#masorot-container
  .modal-content
  .audio-player
  .slider:active::-moz-range-track {
  background-color: #c6e0eb;
}

#masorot-container .modal-content .audio-player .slider::-ms-track {
  cursor: pointer;
  background: 0 0;
  border-color: transparent;
  color: transparent;
}

#masorot-container
  .modal-content
  .audio-player
  .slider
  input[type="range"]::-ms-thumb {
  height: 12px;
  width: 16px;
  border-radius: 40%;
  background-color: #fff;
  border: 2px solid #367c98;
  margin-top: -3px;
}

#masorot-container .modal-content .audio-player .play-controls {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  width: 180px;
  -webkit-box-align: center;
  align-items: center;
}

#masorot-container .modal-content .audio-player .time-controls {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: end;
  align-items: flex-end;
  -webkit-box-pack: center;
  justify-content: center;
  padding: 10px 0;
  position: relative;
  top: 14%;
}

#masorot-container
  .modal-content
  .audio-player
  .time-controls
  .times-container {
  margin: 10px;
  cursor: default;
}

#masorot-container .modal-content .audio-player .btn-play-pause {
  background-image: url(../../assets/images/play-button.png);
  background-size: contain;
  background-position: center;
  padding: 50px;
  background-color: rgba(0, 0, 0, 0);
  border: 0;
  outline: 0;
  cursor: pointer;
}

#masorot-container .modal-content .audio-player .btn-stop {
  background-image: url(../../assets/images/stop-button.png);
  background-size: contain;
  background-position: center;
  padding: 32px;
  background-color: rgba(0, 0, 0, 0);
  border: 0;
  outline: 0;
  cursor: pointer;
}

#masorot-container .modal-content .audio-player .unit-id {
  position: absolute;
  bottom: 0;
  right: 7px;
  font-family: Assistant;
  font-size: 1rem;
  font-weight: 500;
}

#masorot-container .modal-content .closeBtn {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 24px;
  font-size: 1.5em;
  line-height: 0.4;
  text-align: center;
  padding: 5px;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  color: #fff;
  background-color: #0f526c;
  border-radius: 50%;
  cursor: pointer;
}

#masorot-container .modal-content #about-main-row {
  height: 100%;
}

#masorot-container .modal-content #about-main-row div.about-img-container {
  width: 280px;
  float: left;
  margin-right: 15px;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
}

#masorot-container .modal-content #about-main-row img {
  width: auto;
  height: auto;
  max-width: 100%;
  border-radius: 8px 8px 0 0;
  border: solid 2.5px #0f526c;
  border-bottom: none;
  box-sizing: border-box;
}

#masorot-container .modal-content #about-main-row p.about-img-desc {
  width: 100%;
  text-align: center;
  font-family: Assistant;
  font-weight: 600;
  color: #fff;
  font-size: 0.8rem;
  background-color: #0f526c;
  border-radius: 0 0 8px 8px;
  line-height: 2.2;
}

#masorot-container .modal-content #about-main-row .text-block p {
  height: 100%;
  font-family: Assistant;
}

#masorot-container
  .modal-content
  #about-main-row
  .text-block
  span.text-beginning {
  font-family: "Assistant", Arial, Helvetica, sans-serif !important;
  font-weight: 800;
  font-size: 1.3rem;
}

div#copyright {
  /* position: absolute; */
  bottom: 0;
}

div#copyright p {
  margin: 0;
}

div#copyright span.rec-copyright {
  font-family: Assistant;
  color: #525252;
  font-size: 15px;
  font-weight: 600;
}

div#copyright span.text-copyright {
  font-family: Assistant;
  color: #525252;
  font-size: 13px;
  font-weight: 400;
}

div#copyright a {
  font-family: Assistant;
  color: #d22a30;
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
}

/* @media screen and (min-width: 1515px) {
  body.page-template.page-template-masorot.page-template-masorot-php
    #header
    .feature-image-container
    .search-wrap
    a {
    padding: 60px 30px;
    top: 10px;
  }
} */

/* @media screen and (max-height: 760px) and (max-width: 1270px) {
  #masorot-container .modal-content .audio-player,
  #masorot-container .modal-content div#masran-info {
    height: calc(45% - 7.5px);
  }

  #masorot-container .modal-content #kria-text,
  #masorot-container .modal-content img#masran-photo {
    height: calc(55% - 7.5px);
  }
} */

@media screen and (max-width: 1450px) {
  #masorot-container .modal-content #kria-text {
    width: calc(72% - 7.5px);
  }

  #masorot-container {
    padding: 0 5rem;
  }

  #masorot-container .modal-content img#masran-photo {
    width: calc(28% - 7.5px);
  }
}

@media screen and (max-width: 1270px) {
  #content-container-masorot {
    margin: 0 auto;
    max-width: 800px;
    margin: 0;
    margin-top: 8rem;
  }

  #masorot-container .modal-content #audio-player {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
  }

  #masorot-container .modal-content #audio-player .play-controls {
    justify-content: space-around;
    margin: 15px auto 0;
  }

  #masorot-container .modal-content #audio-player .btn-play-pause {
    padding: 45px;
  }

  #masorot-container .modal-content #audio-player .btn-stop {
    padding: 28px;
  }

  #masorot-container .modal-content #audio-player .time-controls {
    top: 0;
    margin: 0 auto;
    padding: 0;
  }

  #masorot-container .modal-content #audio-player .times-container {
    font-size: 0.9rem;
    margin: 0;
    margin-top: 5px;
    height: 1rem;
    display: -webkit-box;
    display: flex;
  }
}

/* @media screen and (max-width: 1160px) {
  #masorot-container .modal-content #kria-text {
    width: calc(66% - 7.5px);
  }

  #masorot-container .modal-content img#masran-photo {
    width: calc(34% - 7.5px);
  }
} */

@media screen and (max-width: 1024px) {
  #header #access {
    height: 0;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    #header
    .logo-container
    h2 {
    display: none;
  }

  #masorot-container {
    margin-top: 0;
  }

  #masorot-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  div#copyright {
    bottom: 40px;
    line-height: 1.4;
  }

  div#copyright p {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
  }
}

@media screen and (max-width: 840px) {
  body.page-template.page-template-masorot.page-template-masorot-php
    #header
    .feature-image-container {
    background-image: url(../images/banner-masorot-mobile-260.png) !important;
    background-size: cover;
    min-height: 200px;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    #header
    .feature-image-container
    .search-wrap
    a {
    top: 10px;
    padding: 45px 20px;
  }

  div#results-form {
    max-width: 100%;
    margin: 0 5px;
    font-size: 13px;
  }

  div#results-form input,
  div#results-form p {
    font-weight: 600;
  }

  div#results-form .tirgum-haklatot-checkbox label {
    font-weight: 600;
  }

  button#about-btn-mobile {
    display: inline-block;
  }

  #content-container-masorot {
    max-width: 300px;
  }

  #masorot-form {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    width: 310px;
  }

  #masorot-form button#search-haklatot {
    border-style: outset;
    height: 32px;
    width: 65%;
    margin-left: 4px;
    border-radius: 5px;
    border-color: buttonface;
    background-color: #0f526c;
    color: #fff;
    font-size: 13px;
    font-family: south;
    font-weight: 300;
    border-top-color: #778c94;
    background-image: none;
  }

  #masorot-form button#search-haklatot:after {
    content: "חיפוש";
  }

  #masorot-form button#clear-form {
    border-radius: 5px;
    color: #0b3f50;
    background-color: #c6e0eb;
    background-image: none;
    font-family: south;
    font-weight: 300;
    outline: 0;
    width: 100%;
    box-sizing: border-box;
    height: 32px;
    font-size: 13px;
    margin: 0;
    cursor: pointer;
  }

  #masorot-form button#clear-form:after {
    content: "נקה חיפוש";
  }

  #masorot-form button#about-btn {
    display: none;
  }

  #masorot-form .buttons-container#clear-about-btn-container {
    margin: 0;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    width: 33%;
  }

  #masorot-form #sefer {
    max-width: 100px;
  }

  #masorot-form .masorot-form-container {
    width: 310px;
    font-size: 15px;
  }

  #masorot-form .buttons-container {
    -webkit-box-pack: justify;
    justify-content: space-between;
    margin: 8px 2px 0;
  }

  #results-table thead {
    display: none;
  }

  #results-table tr {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    /* border-bottom: solid 20px #f6fafd; */
    padding: 15px 9px 21px 9px;
  }

  #results-table td {
    width: 88%;
  }

  #results-table td:first-child {
    font-weight: 800;
  }

  #results-table td:not(:first-child) {
    margin-right: 30px;
  }

  #results-table td:last-child {
    width: 88%;
  }

  #masorot-container .modal-content {
    padding: 20px;
    height: 86%;
    width: calc(100% - 80px);
  }

  #masorot-container .modal-content .modal-inner-container {
    height: 90%;
  }

  #masorot-container .modal-content #modal-title-container {
    height: 10%;
    margin-bottom: 0;
  }

  #masorot-container .modal-content #modal-title-container h3 {
    font-size: 0.8rem;
    line-height: 1.45;
    width: 100%;
  }

  #masorot-container .modal-content #audio-player {
    -webkit-box-ordinal-group: 2;
    order: 1;
    height: 24%;
    width: 100%;
    margin-left: 0;
    margin-top: 10px;
    margin-bottom: 10px;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
  }

  #masorot-container .modal-content #audio-player .play-controls {
    margin: auto;
  }

  #masorot-container .modal-content #audio-player .time-controls {
    top: 9%;
  }

  #masorot-container .modal-content article#kria-text {
    -webkit-box-ordinal-group: 3;
    order: 2;
    width: 100%;
    margin-left: 0;
    height: calc(60% - 20px);
    margin-bottom: 10px;
    padding-bottom: 20px;
  }

  #masorot-container .modal-content img#masran-photo {
    -webkit-box-ordinal-group: 4;
    order: 3;
    height: 16%;
    width: 30%;
    margin-left: 10px;
  }

  #masorot-container .modal-content div#masran-info {
    height: 16%;
    width: calc(70% - 10px);
    padding: 5px;
    padding-right: 10px;
  }

  #masorot-container .modal-content div#masran-info .name {
    font-size: 1rem;
  }

  #masorot-container .modal-content div#masran-info .bio {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    #header
    button#about-btn {
    width: 31px;
    height: 31px;
    border-radius: 6px;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    #header
    button#about-btn:after {
    content: "?";
  }

  div#copyright a,
  div#copyright span.text-copyright {
    font-size: 11px;
  }

  div#copyright span.rec-copyright {
    font-size: 13px;
  }
}

@media screen and (max-width: 635px) {
  #masorot-container .modal-content #about-main-row div.about-img-container {
    width: 100%;
    margin: 0 auto 15px;
  }

  #masorot-container .modal-content #audio-player div.play-controls {
    width: 120px;
  }

  #masorot-container .modal-content #audio-player .btn-play-pause {
    padding: 35px;
  }

  #masorot-container .modal-content #audio-player .btn-stop {
    padding: 20px;
  }

  #masorot-container .modal-content #audio-player input#seekbar {
    width: 120px;
  }

  #masorot-container
    .modal-content
    #audio-player
    input#seekbar::-moz-range-track,
  #masorot-container
    .modal-content
    #audio-player
    input#seekbar::-webkit-slider-runnable-track {
    width: 120px;
  }

  #masorot-container .modal-content #audio-player div.times-container {
    font-size: 12px;
  }
}

@media screen and (max-width: 520px) {
  body.page-template.page-template-masorot.page-template-masorot-php
    .search-block {
    margin: 0 !important;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    .entry-content
    #masorot-container
    #haklatot-results
    table#results-table
    tbody
    td:empty {
    display: none;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    .site-banner {
    height: 100px;
    margin: 0 !important;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    .site-banner
    .banner-area
    a
    img {
    height: 110px;
    object-fit: cover;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    #header
    .feature-image-container {
    min-height: 180px;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    #content-container-masorot {
    max-width: 100%;
    margin-top: 120px !important;
  }

  body.page-template.page-template-masorot.page-template-masorot-php
    #masorot-container {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 0.5rem;
  }
}
