/*Layouts css goes here*/

.flex-row,
.row.flex-row {
  display: flex;
  flex-direction: row;
  margin: 0;
}

.flex-col {
  float: none;
  padding: 0 3px 6px;
}

.no-image img {
  display: none;
}

#news-archive .col-sm-3 {
  padding: 0;
}

#people-archive .col-sm-12 {
  margin: 0;
  padding: 0;
}

.post-type-archive-people .content-area .container,
.post-type-archive-workplace .content-area .container {
  padding: 0;
}

.bulletin-template-default .page-header-title {
  display: none;
}

h1 {
  margin: 0 0 0.7em;
}

h2.bulletin-title {
  color: #D2323A;
}

.single-workplace.single .entry-title {
  font-size: 24px;
  padding: 10px 0 30px 15px;
  margin: 0;
  border-bottom: none;
  letter-spacing: 0.6px;
}

.single-workplace .page-header {
  display: none;
}

#workplace-page {
  background: #F4F1EC;
  margin: 0 -30px;
  padding-bottom: 30px;
  position: relative;
  overflow: hidden;
}

#workplace-page .row {
  margin: 0;
}

#workplace-page .row.workplace-people {
  margin-left: -15px;
  margin-right: -15px;
}

#workplace-page h2 {
  display: inline-block;
  font-size: .9em;
  margin-bottom: .75em;
}

#workplace-info {
  overflow: hidden;
  padding-right: 0;
  position: relative;
}

#workplace-info::after {
  content: "";
  position: relative;
  display: block;
  border-top: 21px solid #fff;
  border-right: 34vw solid transparent;
  bottom: 21px;
  margin: 0 -20px;
}

#workplace-info .col-sm-12,
#workplace-info .col-sm-12.workplace-custom {
  padding: 0 3rem; 
}

#workplace-info .workplace-image .col-sm-12 {
  padding: 0;
}

.workplace-image {
  background: #fff;
  border-top: 4px solid #D2323A;
  padding: 1.5vw;
  margin-top: 15px;
}

.workplace-image img {
  display: table;
  margin: 0 auto;
  float: none;
  padding: 2em;
}

.workplace-description {
  background: #fff;
  font-size: .9em;
  line-height: 1.5em;
}

.workplace-url {
  background: #fff;
}

.column-pad {
  padding: 2rem;
}


.margin-bottom,
#workplace-page .margin-bottom {
  margin-bottom: 2rem;
}

#workplace-bulletins div div {
  margin: 2rem;
  text-align: center;
  font-size: .9em;
}

#workplace-bulletins ul {
  margin: 15px 0;
  padding: 0;
}

#workplace-bulletins li {
  list-style-type: none;
  list-style-image: none;
  background-image: url(/wp-content/uploads/2018/02/icon_bulletins-1.svg);
  background-position: 2px 1em;
  background-repeat: no-repeat;
  background-size: 2em;
  padding: 1em 0 0em 5rem;
  border-bottom: 1px solid #fff;
}

#workplace-bulletins li h3 {
  font-size: 15px;
}

#workplace-page .workplace-custom {
  background: #FFF;
  margin: 0 0 2rem;
}

#workplace-page .workplace-custom .col-sm-12 {
  padding: 0 3rem;
}

#workplace-docs {
  padding: 2rem 2rem 5rem;
  background: #0076BC;
  color: #fff;
}

#workplace-docs::after {
  content: "";
  position: relative;
  display: block;
  border-top: 22px solid #0076BC;
  border-right: 34vw solid transparent;
  bottom: -72px;
  margin: 0 -20px;
}

#workplace-docs ul {
  margin: 0;
}

#workplace-docs li {
  list-style-type: none;
  list-style-image: none;
  margin-bottom: 1.4rem;
}

#workplace-docs a {
  color: #fff;
  background-image: url('/wp-content/uploads/2018/02/documents_white.svg');
  background-repeat: no-repeat;
  background-position: 100%;
  background-size: 1.4rem;
  padding-right: 24px;
}

