:root{
    --primary-color:#363d52;
    --primary-dark-color:#212940;
    --primary-light-color:#69769c;
    --secondary-color:#dd6c1c;
    --grey-light:#e2e2e2;
    --blue-color:#1988d2;
    --text-grey:#4f4f4f;
    --text-white:#fff;
    --link-color:#0288d1;

     /*Font size*/
     --h1:40px;
     --h2:36px;
     --h3:30px;
     --h4:26px;
     --h5:22px;
     --h6:20px;
     --h7:18px;
     --h8:18px;
     --p:17px;
     --li:18px;
     /*Line height*/
     --h1-leading:1.5;
     --h2-leading:1.5;
     --h3-leading:1.5;
     --h4-leading:1.5;
     --h5-leading:1.5;
     --h6-leading:1.5;
     --h7-leading:1.5;
     --h8-leading:1.5;
     --p-leading:1.5;
     --li-leading:1.5;
     /* Font weight */
     --h1-weight:500;
     --h2-weight:500;
     --h3-weight:500;
     --h4-weight:500;
     --h5-weight:400;
     --h6-weight:400;
     --h7-weight:400;
     --h8-weight:400;
     --p-weight:400;
     --li-weight:400;
}

body{
    margin: 0;
    font-family: "Roboto", sans-serif;
    color: rgba(0, 0, 0, 0.7);
}
*{
    box-sizing: border-box;
}
:is(h1, h2, h3, h4, h5, h6, p, ul, ol, figure, article){
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
}
hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
}
/*******************************
CONTAINER
*******************************/
:root {
    --container-width: 1650px;
    --container-padding: 30px;
    --container: min(calc(100% - var(--container-padding)* 2), var(--container-width));
    --container-spacing: max(calc((100% - var(--container-width)) / 2), var(--container-padding));
    --container-spacing-minus: max(calc((-100% + var(--container-width)) / 2), var(--container-padding));
}
.container{
    width: var(--container);
    margin-inline: auto;
}
@media screen and (max-width:480px) {
    :root {
        --container-padding: 15px;
    }
}
/*******************************
LAYOUT
*******************************/
:root{
    --sidebarWidth:425px;
}
body:is(.node-home_page) main.main-layout {
    margin-top: -64px;
}
body:not(.node-home_page) main.main-layout {
    /* max-width: 1900px; */
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
}
body:not(.node-home_page) aside.layout-sidebar {
    width: var(--sidebarWidth);
    padding-block: 300px;
    padding-inline: 100px 30px;
    border-right: 2px solid #515769;
}

