/*
    Theme Name: Adaptech
    Description: Child themes w/ custom post types and taxonomies
    Author: Theodore Acco - Thomas
    Version: 0.1
    Template: twentyseventeen

 */



html { font-size: 62.5%; }

/*@media screen and (max-width: 767px){*/
/*html {*/
/*font-size: 110%;*/
/*}*/
/*}*/

/*@media screen and (min-width: 980px){*/
/*html {*/
/*font-size: 90%;*/
/*}*/
/*}*/

@media screen and (min-width: 1920px) {
    html{
        font-size: 75%;

    }
}
@media only screen and (min-width: 2000px) {
    html{
        font-size: 80%;

    }
}

@media screen and (max-width: 980px) {

    .google-search .button{ position: static!important; width: 100%!important;}
    .google-search #search{ width: 100%!important;}
    #masthead .wrap { text-align: center; }


}

body, button, input, select, textarea{
    color: #000;
}

.my-reviews-header {
    padding: 3px 2rem;
    margin-top: -1.8em;
    background: hsl(0, 0%, 25%);
    font-family: 'Lato';
    font-size: 80%;
    text-transform: uppercase;
    color: white;
}

.taxonomies {
    font-family: 'Lato';
    /* font-size: 90%; */
    margin-bottom: 2rem;
    margin-top: 30px;
    margin-top: 3rem;
    background: #efefef;
    padding: 20px;
    padding: 2rem;
    border: 1px solid #fff;
}
.taxonomies a {
    font-weight: 600;
}
.taxonomies a:hover {
    text-decoration: underline;
}

.page-header .taxonomy-description{
    color:#fff;
    font-size: 1.4rem;
}
.page-header .taxonomy-description p{
    margin-bottom: 0;
    padding-bottom: 0;
}
#testimonials {
    background: #fff;
    padding: 4rem 0;
}
.testimonial {
    width: 33.333333%;
    float: left;
    padding: 0 4rem;
}
.testimonial-thumb img {
    display: block;
    margin: 0 auto 2rem;
}
.testimonial h1 {
    text-align: center;
}

/*** OVERRIDES ***/

b, strong {
    font-weight: 600;
}
.entry-header strong{
    font-size: 1.4rem;
    text-transform: uppercase;
    color: blue;
}
.navigation-top{
    border: none;
}

/*
Chris Edits
 */

.home #main{
    display: flex;
    flex-flow: row wrap;
}
.home #main h1{
    display: block;
    width: 100%;
    margin-top: 20px;
    margin-top: 2rem;
}

.home .home-section{

    /*background: #efefef;*/

}

.home .home-section p{
    padding: 0;margin: 0;
}

@media screen and (min-width:900px){

    .home .home-section{

        width: 48%;
        margin: 1%;



    }
}



.home #primary{
    padding: 0;
}

.home-section h2 {
    /*background: #1a5ca5;*/
    /*padding: 0;*/
    /*color: #fff;*/
    /*margin: 0;*/
    /* flex-basis: 100%; */

    border: none;
    padding: 2rem;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 0;
}

.home-section h2 a{
    /*padding: 10px 20px;*/
    /*padding: 1rem 2rem;*/
    display: block;
    color: #fff;
    border: 1px solid transparent;
    border: 0.1rem solid transparent;
}
.home-section h2 a:hover,
.home-section h2 a:focus{

    background: red;
    color: #000;


}

.home-section > div {
    padding: 20px;
    padding: 2rem;
    border: 1px solid #fff;
    border: 0.1rem solid #fff;
    border-top: none;
}

.home .home-section ul{
    margin: 0;
    padding: 0;
}

.news-feature-image{

    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50% );
    max-width: none;

}

.home .home-section a:hover h3, .home .home-section a:focus h3 {
    color: #fff;
}

.home .home-section li{

    /*margin-bottom:20px;*/
    /*margin-bottom:2rem;*/

    /*margin-bottom: 20px;*/
    /*margin-bottom: 2rem;*/

    /*padding: 30px;*/
    /*padding: 3rem;*/
    list-style: none;
    background: #eff6ff;
    border: 1px solid #fff;
    margin-bottom: 0px;
    box-shadow: 0px 0px 1px #000;

}
.home-section ul li.sticky {
    position: relative;
    background: white!important;
    border-bottom: 1px solid #b0b0b0;
    box-shadow: none;
}
.home-section ul li.sticky::before {
    display: block;
    position: absolute;
    top: 50%;
    left: 10px;
    left: 1rem;
    transform: translateY(-50%);
    background-color: red;
    content: "";
    height: 10px;
    width: 10px;
    border-radius: 50%;
}
.home-section ul li.sticky > a > div{
    padding: 2rem 3rem!important;
}
.home-section ul li:nth-last-child(1 of .sticky){
    margin-bottom: 30px;
}

