html,
body {
  width: 100%;
  height: 100%;
}

body {
font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
font-weight: 200;
letter-spacing: 1px
}

a {
  color: #336699;
  -webkit-transition: all .45s;
  -moz-transition: all .45s;
  transition: all .45s;
}

a:hover, a:focus {
  color: #cc3300;
}

hr, .wp-block-separator {
  max-width: 100px;
  margin: 50px auto 25px auto;
  border-width: 1px;
  border-bottom:0;
  border-color: #233448;
}

hr.light {
  border-color: white;
}
.skew {-webkit-transform: skewY(-1deg);}
a.related img {
background-color: none;
}
a.related img:hover{
background-color: #cc3300;
opacity:0.5 !important;
} 

#ptsection-works > div > div.row > div > div > div > div > div > a:hover > h3, 
#ptsection-works > div > div.row > div > div > div > div > div > a:hover > h5 > i {
color: #cc3300 !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.feature-item {
  font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 200;
  letter-spacing: 1px;
  margin: 0.5em 0;
  text-decoration: none !important;
    line-height: .95
}

h1  > a ,
h2  > a ,
h3  > a ,
h4  > a ,
h5  > a ,
h6  > a,
.feature-item > a {text-decoration: none !important;}


.modal-body h5 {margin: 1.5em 0 0 0}
.modal-body p {color:#333;}
p {word-break: break-word;hanging-punctuation: first last; hyphens: auto; text-align:justify }
section h2, #intro h2 {
  font-size: 45px;
	
}
p, .modal-body p, .modal-body ul {
  /* font-size: 16px;*/
  font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
  font-weight: 100;
  letter-spacing: 1px;
  line-height: 1.6;
  margin-bottom: 10px;
    padding: 1em 0
}
small, .small, p > small  {line-height: 1.4 !important;font-weight:lighter !important;}

blockquote {padding:4em 2em;margin-left:2.5em; margin-right:2.5em;}
blockquote p {font-size: 21px;color:#336699 !important;padding-bottom:0;}
wp-block-quote {}

.blockquote  { width: 100%;
padding:2em 1.5em; background: rgba(235, 235, 235, 1);
background: -webkit-linear-gradient(to right, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.5));background: linear-gradient(to right, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.5));  border-radius: 0 .5em; }

.sticky, pre {background: rgba(235, 235, 235, 1);
background: -webkit-linear-gradient(to right, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.5));background: linear-gradient(to right, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.5));  border-radius: 0 .5em;}

.blockquote.small {font-size: 12px;font-weight: 200;}
.wp-block-file .wp-block-file__button {margin-left: 1.5em;padding:.3em .5em; border-radius: .5em; }

blockquote.skewd {margin-left:50px; margin-right:50px;}
blockquote.skewd p {
color:#333;font-size: 18px;
position: relative;
padding: 25px;
text-align: left;
}
blockquote.skewd p::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
-webkit-transform: skewY(-1deg);
background: rgba(235, 235, 235, 1);
background: -webkit-linear-gradient(to right, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.3));
background: linear-gradient(to right, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.3)); 
border-radius: 0 .8em; 
z-index: -1;
}
blockquote.skewd cite, cite {color:#333;font-size: 14px; margin-top:0; padding-top:0;float:right;}

blockquote cite::before { content: '– ';}
pre {white-space: normal !important; font-family:inherit !important;line-height: 1.8 !important; padding: .85em 1em !important; margin: 1.5em 0 5em 0 !important; font-size: inherit !important}

#primary > div > div > div.col-lg-8.mt-4.pdf_caption > ul > li {list-style-type: circle;}


#intro > div > div > div > p {padding: 0}

p a {text-decoration:underline;}
a.related {text-decoration:none;}

.figure-caption, figcaption  {
    font-size: 12px;
    line-height: 1.2;
    color:#233448;
    padding: 0.5em;
    font-weight: 200;
   text-align: right; 
}
.fixed-bottom small {
    font: 100 11px/1 'Palanquin', sans-serif;
    line-height: 1.4 !important ;
    display: block;
}

.img-thumbnail, figure.wp-block-image > img, .eapps-instagram-feed-content {background-color: white; border: 1px solid #233448 !important;padding:3px;border-radius: 0;height:auto;}
.wp-block-media-text__media img {height:auto !important;}



ptsection-pages, #secondary  {
  background: rgba(235, 235, 235, 1);
  background: -webkit-linear-gradient(to top, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.5));
  background: linear-gradient(to top, rgba(235, 235, 235, 0.8), rgba(235, 235, 235, 0.5)); 
}


