@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');


body {  
  font-size:18px;
  background-color:white;
  color:black; /* DEFAULT!!*/
}

.backgroundimage-c2617 .ce-textpic {
  height: 150px;
  background: rgba(0,255,0,0.5);
}

h1, h2, h3, h4, h5 {
  letter-spacing:1.2px;
}

h1 {
  font-family: "EB Garamond";  
  font-weight: 700;
  font-size: 40px;
  text-transform: uppercase;
  color: black;
  text-shadow: 1px 1px #ffcb16;
}

h2 {
  font-size: 22px;
  color: #787878;
  font-family: "EB Garamond";
  text-transform: uppercase;
  margin-bottom: 0px;
}

h3 {
  font-size:18px;
  color: black;
  font-weight:700;
}

h4 {
  font-family: "EB Garamond";  
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  color: #ffcb16; /* gold */
}

h5 {
  	font-family: "EB Garamond";  
  font-weight: 700;
    font-size: 20px;
    color: white;  
  text-transform: uppercase;
}

p, li {
  font-size:1.3rem;
  line-height:1.2;
  font-size:15px;
}

a {
  color: #7ccdfc;
  font-weight: bold;
}

a:hover {
  color: #007CC0;
  text-decoration: underline
}

.main-content > div.row.row-layout-554 > .simple-row-inner-default > div {
  width: 1355px;
  max-width: 90%;
}

.btn {
  border-radius:0;
  padding: 0.6rem 1rem;
  font-size:20px;
}

.btn-custom-1, .powermail_submit {
  padding: 10px;
  /*border-radius: 18px;*/
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  width: fit-content;
  min-width: 120px;
  max-width: 100%;
  text-align: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: black;
  /*background: linear-gradient(to right, rgb(212, 209, 8) 50%, rgb(255, 251, 11) 50%);*/
  background: #ffcb16;
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all .2s ease-out;
}

.btn-custom-1:hover {
  background-position: left bottom;
  color: #007CC0;
}

.header-section-wrapper {
  background: #fff;
  position: relative;
  padding-top: 140px;
  background-image: url('/fileadmin/rmkinistino/template/version1/images/northern-lights.jpg');
  background-size:cover;
  min-height:50vh;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-color: black;
}

.banner-header {
  position: relative;
  padding-left: 15px;
  padding-right: 15px;
  background-color: rgba(0, 0, 0, 0.4);
  width: 1475px;
  max-width:100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom:200px;
  margin-left:auto;
  margin-right:auto;
  min-height: 62px;
}

.widget-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(0, -100%);
  width: 221px;
}

.banner-content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
  padding-bottom: 155px;
}

/* full width for end to end content*/
.banner-content-wrapper .banner-content {
  width:100%;
}

.banner-content > .row-layout-556 {
  margin-bottom:0px !important;
}

/*width set for default 'centering' */
body#page-548 .banner-content-wrapper .banner-content > *:first-of-type {
  font-family: "EB Garamond";
  width:900px;
  max-width:100%;
  margin:auto;
  margin-bottom:300px;
}

body#page-548 .banner-content-wrapper h4.text-center {
  font-size: 25px;
  font-style: italic;
  color: white;
  text-transform: inherit;
  text-shadow: 2px 2px black;
}

.banner-content-wrapper .banner-content {
  padding-bottom:0px;
}

body#page-548 .banner-content-wrapper {
  color:white;
}