.home-section li a{
    /*padding: 5px 10px;*/
    /*padding: 0.5rem 1rem;*/
    display: inline-block;
    line-height: 1.4;
    vertical-align: middle;
    font-weight: 600;
}

.home-section li a:hover,
.home-section li a:focus{
    background: #000;
    color: #fff;
}

.btn-browse-all{
    display: inline-block;
    /*background: #000;*/
    /*color:#fff;*/
    padding: 8px 10px;
    padding: 0.8rem 1rem;
    border: 1px solid transparent;
    border: 0.1rem solid transparent;
}
.btn-browse-all:hover, .btn-browse-all:focus{
    background: #000; color: #fff;
}

.page-header{ width: 100%!important; float: none!important; padding: 0; }

/*** TEAM MEMBERS ***/

.team_role.co-director,.team_role.core-research-team,.team_role.research-associates, .team_role.partners-and-affiliates{
    text-align: center;
}

.partners-and-affiliates{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.team_role h2{text-align: left; }
.team_role > div{
    display: inline-block;
    vertical-align: top;
    padding: 30px 0;
    padding: 3rem 0;
    /*border-right: 1px solid #dedede;*/
    /*border-top: 1px solid #dedede;*/
    /*border-bottom: 1px solid #dedede;*/
    box-shadow: 1px 1px 1px #dedede;
    box-shadow: 0.1rem 0.1rem 0.1rem #dedede;
    width: 100%;
}
@media screen and (min-width:900px ) {
    .team_role > div{
        width: auto;
        padding: 30px;
        padding: 3rem;
    }
}

.team_role > div:hover{
    background: #145aa7;

}
.team_role > div:hover a{
    color: #fff;
}
/*.team_role h2{ flex-basis: 100%; }*/
/*.team_role{ display: flex; flex-flow: row wrap; }*/


.team_role-featured-image-header{
    clear: both;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid transparent;
}

.team_role-featured-image-header a{
    border-bottom: 1px solid #000;
    border-bottom: 0.1rem solid #000;
}

.adaptech-team-profilelist-coreholder{
    margin-bottom: 30px;
    margin-bottom: 3rem;
}

.adaptech-team-profilelist-photo {
    width: 140px;
    width: 14rem;
    height: 140px;
    height: 14rem;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    margin-bottom: 10px;
    margin-bottom: 1rem;
    border: 1px solid #000;
    border: 0.1rem solid #000;
}

.partners-and-affiliates .adaptech-team-profilelist-photo,
.partenaires-et-associes .adaptech-team-profilelist-photo
{
    border: none;
}

.adaptech-team-profilelist-photo img{

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}

.adaptech-team-profilelist-link {
    width: 140px;
    width: 14rem;
    margin: 0 auto;
}


/*** TEAM MEMBER SINGLE ***/

.team_role-featured-image-header{
    overflow: hidden;
    margin-bottom: 25px;
    margin-bottom: 2.5rem;
    padding: 20px;
    padding: 2rem;
    background: #efefef;

}

.adaptech_team_member_content_block{

}

.adaptech_team_member_content_block ul{
    margin-left: 20px;
    margin-left: 2rem;
}

.adaptech_team_member_content_block p{

    margin-bottom: 0;

}

.single-team_member .entry-header h2{ padding: 0;}


/*** TRANSLATION ***/

/*li.mlp-language-nav-item a{ border: 1px solid #000; }*/
li.mlp-current-language-item{
    border: 1px solid #000!important;
    border: 0.1rem solid #000!important;
}

.mlp-language-nav-item {
    flex: unset!important;

}


/*** TEAM ***/

.team_role li {
    margin-left: 20px;
    margin-left: 2rem;
}

/*** RESEARCH ***/

.research_lists ul{
    margin-left: 20px;
    margin-left: 2rem;
}

.research_lists a:hover {
    text-decoration: underline;
}

/*a:hover{ text-decoration: underline; color: #0A246A; }*/

/*** PUBLICATIONS ***/

.pub-search{
    background: #dadada;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    max-width: 1600px;
    max-width: 160rem;
    margin: 0 auto;
    padding: 30px;
    padding: 3rem;
}


.archive .site-main > .publications,
.archive .site-main > .products,
.archive .site-main > .built-in-features,
.archive .site-main > .grants,
.archive .site-main > .project,
.blog .post{
    padding: 1.5em;
    margin-bottom: 1em;
    background: #fbfbfb;
    overflow: hidden;
}

.single-publications h1{
    font-size: 2.4rem;
}

.blog .entry-title a{
    padding: 0;
}

.archive .site-main > .publications .entry-header{
    padding-bottom: 0;
}

.publications .entry-title a, .entry-title{
    font-weight: 600;
}

.publications .entry-summary p{
    margin: 0;
    font-size: 1.4rem;
}

.pub-categories{ 
    margin-left: 0!important; 
    display: flex;
    flex-flow: row wrap;
}

/*.pub-categories, .os-categories{*/
/*display: flex;*/
/*flex-flow: row wrap;*/
/*justify-content: space-between;*/
/*margin-left: 0!important;*/
/*}*/
.pub-categories > li{

    list-style: none;
    background: #145aa7;
    width: 31%;
    margin: 1%;
    padding: 14px;
    min-height: 150px;
}
.pub-categories > li a{
    display: block;
    padding: 10px;
    padding: 1rem;
    margin-bottom: 5px;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 16px;
    font-size: 1.6rem;
    border: 1px solid transparent;
    border: 0.1rem solid transparent;
    height: 100%;
    /*margin: 0.1%;*/
    /*width: 49.8%;*/
    /*display: flex;*/
    /*align-items: center;*/
}

.pub-categories > li a:hover,
.pub-categories > li a:focus{
    background: #000;
    color: #fff;
}

.os-categories > li{
    width: 47%;
    padding: 23px;
    padding: 2.3rem;
    background: #1a5ca5;
    list-style: none;
    margin: 1.6% 0;
    /*display: flex;*/
    /*align-items: center;*/
}
.os-categories > li ul{
    display: block;
}
.os-categories > li li{

    margin: 1.6% 0;
    display: block;
}
.os-categories > li > a{
    font-size: 24px;
    font-size: 2.4rem;
}
.pub-categories a, .os-categories a{
    color: #fff;
}

@media screen and (min-width: 48em) {
    .site-content {
        padding: 3.5em 0 0;
    }
}

/*** SEARCH ***/

body.search #primary article{
    float: none!important;
    width: 100%!important;
}

