/* Ideen */

.single-news iframe {
    width: 615px;
}

@media (min-width: 1024px) {
    .single-news #block-block-6, .page-news #block-block-6 {
        top: auto !important;
        position: absolute;
        bottom: calc(100% + 10px);
        -webkit-transform: translateY(50px);
        transform: translateY(50px);
        transition: -webkit-transform 0.2s ease-in-out;
        transition: transform 0.2s ease-in-out;
        transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
    }
    .single-news #block-block-6.open, .page-news #block-block-6.open {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
}
    

/*.single-news #content-area,*/ .page-news #content-area {
    margin-top: -15px;
}

/** About Us Styling **/

@media (min-width: 1024px) {
    #about-panel {
        width: 980px;
        height: 560px;
    }
    .page-our-leadership-team #about-panel {
        height: 676px;
        background-size: cover;
    }
    .page-our-leadership-team .panel-col-last .inside {
        height: 676px;
    }
    .page-our-leadership-team #about-panel .pane-views-panes > .jspContainer {
        height: 676px !important;
    }
    .page-our-leadership-team #about-panel .panel-col-last .pane-leadership-panel-pane-1 {
        max-height: none !important;
    }
    .page-our-leadership-team .panel-col-last .pane-content {
        height: 676px;
    }
    .page-our-leadership-team .portrait-card {
        height: 635px;
        max-height: none;
    }
}
/* disable focus square */

div.panel-pane:focus {
    outline: none;
}

#about-panel .panel-panel .inside {
    margin: 0;
    overflow: hidden;
}

@media (min-width: 1024px) {
    #about-panel .panel-col-first {
        width: 490px;
        left: -21px;
        margin-right: 21px;
        float: left;
        display: block;
        position: absolute;
        color: #ffffff;
        background: url("../img/home-text-corner.png") no-repeat scroll bottom left transparent;
    }
}

#about-panel .panel-col-first .inside {
    background: url("../img/home-text-bg.png") repeat scroll left top transparent;
    margin: 60px 0 14px 0;
    padding: 20px 10px 5px 40px;
}

#about-panel .panel-col-last {
    float: right;
    display: block;
    width: 490px;
}

#about-panel .panel-col-first .pane-node h2.pane-title {
    font-size: 1.3em;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 3px;
    color: #FFF;
    width: 191px;
    height: 17px;
    font-family: brandon-grotesque, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#about-panel .sub-head {
    font-size: 1.06em;
    line-height: 1.2em;
}

#about-panel .page-content p {
    font-size: 0.8em;
    line-height: 1.4em;
    margin-top: 8px;
}

#about-panel .pane-menu-block-4 ul {
    padding-left: 0;
}

#about-panel .pane-menu-block-4 li {
    text-transform: uppercase;
    list-style: none;
    font-size: 0.8em;
    line-height: 2em;
    font-weight: bold;
}

#about-panel .inside-ajax {
    background-color: #ffffff !important;
    overflow: hidden;
}

#about-panel .panel-col-last .pane-views-panes,
#about-panel .panel-col-last .ajax-wrapper .node {
    padding: 25px 39px 15px;
}

#about-panel .panel-col-last .panel-pane .content,
#about-panel .panel-col-last .panel-pane .view-content,
#about-panel .panel-col-last .panel-pane .pane-content .item-list,
#about-panel .panel-col-last .panel-pane,
.pub-date,
.section-search #content {
    font-size: 0.8em;
    color: #4c5660;
    line-height: 1.4em;
}

#about-panel #panel-node-display .node-inner .content {
    font-size: 1em;
}

#about-panel .panel-col-last .panel-pane .views-field-title a,
#about-panel .panel-col-last span.cs-header {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    color: #434647;
}

#about-panel .panel-col-last .panel-pane .views-field-created {
    font-size: 0.9em;
    padding-bottom: 8px;
}

.panel-2col .panel-separator {
    display: none;
}

#about-panel .pane-menu-block-4 li a {
    text-decoration: none;
    color: #c3c6ab;
}
#about-panel .pane-menu-block-4 li.current_page_item a {
    color: #ffffff;
}

#about-panel .pane-menu-block-4 li a:active,
#about-panel .pane-menu-block-4 li a:hover,
#about-panel .pane-menu-block-4 li a.active {
    color: #FFFFFF !important;
}

#about-panel #pager-container .pager-next a:hover, #about-panel #pager-container .pager-back a:hover {
    color: #8E1F3E !important;
}

#about-panel #pager-container .pager-next a,
#about-panel #pager-container .pager-back a,
#about-panel #pager-container .pager-next,
#about-panel #pager-container .pager-back {
    color: #C3C6AB;
}

