/*
YFC Colour Palette
JADE #00B3B3
PURPLE #7F549D
ORANGE #E86830
GREEN #00A383
BLUE #0068B3
LIGHT BLUE #00B3DB
YELLOW #F7A500
Dark GREY #304149
RED #E6334B
*/

#member_status_bar {
   background: #a60000;
   color: white;
   text-align: center;
   padding: 2px;
   margin: 0px 0px 20px 0px;
   font-weight: bold;
   
}

#rp_main {
   margin: 0px 1% 30px 2%;
}
#messages {
   background: #EFEFEF;
   padding: 10px;
   margin: 0px 0px 20px 0px;
   width: 49%;
   display: inline-block;
}
#calendar {
   background: #EFEFEF;
   padding: 10px;
   margin: 0px 0px 20px 0px;
   width: 49%;
   float: right;
}
div.feature_holder {
   background: #EFEFEF;
   padding: 10px;
   text-align: center;
   margin: 0px 0px 20px 0px;
}
div.feature_holder.resources {
   background: #f6f0c9;
}
div.feature_holder.themes {
   background: #e3f1dc;
}
div.feature_holder.alt {
   background: #faedfe;
}

a.feature_box {
   position: relative;
   width: 200px;
   height: 200px;
   display: inline-block;
   margin: 0px 10px 0px 10px;
   background: white;
   overflow: hidden;
}

a.feature_box strong {
   position: absolute;
   bottom: 0px;
   left: 0px;
   width: 100%;
   padding: 5px 0px 5px 0px;
   text-align: center;
   font-weight: normal;
   background: #DDDDDD;
   color: black;
}
div.feature_holder.resources a.feature_box strong {
   background: #96be82;
}
div.feature_holder.resources a.feature_box strong {
   background: #f1e482;
}
div.feature_holder.alt a.feature_box strong {
   background: #d9a6e7;
}
div.pin_item {
   position: relative;
   width: 23%;
   height: 200px;
   display: inline-block;
   margin: 0px 1% 10px 0px;
   background: #f6f0c9 url(/wp-content/uploads/2021/03/dai.jpg);
  background-position: 50% 50%;
   background-size: cover;
   overflow: hidden;  
   font-size: 1.2em;
   color: white;
}
div.pin_item.highlight:after {
  content: " ";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 30px;
  height: 30px;
  background: transparent url("/wp-content/plugins/rpd-resource-planner/assets/highlight-star.png") no-repeat 50% 50%;
  background-size: contain;
}

div.pin_item img.type {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 27px;
  height: 27px;  
}
@media (max-width: 1500px) {
    div.pin_item {
       width: 31%;
       height: auto;
       min-height: 200px;
    }
}

@media (max-width: 1200px) {
    div.pin_item {
       width: 48%;
       height: auto;
       min-height: 200px;
    }
}

@media (max-width: 800px) {
    div.pin_item {
       width: 100%;
       height: auto;
       min-height: 200px;
       display: block;
    }
}

button.board_link {
  border: 2px solid black;
  background: transparent;
  font-size: 0.55em;
  padding: 3px;
}
button.board_link:hover {
  background: black;
  color: white;
}

body div.pin_item p.short_description { font-size: 0.9em; line-height: 115% !important;}

div.pin_item div.layer {
    background: linear-gradient(160deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.25) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
}

div.pin_item div.buttons {
   position: absolute;
   bottom: 8px;
   right: 5px;
}
div.pin_item div.buttons a {
   background: transparent;
   padding: 3px 10px 3px 10px;
   color: white;
   border: 2px solid white;
   background-color: rgba(0,0,0,0.4);
    transition: padding 0.25s, background-color 0.25s;
    font-size: 0.8em;
}
div.pin_item div.buttons a:hover {
  background-color: rgba(255,255,255,0.3);
  padding: 3px 15px 3px 15px;
}