#searchform{ text-align: center; display: flex; flex-flow: row wrap; justify-content: center; max-width: 62rem; }
#searchform .search-box-pub{
    width: 100%;
    width: calc(100% - 150px);
    width: calc(100% - 15rem);
    display: inline-block;
    min-width: 100%;
}
#searchform .btn-search-pub{
    border: 1px solid transparent;
    border: 0.1rem solid transparent;
    width: 140px;
    width: 14rem;
    display: inline-block;
}

#searchform .btn-search-pub:hover,
#searchform .btn-search-pub:focus{
    /*color: #000;*/
    /*background: red;*/
    border: 3px solid transparent;
    border: 0.3rem solid transparent;
}

.search-pub{
    width: 100%; padding: 0 3%; margin: 0 auto;
    max-width: 100%;
}
/*** LAYOUT ***/

.navigation-top{
    position: static!important;
}

.article-date{
    font-size: 1.2rem; font-weight: 600;
}
.article-date time{
    text-transform: capitalize; display: inline-block;
}

.current-menu-item a{ background: #000; color: #fff!important; }

@media screen and (min-width: 1920px) {
    /*body {*/
    /*zoom: 1.4; !* IE *!*/
    /*}*/
}

@media screen and (min-width: 48em){

    .wrap {
        max-width: 1440px;
        max-width: 144rem;
        padding-left: 3em;
        padding-right: 3em;
    }
}

@media screen and (min-width: 48em) {
    .navigation-top .wrap {
        max-width: 1440px;
        max-width: 144rem;
        padding: 0.75em 3.4166666666667em;
    }

    #top-menu{ text-align: right; }
}

@media screen and (min-width: 48em) {
    .page.page-one-column .entry-header, .twentyseventeen-front-page.page-one-column .entry-header, .archive.page-one-column:not(.has-sidebar) .page-header {
        margin-bottom: 2em;
    }
}

/*** PROJECTS ***/
.project-documents h3{
    padding: 0;
}

.single-project aside > div{

    margin-bottom: 10px;
    margin-bottom: 1rem;
    /*border: 1px solid transparent;*/
}

.single-project aside > div h2{
    background:red;
    padding: 20px;
    padding: 2rem;

}
.single-project aside > div h3{
    padding: 20px 25px;
    padding: 2rem 2.5rem;
    background: #145aa7;
    color: #fff;
    margin: 0;

}

.single-project aside ul{
    background:#efefef;
    padding: 20px;
    padding: 2rem;
    margin: 0;
    border: 1px solid transparent;
    border: 0.1rem solid transparent;
}

.project-related-info li{
    margin-left: 20px;
    margin-left: 2rem;
}


/*** GENERAL ***/

.post_type-description{
    max-width: 1000px;
    max-width: 100rem;
}

.single:not(.has-sidebar) #primary, .page.page-one-column:not(.twentyseventeen-front-page) #primary, .archive.page-one-column:not(.has-sidebar) .page-header, .archive.page-one-column:not(.has-sidebar) #primary {
    margin-left: auto;
    margin-right: auto;
    /* max-width: 740px;
    max-width: 74rem; */
}

