/*
Theme Name: motnet
Theme URI: http://components.underscores.me/
Author: ORT Israel Team
Author URI: http://creative.ort.org.il
Description: The best theme ever for Motnet
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motnet
Tags:

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

motnet is created by the theme generator at http://components.underscores.me/, (C) 2015-2016 Automattic, Inc.
Components is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Accessibility
# Alignments
# Clearings
# Typography
# Forms
# Buttons
# Formatting
# Lists
# Tables
# Navigation
# Links
# Layout
	## Posts
	## Pages
# Comments
# Widgets
# Infinite scroll
# Media
	## Galleries
--------------------------------------------------------------*/
/*colors in theme*/
@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 400;
    src: url(font/opensanshebrew-regular-webfont.eot);
    src: url(font/opensanshebrew-regular-webfont.eot?#iefix) format("embedded-opentype"), url(font/opensanshebrew-regular-webfont.woff) format("woff"), url(font/opensanshebrew-regular-webfont.ttf) format("truetype");
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 700;
    src: url(font/opensanshebrew-bold-webfont.eot);
    src: url(font/opensanshebrew-bold-webfont.eot?#iefix) format("embedded-opentype"), url(font/opensanshebrew-bold-webfont.woff) format("woff"), url(font/opensanshebrew-bold-webfont.ttf) format("truetype");
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: normal;
    font-weight: 800;
    src: url(font/opensanshebrew-extrabold-webfont.eot);
    src: url(font/opensanshebrew-extrabold-webfont.eot?#iefix) format("embedded-opentype"), url(font/opensanshebrew-extrabold-webfont.woff) format("woff"), url(font/opensanshebrew-extrabold-webfont.ttf) format("truetype");
}

@font-face {
    font-family: 'Open Sans Hebrew';
    font-style: italic;
    font-weight: 200;
    src: url(font/opensanshebrew-lightitalic-webfont.eot);
    src: url(font/opensanshebrew-lightitalic-webfont.eot?#iefix) format("embedded-opentype"), url(font/opensanshebrew-lightitalic-webfont.woff) format("woff"), url(font/opensanshebrew-lightitalic-webfont.ttf) format("truetype");
}

/*sizes*/
/*alignments for mobile*/
/*********************
	BREAKPOINTS
*********************/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 62.5%;
    /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
}

body {
    margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
    display: block;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden],
template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    box-sizing: content-box;
    height: 0;
}

pre {
    overflow: auto;
}

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    -webkit-appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}


body.pojo-a11y-high-contrast .tag-item label::before,
body.pojo-a11y-high-contrast .sub-group-item label::before,
body.pojo-a11y-negative-contrast .tag-item label::before,
body.pojo-a11y-negative-contrast .sub-group-item label::before {
    background-color: inherit;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Flex helper
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #1b4c64;
    font-family: "Open Sans Hebrew", arial, helvetica, sans-serif;
    font-size: 28.8px;
    font-size: 1.8rem;
    line-height: 1.4;
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
}

p {
    margin-bottom: 1.5em;
}

dfn, cite, em, i {
    font-style: italic;
}

blockquote {
    margin: 0 1.5em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

code, kbd, tt, var {
    font-family: "Open Sans Hebrew", arial, helvetica, sans-serif;
    font-size: 15px;
    font-size: 0.9375rem;
}

abbr, acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
}

mark, ins {
    background: #fff9c0;
    text-decoration: none;
}

big {
    font-size: 125%;
}

blockquote, q {
    quotes: "" "";
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
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 {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
    color: #111;
}

select {
    border: 1px solid #ccc;
}

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"] {
    padding: 3px;
}

textarea {
    padding-left: 3px;
    width: 100%;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: 1px solid;
    border-color: #ccc #ccc #bbb;
    border-radius: 3px;
    background: #e6e6e6;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);*/
    color: rgba(0, 0, 0, 0.8);
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1;
    padding: .6em 1em .4em;
    /*text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);*/
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #ccc #bbb #aaa;
    /*box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);*/
}

button:active, button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
    border-color: #aaa #bbb #bbb;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

/*--------------------------------------------------------------
# Formattings
--------------------------------------------------------------*/
hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Lists
--------------------------------------------------------------*/
ul, ol {
    margin: 0 0 1.5em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1.5em;
}

/*--------------------------------------------------------------
# Tables
--------------------------------------------------------------*/
table {
    margin: 0 0 1.5em;
    width: 100%;
}

.entry-content table {
    max-width: 100%;
}

.entry-content th, .entry-content td {
    padding: 5px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*logo's naviagtion and top navigation only shown in desktop'*/
@media (min-width: 960px) {
    /*Main navigation*/
    .main-navigation .menu .sub-menu,
    .footer-widgets .menu .sub-menu {
        display: none;
    }

    .main-navigation {
        background-color: #112b38;
        text-align: center;
        padding: 0.9rem 0;
    }

    .main-navigation a:focus {
        outline: thin dotted #EFEF21;
    }

    .main-navigation .menu {
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        padding: 0.7rem 0;
    }

    .main-navigation .menu li {
        padding: 1rem 0.8rem;
    }

    .main-navigation .menu .current_page_item,
    .main-navigation .menu .current-menu-item,
    .main-navigation .menu .current-menu-parent,
    .main-navigation .menu .current-post-ancestor,
    .main-navigation .menu .current-category-ancestor {
        background-color: #eb5f0a;
    }
}

@media (min-width: 1280px) {
    .main-navigation > div {
        padding-right: calc(50% - 64rem);
        padding-left: calc(50% - 64rem);
    }

    .main-navigation > div .main-navigation a:focus {
        outline: thin dotted #EFEF21;
    }
}

@media (max-width: 959px) {
    #responsive-menu-pro-container .responsive-menu-pro-search-form {
        position: relative;
    }

    #responsive-menu-pro-container .responsive-menu-pro-search-form:before {
        content: '';
        position: absolute;
        top: 1.5rem;
        left: 1rem;
        background-image: url("images/motnet-sprite.png");
        background-repeat: no-repeat;
        background-position: 100% 0;
        display: block;
        width: 2.3rem;
        height: 2.3rem;
    }

    #responsive-menu-container .responsive-menu-search-box placeholder {
        display: none;
    }

    body .responsive-menu-pro-button {
        box-shadow: none;
    }

    body .responsive-menu-inner,
    body .responsive-menu-inner::before,
    body .responsive-menu-inner::after {
        border-radius: 0;
    }
}

/*--------------------------------------------------------------
	div wrapper for logos menu and arabic menu
--------------------------------------------------------------*/
.site-logos-language {
    margin: 1.5rem 1.5rem 1.8rem;
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
}

@media (min-width: 960px) {
    .site-logos-language {
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }
}

@media (min-width: 960px) {
    .site-logos-language {
        margin: 3.2rem 1.5rem 3.2rem;
    }
}

@media (min-width: 1280px) {
    .site-logos-language {
        justify-content: space-between;
        -webkit-justify-content: space-between;
        margin-right: calc(50% - 64rem);
        margin-left: calc(50% - 64rem);
    }
}

/*--------------------------------------------------------------
	Logo menu
--------------------------------------------------------------*/
/*in mobile + tablet the logos are not shown  - only on desktop*/
@media (max-width: 959px) {
    .site-logos-language .logos-menu {
        display: none;
    }
}

/*logo's naviagtion and top navigation only shown in desktop'*/
@media (min-width: 960px) {
    /*Desktop navigation logos*/
    .site-logos-language .logos-menu {
        display: -webkit-flex;
        display: flex;
        justify-content: space-around;
        -webkit-justify-content: space-around;
        -webkit-align-items: center;
        align-items: center;
        width: calc(100% - 29rem);
    }
}

@media (min-width: 960px) and (min-width: 1280px) {
    .site-logos-language .logos-menu {
        max-width: 80rem;
    }
}

body.pojo-a11y-high-contrast .site-logos-language .logos-menu,
body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .site-logos-language .logos-menu {
    background-color: #fff !important;
}

@media (min-width: 960px) {
    .site-logos-language .logos-menu li,
    body.pojo-a11y-high-contrast .site-logos-language .logos-menu li,
    body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .site-logos-language .logos-menu li,
    body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .site-logos-language .logos-menu li {
        background-image: url("images/motnet-sprite.png") !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important;
    }

    .site-logos-language .logos-menu li a {
        text-indent: -999999px;
        overflow: hidden;
        display: block;
        height: 100%;
    }

    body.pojo-a11y-high-contrast .site-logos-language .logos-menu li a,
    body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .site-logos-language .logos-menu li a,
    body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .site-logos-language .logos-menu li a {
        background-color: transparent !important;
    }

    body.pojo-a11y-high-contrast .site-logos-language .logos-menu .waizman-logo,
    body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .site-logos-language .logos-menu .waizman-logo,
    body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .site-logos-language .logos-menu .waizman-logo,
    .site-logos-language .logos-menu .waizman-logo {
        width: 14.3rem;
        height: 7.9rem;
        background-position: 0 -200px !important;
    }

    body.pojo-a11y-high-contrast .site-logos-language .logos-menu .malam-logo,
    body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .site-logos-language .logos-menu .malam-logo,
    body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .site-logos-language .logos-menu .malam-logo,
    .site-logos-language .logos-menu .malam-logo {
        width: 23.6rem;
        height: 4.5rem;
        background-position: 0 -100px !important;
    }

    body.pojo-a11y-high-contrast .site-logos-language .logos-menu .education-logo,
    body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .site-logos-language .logos-menu .education-logo,
    body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .site-logos-language .logos-menu .education-logo,
    .site-logos-language .logos-menu .education-logo {
        width: 11.8rem;
        height: 8rem;
        background-position: 0 0 !important;
    }
}

