html{color:#222;font-size:1em;line-height:1.4}::-moz-selection{background:#044C62;color:#fff;text-shadow:none}::selection{background:#044C62;color:#fff;text-shadow:none}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}audio,canvas,iframe,img,svg,video{vertical-align:middle}fieldset{border:0;margin:0;padding:0}textarea{resize:vertical}.browserupgrade{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


html { box-sizing: border-box; } *, *:before, *:after { box-sizing: inherit; }
a{-webkit-transition:all 0.3s ease;
         -moz-transition:all 0.3s ease;
               -o-transition:all 0.3s ease;
                     transition:all 0.3s ease;
text-decoration: none;
color: #044C62; font-weight: 600;}
a img{-webkit-transition:all 0.3s ease;
         -moz-transition:all 0.3s ease;
               -o-transition:all 0.3s ease;
                     transition:all 0.3s ease;}
a:hover{}
.smoothie{-webkit-transition:all 0.3s ease;
         -moz-transition:all 0.3s ease;
               -o-transition:all 0.3s ease;
                     transition:all 0.3s ease;}
h1,h2,h3,h4,h5,h6{margin: 0 0 10px 0; color: #044C62; font-weight: 900; letter-spacing: 0px; font-family:'Playfair Display', sans-serif; text-transform: uppercase}

p{margin: 0 0 10px 0;}
strong{font-weight: 800;}
img, iframe{max-width: 100%;}



.container{width: 100%; max-width: 1920px; margin: 0 auto; font-family:'Playfair Display', sans-serif; font-weight: 400; color: #222; box-shadow: 0 30px 90px rgba(0,0,0,0.25), 0 7px 20px rgba(0,0,0,0.05); }
body{background: #f7f7f7;}
.header{width: calc(100% - 40px); width: 100%; padding: 10px 10%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; position: fixed; top: 0; max-width: 1920px; z-index: 50000; transition: all 0.3s ease; background: linear-gradient(180deg,rgba(4,76,98,.58),transparent);}
.thelogo{transition: all 0.3s ease; }
.logo{width: 300px; padding: 30px 0;}


.header:hover{background: rgba(4,76,98,0.9);}

.aboutheader .logo{width: 200px; padding: 10px;}

.navlink{color: #fff; letter-spacing: 1px; font-size: 15px; position: relative; font-weight: 400; text-transform: uppercase;font-family:'Playfair Display', sans-serif; }
.navigation span{margin: 0 12px; background: #feda6a; width: 1px; opacity: 0.5;}
.navlinker{position: absolute; bottom: -10px; left: 0; width: 0; height: 2px; background: #feda6a; opacity: 0; transition: all 0.3s ease;}
.navlink:hover{opacity: 1;}
.navlink:hover .navlinker{opacity: 1; width: 100%;background: #feda6a;}

.current{font-weight: 900;}
.current .navlinker{width: 100%; background: #fff; opacity: 1;}

.hero{width: 100%; padding: 0; height: 100vh; overflow: hidden; position: relative; z-index: 5;}
.herocover{position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: flex-start; align-items: center; padding: 0 10%;}
.herocoverbg{position: absolute; top: 0; left: 0; bottom: 0; right: 0; opacity: 0.4; background-color: #feda6a; background: #1a1a1a; background: #044C62;  background-image: url(../img/grunge-big-light.png); background-repeat: repeat; z-index: 3; pointer-events: none;}

.herotext{max-width: 80%; z-index: 4;}
.heroheader{font-size: 50px; line-height: 50px; color: #fff; font-weight: 700; text-transform: uppercase; margin:80px 0 80px; opacity: 0.8;}
.heroheader p{}

.herosub{font-size: 20px; line-height: 22px; font-weight: 500; color: #fff;}
.homeherosub{margin-bottom: 40px;}

.herolink{padding: 15px 30px; background:#044C62; text-transform: uppercase; color: #fff; font-size: 17px; font-weight: 500; border-radius: 3px;}
.herolink:hover{opacity: 1;}
.heroslideshow{width: 100%; height: 100%; position: relative; z-index: -1; position: fixed; top: 0; left: 0;}
.heroslideshow img{width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 4;}

.topslide{object-position: top center;}
.centerslide{object-position: center center;}
.bottomslide{object-position: bottom center;}


.shallowhero{width: 100%; padding: 0; height: 55vh; overflow: hidden; background: linear-gradient(to bottom,rgba(255,255,255,1) 0, rgba(255,255,255,1) 89.9%,  rgba(246,246,246,1) 50%, rgba(246,246,246,1) 100%); position: relative;}
.shallowhero img{width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2;}
.shallowherotext{font-size: 40px; line-height: 40px; color: #fff; font-weight: 900; text-transform: uppercase; opacity: 0.8; position: relative; z-index: 4; margin-top: 80px;}

.homecontent{width:100%; margin:0; padding: 40px 10%; background: #fff;}
.hometext{width: 67%;}


.herolink:hover .herolinkarrow{display:inline-block;-webkit-animation:bounceRight 1s alternate ease infinite;animation:bounceRight 1s alternate ease infinite}

.bolink{padding: 15px 30px; background:#044C62; text-transform: uppercase; color: #fff; font-size: 17px; font-weight: 500; border-radius: 3px;}
.bolink:hover{opacity: 1; }
.bolink:hover .bolinkarrow{display:inline-block;-webkit-animation:bounceRight 1s alternate ease infinite;animation:bounceRight 1s alternate ease infinite}

@-webkit-keyframes bounceRight{0%{-webkit-transform:translate(0);transform:translate(0)}50%{-webkit-transform:translate(5px);transform:translate(5px)}to{-webkit-transform:translate(0);transform:translate(0)}}@keyframes bounceRight{0%{-webkit-transform:translate(0);transform:translate(0)}50%{-webkit-transform:translate(5px);transform:translate(5px)}to{-webkit-transform:translate(0);transform:translate(0)}}

.bodylink{padding: 10px 20px; border: 1px solid #1a1a1a; text-transform: uppercase; color: #1a1a1a; font-size: 14px; letter-spacing: 1px;}
.bodylink:hover{opacity: 1; background: #1a1a1a; color: #fff;}

.homegridholder{width: 100%; padding: 40px 10%; background: #f6f6f6; display: flex; justify-content: space-between; flex-wrap: wrap;}

.homegrid{width: calc(67% - 20px); 

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-auto-rows: minmax(300px, auto);
    grid-gap: 40px;
}



.eachhomegrid{background: #fff; box-shadow: 0 15px 45px rgba(0,0,0,0.25), 0 7px 10px rgba(0,0,0,0.05);transition: all 300ms ease;  overflow: hidden; position: relative; display: flex; justify-content: flex-start; align-items: center; border-radius: 10px;}
.eachhomegrid:hover{box-shadow:  0rem 0.875rem 1.5rem 0rem rgba(32,46,66,0.059);}
.eachgridcover{width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 5; background: rgba(4,76,98,0.4); transition: all 0.3s ease;}
.eachgridimage{width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 4; transition: all 0.3s ease;}
.eachgridimage img{object-fit: cover; width: 100%; height: 100%;}
.eachhomegrid:hover .eachgridimage{transform: scale(1.1,1.1);}
.eachgridtitle{width: 100%; font-weight: 900; text-transform: uppercase; z-index: 10; font-size: 38px; line-height: 36px; padding: 0 20px; color: #fff;}
.eachhomegrid:hover .eachgridcover{background: rgba(4,76,98,0.8);}

.homegridside{width: calc(33% - 20px); background: #fff; display: flex; justify-content: center; align-content: center; flex-wrap: wrap; position: relative; overflow: hidden;transition: all 300ms ease;box-shadow: 0 15px 45px rgba(0,0,0,0.25), 0 7px 10px rgba(0,0,0,0.05); border-radius: 10px;}
.sidegridcover{width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 5; background: rgba(26,26,26,0.4); transition: all 0.3s ease;}
.sidegridimage{width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 4; transition: all 0.3s ease;}
.sidegridimage img{object-fit: cover; width: 100%; height: 100%;}
.homegridside:hover .sidegridimage{transform: scale(1.1,1.1);}
.sidegridtitle{width: 100%; font-weight: 900; text-transform: uppercase; z-index: 10; font-size: 38px; line-height: 36px; padding: 0 20px; color: #fff; margin-bottom: 20px;}
.sidegridtext{width: 100%; font-weight: 400; z-index: 10; font-size: 16px; line-height: 16px; padding: 0 20px; color: #fff;}

.homegridside:hover .sidegridcover{background: rgba(26,26,26,0.8);}
.homegridside:hover{box-shadow:  0rem 0.875rem 1.5rem 0rem rgba(32,46,66,0.059);}

.eachnews{width: 100%; padding: 0; display: flex; justify-content: space-between; flex-wrap: wrap; font-weight: 300; align-items: center; background: #f7f7f7;}
.eachnewsimage{width: 30%;}
.eachnewsimage img{width: 100%; height: 100%; object-fit: cover;}
.eachnewscontent{width: 70%; padding:  20px;}
.eachnewstitle{font-weight: 700; text-transform: uppercase; font-size: 20px; margin-bottom: 5px;}
.eachnewsdate{font-size: 12px; font-weight: 300; margin-bottom: 10px;}
.eachnewstext{font-size: 14px; font-weight: 300;}


.footer{width: 100%; background: #fff; padding: 20px 10%; font-size: 12px;  display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; background: rgba(4,76,98,1); color: #fff;}
.footleft{width: calc(100% - 240px);}
.infinity{width: 220px;}
.footnav{width: 100%; display: flex; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 10px;}
.footnav span{margin: 0 5px;}
.footnavlink{color: #fff;}
.footersocial{display: flex; justify-content: flex-end; flex-wrap: wrap;}
.footersocial a{color: #fff; margin-left: 20px; font-size: 22px;}
.footersocial a:hover{ }
.footersocial a.gplink:hover{color: #ff0000;opacity: 1;}
.footersocial a.twlink:hover{color: #55acee;opacity: 1;}
.footersocial a.lilink:hover{color: #0077B5;opacity: 1;}
.footersocial a.fblink:hover{color: #3b5998;opacity: 1;}
.footersocial a.instalink:hover{color: #DD2A7B;opacity: 1;}
.copy span{margin: 0 5px;}
.copy a{color: #feda6a; font-weight: 700;}

.copyright{padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.2); margin-bottom: 15px; display: inline-block;}
.vat{color: #ccc; margin-bottom: 0;}





.bodyh{margin: 30px 0 20px 0; font-weight: 500; letter-spacing: 0px;}


.breadcrumbs{font-size: 12px; background: rgba(255,255,255,0.5); width: 75%; margin:0; padding: 20px 10% 20px; background: #f7f7f7;}
.breadcrumbs a{color: #1a1a1a;}
.breadcrumbs span{margin: 0 5px;}



/* ==========================================================================
   NEWS
   ========================================================================== */
.newstextcontent{width: 100%;}
.newsimagecontent{width:100%; margin: 60px auto; box-shadow: 0 30px 90px rgba(0,0,0,0.25), 0 7px 20px rgba(0,0,0,0.05);}
.tweeter{width:500px; max-width: 100%; margin: 60px auto; box-shadow: 0 30px 90px rgba(0,0,0,0.25), 0 7px 20px rgba(0,0,0,0.05);}

.newsboxes{width:calc(100% - 80px); max-width: 1420px; margin: 0 auto; padding-bottom: 40px; display: grid;  
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: minmax(300px, auto);  
  grid-gap: 20px;  }

.newsbox{box-shadow: 0 30px 90px rgba(0,0,0,0.25), 0 7px 20px rgba(0,0,0,0.05);  background:  #fff; position: relative; padding-bottom: 40px; padding-top: 225px; overflow: hidden;}
.newsbox:hover .homeboximage img{transform: scale(1.2,1.2);}
.newsbox:hover .homeboxlink{background-position: 0 -100%; color: #fff; letter-spacing: 2px;}
.newsbox:hover .hblightlink{background-position: 0 -100%; color: #004275;}
.embed-container {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 0;
	height: 0;
}
.embed-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    border: none;
}


.eachmedia{background: #fff; min-width: 55%; width: 100%; position: relative; margin-bottom: 15px; display: block; overflow: hidden;}
.eachmediaimage{width: 100%; position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; z-index: 2; transition: 0.3s all ease;}
.eachmediacover{position: absolute; z-index: 3; top: 0; left: 0; right: 0; bottom: 0;background: rgba(4,76,98,0.4); transition: all 0.3s ease;}
.eachmediaimage img{width: 100%; height: 100%; object-fit: cover;}
.eachmediacontent{position: relative; z-index: 5; width:100%; height: 100%; text-align: right; padding: 20px 20px 20px 100px;}
.eachmediadetails{width: 50%; margin-left: 50%; padding: 40px 20px; text-align: left; position: relative; background: #fff;}
.eachmedianame{font-size: 32px; font-weight: 900; text-transform: uppercase; margin-bottom: 5px;color: #fff;}

.eachmediajob{font-weight: 400; font-size: 14px; opacity: 1;color: #fff; display: none;}
.eachmedialink{font-weight: 300; font-size: 12px;  color: #1a1a1a;}

.eachmedia:hover{opacity: 1; box-shadow: 0 30px 90px rgba(0,0,0,0.25), 0 7px 20px rgba(0,0,0,0.05);}
.eachmedia:hover .eachmediaimage img{transform: scale(1.1,1.1);}
.eachmediadate{position: absolute; top: 0; left: 0; background: #044C62; z-index: 5; text-transform: uppercase; padding: 10px 20px; text-align: center;}
.mediaday{font-size: 14px; display: block; margin: 0; font-weight: 800; color: #fff;}
.mediamonth{font-size: 16px; display: block; margin: 0; font-weight: 400; color: #fff;}
.mediayear{font-size: 14px; display: block; margin: 0; font-weight: 800; color: #fff;}

.newsheader{display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center;}
.newsdate{display: inline-block; padding: 10px 20px; color: #fff; background:#044C62; font-size: 14px; text-align: center; width: 80px;}
.newsh1{width: calc(100% - 100px);}
.newsh1 h1{margin: 0; padding: 0;}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.servicesgrid{width: 100%; 

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: minmax(300px, auto);
    grid-gap: 40px;
}

.eachservice{background: #fff; min-width: 55%; width: 100%; position: relative; margin-bottom: 15px; display: block; }
.eachserviceimage{width: 100%; position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; z-index: 4;}
.eachserviceimage img{width: 100%; height: 100%; object-fit: cover;}
.eachservicedetails{width: 63%; padding: 40px 20px; text-align: left; position: relative; background: rgba(255,255,255,0.9); z-index: 5; transition: all 0.3s ease;}
.eachservicename{font-size: 18px; font-weight: 600; text-transform: uppercase; margin-bottom: 5px;color: #1a1a1a;}
.eachserviceposter{font-size: 12px; font-weight: 400; }
.eachservicejob{font-weight: 400; font-size: 12px; opacity: 0.6;color: #1a1a1a;}
.eachservicelink{font-weight: 300; font-size: 12px;  color: #1a1a1a;}
.eachservice:hover{opacity: 1; box-shadow: 0 30px 90px rgba(0,0,0,0.25), 0 7px 20px rgba(0,0,0,0.05);}
.eachservice:hover .eachservicedetails{background: rgba(255,255,255,1);}
.leftdetails{margin: 0 37% 0 0;}
.rightdetails{margin: 0 0 0 37%;}


.eachservicegrid{background: #fff; box-shadow: 0 15px 45px rgba(0,0,0,0.25), 0 7px 10px rgba(0,0,0,0.05);transition: all 300ms ease;  overflow: hidden; position: relative; border-radius: 5px; width: 100%; height: 300px; display: block; margin-bottom: 20px;}
.eachservicegrid:hover{box-shadow:  0rem 0.875rem 1.5rem 0rem rgba(32,46,66,0.059);}
.eachservicecover{width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 5; background: rgba(124,156,203,0.5); transition: all 0.3s ease;}
.eachserviceimg{width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 4; transition: all 0.3s ease;}
.eachserviceimg img{object-fit: cover; width: 100%; height: 100%;}
.eachservicegrid:hover .eachserviceimg{transform: scale(1.1,1.1);}
.eachservicetitle{position: absolute; top: 20px; left: 20px; width: calc(100% - 40px); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; z-index: 10; font-size: 24px; padding: 0 10px; color: #fff; background: rgba(124,156,203,0.9); border-radius: 2px;}
.eachservicetitle{position: absolute; top: 0; left: 0; width: calc(100% - 0px); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; z-index: 10; font-size: 20px; padding: 10px 20px; color: #fff; background: rgba(124,156,203,0.9); background: rgba(0,48,64,0.3); border-radius: 2px;}
.eachservicetext{position: absolute; bottom: 20px; left: 20px; width: calc(100% - 40px); color: #fff; font-weight: 400; z-index: 10; font-size: 16px; transition: all 0.3s ease;}
.eachservicelink{position: absolute; bottom: 20px; left: 20px; width: calc(100% - 40px); color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;  z-index: 10; font-size: 18px; opacity: 0; transform: translateY(100%); transition: all 0.3s ease;}

.eachservicegrid:hover .eachservicetext{transform: translateY(100%); opacity: 0;}
.eachservicegrid:hover .eachservicelink{transform: translateY(0); opacity: 1;}
.eachservicegrid:hover .eachservicecover{background: rgba(124,156,203,0.8);}
.eachservicegrid:hover .eachservicearrow{display:inline-block;-webkit-animation:bounceRight 1s alternate ease infinite;animation:bounceRight 1s alternate ease infinite}

.heroquotetext{max-width: 80%;}
.heroquote{font-size: 30px; line-height: 38px;}
.quotesub{font-size: 14px; font-weight: 500; color: #fff; margin-bottom: 40px;}

.quotee{font-size: 14px; color: #aaa; font-style: italic;}
/* ==========================================================================
   FORM
   ========================================================================== */

.contactcontent{display: flex; justify-content: space-between; flex-wrap: wrap;}
.contactinfo{width: 45%;}
.contactmap{width: 50%;}

.eachcontact{display: flex; justify-content: flex-start; flex-wrap: wrap; align-items: center; margin-bottom: 10px;}
.contacticon{margin-right: 20px; min-width: 40px; text-align: center;}
.gm-style-mtc div{font-size: 12px !important;}

.contactsocial{display: flex; justify-content: flex-start; flex-wrap: wrap; padding: 0 15px;}
.contactsocial a{color: #1a1a1a; margin-right: 20px; font-size: 16px;}
.contactsocial a:hover{ }
.contactsocial a.gplink:hover{color: #ff0000;opacity: 1;}
.contactsocial a.twlink:hover{color: #55acee;opacity: 1;}
.contactsocial a.lilink:hover{color: #0077B5;opacity: 1;}
.contactsocial a.fblink:hover{color: #3b5998;opacity: 1;}

.theform{width:100%; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; padding: 0; box-shadow: 0 15px 45px rgba(0,0,0,0.25), 0 7px 10px rgba(0,0,0,0.05); padding: 40px; margin: 40px 0 0;}
.halfinput{width:  49%; position: relative;}
.fullinput{width: 100%; position: relative;}
.theform label{font-size: 12px;}
.textinput{width: 100%; border:1px solid #f9f9f9; padding: 10px; font-size: 0.8rem; background: rgba(0,0,0,0.05); background: #fff; outline: 1px solid #aaa; color: #0C0C0B; margin-bottom: 20px;}
.textinput:focus{outline: 1px solid #0f0f0f; background: #f6f6f6;}
.submitbutton{width: 100%; border:1px solid #044C62; border-radius: 2px; color: #fff; padding: 15px; transition: 0.4s; cursor: pointer; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; background: #044C62}
.submitbutton:hover{background: #fff; color: #044C62;}
textarea{height: 200px; text-align: left;}
.smallprint{font-size: 12px;}


/* ==========================================================================
   GDPR
   ========================================================================== */

.privacylinks{width: 100%; padding: 40px 40px 20px; background: rgba(26,26,26,1); display: flex; justify-content: space-between; flex-wrap: wrap; }
.privacylink{width: calc(50% - 10px); margin-bottom: 20px; padding: 10px; background: #fff; color: #00134E; transition: all 0.3s cubic-bezier(.25,.8,.25,1); text-transform: uppercase; font-weight: 600; font-size: 14px;}
.privacylink:hover{background: rgba(255,255,255,0.5); }
.privacycontent{padding: 40px 0;}



.ptable{margin: 20px 0;}
.ptable tr td{padding: 20px; border: 1px solid #ccc;}
.ptable thead th{padding: 20px; background: #1a1a1a; }
.ptable thead th p strong{font-weight: 700; color: #fff;}

.sitemapul{}
.sitemapul ul{padding: 10px 0 0 20px; margin-bottom: 20px;}
.sitemapul li{margin-bottom: 5px;}


.eachuseful{width:100%; background:#f7f7f7; padding:20px 20px 40px 20px; margin-bottom:20px; position:relative;}

.usefullink{position:absolute; bottom:0; right:0; padding:10px; color: #fff; background: #feda6a;}
.usefullink:hover{background: #fff; color: #1d1d1b;}


.has-tooltip:hover + .tooltip,
.has-tooltip:focus + .tooltip,
.has-tooltip.hover + .tooltip {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1) rotate(0deg);
  pointer-events: inherit;
}
.has-tooltip:hover + .textinput { background-color: yellow;}
.has-tooltip{color: #044C62;}
.tooltip {
  display: block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.75) rotate(5deg);
  transform-origin: bottom center;
  padding: 10px 30px;
  border-radius: 5px;
  background: rgba(4,76,98, 0.75);
  text-align: center;
  color: #fff;
  transition: 0.15s ease-in-out;
  opacity: 0;
  width: 100%;
  max-width: 100%;
  pointer-events: none;
  z-index: 5;
}
.tooltip.blue {
  background: rgba(4,76,98, 0.75);
}
.tooltip.blue:after {
  border-top: 5px solid rgba(4,76,98, 0.75);
}

.tooltip:hover {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1) rotate(0deg);
  pointer-events: inherit;
}
.tooltip img {
  max-width: 100%;
}
.tooltip:after {
  content: "";
  display: block;
  margin: 0 auto;
  widtH: 0;
  height: 0;
  border: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.75);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 1920px) {
.heroslideshow{left: calc( (100% - 1920px)/2); width: 1920px;}
}

@media only screen and (min-width: 1220px) {.navigation{display: flex!important;}.ham{display: none;}}
@media only screen and (max-width: 1220px) {
    
    .header{align-items: center; z-index: 501;}
    .ham{display: block;}
    .navigation{display: none; width: 100%; height: auto; text-align: right; padding-top: 40px;}
    .navigation a{display: block; width: 100%; margin: 0; font-size: 24px; margin-bottom: 10px;}
    .fillbg{background: rgba(0,48,64,0.9);}
    .herotext{max-width: 70%;}
    .heroquoteheader{font-size: 18px; line-height: 20px;}
    .homegrid{width: calc(55% - 20px);}
    .homegridside{width: calc(45% - 20px);}
    .herotext{max-width: 100%; z-index: 4;}
    .heroheader{font-size: 40px; line-height: 35px; }
    .shallowherotext{font-size: 40px; line-height: 35px;}
    .contactinfo{width: 100%; margin-bottom: 20px;}
    .contactmap{width: 100%; height: 300px;}
}
@media only screen and (max-width: 800px) {
    .logo{width: 240px;}
    .logo1{width: 140px;}
    .sticky .logo{width: 240px;}
    .sticky .logo1{width: 140px;}
    .homecontent{width: 100%; padding: 40px 5%;}
    .herocover{padding: 0 5%;}
    .herotext{max-width: 90%;}
    .heroquotetext{max-width: 80%;}
    .header{padding: 20px 5%;}
    .footer{padding: 20px 5%;}
.heroquoteheader{font-size: 15px; line-height: 20px;}
    .footleft{width: 100%; margin-bottom: 20px;}
    .infinity{width: 100%; }
    .footersocial{justify-content: flex-start;}
    .footersocial a{color: #fff; margin-left: 0; margin-right: 20px;}

    .homegridholder{width: 100%; padding: 40px 5%;}
    .eachhomegrid{width: 100%; margin-bottom: 20px; height: 300px;}
    .eachmedia{margin-bottom: 40px;}
    
    .eachmediadetails{width: 100%; margin-left: 0; padding: 40px 20px 60px; text-align: left; position: relative; background: #fff;}
    .newsh1 h1{font-size: 20px;}
    .privacylink{width: 100%; }
    .homegrid{width: 100%;}
    .homegridside{width: 100%; height: 300px;}
    .hometext{width: 100%;}
    .heroheader{font-size: 30px; line-height: 25px; }
    .shallowherotext{font-size: 30px; line-height: 25px;}
    
.ptable tr td{padding: 5px;}
.ptable thead th{padding: 5px; }

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */



@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


