/*   
Theme Name: Flash17
* Copyright 2017, FlashAlert
* https://www.flashalert.net/
Author: ModernFox Web Design + Development
* www.madebymodernfox.com
Version: 1.0
*/

/* Boilerplate
–––––––––––––––––––––––––––––––––––––––––––––––––– */

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, 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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

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

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
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; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; }
.column,
.columns {
  width: 100%;
  float: left;
  box-sizing: border-box; }
.wrapper {
  background-color: #F1F5F8;
  border: 6px solid #3F5B6F;
  width: 100%;
  margin: 0 auto 35px auto;
  padding: 3% 5% 1.5% 3%;
  box-sizing: border-box; }

@media (min-width: 400px) {
  .container {
    padding: 0; }
}

@media (min-width: 550px) {
  .container {
    width: 80%; }
  .column,
  .columns {
    margin-left: 4%; }
  .column:first-child,
  .columns:first-child {
    margin-left: 0; }

  .one.column,
  .one.columns                    { width: 4.66666666667%; }
  .two.columns                    { width: 13.3333333333%; }
  .three.columns                  { width: 22%;            }
  .four.columns                   { width: 30.6666666667%; }
  .five.columns                   { width: 39.3333333333%; }
  .six.columns                    { width: 48%;            }
  .seven.columns                  { width: 56.6666666667%; }
  .eight.columns                  { width: 65.3333333333%; }
  .nine.columns                   { width: 74.0%;          }
  .ten.columns                    { width: 82.6666666667%; }
  .eleven.columns                 { width: 91.3333333333%; }
  .twelve.columns                 { width: 100%; margin-left: 0; }

  .one-third.column               { width: 30.6666666667%; }
  .two-thirds.column              { width: 65.3333333333%; }

  .one-half.column                { width: 48%; }

  /* Offsets */
  .offset-by-one.column,
  .offset-by-one.columns          { margin-left: 8.66666666667%; }
  .offset-by-two.column,
  .offset-by-two.columns          { margin-left: 17.3333333333%; }
  .offset-by-three.column,
  .offset-by-three.columns        { margin-left: 26%;            }
  .offset-by-four.column,
  .offset-by-four.columns         { margin-left: 34.6666666667%; }
  .offset-by-five.column,
  .offset-by-five.columns         { margin-left: 43.3333333333%; }
  .offset-by-six.column,
  .offset-by-six.columns          { margin-left: 52%;            }
  .offset-by-seven.column,
  .offset-by-seven.columns        { margin-left: 60.6666666667%; }
  .offset-by-eight.column,
  .offset-by-eight.columns        { margin-left: 69.3333333333%; }
  .offset-by-nine.column,
  .offset-by-nine.columns         { margin-left: 78.0%;          }
  .offset-by-ten.column,
  .offset-by-ten.columns          { margin-left: 86.6666666667%; }
  .offset-by-eleven.column,
  .offset-by-eleven.columns       { margin-left: 95.3333333333%; }

  .offset-by-one-third.column,
  .offset-by-one-third.columns    { margin-left: 34.6666666667%; }
  .offset-by-two-thirds.column,
  .offset-by-two-thirds.columns   { margin-left: 69.3333333333%; }

  .offset-by-one-half.column,
  .offset-by-one-half.columns     { margin-left: 52%; }

}

@media (max-width: 500px) {
  .wrapper { border: 0 solid #3F5B6F; width: 100%;}
}

/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
  font-size: 62.5%;
  background: #9EB4C3; /* For browsers that do not support gradients */
   }
body {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5em; 
  letter-spacing: .01em;
  font-weight: 400;
  color: #2D475A; }
 img {
  height: auto;
 } 


/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 2rem;
  font-weight: 700;
  font-family: 'Source Sans Pro', sans-serif;}
h1 { font-size: 3.5rem; line-height: 1.2; }
h2 { font-size: 3.0rem;  line-height: 1.25; }
h3 { font-size: 2.5rem; line-height: 1.3;   }
h4 { font-size: 2rem; line-height: 1.35;  }
h5 { font-size: 1.3rem; line-height: 1.5;   }
h6 { font-size: 1rem; line-height: 1.6;  }

/* Larger than phablet */
@media (min-width: 550px) {
  body {font-size: 1.5em; line-height: 1.7; }
  h1 { font-size: 4.0rem; }
  h2 { font-size: 3.2rem; }
  h3 { font-size: 2.6rem; }
  h4 { font-size: 2.0rem; }
  h5 { font-size: 1.4rem; }
  h6 { font-size: 1.5rem; }
}

p {
  font-family: 'Roboto', sans-serif; 
  margin: 0 0 1.5rem 0;
  line-height: 1.5em; }

strong {
  font-weight: bold; }

em {
  font-style: italic;
}  

h1.title {
  border-bottom: 1px solid #bbb;
  margin-bottom: 2%;
}

h1.title#newsregion{
  border-bottom: 1px solid #bbb;
  margin-bottom: 1%;
}

.center {
  text-align: center;
}

#bolditalic {
  font-style: italic;
  font-weight: 700;
  margin-top: 5%;
}