.list-unstyled li {
list-style: circle;
list-style-position: inside;
padding-top: 1em;
padding-left:   1em  
}



#mainNav.navbar-shrink  .navbar-brand > p, #mainNav.navbar-pages  .navbar-brand > p {
    display:none;
}

#mainNav {
  background-color: white;
  -webkit-transition: all .45s;
  -moz-transition: all .45s;
  transition: all .45s;
  font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
  letter-spacing: 2px;
  text-transform: uppercase;
}

#mainNav .navbar-brand {
  font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
  text-transform: uppercase;
    line-height: 1;
    font-size: 1.4rem;
    font-weight: 300;
}
#mainNav.navbar-shrink .navbar-brand, #mainNav.navbar-pages .navbar-brand {
  padding-bottom: 1em;
}

#mainNav .navbar-brand > span {color: #6699cc;}
#mainNav .navbar-brand > p {
    font-size: 0.45em;
    font-weight: 100;
    letter-spacing: 1px;
    text-transform: none;
    color: #333;
    margin:0;
    padding-top: 1.5em;
    padding-bottom: 0;
    white-space:pre-wrap
}

#mainNav .navbar-brand:hover, #mainNav .navbar-brand:focus {color: #cc3300;
}
#mainNav .navbar-contact {font-size: 0.8em;color: #333 }
#mainNav a.navbar-contact {
position: absolute;
bottom:1em;
right:1em;
float: right;
clear:both;
padding-top: 0.3em;
text-decoration:none;
} 

#mainNav .navbar-toggler {
  font-size: 14px;
  padding: 8px 10px;
  color: #233448;
  text-transform: uppercase;
    position: absolute;
    top:1em;
    right:1em;
    float: right;
    clear:both
}

#mainNav .navbar-nav > li > a, #mainNav a.dropdown-item {
  font-size: 12px;
  font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
  letter-spacing: 2px;
  text-transform: uppercase;
    font-weight: 500;
    border: none;
}



#mainNav .navbar-nav > li > a.active {
    color: #cc3300 !important;
    background-color: transparent;
    font-weight: 600;
}

#mainNav .navbar-nav > li > a.active:hover {
  background-color: transparent; border: none;
}

#mainNav .navbar-nav > li > a,
#mainNav .navbar-nav > li > a:focus {
  color: #333333;outline: none !important;
}

#mainNav .navbar-nav > li > a:hover,
#mainNav .navbar-nav > li > a:focus:hover {
color: #6699cc !important;background-color: transparent;outline: none !important;
}
#mainNav.navbar-shrink,   #mainNav.navbar-pages {
    background-color: white;
    box-shadow: 0 15px 55px  rgba(51, 51, 51, 0.1);
  }

