/*
Theme Name: IBD Resource Kit 2018
Theme URI:  http://www.zentir.com/
Author: Ash at Zentir
Author URI: http://zentir.com/
Description: IBD Resource Kit
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/** MAIN **/
.login h1 {
    text-align: center;
    background: url(http://zentir.com/wp-content/themes/zentir/assets/img/logo-zentir.svg);
    background-size: 60%;
    background-repeat: no-repeat;
    height: 100px;
    background-position: center;
}
.rowof2 {
    display: block;
    clear: both;
    text-align: center;
}
.login h1 a {
    display: none!important;
}
.wp-core-ui .button-primary {
    box-shadow: none;
    text-decoration: none;
    text-shadow: none;
    border-radius: 0px;
}
body {
    color: #464646;
    padding: 0;
    margin: 0;
    background: #fff;
    letter-spacing: 1px;
    font-family: 'Futura';
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Futura';
    src: url('fonts/Futura-Book.eot');
    src: url('fonts/Futura-Book.eot?#iefix') format('embedded-opentype'),
    url('fonts/Futura-Book.woff2') format('woff2'),
    url('fonts/Futura-Book.woff') format('woff'),
    url('fonts/Futura-Book.ttf') format('truetype'),
    url('fonts/Futura-Book.svg#Futura-Book') format('svg');
    font-weight: 500;
    font-style: normal;
}

.ui-helper-hidden-accessible {
    position: absolute;
    top: 65px;
    right: 5%;
    width: 230px;
    font-size: 10px;
    color: #f1f1f1;
    font-style: italic;
    font-weight: normal;
    padding: 5px;
    display: none;
}

/** TYPOGRAPHY **/

h3,
h4,
h5,
h6,
p {
    margin: 10px;
    padding: 10px;
}

h1 {
    font-size: 40pt;
    padding: 10px 5%;
    font-family: 'Reenie Beanie', cursive;
    font-weight: normal;
    background: rgba(103, 95, 155, 0.9);
    color: #fff;
    margin: 0;
    display: table-cell;
    position: absolute;
    bottom: 10%;
}

body.page-child h1 {
    display: none;
}

body.page-child h1.inner-parent {
    display: table-cell;
}
a:active,
a:hover,
a:visited,
a:focus,
a:focus-within{
    text-decoration: none;
    outline: none!important;
}

h2 {
    font-size: 34px;
    display: table-cell;
    font-family: 'Reenie Beanie', cursive;
    color: #fff;
    width: 380px;
    z-index: 1;
    clear: both;
    line-height: 70px;
    right: auto;
    top: 20px;
    left: 9%;
    text-align: center;
    margin: 0;
    padding: 30px 20px;
    position: absolute;
    font-weight: normal;
    background: url(img/h2-aus-back-.png) top left no-repeat;
    background-size: cover;
}
h2.aus {
    /* left: 22%; */
    top: 44px;
}

h2.right {
    right: 9%;
    left: auto;
    background: url(img/h2-int-back.png) top left no-repeat;
    background-size: cover;
}

h2 img {
    float: left;
    width: 70px;
}

h2.right img {
    float: right;
}

p {
    font-size: 16px;
}

a {
    color: inherit;
}

a img,
img a {
    border: none;
}

a {
    text-decoration: none;
}

#main ul li {
    padding: 8px;
}

/** HEADER **/

#top {
    background: rgba(131, 198, 88, 1);
    padding: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

#top img {
    height: 70px;
    width: auto;
    padding: 15px 5%;
}

#top form {
    position: absolute;
    top: 5%;
    right: 5%;
    font-family: 'Reenie Beanie', cursive;
    padding: 0;
}

#top input {
    padding: 2px 10px;
    font-size: 24px;
    text-transform: capitalize;
    border-radius: 1px;
    border: 1px solid #fff;
    background: url(img/search-back.png) left center no-repeat;
    background-size: contain;
    z-index: 2;
    position: relative;
    color: #fff;
}

#top input:focus {
    border: 1px solid rgba(103, 95, 155, 1);
    background: rgba(131, 198, 88, 1);
}

#top input:active {
    border: 1px solid #fff;
    background: rgba(131, 198, 88, 1);
}

#top input[type="submit"] {
    margin-left: 0px;
    float: right;
    border-left: 0px;
    font-size: 0px;
    height: 34px;
    width: 34px;
    background: url('img/magnifying-glass.png') center center no-repeat;
    background-size: 50%;
}

#search {
    position: absolute;
    top: 30px;
    right: 5%;
    z-index: 100;
}