/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  color: #9A202D; }
a:hover {
  color: #2D475A; }

/* Header
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#header_wrap {
  margin: 2% 0 0 0;
}

.site-title {
  margin: 0 auto;
  background-image: url("images/FlashAlert-Newswire-logo.png");
  text-indent: -99999px;
  background-repeat: no-repeat;
  width: 250px;
  height: 85px;
  display:block;
}

#header_photos ul{
  list-style: none;
  text-align: right;  
}

#header_photos li{
  display: inline;
  margin: 0 0 0 20px !important;
}

@media (max-width: 1195px) {
  #header_photos li {margin: 0 0 0 15px !important;}
}

@media (max-width: 1036px) {
  #header_photos li {margin: 0 0 0 5px !important;}
}

@media (max-width: 1013px) {
  #header_photos li {display: none !important;}
}

@media (max-width: 600px) {
  #header_wrap {margin: 5% 0 2% 0;}
}

/* Navigation
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.menu-primary {
  margin: 0;
}

.header_nav a {
  text-decoration: none;
  color: white;
}

.header_nav ul{
  text-align: left;
}

.header_nav li {
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-right: 5%;
  list-style: none;
  display: inline-block;
}

.header_nav li a:hover{
}

.home li#menu-item-27 {display: none;}

.menu-item-31 {
  text-align: center;
  background-color: transparent;
  border-radius: 4px;
  border: 1px solid #bbb;
  padding: .5% 2%;
  display: block;
  cursor: pointer;
}

.menu-item-31:hover {
  background-color: #3E5769;
}

.mega-red #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-193 #mega-menu-item-193 {
  background-color: red;
}


/* Interior Pages
–––––––––––––––––––––––––––––––––––––––––––––––––– */

blockquote {
  color: #6C8495;
  font-style: italic;
}

blockquote footer {
  text-align: right;
  margin-bottom: 5%;
}

.overline {
  border-top: 1px solid #bbb;
  display: block;
  margin: 5% 0 1% 0;
  padding: 5% 0 1% 0;
}

.wp-image-285 {
  position: relative;
  float: right;
  margin: 0 0 10px 20px;
}

/* Regions Pages
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#regions_wrapper {
    margin: 0 auto; /*auto centers the container */
    height: 50%;
}

.regions li {
  font-size: 2.5rem;
}

.credits p {
  font-size: 1.65rem;
}

/*CSS3 multiple columns.*/
/* Get em size for colums: 184/16 */   
.regions {   
    -moz-column-width: 18em; /* Firefox */
    -webkit-column-width: 18em; /* webkit, Safari, Chrome */
    column-width: 25em;
}
/*remove standard list and bullet formatting from ul*/
.regions ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
/* correct webkit/chrome uneven margin on the first column*/
.regions ul li:first-child {
    margin-top:0;
}

/* Newswire Regions Pages
–––––––––––––––––––––––––––––––––––––––––––––––––– */

#newswire-content {
  margin-top: 2%;
}

#newswire-sidebar {
  background-color: #C9D4DD;
  padding: 30px;
}

#newswire-sidebar p {
  opacity: .5;
}

#newswire-sidebar h3, #newswire-sidebar p {
  text-align: center;
}

#newswire-sidebar h3 {
  font-size: 2rem;
}
/* Footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.footer {
  position: relative;
  bottom: 0;
  margin-top: 2%;
  padding: 4px 0 0 10px;
  background-color: #3F5B6F;
  color: white;
  font-size: 1.5rem;
  letter-spacing: .1rem;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  height: 30px;
}


/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 40px;
  color: white;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .3rem;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background-color: #A2202D;
  border-radius: 4px;
  border: 1px solid #888;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: white;
  border-color: #888;
  background-color: #5B020D;
  outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
  color: #FFF;
  background-color: #921723;
  border-color: #99212E; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
  color: white;
  background-color: #921723;
  border-color: #2D475A; }

/* Larger than mobile */
@media (max-width: 540px) {
  .button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {width: 100%;}
}


/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.news_form {
  background-color: #9EB4C3;
  padding: 3% 6% 2% 6%;
  margin: 2.5% 0 3% 0;
}

input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  width: 100%;
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; }
textarea {
  min-height: 75px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal; }


/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
  list-style: circle inside; }
ol {
  list-style: decimal inside; }
ol, ul {
  padding: 0;
  margin: 0; }
li {
  margin-bottom: 2.5rem; }

/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
  padding: 0; !important
  text-align: left;
  border-bottom: 0px solid #E1E1E1; }
th:first-child,
td:first-child {
  padding-left: 0; }
th:last-child,
td:last-child {
  padding-right: 0; }


/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem; }
select,
fieldset {
  margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
form {
  margin-bottom: 2.5rem; }


/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box; }
.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box; }
.u-pull-right {
  float: right; }
.u-pull-left {
  float: left; }


/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-width: 0;
  border-top: 1px solid #E1E1E1; }


/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */

/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
  content: "";
  display: table;
  clear: both; }


/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/


/* Larger than mobile */
@media (min-width: 400px) {}

/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}

/* Larger than tablet */
@media (min-width: 750px) {}

/* Larger than desktop */
@media (min-width: 1000px) {}

/* Larger than Desktop HD */
@media (min-width: 1200px) {}