.funders-list a:hover,.funder-list a:focus{

    border-bottom: 1px solid #000;
    border-bottom: 0.1rem solid #000;

}




/*** BEAUTIFUL TAXONOMY ***/

.pub-search .beautiful-taxonomy-filters{
    margin: 0 2em;
    padding: 0 1em;
    border: none!important;
}
.pub-search .beautiful-taxonomy-filters-button{
    margin: 20px 0 0 0;
    margin: 2rem 0 0 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field{
    background-image: none!important;
}

.site-content ul, .site-content ol {
    margin-left: 20px;
    margin-left: 2rem;
}


/* News */

.single-post .entry-title, .page .entry-title {
    font-size: 26px;
    font-size: 2.6rem;
}

/*** LAYOUT ***/

.nav-title {
    color: #333;
    font-size: 15px;
    font-size: 1.5rem;
}

.navigation-top > .wrap{
    /* padding: 0!important; */
    padding-top: 0;
    padding-bottom: 0;
}
li.mlp-current-language-item{
    border: none!important;
    background: #5f5f5f;
    background: #195da5;
}
li.mlp-current-language-item a{
    color: #fff;
}

#top-menu{
    text-align: center;
}

@media screen and (min-width:980px){
    #top-menu{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

#top-menu > li{
    flex: 1;
}

@media screen and (max-width:899px) {
    .wrap{ padding: 0!important;}
}

@media screen and (min-width:900px) {
    #content > .wrap {
        margin-top: 30px !important;
        margin-top: 3rem !important;
    }
}

#content{
    background: #eaeaea!important;
    padding: 0!important;
}
#primary{
    background: #fff;
    padding: 2em;

}
/*.tax-publication-category #primary,*/
/*.tax-publication-author #primary,*/
/*.post-type-archive-products #primary.category,*/
/*.post-type-archive-built-in-features #primary,*/
/*.post-type-archive-publications #primary,*/
/*.post-type-archive-grants #primary*/
/*{*/
/*background: none;*/
/*padding: 0;*/

/*}*/
@media screen and (min-width: 900px) {

    /*#primary{*/
    /*padding: 3em;*/

    /*}*/
}

.has-sidebar #secondary{
    background: #fff;
    padding: 2em;

}

.page-header{
    background: #fff;
    padding: 1em;

}

.archive .page-header, #page .page-header{
    margin: 0!important;
    /* width: 100%; */
    max-width: none!important;
    text-align: center;
    background: #000;
    color: #fff;
    padding-top: 30px;
    padding-top: 3rem;
    padding-bottom: 30px;
    padding-bottom: 3rem;
}

.page-header h1{
    margin: 0;
    font-weight: 600;
    max-width: 1000px;
    margin: 0 auto;}