.dropdown-menu {padding: 0;border-radius: 0  !important; border-color: #233448 !important;background-color: rgba(255, 255, 255, 0.8)}
.navbar-light .navbar-toggler  {top: 6em;border-radius: 0  !important; border-color: #233448 !important;background-color: rgba(255, 255, 255, 0.8)}
.dropdown-item.active, .dropdown-item:active {background-color: #233448 !important;}
.dropdown-item:hover {background-color: #6699cc !important; }
li.menu-item {width: auto;}

.navbar-form {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-align-items: baseline;
-ms-flex-align: baseline;
}

input, input[type=text], input[type=submit], input[type=search], input[type=email] {
font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
font-size: .8rem;letter-spacing: 2px;line-height:normal;
-webkit-appearance: none;
border-radius: 0;
border: 1px solid #333;
align-items: baseline;
color: #333;
padding: .05em .5em
}

.navbar-form input[type=submit]  {
border: 1px solid #333;
border-left: 0;

outline: 0;
width:auto;
background-color: white;
}
.navbar-form input[type=text] {
-webkit-flex-grow: 1;
-ms-flex-positive: 1;
flex-grow: 1;
border: 1px solid #333;
border-right: 0;

margin-bottom: 0 !important
}


input[type=submit]:hover {
    color: #6699cc
}









/* pagination */
ul.pagination {width: 100%;}

ul.pagination > li > a {color: #233448}
.page-link, .page-link > a {border-color: #233448}

ul.pagination > li > a:hover, ul.pagination > li > a:focus {
color: #233448; background-color: #6699cc; border-color: #233448
}

.page-item.active .page-link {background-color: #000;border-color: #000}



@media (min-width: 992px) {
 
#mainNav .navbar-brand {
  color: #6699cc;
    }
#mainNav {
    background-color: transparent;
  }

#mainNav .navbar-brand > p {
    font-size: 0.3em;
    font-weight: 100;
    letter-spacing: 1px;
    text-transform: none;
    color: white;
    margin:0;
    padding-top: 0.3em;    
    padding-bottom: 0;
    white-space:pre-wrap
}
#mainNav.navbar-shrink .navbar-brand, #mainNav.navbar-pages .navbar-brand {
  padding-bottom: 0.5em;
}
#mainNav .navbar-brand > span {color: #fff;}

#mainNav > div > a.navbar-brand:hover, #mainNav > div > a.navbar-brand:focus {
 color: #cc3300;
  }
#mainNav > div > a.navbar-brand:hover > span,
#mainNav > div > a.navbar-brand:focus > span {

  }
  #mainNav .navbar-nav > li > a,
  #mainNav .navbar-nav > li > a:focus {
    color: rgba(255, 255, 255, 1);
  }
  #mainNav .navbar-nav > li > a:hover,
  #mainNav .navbar-nav > li > a:focus:hover {
    color: white;
  }
  
  #mainNav.navbar-shrink .navbar-brand, #mainNav.navbar-shrink a.navbar-contact,   #mainNav.navbar-pages .navbar-brand, #mainNav.navbar-pages a.navbar-contact {
    color: #233448;
  }
  #mainNav.navbar-shrink .navbar-brand > span,   #mainNav.navbar-pages .navbar-brand > span {
    color: #6699cc;
  }
    

#mainNav.navbar-shrink .navbar-nav > li > a,   #mainNav.navbar-shrink .navbar-nav > li > a:focus,
#mainNav.navbar-pages .navbar-nav > li > a,   #mainNav.navbar-pages .navbar-nav > li > a:focus{
    color: #333333;
  }