body:not(#page-548) .banner-content-wrapper {
  background: linear-gradient(white 70%, #cff5f5 85%, #7ad4dd);
  padding-bottom: 350px;
}

.logo-wrapper {
  width:200px;

  position:relative;
}

.search-wrapper {
  width:300px;
}

.logo-wrapper > a {
  position:absolute;
  width:100%;
  height:auto;
  top:0;
  left:50%;
  transform: translate(-50%, -62%);
}

.logo-wrapper > a > img {
  width:100%;
  height:auto;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "EB Garamond"; 
  text-transform: uppercase;
  color: #0E60AC;
  font-size: 1.25em;
  margin-left: 10px;
}

.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .nav-link:hover {
    color: #007CC0;
}

.main-content.banner .btn, .btn-primary, .btn-custom-2 {
  background-color:#96CC78;
  border: 1px solid black;
  color: #0E60AC;
}

.main-content.banner .btn:hover, .main-content.banner .btn:focus, .btn-primary:hover, .btn-primary:hover, .btn.btn-custom-2:hover {
  background-color:#2b7a00;
}

.main-content.banner .btn:hover a, .main-content.banner .btn:focus a, .btn.btn-custom-2:hover {
  color:white;
}

.copyright-container p {
  color: white;
}

/* CONTENT */
.main-content {
  min-height:50vh;
  min-height: 50vh;
  padding-top: 55px;
  padding-bottom:55px;
}

.main-content > div {
  width: 1355px;
  max-width:90%;
}

/* *** LOCAL NOTICES & UPCOMING EVENTS start  *********************** */
.main-content > div.row.row-layout-556 {
  margin-bottom: 50px;
}
.main-content > div.row.row-layout-556 .col-md-8 {
  padding: 50px 10px 0 10% !important;
}
.main-content > div.row.row-layout-556 .col-md-8 .footer,
.main-content > div.row.row-layout-556 .col-md-8 .month-day-wrapper,
.main-content > div.row.row-layout-556 .col-md-8 .news .teaser-text div[itemprop="description"] {
  display: none;
}
/*.main-content > div.row.row-layout-556 .col-md-8 .news-list-date time::before {
  content: "Posted ";
}*/
.main-content > div.row.row-layout-556 .col-md-4 #c2801 {
  padding: 50px 50px 120px 50px;
}
.main-content > div.row.row-layout-556 .col-md-4 .article,
.main-content > div.row.row-layout-556 .col-md-4 .footer {
  margin: 0px;
}
/* *** LOCAL NOTICES & UPCOMING EVENTS end  *********************** */


/* *** POWERMAIL start ******************************************** */
.tx-powermail {
  margin-top:0px;
}
.tx-powermail .form-group {
  margin-bottom:10px;
}
.powermail_fieldwrap label {
  margin-bottom:0px;
  /*line-height:1;*/
}
.powermail_field {
  width: 100%;
}
.powermail_field input, .powermail_field textarea {
  width: 90%;
}
.powermail_submit {
  margin: 0px;
}
/* *** POWERMAIL end   ******************************************** */

.footer-wrapper {
  position: relative;
  background: url(images/footer-bg.jpg);
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
}

.footer-newsletter-wrapper a {
  color: white;
  text-decoration: underline;
}

.treeline-wrapper {
  position: absolute;
  right: 50%;
  transform: translate(50%, -99%);
  overflow-x: hidden;
  width: 100%;
  background-image:url('/fileadmin/rmkinistino/template/version1/images/treeline.png');
  background-repeat: repeat-x;
  height:329px;
}

.footer-inner-wrapper {
    width: 100%;
    max-width: 1200px;
    display: block;
    margin: auto;
    padding: 0px 15px 0px 15px;
}

.footer-content-wrapper {
  padding-bottom:25px;
  margin: 0px 0px 169px 0px;
}

.quick-links-wrapper {
  display: inline-flex;
  align-content: center;
  align-items: flex-end;
  justify-content: space-around;
  width: 100%;
  margin-bottom: 75px;
  font-size:18px;
  flex-wrap: wrap;
  line-height:1;
  text-align:center;
}

.quick-links-wrapper .ql-image {
  font-size: 7em;
  margin-bottom:10px;
}

.quick-links-wrapper .ql-text {
  margin-bottom:10px;
}

.quick-link {
  max-width:25%;
  width:180px;
  min-width:150px;
  padding-left:10px;
  padding-right:10px;
  margin-bottom:30px;
  color: #08384d;
  font-weight: bold;
}

.quick-link img {
  max-width:100%;
  height:auto;
}

.footer-newsletter-wrapper {
  background-color:rgba(8, 56, 77, 0.7);
  padding-top:30px;
  padding-bottom:30px;
  padding-left:7%;
  padding-right:7%;
  color: white;
}