ul.ui-autocomplete {
    position: absolute;
    top: 100%;
    z-index: 1000;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid rgba(103, 95, 155, 1);
    border-bottom: none;
}

li.ui-menu-item {
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid rgba(103, 95, 155, 1);
    line-height: 2em;
    font-size: .8em;
}

header {
    width: 100%;
    background: url(img/header-back.jpg) top center no-repeat;
    height: 500px;
    background-size: cover;
    background-position: 100% 25%;
    position: relative;
}

body.home header {
    min-height: 650px;
}

body.home header h1 {
    bottom: 200px;
    height: 50px;
}

header p {
    margin: 0;
    color: #fff;
    background: rgba(131, 198, 88, 0.9);
    display: table-cell;
    font-size: 20px;
    padding: 25px 5%;
    line-height: 26px;
    max-width: 70%;
    position: absolute;
    bottom: 10px;
}

header img {
    float: left;
    width: 200px
}

/** NAVIGATION **/

nav {
    padding: 0;
    margin: 0;
    float: right;
}

nav ul {
    margin: 0 auto;
    text-align: center;
    padding: 10px;
    background: rgba(103, 95, 155, 0.9);
    overflow: hidden;
}

nav ul li {
    list-style: none;
    float: left;
    font-family: 'Reenie Beanie', cursive;
    color: #fff;
    font-size: 26px;
    padding: 0px 20px;
}

nav ul li.last {
    border-left: 1px solid #fff;
}

body.home .inner-main-nav {
    display: none
}

.main-nav {
    display: none;
}

body.home .main-nav {
    display: block;
}

/** SCROLL **/

.scroll * {
    transition: 0.1s ease-in;
}

/** CONTENT **/

.wrap {
    padding: 50px 5%;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

#main .wrap {
    position: relative;
    padding-top: 120px;
}

footer span .wrap,
header .wrap,
nav .wrap {
    padding: 0;
}

.col {
    width: 30.33%;
    float: left;
    padding: 0;
    z-index: 10;
    margin: 0 1.5% 15px 1.5%;
    text-align: center;
    overflow: hidden;
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    height: 500px;
}

.col-gr {
    background-image: url(img/green-back-right.png);
}

.col-pl {
    background-image: url(img/purple-back-right.png);
}

.col-gl {
    background-image: url(img/green-back-left.png);
}

.col-pr {
    background-image: url(img/purple-back-left.png);
}
.col-gr.new {
    background-image: url(img/green-back-right-new.png);
}

.col-pl.new {
    background-image: url(img/purple-back-right-new.png);
}

.col-gl.new {
    background-image: url(img/green-back-left-new.png);
}

.col-pr.new {
    background-image: url(img/purple-back-left-new.png);
}
.col-2 {
    width: 30%;
    float: left;
    z-index: 10;
    position: relative;
    padding: 0;
    margin: 0 1.5%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
    overflow: hidden;
    height: 450px;
}
.push-right {
    margin-left: 18%;
}
.col-2-purple {
    background-image: url(img/purple-back-long.png);
}

.col-2-green {
    background-image: url(img/green-back-long.png);
}

.col .image {
    width: 80%;
    display: block;
    height: 100px;
    margin: 20% 10% 10%;
    background-repeat: no-repeat;
    padding: 0;
    background-size: contain;
    background-position: center center;
}

.col-2 .image {
    width: 50%;
    display: block;
    height: 90px;
    margin: 22% 25% 0;
    background-repeat: no-repeat;
    padding: 0;
    background-size: contain;
    background-position: center center;
}

.aa {
    background-image: url(img/logos/CrohnsandcolitisAU_logo-1.jpg);
}

.bb {
    background-image: url(img/logos/tameyourgut.jpg);
}

.cc {
    background-image: url(img/logos/ibdclinic_logo.jpg);
}

.ee {
    background-image: url(img/logos/CrohnsandcolitisAU_logo-2.jpg);
}

.ff {
    background-image: url(img/logos/guts4life.jpg);
}

.gg {
    background-image: url(img/logos/candcuk.png);
}

.hh {
    background-image: url(img/logos/crohnsCA.jpg);
}

.ii {
    background-image: url(img/logos/crohns_foundation.jpg);
}
.jj{
    background-image: url(img/logos/logo-cch.png);
}
.kk{
    background-image: url(img/logos/the_gut_foundation.gif);
}
.ll{
    background-image: url(img/logos/IBD_Passport_Logo.1.jpg);
}

button {
    cursor: pointer;
}

