/*
 Theme Name:   Understrap Child
 Theme URI:    https://understrap.com/
 Description:  Child theme for Understrap
 Author:       Your Name
 Template:     understrap
 Version:      1.0.0
*/

/* Add your custom CSS below */
.my-book-table thead {
  display: none;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
form.macsite {
        display: unset ;
}

 /* new custom css added */

 body,
html,
p {
    font-family: 'Open Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    line-height: 1.5em;
    margin-bottom: 1em;
}

h1 {
    font-size: 1.5em;
    text-transform: uppercase;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.25em;
}

h4 {
    font-size: 1em;
    text-transform: uppercase;
}

h1.page-title {
    margin-bottom: 1em;
}

img {
    margin-bottom: 1em;
    max-width: 100%;
    margin-top: 1em;
}

h1.entry-title {
    font-size: 2em;
    text-transform: none;
}


.entry-meta {
    font-family: 'Roboto', sans-serif;
    font-size: .8em;
    text-transform: uppercase;
    color: #3d3d40;
}

ul.post-categories,
span.category {
    margin: 0 0 1em 0;
    padding: 0;
    text-transform: uppercase;
    display: inline-block;
}

ul.post-categories li {
    display: inline-block;
    padding: 0 .75em 0 0;
    a {
        font-size: .8em;
        font-weight: bold;
    }
}

footer.entry-footer {
    font-size: .8em;
    margin-top: 6em;
    margin-bottom: 6em;
}

nav.container.navigation.post-navigation {
    margin-bottom: 6em;
    font-weight: bold;
    text-transform: uppercase;
}

span.cat-links {
    display: block;
    margin-bottom: 1em;
    a {
        font-weight: bold;
        text-transform: uppercase;
    }
}

.thumb-img {
    text-align: center;
    display: block;
    img {
        max-height: 300px;
        width: auto;
    }
}

.bg-light-grey {
    padding: .1em;
}

li.external a:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: .8em;
    content: "\f35d";
    padding-left: .5em;
}

ul#primary-menu {
    font-size: .6em;
    text-align: center;
    padding: 0 1.5em 0 1.5em;
    margin: auto;
    display: block;
    li {
        display: inline-block;
        padding: 0 1em;
        a {
            padding: .5em;
        }
    }
}

.menu-main-menu-container {
    width: 100%;
    font-family: 'Roboto', sans-serif;
}
.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
}
.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.glue {
    display: inline-block;
}

.navbar-toggler:focus,
.navbar-toggler:hover {
    outline-color: transparent;
    outline-style: none;
}

ul#main-menu {
    font-size: 1em;
    display: flex;
    justify-content: center;
    width: 100%;
    padding-left: 30px;
    li {
        padding: 0 1em;
    }
    ul.dropdown-menu.show {
        padding: 0;
        li {
            padding: 0;
        }
    }
    a.dropdown-item {
        font-size: .8em;
        padding: .5em .75em;
    }
}

.icon-header {
    padding: .5em 0 2em 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
    margin-bottom: 2em;
}

.home-icon {
    width: 4.5em;
    height: 4.5em;
    background-image: url(images/placeholder-icon.png);
    background-size: cover;
    margin: 0 auto .5em auto;
}

.icon {
    width: 5em;
    height: 5em;
    background-size: cover;
    margin: 0 auto .5em auto;
}

.icon-presentation {
    background-image: url(images/icon-presentation.png);
}

.icon-conference {
    background-image: url(images/icon-conference.png);
}

.icon-whitelist {
    background-image: url(images/icon-whitelist.png);
}

.icon-teens {
    background-image: url(images/icon-teens.png);
}

.icon-reviews {
    background-image: url(images/icon-reviews.png);
}

.icon-reads {
    background-image: url(images/icon-reads.png);
}

.home-icon-label {
    font-family: Roboto, sans-serif;
    font-size: .8em;
    text-align: center;
    width: 100%;
    margin-bottom: 0;
}

.navbar-expand .navbar-nav .nav-link {
    padding: 0 .5em;
}

.social {
    display: flex;
    justify-content: right;
}

.social-cont {
    width: 130px;
    text-align: center;
    float: right;
}

.social-icons i.fab,
.social-icons i.fas {
    background-color: #616166;
    font-size: .75em;
    color: #fff;
    width: 2.5em;
    height: 2.5em;
    padding: .75em .75em;
    border-radius: 2em;
    margin: 2em .25em 1em .25em;
    transition: background-color 300ms;

}

