/* GLOBAL */

html{
  background-color: #dddddd;
}

body{
  background-color: #ffffff;
  max-width: 1000px;
  margin: auto;
}

@font-face {
  font-family: Roboto;
  src: url(../fonts/Roboto-Light.ttf) format("truetype");
}

@font-face {
  font-family: Abel;
  src: url(../fonts/Abel-Regular.ttf) format("truetype");
}

@font-face {
  font-family: ArialBlack;
  src: url(../fonts/ariblk.ttf) format("truetype");
}

/* SCREEN WIDTHS */
.dims:before{
  display:block;
  color: red;
  text-align: center;
  content: "screen size";
  font-family: Arial;
  font-size: 30px;
  padding: 10px 18px;
}
/* END OF SCREEN WIDTHS */


/* END OF GLOBAL */
/*================================*/

/* HEADER */

.header{
  background-color: #555555;
border-radius: 14px;
}
.header img{
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* END OF HEADER */

/* DROPDOWN MENU */

.dropbtn {
background-color: #111111;
border-radius: 8px;
font-family: Roboto;
font-weight: bold;
color: white;
padding: 16px;
font-size: 18px;
border: none;
}

.dropdown {
position: relative;
display: none;
float: left;
margin-top: 40px;
margin-left: 10px;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.9);
border-radius: 8px;
z-index: 1;
}

.dropdown-content a {
font-family: Roboto;
font-weight: bold;
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
background-color: #000000;
color: #ffffff;
}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #999999;}

/* END OF DROPDOWN MENU */
/*=================================*/
/* NAVBAR */

ul.navbar{
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
border-radius: 14px;
background-color: #e6e6e6;
}

.navbar li{
float: left;
font-family: Roboto;
font-weight: bold;
font-size: 18px;
}

.navbar li a{
display: block;
color: #000000;
text-align: center;
padding: 10px 18px;
text-decoration: none;
}

.navbar li a:hover:not(.active){
background-color: #000000;
color: white;
}

li a.active{
color: white;
background-color: #1f7972;
}
.navbar li.right{
float: right;
}

/* END OF NAVBAR */

/*========================*/
/* QUICK LINKS */

.quickback{
background-color: #bbbbbb;
border-radius: 14px;
margin-top: 5px;
}

/* SECTION DIVIDER */
.sectiondivider{
font-family: ArialBlack;
font-size: 35px;
text-align: center;
line-height: 1.1;
margin: 0;
padding-top: 3;
}
.sectiondivider p{
margin-top: 0;
margin-bottom: 0;
padding: 0;
}

/* END OF SECTION DIVIDER */

.page-wrap{
width:100%;
display: flex;
justify-content: center;
}

/* GRID WRAPPER */
.image-grid {
width:98%;
max-width: 1000px;
overflow: hidden;
}

/* GRID ITEMS */
.image-box {
float: left;
width: 25%;
aspect-ratio: 1 / 1;
}