/* *** NEWS start **************************** */

.news a {
  color: white;
}
body#page-548 .news-img-wrap {
  display: none;
}
.news .more {
  text-decoration: underline;
}
.news-list-date {
  color: gray;
}

.no-media-element {
  display: none;
}

.news .footer {
  padding: 0px;
  border: none;
}


/* *** SEARCH START ***************************** */

.ke-menu-search {
  display:flex;
}

#searchDiv {
  display:none;
  position:absolute;
  max-width:90%;
  width:500px;

  margin: auto;
  transform: translate(-50%, 140%);
  left: 50%;
  top: 50%;
}

#searchDiv.search-open {
  display:block;
}

.search-wrapper {
  position:relative;
}

.searchToggler {
  cursor:pointer;
  color: white;
  float: right;
  margin-right:10px;
}



.footer .tx-kesearch-pi1 {
  height: 90px;
}

.footer .kesearchbox {
  height: 45px;
}

.footer #ke_search_sword {
  height: 40px;
  width: 90%;
}

.footer .submitbutt input {
  min-width: 120px;
  max-width: 100%;
  color: black;
  /*background: linear-gradient(to right, rgb(212, 209, 8) 50%, rgb(255, 251, 11) 50%);*/
  background: #ffcb16;
  background-size: 200% 100%;
  background-position: right bottom;
  
}


/* *** NEWS end **************************** */


@media (max-width:1199.98px) {
  .banner-header {
    justify-content: space-between;
  }

  .frame-space-after-large {
    margin-bottom: 2em;
  }

  .dropdown-menu {
    background: none;
  }
  
  .navbar {
    padding:0px;
    background: black;
  }
  
  .navbar .fa-bars {
    color: #ffcb17;
  }
  
  .navbar-toggler {
    height: 60px;
  }
  
  .navbar-nav li.level-1 {
    border-bottom: 1px solid #12586c;
  }
  
  .navbar-nav .nav-link {
    color: #ffcb17 !important;
  }
  .navbar-nav .nav-link:hover{
    color: white !important;
  }

  .main-content > div.row.row-layout-556 {
    padding:15px;
  }

  .quick-links-wrapper .ql-image {
    font-size: 5em;
  }

  .header-section-wrapper {
    background-size: auto 100%;
    background-position: 50% 50%;
  }

  .footer-wrapper {
    background-size:auto 100%;
  }

}

@media (min-width:1921px) {

  .footer-wrapper {
    background-position: top center;
  }

}

@media (min-width:1200px) {

}

@media (min-width:768px) {



  .menu-wrapper {
    max-width:70%;
  }

  .logo-wrapper {
    max-width:15%;
  }

  .search-wrapper {
    max-width:10%;
    width:50px;
  }

  .menu-wrapper nav, .menu-wrapper nav > .navbar-collapse, .menu-wrapper nav > .navbar-collapse > .navbar-nav {
    flex-wrap: wrap !important;
  }

  .storm-default-menu ul li.submenu-wrapper:hover > ul.dropdown-menu, .storm-default-menu .dropdown-menu {
    background-color: rgba(8, 56, 77, 0.7);
  }

  .navbar-nav {
    justify-content: center;
    font-size:16px;
    color:white;
  }

  .navbar-light .navbar-nav .nav-link {
    color: #ffcb16;
  }

  .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .nav-link:hover {
    color:rgb(206, 206, 206);
  }

  .main-content.banner .inner-banner-content {
    margin-left:150px;
  }

  #menu .nav-link.dropdown-toggle::after {
    display:none;
  }

}

@media (max-width:767.98px) {

  .banner-header {
     background: none;  
  }
  
  .quick-links-wrapper .ql-image {
    font-size: 4em;
  }

  /** Needs to be added to stormbase **/
  .navbar-nav a {
    float:none;
  }

  .navbar-nav .dropdown-menu {
    border:none;
    padding: 0px 20px;
    background: #282829;
  }

 .navbar-nav .dropdown-menu.collapsing {
    display: block;
  }

  #searchDiv {
    transform: translate(-50%, 230%);
  }
 

}