.social-icons {
    width: 130px;
    text-align: center;
    margin: auto;
}

.centered {
    text-align: center;
}

.header-newsletter {
    width: 160px;
    text-align: center;
    padding-right: 25px;
}

.header-newsletter a.btn.btn-secondary {
    color: white;
}

.main-logo {
    display: inline-block;
    margin: 0;
    img {
        width: 330px;
        margin: .5em 0;
    }
}

.sticky-menu {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.contact {
    text-align: center;
    padding: 1em 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.notices {
    text-align: center;
    margin-top: 6em;
    font-size: .75em;
}

.social-icons [class*="fab fab-"] {
    background-color: #333;
    border-radius: 30px;
    color: #fff;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    margin: auto 3px;
    width: 30px;
    font-size: 15px;
    text-align: center;
}

.mobile-search {
    width: 30px;
    i.fas.fa-search {
        font-size: 1.5em;
        color: rgba(255, 255, 255, .75);
    }
}

div#mainmanudropdown {
    width: 100%;
    flex-wrap: wrap;
}

.main-nav {
    width: 100%;
}

.imprints {
    width: 100%;
}

div#wrapper-navbar {
    background-image: url(images/bg-grey.jpg);
    background-size: cover;
    background-position: center;
}

.row.icon-row {
    max-width: 860px;
    margin: auto;
}

.bg-header {
    min-height: 135px;
}

time.updated {
    display: none;
}

.modal-header {
    text-align: center;
    display: inline-block;
    padding-bottom: 1em;
}

.modal-header .close {
    position: absolute;
    top: 5px;
    right: 10px;
}

.modal-title {
    width: 100%;
    text-align: center;
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

h3.widget-title {
    display: none;
}

div#right-sidebar {
    overflow-wrap: break-word;
    padding-left: 15px;
    padding-right: 15px;
}

.sidebar-right-border {
    border-left: 1px solid #eaeaea;
    margin-left: 1em;
    padding-left: 1em;
}

div#right-sidebar a {
    color: #afafb2;
    text-decoration: none;
}

div#right-sidebar a:hover {
    color: #616166;
    text-decoration: none;
}

.pagination {
    margin-bottom: 3em;
}

@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 55px;
        left: 0;
        padding: 1em 0;
        width: 100%;
        z-index: 10;
    }
    .navbar-collapse.collapsing {
        height: auto;
        transition: left 0.3s ease;
        left: -100%;
    }
    .navbar-collapse.show {
        left: 0;
        -webkit-transition: left 0.3s ease-in;
        -o-transition: left 0.3s ease-in;
        -moz-transition: left 0.3s ease-in;
        transition: left 0.3s ease-in;
    }
    .navbar-expand-md {
        position: absolute;
        width: 100%;
    }
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none;
    }
    .home-icon-label {
        font-size: .8em;
        margin-bottom: 2em;
    }
    ul#main-menu {
        padding: 0;
        li {
            padding: 0;
        }
        a.dropdown-item {
            color: #fff;
        }
        ul.dropdown-menu {
            background: none;
            border: 0;
            border-radius: 0;
            li {
                margin-top: -1px;
            }
        }
    }
}

 /* form styles */
form.macsite {
    display: flex;
    flex-flow: row wrap;
    max-width: 500px;
    margin: auto;
    box-sizing: border-box;
    position: relative;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

iframe.newsletter {
    width: 100%;
    height: 90vh;
    border: none;
}

div.modal-page {
    text-align: center;
}

form.macsite input[type=text],
.macsite input[type=email],
.macsite select {
    box-sizing: border-box;
    width: 100%;
    height: 2.25em;
    margin: .1em .25em .1em .25em;
    border: 1px solid #ccc;
    border-radius: .4em;
    background-color: #fff;
    padding: .25em .6em;
    font-size: 1em;
}

input[type="submit"] {
    display: block;
    height: 2.5em;
    font-size: initial;
    background-color: #dd303f;
    color: #fff;
    border: 0;
    width: 33.33%;
    margin: 1em auto;
    border-radius: .25rem;
    -webkit-transition: background-color 250ms;
    /* Safari prior 6.1 */
    transition: background-color 250ms;
}

input[type="submit"]:hover,
input[type="submit"]:active {
    background-color: #c6212f;
}

input[type="submit"]:disabled {
    background-color: #ccc;
}

input[type="submit"]:disabled {
    background-color: #ccc;
}

.macsite select {
    padding: .25em;
}

form.macsite label {
    box-sizing: border-box;
    display: block;
    width: 100%;
    font-size: .75em;
    margin: .5em .5em 0 .5em;
    text-align: left;
}

span#spnCountryMessage,
span#tryagain {
    width: 100%;
    margin: .25em;
    font-weight: bold;
    color: #dd303f;
    text-align: center;
    padding-top: 0;
}

