html {
    scroll-behavior: smooth;
}

body.public {
    background-color: #f9f0d2;
}

.head {
    position: relative;
    color: #ffffff;
    background-image: url('../img/chram.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

.head .container {
    padding-top: 10px;
    padding-bottom: 20px;
}

.c-head {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(174, 188, 191, 0.4) 0%,rgba(10, 8, 9, 0.4) 72%);;   
}

.c-head h2 {
    font-size: 24px;
    line-height: 1.2;
}

.c-head:hover {
    background: rgba(10, 8, 9, 0.3);
    backdrop-filter: blur(1px);
}

.navbar-nav {
    margin: 0 -15px;
}

.navbar {
    margin-bottom: 0;
    min-height: 35px;
    border-radius: 0 !important;
}

.navbar-toggle {
    margin-top: 7px;
    margin-bottom: 7px;
    margin-right: 10px;
}

.navbar-toggle .icon-bar {
    width: 20px;
    height: 3px;
}

.navbar-default {
    background-color: rgba(255, 255, 255, .15);
}

.navbar-default .navbar-nav > .active > a {
    background-color: #ffe693;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: #f9f0d2;
}

.navbar-default .navbar-nav > li > a {
    color: #444444;
    font-weight: 700;
}

.navbar-default .navbar-nav > li {
    border-color: #e3bc3c;
    border-style: solid;
    border-width: 0;
}

.navbar-default .navbar-nav > .active > a:focus, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav li:hover {
    background-color: #ffde74;
}

.navbar-default .navbar-toggle {
    border-color: #888888;
    background-color: #ffe693;
}

#top-navigation {
    border-color: #888888;
}

.nextaction.container {
    margin-top: 2.3rem;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,.15);
    padding-left: 0;
    padding-right: 0;
    overflow: hidden;
    padding-bottom: 14px;
}

.nextaction .nxtitle {
    background-color: rgba(249, 240, 210, .75);
    color: #333333;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    border-bottom: 1px solid rgb(252, 202, 39);
    margin-bottom: 24px;
}

 .main-container {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    border: 3px solid #6e6e6e;
    border-radius: 21px;
    background-image: linear-gradient(120deg, rgba(255, 255, 0, .2) 40%, rgb(255, 222, 116) 70%, rgba(255, 255, 116, .3));
    margin-bottom: 15px;
    background-size: 140% 140%;
}

.main-container:first-child {
    animation: gradient-animation 1.8s ease-out;
}

