/* Theme UI Customizations */

#nav-container {
    width: 100%;
    max-width: 1400px;
}
#content-wrapper {
    margin-top: 0px;
    border-top: 1px solid whitesmoke;
}
#content-main {
    padding-bottom: 4em;
}
#content-area {
    font: 1em/1.6em Open Sans, helvetica, arial, sans-serif;
    color: #333;
    margin-top: 2em;
}
#featured-image {
    text-align: left;
    width: 100%;
}
#post-area #featured-image img {
    max-height: 95vh;
    width: auto;
}
.post-section{ margin: 2em 0 1em 2em; }
#post-header {
    padding-top: 3em;
}
#content, #content-wrapper article { width: 100%; max-width: 1400px; }
#nav-logo{ height:auto; max-width: 104px; }
#nav-wrapper{ height: 65px; box-shadow: 0 9px 45px -10px rgba(0, 0, 0, 0.8); }
#logo-footer{ max-width:160px; }
nav .menu li a{ padding: 26px 20px; font-size: 17px; }
nav .menu li ul{ top: 65px; }
h1.cat-heading{ text-align: left; padding: 20px 0 20px 20px; }
#search-button{ padding-top:22px; padding-bottom:22px; }
#menufication-nav img, #menufication-non-css3-nav img{ max-width:50%; }
.white { color:#eee; }
.headlines-list h3 { color: #e0a600 !important; letter-spacing: 0.5px; font-weight: 700; }


#body-wrapper {
    margin-top: -11px;
}

.featured-posts-img {
    position: relative;
    height: 200px;
}

#featured-wrapper,
.featured-shade,
.left-shade, .right-shade {
    height: 460px !important;
}

.featured-text-inner {
    position: absolute;
    bottom: 3em;
}

.featured-items.slider .slide .featured-text {
    height: auto;
    bottom:0;
    padding-left: 40px;
}

.read-more-btn {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 300;
    font-family: 'Open Sans', sans-serif;
    border: 1px solid #fff;
    display: inline-block;
    padding: 10px 15px;
}

.read-more-btn:hover {
    background-color: rgba(256, 256, 256, 0.2);
}

.featured-items.slider .slide .featured-text .featured-cat-contain,
.featured-items.slider .slide .featured-text .standard-headline {
    text-align: left;
}

#featured-wrapper ul li.slide a,
.featured-posts-img-link {
    display: block;
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-position: center 15%;
    background-size: cover;
}


/*=============================================*/
/* Widgets                                     */
/*=============================================*/

.gallery-slider.flexslider {
    max-height: none;
}
.gallery-slider .slides li a.gallery-image {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    display: block;
    height: 520px;
}
.gallery-slider .slides li a.gallery-text {
    background-color: rgba(0,0,0,0.75);
}



/*=============================================*/
/* Typography                                  */
/*=============================================*/

h1.story-title {
    float: none;
    max-width: 20em;
    line-height: 1.1em;
}

.wp-caption {
    margin-bottom: 0px !important;
}

.alignright {
    margin-left: 1em;
}
.alignleft {
    margin-right: 1em;
}

.alignnone .alignright,
.alignnone .alignleft {
    margin-bottom: 1em;
}

p.wp-caption-text {
    display: block !important;
    font-size: 0.8em;
    line-height: 1.35em;
    letter-spacing: 0.2px;
    font-style: italic;
    padding: 1em 0.9em;
    background-color: #fff;
    box-shadow: black 0px 17px 28px -22px;
    margin: -7px 4px;
}

.alignleft p.wp-caption-text {
    text-align: left;
    border-left: 10px solid rgba(216, 188, 85, 0.41);
}
.alignright p.wp-caption-text {
    text-align: right;
    border-right: 10px solid rgba(216, 188, 85, 0.41);
}

/* Twitter Widget */

.widget_oauth_twitter_widget div:nth-child(4n-1),
.widget_oauth_twitter_widget div:nth-child(4n-2) {
	/*background-color: #efefee;*/
}

.oauth-twitter-tweet {
    padding: 16px 17px 6px;
    font-size: 14px;
    line-height: 1.2em;
    text-indent: -0.4em;
}

.oauth-twitter-tweet-time {
    padding: 0px 8px 16px;
    font-style: italic;
    font-size: 12px;
    border-bottom: 1px solid #c1c5ca;
    margin: 0px 8px;
}

#oauth-twitter-follow-link a { color: #eee; }
#oauth-twitter-follow-link {
    font-size: 12px;
    text-transform: uppercase;
    padding: 9px 17px 8px;
    font-family: oswald, sans-serif;
    font-style: italic;
    background-color: #0f4c8c;
    letter-spacing: 0.5px;
    text-align: right;
    margin: -1px 0 20px;
}