#about-panel .panel-col-last a,
.page-template-slider-page .views-field-field-popup-body-value span.body a {
    color: #8e1f3e;
    text-decoration: none;
}

#about-panel #pager-container .pager-next a,
#about-panel #pager-container .pager-back a {
    font-weight: bold;
}

#about-panel .panel-col-last a:hover,
.page-template-slider-page .views-field-field-popup-body-value span.body a:hover {
    color: #c3c6ab;
}

#about-panel #pager-container a {
    color: #c3c6ab;
    text-decoration: none;
    font-weight: normal;
}

#about-panel #pager-container a:hover {
    color: #8e1f3e;
    font-weight: bold;
}

#about-panel #pager-container .pager-current {
    color: #8e1f3e;
    font-weight: bold;
}

#about-panel #pager-container li {
    margin: 0;
    padding: 0 3px;
}

#about-panel #pager-container li a {
    margin: 0;
    padding: 0;
}

#about-panel .panel-col-last h2.pane-title, #about-panel .panel-col-last h2.title,
#about-panel #panel-node-display h2.title {
    margin-top: 0;
    margin-left: -1px;
    margin-bottom: 14px;
    color: #681A1B;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
}

#about-panel #panel-node-display h2.title {
    font-size: 1.183em;
}

#about-panel .panel-col-last .views-field-field-body-value {
    display: inline;
}

#about-panel .panel-col-last .views-row {
    margin-bottom: 20px;
}

#about-panel .panel-col-last .view-id-Leadership .views-row {
    margin-bottom: 0;
}

#about-panel .panel-col-last span.cs-header {
    padding-top: 20px;
    display: block;
}

.page-template-slider-page .contentBottom h2.title {
    font-size: 1.2em;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 3px;
}

.page-template-slider-page .contentBottom h2.title {
    font-size: 15px;
}

#about-panel .jspPane {
    width: 390px !important;
}

#about-panel .jspContainer {
    width: 490px !important;
}

#about-panel .portrait-card-overlay .jspContainer {
    width: 570px !important;
    height: 411px !important;
}

#about-panel .portrait-card-overlay .jspPane {
    width: 540px !important;
}

/* Leadership Page */
.page-our-leadership-team .pane-title {
    font-size: 15px;
    position: relative;
    margin-top: 1em;
    /*top: 46px*/
}
/*.page-our-leadership-team .pane-title:before {
    content: 'Chairman';
    display: block;
    position: absolute;
    top: -56px;
}
.page-our-leadership-team .pane-title:after {
    content: ' (A-Z)';
}*/

.page-our-leadership-team .menu-name-primary-links .menu {
    /*padding-top: 31px;*/
    padding-right: 10px;
    position: relative;
    margin-top: 0;
    top: -20px;
}
/*.page-our-leadership-team .menu-name-primary-links .menu li:first-child {
    position: absolute;
    top: -26px;
}*/

.page-our-leadership-team #about-panel .pane-menu-block-4 li {
    text-transform: uppercase;
    list-style: none;
    font-size: .7em;
    line-height: 1.3em;
    margin-bottom: 8px;
    letter-spacing: 0.025em;
    font-weight: 600;
    color: #c3c6ab;
}

.page-our-leadership-team #about-panel .pane-menu-block-4 li:hover {
    cursor: pointer;
    color: #fff;
}

.page-our-leadership-team #about-panel .panel-col-first {
    width: 270px;
}

.page-our-leadership-team #about-panel .panel-col-first .inside {
    margin: 14px 0 14px;
}

.page-our-leadership-team #about-panel .panel-col-last {
    width: 710px;
}

.page-our-leadership-team #about-panel .panel-col-last .pane-leadership-panel-pane-1 {
    width: 100%;
    overflow: auto;
    margin: 0;
    height: auto;
    max-height: 560px;
}

.page-our-leadership-team .panel-col-last .inside {
    width: 710px;
}

.page-our-leadership-team .panel-col-last .pane-content {
    width: auto; /* (237px * Count of Members)+78px */
    height: 560px;
}

.page-our-leadership-team #about-panel .pane-views-panes > .jspContainer {
    width: 710px !important;
}

.page-our-leadership-team #about-panel .pane-views-panes > .jspContainer .jspPane {
    width: 100% !important;
    padding: 0 !important;
}

.page-our-leadership-team .portrait-card {
    width: 237px;
    box-sizing: border-box;
    float: left;
    background: #fff;
    background-image: none;
    border-bottom: none;
    height: 638px;
    max-height: 638px;
}

.page-our-leadership-team .portrait-card.first {
    background: #e5e6db;
}

.page-our-leadership-team .portrait-card.first:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: block;
    border: 15px solid #e5e6db;
    box-sizing: border-box;
}

.page-our-leadership-team .portrait-card:first-of-type {
    
}

