/*

CSS for Casa Maria
Date: 2020
Author: Casa Maria
Website: www.sisterservants.org

Colors:
Grey: #201C1D
Text Brown: #834f00;
Light Tan: #FFEBCD;
*/


/* ################# RESETS ################# */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ################# GLOBAL ################# */

@charset "UTF-8";

@font-face {
    font-family: Trajan;
    src: url(trajan.woff);
}

html,
body {
    position: relative;
    font-family: "Arial", sans-serif;
    color: #201C1D;
    line-height: 1.3;
    font-size: 16px;
    background-color: #fff;
}

body {
    padding-right: 0!important
}

body.modal-open {
    overflow: auto!important;
    height: 100%
}

h1, h2, h3, h4 { color: #201C1D; margin-top: 0px; margin-bottom: 15px; /*font-weight: 900;*/}
h4, h5 { font-weight: bold; font-size: 22px; }


h1 { font-family: Trajan, "arial", sans-serif; font-size: 5em; text-align: center; line-height: 1;  }
h3 { font-family: Trajan, "arial", sans-serif; font-size: 35px; }

h1.first { margin-top: -70px; }

.inside a, a:visited { font-weight: bold; }

a, a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

pre,
code {
    font-size: 12px
}

hr { 
    border-top: 1px solid #201C1D !important; 
    border-bottom:  0 !important;
    width: 85%;
}

p { /*margin-bottom: 0 !important;*/ padding: 0 20px; }

/* ################# GENERAL ################# */

.aligncenter {
    display: block;
    margin: 0 auto
}

.alignleft {
    float: left
}

.alignright {
    float: right
}

figure.alignnone {
    margin-left: 0;
    margin-right: 0
}

.alignleft {
    margin-right: 35px
}

.alignright {
    margin-left: 35px
}

.inside p { text-align: left; }

.itals { font-style: italic; text-align: center !important; }

.inside a, .inside a:visited, .primary-content a, .primary-content a:visited, .wp-block-column a, .half-width a:visited { color: #834f00 !important; font-weight: bold; }



/* ################# EXTRAS ################# */

.contact-us .sub-menu {
    display: none!important
}

.ngg-trigger-buttons {
    display: none
}

.jvectormap-tip {
    padding: 1.5px
}

.divider {
    height: 1px;
    width: 100%;
    background-color:  #696969;;
    margin: 25px 0
}


.modal-backdrop.in {
    z-index: 1
}

.button {
    display: inline-block;
    padding: 15px 1rem;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    border-radius: 0;
    margin: 0;
    color: #fff;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    text-transform: none;
    -webkit-transition: all .4s ease;
    transition: all .4s ease
}

.button.red {
    background-color: #EAA16F;;
    color: #fff
}

.button.red a {
    color: #fff
}

.button.red:hover {
    background-color: #4c4c4c
}

.button:hover a {
    text-decoration: none
}

#npl_button_close .fa {
    color: #fff;
}

.vertical-alignment-helper {
    display: table;
    height: 100%;
    width: 100%;
    pointer-events: none
}

.vertical-align-center {
    display: table-cell;
    vertical-align: middle;
    pointer-events: none
}

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px; height: 0; overflow: hidden;
}

