/*---STYLEGUIDE---*/

:root {
--red: #ff0000;
--red-20: rgba(255, 85, 0, 0.2);
--black: #000000;
--white: #ffffff;
--grey: #707070;
--lightgrey: #e6e6e6;
--blue: #0000ff;

--rounded-l: 8px;
--rounded-s: 4px;

--shadow: 0px 0px 0px 1px var(--lightgrey);
}

/*------*/


body {
  background: var(--white);

  margin-left: 20px;
  margin-right: 20px;
  margin-top: 2px;
  margin-bottom: 0px;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: none;
}

@font-face {
  font-family: 'bluu';
  src:  url("/bluunext-bold-webfont.woff2") format("woff2"),
        url("/bluunext-bold-webfont.woff") format("woff"),
        url("/bluunext-bold.ttf") format("truetype"),
        url("/bluunext-bold-webfont.svg#bluu_nextbold") format("svg");

  font-weight: normal;
  font-style: normal;
}


h1 {
  font-family:  "bluu", Times, serif;
  font-size: 32px;
  color: var(--black);
  line-height: 44px;
}

h2 {
  font-family: "bluu", Times, serif;
  font-size: 26px;
  color: var(--black);
  margin-top: 0px;
  margin-bottom: 10px;
  line-height: 36px;
}

h3 {
  font-family: "bluu", Times, serif;
  font-size: 18px;
  color: var(--black);
  margin-top: 10px;
  margin-bottom: 20px;
}