/*--------------------------------------------------------------
	Arabic menu
--------------------------------------------------------------*/
.to-arabic {
    background-color: #1a8ec6;
    font-size: 1.6rem;
    text-align: center;
    box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.25);
    padding: 0.8rem 1rem;
}

@media (min-width: 768px) {
    .to-arabic {
        padding: 0.9rem 2rem;
    }
}

@media (min-width: 960px) {
    .to-arabic {
        padding: 0.9rem 2rem;
        font-size: 2rem;
    }
}

.language-menu {
    max-width: 17rem;
    margin-top: 2rem !important;
}

@media (max-width: 959px) {
    .language-menu {
        display: flex;
        max-width: 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}

.to-arabic {
    width: 80%;
}

@media (max-width: 959px) {
    .to-arabic {
        width: auto;
    }
}

.newsletter {
    padding-right: 5rem;
    margin-top: 2rem;
}

.newsletter.menu-item a {
    color: inherit;
}

.newsletter a::before {
    content: "\f466";
    display: block;
    width: 1rem;
    height: 0.5rem;
    position: relative;
    right: -5rem;
    font-family: dashicons;
    font-size: 5rem;
    color: #eb5f0a;
    vertical-align: top;
    top: -6px;
}

@media (max-width: 959px) {
    .newsletter {
        max-width: 17rem;
        margin-top: 0;
    }
}

/*--------------------------------------------------------------
	** Responsive menu plugin
--------------------------------------------------------------*/

.widget-area ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1280px) {
    .widget-area ul {
        /*max-width: 24.7rem;*/
        max-width: 29rem;
    }
}

.widget-area .cat-item {
    margin-bottom: 1rem;
}

.widget-area .cat-item a,
.widget-area .cat-item a:hover,
.widget-area .cat-item a:visited {
    color: #1b4c64;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 0.7rem;
}

body:not(.home):not(.category-teaching-resources) .widget-area .cat-item.current-cat,
.widget-area .cat-item.current-cat {
    background-color: #eb5f0a;
}

.widget-area .cat-item.current-cat a {
    color: #fff;
}

.main-navigation .menu,
.logos-menu,
.language-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
.comment-navigation,
.posts-navigation,
.post-navigation {

	.site-main & {
		margin: 0 0 1.5em;
		overflow: hidden;
	}

	.nav-previous {
		float: left;
		width: 50%;
	}

	.nav-next {
		float: right;
		text-align: right;
		width: 50%;
	}
	
}*/
/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
    color: royalblue;
}

a:visited {
    color: purple;
}

a:hover, a:focus, a:active {
    color: midnightblue;
}

a:focus {
    outline: thin dotted #000000;
}

a:hover, a:active {
    /*outline: 0;*/
}

/*menu links*/
.menu-item a {
    color: #fff;
    text-decoration: none;
}

.menu-item:not(.newsletter):not(.mailing-list):not(.contact-us) a:hover,
.menu-item:not(.newsletter):not(.mailing-list):not(.contact-us) a:focus,
.menu-item:not(.newsletter):not(.mailing-list):not(.contact-us) a:active {
    color: #fff;
}

/*extra links under side navigation*/
.extra-link a {
    padding: 1rem 2rem 1rem 1rem;
    background-color: #404040;
    font-size: 2rem;
    text-decoration: underline;
    display: block;
    position: relative;
    line-height: 1.2;
}

.extra-link a:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.6rem 0.8rem 0.7rem 0;
    border-color: transparent currentColor transparent transparent;
    /*left: auto;
    right: 17rem;*/
    left: 1rem;
}

.extra-link a .new-window-link {
    display: inline-block;
    /*needed to overid the underline: https://stackoverflow.com/questions/8681301/text-decoration-for-link-and-span-inside-this-link*/
    font-size: 1.4rem;
    text-decoration: none;
    padding-right: 0.6rem;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-branding {
    background-image: url("images/background-mobile.jpg");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: cover;
    padding-top: 1rem;
    padding-bottom: 0.7rem;
}

@media (min-width: 768px) {
    .site-branding {
        padding-top: 2rem;
        min-height: 37rem;
        max-height: 30.2rem;
        padding-top: 2rem;
    }
}

@media (min-width: 768px) {
    .site-branding {
        background-image: url("images/background-tablet.jpg");
    }
}

@media (min-width: 1280px) {
    .site-branding {
        background-image: url("images/background-desktop.jpg");
    }
}

@media (min-width: 768px) {
    body:not(.home) .site-branding {
        max-height: 23rem;
        min-height: 23rem;
    }
}

@media (min-width: 1280px) {
    body:not(.home) .site-branding {
        max-height: 30.2rem;
        min-height: 30rem;
    }
}

.site-description {
    display: none;
}

.site-title {
    margin-bottom: 0;
    margin-top: 0;
}

.site-title a {
    display: block;
    width: 50%;
    min-width: 14.6;
    max-width: 22rem;
    min-height: 7.3rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .site-title a {
        max-width: none;
        width: 413px;
        height: 196px;
        margin-right: 6.5rem;
    }
}

@media (min-width: 1280px) {
    .site-title a {
        margin-right: calc(50% - 480px);
    }
}

@media (max-width: 767px) {
    .site-header .logos-menu {
        display: none;
    }
}

/*--------------------------------------------------------------
	** Search & Bread crumbs
--------------------------------------------------------------*/
.search-form {
    display: -webkit-flex;
    display: flex;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    margin: -5.3rem 0 1rem 1rem;
}

@media (min-width: 1280px) {
    .search-form {
        margin-left: calc(50% - 64.5rem);
    }
}

.gsc-search-box table {
    margin-bottom: 0;
}

table.gsc-search-box > tbody > tr > td {
    vertical-align: top;
}

.cse table.gsc-search-box.gsc-search-box td.gsc-input, table.gsc-search-box.gsc-search-box td.gsc-input {
    padding: 0;
}

.wgs_wrapper .gsc-input-box .gsib_a input[type="text"] {
    width: calc(28.7rem - 36px - 18px) !important;
    /* width of the title in side bar is 28.7rem. Deduct 36px of button width, and 12px of side padding */
}

input.search-field,
input.search-submit {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

input.search-field, .wgs_wrapper td.gsib_a {
    color: #1b4c64;
    padding: 0.7rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* motnet_arb needs a little more padding */
.theme-motnet-arb input.search-field, .theme-motnet-arb .wgs_wrapper td.gsib_a {
    padding: 0.75rem;
}

#responsive-menu-pro-container input.search-field,
#responsive-menu-pro-container .wgs_wrapper td.gsib_a {
    padding: 0.7rem;
}

#responsive-menu-pro-container .gsc-input-box {
    border-radius: 0;
}

.theme-motnet-arb #responsive-menu-pro-container input.search-field,
.theme-motnet-arb #responsive-menu-pro-container .wgs_wrapper td.gsib_a {
    padding: 0.75rem;
}


input.search-submit {
    background-color: #fff;
    text-indent: -999999px;
    overflow: hidden;
    display: block;
    background-image: url("images/motnet-sprite.png");
    background-repeat: no-repeat;
    background-position: -969px 11px;
    width: 4.2rem;
}

.cse .gsc-search-button-v2.gsc-search-button-v2, .gsc-search-button-v2.gsc-search-button-v2,
.cse .gsc-search-button-v2.gsc-search-button-v2:hover, .gsc-search-button-v2.gsc-search-button-v2:hover {
    background-color: #fff;
    background-image: none;
    width: 3.6rem;
    height: 3.6rem;
    padding: .6em 1em .4em;
    border-radius: 0;
    margin: 0;
    border: 0;
}

@media (max-width: 400px) {

    #responsive-menu-pro-container input.search-field,
    #responsive-menu-pro-container .wgs_wrapper td.gsib_a {
        padding: 0.7rem 0.2rem;
    }

    .wgs_wrapper .gsc-input-box .gsib_a input[type="text"] {
        width: auto !important;
        min-width: 100px;
    }
}

td.gsc-search-button.gsc-search-button {
    width: auto;
}