.blog-layout1-img,
.blog-layout1-img iframe {
	max-width: 250px;
	max-height: 170px;
}

.blog-layout1-img .fa{
    width: 2em;
    height: 2em;
    color: rgba(255, 255, 255, 0.8);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    border-radius: 1000px;
    background-color: rgba(0, 0, 0, 0.47);
}

.blog-layout1-img .fa,
.blog-layout1-img .fa:before {
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.blog-layout1-img .fa:before {
    left: 52%;
}

#video-embed {
    text-align: left;
}
#video-embed iframe {
    width: 100%;
    max-width: 580px;
}


/* Membership Plugin */

/* Protection Message */
.protection-message {
    border-top: 2px solid #d6b230;
    background-color: #f1f0ef;
    float: left;
    width: 100%;
    position: relative;
    box-shadow: 0px -10px 111px -20px black;
    margin-top: -2em;
    margin-bottom: 2em;
}

.protection-message > div {
    float: left;
    position: relative;
    height: auto;
    overflow: visible;
    background-color: #f1f0ef;
    padding: 1em 2em 0em 2.5em;
    margin: 2em 0 2.5em;
}

.protection-message .signin-message {
    border-right: 1px solid #a7a7a7;
}

.protection-message .signup-message {
    /*padding-bottom: 2em;*/
}

.protection-message h4 {
    margin-bottom: 1.4em !important;
    max-width: 11em;
    text-transform: none !important;
    font-weight: 400 !important;
}

.protection-message .signup-message h4 {
    font-weight: 600 !important;
    font-size: 1.2em !important;
    margin-bottom: 0em !important;
}



.protection-message .ms-membership-form-wrapper {
    padding: 0;
}

.protection-message p.login-username.ms-field,
.protection-message p.login-password.ms-field {
    margin-bottom: 0.5em !important;
}

.protection-message .ms-field input {
    font-size: 1em;
    padding: 0.4em 0.6em;
}

.login-submit input#wp-submit,
.membership-cta-button {
    font-size: 1em;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #eee;
    border: 0px none;
    background-color: #7fb343;
    padding: 0.6em 0.9em;
    margin-top: 1em;
    display: inline-block;
}

.login-submit input#wp-submit,
.membership-cta-button:hover {
    background-color: #90d046;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.login-submit input#wp-submit:hover {
    background-color: #3588e3;
}

.protection-message .login-submit input#wp-submit {
    background-color: #3473b8;
}

a.lost, p.login-remember.ms-field {
    font-size: 0.85em;
    margin: 0em !important;
    display: block;
}

.ms-alert-box.ms-auth-header {
    font-family: 'Montserrat',sans-serif;
    margin-bottom: 0.6em;
}

#content-area p.login-remember.ms-field, 
#content-area .nav p {
    margin-bottom: 0 !important;
}

#content-area .protection-message h3 {
    background-color: #d48b00;
    margin: 0;
    padding: 1.1em 1.4em;
    color: #fff;
    box-shadow: -26px 14px 31px -19px black;
}

.ms-membership-form-wrapper {
    padding: 1.5em;
}

.type-page .theiaPostSlider_preloadedSlide,
.type-page .theiaPostSlider_slides,
.type-page .ms-membership-form-wrapper,
.type-page .ms-form-price-boxes {
    overflow: visible;
}

