#txt-search {
  margin: 0 0 5px 5%;
  width: 300px;
}

.modal {
  z-index: 999;
  min-width: 600px;
  max-width: 600px;
  position: absolute;
  background-color: white;
  opacity: 0;
  left: 30%;
  left: -webkit-calc(50% - 300px);
  left: -moz-calc(50% - 300px);
  left: calc(50% - 300px);
  pointer-events: none;
  transition: opacity 300ms ease-in-out;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,.2);
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
}

.modal-title {
  text-align: center;
}

.modal ul {
  border: 2px solid #000;
  border-radius: 10px;
  background-color: #ddd;
  margin: 5px auto;
  padding: 0;
}

.modal ul li {
  list-style: none;
  display: inline-block;
  padding: 0 8px;
  text-align: center;
  border-right: 1px solid #000;
  margin: 0;
  cursor: pointer;
  width: 80px;
}
.modal ul li:last-child {
  border-right: 0;
}
.modal ul li.isSelected {
  font-weight: bold;
}

.widget-share-mode-wrapper {
  width: 260px;
  margin: 0 auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.modal-content {
  display:none;
  padding-bottom: 15px;
}
.modal-content.isVisible{
  display:block;
}

.modal-content {
  width: 90%;
  margin: 0 auto;
}

.modal-content h1, .modal-content h3{
  text-align: center;
  margin: 20px 0;
}

.modal-content label, .modal-content input, .modal-content textarea {
  width: 95%;
  margin: 5px 2.5%;
}

.modal-content input, .modal-content textarea {
  font-size: 12px;
  padding: 6px 12px;
  line-height: 1.4286;
  color: #555;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-content label {
  font-weight: bold;
  font-size: 14pt;
  line-height: 1.4286;
}

.modal-content input {
  height: 34px;
}

.modal-content input.invalid, .modal-content textarea.invalid {
  border: 1px solid red;
}

.buttons {
  margin: 0 10px 10px 0;
  float: right;
}

.widget-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4286;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  margin: 0 3px;
}

.widget-btn-cta {
  background-color: #3a99d8;
  color: white;
}

.isVisible {
  pointer-events: auto;
  opacity: 1 !important;
}

.widget-right {
  float: right;
  margin-right: 5%;
  width: 300px;
}

#tellafriend, #subscribe, #postajob {
  display: inline-block;
  cursor: pointer;
  min-width: 90px;
  padding: 4px;
  margin: 0 0 0 5px;
  text-align: center;
  vertical-align: middle;
}
#postajob{ margin-left: 0; }

.btn-widget a, .btn-widget a:hover, .btn-widget a:visited, .btn-widget a:active {
  text-decoration: none;
  color: white;
}

.widget-tab{
  padding: 5px;
  font-weight: bold;
  width: 150px;
  text-align: center;
  cursor: pointer;
  display: inline-block;
}
.widget-tab:first-child {
  margin-left: 5%;
}

.paginated{
  margin: 0 auto;
  width: 90%;
  font-size: 12pt;
}

.widget-row, .blog-widget-row, .widget-row-header{
  width:100%;
  float: left;
}

.widget-row:last-child, .blog-widget-row:last-child {
  border-bottom: 1px solid #000;
}

.widget-row:hover, .blog-widget-row:hover{
  background-color: #f0f0f0;
}

.cell {
  float: left;
  padding: 0 25px;
  margin: 25px 0;
  border-right: 1px solid #000;
  min-height: 50px;
  line-height: 0;
}

.cell-header{
  cursor: pointer;
  min-height: 0;
}

.cell p {
    line-height: 18px;
    margin: 0;
}

.cell:last-child {
  border-right: 0;
}

.icon{
  width: 10%;
}

.icon img{
  height: 40px;
  max-width: 40px;
  vertical-align: middle;
}

.title{
  width: 30%;
}
.title p:first-child {
  text-decoration: underline;
  line-height:20px;
}
.title p:last-child {
  font-size: 10pt;
  padding-top: 5px;
}

.location{
  width: 27%;
}

.startdate{
  width: 24%;
}

.blog-title {
  width: 75%;
}
.blog-title p:first-child {
  text-decoration: underline;
}
.blog-title p:last-child {
  font-size: 10pt;
  margin-top: 10px;
}
.blog-posted {
  width: 25%;
  font-size: 10pt;
}
.blog-posted p:last-child {
  font-size: 12pt;
  margin-top: 8px;
}

.btn-widget{
  width: 20%;
  max-width: 100px;
  background-image: none;
  padding: 1px 6px;
  border: 2px;
  border-radius: 2px;
  height: 30px;
  margin-top: 5px;
}

.btn-disabled {
  opacity: 0.3;
}

.widget-error {
  text-align:center;
  font-weight:bold;
  font-size:14pt;
}
.hide {
  display:none;
}

.pages {
  margin-top: 5px;
  text-align: center;
}

.widget-footer {
  font-style: italic;
  font-weight: bold;
  text-align: right;
  padding-top: 4px;
  margin-right:5%;
}

.mobile-sort-select { display: none; }

.social-buttons, .buttons-wrapper {
  width: 358px;
  float: right;
}
.twitter iframe {
  margin-bottom: 0;
}

.fb_iframe_widget span {
  width: 500px !important;
}

/* Mobile */
@media (max-width: 1200px) {
  .paginated {
    width: 100%;
  }
  .widget-row-header { display: none !important; }
  .mobile-sort-select {
    display: block;
    width: 100%;
    margin: 0 auto;
    line-height: 30px;
    height: 30px;
  }
    .widget-footer {
      text-align: center;
      margin-right: 0;
    }
    .cell.icon {
        width: 50px;
        margin-left: 0;
        float: left;
    }
    .cell {
        display: block;
        float:none;
        padding: 0;
        min-height: 10px;
        margin: 0 0 10px 50px;
        border-right: 0;
        width: 80%;
        line-height: 18px;
        font-size: 18px;
    }
    .widget-row, .blog-widget-row, .widget-row-header{
      float:none;
      display:inline-block;
      padding: 10px;
    }
    #txt-search {
      margin: 10px 0 3px 0;
      width: 100%;
    }
    .location, .startdate {
      font-size: 10pt;
    }
    .widget-tab{
      width:100%;
      margin: 10px 0 0 0;
    }
    .widget-tab:first-child {
      margin-left: 0;
    }
    .widget-right {
      float: left;
      margin-bottom: 5px;
    }
    #tellafriend, #subscribe, #postajob {
      float: none;
    }
    .modal {
      position: absolute;
      min-width: 0;
      max-width: 100%;
      left:0;
      right:0;
    }
    .top-section-wrapper {
    }
    .buttons-wrapper, .social-buttons {
      width: 100%;
      text-align: center;
      float: none;
      margin-top: 10px;
    }
    .social-buttons {
      text-align: left;
    }
}