.col p,
.col-2 p {
    line-height: normal;
    padding: 25px;
}

.col button,
.col-2 button {
    background: url(img/button-back.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    border: none;
    color: #fff;
    width: 100%;
    height: 30px;
    font-size: 16px;
    margin: 10px 0;
    left: 0;
    right: 0;
    position: absolute;
    bottom: 70px;
}

.col button.purple,
.col-2 button.purple {
    background: url(img/purple-button-back.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

#inner p {
    font-size: 20px;
}

.inner-col-1 {
    width: 100%;
    display: inline-block;
    position: relative;
}

.inner-col-1 img {
    width: 25%;
    float: left;
    height: auto;
    padding: 0;
    vertical-align: middle;
    display: inline-block;
}

.inner-col-1 span {
    margin: 0;
    float: left;
    padding: 0;
    margin-left: 2%;
    width: 73%;
    display: inline-block;
    vertical-align: middle;
}

#inner ul {
    width: 100%;
    margin: 30px 0 0;
    padding: 0;
    text-align: center;
}

#inner ul li {
    list-style: none;
    text-align: center;
    padding: 0px 1%;
    width: 29%;
    line-height: 70px;
    color: #625994;
    display: inline-block;
    height: 70px;
    font-size: 28px;
    vertical-align: 50%;
    background: #f2f2f2;
    margin: 10px 2% 10px 0;
}

#inner ul li.db {
    padding-bottom: 0px;
    padding-top: 0;
    overflow: hidden;
    margin-bottom: -24px;
}

#inner ul li.db a {
    line-height: 26px;
    padding: 5px 0;
    display: block;
}

body.page-id-35 #inner ul li.db a {
    margin-top: 5px;
}

#inner li:nth-child(odd) {
    color: #75c146;
}

#inner #second li {
    color: #625994;
}

#inner #second {
    margin: 30px 1.99%;
}

#inner #second li:nth-child(even) {
    color: #75c146;
}

#inner ul li a.purple {
    color: #625994;
}

#inner ul li a.green {
    color: #75c146;
}

/** FOOTER **/

footer {
    width: 100%;
    margin-top: 0;
    padding-top: 0px;
    text-align: center;
}

footer p {
    padding: 10px 2% 30px;
    max-width: 96%;
    margin: 0 auto;
}

footer span {
    background: rgba(131, 198, 88, 1);
    color: #fff;
    display: block;
    width: 100%;
}

footer span p {
    width: 80%;
    line-height: 20px;
    padding: 20px 0;
}

footer span p sup {
    font-weight: bold;
}

footer span p a {
    color: inherit;
}

/** INNER PAGE P SPACING **/

body.page-id-6 .inner-col-1 p {
    padding-top: 3%;
}

body.page-id-35 .inner-col-1 p {
    padding-top: 8%;
}

body.page-id-37 .inner-col-1 p {
    padding-top: 4%;
}

body.page-id-60 .inner-col-1 p {
    padding-top: 3%;
}

body.page-id-59 .inner-col-1 p {
    padding-top: 2%;
}

body.page-id-33 .inner-col-1 p {
    padding-top: 2%;
}

/** MEDIA QUERIES **/

@media only screen and (max-width: 1799px) {
    h2 {
        left: 8%;
    }
    body.home header,
    header {
        height: 350px;
    }
    h2.right {
        right: 8%;
    }
}

@media only screen and (max-width: 1699px) {
    h2 {
        left: 7%;
    }
    body.home header h1 {
        bottom: 220px;
    }
    h2.right {
        right: 7%;
    }
}

@media only screen and (max-width: 1599px) {
    h2 {
        padding: 30px 15px;
        width: 360px;
    }
    h2 img {
        width: 60px;
    }
    h2.widgettitle {
        right: 16%;
    }
}

@media only screen and (max-width: 1499px) {
    h2 {
        top: 40px;
        width: 340px;
        font-size: 29px;
    }
    .col-2 {
        margin-top: -50px;
    }
    .col-2 .image {
        margin-top: 13%;
    }
}