h4 {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

h5 {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  font-size: 12px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

p {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  font-size: 18px;
  color: var(--grey);
  line-height: 34px;
  margin-top: 16px;
  margin-bottom: 24px;
}

ul {
  padding-left: 24px;
  margin-top: 0px;
  margin-bottom: 0px;
}

li {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  font-size: 20px;
  color: var(--grey);
  line-height: 26px;
}

b {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  line-height: 26px;
}

a {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  color: red;
  font-size: 18px;
  text-decoration: none;
}

h4 a {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 10px;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

h2 a {
  font-family: "bluu", Times, serif;
  font-size: 26px;
  color: var(--black);
  margin-top: 0px;
  margin-bottom: 10px;
  line-height: 36px;
  text-decoration: underline;
}

a:hover {
  color: var(--blue);
}

a.topnav-name {
  font-family:  "bluu", Times, serif;
  font-size: 24px;
  line-height: 38px;
  color: var(--black);
  text-decoration: none;
}

a.topnav-link {
  font-size: 14px;
  color: var(--grey);
  text-decoration: none;
  padding-left: 20px;
  line-height: 38px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

a.topnav-link-active {
  font-size: 14px;
  color: var(--grey);
  text-decoration: underline;
  padding-left: 20px;
  line-height: 38px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

a.topnav-link-active:hover, a.topnav-link:hover, a.topnav-name:hover {
  color: red;
}

.topnav-right {
  float: right;
}

a.button:link, a.button:visited {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  color: red;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  border-radius: 2px;
  margin-top: 4px;
  margin-bottom: 4px;
}

a.button:hover, a.button:active {
    color: blue;
}


img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 0px;
  margin-bottom: 20px;
}

.imgcontainer {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

.magicimg {
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 600px;
  display: block;
  margin: 0 auto;
}

.gallerysmall {
  max-width: 840px;
  margin: 0 auto;
}

.galleryimgsmall {
  max-width: 176px;
  height: auto;
  border-radius: 4px;
  margin-right: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.galleryfullwidth {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.galleryimgphone {
  max-width: 240px;
  height: auto;
  border-radius: 0px;
  padding: 0px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  display: inline-block;
  vertical-align: top;
}

.gallerybig {
  max-width: 800px;
  margin: 0 auto;
  margin-right: 0 -10px;
}

.galleryimgbig {
  max-width: 360px;
  height: auto;
  margin-bottom: 40px;
  margin-top: 0px;
  margin-left: 0px;
  border-style: solid;
  border-width: 1px;
  border-radius: 4px;
  border-color: var(--lightgrey);
  display: inline-block;
  vertical-align: top;
}

.gallerytextbox {
  max-width: 360px;
  height: auto;
  border-radius: 8px;
  margin-right: 40px;
  margin-bottom: 20px;
  margin-top: 0px;
  display: inline-block;
  vertical-align: top;
}

.threeup {
  max-width: 244px;
  height: auto;
  margin-right: 20px;
  margin-bottom: 20px;
  display: inline-block;
  vertical-align: top;
  border-radius: 4px;
}

.play {
  max-width: 600px;
  height: auto;
  display: inline-block;
  vertical-align: top;
  border-radius: 4px;
}

.threeuplist {
  width: 240px;
  height: auto;
  margin-right: 20px;
  display: inline-block;
  vertical-align: top;
}



.imagebg {
  background-image: url("PAI App/ios-10-wallpaper.jpg");
  border-radius: 8px;
}

.onbg {
  max-width: 295px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 40px;
  margin-top: 0px;
  padding: 20px;
  display: inline-block;
  vertical-align:top;
  text-align: left;
}


.topnav {
  background: var(--white);
  padding: 10px;
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0 auto;
  overflow: hidden;
  margin-left: -10px;
  margin-right: -10px;
}

footer {
  margin: 0 auto;
  max-width: 800px;
  padding-top: 10px;
  padding-bottom: 50px;
}

.module {
  padding-top: 20px;
  padding-bottom: 20px;
  margin: 0 auto;
  max-width: 800px;
}


.divider {
  max-width: 800px;
  height: 1px;
  background: #E6E6E6;
  margin: 0 auto;
  margin-top: 40px;
  margin-bottom: 40px;
  display: block;
}

.quote {
  font-family:  "Alegreya Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--black);

  margin: 0 auto;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  max-width: 774px;
  border-left: 1px solid #ccc;
}

.container {
  display: grid;
}

.datedItem {
  display: flex;
  margin-top: 16px;
  margin-bottom: 16px;
}

.date { width: 64px; }

.dateLong { width: 140px; }

.item { width: 100%; }

.noshadow {
  box-shadow: none;
}

.shadow {
  box-shadow: var(--shadow);
  border-radius: var(rounded-l);
}

.rounded-l { border-radius: 8px; }

.outline {
  border-style: solid;
  border-width: 1px;
  border-radius: 8px;
  border-color: var(--lightgrey);
}

video {
  margin-bottom: 20px;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
  width: 100%;
  margin-bottom: 20px;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.link-item {
  padding-top: 40px;
}



.visitorbox {
  padding-top: 10px;
  padding-bottom: 20px;
  margin: 0 auto;
  margin-top: 60px;
  max-width: 800px;
  border-radius: 8px;
  border: solid;
  border-width: 1px;
  border-color: red;
  background-color: rgba(255, 85, 0, 0.2);
  flex: auto;
}

.visitorbox-interior {
  padding-left: 30px;
  padding-right: 20px;
}


.sxs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 40px; }

.sxsImage { width: 35%; }
.sxsText { width: 60%; }
.sxsHeader { display: flex; }
.sxsTitle { width: 75%; }
.sxsDate {width: 30%; text-align: right; }
.sxsSpacer { width: 5%; }

.fl { float: left; _display: inline; }
.fr { float: right; _display: inline; }
.fn { float: none; }

.tl { text-align: left; }
.tr { text-align: right; }
.tc { text-align: center; }
.tj { text-align: justify; }

.w-10-ns { width: 10%; }
.w-20-ns { width: 20%; }
.w-25-ns { width: 25%; }
.w-30-ns { width: 30%; }
.w-33-ns { width: 33%; }
.w-34-ns { width: 34%; }
.w-40-ns { width: 40%; }
.w-50-ns { width: 50%; }
.w-60-ns { width: 60%; }
.w-70-ns { width: 70%; }
.w-75-ns { width: 75%; }
.w-80-ns { width: 80%; }
.w-90-ns { width: 90%; }
.w-100-ns { width: 100%; }
.w-third-ns { width: 33.33333%; }
.w-two-thirds-ns { width: 66.66667%; }
.w-auto { width: auto; }



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

  .sxsImage { width: 100%; }
  .sxsText { width: 100%; }
  .sxsSpacer { width: 0%; }

  .w-100-s { width: 100%; }


}