#mainNav.navbar-shrink .navbar-nav > li > a:hover,  #mainNav.navbar-shrink .navbar-nav > li > a:focus:hover,
#mainNav.navbar-pages .navbar-nav > li > a:hover,  #mainNav.navbar-pages .navbar-nav > li > a:focus:hover{
    color: #233448;
  }

 #mainNav a.dropdown-item {
  font-size: 12px;
  font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
  letter-spacing: 2px;
  text-transform: uppercase;
    font-weight: 500;
    border: none;
}
.dropdown-menu {background-color: rgba(255, 255, 255, 0.8)}
.dropdown-item.active, .dropdown-item:active {background-color: #233448 !important;}
.dropdown-item:hover {background-color: #6699cc !important; }
 
}


header.masthead {
  position: relative;
  width: 100%;
  
  color: white;
  background: #233448;
}

header.masthead {
    background: url('../img/frontpage/random_img.php')  center center no-repeat;
    height: 100%;
    width: 100%;
    background-size: cover;
    position: relative;
}
header.masthead:before {
    content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-image: radial-gradient(rgba(51, 51, 51, 0),rgba(51, 51, 51, 0.6));
}
.info-shrink > .container {display:none}

header.masthead a, a.scrollbutton {
    text-decoration: none;
    color: white;
}
header.pagehead {
  position: relative;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 25px;
}





section{
  padding: 55px 0;
}

.section-content {
  padding-top: 55px;
}

section.intro {
  position: relative;
  width: 100%;
  padding-top: 100px;
  padding-bottom: 100px;
  color: white;
  background: #6699cc;
  background: -webkit-linear-gradient(to left, #336699, #6699cc);
  background: linear-gradient(to left, #336699, #6699cc);
}

 

#nextprevious, #works-intro, #intro, .newsletter {
  color: white;
  background: #6699cc;
  background: -webkit-linear-gradient(to left #336699 0%, #6699cc 50%);
  background: linear-gradient(to left, #336699 0%, #6699cc 50%);
}

#nextprevious  a, #works-intro  a {   
    color: white !important;
}

#works-intro  a:link, #works-intro  a:visited {
    color: white; text-decoration: none;}
#works-intro  a:hover, #works-intro  a:focus {
    color: #cc3300; text-decoration: none;}




section.intro .header-content {
  max-width: 500px;
  margin-bottom: 100px;
  text-align: center;
}

section.intro .header-content h1,#intro h1 {
font-size: 25px;
margin:0
}

section.intro .device-container {
  max-width: 325px;
  margin-right: auto;
  margin-left: auto;
}

section.intro .device-container .screen img {
  border-radius: 3px;
}

@media (min-width: 992px) {
  section.intro {
   /* height: 100vh; */
    min-height: 775px;
    padding-top: 100px;
   /* padding-bottom: 0; */
  }
  section.intro .header-content {
    margin-bottom: 0;
    text-align: left;
  }
    
    
    

 #mainNav .navbar-contact {
font-size: 0.6rem; color:white
}   
#mainNav a.navbar-contact {
position: absolute;
top:6em;
right:2em;
float: right;
clear:both;
padding-top: 0.3em;
text-decoration:none;
} 

    
    
    
    
  section.intro .device-container {
    max-width: 325px;
  }
}




section.works, section.posts, section.archives {
  position: relative;
  padding-top: 150px;padding-bottom: 150px;
}

section.works h2, section.posts h2, section.archives h2 {
  font-size: 50px;
  margin-top: 0;
}




@media (min-width: 768px) {
#mainNav .navbar-brand {
font-size: 3.5rem;
}
#mainNav.navbar-shrink .navbar-brand, #mainNav.navbar-pages .navbar-brand  {
font-size: 2rem;
}

section.works h2, section.posts h2, section.archives h2 {
    font-size: 50px;
  }
}

section.archives .section-heading {
  margin-bottom: 50px;
}

section.archives .section-heading h2 {
  margin-top: 0;
}

section.archives .section-heading p {
  margin-bottom: 0;
}

section.archives .device-container,
section.archives .feature-item {
  max-width: 325px;
  margin: 0 auto;
}

section.archives .device-container {
  margin-bottom: 100px;
}

@media (min-width: 992px) {
  section.archives .device-container {
    margin-bottom: 0;
  }
    
}

section.archives .feature-item {
  padding-top: 25px;
  padding-bottom: 50px;
  text-align: center;
}

section.archives  h3, section.works  h3 {
  font-size: 35px;color: #336699
}

section.archives .feature-item i {
  font-size: 60px;
  display: block;
  margin-bottom: 15px;
    color: #336699

}

section.archives .feature-item h5 i {
  font-size: 20px;
  display: inline;
  margin-right: 15px;
    color: #333

}

section.news {
  position: relative;
  padding: 150px 0;
}

section.news .cta-content {
  position: relative;
  z-index: 1;
}

section.news .cta-content h2 {
  font-size: 50px;
  max-width: 450px;
  margin-top: 0;
  margin-bottom: 25px;
  color: white;
}