@media only screen and (max-width: 1399px) {
    .wrap {
        width: 100%;
        padding: 0;
    }
    #inner .wrap {
        width: 98%;
        padding: 30px 0;
    }
    #inner ul li {
        font-size: 24px;
    }
    h2 {
        left: 4%;
    }
    body.home header {
        height: 600px;
    }
    header {
        height: 400px;
    }
    body.home header h1 {
        bottom: 250px;
    }
    header h1 {
        bottom: 50px;
    }
    h2.right {
        right: 3%;
    }
    .col-2 .image {
        width: 40%;
        margin-top: 12%;
        margin-left: 30%;
    }
    /* h2.aus {
    left: 19%!important;
    } */
}
@media only screen and (max-width: 1299px) {
    .col .image {
        width: 60%;
        margin: 20% 20% 0;
    }
    #inner ul li {
        width: 28%;
    }
    h2 {
        left: 2%;
        top: 50px;
    }
    .col-2 {
        margin-top: -90px;
    }
    h2.right {
        right: 2%;
    }
    h2.aus {
        top:75px;
        /* left: 18%!important; */
        }
}

@media only screen and (max-width: 1199px) {
    .col .image {
        width: 60%;
        margin: 28% 20% 0;
    }
    .col-2 .image {
        margin-top: 15%;
    }
    .col-2 p {
        padding-top: 0px;
        margin-top: -5px;
    }
    .col-2 button {
        bottom: 90px;
    }
    h2 {
        left: 1%;
        top: 90px;
    }
    h2.right {
        right: 1%;
    }
    /* h2.aus {
        left: 16%!important;
    } */
    nav {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    nav ul {
        background: none;
        padding: 0;
        margin: 0;
    }
    nav ul li {
        width: 49.9%;
        margin: 0;
        padding: 15px 0;
        background: rgba(103, 95, 155, 0.9);
    }
    nav ul li.last {
        margin-left: 0.2%;
        border-left: 0px;
    }
    #inner ul li {
        width: 70%;
    }
}

@media only screen and (max-width: 1099px) {
    .col .image {
        width: 50%;
        margin: 35% 25% 0;
    }
    .col button {
        bottom: 110px;
    }
    .col-2 p {
        margin-top: -20px;
    }
    .col p,
    .col-2 p {
        font-size: 14px;
        padding-top: 0px;
    }
    .col-2 {
        margin-top: -130px;
    }
    .col-2 .image {
        margin-top: 20%;
        width: 30%;
        margin-left: 35%;
    }
    .col-2 button {
        bottom: 100px;
    }
    body.home header h1 {
        bottom: 280px;
    }
    h2 {
        top: 110px;
    }
    h2.aus {
        /* left: 16%!important; */
        top: 105px;
    }
    .col-2 {
        margin-top: -180px;
        margin-bottom: -80px;
    }
    #main .wrap {
        padding-bottom: 0;
        margin-top: -90px;
    }
    .inner-col-1 span {
        width: 50%;
    }
    .inner-col-1 img {
        width: 40%;
        min-width: 350px;
    }
}

@media only screen and (max-width: 899px) {
    .col .image {
        margin: 40% 25% 0;
    }
    .col p {
        padding: 0;
    }
    body.home header h1 {
        bottom: 300px;
    }
    body.home header p {
        max-width: 75%;
    }
    #main .wrap {
        padding: 100px 0 0;
    }
    h2 {
        top: 105px;
        width: 85%;
        left: 5;
        padding: 30px 5%;
        margin: 0;
        text-align: left;
    }
    h2.right img {
        margin-left: 20px;
    }
    h2 img {
        margin-right: 20px;
    }
    h2.right {
        right: 5;
        left: auto;
        text-align: right;
    }
    h2.aus {
        left: 0!important;
        }
    .col button {
        font-size: 12px;
        width: 80%;
        margin: 0 10%;
        bottom: 130px;
    }
    .col-2 {
        margin-top: -200px;
    }
    .col-2 button {
        bottom: 120px;
    }
    .col-2 .image {
        width: 30%;
        margin-top: 20%;
        margin-left: 35%;
        margin-bottom: -30px
    }
}