.gsc-search-button-v2.gsc-search-button-v2 svg {
    fill: #333;
}

body.pojo-a11y-high-contrast .gsc-search-button-v2.gsc-search-button-v2 svg,
body.pojo-a11y-negative-contrast :not(#pojo-a11y-toolbar) .gsc-search-button-v2.gsc-search-button-v2 svg {
    fill: #fff;
}

body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .gsc-search-button,
body.pojo-a11y-light-background :not(#pojo-a11y-toolbar):not(.pojo-a11y-toolbar-link) .gsib_a {
    border: 1px solid;
}

/*Search and breadcrumbs don't appeare in mobile and tablet'*/
@media (max-width: 959px) {
    .site-header .search-form,
    .breadcrumbs {
        display: none;
    }
}

@media (min-width: 960px) {
    /*breadcrumbs*/
    .breadcrumbs {
        margin: 1rem 0 1.5rem 0;
        color: #1b4c64;
        font-size: 1.6rem;
    }

    body .breadcrumbs a {
        color: inherit;
        text-decoration: none;
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.important-links {
    padding: 1.5rem 2rem;
}

@media (min-width: 768px) {
    .important-links {
        padding: 1.5rem 0;
    }
}

.important-links .menu {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.important-links .menu .menu-item {
    width: 100%;
    margin-bottom: 4rem;
    margin-left: 1rem;
}

@media (max-width: 479px) {
    .important-links .menu .menu-item {
        margin-left: 0;
    }
}

.important-links .menu .menu-item:last-child {
    margin-left: 0;
}

.important-links .menu .menu-item a {
    color: #1b4c64;
    display: block;
    padding-top: 70%;
    text-align: center;
    position: relative;
}

.important-links .menu .menu-item a:hover {
    color: #eb5f0a;
}

.important-links .menu .menu-item a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background-color: #efefef;
    width: 100%;
    height: 85%;
}

@media (min-width: 480px) and (max-width: 1200px) {
    .important-links .menu .menu-item a:before {
        height: 80%;
    }
}

.important-links .menu .menu-item a:after {
    content: "";
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    background-image: url("images/motnet-sprite.png");
    background-repeat: no-repeat;
    z-index: 1;
}

@media (min-width: 480px) and (max-width: 1200px) {
    .important-links-1 .menu {
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
}

@media (min-width: 960px) {
    .important-links-1 .menu {
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
}

@media (min-width: 1280px) {
    .important-links-1 .menu .menu-item {
        margin-left: 2rem;
    }
}

@media (min-width: 1280px) {
    .important-links-1 .menu .menu-item a {
        padding-top: 60%;
    }
}

.important-links-1 .menu .school-program a:after {
    background-position: 0 -700px;
    width: 16.5rem;
    height: 11.6rem;
}

@media (min-width: 480px) and (max-width: 1200px) {
    .important-links-1 .menu .school-program a:after {
        background-position: -0.3% 60.8%;
        background-size: 581% auto;
        width: 60%;
        max-width: 18rem;
        height: auto;
        padding-bottom: 60%;
    }
}

.important-links-1 .menu .documents a:after {
    background-position: -1.3% 78.8%;
    background-size: 581% auto;
    width: 60%;
    max-width: 18rem;
    height: auto;
    padding-bottom: 60%;
}

@media (min-width: 1280px) {
    .important-links-1 .menu .documents a:after {
        background-position: -1.3% 79.8%;
        background-size: 553% auto;
    }
}

.important-links-1 .menu .ok-books a:after {
    background-position: 0 -1100px;
    width: 22.5rem;
    height: 10rem;
}

@media (min-width: 480px) and (max-width: 1200px) {
    .important-links-1 .menu .ok-books a:after {
        background-position: -0.3% 94.8%;
        background-size: 440% auto;
        width: 80%;
        max-width: 18rem;
        height: auto;
        padding-bottom: 60%;
    }
}

.important-links-2 .menu {
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

@media (min-width: 480px) and (max-width: 1200px) {
    .important-links-2 .menu {
        max-width: 40rem;
        margin: 0 auto;
    }
}

@media (min-width: 960px) {
    .important-links-2 .menu {
        max-width: initial;
        margin: 0;
    }
}

.important-links-2 .menu .menu-item {
    width: 47%;
    max-width: 18.5rem;
    margin-left: 0;
}

@media (min-width: 960px) {
    .important-links-2 .menu .menu-item {
        width: 23%;
    }
}

.important-links-2 .menu .menu-item a {
    line-height: 1.1;
    padding-top: 11.5rem;
}

.important-links-2 .menu .menu-item a:before {
    content: none;
    /*there's no need for the background. I'm inserting it to the :after''*/
}

.important-links-2 .menu .menu-item a:after {
    top: 0;
    width: 100%;
    height: 85%;
    max-height: 10rem;
    background-color: #efefef;
    transform: translate(-50%, 0px);
    -webkit-transform: translate(-50%, 0px);
}

.important-links-2 .menu .hala a:after {
    background-position: 100% 7%;
    background-size: 542% auto;
}

.important-links-2 .menu .teaches-com a:after {
    background-position: 103% 25%;
    background-size: 438% auto;
}

.important-links-2 .menu .atuda a:after {
    background-position: 102% 41.6%;
    background-size: 438% auto;
}

.important-links-2 .menu .teachers-assets a:after {
    background-position: 103% 59%;
    background-size: 438% auto;
}

.news-headline {
    color: #fff;
    font-size: 2.6rem;
    background-color: #1a8ec6;
    padding: 1rem 2.4rem;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
}

@media (max-width: 767px) {
    .news-headline {
        text-align: center;
    }
}

.news-headline:after {
    content: "";
    position: absolute;
    bottom: -1.3rem;
    right: 11.5rem;
    border-style: solid;
    border-width: 1.4rem 1.4rem 0 1.4rem;
    border-color: #1a8ec6 transparent transparent transparent;
}

@media (max-width: 767px) {
    .news-headline:after {
        right: 50%;
    }
}

.important-links-3 .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    margin: 5rem 2rem;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

@media (min-width: 768px) {
    .important-links-3 .menu {
        margin: 5rem 0;
    }
}

.important-links-3 .menu-item {
    width: 46%;
    background-color: #efefef;
    margin-bottom: 3rem;
    box-shadow: 0 3px 0 0 #bdcfd9;
}

@media (min-width: 768px) {
    .important-links-3 .menu-item {
        width: 23%;
    }
}

.important-links-3 .menu-item a {
    color: #1b4c64;
    font-weight: bold;
    text-align: center;
    display: block;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .important-links-3 .menu-item:nth-child(1) a,
    .important-links-3 .menu-item:nth-child(2) a,
    .important-links-3 .menu-item:nth-child(3) a {
        padding-top: 3rem;
    }
}

@media (min-width: 960px) {
    .important-links-3 .menu-item:nth-child(1) a,
    .important-links-3 .menu-item:nth-child(2) a,
    .important-links-3 .menu-item:nth-child(3) a {
        padding-top: 2rem;
    }
}

.important-links-3 .menu-item:hover {
    background-color: #eb5f0a;
}

.important-links-3 .menu-item:hover a,
.important-links-3 .menu-item a:hover {
    color: #fff;
}

.more-news-wrap {
    text-align: left;
    color: #fff;
    margin: 1.5rem 0 4rem 0;
}

@media (max-width: 767px) {
    .more-news-wrap {
        text-align: center;
    }
}

.more-news {
    background-color: #404040;
    color: inherit;
    text-decoration: none;
    padding: 0.5rem 1rem 0.5rem 2.3rem;
    display: inline-block;
    position: relative;
}

.more-news:focus {
    color: #fff;
}

.more-news:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.6rem 0.8rem 0.7rem 0;
    border-color: transparent currentColor transparent transparent;
    left: 0.7rem;
}

.more-news-wrap:hover,
.more-news-wrap:visited,
.more-news-wrap:hover .more-news,
.more-news:hover,
.more-news:visited {
    color: #fff;
}

.more-news:hover {
    background-color: #eb5f0a;
}

@media (max-width: 767px) {
    .home .widget-area .tag-group-list {
        padding: 0 3rem;
    }

    .home .tag-group-wrapper {
        padding-right: 1.5rem;
    }

    .home .tag-group-name {
        position: relative;
    }

    .home .tag-group-name.tag-list-closed {
        margin-bottom: 0;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
    }

    .home .tag-list {
        margin-top: 3rem;
    }

    .home .tag-group-name:before {
        content: '';
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        left: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0.6rem 0.8rem 0.7rem 0;
        border-color: transparent currentColor transparent transparent;
        right: -2rem;
        border-width: 0.7rem 0.6rem 0 0.6rem;
        border-color: #226180 transparent transparent;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
    }

    .home .tag-list-closed:before {
        border-width: 0.6rem 0.8rem 0.7rem 0;
        border-color: transparent #226180 transparent transparent;
    }

    .home .tag-group-wrapper:last-child {
        margin-bottom: 0;
    }
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
    background: #fff;
    /* Fallback for when there is no custom background color defined. */
}

.site-content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.content-area {
    width: 100%;
}

@media (min-width: 768px) {
    .content-area {
        width: 70%;
        padding: 2rem;
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }
}

@media (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .content-area {
        width: 69.9%;
    }
}

@media (min-width: 1280px) {
    .content-area {
        padding-right: calc(50% - 64rem);
    }
}

@media (max-width: 767px) {
    .home .content-area {
        margin-top: 2rem;
        -webkit-order: 2;
        order: 2;
    }
}

@media (min-width: 960px) {
    body:not(.home):not(.search) .content-area {
        padding-top: 0;
    }
}

.site-content .widget-area {
    width: 100%;
}

@media (min-width: 768px) {
    .site-content .widget-area {
        background-color: #efefef;
        width: 30%;
    }
}

@media (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .site-content .widget-area {
        width: 29.9%;
    }
}

@media (min-width: 1280px) {
    .site-content .widget-area {
        padding-right: 2.5rem;
    }
}

body.home .site-content .widget-area {
    background-color: #efefef;
}

body:not(.home):not(.category-teaching-resources) .site-content .widget-area {
    padding: 2rem;
}

@media (min-width: 960px) {
    body:not(.home):not(.category-teaching-resources) .site-content .widget-area {
        padding-top: 5rem;
    }
}

@media (min-width: 768px) {
    body.home .site-content .widget-area {
        padding-top: 2rem;
    }
}

@media (max-width: 767px) {
    body:not(.home):not(.category-teaching-resources) .widget-area .cat-item {
        background-color: #efefef;
        padding: 1rem;
    }

    body:not(.home):not(.category-teaching-resources) .widget-area .cat-item:hover a {
        color: #eb5f0a;
    }
}

@media (min-width: 960px) {
    .category-teaching-resources .site-content {
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .category-teaching-resources .site-content {
        max-width: 128rem;
        margin: 0 auto;
        padding: 0;
    }
}

.category-teaching-resources .content-area {
    -webkit-order: 2;
    order: 2;
    padding: 2rem;
}

@media (min-width: 768px) {
    .category-teaching-resources .content-area {
        padding: 0;
    }
}

@media (min-width: 960px) {
    .category-teaching-resources .content-area {
        padding-right: 0;
        width: 74.5%;
    }
}

@media (min-width: 1280px) {
    .category-teaching-resources .content-area {
        /*width: 80%;*/
    }
}

@media (min-width: 960px) {
    .category-teaching-resources .site-content .widget-area {
        padding: 0;
        width: 25%;
    }
}

@media (max-width: 767px) {
    .category-teaching-resources .site-content .widget-area {
        background-color: #efefef;
    }
}

.resources-header {
    color: #fff;
    font-size: 2.6rem;
    background-color: #1a8ec6;
    padding: 1rem 2.4rem;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
    margin: 1.5rem 0 4rem 0;
}

@media (max-width: 767px) {
    .resources-header {
        text-align: center;
    }
}

.resources-header:after {
    content: "";
    position: absolute;
    bottom: -1.3rem;
    right: 11.5rem;
    border-style: solid;
    border-width: 1.4rem 1.4rem 0 1.4rem;
    border-color: #1a8ec6 transparent transparent transparent;
}

@media (max-width: 767px) {
    .resources-header:after {
        right: 50%;
    }
}

@media (max-width: 767px) {
    .resources-header {
        margin-top: 0;
    }
}

@media (min-width: 1280px) {
    .resources-header {
        /*max-width: 24.2rem;*/
        max-width: 28.7rem;
    }
}

.tag-group-list,
.tag-group-wrapper .tag-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #1b4c64;
}

.tag-group-wrapper,
.chosen-tags .chosen-tags-list {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #ccdbe4;
}

@media (min-width: 1280px) {
    .tag-group-wrapper,
    .chosen-tags .chosen-tags-list {
        position: relative;
    }
}

.tag-group-wrapper:last-child {
    border: none;
}

body:not(.home) .widget-area .tag-group-name {
    margin-bottom: 0.5rem;
}

@media (min-width: 1280px) {
    body:not(.home) .widget-area .tag-group-name {
        margin-bottom: 2rem;
    }
}

.clear-selection {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: block;
}

@media (min-width: 1280px) {
    .clear-selection {
        position: absolute;
        top: 0.2rem;
        left: 0;
    }
}

.tag-group-wrapper .tag-list .tag-item,
.tag-group-wrapper .tag-list .sub-group-item {
    margin-bottom: 1rem;
}

.tag-group-list a,
.tag-group-wrapper .tag-list a {
    color: inherit;
}

.tag-group-list a:hover,
.tag-group-wrapper .tag-list a:hover {
    color: #eb5f0a;
}

.widget-area .tag-group-list,
.widget-area .chosen-tags {
    padding: 0 3rem;
}

@media (min-width: 768px) {
    .widget-area .tag-group-list,
    .widget-area .chosen-tags {
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .widget-area .tag-group-list,
    .widget-area .chosen-tags {
        max-width: 29rem;
    }
}

@media (min-width: 1280px) {
    .home .widget-area .tag-group-list {
        padding-right: 1rem;
    }
}

.chosen-tags-item {
    display: -webkit-flex;
    display: flex;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    -webkit-align-items: flex-end;
    align-items: flex-end;
    position: relative;
    z-index: 1;
    background-image: linear-gradient(to right, currentColor 40%, #fff 20%);
    background-position: 0 83%;
    background-size: 0.4rem 0.2rem;
    background-repeat: repeat-x;
    margin-bottom: 0.6rem;
}

.chosen-tags-item span,
.chosen-tags-item a {
    display: inline-block;
    background-color: #efefef;
}

.chosen-tags-item span {
    padding-left: 0.8rem;
    max-width: 13rem;
}

.chosen-tags-item a,
.chosen-tags-item a:hover,
.chosen-tags-item a:visited {
    padding-right: 0.8rem;
    color: inherit;
    text-decoration: none;
}

.theme-motnet #group_id_3 .tag-list,
.theme-motnet-arb #group_id_3 .tag-list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media (min-width: 1280px) {
    .theme-motnet #group_id_3 .tag-list,
    .theme-motnet-arb #group_id_3 .tag-list {
        justify-content: space-between;
        -webkit-justify-content: space-between;
        max-width: 20rem;
    }
}

.theme-motnet.home #group_id_3 .tag-list .tag-item,
.theme-motnet-arb.home #group_id_3 .tag-list .tag-item {
    background-color: #fff;
    border: 1px solid #ccdbe4;
    border-radius: 0.5rem;
    margin-left: 0.8rem;
}

@media (min-width: 960px) {
    .theme-motnet.home #group_id_3 .tag-list .tag-item,
    .theme-motnet-arb.home #group_id_3 .tag-list .tag-item {
        margin-left: 1.4rem;
    }
}

.theme-motnet.home #group_id_3 .tag-list .tag-item:hover,
.theme-motnet-arb.home #group_id_3 .tag-list .tag-item:hover {
    background-color: #112b38;
}

.theme-motnet.home #group_id_3 .tag-list .tag-item:hover a,
.theme-motnet-arb.home #group_id_3 .tag-list .tag-item:hover a {
    color: #fff;
}