.page-our-leadership-team .portrait-card:nth-child(2n+1) {
    background: #f7f7f7;
}

.page-our-leadership-team .portrait-card img {
    float: none;
    display: block;
    width: 100%;
    height: 237px;
}

.page-our-leadership-team .portrait-card-description {
    position: static;
    margin-left: 0;
    padding: 0 20px;
    margin-top: 15px;
    font-size: 0.9em;
    height: 240px;
}

.page-our-leadership-team .portrait-card-description h2 {
    font-size: 13px;
}

.page-our-leadership-team .portrait-card-excerpt {
    font-size: 12px;
    line-height: 1.41em;
    position: absolute;
    top: 327px;
    padding: 0;
    margin-top: 0;
    width: 200px;
}

.page-our-leadership-team .portrait-card-more-link {
    font-weight: 400;
    color: #b8bc99;
    margin-bottom: 12px;
    text-align: right;
    position: absolute;
    right: 20px;
    bottom: -3px;
    z-index: 999;
}

.page-our-leadership-team .portrait-card-overlay .printpdf {
    top: 23px !important;
    right: 60px !important;
    left: auto !important;
    z-index: 999999999;
}

.page-our-leadership-team .jspHorizontalBar {
    background: transparent;
    padding: 8px 10px;
    bottom: 0;
}

.page-our-leadership-team .jspHorizontalBar .jspTrack {
    background: #e4e4e4;
    position: relative;
    height: 10px;
    max-width: 620px !important;
    overflow: hidden;
}

.page-our-leadership-team .jspHorizontalBar .jspDrag {
    background: #49182d;
    position: relative;
    top: 0;
    left: 0;
    cursor: pointer;
}

.page-our-leadership-team .jspHorizontalBar .jspArrow {
    height: 35px;
    width: 35px;
    margin-top: -10px;
}

.page-our-leadership-team .jspHorizontalBar .jspArrowLeft {
    background: url('../img/arrow-left-off.png') top left no-repeat;
}

/* retina */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    .page-our-leadership-team .jspHorizontalBar .jspArrowLeft {
        background: url('../img/arrow-left-off@2x.png') top left no-repeat;
        background-size: 30px;
    }
}

.page-our-leadership-team .jspHorizontalBar .jspArrowLeft:hover {
    background: url('../img/arrow-left-on.png') top left no-repeat;
    cursor: pointer;
}

/* retina */
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    .page-our-leadership-team .jspHorizontalBar .jspArrowLeft:hover {
        background: url('../img/arrow-left-on@2x.png') top left no-repeat;
        background-size: 30px;
    }
}

.page-our-leadership-team .jspArrowRight, .page-our-leadership-team .jspArrowRight.jspDisabled {
    background: url('../img/arrow-right-off.png') bottom left no-repeat;
    margin-left: 6px;
    margin-top: -15px !important;
}

.page-our-leadership-team .jspArrowRight:hover {
    background: url('../img/arrow-right-on.png') bottom left no-repeat;
}

/* papalagui010 */

/* login */
.page-template-login-page #main-inner {
    height: 556px;
    position: relative;
    top: -10px;
    background: url(../img/offices-bg.jpg) center center no-repeat;
    background-size: cover;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    .page-template-login-page #main-inner {
        background-image: url('../img/offices-bg@2x.jpg');
    }
}
.page-template-login-page #content {
    margin-top: 0 !important;
    height: 100%;
}
.page-template-login-page #content-inner {
    background-color: transparent;
}
.guest #footer .block {
    display: none;
}
.guest #footer-inner {
    padding-top: 60px;
}
.login-content {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.46em;
}
.login-content::after {
    content: '';
    display: table;
    clear: both; 
}
    .login-info {
        margin-top: 130px !important;
        margin-left: 0 !important;
        margin-right: 10px !important;
    }
        .login-info h1 {
            font-weight: normal;
            text-transform: uppercase;
            font-size: 16px;
            height: 30px;
            text-align: center;
        }
        .login-form a {
            color: #fff;
            font-size: 13px;
        }
    .login-form {
        text-align: center;
        margin-right: 10px;
    }
        .login-form p {
            margin: 0.5em 0;
        }
        .login-form input {
            display: block;
            margin: 0 auto 15px auto;
            font-size: 14px;
        }
        .login-form input[type="text"], .login-form input[type="password"] {
            width: 200px;
            height: 20px;
            padding: 5px 10px;
            line-height: 20px;
            background-color: rgba(51, 64, 72, 1);
            border: none;
            box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.33);
            color: #b7cedd;
            border-radius: 2px;
        }
        input[type="submit"] {
            background-color: #fff;
            border: none;
            height: 20px;
            line-height: 20px;
            padding: 5px 30px 25px !important;
            text-transform: uppercase;
            color: #334048;
            border-radius: 9px;
            letter-spacing: 0.5px;
            margin-top: 20px;
        }