@media only screen and (max-width: 799px) {
    .col {
        width: 80%;
        margin: 0 10%;
        height: 400px;
    }
    .col-2 {
        width: 80%;
        margin: 0 10%;
        height: 400px;
    }
    .col .image {
        width: 70%;
        max-width: 300px;
        margin: 0 auto;
        margin-top: 8%;
    }
    .col-2 .image {
        width: 50%;
        max-width: 400px;
        margin: 0 auto;
    }
    .col-2-purple {
        margin-top: 10px;
        background-image: url(img/green-back-right.png);
        padding-top: 40px;
    }
    .col-2-green {
        background-image: url(img/purple-back-left.png);
        padding-top: 50px
    }
    .col-2 .image {
        margin-top: 5%;
    }
    header h1 {
        font-size: 50px;
    }
    header p {
        background: rgba(131, 198, 88, 1);
        max-width: 90%;
        width: 90%;
        min-width: 90%;
    }
    .col p,
    .col-2 p {
        width: 80%;
        max-width: 300px;
        font-size: 14px;
        padding: 20px 0;
        margin: 0 auto;
    }
    .col button,
    .col-2 button {
        bottom: 15%;
        font-size: 16px;
    }
    .col-2 button {
        bottom: 10%;
    }
    #main .wrap {
        padding: 180px 0 0;
    }
    h2 {
        background: rgba(103, 95, 155, 1);
        top: 80px;
        padding: 10px 5%;
        width: 90%;
        left: 0;
        right: 0;
    }
    h2.right {
        background: rgba(103, 95, 155, 1);
        top: 100px;
        padding: 10px 5%;
        width: 90%;
        left: 0;
        right: 0;
    }
    .inner-col-1 span {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .inner-col-1 span p {
        padding-left: 0;
    }
    #inner ul li {
        width: 98%;
    }
}

@media only screen and (max-width: 699px) {
    header h1 {
        font-size: 40px;
    }
    header p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 599px) {
    header h1 {
        font-size: 30px;
    }

}

@media only screen and (max-width: 499px) {
    .ui-helper-hidden-accessible {
        display: none;
    }
    .inner-col-1 img {
        width: 90%;
        min-width: 90%;
        padding-left: 5%;
    }
    #inner .inner-col-1 p {
        font-size: 16px;
        text-align: center;
        margin-bottom: -25px;
    }
    .col-2 {
        margin-top: -20px;
        margin-bottom: -20px;
        width: 74%;
        min-width: 80%;
        max-width: 80%;
    }
    .col p,
    .col-2 p {
        font-size: 12px;
    }
    .col button {
        bottom: 80px;
    }
    .col-2 button {
        bottom: 90px;
    }
    .col .image {
        margin-top: 26%;
        margin-bottom: -20px;
        max-width: 100%;
    }
    .col-2 .image {
        margin-top: 10%;
        margin-bottom: -40px;
    }
    .wrap {
        width: 100%;
    }
    nav ul li {
        width: 100%;
        border-top: 1px solid #000;
        background: rgba(103, 95, 155, 1);
    }
    nav ul li.last {
        margin-left: 0;
    }
    #top {
        height: 160px;
    }
    #top img {
        width: 30%;
        height: auto;
        margin: 10px 35% 0;
        padding: 0;
    }
    #top form {
        width: 100%;
        margin: 0;
        left: 0;
        right: 0;
        position: relative;
        display: block;
        z-index: 100;
        height: 150px;
        text-align: center;
    }
    #top form input[type="text"] {
        float: left;
        margin-left: 15%;
    }
    #top form input[type="submit"] {
        float: left;
    }
    #main {
        margin-top: -200px;
    }
    header h1 {
        font-size: 20px;
        width: 90%;
        background: rgba(103, 95, 155, 1);
        bottom: 0;
        padding: 20px 5%;
        text-align: center;
        z-index: 100;
    }
    body.home header h1 {
        font-size: 20px;
        width: 100%;
        background: rgba(103, 95, 155, 1);
        top: 290px;
        text-align: center;
        padding: 0;
        line-height: 50px;
    }
    body.home header p {
        bottom: 110px;
        max-width: 100%;
        font-size: 12px;
        line-height: normal;
    }
    header {
        height: 380px;
        background-size: contain;
        background-position: 100% 100px;
    }
    body.home header {
        background-size: contain;
        background-position: 100% 25%;
    }
    h2,
    h2.right {
        padding: 0;
        width: 100%;
        font-size: 20px;
        text-align: center;
    }
    h2 img {
        display: none
    }
    #search {
        position: relative;
        padding: 0 10%;
        width: 80%;
        margin-top: -20px;
    }
    #search input {
        width: 100%;
    }
}

@media only screen and (max-width: 369px) {
    #inner h2.aus {
        margin-top: 200px;
    }
    .col {
        margin-top: -50px;
    }
    .db-big {
        min-height: 85px;
    }
    body.home header p {
        bottom: 105px;
    }
    .col-2 {
        margin-top: -90px;
        margin-bottom: 0px;
    }
    .col p,
    .col-2 p {
        font-size: 12px;
    }
    header {
        height: 300px;
    }
    .col button {
        bottom: 80px;
    }
    .col-2 button {
        bottom: 90px;
    }
    .col .image {
        margin-top: 26%;
        margin-bottom: -20px;
    }
    .col-2 .image {
        margin-top: 10%;
        margin-bottom: -40px;
    }
}