/* BOX INFO */
.box1 { background-image: url("../img/jimcheshirequicklink.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

.box2 { background-image: url("../img/jackbarrettquicklink.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

.box3 { background-image: url("../img/chaosquicklink.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

.box4 { background-image: url("../img/randomquicklink.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

/* END OF QUICK LINKS */

/*=======================*/
/* INTRO SECTION */


.introbold{
font-family: Roboto;
font-weight: bold;
font-size: 35px;
width:93%;
padding-top: 20px;
margin-left: 25px;
}

.introbold p{
margin: 0;
padding: 0;
}

.intro{
font-family: Roboto;
background-color: #eeeeee;
font-size: 24px;
width:93%;
margin: 15px 0 0 25px;
}

.intro p{
margin: 0;
padding: 5px;
}

.introbody{
clear: both;
column-count: 4;
column-gap: 25px;
column-rule: 2px solid #bbbbbb;
font-family: Roboto;
font-size: 16px;
width:93%;
margin: 20px 0 10px 25px;
}

.introbody p{
margin: 0;
padding: 0;
}

.introbody img{
margin: 8px 3% 8px 3%;
width: 94%;
}

.introbody a:link{
color: black;
text-decoration: none;
}

.introbody a:visited{
color: black;
text-decoration: none;
}

.introbody a:hover{
padding: 0 3px 0 3px;
border-radius: 5px;
background-color: #444444;
color: white;
text-decoration: none;
}

.introbody a:focus{
padding: 0 3px 0 3px;
border-radius: 5px;
background-color: #444444;
color: white;
text-decoration: none;
}

.introbody a:active{
color: black;
text-decoration: none;
}

.latestbody{
font-family: Roboto;
font-size: 16px;
width:93%;
margin: 20px 0 10px 25px;
}

.latestbody p{
margin: 0;
padding: 0;
}

.latestbody a:link{
color: black;
font-weight: bold;
text-decoration: none;
}

.latestbody a:visited{
color: black;
font-weight: bold;
text-decoration: none;
}

.latestbody a:hover{
padding: 0 3px 0 3px;
border-radius: 5px;
background-color: #444444;
color: white;
text-decoration: none;
}

.latestbody a:focus{
padding: 0 3px 0 3px;
border-radius: 5px;
background-color: #444444;
color: white;
text-decoration: none;
}

.latestbody a:active{
color: black;
font-weight: bold;
text-decoration: none;
}

.separator{
margin: 10px 0 5px 0;
}
/* END OF INTRO SECTION */
/*=======================*/
/* FEATURE SECTION */
.featurehead{
display:block;
float: left;
width: 74%;
margin-bottom: 20px;
}

.featureheadpic{
display:inline-block;
float: right;
width: 26%;
}
.featureheadpic img{
width: 95%;
padding: 25px 10px 0 0;
}

.featurebold{
font-family: Roboto;
font-weight: bold;
font-size: 35px;
width:93%;
padding-top: 20px;
margin-left: 25px;
}

.featurebold p{
margin: 0;
padding: 0;
}

.feature{
font-family: Roboto;
background-color: #eeeeee;
font-size: 24px;
width:93%;
margin: 15px 0 0 25px;
}

.feature p{
margin: 0;
padding: 5px;
}

.feature800{
display: none;
font-family: Roboto;
background-color: #eeeeee;
font-size: 24px;
width:93%;
margin: 15px 0 0 25px;
}

.feature800 p{
margin: 0;
padding: 5px;
}

.crosshead{
break-inside: avoid;
}

.crosshead p{
font-family: Roboto;
font-size: 16px;
font-weight: bold;
text-align: center;
padding: 9px 0 9px 0;
}
/* END OF FEATURE SECTION */
/*=======================*/
/* JACK BARRETT SECTION */

.jackbarrett{
background-image: url("../img/Mid-banner.jpg");
overflow:hidden;
border-radius: 15px;
width: 96%;
margin: auto;
height: auto;
}

.barretthead{
background-image: url("../img/barrett-banner-small-logo.jpg");
background-repeat: no-repeat;
background-position: center;
width: 100%;
height: 120px;
}

#barrettsummerpromo{
margin: 0 0 10px 4%;
overflow: hidden;
border: solid 2pt black;
border-radius: 7px;
background-color: #ffffff;
}

#barrettsummerpromo p{
text-align: center;
font-family: Abel;
font-size: 1.7em;
margin-bottom: 3px;
}

#summerpicandtext{
clear:both;
overflow: hidden;
margin: 2%;
}

#summerpicandtext p{
float: left;
width: 49%;
text-align: left;
font-family: Abel;
line-height: 1.1;
font-size: 1.2em;
margin: 0;
padding-top: 5px;
}

#summerpicandtext img{
float: right;
width: 46%;
margin: 0;
padding-top: 5px;
}

.barrettpromo{
width: 100%;
margin-bottom: 20px;
}

.barrettpromo p{
float: left;
margin-left: 2%;
width: 55%;
font-family: Abel;
font-size: 1.2em;
}

.together{
float: right;
margin-top: 25px;
width: 40%;
border-left: 3px solid #bbbbbb;
}

.together img{
width: 96%;
margin-left: 4%;
}

.together p{
font-family: Abel;
font-size: 1.2em;
width: 90%;
padding-left: 10px;
margin: 0;
}

#join p{
font-family: Abel;
font-size: 1.2em;
width: 90%;
padding-left: 15px;
margin: 0;
}

.barrettfirstpar{
overflow: hidden;
margin: 0 0 0 2%;
width: 55%;
font-family: Abel;
font-size: 1.3em;
font-weight: bold;
}

.barrettfirstpar p{
margin: 4% 0 0 0;
width: 96%;
}

#ruleone{
visibility: hidden;
border-top: solid 2px #888888;
width: 94%;
margin: 0 3% 0 3%;
}

/* END OF JACK BARRETT SECTION */






/* FOOTER */

.clear{
clear:both;
}

footer{
background-color: #555555;
border-radius: 14px;
padding-top: 10px;
padding-bottom: 10px;
}

footer p{
background-color: #555555;
font-family: Abel, Arial;
font-size: 15px;
color: #ffffff;
margin: 5px;
}

/* END OF FOOTER */
/*================================*/
/* MEDIA QUERIES */

@media(max-width:1000px){


/* Delete the dims before publishing*/
  .dims:before{
    content: "max 1000";
  }
}


@media(max-width:980px){
/* FEATUREHEAD SECTION */
.featurehead{
clear: both;
width: 100%;
}

.feature{
display: none;
}

.feature800{
display: inline-block;
float: left;
width: 75%;
margin-top: -10px;
margin-bottom: 20px;
}
.feature800 p{
padding: 15px 10px 15px 10px;
}

.featureheadpic{
width: 17%;
margin: -15px 25px 10px 0;
padding: none;
}

.featureheadpic img{
padding: 0 20px 0 0 ;
}

.intro{
font-size: 22px;
}

/* END OF FEATUREHEAD SECTION */


/* Delete the dims before publishing*/
  .dims:before{
    content: "max 980";
  }
}

@media(max-width:900px){

.feature800{
width: 70%;
margin-top: -10px;
margin-bottom: 20px;
}

.featureheadpic{
width: 22%;
margin: -15px 25px 10px 0;
padding: none;
}

.featureheadpic img{
padding: 0 20px 0 0 ;
}


/* Delete the dims before publishing*/
  .dims:before{
    content: "max 900";
  }
}

@media(max-width:800px){

.feature800{
width: 67%;
margin-top: -10px;
margin-bottom: 20px;
}

.featureheadpic{
width: 25%;
margin: -15px 25px 10px 0;
padding: none;
}

.featureheadpic img{
padding: 0 20px 0 0 ;
}


/* Delete the dims before publishing*/
  .dims:before{
    content: "max 800";
  }
}

@media(max-width:768px){
/* DROPDOWN */
.dropdown {
display: inline-block;
}
/* END OF DROPDOWN */

/* NAVBAR */
.navbar {
display: none;
}
/* END OF NAVBAR */

/* HEADER */
.header img{
  display: block;
margin-right: 37%;
}

/* QUICK LINKS */
.image-box {
width: 50%;
}

.introbody{
column-count: 3;
}
/* END OF HEADER */


.feature800{
width: 63%;
font-size: 22px;
}

.featureheadpic{
width: 28%;
}

/* JACK BARRETT SECTION */
.together p{
font-size: 1.4em;
line-height: 1.1em;
}

/* SUMMER 75 PROMO */
#barrettsummerpromo p{
text-align: center;
font-size: 1.5em;
}

#summerpicandtext p{
text-align: left;
line-height: 1.1;
font-size: 1.0em;
}