/* register */
.register-remove {
    margin: -10px 30px 0 30px;
    padding: 10px;
    height: 150px;
    overflow: scroll !important;
    box-sizing: border-box;
    background-color: rgba(51, 64, 72, 1);
    border: none;
    box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.33);
    color: #98abb7;
    border-radius: 2px;
}
    .register-remove input[type="submit"] {
        margin: 0 10px 10px 0;
        padding: 10px !important;
        line-height: 10px;
        height: 30px;
        cursor: pointer;
    }
.page-template-register-page #main-inner {
    height: 574px;
    position: relative;
    top: -10px;
    background: url(../img/register-bg.jpg) center top no-repeat;
    background-size: cover;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
    .page-template-register-page #main-inner {
        background-image: url('../img/register-bg@2x.jpg');
    }
}
.page-template-register-page #content {
    margin-top: 0 !important;
    height: 100%;
}
.page-template-register-page #content-inner {
    background-color: transparent;
}
.guest #footer .block {
    display: none;
}
.guest #footer-inner {
    padding-top: 60px;
}
.register-content {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.46em;
}
.register-content.updated {
    margin: 200px auto 0 auto;
    width: 400px;
    text-align: center;
    line-height: 1.75em;
}
.register-content::after {
    content: '';
    display: table;
    clear: both; 
}
    .register-info {
        margin-top: 150px !important;
        margin-left: 0 !important;
        margin-right: 10px !important;
    }
    .updated .register-info {
        margin-right: 0px !important;
    }
        .register-info h1 {
            font-weight: normal;
            text-transform: uppercase;
            font-size: 16px;
            height: 30px;
            margin-left: 30px;
            margin-bottom: 15px;
        }
        .updated .register-info h1 {
            margin-left: 0;
        }
        .register-form a {
            color: #fff;
            font-size: 13px;
        }
    .register-form {
        text-align: left;
        padding: 0 30px;
    }
    .updated .register-form {
        text-align: center;
    }
        .register-form .acf-field {
            border-top: none !important;
            padding: 0 0 20px 0 !important;
        }
        .register-left {
            width: 48.5%;
            float: left;
            clear: both !important;
        }
        .register-right {
            width: 48.5%;
            float: right;
            clear: none !important;
        }
        .register-form .acf-label, .register-right .acf-label {
            display: none;
        }        
        .register-form input {
            display: block;
            margin: 0 !important;
            font-size: 14px;
        }
        .register-form input[type="text"], .register-form input[type="password"], .register-form input[type="email"], .register-form select, .register-form textarea {
            height: 35px;
            padding: 5px 10px !important;
            background-color: rgba(51, 64, 72, 1);
            border: none;
            box-shadow: inset 0px 0px 10px 0px rgba(0, 0, 0, 0.33);
            color: #98abb7;
            border-radius: 2px;
            letter-spacing: 0.025em;
        }
        .updated .register-form input {
            height: 20px;
            margin: 0 auto 20px auto !important;
        }
        .updated .register-form input[type="text"] {
            width: 80%;
        }
        .register-form textarea {
            height: auto;
        }
        .register-form select {
            width: 25% !important;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }
        .register-form .acf-form-submit {
            margin-top: 5px;
        }
        input[type="submit"] {
            background-color: #fff;
            border: none;
            height: 20px;
            line-height: 20px;
            padding: 5px 30px 25px !important;
            text-transform: uppercase;
            color: #334048;
            border-radius: 9px;
            letter-spacing: 0.5px;
            margin-top: 20px;
        }
        .register-form > .acf-error-message {
            display: none;
        }
        .register-form .acf-error-message {
            position: absolute;
            z-index: 2;
            top: 33%;
            left: auto;
            right: 0;
            -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
            pointer-events: none;
            background-color: #9AB1C3 !important;
            max-width: 75%;
        }
        .register-form .acf-field .acf-error-message:after {
            right: 100%;
            left: auto;
            bottom: 50%;
            -webkit-transform: translateY(50%) rotate(90deg);
            transform: translateY(50%) rotate(90deg);
            border-top-color: #9AB1C3;
        }
        .register-form .acf-error-message p {
            margin: 5px;
        }
        ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
            color:    #788791;
        }
        :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
           color:    #788791;
           opacity:  1;
        }
        ::-moz-placeholder { /* Mozilla Firefox 19+ */
           color:    #788791;
           opacity:  1;
        }
        :-ms-input-placeholder { /* Internet Explorer 10-11 */
           color:    #788791;
        }
        ::-ms-input-placeholder { /* Microsoft Edge */
           color:    #788791;
        }

.panel-sub-go-back {
    display: none;
}