#board.sequence div.pin_item {
      position: relative;
      width: 98%;
      height: auto;
      display: block;
      margin: 0px 1% 10px 0px;
      background: white;
       background-size: 80px 100%;
       background-repeat: no-repeat;
       background-position: 0px 0px;
      overflow: hidden;
      padding: 0px;
      color: black !important;
      border: 2px solid black;
}

#board.sequence div.pin_item div.layer {
    background: transparent;
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    padding: 5px 5px 5px 100px;
    color: black;
}

#board.sequence div.pin_item div.buttons {
   position: absolute;
   bottom: 8px;
   right: 5px;
}

#board.sequence div.pin_item div.buttons a {
   color: black;
   background-color: white;
   border: 2px solid black;
}

a.board_block {
   position: relative;
   width: 32%;
   height: 200px;
   display: inline-block;
   margin: 0px 1% 10px 0px;
   background: black;
   background-position: 50% 50%;
   background-size: cover;
   overflow: hidden; 
   color: white;
}
a.board_block  div.layer {
    background: linear-gradient(160deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.25) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 10px;
}

a.board_block strong {
   display: inline-block;
   font-size: 1.6em;
   line-height: 130%;
   padding: 10px 25% 10px 10px;
}
a.button {
   border: 2px solid black;
   position: relative;
   width: 48%;
   display: inline-block;
   margin: 0px 0.5% 10px 0px;
   background: white;
   text-align: center;
   font-size: 0.9em;
   padding: 5px;
   color: black;
   text-decoration: none;
}

a.button.sequence {
   width: 49%;
   margin: 0px 0% 10px 0px;
}

a.button:hover {
   background: black;
   color: white;
}

/* categories */
a.category {
   display: inline-block;
   background: white;
   color: black;
   margin: 2px;
   padding: 6px 12px 6px 12px;
   margin: 2px;
   font-size: 1.2em;  
   font-weight: bold;
   border: 2px solid black;
   position: relative;
}
a.category:hover,
a.category.selected {
   background: black;
   color: white;
}

#category_breadcrumb_trail {
   margin: 0px 0px 10px 0px;   
}

a.category.breadcrumb.selected {
   padding-right: 25px;
}

a.category.breadcrumb.selected:after {
   content: '';
   position: absolute;
   bottom: -2px; right: -2px;
   border-bottom: 20px solid white;
   border-left: 20px solid transparent;
   width: 0;
}

a.category.breadcrumb.selected:before {
   content: '';
   position: absolute;
   top: -2px; right: -2px;
   border-top: 20px solid white;
   border-left: 20px solid transparent;
   width: 0;
}

/* Resource Page */
h1.resource_title {
   background: transparent;
   border-bottom: 2px solid black;
   padding: 0px 1% 20px 2%;
   margin: 0px 0px 20px 0px;
   font-weight: bold;
}

#resource_side_text {
   margin: 0px 2% 10px 2%;
   background: #00B3B3;
   color: white;
   padding: 10px 20px;  
   position: relative;
}

 #resource_side_text:after {
   content: '';
   position: absolute;
   bottom: -2px; right: -2px;
   border-bottom: 30px solid white;
   border-left: 30px solid transparent;
   width: 0;
}

#resource_downloads {
   float: right;
   width: 25%;
   margin: 0px 5% 0px 2%;
   background: #cccccc;
   padding: 10px;
}
#resource_video {
   float: right;
   width: 45%;
   margin: 0px 5% 10px 2%;
   background: #cccccc;
   padding: 10px;
}
#resource_video video {
   margin: 0px;
}
a.download_button {
   display: block;
   background: black;
   padding: 8px;
   font-size: 1.6em;
   color: white;
   width: auto;
   text-align: center;
   text-decoration: none;
   position: relative;
    margin: 5px 0px 5px 0px;
}
a.download_button:hover {
   background: white;
   color: black;
}

a.download_button:before {
   content: '';
   position: absolute;
   top: -2px; right: -2px;
   border-top: 20px solid #cccccc;
   border-left: 20px solid transparent;
   width: 0;
}