@media (min-width: 768px) {
  section.news .cta-content h2 {
    font-size: 40px;
  }
    
}

section.news .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

section.contact {
  text-align: center;
}

section.contact h2 {
    font-size: 35px;
    margin-top: 0;
    margin-bottom: 25px;
}

section.contact h2 i {
  color: #cc3300;
}

section.contact ul.list-social {
  margin-bottom: 0;
}

section.contact ul.list-social li a {
  font-size: 35px;
  line-height: 75px;
  display: block;
  width: 75px;
  height: 75px;
  color: white;
  border-radius: 100%;
}

section.contact ul.list-social li.social-twitter a {
  background-color: #1da1f2;
}

section.contact ul.list-social li.social-twitter a:hover {
  background-color: #0d95e8;
}

section.contact ul.list-social li.social-facebook a {
  background-color: #3b5998;
}

section.contact ul.list-social li.social-facebook a:hover {
  background-color: #344e86;
}

section.contact ul.list-social li.social-instagram a {
  background-color: #cd486b;
}

section.contact ul.list-social li.social-instagram a:hover {
  background-color: #bc2a8d;
}
section.contact ul.list-social li.social-google-plus a {
  background-color: #dd4b39;
}

section.contact ul.list-social li.social-google-plus a:hover {
  background-color: #d73925;
}


footer {
  padding: 25px 0;
  text-align: center;
  color: #333;
  background-color: rgba(51, 51, 51, 0.1)
}
footer hr {
max-width: 50px;
margin: 40px auto 5px auto;
padding:0;
border-color: rgba(51, 51, 51, 0.5);
}
footer p {
color: rgba(51, 51, 51, 0.5);
font-size: 14px;
letter-spacing: 1px;
font-weight: 200;
margin: 0;
padding:0
}
footer p a {
    color: rgba(51, 51, 51, 0.5);
    font-weight: 400;
}
footer ul {
  margin-bottom: 0;
}

footer ul li a {
font-size: 14px;
font-weight: 400;
color: #333;
padding: 0 1em 0 0 ;
}
footer .footerlist .list-inline-item {
    display: block; 
}

@media (min-width: 576px) {
.carousel-cell {
height: 350px; /* height of carousel */
}
footer .footerlist .list-inline-item {
display: inline-block;
}
footer .footerlist ul li:after {
  content: ' | ';
}
footer .footerlist ul li:last-child:after {
  content: ' ';
} 

}



footer ul li a:hover, footer ul li a:focus, footer ul li a:active, footer ul li a.active {
  text-decoration: none;color: #cc3300;
}