#workplace-docs a:hover {
  text-decoration: underline;
}

#workplace-docs .ca-section a:hover {
  background-image: url('/wp-content/uploads/2018/02/documents.svg');
  text-decoration: none;
}

#workplace-docs h3 {
  color: #fff;
  margin: 90px 20px 20px;
  text-align: center;
}

#workplace-docs h3::before {
  content: '';
  display: inline-block;
  background-color: #F4F1EC;
  background-image: url('/wp-content/uploads/2018/02/documents.svg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 4rem;
  border-radius: 50%;
  margin: 0 auto;
  padding: 4rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 4rem;
}

#workplace-docs .ca-section h3::before {
  background-image: url('/wp-content/uploads/2018/02/icon_collective_agrements.svg');
  background-size: 5.5rem;
}

.ca-section {
  margin-bottom: 2rem;
}

.ca-section ul {
  margin: 0 0 2rem;
}
.ca-section li {
  list-style-image: none;
  list-style-type: none;
}

#workplace-docs .ca-section li a {
  background-color: #D2323A;
  background-repeat: no-repeat;
  background-position: 1.4rem;
  background-size: 1.9rem;
  border-radius: 0;
  border: 2px solid #fff;
  display: block;
  padding: 1em 1rem 1em 3.3em;
  font-size: 1.5rem;
  font-weight: 600;
}

#workplace-docs .ca-section li a:hover {
  background-color: #fff;
  color: #005E96;
}

#workplace-bottom::before {
  content: "";
  position: relative;
  width: 0;
  border-bottom: 60px solid #fff;
  border-left: 100vw solid transparent;
  top: -60px;
  left: -20px;
}

#workplace-bottom a[href$=".pdf"],
#workplace-bottom a[href$=".doc"]{
  background-image: url('/wp-content/uploads/2018/02/documents.svg');
  background-repeat: no-repeat;
  background-position: 100%;
  background-size: 1.3rem;
  padding-right: 30px;
}

#workplace-bottom .col-sm-12 {
  padding: 0 3rem;
}

@media only screen and (max-width: 900px){
  #workplace-info  {
    width: 100%;
    background: #fff;
    border-top: 4px solid #D2323A;
   }
  #workplace-info .row {
    width: 70%;
    float: left;
  }
  #workplace-info .row.workplace-image {
    border: none;
    width: 30%;
  }
  #workplace-info .workplace-image img {
  	padding: 0;
  }
  #workplace-info .col-sm-12 {
    padding: 3rem;
  }
  #workplace-info .workplace-url .col-sm-12 {
    padding: 0 3rem;
  }
  #workplace-info .row.workplace-url {
    border-top: 1px solid #efefef;
    clear: both;
    float: none;
    font-size: .9em;
  	width: 70%;
    margin: 1rem auto;
    padding: 1rem;
  }
  .work-url {
    text-align: center;
  }
  #workplace-info .workplace-url img {
    float: left;
    margin-right: 1em;
  }
  #workplace-info::after {
  	display: none;
  }
  #workplace-middle, #workplace-docs {
    width: 50%;
  }
  #workplace-docs:after {
    display: none;
  }
}

@media only screen and (max-width: 768px){
  #workplace-middle, #workplace-docs {
    width: 100%;
  }
  #workplace-docs h3::before {
  	top: -9rem;
  }
  .workplace-people .row {
    display: flex;
  }
  .workplace-people .row .col-sm-6 {
    flex-basis: 50%;
  }
  #workplace-bottom::before {
    display: none;
  }
  .single-workplace .page-header {
    display: block;
  }
  .site-breadcrumbs {
    display: block;
  }
  .single-workplace.single .entry-title {
    padding: 0 0 20px;
  }
}

@media only screen and (max-width: 500px){
  #workplace-info .row.workplace-image {
    width: 100%;
    padding: 4vw;
  }
  #workplace-info .row {
    width: 100%;
  }
  #workplace-info .workplace-url img {
  	float: none;
  }
}

.single-people .thumbnail {
  display: none;
}

  