body:not(.node-home_page) .layout-content {
    width: calc(100% - var(--sidebarWidth));
    min-height: 50vh;
    padding-top: 30px;
    padding-inline: 30px;
}
body.node-page .body{
    padding-top: 15px;
}
@media screen and (max-width:1280px) {
    :root{
        --sidebarWidth:100%;
    }
    body:not(.node-home_page) main.main-layout{
        flex-direction: column-reverse;
    }
    body:not(.node-home_page) .layout-content {
        width: 100%;
        padding-top: 70px;
    }
    body:not(.node-home_page) aside.layout-sidebar{
        padding-block: 30px;
        padding-inline: 30px;
    }
}
@media screen and (max-width:991px) {
    body:not(.node-home_page) .layout-content {
        padding-top: 40px;
    }
}
/*******************************
TYPOGRAPHY
*******************************/
:is(h1, .h1){
    font-size: var(--h1);
    font-weight: var(--h1-weight);
    line-height: var(--h1-leading);
}
:is(h2, .h2){
    font-size: var(--h2);
    font-weight: var(--h2-weight);
    line-height: var(--h2-leading);
}
:is(h3, .h3){
    font-size: var(--h3);
    font-weight: var(--h3-weight);
    line-height: var(--h3-leading);
}
:is(h4, .h4){
    font-size: var(--h4);
    font-weight: var(--h4-weight);
    line-height: var(--h4-leading);
}
:is(h5, .h5){
    font-size: var(--h5);
    font-weight: var(--h5-weight);
    line-height: var(--h5-leading);
}
:is(h6, .h6){
    font-size: var(--h6);
    font-weight: var(--h6-weight);
    line-height: var(--h6-leading);
}
:is(.h7){
    font-size: var(--h7);
    font-weight: var(--h7-weight);
    line-height: var(--h7-leading);
}
:is(.h8){
    font-size: var(--h8);
    font-weight: var(--h8-weight);
    line-height: var(--h8-leading);
}
:is(p, .p){
    font-size: var(--p);
    font-weight: var(--p-weight);
    line-height: var(--p-leading);
}
body main a{
    color: var(--blue-color);
    text-decoration: none;
    transition: all 0.3s;
}
body main a:is(:hover, :focus){
    color: var(--secondary-color);
}
/*******************************
TITLE
*******************************/
.gotham-speaks-block h2:before,
.group-listing h2::before,
.featured-event-block h2::before{
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    margin-inline: auto;
    margin-bottom: 10px;
    border: 1px solid #000;
    background-color: #fff;
}
.featured-event-block h2::before{
    border-color: #fff;
}
/*blue header*/
.blue-header,
.layout-sidebar div[id*="block"]:not(#block-gotham-groupaffiliationsblock) h2,
.group-leaders-block h3,
body:not(.front) .field_page_title{
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 5px 15px;
    font-weight: 600 !important;
    font-size: 14px;
    width: calc(100% - 0px);
    margin-top: 20px;
}
/*******************************
BUTTON
*******************************/
.button-wrap :is(span, a),
.field_gotham_relationship_link :is(span, a),
.field_gotham_react_button :is(span, a),
.user-items form .form-actions input[type="submit"],
:is(.user-login-form, .user-pass) input[type="submit"]{
    display: inline-block;
    padding-block: 17px;
    padding-inline: 32px;
    border-radius: 50px;
    text-align: center;
    background-color: var(--primary-dark-color);
    border: 1px solid var(--primary-dark-color);
    font-size: 14px;
    line-height: 1;
    color: var(--text-white);
    text-transform: uppercase;
    cursor: pointer;
}
/*******************************
SEE ALL BUTTON
*******************************/
.see-all{
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: #000;
    display: flex;
    justify-content: center;
}
.see-all span{
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    grid-gap: 0 30px;
}
.see-all span::before,
.see-all span::after{
    content: '';
    width: 15px;
    height: 15px;
    background-image: url('../images/down.png');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center;
}
.see-all span::after{
    background-image: url('../images/up.png');
}
/*******************************
IMAGE
*******************************/
img{
    display: block;
    max-width: 100%;
    height: auto;
}
/*******************************
BANNER SHAPE
*******************************/
.banner-shape .hero-banner-overlay{
    position: relative;
    overflow: hidden;
}
.banner-shape .hero-banner-overlay:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: -50%;
    top: 0;
    background-color: rgba(255, 255, 255, .57);
    transform: skew(0, -45deg);
    position: absolute;
    z-index: 1;
}
.banner-shape .hero-banner-overlay:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: -50%;
    top: 0;
    background-color: rgba(33, 41, 64, .57);
    transform: skew(0, 45deg);
    position: absolute;
}
/*******************************
FORM
*******************************/
form input:is([type="text"], [type="email"], [type="password"]),
form textarea{
    width:100%;
    height: 42px;
    border: 1px solid #979797;
    padding: 10px 20px;
    font-size: 20px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: rgba(0, 0, 0, 0.7);
    display: inline-block;
}
form input:is([type="text"], [type="email"]):is(:focus, :active),
form textarea:is(:focus, :active){
    outline: 0;
}
form textarea{
    height:150px;
}
form input:is([type="text"], [type="email"])::placeholder{
    color: rgba(0, 0, 0, 0.7);
}
#block-gotham-webform form .form-item:has(input.required, textarea.required){
    position: relative;
}
#block-gotham-webform form .form-item:has(input.required, textarea.required)::after{
    content: "*";
    color: red;
    position: absolute;
    top: 5px;
    right: 5px;
}
/*captcha*/
.captcha {
    padding: 0;
    margin: 0;
    border: 0;
}
.captcha .captcha__title,
.captcha .captcha__description{
    display:none;
}