.address a { color: #000!important; font-weight: bold; }
.col-md-4 p { font-size: 18px }

.schedule {
    margin: 0 auto; 
    text-align: left; 
    font-size: 20px;
    line-height: 1.3;
    max-width: 840px;
}


td.time { width: 175px; text-align: right; color: #834f00; padding-right: 15px; font-weight: bold;} 

.timecst { font-size: 18px; }

td { padding: 10px 0; }

td a, td a:hover, td a:visited, a, a:visited, a:hover { color: #834f00; font-weight: bold; }

h3.conferences { font-size: 28px; }

.the-content p { font-size: 16px; padding: 0 20px 10px 20px; }

.the-content .spiritual-reading img { max-width: 260px; height: auto; border-radius: unset !important; }

.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption { 
    font-size:  20px; 
    text-align: center; 
}

.wp-block-image img { 
    height: auto; 
    max-width: 100%;
    max-width: 500px;
}


/* ################# FLICKR ##################### */


.primary-container .primary .primary-content .flickr-col-2 { text-align: left !important; }


/* ################# RESPONSIVE VIDEOS ##################### */   


video {
max-width: 100%;
height: auto;
}

p.media {text-align: center !important; font-weight: bold; font-style: italic; color: #EAA16F; font-size: 2em !important;}


/* ################# PAGES ################# */


.page-template-template-interior-page .page-content.banner-image .submenu-container .modal-dialog {
    top: 720px
}

.submenu-container {
    position: absolute
}

.submenu-container .modal-dialog {
    margin: 0;
    min-width: 475px;
    position: absolute;
    background-color: rgba(255, 255, 255, .9);
    right: 0;
    top: 676px;
    height: auto;
    -webkit-transform: translate3d(25%, 0, 0);
    transform: translate3d(25%, 0, 0);
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    display: block
}

.submenu-container .modal-dialog .modal-content {
    padding: 40px 0;
    border-radius: 0
}

.submenu-container .modal-dialog .modal-content h1 {
    padding-left: 46px
}

.submenu-container .modal-dialog .modal-content ul li {
    padding-left: 46px;
    padding-right: 46px
}

.submenu-container .modal-dialog .modal-content ul li.more:after {
    right: 20px
}

.sub-pages {
    position: relative
}

.sub-pages h3.learn-more {
    font-size: 17px;
    margin: 0 0 10px;
    padding-right: 1px;
    color: #EAA16F;;
    text-align: right
}


.page-template-default .page-content .submenu-container .modal-dialog,
.page-template-template-view-gallery .page-content .submenu-container .modal-dialog,
.search .page-content .submenu-container .modal-dialog,
.single .page-content .submenu-container .modal-dialog,
.archive .page-content .submenu-container .modal-dialog,
.error404 .page-content .submenu-container .modal-dialog {
    top: 317px
}


.modal-content {
    width: inherit;
    height: inherit;
    margin: 0 auto;
    pointer-events: all
}


.wp-block-column {
    width: 100%;
    height: auto;
    display: block;
    font-size: 0;
    padding: 10px;
}

.wp-block-column img {
    border-radius: 10px !important;
    box-shadow: 0 1px 10px rgba(40, 52, 59, .5);
}

.wp-block-column .half-width {
    /*min-height: 560px;*/
    display: inline-block;
    width: 50%;
    vertical-align: top;
}

.wp-block-column .half-width .half-width-image {
    min-height: 560px;
    width: 100%;
    background-size: cover;
    /*background-position: center;*/
    background-repeat: no-repeat
}

.wp-block-column .half-width .half-width-image img.for-mobile-only {
    display: none
}

.wp-block-column .half-width .half-width-content {
    width: 80%;
    max-width: 555px;
    display: block;
    margin: 0 auto;
    padding-top: 0px;
    text-align: center;
}

.wp-block-column .half-width .half-width-content h1 {
    font-size: 60px;
    margin: 0;
    color: #cd1f43;
    line-height: 100%;
}

.wp-block-column .half-width .half-width-content p {
    font-size: 22px;
    line-height: 28px;
}

.bookstore {
    font-size: 1.5em;
    background-color: #834f00;
    border-radius: 10px;
    font-family: Trajan, "arial", sans-serif;
    height: auto;
    width: 240px;
    padding: 10px;
    margin: 0 auto;
    border: 1px solid #000;
}

.bookstore a, .bookstore a:visited {color: #fff !important; text-decoration: none; }
.bookstore a:hover { color: #fff !important; text-decoration: underline; }

.col-md-4 { text-align: center; }

.welcome img, .zoom img, .rosary { 
border-radius: 10px;
box-shadow: 0 1px 10px rgba(40, 52, 59, .5);
 }


 .zoom { margin-bottom: 25px; }

 .zoom p { margin-bottom: 10px !important;}
 .zoom a, .zoom a:visited {color: #834f00; }

/* ################# MENU ################# */

/*#mainNav {
  background-color: #fff !important;
}*/

/*.navbar #second-nav {
    position: absolute;
    top: 25px;
    right: 0;
    padding-right: 30px
}*/

.nav-item {
    padding: 5px;
    margin-top: 10px;
    height: 50px;
    border-bottom: 1px solid #000;
    margin-right: 5px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #201C1D !important;
    font-size: 2em;
    /*background-color: #EAA16F;
    border-radius: 10px;*/
    font-family: Trajan, "arial", sans-serif;
    height: 55px;
    font-weight: bold;
    background:  none !important;
}


.nav-item a:hover { color: #834f00 !important; }

.icon-bar { 
    margin-bottom: 7px; 
    width: 32px !important; 
    height: 4px !important; 
    background-color: #000;
    display: block;
}


.sub-pages .menu-icon {
    display: block;
    vertical-align: top;
    height: auto;
    padding-right: 0;
    background: 0 0;
    text-align: right;
    color: #EAA16F;
}

.sub-pages .menu-icon .lines-button {
    display: block;
    width: 100%;
    max-width: 80px;
    position: absolute;
    margin: 0;
    right: 15px;
    padding: 10px 15px 34px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background: 0 0;
    border: 0 !important;
    border-radius: 0;
    opacity: 1
}

.sub-pages .menu-icon .lines-button:hover {
    opacity: 1;
    -webkit-transition: all .3s ease;
    transition: all .3s ease
}

.sub-pages .menu-icon .lines-button:active {
    -webkit-transition: 0;
    transition: 0;
    background: 0 0
}

.sub-pages .menu-icon .lines-button:focus {
    outline: none
}

.sub-pages .menu-icon .lines-button span.lines {
    display: block;
    background: #00f;
    border: none;
    margin: 10px auto;
    background-color: #EAA16F;;
    position: relative;
    width: 100%;
    height: 4px;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d
}

/*.navbar {
    margin: 0;
    width: 100%;
    z-index: 999999;
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease
}

.navbar .sub-pages {
    display: none
}

.navbar.static-header {
    box-shadow: 0 4px 15px rgba(40, 52, 59, .5);
}*/

.navbar-brand img { max-width: 250px; }

.bg-dark { background-color: #fff !important }

.navbar.static-header .navbar-brand {
    float: none;
    /*width: 100%;*/
    position: relative;
    display: block;
    height: 100%;
    /*padding-top: 22px*/
}

.navbar.static-header #main-nav {
    padding-right: 30px;
    margin-bottom: 10px;
}

.navbar.out {
    opacity: 0;
    z-index: -1
}

.navbar.in {
    opacity: 1;
    z-index: 1
}

.logo {
    max-width: 250px;
    height: auto;
    padding: 0.5rem 1rem;
}


.navbar #second-nav .secondary-navigation li a {
}

/* ################# PAGES ################# */

.content-break-image-wrap {
    width: 100%;
    height: auto;
    margin: 0 0 40px
}

.content-break-image-wrap img {
    width: 100%;
    height: auto
}


 .main-copy-wrap h3 {
    color: #EAA16F;
}

 .main-copy-wrap p {
    margin-bottom: 30px
}

 .main-copy-wrap p a {
}

 .main-copy-wrap p a:hover {
    text-decoration: underline;
    color:  #4c4c4c;
}

 .main-copy-wrap img.alignleft {
    margin-bottom: 40px
}


div#shDisplay img#shTopImg {
    border: none!important
}

.page-footer {
    position: relative;
}

.page-footer .back-to-top-container {
    display: none
}

.shield {
    position: absolute;
    left: 0;
    right: 0;
    margin: -60px auto 0
}

.footer-divide { width: 95%; height: 25px; }


/* ################# RESPONSIVE FORM ################# */

/* Style inputs, select elements and textareas */
input[type=text], select, textarea{
  width: 100%;
  padding: 12px;
  border: 1px solid #EAA16F;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  color: #EAA16F;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
  color: #EAA16F;
}

/* Style the submit button */
input[type=submit] {
  background-color: #EAA16F;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  font-weight: bold;
  margin-right: 5%;
}

/* Style the container */
.form-container {
  border-radius: 5px;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(40, 52, 59, .3);
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 25%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 70%;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


/* ################# HOME PAGE ################# */

.container-fluid p {font-size: 20px;}

.full-width-image-wrap,
.full-width-image-wrap .full-width-image,
.full-width-image-wrap .full-width-image img {
    width: 100%;
    height: auto
}

.primary-container {
    padding-top: 40px;
}

.primary-container .primary .primary-content {
    text-align: center;
    padding: 15px 0 20px;
    max-width: 1050px;
    margin: 0 auto
}

.featured-item-container {
    padding-bottom: 30px;
}

.featured-item-container .FI .FI-image-wrap img {
    width: 100%;
    height: auto;
    max-width: 275px;
    margin: 0 auto;
    display: block
}

.featured-item-container .FI .FI-details h3 {
    font-size: 27px;
    color:  #696969;;
    margin-bottom: 0
}


.main-copy-wrap img.alignleft {
    margin-bottom: 40px
}

@media screen and (max-width:1050px) {
    .navbar #main-nav .primary-navigation {
        /*font-size: 21px*/
    }
    .navbar #main-nav .primary-navigation li a {
        padding-left: 14px;
        padding-right: 14px
    }
}

.fixed-top { box-shadow: 0 4px 15px rgba(40, 52, 59, .5); }
main { padding-top: 85px; }

/* ################# MOBILE CODE  ################# */

@media screen and (max-width:1000px) {

    .row { margin: 0; }

    td.time { padding-right: 5px; }

    .primary-container .primary .primary-content .flickr-col-2 { text-align: left !important; /*max-width: 300px;*/}

    .alignright, .alignleft { float: none; max-width: 300px; margin: auto;}

    .page-footer .footer-address .footer-secondary { text-align: center !important; font-size: 10px !important; }

    .song-name p { font-size: 16px !important; text-align: center; line-height: normal !important;}

    .mp3extras { width: 80%; margin-left: 15%; }

    .mp3-select { max-width: 70%; }

    h1  {font-size: 4em; }

    .divider {
        margin: 12.5px 0
    }
    .breadcrumbs-title {
        padding: 0;
        margin-bottom: 20px
    }
    .submenu-container {
        position: absolute
    }
    .submenu-container .modal-dialog {
        margin: 0;
        width: 95%;
        min-width: 0;
        max-width: 600px;
        position: absolute;
        background-color: rgba(255, 255, 255, .9);
        right: 0;
        top: 676px;
        height: auto;
        -webkit-transform: translate3d(25%, 0, 0);
        transform: translate3d(25%, 0, 0);
        display: block
    }
    .submenu-container .modal-dialog .modal-content {
        padding: 40px 0;
        border-radius: 0
    }
    .submenu-container .modal-dialog .modal-content h1 {
        padding-left: 23px;
        font-size: 28px
    }
    .submenu-container .modal-dialog .modal-content ul li {
        padding-left: 23px;
        padding-right: 23px;
        font-size: 18px;
        min-width: 0
    }
    .submenu-container .modal-dialog .modal-content ul li.more:after {
        right: 20px
    }

    /*.navbar.static-header {
        display: block!important;
        position: fixed;
        height: 100px;
        top: 0;
        opacity: 1;
        z-index: 1
    }
    .navbar.scroll-header {
        display: none!important
    }
    */

    .navbar-collapse {
        /*background-image: linear-gradient(to left, #FFF9D8 0%, #fff 100%);*/
    }

    .navbar-dark .navbar-nav .nav-link {
        color: #000;
        font-size: 2em;
        font-family: Trajan, "arial", sans-serif;
        background-color: transparent; 
        height: 50px;     
    }

    .nav-item { 
        background: url("../images/caret.png") 95% 40%; 
        background-repeat: no-repeat; 
    }

    .nav-item a:hover {color: #4c4c4c !important; }

    
    .page-footer {
        position: relative
    }
    .page-footer .back-to-top-container {
        display: block;
        text-align: center
    }
    .page-footer .back-to-top-container a {
        text-decoration: none;
        font-weight: bold; 
        color: #201C1D;
        font-size: 35px;
        font-family: Trajan, "arial", sans-serif;
    }
    .page-footer .back-to-top-container a:hover {
        text-decoration: none
    }
    .page-footer .back-to-top-container .back-to-top-image {
        max-width: 75px;
        height: auto;
        margin-bottom: 5px
    }

.page-footer .footer-address .footer-secondary {
    text-align: right
}

.page-footer .footer-address .footer-secondary h3 {
    display: inline;
    padding: 0 20px
}

.page-footer .footer-address .footer-secondary h3:last-child {
    padding-right: 0
}

.page-footer .footer-address .footer-secondary h3 a {
    color: #cd1f43
}
    .primary-container .primary .primary-content {
        text-align: center;
        /*padding: 20px;*/
        /*max-width: 1024px;*/
        margin: 0 auto
    }
    .primary-container .primary .primary-content p {
        margin: 0;
        font-size: 20px;
        line-height: 30px
    }

    .primary-container .primary .primary-content h1 {
        font-size: 3.5em;
    }

    .featured-item-container {
        border-bottom: none;
        padding-bottom: 30px;
    }
    .featured-item-container .FI .FI-image-wrap {
        text-align: center
    }
    .featured-item-container .FI .FI-image-wrap img {
        width: 50%;
        height: auto;
        margin: 0 auto;
        position: relative
    }
    .featured-item-container .FI .FI-details {
        text-align: center
    }

    .wp-block-column {
        width: 100%;
        height: auto;
        font-size: 0
    }

    .wp-block-column .half-width .half-width-content p {
        font-size: 20px;
    }
    .wp-block-column,
    .wp-block-column .half-width {
        display: block;
        text-align: center;
    }
    .wp-block-column .half-width,
    .wp-block-column .half-width .half-width-image {
        min-height: 0;
        height: auto;
        width: 100%
    }
    .wp-block-column .half-width .half-width-image img.for-mobile-only {
        background: 0 0;
        display: block;
        width: 100%;
        height: auto
    }
    .wp-block-column .half-width .half-width-content {
        width: 100%;
        max-width: none;
        display: block;
        /*padding: 20px;*/
        text-align: center;
    }
   
    .main-copy-wrap p {
        font-size: 20px
    }
     .main-copy-wrap img {
        float: none;
        display: block;
        max-width: 100%;
        height: auto;
        text-align: center;
        margin: 0 auto 10px
    }
     .main-copy-wrap img.alignleft {
        margin: 0 auto 10px
    }
    
    .closing-image-container {
        height: auto;
        min-height: 0;
        width: 100%;
        position: relative;
        z-index: -1
    }


    /*.page-footer .footer-address {
        padding-top: 20px;
        padding-bottom: 12px;
    }*/
    .page-footer .footer-address .address { text-align: center; padding: 0; }

    .footer-divide { height: auto; }
}


@media screen and (min-width: 1060px) and (max-width:1100px) {

.wp-block-column img { max-width: 450px !important; height: auto; }

}    

@media screen and (max-width:768px) {

.paypal, .bookstore-divide { margin-top: 15px; padding-top: 15px; border-top: 1px solid #EAA16F;}

}


@media screen and (min-width: 768px) {

.zoom { max-width: none !important }

}


@media screen and (max-width:510px) {

    .wp-block-column { padding: 0px; }

    .wp-block-column img, .welcome img, .zoom img, .rosary { max-width: 350px; height: auto; }

    .schedule { font-size: 20px; }

}

@media screen and (max-width: 349px) {

    .wp-block-column img, .welcome img, .zoom img, .rosary { max-width: 290px; height: auto; }
    h1 { font-size: 3em; }
    .col-md-4 p { font-size: 16px; }
    .navbar-brand img { max-width: 190px; }
    .page-footer .back-to-top-container a, h3 { font-size: 25px; }

}