.theme-motnet #group_id_3 .tag-list .tag-item:last-child,
.theme-motnet-arb #group_id_3 .tag-list .tag-item:last-child {
    margin-left: 0;
}

.theme-motnet.home #group_id_3 .tag-list .tag-item a,
.theme-motnet-arb.home #group_id_3 .tag-list .tag-item a {
    padding: 1.4rem 0;
    text-decoration: none;
    font-weight: bold;
    display: block;
    min-width: 5.5rem;
    text-align: center;
}

.tag-item label,
.sub-group-item label {
    position: relative;
    cursor: pointer;
    padding-right: 1.5rem;
    display: inline-block;
    width: -webkit-calc(100% - 3rem);
    width: calc(100% - 3rem);
    -webkit-appearance: none;
}

.tag-item label:before,
.sub-group-item label:before {
    content: '';
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: 0.4rem;
    right: -1.3rem;
    background-color: #fff;
    border: 1px solid #ccdbe4;
    border-radius: 0.5rem;
    z-index: 0;
}

.tag-item label:after,
.sub-group-item label:after {
    content: '';
    width: 1.1rem;
    height: 0.6rem;
    position: absolute;
    top: 1rem;
    right: -0.8rem;
    border: 3px solid #fff;
    border-top: none;
    border-right: none;
    background: transparent;
    opacity: 0;
    transform: rotate(-45deg);
    z-index: 1;
}

.tag-item input[type=checkbox],
.sub-group-item input[type=checkbox] {
    /*visibility: hidden;*/
    opacity: 0;
    -webkit-appearance: none;
}