#join p{
line-height: 1.2em;
}
/* END OF SUMMER 75 PROMO */

/* END OF JACK BARRETT SECTION */


/* Delete the dims before publishing*/
  .dims:before{
    content: "max 768";
  }
}

@media(max-width:700px){

/* HEADER  */

.feature800{
width: 90%;
}

.featureheadpic{
width: 90%;
}


/* Delete the dims before publishing*/
  .dims:before{
    content: "max 700";
  }
/* END OF HEADER */
}

@media(max-width:650px){

/* HEADER  */
.header img{
display: block;
margin-right: 33%;
}

.feature800{
clear:both;
width: 90%;
margin-left: 5%;
}

.featureheadpic{
clear: both;
width: 90%;
margin-left: 5%;
padding: auto;
}

/* END OF HEADER */

/* JACK BARRETT SUMMER PROMO */

#barrettsummerpromo p{
font-size: 1.4em;
margin: auto;
padding: 0;
}

#summerpicandtext p{
clear: both;
font-size: 1.4em;
width: 90%;
margin: 0 5% 0 5%;
}

#summerpicandtext img{
clear: both;
width: 95%;
margin: auto;
padding-right: 14px;
}

.together{
float: none;
align-items: center;
margin: 20px auto 20px auto;
width: 100%;
border-left: none;
padding: 0;
}

.together p{
padding-top: 10px;
line-height: 1.2em;
}

.together img{
width: 96%;
margin-left: 2%;
}

.barrettfirstpar{
margin: 0 0 10px 0;
width: 95%;}

.barrettpromo p{
float: none;
margin: 0 2% 0 2%;
width: 96%;
}

#barrettsummerpromo{
width: 98%;
margin-left: 1%;
margin-right: 1%;
margin-bottom: 15px;
}

#barrettsummerpromo p{
padding-top: 10px;
font-size: 1.6em;
text-decoration: none;}

#barrettsummerpromo a{
text-decoration: none;}

#join p{
font-size: 1.4em;
line-height: 1.2em;
padding: 10px 0 10px 10px;
}

#ruleone{
overflow: hidden;
visibility: visible;}

/* END OF JACK BARRETT SUMMER PROMO */

/* Delete the dims before publishing*/
  .dims:before{
    content: "max 650";
  }
}

@media(max-width:600px){

/* HEADER  */
.header img{
  display: block;
margin-right: 30%;
}

.introbody{
column-count: 2;
}
/* END OF HEADER */

/* JACK BARRETT SECTION */

#summerpicandtext img{
width: 97%;
margin-top:-15px;
margin-left: 3%;
}

.barrettfirstpar{
margin: 0 0 10px 0;
width: 95%;}

#join p{
padding: 10px 0 0 10px;
}

/* END OF JACK BARRETT SECTION */

/* Delete the dims before publishing*/
  .dims:before{
    content: "max 600";
  }
}

@media(max-width:500px){
  .image-box {
      width: 100%;
}
}