.site-branding{
    /*margin-bottom: 0px!important;*/
    padding: 1em!important;
    background: #1a5ca5!important;
}
.site-branding .wrap{

    max-width: 1440px;
    max-width: 144rem;

}
.site-branding img{
    width: 80px!important;
    width: 8rem!important;
    height: auto!important;
    max-height: none!important;
}

.site-branding
.site-branding-text
.site-title{

    color: #fff!important;
    font-weight: 600;
    letter-spacing: 0;

}
.site-branding
.site-branding-text
.site-description{
    color: #fff!important;
}

a{ color:#0564cc }

.entry-title a{
    color: #0564cc;
    display: block;
    padding: 10px 0;
    padding: 1rem 0;
}


/*** DOWNLOADS ***/

.btn-upload{
    box-shadow: none;
    background: blue;
    border: 1px solid blue;
    color: #fff;
    display: inline-block;
    padding: 10px 15px;
    padding: 1rem 1.5rem;
    /* float: right; */
    margin-top: 10px;
    margin-right: 5px;
}
.btn-upload:hover{
    color: #fff!important;
    background: #000!important;
}
.btn-upload:visited{
    background: purple;
    color: #fff;
}

.commericial-products li{
    list-style: none;
    margin-bottom: 20px;
    margin-bottom: 2rem;
}
.commericial-products img,
.commericial-products span,
.commericial-products a{
    vertical-align: middle;
    display: inline-block;
    margin-right: 10px;
    margin-right: 1rem;
}
.commericial-products a:hover{
    text-decoration: underline;
}

.single .publications a{
    box-shadow: none;

}
.single .publications a:hover,
.single .publications a:focus{
    box-shadow: none;
    text-decoration: underline;

}

.archive .entry-title a:hover,
.archive .entry-title a:focus{
    /*background: blue;*/
    color: #000!important;
}

.archive .products a,
.archive .built-in-features a,
.archive .publications a
{
    box-shadow: none;
     /* background: blue; */
    border: 1px solid transparent;
    /*color:#fff!important;
    display: inline-block;
    padding: 10px 15px;
    padding: 1rem 1.5rem; */
    /*float: right;*/
    margin-top: 10px;
}

.archive article, .blog article {
    background: #ececec;
    margin-bottom: 20px;
    margin-bottom: 2rem;
    /*padding: 20px!important;*/
    border: 1px solid #c3c3c3;
}

.archive .products a:hover,
.archive .products a:focus,
.archive .built-in-features a:hover,
.archive .built-in-features a:focus,
.archive .publications a:hover,
.archive .publications a:focus
{
    background: #fff;
    box-shadow: none;
    color: #000!important;
    border: 1px solid #000;
}

.instruction{ display: none; }
.instruction.current{ display: block; }

.built-in-features .taxonomies{
    margin-top: 30px;
    margin-top: 3rem;
}
.built-in-features .taxonomies a{
    border: 1px solid #d6d6d6;
    border: 0.1rem solid #d6d6d6;
    padding: 10px;
    padding: 1rem;
    margin-left: 5px;
    margin-left: 0.5rem;
    box-shadow: none;
    display: inline-block;
    margin-bottom: 5px;
    margin-bottom: 0.5rem;
    background: #fff;
}
.built-in-features .taxonomies a:hover,
.taxonomies a:active, .taxonomies a:focus
{
    box-shadow: none;
    background: #c4e0ff;
}

.instruction ul{
    margin-left: 0;
}
.instruction li{
    list-style: none;
    margin-bottom: 10px;
    margin-bottom: 1rem;
}


.cat-context{
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;

}

/*a:visited{ color: #7f0094; }*/

/*** FOOTER ***/
.foot-logo a:hover img,
.foot-logo a:focus img{
    filter: invert(40%);
}
.site-footer{ margin-top: 0!important; background: #eaeaea; }
#partner-block{
    width: 100%;
    text-align: center;
    padding: 25px;
    padding: 2.5rem;
}
#partner-block ul{ margin-bottom: 0;}
#partner-block li{
    display: inline-block;

}
@media screen and (min-width:1440px) {
    #partner-block{
        max-width: 1600px;
        margin: 0 auto;
    }
    #partner-block li {
        display: inline-block;
        width: 20%;
    }
    #partner-block li a{
        display: inline-block;
        width: 100%;
    }
    #partner-block img{
        max-width: 100%;
    }
}
#partner-block li a{
    display: inline-block;
    list-style: none;
    padding: 20px;
    padding: 2rem;
    border: 1px solid transparent;
    border: 0.1rem solid transparent;
}
#partner-block li a:hover, #partner-block li a:focus{
    box-shadow: inset 0px 0px 8px #000;
    box-shadow: inset 0px 0px 0.8rem #000;
}
.contact{
    max-width: 1000px;max-width: 100rem; margin: 0 auto;
}
.contact > div{
    width: 100%;
    padding: 20px;
    padding: 2rem;
    text-align: center;
}
.contactinfo-mail{ float: left;}
.contact-digital{ float: right; }