/* Resource Timeline */

#timeline {
   padding: 10px;  
}
#timeline div.timeline_block {
  width: 23%;
  margin: 0px 1% 10px 1%;
  padding: 0px;
   background: #efefef;
  display: inline-block;
  vertical-align: top;
}
#timeline div.timeline_block div.img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}
#timeline div.timeline_block div.img img {
  width: 100%;
}
#timeline div.timeline_block div.img strong {
  display: block;
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: rgba(0,0,0 ,0.7);
  color: white;
  font-size: 1.5em;
  padding: 3px 3px 5px 3px;
  width: 100%;
   text-align: center;
}
#timeline div.timeline_block div.element_desc {
  padding: 5px;
}
/* Video Gallery */
#video_gallery {
   padding: 10px;  
}
#video_gallery video {
  margin: 0px;
  padding: 0px;
  width: 100%;
  background: black;
}
#video_gallery div.video_gallery_block {
  width: 45%;
  margin: 0px 1% 10px 1%;
  padding: 0px;
   background: #efefef;
  display: inline-block;
  vertical-align: top;
}
#video_gallery div.video_gallery_block strong {
  display: block;
  color: black;
  font-size: 1.5em;
  padding: 3px 3px 5px 3px;
  width: 100%;
   text-align: center;
}
#video_gallery div.video_gallery_block div.element_desc {
  padding: 5px;
}

/* Resource Search Form */
#resource_search_form {
   width: 97%;
   margin: 0px 1% 30px 2%;
   padding: 10px;
}
#resource_search_form.nobg {
  background: transparent;
}
#resource_search_form #resource_search_phrase {
   border: 2px solid white;
   padding: 3px;
   font-size: 1.3em;
   width: 75%;
 }
 #resource_search_form #resource_search_form_submit {
    border: 2px solid white;
    padding: 3px 13px 3px 13px;
    font-size: 1.3em;
    background: transparent;
    color: white;
    transition: padding 0.25s;
  }
  #resource_search_form #resource_search_form_submit:hover {
    background-color: rgba(255,255,255,0.3);
    padding: 3px 33px 3px 13px;
} 
 #resource_search_form_submit:before {
     content: '';
     position: absolute;
     top: -2px; right: -2px;
     border-top: 20px solid #cccccc;
     border-left: 20px solid transparent;
     width: 0;
  }
  
  /*Login Form */
#bespoke_login_form {
   width: 30%;
   background: #E86830;
   margin: 30px 35% 30px 35%;
   padding: 20px;
   text-align: center;
  }
  
  
  #bespoke_login_form input {
    font-size: 1.5em;
    border: 0px;
    width: 100%;
  }
  
#bespoke_login_form input#wp-submit {
  border: 2px solid white;
  color: white;
  background: transparent;
  border-radius: 0px;
}

/*registration form */
#bespoke_register_form {
   width: 70%;
   background: #E86830;
   margin: 30px 15% 30px 15%;
   padding: 20px;
   text-align: center;
   color: white;
  }
 
 #bespoke_register_form h1 {
    color: white;
     }
  
  #bespoke_register_form input {
    font-size: 1.5em;
    border: 0px;
    width: 100%;
    margin-bottom: 10px;
  }
  
  #bespoke_register_form input#register_submit {
  border: 2px solid white;
  color: white;
  background: transparent;
  border-radius: 0px;
  }
  
  //Boards Page Styling
  #create_own_board {
     width: 80%;
     background: #E86830;
     margin: 30px 10% 30px 10%;
     padding: 20px;
     text-align: center;
     color: white;
    }
   
   #create_own_board h2 {
    color: white;
     }
    
    #create_own_board input {
    font-size: 1.5em;
    border: 0px;
    width: 70%;
    margin-bottom: 10px;
    }
    
    #create_own_board input#board_submit {
    border: 2px solid white;
    color: white;
    background: transparent;
    border-radius: 0px;
   width: 20%;
    }
  
  