/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}


/*MY CODE STARTS HERE*/
/*MY CODE STARTS HERE*/
/*MY CODE STARTS HERE*/

/*This first section is formatting for phones*/

* {
  text-decoration: none; /*global link underline removal*/
}

body {
  background-color: #f3f3f3;
}

header {/*formatting the Header section itself*/
  background-color: #ffffff;
  width: 100%;
  height: 100px;
}

header .header-brand { /*formatting for the header*/
  font-family: Catamaran;
  font-size: 24px;
  font-weight: 900;
  color: #111111;
  text-transform: uppercase;
  display: block; /*keeps it all in one formatable block*/
  margin: 0 auto; /*centers the block itself 0 top&bottom, equal space left&right*/
  text-align: center;
  padding: 20px 0; /*pads the text in the block 20 top&bottom, 0 left&right*/
}

header nav ul {/*beecause the nav is inside the header*/
  display: block;/*for the whole nav block*/
  margin: 0 auto;/*sets for the whole list 0 top&bottom, eqaul space left&right*/
  width: fit-content;

}

header nav ul li {
  display: inline-block;/*sets the list items into one block*/
  float: left;/*keeps items together*/
  list-style: none;/*removes auto bullet points*/
  padding: 0 16px;/*sets 0 top&bottom,16 between each link*/

}

header nav ul li a {/*formats the text in the links*/
  font-family: Catamaran;
  font-size: 14px;
  color: #111111;

}

header .header-cases {
  display: none;/*stops the cases link from displaying in the moble format*/
}

@media only screen and (min-width: 1000px) {
/*sets changes in style for PC screen size. Only items that will change are included*/
/*THIS SECTION RESTYLES THE HEADER ONLY02*/

header .header-brand { /*formatting for the header*/
  margin: 31px 0; /*aligns logo to left hand top 31px down (100-38 line height=62/2=31) left&right are 0 leaving padding & align as set*/
  text-align: left;
  line-height: 38px;/*places text vertical middle of 38px and allows border to be 38px long*/
  padding: 0px 20px 0px 40px; /*pads the text in the block 0 top, 20 right, 0 bottom, 40 left*/
  border-right: 3px solid #111111;/*puts a single line border to the right*/
  float: left;/*brings the text and the border to the left of the screen*/
}

header nav ul {/*beecause the nav is inside the header*/
  margin: 20px 0px 20px 20px;/*sets for the whole list 20 from top 0 right 20 bottom 20 left. From 100-60(ul li a) line height=40/2=20*/
  float: left;

}

header nav ul li {
  /*No changes made so you can leave this out here*/
}

header nav ul li a {/*formats the changes to text in the links*/
  line-height: 60px;
  text-transform: uppercase;

}

header .header-cases {
  display: block;/*Enables the Cases link to display in the PC format*/
  font-family: Catamaran;
  font-size: 14px;
  color: #111111;
  line-height: 38px;
  text-transform: uppercase;
  border: 1px solid #111111;/*puts a border around the link*/
  float: right;/*sets the link to the right*/
  margin-right: 40px;/*moves the links 40 from the right*/
  margin-top: 30px;/*as before 100-38=62/2=31 (also allow for 2px of border 60/2=30)*/
  padding: 0 20px;/*o from top&bottom and 20 from left&right*/

}


}


/*Styling for the INDEX page only*/
.index-banner {
  width: 100%; /*full width of container*/
  height: calc(100vh - 100px); /*100vh gives 100% of the screen view height, calc(100vh-100px) makes 100px smaller*/
  background-image: url('images/upgradex.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: table;/*sets styling for a table within the index banner*/

}

.verticle-center { /*centers the text inside a banner table*/
  display: table-cell;
  vertical-align: middle;

}

.index-banner h2 {
  padding: 20px;
  font-family: Catamaran;
  font-size: 60px;
  font-weight: 900;
  line-height: 70px;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 8px #111111;/*puts 2px shadow toop&bottom, 2px shadow left&right, 8px blur, #color*/

}

.index-banner h1 {
  font-family: Cormorant Garamond;
  font-size: 28px;
  font-weight: 100;
  font-style: italic;
  line-height: 40px;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 8px #111111;/*puts 2px shadow toop&bottom, 2px shadow left&right, 8px blur, #color*/

}

.index-links div {/*styling ALL div's in the bottom page menu links*/
  margin: 16px 16px 0;/*setting the link buttons 16 top, 16 Left&Right, 0 botttom*/
  width: calc(100% - 32px);/*sets links with 16left, 16right so total 32 less than 100%*/
  height: 100px;
  background-color: #f2f2f2;
}

.index-links div h3 {
  font-family: Catamaran;
  font-size: 20px;
  font-weight: 300;
  line-height: 100px;
  color: #111111;
  text-align: center;
  text-transform: uppercase;

}

@media only screen and (min-width: 1000px) {
/*THIS SECTION RESTYLES THE INDEX SECTION PC style*/
.wrapper{/*sets a wrapper around all of the index and footer sections*/
  width: 1000px;
  margin: 0 auto;
}

.index-banner {
  width: 100%; /*full width of container*/
  height: 450px;/*resizes the banner image*/

}
/*ADJUST SIZES AND SPACINGS UNTIL THEY FIT WHAT YOU HAVE DESIGNED*/
.index-banner h1 {
  display: block;/*puts the banner text into a block format*/
  width: 500px;/*sets the block width to break the text line - similar to adding <br> in the HTML*/
  margin: 0 auto;/*centers text by setting equal space left and right from the block edges*/

}

.index-links{
  padding-bottom: 20px;
  overflow: hidden;
}

.index-links div {/*styling ALL div's in the bottom page menu links*/
  margin: 20px 10px 0;/*setting the link buttons top, Left&Right, 0 botttom*/
  height: 230px;
  float: left;
  background-color: #f2f2f2;
}

.index-boxlink-square{
  width: calc(25% - 20px) !important;/*sets square links to 25% of screen, keeping the 20px padding per square*/
/*!important command tells it to ignore the previous sttyle set for mobile without having to rewrite it all*/
}

.index-boxlink-rectangle{
  width: calc(50% - 20px) !important;

}

.index-links div h3 {
  line-height: 230px;/*Matching the height set in div above*/

}

}

/*FOOTER*/

footer {
  width: calc(100% - 40px);/*width is full screen minus TOTAL padding setting*/
  padding: 20px 20px;
  margin-top: 20px;
  background-color: #111111;
  overflow: hidden;/*fixes problem of disapearing background in the footer*/
}


footer ul {
  width: fit-content;
  float: left;/*sets links to screen left*/
  padding-left: 20px;

}

footer ul li {
  display: block;/*note NOT line-block as in header menu*/
  list-style: none;

}

footer ul li a {
  font-family: Catamaran;
  font-size: 24px;
  color: #ffffff;
  line-height: 40px;/*adjust as needed to balance the text inside the footer*/
}

.footer-links-cases {/*cases menu not shown in mobile screen design*/
  display: none;
}

.footer-sm{
  width: 60px;
  float: right;/*sets images to screen right*/
}

.footer-sm img{
  width: 100%;
  margin-bottom: 10px;
}

@media only screen and (min-width: 1000px) {
/*THIS SECTION RESTYLES THE FOOTER SECTION PC style*/

.footer-links-cases {/*cases menu is shown in PC screen design*/
  display: block;
}

footer ul {

  padding-left: 40px;

}

footer ul li p {
  font-family: Catamaran;
  font-size: 24px;
  color: #ffffff;
  line-height: 40px;/*adjust as needed to balance the text inside the footer*/

}


}