form.macsite .rules {
    box-sizing: border-box;
    margin: .25em;
    border: .1em solid #ccc;
    background-color: #fff;
    padding: .75em;
    font-size: .8em;
}

span.checkbox {
    display: block;
    margin: .5em 0;
}

form.macsite label.check-container {
    font-size: 1em;
}

div#CAN,
div#US {
    font-size: .75em;
    margin: 1em .25em 0;
    text-align: center;
    width: 100%;
}

div#CAN a,
div#US a {
    display: inline-block;
}

.erroron {
    border-color: #dd303f;
    background-color: #fff;
}

div.errortext {
    width: 100%;
    height: 1px;
    position: relative;
    text-align: right;
    top: -2px;
    right: .25rem;
    font-size: 0.625em;
    color: #dd303f;
    margin: 0em .5em 0 .5em;
}

.rules-label {
    padding-top: 1em;
}

.no-border {
    border: none;
}

ul.posts-by {
    list-style: none;
    padding: 0;
    li {
        .auth-title {
            font-weight: bold;
            display: block;
        }
    }
}

header.page-header.author-header h1 {
    display: block;
}


/* Grid! */


/* for half width on desktop and full width on mobile, add class="d2 m1" */

.d1,
.d2,
.d3,
.d4,
.m1,
.m2,
.m3,
.m4 {
    box-sizing: border-box;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
}


/* full width desktop */

.d1 {
    flex-basis: 100%;
    max-width: 100%;
}

.d2 {
    flex-basis: 50%;
    max-width: 50%;
}

.d3 {
    flex-basis: 33.33%;
    max-width: 33.33%;
}

.d4 {
    flex-basis: 25%;
    max-width: 25%;
}

@media (max-width: 500px) {
    .m1 {
        flex-basis: 100%;
        max-width: 100%;
    }
    .m2 {
        flex-basis: 50%;
        max-width: 50%;
    }
    .m3 {
        flex-basis: 33.33%;
        max-width: 33.33%;
    }
    .m4 {
        flex-basis: 25%;
        max-width: 25%;
    }
}


/* Grid ! */

@media (max-width: 500px) {
    input[type="submit"] {
        width: 100%;
    }
}


/* Spinner! */