form.ms-membership-form {
    width: 11em;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 12px;
    text-align: center;
    vertical-align: top;
}
#ms-membership-wrapper-32915 {
    font-size: 1.4em;
}
#ms-membership-wrapper-32915 .ms-membership-details-wrapper {
    padding-top: 1em;
    padding-bottom: 1em;
}
.ms-price.price {
    padding: 0.5em;
}
.ms-membership-details-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0px;
    box-shadow: 0px 4px 20px -8px black;
    border: 0px none;
}
.ms-form-price-boxes h4 {
    text-align: center;
}
.ms-bottom-bar {
    padding: 0px;
}
.ms-bottom-bar button#submit {
    display: block;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 0px 0px 0px 0px;
    width: 100%;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border: 0px none;
    padding: 0.7em;
    color: #eee;
    background-color: #7fb343;
}
button#register {
    font-size: 1.2em;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    color: #eee;
    border: 0px none;
    background-color: #7fb343;
    padding: 0.7em 1em;
    margin-left: 0.8em;
}
.ms-bottom-bar button#submit:hover,
button#register:hover {
    background-color: #90d046;
    cursor: pointer;
}
.ms-top-bar {
    background-color: #2c6198;
    min-height: 0px;
}
.ms-top-bar h4 {
    margin: 0px 0 !important;
    font-size:1.1em !important;
    color: #eee;
    letter-spacing: 1px;
}
#ms-shortcode-register-user-form legend {
    font-family: 'Montserrat', sans-serif;
    border-bottom: 0px !important;
}
.ms-form-element input {
    float: none !important;
}
.ms-form-element .wpmui-field-label {
    display: block;
    margin: 0px 0px !important;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 0.6px;
}
.wpmui-wrapper.wpmui-input-wrapper input {
    margin-left: 0px;
    font-size: 1em;
    padding: 0.4em 0.5em;
    width: 100%;
    max-width: 20em;
}
p.ms-alert-box.ms-alert-success {
    text-align: left;
    padding: 0;
    background-color: transparent;
    border: 0px none;
    box-shadow: 0px 0px 0px 0px transparent;
    font-size: 1em;
    color: #333;
}
td.ms-title-column {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}
td.ms-desc-column {
    padding: 1em 0px 1.2em;
}
#account-profile,
.ms-account-wrapper th {
    text-align: left !important;
}
.ms-edit-profile {
    margin-left: 1em;
    font-size: 0.6em;
    color: #3474b7;
}
.ms-edit-profile, .ms-all-invoices, .ms-all-activities {
    margin-left: 1em;
    font-size: 0.6em;
    color: #3474b7;
}
.ms-account-wrapper h2 {
    margin-top: 1em !important;
    padding-bottom: 0.2em;
    position: relative;
    border-bottom: 1px solid #dedede;
}

/* Menufication */
#menufication-top center {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    padding-left: 20px;
}
#menufication-top #menufication-header-logo {
    display: block;
    margin: 0px 0px !important;
    width: 60%;
    height: auto !important;
    max-width: 290px;
}

#nav-wrapper,
nav .menu{
    display: block !important;
}

#menufication-outer-wrap.right-direction #menufication-top #menufication-btn {
    z-index: 100;
}




.page-template-page-fullwidth #post-header {
    width: 100%;
    text-align: center;
    padding-top: 5em;
}

.page-template-page-fullwidth h1.story-title {
    margin: 0 auto;
}





@media screen and (max-width: 930px) {
    .protection-message .signin-message {
        border-right: 0px none;
    }

    .protection-message > div {
        float: none;
    }

    #content, #content-wrapper article{
        width: auto;
    }
    #nav-wrapper{
        display: none !important;
    }
    .post-section {
        margin: 0 0 20px 3.03%;
    }
    .featured-text {
        height: auto;
        width: auto;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        padding-left: 40px;
    }
    #featured-wrapper, .featured-shade, .left-shade, .right-shade {
        height: 320px !important;
    }
    .prev, .next {
        display: none;
    }
    .featured-text-inner {
        position: absolute;
        bottom: 1.7em;
        right: 1em;
        left: 1em;
    }
    .featured-text h2.standard-headline {
        font-size: 1.5em !important;
    }
}

@media screen and (max-width: 767px) {
    #content-area {
        margin-left: 0;
    }
    .protection-message > div {
        padding: 0em 1em 0em 1.4em;
        margin: 1.7em 0 2.5em;
    }
}


/* RCP */
#rcp_subscription_levels li {
    margin-left: 1em;
}

.rcp-table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 1px 0 0 1px;
    margin: 0 0 1.75em;
    table-layout: fixed;
    width: 100%;
}
.rcp-table a {
    margin-bottom: 0.4em;
    display: inline-block;
    font-size: 0.85em;
    line-height: 1.2em;
}
.rcp-table, .rcp-table th, .rcp-table td {
    border: 1px solid #fff;
}
.rcp-table th, .rcp-table td {
    padding: 5px;
}
.rcp-table th {
    background-color: #3d5269;
    color: #f1f1f1;
    text-transform: uppercase;
}
.rcp-table td {
    text-align: center;
    vertical-align: middle;
    line-height: 1.3em;
    text-transform: uppercase;
    padding: 1em;
    background-color: #e4e4e4;
}
.registration-container {
    max-width: 1060px;
}
.right-rule {
    border-right: 1px solid #d2d2d2;
    padding-right: 2em;
    margin-right: 1em;
}
.pad-bottom {
    padding-bottom: 2.5em;
}
.rcp_user_fieldset {
    padding-top: 0.5em !important;
}

@media (max-width: 767px) {
    .right-rule {
        border-right: 0px none;
        padding-right: 15px;
        margin-right: 15px;
    }
}

