/** ----------------------------------------------------------
 *
 * Contains the generic theme typography styles
 *
 *    Include your notes or table of contents here
 *
 *    Include color hex's or values of your grid
 *      #333333             - body
 *      #B80000             - links, headings
 *      #D80000             - links on hover
 *      5px Vertical grid   - based on multiples of 5px, eg 10px, 15px, 20px, 25px...
 *
 *    @author Your Name <email@gmail.com>
 *
 * ------------------------------------------------------- */

/* TEMPLATE CUSTOM FONTS */
  /* Generated by Font Squirrel (http://www.fontsquirrel.com) on February 20, 2012 06:04:25 AM America/New_York */

  /* add your own custom fonts here */

:root {
    --blue: #1c395e;
    --lightgrey: #f2f2f2;
    --grey: #e6e6e6;
    --red: #c1272d;
    --green: #00cc66;
    --darkgrey: #4d4d4d;
    /* accent settings */
    --accent: var(--green);
}

@font-face {
    font-family: "Rajdhani";
    src: url('../fonts/Rajdhani/Rajdhani-Bold.ttf') format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Rajdhani";
    src: url('../fonts/Rajdhani/Rajdhani-Light.ttf') format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Rajdhani";
    src: url('../fonts/Rajdhani/Rajdhani-Medium.ttf') format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Rajdhani";
    src: url('../fonts/Rajdhani/Rajdhani-Regular.ttf') format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Rajdhani";
    src: url('../fonts/Rajdhani/Rajdhani-SemiBold.ttf') format("truetype");
    font-weight: 600;
    font-style: normal;
}

.typography {
    font-family: "Rajdhani", sans-serif;
    font-size: 1.125rem;
}

.typography a {
    color: var(--accent);
    text-decoration: none;
}

* {
    font-size: 1.125rem;
}

/* LIST STYLES
-------------------------------------------- */
.typography ul,
.typography ol,
.typography dl { margin: 0 0 20px 25px; }
.typography ul li { list-style-type: disc; } /* adds disc style bullet to the list */
  .typography li { margin-bottom: 5px; }


/* TABLE STYLES
-------------------------------------------- */
.typography table {
    border-collapse: collapse; /* borders are collapsed into a single border when possible */
    border: 1px solid #d4d4d4;
    border-spacing: 0; /* The border-spacing property sets the distance between the borders of adjacent cells - acts as a backup to border-collapse: collapse */
    margin: 0 0 10px;
    text-align: left;
}
  .typography table tr:nth-child(even) {
      background-color: #ededed
  }
  .typography table tr.even,
  .typography table th,
  .typography thead td {
      background-color: #ededed
  }
  .typography table td,
  .typography table th {
      padding: 2px 5px;
      border: 1px solid #d4d4d4;
      vertical-align: top;
  }
  .typography table th {
      font-weight: bold;
  }


/* WYSIWYG EDITOR ALIGNMENT CLASSES
-------------------------------------------- */
.typography .left {
    text-align: left
}
.typography .center, .text-center {
    text-align: center
}
.typography .right {
    text-align: right
}


/* IMAGES
-------------------------------------------- */
.typography img {
    height: auto;
}

.typography img.left {
    float: left;
    max-width: 50%;
    margin: 5px 20px 10px 0;
}
.typography img.right {
    float: right;
    max-width: 50%; /* Responsive width */
    margin: 5px 0 10px 20px;
}
.typography img.leftAlone {
    float: left;
    margin-right: 100%;
    margin-bottom: 10px;
    clear: both;
}
.typography img.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
    clear: both;
}
.typography .captionImage { width: 100%; margin-top: 5px; }
.typography .captionImage img { margin: 0; }
  .typography .captionImage.left {
    float: left;
    margin: 5px 30px 20px 0;
  }
  .typography .captionImage.right{
    float: right;
    margin: 5px 0 20px 30px;
  }
  .typography .captionImage.left[style],
  .typography .captionImage.right[style] {
    max-width: 50%; /* Overides core width to make responsive */
  }
  .typography .captionImage.left img,
  .typography .captionImage.right img {
    float: none;
    max-width: none;
    width: 100%;
  }
  .typography .captionImage.left img {
    margin-right: -10px;
  }
  .typography .captionImage.right img {
    margin-left: -10px;
  }
  .typography .captionImage.right p {
    margin-left: -10px;
    text-align: left;
  }
.typography .captionImage.leftAlone{
  float:none;
  margin: 0 20px 20px 0;
}
.typography .captionImage.center{
  margin: 0 auto 20px;
}
.typography .captionImage p {
  clear: both;
  margin: 5px 0;
  font-style: italic;
  color: #888;
}


/* BLOCKQUOTES
-------------------------------------------- */
.typography blockquote {
  background: transparent url(../../themes/simple/images/blockquote.png) no-repeat 0 6px;
  font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
  color: #777;
  display: block;
  font-style: italic;
  margin: 0 0 20px;
  float: right;
  text-indent: 30px;
  width: 50%;
  margin-left: 5%;
  clear: both;
}
.typography blockquote p {
  font-size: 17px;
  line-height: 25px;
}
.typography pre {
  background: #F7F7F7;
  border: 1px solid #E4E4E4;
  font-family: Courier, monospace;
  margin: 0 0 20px 0;
  padding: 15px;
  clear: both;
}

/* ADDRESS
-------------------------------------------- */
address {
  display: block;
  margin-bottom: 20px;
}

.Page {

}

body {
    :not(.head) {
        line-height: 1.5rem;

        & h1, & h2, & h3, & h4, & h5 {
            margin-block: 0.5em;
            line-height: normal;
        }

    }

    & h1:not(.head > h2, .open > h2, article > h2) {
        font-size: 2.625rem;
        font-weight: normal;
        color: var(--blue);
    }

    & h2:not(.head > h2, .open > h2, article > h2) {
        font-size: 2.375rem;
        font-weight: normal;
        color: var(--blue);
    }

    & h3:not(.head > h2, .open > h2, article > h2) {
        font-size: 2.25rem;
        font-weight: normal;
        color: var(--blue);
    }

    & h4:not(.head > h2, .open > h2, article > h2) {
        font-size: 2rem;
        font-weight: normal;
        color: var(--blue);
    }

    & h5:not(.head > h2, .open > h2, article > h2) {
        font-size: 1.75rem;
        font-weight: normal;
        color: var(--blue);
    }

    & h6:not(.head > h2, .open > h2, article > h2) {
        font-size: 1.5rem;
        font-weight: normal;
        color: var(--blue);
    }
}