/*Default css*/
#block-gotham-breadcrumbs{
    display: none;
}
/*******************************
PAGINATION
*******************************/
nav:is(.pager){
    width: 100%;
    display: flex;
    justify-content: center;
}
.pager__items {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    grid-gap: 10px;
}
.pager__items :is(.pager__item--first, .pager__item--last){
    display: none;
}
.pager__item a {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #006598;
    border: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    padding: 5px 15px;
    border-radius: 3px;
}
.pager__item:is(.is-active, :hover) a{
    color: #666666;
}
.pager__items :is(.pager__item--previous, .pager__item--next) a::after{
    content: "\f04e";
    font-family: FontAwesome;
    font-size: 16px;
    color: #006598;
}
.pager__items :is(.pager__item--previous) a::after{
    content: "\f04a";
}
.pager__items :is(.pager__item--previous, .pager__item--next) a > span{
    display: none;
}
/*******************************
INNER BANNER
*******************************/
.page-banner {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: url(../images/profile-page-banner.jpg) no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    color: #fff;
    padding-left: 21%;
}
.page-banner:before {
    content: '';
    display: block;
    width: 200%;
    height: 100%;
    left: -100%;
    top: 0;
    background-color: rgba(255, 255, 255, .57);
    transform: skew(0, -45deg);
    position: absolute;
    z-index: 1;
}
.page-banner:after {
    content: '';
    display: block;
    width: 200%;
    height: 100%;
    left: -100%;
    top: 0;
    background-color: rgba(33, 41, 64, .57);
    transform: skew(0, 45deg);
    position: absolute;
}
.page-banner h2{
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}
@media screen and (max-width:480px) {
    .page-banner{
        padding-left: 30px;
    }
    .page-banner h2{
        font-size: 30px;
    }
}
/*******************************
INNER BANNER
*******************************/
.inner-page-header {
    position: relative;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    color: #fff;
    padding-left: 300px;
}
.inner-page-header img{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}
.inner-page-header:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: -50%;
    top: 0;
    background-color: rgba(255, 255, 255, .57);
    transform: skew(0, -45deg);
    position: absolute;
    z-index: 1;
}
.inner-page-header:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    left: -50%;
    top: 0;
    background-color: rgba(33, 41, 64, .57);
    transform: skew(0, 45deg);
    position: absolute;
}
.inner-page-header h2{
    text-transform: uppercase;
}
/*******************************
LOGIN PAGE
*******************************/
:is(.user-login-form, .user-pass){
    margin-block: 100px;
    max-width: 480px;
    margin-inline: auto;
    padding: 30px;
    border: 1px solid #e5e5e5;
}
:is(.user-login-form, .user-pass) .form-item{
    margin-bottom: 15px;
}
:is(.user-login-form, .user-pass) .form-item label{
    display: block;
    margin-bottom: 10px;
}
:is(.user-login-form, .user-pass) .error{
    margin-top: 5px;
    display: block;
    font-size: 14px;
    color: red;
}
:is(.user-login-form, .user-pass) p{
    line-height: 1.1;
}
.paragraph--type--home-page-block a {
    color : var(--text-white)!important;
}
:is(.user-pass) .button{
    margin-top: 15px;
}
div[data-drupal-messages]{
    margin-block: 0;
    margin-inline: auto;
    background-color: var(--secondary-color);
    padding: 20px var(--container-spacing);
    width: 100%;
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    z-index: 9;
    color: #fff;
}
div[data-drupal-messages] a{
    color: #fff;
    font-weight: bold;
}
div[data-drupal-messages] a:hover{
    color: var(--primary-color);
}
div[data-drupal-messages]:has(div[aria-label="Error message"]){
    background-color: red;
}