@media screen and (min-width:480px){

    .commericial-products div{ padding-left: 100px; padding-left: 10rem; }

}
@media screen and (min-width:981px){

    .contact > div{
        width: auto;
    }

}


/*** GRANTS ***/

.grants header.entry-header {
    margin: 0!important;
    padding: 0!important;
}


/*** GOOGLE SEARCH ***/

.gsc-orderby-container .gsc-selected-option-container{ max-width: 100%; }

.gsc-results-wrapper-visible table{
    border-collapse: separate;
}
.search-label {
    width: 40px;
    width: 4rem;
    height: 40px;
    height: 4rem;
    /*background-image: url('search.png');*/
}

.search-label span {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    clip: rect(0.1rem, 0.1rem, 0.1rem, 0.1rem);
    padding: 0;
    border: 0;
    height: 1px;
    height: 0.1rem;
    width: 1px;
    width: 0.1rem;
    overflow: hidden;
}


.google-search {
    width: 100%;
    position: relative;
    margin: 20px 0;
    margin: 2rem 0;
}
.google-search #search{
    display: inline-block;
    width: 100%;
    width: calc(100% - 120px);
    width: calc(100% - 12rem);
}
.google-search .button{
    /*width: 25%;*/
    display: inline-block;
    width: 120px;
    width: 12rem;
    border: 1px solid #000;
    border: 0.1rem solid #000;
    font-weight: 500;
}



.google-search .button:hover,
.google-search .button:focus{
    border: 1px solid #000;
    border: 0.1rem solid #000;
}
@media screen and (min-width: 981px) {
    .google-search{
        position: absolute; 
        right: 30px; 
        right: 3rem; 
        top:50%; 
        transform: translateY(-50%); 
        width: 40%; 
        margin: 0;
        display: flex;
        flex-flow: row-reverse;
        max-width: 100%;
        width: 50%;
    }
    .google-search #search{
        /*width: 100%;*/
        float: left;
    }
    .google-search .button{
        /*width: 25%;*/
        float: right;
    }
    .google-search select{
        padding: 0 12px;
        margin-right: 15px;
    }
    .google-search .search-form{
        width: 50%;
    }
    .google-search .search-form label{
    margin-bottom: 0;
}
    #searchform .search-box-pub{

        min-width: 60%;

    }
    #searchform{ width: 80%; margin: 0 auto;}
}


a:visited{
    color: purple;
}

.pub-categories a:visited{
    color: #fff;
    background: purple;
}


/*** NAVIGATION ***/

.navigation.pagination{
    float: none;
    width: 100%;
    font-size: 20px;
}

.page-numbers.current{
    font-size: 20px;
}

.navigation-top{ border: none; }

.navigation-top a{
    border: 1px solid transparent;
    border: 0.1rem solid transparent;
    -webkit-transition: color 0.0s;
    transition: color 0.0s;
}

.navigation-top a:hover,
.navigation-top a:focus{
    background: #222;
    color: #fff;
}

body:not(.twentyseventeen-front-page) .entry-header {
    padding-top: 0;
    padding-bottom: 0;
}

h2{ font-weight: 700; color: #000; border-bottom:1px solid #666; padding-bottom: 0px; }

.beautiful-taxonomy-filters-tax select:focus + span.select2{
    background: red;
}

#primary{
    max-width: 1440px!important;
    max-width: 144rem!important;
}
.blog article{
    float: none!important;
    width: 100%!important;

}

.blog #primary{
    max-width: 770px;
    max-width: 77rem;
    margin: 0 auto;
}