@keyframes lds-spin {
    0% {
        opacity: 1;
        -webkit-transform: scale(1.1, 1.1);
        transform: scale(1.1, 1.1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

@-webkit-keyframes lds-spin {
    0% {
        opacity: 1;
        -webkit-transform: scale(1.1, 1.1);
        transform: scale(1.1, 1.1);
    }
    100% {
        opacity: 0;
        -webkit-transform: scale(1, 1);
        transform: scale(1, 1);
    }
}

.spinner-cont {
    width: 100%;
    display: block;
    height: 40px;
}

.lds-css.ng-scope {
    width: 40px;
    height: 40px;
    margin: auto;
}

.lds-spin div>div {
    position: absolute;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #000000;
    -webkit-animation: lds-spin 1s linear infinite;
    animation: lds-spin 1s linear infinite;
}

.lds-spin div:nth-child(1)>div {
    left: 144px;
    top: 84px;
    -webkit-animation-delay: -0.875s;
    animation-delay: -0.875s;
}

.lds-spin>div:nth-child(1) {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transform-origin: 160px 100px;
    transform-origin: 160px 100px;
}

.lds-spin div:nth-child(2)>div {
    left: 126.42640685999999px;
    top: 126.42640685999999px;
    -webkit-animation-delay: -0.75s;
    animation-delay: -0.75s;
}

.lds-spin>div:nth-child(2) {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 142.42640686px 142.42640686px;
    transform-origin: 142.42640686px 142.42640686px;
}

.lds-spin div:nth-child(3)>div {
    left: 84px;
    top: 144px;
    -webkit-animation-delay: -0.625s;
    animation-delay: -0.625s;
}

.lds-spin>div:nth-child(3) {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    -webkit-transform-origin: 100px 160px;
    transform-origin: 100px 160px;
}

.lds-spin div:nth-child(4)>div {
    left: 41.57359314px;
    top: 126.42640685999999px;
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.lds-spin>div:nth-child(4) {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transform-origin: 57.57359314px 142.42640686px;
    transform-origin: 57.57359314px 142.42640686px;
}

.lds-spin div:nth-child(5)>div {
    left: 24px;
    top: 84px;
    -webkit-animation-delay: -0.375s;
    animation-delay: -0.375s;
}

.lds-spin>div:nth-child(5) {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-transform-origin: 40px 100px;
    transform-origin: 40px 100px;
}

.lds-spin div:nth-child(6)>div {
    left: 41.57359314px;
    top: 41.57359314px;
    -webkit-animation-delay: -0.25s;
    animation-delay: -0.25s;
}

.lds-spin>div:nth-child(6) {
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    -webkit-transform-origin: 57.57359314px 57.57359314px;
    transform-origin: 57.57359314px 57.57359314px;
}

.lds-spin div:nth-child(7)>div {
    left: 84px;
    top: 24px;
    -webkit-animation-delay: -0.125s;
    animation-delay: -0.125s;
}

.lds-spin>div:nth-child(7) {
    -webkit-transform: rotate(270deg);
    transform: rotate(270deg);
    -webkit-transform-origin: 100px 40px;
    transform-origin: 100px 40px;
}

.lds-spin div:nth-child(8)>div {
    left: 126.42640685999999px;
    top: 41.57359314px;
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.lds-spin>div:nth-child(8) {
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
    -webkit-transform-origin: 142.42640686px 57.57359314px;
    transform-origin: 142.42640686px 57.57359314px;
}

.lds-spin div:nth-child(9)>div {
    left: 144px;
    top: 84px;
    -webkit-animation-delay: 0.125s;
    animation-delay: 0.125s;
}

.lds-spin>div:nth-child(9) {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    -webkit-transform-origin: 160px 100px;
    transform-origin: 160px 100px;
}

.lds-spin {
    width: 40px !important;
    height: 40px !important;
    display: none;
    -webkit-transform: translate(-20px, -20px) scale(0.2) translate(20px, 20px);
    transform: translate(-20px, -20px) scale(0.2) translate(20px, 20px);
}


/* Spinner! */

 /* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

 /* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    iframe.newsletter {
        height: 60vh;
    }
}

 /* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    iframe.newsletter {
        height: 75vh;
    }
}

 /* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}
.bg-primary {
    background-color: #616166 !important;
}
.btn-secondary {
    color: #fff ;
    background-color: #dd303f ;
    border-color: #dd303f;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    display: inline-block ;
    font-family: Roboto, sans-serif;
    color: #3d3d40 ;
    line-height: 1.5em;
    margin-bottom: 1em;
}
a {
    color: #616166 ;
    text-decoration: none ;
    background-color: transparent ;
}
.page-item.active .page-link {
    z-index: 1 ;
    color: #fff ;
    background-color: #616166 ;
    border-color: #616166 ;
}
.page-link {
    padding: .5rem .75rem ;
    margin-left: -1px ;
    line-height: 1.25 ;
    color: #616166 ;
}
.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #616166;
}
.page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(97, 97, 102, .25);
}
.btn-secondary:hover {
    color: #fff !important;
    background-color: #c6212f;
    border-color: #bb1f2c;
    text-decoration: none;
}
.page-item:not(:first-child) .page-link {
    color:unset !important;
}
.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link {
    color: #fff;
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
.btn-light {
    color: #616166;
 background-color: #f8f9fa;
 border-color: #f8f9fa;
}
a:hover {
    color: #3c3c3f;
    text-decoration: underline;
}
.form-group, .wpcf7 .wpcf7-form p {
    margin-bottom: 1rem;
}

button.close {
    float: right;
    background-color: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}
.close:not(:disabled):not(.disabled):focus, .close:not(:disabled):not(.disabled):hover {
    opacity: .75;
}
@media (max-width: 991px) {
    .navbar-collapse {
        position: absolute;
        top: 55px;
        left: 0;
        padding: 1em 0;
        width: 100%;
        background-color: #545458;
        z-index: 10;
    }
}
.wp-block-image>figure img {
    margin-bottom: 1em;
}
.post-navigation .nav-previous, .post-navigation .nav-next{
    width: unset;
}