@keyframes gradient-animation {
  0% {
    background-position: 260% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
 .main-container ::selection, .main-container ::-moz-selection {
    color: rgb(255, 222, 116);
    background: #6e6e6e;
 }

  .main-container p {
      margin-bottom: 0;
  }

 .left-section {
    flex: 1;
    padding: 5px 15px;
    align-content: center;
    text-align: center;
    border-radius: 18px;
    background-color: #6e6e6e;
    color: #ffffff;
    text-transform: uppercase;   
 }

 .left-section p:nth-child(1) {
   font-size: 12px;
   line-height: 14px;
   margin-bottom: 3px;
 }

 .left-section p:nth-child(2) {
   font-size: 24px;
   font-weight: 700;
   line-height: 28px;
 }

 .right-section {
    flex: 1;
    padding: 5px 15px;
    align-content: center;
    border-radius: 0 0 14px 0;
    color: #333333;
 }

 @media only screen and (max-width: 767px) {
    .nxpl-2 {
        padding-left: 20px;
    }

    .extra-main-container {
        margin-left: 10px;
        margin-right: 10px;
        display: block;
    }

   .right-section {
      text-align: right;
   }
}

 .right-section p:nth-child(1) {
   margin-bottom: 2px;
    font-size: 18px;
    font-weight: 800;
 }

  .right-section p:nth-child(2) {
      font-size: 19px;
 }


.book.container {
    margin-top: 2.3rem;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,.15);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.book.container > div {
    padding: 15px;
}

.book.container img {
    height: 42px;
}

.book.container p {
    margin: 10px 0 0;
}

.book h4 {
    line-height: 2.2rem;
    font-size: 14px;
}

.w-footer.container {
    background-color: #ffffff;
    margin: 20px auto 14px;
    color: #ffffff;
    font-size: 14px;
    padding-left: 0;
    padding-right: 0;
}

.footer {
    padding: 10px;
    background-color: rgba(102, 102, 102, 0.7);
    clear: both;
}

.footer span {
    margin: 4px 0;
}

.footer .glyphicon {
    margin-right: 0.7rem;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

.footer a:hover {
    text-decoration: underline;
}

.main.container {
    margin-top: 2.3rem;
    min-height: 66%;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0,0,0,.15);
    padding-top: 1.3rem;
}

.main h2 {
    font-size: 22px;
}

.my-3 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.px-1 {
    padding-left: 10px;
    padding-right: 10px;
}

.pr-1 {
    padding-right: 10px;
}

.pb-4 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 3rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.dc-1, .dc-21, .dc-22, .dc-23 {
    padding: 10px;
}

.line-spaced {
    line-height: 2.6rem;
}

.s-day {
    border-width: 1px;
    border-color: #ddd;
    border-style: solid;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2.7rem;
}

.s-day:hover {
    background-color: #f7f7f7;
}
            
.acl {
    animation: fadein 4s ease-in-out 3s;  
    animation-delay: 2s;    
}     

.w-btn {
    width: 144px;
    margin: 5px 0;
}

@keyframes fadein {        
    0%   {background-color: #ffffff;}
    30%  {background-color: #ffeeb7;}
    70%  {background-color: #ffeeb7;}
    100% {background-color: #ffffff;}    
}                
  
.dc-20 {
    flex-grow: 1;
}

.dc-2 {
    display: flex;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

.dc-1 {
    flex-basis: 100%;
    flex-shrink: 1;
    border-bottom: 1px solid #ddd;
}

.dc-21 {
    flex-basis: 136px;
    flex-shrink: 0;
    align-self: center;
}

.dc-22 {
    flex-basis: 70px;
    align-self: stretch;
    border-left: 1px solid #ddd;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dc-221 {
    width: 100%;
}

.dc-23 {
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 100px;
    border-left: 1px solid #ddd;
    font-size: 12px;
    color: #6f6f6f;
    align-self: stretch;
    display: flex;
    align-items: center;
}

.main hr {
    margin-right: -15px;
    margin-left: -15px;
}

.d-none, .userhide {
    display: none;
}

.main ul, .main ol {
    margin-left: -20px;
}

.panel-contact a {
    color: #466480;
}

.panel-contact a:hover, .panel-contact a:focus {
    text-decoration: none;
    color: #23527c;;
}

.panel-contact span {
    margin-right: 1rem;
}

.panel-contact h4 {
    line-height: 3rem;
}

.galleries {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    margin: 12px 0 0 0;
}

.galleries .gallery { 
    flex-basis: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    padding: 0 16px 18px;
    cursor: pointer;
}

.gallery > div > div.after { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 7px;
    text-align: center;
    display: none;
    font-weight: 700;
    color: #ffffff;
}

.gallery > div:hover > div.after { 
    background-color: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px) brightness(85%);
}

.gallery > div {
    padding: 16px 20px;
    border: 1px solid #cfcbcb;
    border-radius: 7px;
    position: relative;
    height: 100%;
}

.gallery img, .galleries .g-footer {
    width: 100%;
}

.galleries .g-footer {
    margin-top: 8px;
    margin-bottom: 8px;
}

.gallery h4 {
    line-height: 2.7rem;
}

.article {
    margin: 30px 0 10px;
    border-bottom: 1px solid #dddddd;
}

.article:last-child {
    border-bottom: none;
}

.article h3 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.article .a-image img {
    width: 100%;
    padding: 0 2px 0 1px;
}

.article .text-content { 
    margin: 18px 10px 0 0;
}

.gallery-link {
    margin-left: 2px;
    margin-top: 10px;
}

.acontainer {
    padding-bottom: 30px;
}

.sarticle {
    padding: 0;
}

.sarticle h3 {
    margin-bottom: 3rem;
}

.sarticle .simg {
    width: 100%;
    margin-bottom: 28px;
}

.sarticle img {
    width: 100%;
}

.page-right {
    float: right;
    margin: 10px 0 18px 0;
}

.page-left {
    margin: 10px 0 18px 0;
}

.btn.page-right, .btn.page-left {
    padding: 6px 2px;
}

.text-muted {
    color: #999999;
}

.pdfcontent {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.pdfcontent .pdf_year {
    background-color: #ffffff;
    margin: 25px 0;
    border: solid 1px #ededed;
    padding: 20px 25px;
    -webkit-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);     
}

.pdfcontent .pdf_year h4 {
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 15px;
}

.pdfcontent .pdf_year h4:hover {
    text-decoration: none;
}

.pdfcontent .pdf_doc {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 -25px;
    padding: 0 25px;
}

.pdfcontent .pdf_doc:hover {
    background-color: #f7f7f7;
}

.pdfcontent .pdf_doc img.pdf-icon {
    width: 20px;
    margin-right: 10px;
    position: relative;
    bottom: 4px;
}

.pdfcontent .pdf_doc > div {
    flex-shrink: 1;
    padding-right: 8px;
}

.pdfcontent .pdf_doc:not(:last-child) {
    margin-bottom: 15px;
    border-bottom: 1px solid #cccccc;
}

/*  */

.pdfcontent .pdf-doc {
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
    align-items: flex-end;
    margin-bottom: 25px;
}

.pdfcontent .pdf-doc div:first-child {
    flex-shrink: 1;
    flex-grow: 0;
}

.pdfcontent .pdf-doc div:first-child img {
    width: 120px;
}

.pdfcontent .pdf-doc .pdf-desc {
    flex-grow: 1;
    padding: 0 25px;
    line-height: 2.7rem;
    border-bottom: 1px solid #cccccc;
}

.pdfcontent .pdf-doc .pdf-desc p {
    margin: 4px 0 0 0 !important;
}

.pdfcontent .pdf-doc img.pdf-icon {
    width: 20px;
    margin-right: 9px;
    position: relative;
    bottom: 4px;
    left: -2px
}

.s-day .saintsday {
    background-color: #ebf6ff;
}

/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {    
    .head .container {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .pdfcontent .pdf-doc div:first-child img {
        width: 200px;
    }

    .c-head h2, .main h2 {
        font-size: 30px;
    }

    .dc-23 {
        font-size: 14px;
        color: #333333;
    }

    .book h4 {
        line-height: inherit;
        font-size: 18px;
    }    

    .navbar-default .navbar-nav > li {
        border-width: 0 0 0 1px;
    }

    .navbar-default .navbar-nav > li:last-child {
        border-width: 0 1px 0 1px;
    }

    .galleries .gallery { 
        flex-basis: 50%;
    }

    .article {
        padding-bottom: 20px;
        margin: 30px 0 10px;
        display: flex;   
        flex-wrap: wrap; 
    }
    
    .article .text-content {
        flex: 1;
        margin: 0 32px 0 18px;
    }
    
    .article .a-image {
        flex-basis: 300px;
        flex-shrink: 0;
    }

    .article .a-image img {
        width: 100%;
        padding: 0 46px 0 20px;        
    }

    .sarticle {
        padding: 0 24px;
    }

    .sarticle .simg {
        float: left;
        padding: 0 30px 14px 0;
        margin-bottom: 16px;
    }

    .sarticle .simg {
        width: 50%;
        margin-bottom: 0;
    }

    .sarticle h3 {
        margin-top: 4rem;
    }    

    .gallery-link {
        margin-left: 20px;
    }

    .page-right {
        margin: 8px 6px 18px 0;
    }
    
    .page-left {
        margin: 8px 0 18px 6px;
    }    

    .btn.page-right, .btn.page-left {
        padding: 6px 12px;
    }
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
    .head .container {
        padding-top: 30px;
        padding-bottom: 110px;
    }    

    .text-md-right {
        text-align: right;
    }

    .footer small {
        margin-left: 3rem;
    }

    .footer .f-right {
        float: right;
    } 

    .s-day {
        flex-wrap: nowrap;
        border-width: 1px 1px 0 1px;
        margin-bottom: 0;
    }

    .s-day:last-child {
        border-bottom: 1px solid #ddd;
    }

    .dc-20 {
        display: grid;
    }
    
    .dc-2 {
        flex-wrap: nowrap;
        flex-grow: 1;
    }
    
    .dc-1 {
        flex-basis: 400px;
        flex-shrink: 0;
        border-right: 1px solid #ddd;
        border-bottom: none;
    }
    
    .dc-21 {
        flex-basis: 140px;
        flex-shrink: 0;
    }
    
    .dc-22 {
        flex-basis: 90px;
        flex-shrink: 0;
        flex-grow: 0;
    }
    
    .dc-23 {
        flex-grow: 1;
    }

    .galleries .gallery { 
        flex-basis: 33%;
    }

    .sarticle .simg {
        width: 420px;
    }

    .sperex {
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width : 991px) {
    .dc-1 {
        background-color: rgba(204, 204, 204, 0.3);
    }
}

/* Large Devices, Wide Screens */
@media only screen and (min-width : 1200px) {
    .head .container {
        padding-top: 40px;
        padding-bottom: 210px;
    }    

    .galleries .gallery { 
        flex-basis: 25%;
    }
}