.blog .navigation.pagination{
    width: 100% !important;
    float: none!important;
    padding-bottom: 0!important;
}


/* LINKS */
.entry-content a,
.entry-summary a,
.comment-content a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong{
    box-shadow: none;
}

.pub-download{
    display: inline-block;
    background: blue;
    color: #fff;
    padding: 10px 15px;
    padding: 1rem 1.5rem;
}

.entry-content .pub-download:hover, .entry-content  .pub-download:focus{
    background: #000;
    color: #fff;
}

.pub-download:visited{
    background-color: purple;
    color: #fff;
}


/* HOVER RESET */

.entry-content a,
.entry-summary a,
.comment-content a,
.widget a,
.site-footer .widget-area a,
.posts-navigation a,
.widget_authors a strong {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    transition: none;
    transition: none;
    transition: none;
}

.nav-links{
    background: #fff;
    border: 1px solid #fff;
    border: 0.1rem solid #fff;
}


@media screen and (min-width: 30em){

    h1 {
        font-size: 26px;
        font-size: 2.6rem;
    }
    h2, .home.blog .entry-title, .page .panel-content .recent-posts .entry-title {
        font-size: 20px;
        font-size: 2rem;
    }
    h2, .home.blog .entry-title {

        font-size: 20px;
        font-size: 2rem;
    }
    h3 {
        font-size: 18px;
        font-size: 1.8rem;
    }
}

@media screen and (min-width: 48em) {
    .wrap {
        /* max-width: 100rem; */
        padding-left: 3em;
        padding-right: 3em;
    }
    .navigation-top {

        font-size: 1.6rem;

    }
    .site-footer {
        font-size: 14px;
        font-size: 1.4rem;
    }

    .site-title {
        font-size: 30px;
        font-size: 3rem;
    }
    .site-description {
        font-size: 16px;
        font-size: 1.6rem;
    }

    body, button, input, select, textarea {
        font-size: 16px;
        font-size: 1.6rem;
        line-height: 1.5;
    }

    #secondary {
        font-size: 14px;
        font-size: 1.4rem;
        line-height: 1.6;
    }
}

.btn-back-to-pt{ padding: 8px 15px; border: 1px solid transparent;}

button, input[type="button"], input[type="submit"]{
    font-size: 1.4rem;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea{
    padding: 0.7rem;
}

@media screen and (min-width: 48em) {
    .has-sidebar:not(.error404) #primary {
        float: none;
        width: 100%;
    }
    .has-sidebar #secondary {
        float: none;
        width: 100%;
    }
    .js .menu-toggle, .js .dropdown-toggle {
        display: block;
    }
    .js .main-navigation ul, .js .main-navigation ul ul, .js .main-navigation > div > ul {
        display: none;
    }

    .blog .site-main > article, .archive .site-main > article, .search .site-main > article{
        padding-bottom: 0;
    }
    .main-navigation a {
        padding: 0.8rem 1.1rem;
    }
}




@media screen and (min-width: 981px) {
    .has-sidebar:not(.error404) #primary {
        float: left;
        width: 60%;
    }
    .has-sidebar #secondary {
        float: right;
        width: 38%;
    }
    .js .menu-toggle, .js .dropdown-toggle {
        display: none;
    }
    .js .main-navigation ul, .js .main-navigation ul ul, .js .main-navigation > div > ul {
        display: block;
    }
}

button, input[type="button"], input[type="submit"] {
    font-size: 75%!important;
}

* { /* Replacing "*" with ".my-element" would probably be better for the rest of your site*/
    -webkit-text-size-adjust: none;
    -webkit-font-size-adjust: none;
}

/** SEARCH **/

.search-form .search-submit .icon {

    color: #fff;
}

.search-result-item{
    padding: 20px!important;
    margin-bottom: 20px;
    border: 1px solid #d2d2d2;
    background: #efefef;
}

.search-result-item p{
    margin-bottom: 0;
}

.search-result-item .entry-meta{
    font-size: 1rem;
}

.search-result-item .entry-title a{
    padding: 1rem;
    box-shadow: none;
}


/*** */

.navigation{
    text-align: center;
    margin-top: 60px;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    color: #fff;
    text-decoration:none;
}

.navigation li {
    display: inline-block;
    margin: 0 5px;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
    background-color: #6FB7E9;
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
    background-color: #3C8DC5;
}