/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.resources {
    margin-top: 2em;
}
.row-no-gutter {
    margin-right: 0;
    margin-left: 0;
}
.resources .single-resource-grid {
    float: left;
    width: 19%;
    border: 0.25em solid #fff;
}
.resources .single-resource-grid a {
    color: #7fd0ff !important;
}
.resources .image {
    position: relative;
    width: 100%;
    height: 13em;
    background-size: cover;
    background-position: center center;
    background-color: #7fd0ff;
}
.resources .cover {
    top: 0;
    left: 0;
    position: absolute;
    z-index: 3;
    width: 100%;
    height: 100%;
}
.resources .meta {
    display: block;
    width: 100%;
    height: 100%;
}
.resources .meta h3 {
    font-weight: 300;
    display: block;
    position: absolute;
    bottom: 0;
    left: 10px;
    font-size: 1em;
    overflow: hidden;
    width: 95%;
    color: #fff;
    z-index: 2;
}
.archive-no-results #content{
    min-height: 600px;
}
.navigation{
    overflow:hidden;
}
.navigation .next{
    float:right;
}
.navigation .prev{
    float:left;
}
.cont-wrap{
    display: inline-block;
    width:100%;
}
.description{
    margin-bottom: 15px;
}
.description p{
    margin-bottom: 10px;
}
#content-wrap{
    overflow: hidden;
}
#content-wrap #content-res {
    border-left: none;
    border-right: none;
    width:100% ;
}
/*ow css additions*/
#main-area.resources{
    background-image: none;
    background-color: #fff;
    border-radius: 7px;
}
#main-content.row-no-gutter{
    background: #fff;
    background-image: none !important;
    padding: 15px;
}
.row{
    overflow: hidden;
}
.post-type-archive-resources #main.simple,
.tax-resource_category #main.simple {
    background: #EDEDED;
}
.post-type-archive-resources .resources{
    overflow: hidden;
    width: 900px;
    margin: 0 auto;
    box-sizing: border-box;
}
.post-type-archive-resources  .resources .single-resource-grid {
    width: 33%;
    border-color: #EDEDED;
    box-sizing: border-box;
}
.post-type-archive-resources .resources .image {
    background-color: #384F83;
}
.post-type-archive-resources #main .resources .meta h3{
    color: #fff;
    bottom: initial;
    padding: 15px;
    width: initial;
    font-weight:bold;
}
.tax-resource_category #content{
    float: none;
    margin: 0 auto;
    width:900px;
    box-sizing: border-box;
}
.tax-resource_category #content .resources {
    margin-top: 2em;
    width: 33%;
    float: left;
    border: 0.25em solid #EDEDED;
    background: #fff;
    height: 510px;
    box-sizing: border-box;
}
.tax-resource_category #content .resources a.thumb{
    display: block;
    width: 288px;
    height: 288px;
    overflow: hidden;
}
.tax-resource_category #content .resources a img{
    width: 100%;
}
.tax-resource_category #content .resources .entry-content{
    padding: 15px;
}
.tax-resource_category #content .resources .entry-content h2 a{
    text-decoration: none;
    color: #000;
}
.tax-resource_category #content .resources .entry-content h2 a:hover{
    text-decoration: underline;
}
.tax-resource_category #content .resources .entry-content p {
    max-height: 90px;
    overflow: hidden;
}
/*.tax-resource_category #content .resources .entry-content p:after {
    content: "...";
}*/

.single-resources #main.simple{
    background: #EDEDED;
}
.single-resources #content,
.single-resources #comment {
    float: none;
    overflow: hidden;
    padding: 0 0 20px;
    width: 900px;
    margin: 0 auto;
}
.single-resources #content .thumb{
    overflow: hidden;
    float: right;
    margin-left: 20px;
}



/*Comment Form*/
.single-resources #respond form textarea#comment-field{
    height: 35px;
    min-height: 35px;
    max-height: 100px;
    width: 100%;
    padding: 0;
    margin: 0;
    max-width: initial;
    min-width: 100%;
    border-bottom: 2px solid #000;
    background:unset;
    border-radius: 0;
}
.single-resources #respond form  p{
    margin-bottom: 23px;
}
.single-resources #respond form  p.text{
    display: inline-block;
    float:left;
    width: 50%;
    box-sizing: border-box;
}
.single-resources #respond form  p.text.name{
    padding-right: 10px;
}
.single-resources #respond form  p.text input{
    height: 35px;
    min-height: 35px;
    max-height: 100px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 2px solid #000;
    background:unset;
    border-radius: 0;
    padding:0;
} 
.single-resources #respond form  p input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #000;
}
.single-resources #respond form  p input::-moz-placeholder { /* Firefox 19+ */
  color: #000;
}
.single-resources #respond form  p input:-ms-input-placeholder { /* IE 10+ */
  color: #000;
}
.single-resources #respond form  p input:-moz-placeholder { /* Firefox 18- */
  color: #000;
}
.single-resources #respond form  p textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #000;
}
.single-resources #respond form  p textarea::-moz-placeholder { /* Firefox 19+ */
  color: #000;
}
.single-resources #respond form  p textarea:-ms-input-placeholder { /* IE 10+ */
  color: #000;
}
.single-resources #respond form  p textarea:-moz-placeholder { /* Firefox 18- */
  color: #000;
}
.single-resources #respond form input[type="submit"]{
    height: initial;
    padding: 0 10px;
    font-size: 18px;
    min-width: 210px;
    border: none;
    border-radius: 14px;
    -moz-border-radius: 14px;
    -webkit-border-radius: 14px;
    cursor: pointer;
    font-weight: 400;
    background: unset;
    border:  1px solid #000;
}
.single-resources #respond form  p.text input:focus,
.single-resources #respond form textarea#comment-field:focus,
.single-resources #respond form input[type="submit"]:hover{
     background: rgb(221,221,221);
}
.comment-body{
    margin-bottom: 30px;
}
.comment-body p{
    margin-bottom: 5px;
}
@media only screen and (max-width: 840px){
    .single-resources #respond form  p.text input,
    .single-resources #respond form textarea#comment-field{
        width: 100% !important;
    }
}
@media screen and (max-width: 768px) {
    .post-type-archive-resources  .resources .single-resource-grid{
        width: 50%;
    }
    .tax-resource_category #content .resources a.thumb{
        width: 100%;
        height: auto;
        min-height: 237px;
    }
    .single-resources #content,
    .single-resources #comment,
    .post-type-archive-resources .resources,
    .tax-resource_category #content{
        width:100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
}
@media screen and (max-width: 667px) {
    .tax-resource_category #content .resources{
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 568px) {
/*  .post-type-archive-resources  .resources .single-resource-grid{
        width: 47%;
    }*/
}
@media screen and (max-width: 414px) {
    .post-type-archive-resources  .resources .single-resource-grid{
        width: 100%;
        float: none;
    }
    .single-resources #respond form  p.text{
        float:none;
        width:100%;
    }
    .single-resources #respond form  p.text.name{
        padding:0;
    }
    .single-resources a.thumb{
        float: none;
        width: 100%;
        display: block;
        margin: 0;
        margin-bottom: 30px;
    }
    .single-resources a.thumb img{
        width: 100%;
    }
}