.tag-item input[type=checkbox]:checked + label:before,
.sub-group-item input[type=checkbox]:checked + label:before {
    background-color: #112b38;
    border: transparent;
}

.tag-item input[type=checkbox]:checked + label:after,
.sub-group-item input[type=checkbox]:checked + label:after {
    opacity: 1;
}

.tag-item input[type=checkbox]:focus + label,
.sub-group-item input[type=checkbox]:focus + label {
    outline: thin dotted #000000;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    .tag-item label,
    .sub-group-item label {
        width: 14rem;
    }
}

.theme-motnet #group_id_3 .tag-list .tag-item,
.theme-motnet-arb #group_id_3 .tag-list .tag-item {
    margin-left: 1.2rem;
    min-width: 4.5rem;
}

.theme-motnet #group_id_3 .tag-list .tag-item:hover label:before,
.theme-motnet-arb #group_id_3 .tag-list .tag-item:hover label:before {
    background-color: #112b38;
}

.theme-motnet #group_id_3 .tag-list .tag-item:hover label,
.theme-motnet-arb #group_id_3 .tag-list .tag-item:hover label {
    color: #fff;
}

.theme-motnet #group_id_3 .tag-item label,
.theme-motnet-arb #group_id_3 .tag-item label {
    z-index: 1;
    padding-right: 0.3rem;
    padding-top: 1rem;
    font-weight: bold;
    width: auto;
}

.theme-motnet #group_id_3 #tag_id53 label,
.theme-motnet-arb #group_id_3 #tag_id53 label {
    padding-right: 0.6rem;
}

.theme-motnet #group_id_3 .tag-item label:before,
.theme-motnet-arb #group_id_3 .tag-item label:before {
    width: 4.5rem;
    height: 4rem;
    z-index: -1;
}

.theme-motnet #group_id_3 .tag-item label:after,
.theme-motnet-arb #group_id_3 .tag-item label:after {
    content: none;
}

.theme-motnet #group_id_3 .tag-item input[type=checkbox]:checked + label,
.theme-motnet-arb #group_id_3 .tag-item input[type=checkbox]:checked + label {
    color: #fff;
}

.theme-motnet #group_id_3 .tag-item label span,
.theme-motnet-arb #group_id_3 .tag-item label span {
    display: none;
}

.sub-group-item .tag-list {
    visibility: hidden;
    height: 0.1rem;
}

.sub-group-item input.group-checkbox[type=checkbox]:checked ~ .tag-list {
    visibility: visible;
    margin: 1rem 3rem 1rem 1rem;
    height: auto;
}

/*--------------------------------------------------------------
	## Single Column / No Active Sidebar
--------------------------------------------------------------*/
.no-sidebar .site-main {
    margin: 0;
}

.no-sidebar .content-area {
    width: 100%;
}

@media (min-width: 1280px) {
    .no-sidebar .content-area {
        max-width: 128rem;
        margin-right: auto;
        margin-left: auto;
        padding-right: 0;
        padding-left: 0;
    }
}

/*--------------------------------------------------------------
	## Posts
--------------------------------------------------------------*/
.sticky {
    display: block;
}

.hentry {
    margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

@media (min-width: 1280px) {
    .acpwd-container {
        min-width: 375px;
        padding-left: 2rem;
        margin: 1rem 0;
    }
}

.acpwd-form .acpwd-pass,
.ppw-post-password-container input[type="password"] {
    max-width: 20rem;
}

@media (min-width: 960px) {
    .acpwd-form .acpwd-pass,
    .ppw-post-password-container input[type="password"] {
        max-width: 15rem;
    }
}

.single .page-content,
.single .entry-content,
.single:not(.teaching-resources-single) .entry-summary {
    margin: 2.5rem 0 0;
    font-size: 32px;
    font-size: 2rem;
}

@media (max-width: 767px) {
    .single .page-content,
    .single .entry-content,
    .single:not(.teaching-resources-single) .entry-summary {
        padding: 0 1.7rem;
    }
}

@media (max-width: 767px) {
    .single .post .entry-meta {
        padding-right: 1.7rem;
    }
}

@media (max-width: 559px) {
    /* needed to stop tables from overflowing, because it affects the responsive menu */
    .entry-content {
        overflow-x: hidden;
    }
}

.single .site-main .entry-title,
.category .page-title,
.search .page-title {
    color: #fff;
    font-size: 2.6rem;
    background-color: #1a8ec6;
    padding: 1rem 2.4rem;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
}

@media (max-width: 767px) {
    .single .site-main .entry-title,
    .category .page-title,
    .search .page-title {
        text-align: center;
    }
}

.single .site-main .entry-title:after,
.category .page-title:after,
.search .page-title:after {
    content: "";
    position: absolute;
    bottom: -1.3rem;
    right: 11.5rem;
    border-style: solid;
    border-width: 1.4rem 1.4rem 0 1.4rem;
    border-color: #1a8ec6 transparent transparent transparent;
}

@media (max-width: 767px) {
    .single .site-main .entry-title:after,
    .category .page-title:after,
    .search .page-title:after {
        right: 50%;
    }
}

@media (max-width: 767px) {
    .single .site-main .entry-title,
    .category .page-title,
    .search .page-title {
        margin-top: 0;
    }
}

.single .entry-content {
    font-size: 32px;
    font-size: 2rem;
    line-height: 1.5;
}

article .entry-content p {
    margin-top: 0;
}

.post .entry-content a:not(.file-download) {
    color: #0272c1;
}

.post .entry-content a:visited {
    color: #eb5f0a;
}

.post .entry-content ul {
    list-style: disc outside;
    padding-right: 2rem;
}

.post .entry-content ul ul {
    list-style: circle;
}

.post .entry-content ol {
    list-style: decimal outside;
    padding-right: 2rem;
}

.home .post,
.archive .post,
.search .post,
.search-results article.page {
    /*padding: 0 1.5rem 2rem 1.5rem; was until 1.11*/
    padding: 4rem 2rem;
    border-bottom: 1px solid #ccdbe4;
    /*margin: 4rem 0; was until 1.11*/
    margin: 0;
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
}

.home .post:hover,
.archive .post:hover,
.search .post:hover,
.search-results article.page:hover {
    background-color: #efefef;
}

.home .news .post:last-of-type {
    margin-bottom: 0;
}

.home .post a,
.archive .post a,
.search .post a,
.search-results .page a {
    color: #1b4c64;
    text-decoration: none;
}

.home .post .post-thumbnail,
.search .post .post-thumbnail,
body.archive:not(.category-approved-books) .post:not(.science-news-post) .post-thumbnail {
    width: 18.5rem;
    height: 11.5rem;
    overflow: hidden;
}

.home .post .post-thumbnail img,
.archive .post .post-thumbnail img,
.search .post .post-thumbnail img {
    width: 100%;
}

.home .post .entry-title,
.archive .post .entry-title,
.search .post .entry-title,
.search article .entry-title {
    color: #226180;
    font-size: 2.2rem;
    margin: 0.2rem 0;
}

.home .post .entry-content,
.archive .post .entry-content,
.search .post .entry-content {
    line-height: 1.6;
}

.home .post .entry-meta,
.archive .post .entry-meta,
.search .post .entry-meta {
    margin-bottom: 1.5rem;
}

.home .post .entry-footer,
.archive .post .entry-footer,
.search .post .entry-footer,
.search-results .page .entry-footer {
    text-align: left;
    color: #226180;
}

.home .post .entry-footer .read-more,
.archive .post .entry-footer .read-more,
.search .post .entry-footer .read-more,
.search-results .page .entry-footer .read-more {
    position: relative;
    padding-left: 1.5rem;
    display: inline-block;
}

.home .post .entry-footer .read-more:after,
.archive .post .entry-footer .read-more:after,
.search .post .entry-footer .read-more:after,
.search-results .page .entry-footer .read-more:after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    -webkit-transform: translate(0, -50%);
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.6rem 0.8rem 0.7rem 0;
    border-color: transparent currentColor transparent transparent;
    border-width: 0.6rem 0.8rem 0.7rem 0;
    border-color: transparent #226180 transparent transparent;
}

.home .post .entry-footer .read-more .new-window-link,
.archive .post .entry-footer .read-more .new-window-link,
.search .post .entry-footer .read-more .new-window-link,
.search-results .page .entry-footer .read-more .new-window-link {
    font-size: 1.4rem;
}

