/*--------------------------------------------------------------
>>> GLOBAL - TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Typography
2.0 Elements
3.0 Header
4.0 Content
5.0 Footer
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Lato');
@font-face {
    font-family: 'quattrocentoregular';
    src: url('../fonts/quattrocento/quattrocento-regular-webfont.woff2') format('woff2'),
         url('../fonts/quattrocento/quattrocento-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'cintaregular';
    src: url('../fonts/cinta/cinta-webfont.woff2') format('woff2'),
         url('../fonts/cinta/cinta-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'mrseavessmallcapsregular', Alegreya SC, serif;
    src: url('../fonts/mreaves/mrseavessmallcaps_regular-webfont.woff2') format('woff2'),
         url('../fonts/mreaves/mrseavessmallcaps_regular-webfont.woff2') format('woff');
    font-weight: normal;
    font-style: normal;

}

/*//MODAL ELEMENTS*/

.modal {
  text-align: center;
}

.close {
    font-size: 50px;
    line-height: 1;
    display: block;
    vertical-align: top;
    position: absolute;
    right: 15px;
    top: -29px;
}

@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.slick-frame {
    visibility: hidden;
}
.slick-frame.slick-initialized {
    visibility: visible;
}

/*--------------------------------------------------------------
1.0 Typography
--------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    /*font-family: 'mrseavessmallcapsregular', Alegreya SC, serif;*/
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
}

h1{
    font-size: 50px;
}
h2{
    font-size: 48px;
}
h3{
    font-size: 30px;
}

a {
    -webkit-transition: ease .5s;
    -o-transition: ease .5s;
    transition: ease .5s;

}

.letter-spacing {
    letter-spacing: 0.2em;
}

.slider { display: none; }
.slider.slick-initialized { display: block; }

/*--------------------------------------------------------------
2.0 Elements
--------------------------------------------------------------*/

html{
    background-color: #153d76;
}

body.fade-out {
    opacity: 0;
    -webkit-transition: none;
    -o-transition: none;
    transition: none;
}

body{
    font-size: 17px;
    font-family: 'quattrocentoregular';
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
    width: 100%;
    min-width: 320px;
    overflow-x: hidden;
    color: #000;
    opacity: 1;
/*    word-wrap: break-word;
    -webkit-hyphens: auto;
   -moz-hyphens: auto;
    -ms-hyphens: none;
        hyphens: auto;*/
    line-height: 1.7;
    position: relative;
    -webkit-transition: 1s opacity;
    -o-transition: 1s opacity;
    transition: 1s opacity;
}


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

.readmore.back {
    max-width: 260px;
    text-align: center;
}

.readmore {
    vertical-align: middle;
    border-bottom: 1px solid #6eaa69;
    border-top: 1px solid #6eaa69;
    color: #000;
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: 'cintaregular';
    font-weight: 700;
    max-width: 150px;
    width: auto;
    letter-spacing: 2px;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-box-shadow: 0 0 1px transparent;
            box-shadow: 0 0 1px transparent;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
       transition-duration: 0.3s;
    -webkit-transition-property: box-shadow;
    -webkit-transition-property: -webkit-box-shadow;
    transition-property: -webkit-box-shadow;
    -o-transition-property: box-shadow;
    transition-property: box-shadow;
    transition-property: box-shadow, -webkit-box-shadow;
}
.readmore:hover, .readmore:focus, .readmore:active {
  -webkit-box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.69);
          box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.69);
  text-decoration: none;
}

.no-padding{
    padding: 0
}


.panel-default>.panel-heading {
    color: #000;
    background-color: transparent;
    border-top: 1px solid #6eaa69;
    border-bottom: 1px solid #6eaa69;
    border-radius: 0;
    box-shadow: none;
}

.panel-default {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
}

.panel-title {
    font-size: 18px;
}

.panel-body {
    border: none;
}

a.accordion-toggle {
    display: block;
}

.accordion-title {
    cursor: pointer;
    font-size: 18px;
    border-top: 1px solid #6eaa69;
    border-bottom: 1px solid #6eaa69;
    padding: 6px;
    position: relative;
}

.accordion-title:after {
    content: "\f196";
    font-family: "FontAwesome";
    display: inline;
    position: absolute;
    right: 12px;
    color: #000;
}

.accordion-title.open:after {
    content: "\f147";
}


#back2Top {
    width: 50px;
    line-height: 50px;
    overflow: hidden;
    z-index: 999;
    display: none;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    right: 20px;
    background-color: #e1eaee;
    color: #153d76;
    text-align: center;
    font-size: 40px;
    text-decoration: none;
    border: 1px solid transparent;
}
#back2Top:hover {
    background-color: #153d76;
    color: #fff;
    border: 1px solid #fff;
}


/*--------------------------------------------------------------
3.0 Header
--------------------------------------------------------------*/

/*--------------------------------------------------------------
4.0 Content
--------------------------------------------------------------*/
#main{
    margin: 50px 0;
    min-height: 370px;
}

.content-background {
    background-position: right 200px;
    background-repeat: no-repeat;
    /*background-size: calc(910px);*/
    background-size: contain;
    height: 100%;
    min-height: 700px;
}


.content-wrapper {
    margin-top: 30px;
}