.bg-primary {
  background: #6699cc;
  background: -webkit-linear-gradient(#6699cc, #336699);
  background: linear-gradient(#6699cc, #336699);
}
.badge-primary {
  background: #6699cc;
}
.bg-secondary, .badge-secondary {
  background: #336699;
}
.bg-dark, .badge-dark {
  background: #233448;
}
.bg-danger, .badge-danger {
  background: #cc3300;
}

.border-primary {
  border-color: #6699cc !important;  
}
.text-primary {
  color: #6699cc !important;
}
.text-secondary {
  color: #336699 !important;
}
.border-secondary {
  border-color: #336699 !important;  
}
.border-dark {
  border-color: #233448 !important;  
}
.border-light {
  border-color: #9cb4d4 !important;  
}
.text-danger {
  color: #cc3300 !important;
}
.text-dark {
  color: #233448 !important;
}
.text-muted {
   color: #9cb4d4 !important;   
    
}
.no-gutter > [class*='col-'] {
  padding-right: 0;
  padding-left: 0;
}

.card {
    background-color: rgba(51, 51, 51, 0.1);
    padding:2em
}




/* buttons */
.btn-outline {
color: #336699;
background-color: white;
border: 1px solid;
border-color: #233448;
}

.btn-outline:hover, .btn-outline:focus {
  color: white;
  border-color: #333;
  background-color: #336699;
}

.btn-outline:active, .btn-outline.active {
  color: white;
  border-color: #cc3300;
  background-color: #cc3300;
}


.btn {
margin-top:1em;
border-radius: 300px;
letter-spacing: 1px;
}

.btn-xl {
  font-size: 14px;
  padding: 15px 25px;
}


.btn-secondary {
color: white;
background-color: #cc3300;
border: 1px solid;
border-color: #cc3300;
}





/* tooltip */
.tooltip-inner {
    max-width: 300px;
    font-size: 13px;
    font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
    font-weight: 200;
    letter-spacing: 1px;
    background-color: rgba(51, 51, 51, 0.9);
    text-align: left;
   box-shadow: 0 15px 55px  rgba(51, 51, 51, 0.3);
}
.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {border-top-color: rgba(51, 51, 51, 0.9);
}
.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before {border-right-color: rgba(51, 51, 51, 0.9);
}
.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before {border-bottom-color: rgba(51, 51, 51, 0.9);}

.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {border-left-color: rgba(51, 51, 51, 0.9);}

@supports (-webkit-overflow-scrolling: touch) { 
    /* CSS specific to iOS devices */ body{ cursor:pointer; } 
}


/* carousel */
/*! Flickity v1.1.1
http://flickity.metafizzy.co
---------------------------------------------- */

.carousel-cell {
margin-right: 18px;
width: 100%; /* full width */
height: 645px; /* height of carousel */
/* center images in cells with flexbox */
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-cell img {display: block;max-height: 90%;}
.carousel-cell.is-selected {}
.flickity-enabled:focus .flickity-viewport {}

.flickity-caption {left: 0;bottom: 0;margin:0;padding:0;}

.flickity-caption p {font-size: x-small;font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';letter-spacing: 2px;margin:0;padding:0;}

/* flickity-page-dots */
.flickity-page-dots {bottom: 0;}
.flickity-page-dots .dot {
width: 6px;
height: 6px;
margin-left: .3em;
margin-right: .3em;
background: #666;   
cursor: pointer
}
.flickity-page-dots .dot.is-selected {background: #233448;}

/* flickity prev-next */
button.flickity-button.flickity-prev-next-button.previous > svg  {width:30%;position: absolute;top: 50%;left: 50%;height: 50%;transform: translate(-50%, -50%);display: block; } 
button.flickity-button.flickity-prev-next-button.next > svg {width:30%;position: absolute;top: 50%;left: 50%;height: 50%;transform: translate(-50%, -50%);display: block; }
.flickity-prev-next-button .flickity-button-icon {left:revert;}
.flickity-prev-next-button.previous {left: 0;}
.flickity-prev-next-button.next {right: 0; }
.flickity-prev-next-button .arrow {fill:  rgba(245, 245, 245, 0)}
.flickity-prev-next-button, .flickity-prev-next-button:hover {background: none;width: 20% !important;height: 100% !important;border: none !important;}
.flickity-prev-next-button:hover {}
.flickity-prev-next-button:hover .arrow {fill:  rgba(205, 205, 205, 0.75);}

/* hide disabled button */
.flickity-button:disabled {display: none;}


/* fullscreen */
.carousel.is-fullscreen .carousel-cell {height: 100% !important;padding: 0 0.75rem}
.flickity-enabled.is-fullscreen button.flickity-button.flickity-prev-next-button > svg {width:10%;}
.flickity-fullscreen-button.flickity-fullscreen-button-view {right:0 !important; top:revert !important; bottom:-6px;background: none; position:sticky}
.flickity-fullscreen-button.flickity-fullscreen-button-view .flickity-button-icon {fill:  #666 !important; opacity: .5;border: 1px solid #666; border-radius:4px;padding:2px;}
.flickity-fullscreen-button.flickity-fullscreen-button-view .flickity-button-icon:hover {fill:   #233448 !important;opacity: 1;border: 1px solid #233448; border-radius:4px;padding:2px; }
.flickity-enabled.is-fullscreen .flickity-fullscreen-button-exit .flickity-button-icon {width:20px;height:20px;opacity: .25;border: 1px solid #fff; border-radius:4px;padding:2px; }
.flickity-enabled.is-fullscreen .flickity-fullscreen-button-exit .flickity-button-icon:hover {opacity: 1}

.flickity-enabled.is-fullscreen .flickity-page-dots {bottom: 50px !important;}
.flickity-enabled.is-fullscreen .flickity-prev-next-button, .flickity-enabled.is-fullscreen .flickity-button {background: none !important;position:absolute;}
.flickity-enabled.is-fullscreen .flickity-fullscreen-button-exit .flickity-button-icon {left:-18px !important; top:18px !important}
.flickity-enabled.is-fullscreen .flickity-caption {color:white !important;text-align:center !important;width:80%;}


/* fullscreen icon color */
.flickity-enabled.is-fullscreen .flickity-prev-next-button .arrow {}
.flickity-enabled.is-fullscreen .flickity-button-icon {fill: white;}
.flickity-enabled.is-fullscreen .flickity-page-dots .dot {background: white;}







/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.img-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 5000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.imgmodal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.imgmodal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {color: #cc3300;}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #cc3300;
    font-size: 40px;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #cc3300;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
.imgmodal-content {width: 100%;    }
.carousel-cell {
height: 400px; /* height of carousel */}
.carousel-cell img {max-height: 70%}
.flickity-fullscreen-button {top:-18px}
.flickity-page-dots {}
button.flickity-button.flickity-prev-next-button.previous > svg, button.flickity-button.flickity-prev-next-button.next > svg {width: 15px !important; }
blockquote, blockquote.skewd {margin-left:.5em; margin-right:.5em;}
blockquote.skewd cite, cite {float: none;}
#mainNav a.navbar-contact {
display:none;
}
.h1, h1 {font-size: 1.8rem; }
.h2, h2 {font-size: 1.6rem; }
.h3, h3 {font-size: 1.2rem; }
.h4, h4 {font-size: 1rem; }   
    
.navbar-form {width:100%;}
 header.masthead {
    background: url('../img/frontpage/random_img.php')  top center no-repeat;
    height: 95%;
    width: 100%;
    background-size: cover;
    position: relative;
    margin-top:90px;
}   
 #nextprevious {
  color: #6699cc;
  background: none;
}   
#nextprevious a {  color: #6699cc !important;}   
.dropdown-menu {
    border-radius: none !important; 
}  
    
}

    }






/* carousel */

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */
overlay {
position: absolute;
width: 100%;
height: 100%;
z-index: 2;
background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(51,51,51,0.5));
}

/* Carousel base class */
.carousel {
max-height: 100%;
margin-bottom: 25px;
height:auto;
}

/* Declare heights because of positioning of img element */
.carousel .carousel-item {
max-height: 100%;
background-color: #fff;
}
.carousel-inner > .carousel-item > img {
 /*  position: absolute;*/
top: 0;
  left: 0;
  min-width: 40%;
  max-width: 100%;
  width: auto;
  margin-right:auto;
  margin-left:auto;
  height:auto;
}
.carousel-indicators {
bottom: -5%;
margin-bottom: 0
}
.carousel-indicators li {
background-color: rgba(51,51,51,.12)
}
.carousel-indicators .active {
background-color: rgba(51,51,51,.3)
}

.carousel-control-next, .carousel-control-prev {opacity: .1;}
.carousel-caption {
left: 5%;right: 5%;
    font-size: x-small;
    padding-bottom: 5px;font-family: 'Palanquin', 'Helvetica', 'Arial', 'sans-serif';
  letter-spacing: 2px;
}

/* video embed */

.embed-container {
position: relative; 
padding-bottom: 56.25%;
overflow: hidden;
max-width: 100%;
height: auto;
} 
.embed-container iframe,.embed-container object,.embed-container embed { 
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}