@media (min-width: 992px) {
    body.academy-of-awesome .featured-nomination__frame {
        width: 30%;
    }

    body.academy-of-awesome .featured-nomination__title {
        max-width: 640px;
    }
}

.nav-primary .menu {
    background: transparent;
}

@media only screen and (min-width: 768px) {
    .nav-primary .menu > li a {
        border-color: transparent;
    }
}


.no-access {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-template-t-resource-users .no-access .logout-btn {
    display: inline-block;
}

.page-template-t-resource-users .no-access .logout-btn a {
    display: block;
}

.dataTable tr:nth-child(even) {
    background: #f1f1f1;
}


.tablepress .red,
.tablepress .orange,
.tablepress .green {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.tablepress .red {
    background: red;
}

.tablepress .orange {
    background: orange;
}

.tablepress .green {
    background: green;
}

table.tablepress td {
    position: relative;
    border: 1px solid #ccc;
}

table.tablepress tfoot th, table.tablepress thead th {
    background-color: #0032a0;
    color: white;
    font-weight: normal;
    border-bottom: 0;
}

table.dataTable.no-footer.tablepress {
    border-bottom: 0;
}

.sponsors {
    padding: 20px 20px 25px;
    /*text-align: center;*/
    /*background-color: #f1f1f1;*/
}

.sponsor-groups {
    display: flex;
}

.sponsor-list {
    display: flex;
}

.sponsor-list .sponsor {
    margin-right: 50px;
}

.sponsor {
    /*max-height: 50px;*/
}

.sponsor-label {
    /*font-size: 18px;*/
    /*text-transform: uppercase;*/
    /*color: #f1f1f1;*/
    margin-bottom: 12px;
    font-style: italic;
    color: #827d7d;

}

.main-sponsor {
    margin-right: 80px;
}

.sponsor-image {
    height: 50px;
}

.sponsor-image img {
    height: 100%;
    width: auto;
}

@media only screen and (max-width: 991px) {
    .sponsor-groups {
        display: block;
        text-align: center;
    }

    .main-sponsor {
        margin: 0 0 30px;
    }

    .sponsor-list {
        justify-content: center
    }

    .sponsor-list .sponsor {
        margin: 0 25px;
    }
}

@media only screen and (max-width: 599px) {

    .sponsors {
        padding: 10px;
    }

    .sponsor-list .sponsor {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 399px) {
    .sponsor-image {
        height: 40px;
    }

    .sponsor-list .sponsor {
        margin: 0 5px;
    }
}

.community-back {
    margin-top: -12px;
    margin-bottom: 12px;
}

.community-back .button--filled {
    font-size: 12px;
    padding: 3px 10px;
}

.content-section > .sep {
    text-align: center;
    margin: 5px auto;
}

.comp-featured p {
    margin-bottom: 0;
}


@media only screen and (min-width: 600px) {
    .menu-item-has-children > a .mobile-dropdown-toggle {
        display: inline-block;
        font-size: 0.5em;
        padding-left: 3px;
        position: relative;
        bottom: 3px;
    }

    .menu-primary > .menu-item-has-children > a .mobile-dropdown-toggle {
        display: none;
    }

    .menu-item-has-children > a .mobile-dropdown-toggle:before {
        content: "\25B6";
    }

}

div.gform_wrapper .show-labels .top_label .gfield_label {
	display: block;
	margin-bottom: 3px;
}

.show-labels_wrapper.gform_wrapper .field_description_below .gfield_description {
    padding-top: 0;
}

div.show-labels_wrapper.gform_wrapper .ginput_container + .gfield_description.validation_message {
    display: block !important;
}

.gform_wrapper.gravity-theme .small-labels .gfield_label {
  font-weight: normal;
  font-size: 15px;
  line-height: 1.5;
}

.show-labels h3 {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
}

/*
 */

.page-template-default .gform_wrapper.gf_login_form {
    background-color: #f1f1f1;
    padding: 16px;
    border-radius: 12px;
    width: 500px;
}

.page-template-default .gform_wrapper.gf_login_form ul.gform_fields li.gfield {
    padding-right: 0;
}

.page-template-default div.gform_wrapper.gf_login_form .top_label .gfield_label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
}

.page-template-default .gf_login_form .gform_body gfield_contains_required input {
    width: 100%;
}



.page-template-default .gf_login_form .gfield_checkbox label {
    position: relative;
    top: 3px;
}

.page-template-default .gf_login_links {
    font-size: 13px;
}

p::empty:before {
    display: none;
 }

.dataTables_wrapper {
	overflow:  auto;
}

@media only screen and (max-width: 599px) {
    .nav-primary .menu-item.menu-item-has-children > a .mobile-dropdown-toggle {
        display: inline-block;
        cursor: pointer;
        font-size: .8em;
        margin-left: 5px;
        clor: #6d6c6c;

    }
    .nav-primary .menu-item.menu-item-has-children > a .mobile-dropdown-toggle::before {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        display: inline-block;
        line-height: 1;
        vertical-align: baseline;
        content: "\f078";
        font-family: 'FontAwesome';
    }
    .nav-primary .menu > li li li li a,
    .nav-primary .menu > li li li li a:link,
    .nav-primary .menu > li li li li a:visited {
        padding: 10px 20%;
    }

}

/* Subsite Header */
.subsite-header {
    color: white;
    text-transform: uppercase;
    height: 93px;
    /*background: url(../images/subsite-header.png) center center no-repeat;*/

    font-size: 20px;
    display: flex;
    align-items: center;
}

.subsite-header p {
    margin: 0;
}

@media (max-width: 767px) {
    .subsite-header {
        text-align: center;
        font-size: 16px;
        background-image: url(../png/subsite-header-mobile.png);
    }
    .subsite-header .wrap {
        padding: 0 20px;
    }
}

.bx-wrapper ul.kiwi-logo-carousel.align-center li img {
    height: 80px;
    width: auto;
}


.tutor-loop-author {
    display: none;
}

.cff-header  {
  margin-left: 40px;
  margin-bottom: 20px;

}


.latest-news.competition-news {
  padding-left: 24px;
  padding-right: 24px;
}

.home .latest-news.competition-news {
  padding-top: 0;
}

/*
.featured-item__inner {
  max-width: 565px;
}
*/




.betterdocs-category-icon-img img {
    height: 100%;
}


.sp-image-container .sp-image img {
     object-fit: cover; 
     height: 100%; 
}