.content-wrapper .entry-content {
    background-color: rgba(225, 234, 238, 1);
    margin: 60px 10% 10%;
    max-width: 60%;
    width: 100%;
    padding: 60px;
/*    max-height: 610px;
    overflow-y: auto;
    overflow-x: hidden;*/
}

.content-wrapper .entry-header {
    width: 100%;
    padding: 0 40px 40px;
    color: #123c6d;
    text-shadow: 0px 0px 22px #ffffff;
}

.content-wrapper .entry-header h2{
    font-weight: 700
}

.content-wrapper .entry-header span {
    font-size: 16px;
    color: #000;
    font-weight: 700;
}

.content-wrapper .alignment {
    display: inline-block;
    text-align: left;
}

.category-title.alignment {
    text-align: center;
}

.link {
    background: #52626e;
    font-family: 'cintaregular';
    margin-left: 56%;
    letter-spacing: .2em;
    padding: 20px;
    text-align: center;
    width: 210px;
    -webkit-box-shadow: 6px 19px 29px rgba(0,0,0,.18);
            box-shadow: 6px 19px 29px rgba(0,0,0,.18);
}

.link:hover{
    -webkit-box-shadow: none;
            box-shadow: none;
}

.link a {
    color: #fff;
    display: block;
    text-decoration: none
}

.pagination-nav {
    display: inline-block;
    text-align: center;
    font-size: 20px;
    margin: 30px auto 0;
}

.information p {
    margin-bottom: 5px;
}
.information {
    word-wrap: break-word;
    hyphens: auto;
}

/*404*/

.error-404 {
    margin-bottom: 80px;
}

.error-404 h1 {
    font-size: 20em;
    font-weight: normal;
    color: #0a376b;
}


/*search page*/
.entry-summary {
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
    margin-bottom: 60px;
}

/*--------------------------------------------------------------
5.0 Footer
--------------------------------------------------------------*/


#cta .title-wrapper {
    background-color: #e1eaee;
    padding: 40px;
}

#cta .title-wrapper h2{
    color: #123c6d;
    font-weight: 700;
    text-align: left;
}


#cta .title-wrapper span::after {
    background-color: #6eaa69;
    content: "";
    display: inline-block;
    height: 1px;
    margin-left: 20px;
    min-width: 160px;
    vertical-align: middle;
    text-align: left
}

#cta .title-wrapper span > a{
    color: #000;
}  

#cta .large {
    overflow: hidden;
    background-size: cover;
    height: 950px;
}

#cta .large .content {
    border-left: 1px solid #6eaa69;
    margin: 10%;
    padding-left: 10px;
}

#cta .large .content h4{
    font-size: 20px;
}

#cta .posts {
    display: block;
    width: 100%;
    position: relative;
    text-align: center;
}

#cta .posts .post{
    position: relative;
}

#cta .posts:nth-child(odd) .image,
#cta .posts:nth-child(odd) .post{
  float: right;
  width: 50%;
}

#cta .posts:nth-child(even) .image,
#cta .posts:nth-child(even) .post{
  float: left;
  width: 50%;
}

#cta .posts:nth-child(even) .post span:before {
  left: -80px;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  
  border-right:10px solid #fff;
  border-width: 40px;
  margin-top: -50px;
}

#cta .posts:nth-child(odd) .post span:before {
  right: -79px;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-top: 60px solid transparent;
  border-bottom: 60px solid transparent;
  
  border-left: 60px solid #fff;
  border-width: 40px;
  margin-top: -50px;
}

#cta .posts .image {
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 475px;
}

#cta .posts .image-featured{
    height: 475px;
    overflow: hidden;
    width: 100%;
        background-position: center;
    background-size: cover;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
        transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

#cta .posts .image-featured:hover{
    -webkit-transform: scale(1.3);
    -ms-transform: scale(1.3);
        transform: scale(1.3);
}

#cta .posts .post span {
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0,-50%);
        -ms-transform: translate(0,-50%);
            transform: translate(0,-50%);
    margin: 0;
    width: 100%;
    left: 0;
}

#cta .right,
#cta .left  {
    padding-left: 0;
    padding-right: 0;
}


.site-footer {
    background-color: #0a376b;
    color: #fff;
    padding: 30px 15px;
    font-size: 14px;
    font-family: 'cintaregular';
}

.site-footer a{
    color: #fff;
}

.site-footer a:hover{
    color: #6eaa69;
}

.site-footer .menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    display: block;
    list-style: outside none none;
    padding: 20px 0;
    text-align: center;
    text-transform: uppercase;
}

.site-footer .menu > li {
    display: inline-block;
    padding: 2.6%;
}

.site-footer .menu > li:first-child{
    padding-left: 0;
}

.site-footer .menu > li:last-child{
    padding-right: 0;
}

.site-footer .menu > li > a{
    font-size: 14px;
    color: #fff;
}

.site-footer .menu > li > a:hover{
    color: #6eaa69;
}

.site-footer .fa.fa-circle {
    font-size: 7px;
    margin: 0 10px;
    vertical-align: baseline;
}

#site-info {
    padding: 20px;
}

.entry-bg{
    background-position: right 0;
    background-repeat: no-repeat;
    background-size: calc(910px);
    height: 100%;
    min-height: 700px;
}

@media screen and (max-width: 992px) {
    .entry-bg{
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;

    }
}