@media (min-width: 768px) {
    .home .post a,
    .archive .post a,
    .search .post a,
    .search-results .page a {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .post-wrapper {
        padding-right: 2rem;
        width: calc(100% - 20rem);
    }
}

@media (min-width: 768px) and (min-width: 1280px) {
    .post-wrapper {
        display: -webkit-flex;
        display: flex;
    }
}

@media (min-width: 768px) {
    .home .post .post-thumbnail,
    .archive .post .post-thumbnail,
    .search .post .post-thumbnail {
        margin-top: 1rem;
    }

    .home .post .entry-footer,
    .archive .post .entry-footer,
    .search .post .entry-footer,
    .search-results .page .entry-footer {
        width: 100%;
    }
}

@media (min-width: 1280px) {
    .post-wrapper {
        display: -webkit-flex;
        display: flex;
        justify-content: space-around;
        -webkit-justify-content: space-around;
    }

    .home .post .entry-header,
    .search .post .entry-header,
    .search-results .page .entry-header,
    .archive:not(.category-teaching-resources):not(.category-approved-books) .post:not(.science-news-post) .entry-header {
        width: 30%;
    }

    .home .post .entry-content,
    .archive .post .entry-content,
    .search .post .entry-content,
    .search-results.page .entry-content {
        width: 60%;
    }
}

.home .science-news-post .post-thumbnail,
.archive .science-news-post .post-thumbnail {
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .home .science-news-post .post-thumbnail,
    .archive .science-news-post .post-thumbnail {
        width: 50%;
        height: 23rem;
    }
}

@media (min-width: 1280px) {
    .home .science-news-post .post-thumbnail,
    .archive .science-news-post .post-thumbnail {
        max-width: 38rem;
        height: 23rem;
    }
}

@media (min-width: 768px) {
    .home .science-news-post .post-wrapper,
    .archive .science-news-post .post-wrapper {
        width: 50%;
        display: block;
    }
}

@media (min-width: 1280px) {
    .home .science-news-post .post-wrapper,
    .archive .science-news-post .post-wrapper {
        width: calc(100% - 40rem);
        padding-right: 4rem;
    }
}

@media (min-width: 1280px) {
    .home .science-news-post .entry-header,
    .archive .science-news-post .entry-header,
    .home .science-news-post .entry-content,
    .archive .science-news-post .entry-content {
        width: 100%;
    }
}

.wp-pagenavi-wrapper {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.wp-pagenavi {
    font-size: 1.6rem;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    padding-left: 1rem;
}

@media (min-width: 768px) {
    .wp-pagenavi {
        padding-left: 0;
        justify-content: flex-end;
        -webkit-justify-content: flex-end;
    }
}

.wp-pagenavi span,
.wp-pagenavi .page,
.wp-pagenavi .first,
.wp-pagenavi .last,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
    background-color: #404040;
    color: #fff;
    padding: 0.5rem 1.4rem;
    border: 0;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
    padding: 0.5rem 0.8rem 0.5rem 0.6rem;
}

.wp-pagenavi span.current {
    background-color: #eb5f0a;
}

/*--------------------------------------------------------------
	## Pages
--------------------------------------------------------------*/
.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

body.page:not(.home):not(.search-results) .entry-content,
.search-no-results .page-content {
    padding: 2rem;
}

@media (min-width: 1280px) {
    body.page:not(.home):not(.search-results) .entry-content,
    .search-no-results .page-content {
        padding-left: 10rem;
    }
}

body.page:not(.home):not(.search-results) .entry-title {
    color: #fff;
    font-size: 2.6rem;
    background-color: #1a8ec6;
    padding: 1rem 2.4rem;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
}

@media (max-width: 767px) {
    body.page:not(.home):not(.search-results) .entry-title {
        text-align: center;
    }
}

body.page:not(.home):not(.search-results) .entry-title:after {
    content: "";
    position: absolute;
    bottom: -1.3rem;
    right: 11.5rem;
    border-style: solid;
    border-width: 1.4rem 1.4rem 0 1.4rem;
    border-color: #1a8ec6 transparent transparent transparent;
}

@media (max-width: 767px) {
    body.page:not(.home):not(.search-results) .entry-title:after {
        right: 50%;
    }
}

.wpcf7-form,
.acpwd-container,
.ppw-post-password-container {
    background-color: #efefef;
    color: #404040;
    padding: 2rem;
}

@media (max-width: 767px) {
    .wpcf7-form,
    .acpwd-container {
        box-shadow: 100px 0 0 0 #efefef, -100px 0 0 0 #efefef;
    }
}

@media (min-width: 1280px) {
    .wpcf7-form {
        box-shadow: -80px 0 0 0 #efefef;
    }
}

.acpwd-container .acpwd-info-message {
    margin-bottom: 1.5rem;
}

.wpcf7-form .wpcf7-form-control,
.acpwd-form .acpwd-pass,
.ppw-post-password-container input[type="password"] {
    border: none;
    border-radius: 0;
    padding: 1rem;
}

@media (max-width: 767px) {
    .wpcf7-form .wpcf7-form-control,
    .acpwd-form .acpwd-pass,
    .ppw-post-password-container input[type="password"] {
        width: 100%;
    }
}

.acpwd-form .acpwd-pass,
.ppw-post-password-container input[type="password"] {
    margin: 1rem 0 3rem 1rem;
}

.wpcf7-form .wpcf7-form-control-wrap {
    margin-top: 0.5rem;
    display: inline-block;
}

@media (min-width: 960px) {
    .wpcf7-form .your-message {
        width: 80%;
    }
}

.wpcf7-form .wpcf7-submit,
.acpwd-form .acpwd-submit,
.ppw-post-password-container input[type="submit"] {
    background-color: #404040;
    padding: 1rem 5rem;
    box-shadow: none;
    border-radius: 0;
    font-size: 2rem;
    color: #fff;
    position: relative;
}

.wpcf7-form .wpcf7-submit:focus,
.acpwd-form .acpwd-submit:focus,
.ppw-post-password-container input[type="submit"]:focus {
    outline: 1px dashed #404040;
}

.acpwd-form .acpwd-submit,
.ppw-post-password-container input[type="submit"] {
    padding: 1.2rem 5rem 1.3rem 5rem;
    border: 0;
}

.wpcf7-form div.wpcf7-validation-errors,
.wpcf7-form .wpcf7-mail-sent-ok,
.ppw-ppf-error-msg .acpwd-error-message {
    border: none;
    color: #fff;
    background-color: #ef2e15;
    margin: 0rem 0 3rem 0;
    padding: 1rem 2rem;
}

.ppw-ppf-error-msg .acpwd-error-message {
    /*because there's inline style :(*/
    color: #fff !important;
}

.wpcf7-form .wpcf7-mail-sent-ok {
    background-color: #009640;
}

.search-no-results .page-content .search-form {
    margin: 0 0 3rem 0;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    border: 1px solid #ccdbe4;
}

@media (min-width: 768px) {
    .search-no-results .page-content .search-form {
        max-width: 60rem;
    }
}

@media (min-width: 1280px) {
    .search-no-results .page-content .search-form {
        margin-left: 0;
    }
}

.search-no-results .page-content .search-form label {
    width: 100%;
}

/*--------------------------------------------------------------
	## category-teaching-resources
--------------------------------------------------------------*/
.category-teaching-resources .breadcrumbs {
    padding-right: 2rem;
}

.category-teaching-resources .page-header {
    width: 100%;
    margin-bottom: 2rem;
}

@media (min-width: 960px) {
    .category-teaching-resources .page-header {
        margin-bottom: 3rem;
    }
}

@media (min-width: 1280px) {
    .category-teaching-resources .page-header {
        margin: 0 calc(50% - 64rem) 3rem calc(50% - 64rem);
    }
}

@media (min-width: 960px) {
    .category-teaching-resources .site-content {
        padding: 0 2rem 0;
    }
}

@media (min-width: 1280px) {
    .category-teaching-resources .site-content {
        padding: 0;
    }
}

@media (min-width: 768px) {
    .category-teaching-resources .content-area {
        padding: 0 3rem 2rem 2rem;
    }
}

@media (min-width: 960px) {
    .category-teaching-resources .content-area {
        padding-left: 0;
    }
}

@media (min-width: 960px) {
    body.category-teaching-resources:not(.no-posts) .site-main {
        position: relative;
        margin-bottom: 10rem;
    }
}

.category-teaching-resources .wp-pagenavi-wrapper {
    width: 100%;
    bottom: 0;
    top: auto !important;
    right: 0 !important;
}

@media (max-width: 767px) {
    body.category-teaching-resources .site-content .widget-area {
        margin: 0 2rem;
        padding: 0;
    }

    .mobile-resources-button {
        font-size: 2rem;
        text-align: center;
        color: #fff;
        background-color: #404040;
        padding: 2rem;
        position: relative;
        cursor: pointer;
    }

    .mobile-resources-button:after {
        content: '';
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
        -webkit-transform: translate(0, -50%);
        left: calc(50% - 5.3rem);
        width: 0;
        height: 0;
        border-style: solid;
        transition: all 0.3s;
        -webkit-transition: all 0.3s;
        border-width: 0 0.5rem 0.5rem 0.5rem;
        border-color: transparent transparent currentColor;
    }

    .mobile-resources-button.tag-list-closed:after {
        border-width: 0.5rem 0.5rem 0 0.5rem;
        border-color: currentColor transparent transparent;
    }
}

@media (min-width: 768px) {
    .mobile-resources-button {
        display: none;
    }
}

.tag-filter-insctructions {
    font-size: 2.6rem;
    font-weight: bold;
    text-align: center;
    background-color: #d9d9d9;
    padding: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

@media (min-width: 768px) {
    .tag-filter-insctructions {
        text-align: right;
    }
}

.tag-filter-insctructions:after {
    content: "";
    position: absolute;
    bottom: -1.3rem;
    right: calc(50% - 2rem);
    border-style: solid;
    border-width: 1.4rem 1.4rem 0 1.4rem;
    border-color: #d9d9d9 transparent transparent transparent;
}

@media (min-width: 1280px) {
    .chosen-tags,
    .tag-group-list {
        padding: 0 2rem;
    }
}

.category-teaching-resources .resources-item,
.related_post li {
    border: 1px solid #ccdbe4;
    display: inline-block;
    padding: 2rem 1.5rem;
    margin: 0 0 2rem 0;
    width: 100%;
}

.category-teaching-resources .resources-item:hover,
.related_post li:hover {
    background-color: transparent;
}

@media (min-width: 960px) {
    .category-teaching-resources .resources-item {
        width: 31.5%;
        margin-right: 1.833%;
    }
}

.category-teaching-resources .entry-title a {
    text-decoration: underline;
}

.category-teaching-resources .entry-title a:hover {
    color: #eb5f0a;
}

.category-teaching-resources .resources-item h3,
.category-teaching-resources .resources-item p {
    margin: 0;
}

.category-teaching-resources .resources-item h3,
.post.category-teaching-resources h3 {
    margin-bottom: 0.5rem;
}

.post.category-teaching-resources .entry-summary p {
    margin-top: 0;
}

.category-teaching-resources .entry-summary,
.category-teaching-resources .entry-task-objective {
    margin-bottom: 3.5rem;
}

.archive.category-teaching-resources .entry-footer,
.archive.category .entry-footer .teaching-resources-wrapper,
.teaching-resources-single .teaching-resources-wrapper {
    text-align: right;
    background-color: #efefef;
    padding: 1rem;
    display: -webkit-flex;
    display: flex;
}

.category-teaching-resources .teaching-resources {
    width: 100%;
    /*	min-width: calc(100% - 8rem);
        max-width: calc(100% - 8rem);*/
}

.teaching-resources .tag-group {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: cflex-start;
    -webkit-justify-content: cflex-start;
    margin: 0 0 0.8rem 0;
}

.teaching-resources .tag-name {
    margin-right: 0;
}

.teaching-resources .tag-group-name {
    position: relative;
    padding-left: 0.5rem;
    margin-left: 0.7rem;
}

.teaching-resources .tag-group-name:after {
    content: ':';
    position: absolute;
    top: 0;
    left: 0;
}

.resource_approved {
    width: 7rem;
    min-width: 7rem;
    /*forcing a min-width for preventing the design from breaking in flex no wrap*/
    height: 7rem;
    padding-top: 1.5rem;
    margin: 0 0.5rem 0.8rem 0.3rem;
    background-color: #009640;
    color: #fff;
    text-align: center;
    font-weight: bold;
    line-height: 1;
    border-radius: 50%;
    box-shadow: 0 0 0 0.5rem;
    -webkit-align-self: flex-end;
    align-self: flex-end;
    transform: rotate(-31deg);
    -webkit-transform: rotate(-31deg);
}

@media (min-width: 1280px) {
    .teaching-resources-single .resource_approved {
        margin-left: 1rem;
    }
}

.alm-btn-wrap {
    position: absolute;
    left: 50%;
    bottom: -9rem;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    margin-top: 2rem;
}

.loadmore-button {
    background-color: #404040;
    padding: 2rem 5rem;
    box-shadow: none;
    border-radius: 0;
    font-size: 2rem;
    color: #fff;
    border: 0;
}

.loadmore-button:hover {
    box-shadow: none;
}

.loadmore-button.done {
    /*cursor: default;
    opacity: 0.2;*/
    display: none;
}

@media (max-width: 767px) {
    .teaching-resources-single .post {
        padding: 0 2rem;
    }

    .teaching-resources-single .entry-title {
        box-shadow: 30px 0 0 0 #1a8ec6, -30px 0 0 0 #1a8ec6;
    }
}

.teaching-resources-single .entry-content {
    padding: 0;
}

.teaching-resources-single .tag-group-name {
    font-weight: bold;
}

.teaching-resources-single .file-download {
    background-color: #404040;
    position: relative;
    padding: 1rem 4rem 1rem 3rem;
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.teaching-resources-single .file-download:before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    right: 1rem;
    width: 2.3rem;
    height: 2.3rem;
    background-image: url("images/motnet-sprite.png");
    background-repeat: no-repeat;
    background-position: 100% -1200px;
}

.teaching-resources-single .entry-more-details {
    border: 1px solid #ccdbe4;
    padding: 1rem;
}

@media (min-width: 1280px) {
    .teaching-resources-single .teaching-resources {
        /*min-width: calc(100% - 15rem);
        max-width: calc(100% - 15rem);	*/
        display: -webkit-flex;
        display: flex;
        justify-content: space-around;
        -webkit-justify-content: space-around;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        padding: 0 3rem 0 3rem;
    }

    .teaching-resources-single .teaching-resources-wrapper .tag-group-name,
    .teaching-resources-single .teaching-resources-wrapper .tag-name {
        /*width: 100%;*/
        text-align: center;
    }

    .teaching-resources-single .teaching-resources-wrapper .teaching-resources .tag-group {
        justify-content: center;
        -webkit-justify-content: center;
    }

    .teaching-resources-single .teaching-resources-wrapper .tag-group {
        max-width: 35rem;
        padding-left: 2rem;
    }

    .teaching-resources-single .teaching-resources-wrapper .tag-group-name {
        padding-left: 0;
        margin-left: 0;
        width: 100%;
    }

    .teaching-resources-single .teaching-resources-wrapper .tag-group-name:after {
        content: none;
    }

    body:not(.search-results) .post.category-teaching-resources {
        /* Lea 2024/01: return to flex because inline-flex doesn't spread from side to side */
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    body:not(.search-results) .post.category-teaching-resources .entry-header,
    .post.category-teaching-resources .teaching-resources-wrapper {
        width: 100%;
    }

    .post.category-teaching-resources .teaching-resources-data {
        width: 70%;
    }

    .post.category-teaching-resources .entry-more-details {
        width: 27%;
        margin-top: 2rem;
        margin-right: 3%;
    }
}

.related_post_title {
    color: #fff;
    font-size: 2.6rem;
    background-color: #1a8ec6;
    padding: 1rem 2.4rem;
    margin-top: 0;
    line-height: 1.2;
    position: relative;
}

@media (max-width: 767px) {
    .related_post_title {
        text-align: center;
    }
}

.related_post_title:after {
    content: "";
    position: absolute;
    bottom: -1.3rem;
    right: 11.5rem;
    border-style: solid;
    border-width: 1.4rem 1.4rem 0 1.4rem;
    border-color: #1a8ec6 transparent transparent transparent;
}

@media (max-width: 767px) {
    .related_post_title:after {
        right: 50%;
    }
}

.related_post {
    list-style: none;
    margin: 0;
    padding: 0;
    margin: 2rem;
}

@media (min-width: 768px) {
    .related_post {
        margin: 2rem 0;
        display: -webkit-flex;
        display: flex;
        justify-content: space-between;
        -webkit-justify-content: space-between;
    }
}

@media (max-width: 959px) {
    .related_post li:nth-child(3) {
        display: none;
    }
}

.related_post li {
    border: 1px solid #ccdbe4;
    padding: 2rem 1.5rem;
    margin: 0 0 2rem 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    width: 100%;
}

@media (min-width: 768px) {
    .related_post li {
        width: 49%;
        display: block;
    }
}

@media (min-width: 960px) {
    .related_post li {
        width: 32%;
    }
}

.wp_rp_title, .related_post a {
    color: #1b4c64;
    font-size: 2.2rem;
    font-weight: bold;
    margin: 0.2rem 0;
}

@media (min-width: 1280px) {
    .wp_rp_title, .related_post a {
        /*min-width: 30rem;*/
        width: 100%;
    }
}

.wp_rp_title:hover, .related_post a:hover {
    color: #eb5f0a;
}

.wp_rp_title:visited, .related_post a:visited {
    color: #1b4c64;
}

.entry-task-objective h3,
.related_post .entry-summary {
    margin-bottom: 0.5rem;
    width: 100%;
}

.related_post .teaching-resources {
    margin-top: 3rem;
    padding: 1rem;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    background-color: #efefef;
}

@media (min-width: 1280px) {
    .related_post .teaching-resources {
        display: block;
    }
}

.related_post .tag-group-name {
    font-weight: normal;
}

.search-results .post.category-teaching-resources .entry-footer {
    display: none;
}

/*--------------------------------------------------------------
	## category-approved-books
--------------------------------------------------------------*/
/*layers list*/
.layer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #1b4c64;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-around;
    -webkit-justify-content: space-around;
    max-width: 30rem;
    margin: 6rem auto 1rem auto;
}

@media (min-width: 768px) {
    .layer-list {
        margin: 6rem 0 1rem 0;
    }
}

@media (min-width: 960px) {
    .layer-list {
        display: none;
    }
}

.layer-name {
    background-color: #efefef;
    border: 1px solid #ccdbe4;
    border-radius: 0.5rem;
}

@media (min-width: 960px) {
    .layer-name {
        margin-left: 2rem;
    }
}

.layer-name a {
    padding: 1.4rem 0;
    text-decoration: none;
    text-align: center;
    color: inherit;
    font-weight: bold;
    display: block;
    min-width: 5.5rem;
}

.layer-name:hover {
    background-color: #112b38;
}

.layer-name:hover a {
    color: #fff;
}

.category-approved-books .block {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    padding: 0 2rem;
}

.category-approved-books .title-block {
    width: 100%;
}

.archive.category-approved-books .post {
    width: 46%;
    border-bottom: none;
    padding: 0;
    margin-top: 1rem;
    margin-left: 8%;
}

@media (min-width: 480px) {
    .archive.category-approved-books .post {
        width: 30%;
        margin-left: 5%;
    }
}

@media (min-width: 960px) {
    .archive.category-approved-books .post {
        width: 22%;
        margin-left: 4%;
    }
}

@media (min-width: 1280px) {
    .archive.category-approved-books .post {
        width: 18%;
        margin-left: 2.5%;
    }
}

@media (max-width: 479px) {
    .archive.category-approved-books .post:nth-child(odd) {
        margin-left: 0;
    }
}

@media (min-width: 480px) {
    .archive.category-approved-books .post:nth-child(3n+1) {
        margin-left: 0;
    }
}

@media (min-width: 960px) {
    .archive.category-approved-books .post:nth-child(3n+1) {
        margin-left: 4%;
    }

    .archive.category-approved-books .post:nth-child(4n+1) {
        margin-left: 0;
    }
}

@media (min-width: 1280px) {
    .archive.category-approved-books .post:nth-child(3n+1),
    .archive.category-approved-books .post:nth-child(4n+1) {
        margin-left: 2.5%;
    }

    .archive.category-approved-books .post:nth-child(5n+1) {
        margin-left: 0;
    }
}

.archive.category-approved-books .post .post-thumbnail {
    width: 100%;
}

.archive.category-approved-books .post .entry-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.7rem;
}

.archive.category-approved-books .post-wrapper {
    padding-right: 0;
    width: auto;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.footer-widgets {
    background-color: #1b4c64;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 1.5rem;
}

@media (min-width: 960px) {
    .footer-widgets {
        padding: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .footer-widgets {
        padding: 2.5rem calc(50% - 64rem);
    }
}

.footer-widgets .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widgets .contact-us a {
    background-color: #fff;
    color: #1b4c64;
}

.footer-widgets .contact-us a {
    color: inherit;
    font-weight: bold;
    padding: 0.5rem 1.4rem;
    display: block;
}

.footer-widgets .mailing-list {
    position: relative;
    padding-right: 6rem;
    max-width: 16.4rem;
    font-size: 1.6rem;
    line-height: 1.1;
}

.footer-widgets .mailing-list::before {
    content: '';
    background-image: url("images/motnet-sprite.png");
    background-repeat: no-repeat;
    background-position: -945px -900px;
    position: absolute;
    top: 0;
    right: 0;
    width: 5.5rem;
    height: 3.4rem;
}

.footer-widgets .mailing-list a {
    display: block;
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(3),
    .footer-widgets .widget_nav_menu:nth-child(4),
    .footer-widgets .widget_nav_menu:nth-child(5),
    .footer-widgets .widget_nav_menu:nth-child(6) {
        display: none;
    }

    .site-footer .main-navigation {
        display: block;
    }
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(1) .menu,
    .footer-widgets .widget_nav_menu:nth-child(2) .menu {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        justify-content: center;
        -webkit-justify-content: center;
    }

    .footer-widgets .widget_nav_menu:nth-child(1) {
        -webkit-order: 2;
        order: 2;
    }

    .footer-widgets .widget_nav_menu:nth-child(1) .menu li {
        margin: 1rem;
    }

    .footer-widgets .widget_nav_menu {
        width: 100%;
    }
}

@media (max-width: 959px) and (min-width: 600px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu {
        -webkit-flex-wrap: nowrap;
        flex-wrap: nowrap;
        justify-content: space-between;
        -webkit-justify-content: space-between;
        -webkit-align-items: center;
        align-items: center;
    }
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu li a {
        background-image: url("images/motnet-sprite.png");
        background-repeat: no-repeat;
        text-indent: -999999px;
        overflow: hidden;
        display: block;
        /*height: 100%;*/
        line-height: 0;
    }

    .footer-widgets .widget_nav_menu:nth-child(2) .menu .waizman-logo {
        width: 35%;
        margin-left: 10%;
    }
}

@media (max-width: 959px) and (min-width: 600px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .waizman-logo {
        margin-left: 0;
        width: auto;
    }
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .waizman-logo a {
        background-position: 0 49.5%;
        background-size: 695% auto;
        padding-bottom: 60%;
    }
}

@media (max-width: 959px) and (min-width: 600px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .waizman-logo a {
        background-position: 0 -600px;
        background-size: auto;
        padding-bottom: 0;
        width: 14.5rem;
        height: 8rem;
    }
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .malam-logo {
        width: 54%;
    }
}

@media (max-width: 959px) and (min-width: 600px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .malam-logo {
        width: auto;
    }
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .malam-logo a {
        background-position: 0 32.5%;
        background-size: 439% auto;
        padding-bottom: 50%;
    }
}

@media (max-width: 959px) and (min-width: 600px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .malam-logo a {
        background-position: 0 -400px;
        background-size: auto;
        padding-bottom: 0;
        width: 23.5rem;
        height: 4.4rem;
    }
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .education-logo {
        width: 40%;
    }
}

@media (max-width: 959px) and (min-width: 600px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .education-logo {
        width: auto;
    }
}

@media (max-width: 959px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .education-logo a {
        background-position: -2px 24.5%;
        background-size: 614% auto;
        padding-bottom: 60%;
    }
}

@media (max-width: 959px) and (min-width: 600px) {
    .footer-widgets .widget_nav_menu:nth-child(2) .menu .education-logo a {
        background-position: 0 -300px;
        background-size: auto;
        padding-bottom: 0;
        width: 16.4rem;
        height: 7.8rem;
    }
}

@media (min-width: 960px) {
    .footer-widgets .widget_nav_menu:nth-child(2) {
        display: none;
    }

    .footer-widgets {
        justify-content: space-between;
        -webkit-justify-content: space-between;
    }

    .footer-widgets .menu li {
        margin-bottom: 1rem;
    }

    .footer-widgets .menu .mailing-list {
        margin-right: 0;
        margin-top: 2rem;
    }

    .footer-widgets .contact-us a {
        display: inline-block;
        padding: 0.8rem 4.9rem;
    }
}

.footer-about {
    background-color: #112b38;
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    line-height: 1.6;
}

@media (min-width: 1280px) {
    .footer-about {
        padding-right: calc(50% - 64rem);
        padding-left: calc(50% - 64rem);
    }
}

.footer-about .widget_text {
    margin-bottom: 0.5rem;
}

.site-info {
    color: #1b4c64;
    font-size: 1.4rem;
    text-align: center;
    padding: 1rem;
}

.site-info a {
    color: inherit;
    text-decoration: none;
}

.site-info a:hover {
    text-decoration: underline;
}

.separate {
    position: relative;
    padding-left: 1.1rem;
}

.separate:after {
    content: '|';
    position: absolute;
    top: 0;
    left: 0;
}

@media (min-width: 1280px) {
    .site-footer {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .footer-widgets {
        padding-left: 3rem;
        width: 70%;
    }

    .footer-about {
        padding-right: 3rem;
        padding-top: 2.5rem;
        width: 30%;
        text-align: right;
    }

    .site-info {
        width: 100%;
    }
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
    /* Make sure select elements fit in widgets. */
}

.widget select {
    max-width: 100%;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
    /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
    max-width: 100%;
}

.wp-caption {
    margin-bottom: 1.5em;
    margin: 0;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    background-color: #efefef;
    margin: 0 0 2rem 0;
    padding: 1rem 1.5rem;
    font-size: 1.8rem;
    text-align: right;
}

/*--------------------------------------------------------------
	## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*# sourceMappingURL=style.css.map */
