body {
    font: 16px/27px 'Hind', Helvetica, Arial, sans-serif;
    color: #747474;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    margin-top: 0;
    font-family: 'Hind', sans-serif;
    letter-spacing: 0px;
    font-weight: 500;
}

h1 {
    font-size: 54px;
    line-height: 54px;
    margin-bottom: 24px;
}

h2 {
    font-size: 41px;
    line-height: 51px;
    margin-top: 27px;
    margin-bottom: 27px;
}

h3 {
    font-size: 24px;
    line-height: 37px;
    margin-top: 27px;
    margin-bottom: 27px;
}

h4 {
    font-size: 20px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

h5 {
    font-size: 18px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

h6 {
    font-size: 16px;
    line-height: 24px;
    margin-top: 24px;
    margin-bottom: 24px;
}

/*---- Typography Media queries ---- */

@media (max-width: 767px) {
    
    .tagline, 
    .intro {
        font-size: 1.1em;
        line-height: 1.4em;
    }

    .lead {
        line-height: 1.5em;
        font-size: 1.2em;
        font-weight: inherit;
    }
    
    header.welcome-screen h1 {
        font-size: 32px;
        line-height: 44px;
        margin: 0 0 24px 0;
        color: #fff;
    }

    h1 {
        font-size: 32px;
        line-height: 44px;
        margin-bottom: 24px;
    }

    h2 {
        font-size: 26px;
        line-height: 34px;
        margin-top: 20px;
        margin-bottom: 20px;
    }


    h3 {
        font-size: 24px;
        line-height: 34px;
        margin-top: 27px;
        margin-bottom: 27px;
    }
    
}

.lead  {
    margin-bottom: 27px;
    font-size: 21px;
    line-height: 33px;
    margin-top: 0px;
}

.lead.text-center {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.intro {
    font-size: 1.3em;
    line-height: 1.6em;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* =Links
-------------------------------------------------------------- */

a {
    color: #222;
}

a:visited, 
a:active,
a:focus {
    color: #222;
}

a:hover {
    color: #222;
    text-decoration: underline;
}


h1 a, 
h2 a, 
h3 a, 
h4 a, 
h5 a,
h6 a {
    color: #222;
}

h1 a:hover, 
h2 a:hover, 
h3 a:hover, 
h4 a:hover, 
h5 a:hover, 
h6 a:hover {
    text-decoration: none;
    color: #222;
}

h1 a:active, h2 a:active, h3 a:active, h4 a:active, h5 a:active, h6 a:active,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited,
h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus 
h1 a:active,  h2 a:active,  h3 a:active,  h4 a:active,  h5 a:active,  h6 a:active,
h1 a:visited,  h2 a:visited,  h3 a:visited,  h4 a:visited,  h5 a:visited,  h6 a:visited,
h1 a:focus,  h2 a:focus,  h3 a:focus,  h4 a:focus,  h5 a:focus,  h6 a:focus
{
    color: #222;
}

/* = 3.2 Sanitation */


p:first-child,
ul:first-child, 
ol:first-child, 
pre:first-child, 
table:first-child, 
blockquote:first-child {
    margin-top: 0px;
    margin-bottom: 27px;
}

p, 
ul, 
ol, 
pre, 
table, 
blockquote {
    margin-top: 0px;
    margin-bottom: 27px;
}

p {
    margin-top: 0;
}

hr {
    border-top: 1px solid #eee;
    margin: 27px auto;
    max-width: 940px; 
}

ul ul, 
ol ol, 
ul ol, 
ol ul {
    margin-top: 0;
    margin-bottom: 0;
}

b, strong, em, small, code {
    line-height: 1;
}

sup, sub {
    vertical-align: baseline;
    position: relative;
    top: -0.4em;
}

sub {
    top: 0.4em;
}

p > :first-child, 
h1 > :first-child, 
h2 > :first-child, 
h3 > :first-child, 
h4 > :first-child, 
h5 > :first-child, 
h6 > :first-child {
    margin-top: 0;
}


/* pull quotes */

.pull-quote {
    font-size: 24px;
    line-height: 36px;
    width: 38%;
    min-width: 250px;
    float: right;
    margin: 0 -108px 54px 54px;
    padding-left: 30px;
    position: relative;
    color: #222;
    font-style: italic;
    border-left: 3px solid #222;
}

@media ( max-width: 1200px ) {
    .pull-quote {
        margin-right: 0;
    }
}

@media ( max-width: 500px ) {
    .pull-quote {
        width: 100%;
        min-width: 0;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }
}

.wp-caption img.size-full {
    margin-bottom: 10px;
}

img.size-full + .wp-caption-text {
    margin-bottom: 54px;
}

.tiled-gallery {
    margin: 54px 0;
}

.wp-caption-text, 
.gallery-caption {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.7;
}

.gallery dt {
    border: none;
    margin: 0;
    padding: 0;
}

.gallery dl {
    padding: 0;
    margin: 0;
}

.gallery img {
    border: none !important;
}

.gallery {
    margin: 46px 0;
}

.wp-caption {
    text-align: center;
    max-width: 100%;
}

.aligncenter {
    text-align: center;
}

img.aligncenter {
    display: block;
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
}

.img-left, 
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.img-right, 
.alignright {
    float: right;
    margin: 0 0 25px 20px;
}

.assistive-text, 
.screen-reader-text {
    position: absolute;
    left: -9999px;
    height: 1px;
    width: 1px;
}

.wp-playlist-current-item,
.wp-playlist-current-item {
    margin-bottom: 16px;
}

.wp-playlist-item,
.wp-playlist .wp-playlist-item {
    border-width: 0px;
    padding: 5px;
    border-radius:4px;
}

.wp-playlist-item-length,
.wp-playlist-item-length {
    right: 8px;
    top: 5px;
}

.wp-playlist-tracks,
.wp-playlist-tracks {
    margin-top: 18px;
}

.wp-playlist-playing,
.wp-playlist-playing {
    background: #fefefe !important;
}

.btn, 
.btn:visited
{
    border: 2px solid #000;
    box-shadow: none;
    text-shadow: none;
    border-radius: 50px;
    color: #000;
    font-size: 14px;
    line-height: 27px;
    transition: all 0.2s linear;
    margin: 0 0 10px 0;
    padding: 15px 30px;
    opacity: 1;
    transition: all 0.2s linear;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    background: transparent;
}

.btn:hover,
.btn:focus
{
    color: #000;
    text-decoration: none;
    box-shadow: none;
    opacity: 0.6;
    outline: none;
}

/* General forms */
select,
textarea, 
input[type="text"], 
input[type="password"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="date"], 
input[type="month"], 
input[type="time"], 
input[type="week"], 
input[type="number"], 
input[type="email"], 
input[type="url"], 
input[type="search"], 
input[type="tel"], 
input[type="color"], 
.uneditable-input {
    background: transparent;
    box-shadow: none;
    transition: border 0.2s linear 0s, box-shadow 0.2s linear 0s;
    width: 100%;
    max-width: 600px;
    line-height: 27px;
    border-radius: 0px;
    color: #171717;
    display: inline-block;
    font-size: 18px;
    margin-bottom: 10px;
    padding: 15px;
    vertical-align: middle;
    border: 1px solid #3c3c3c;
}

select:focus, 
textarea:focus, 
input[type="text"]:focus, 
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus, 
input[type="date"]:focus, 
input[type="month"]:focus, 
input[type="time"]:focus, 
input[type="week"]:focus, 
input[type="number"]:focus, 
input[type="email"]:focus, 
input[type="url"]:focus,
input[type="search"]:focus, 
input[type="tel"]:focus, 
input[type="color"]:focus, 
.uneditable-input:focus {
    box-shadow: none;
    outline: none;
    border-color: #222;
}

input[type="submit"] {
    padding: 10px 30px;
    min-width: 150px;
}

textarea {
    height: 180px;
}

label {
    font-weight: normal;
}

form .error {
    border: 1px solid red;
}

form label.error {
    border: none;
}

legend {
    margin: 27px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

.alert {
    border-radius: 0;
    padding: 10px;
}


@media (max-width: 767px) {
    blockquote:before {
        font-size: 20px;
        left: 0;
    }
}

blockquote {
    border: none;
    padding: 0;
    line-height: 30px;
    position: relative;
    max-width: 800px;
    margin: 54px auto;
    font-size: 24px;
    line-height: 36px;
    color: #222;
    font-style: italic;
    border-left: 3px solid #222;
    padding-left: 30px;
    margin-left: 30px;
    text-align: left;
}

@media (max-width: 767px) {
    blockquote {
        font-size: 22px;
        line-height: 34px;
    }
}

blockquote cite,
blockquote footer, 
blockquote small, 
blockquote .small {
    display: block;
    margin-top: 20px !important;
    font-size: 16px;
    font-style: normal;
    color: inherit;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

blockquote footer::before, 
blockquote small::before, 
blockquote .small::before {
    content: "";
}


@media ( max-width: 600px ) {
    .single blockquote {
        margin-left: 0px;
    }
}

/* lists */

ul, ol {
    padding: 0 0 0 20px;
    margin: 20px 0 30px 0;
}

/* second level */
ul li ul, 
ol li ol {
    margin: 0;
}

/* third level */
ul li ul li ul, 
ol li ol li ol { 
    margin: 0;
}

li {
    line-height: inherit;
}

ul.list-group {
    margin: 0 0 40px 20px;
}

/* definition lists */

dl {
    margin: 30px 0;
}

dl dt {
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #eee;
}

dl dd {
    margin: 0 0 10px 0;
}

/* code */

code {
    padding: 20px;
    display: block;
    margin: 27px 0;
    font-size: 14px;
    line-height: 27px;
}

pre {
    border: none;
    border-radius: 0px;
    margin: 27px 0;
    padding: 0px;
    display: block;
    font-size: 14px;
    line-height: 27px;
    word-break: break-all;
    word-wrap: break-word;
    color: #333;
    background-color: transparent;
    border: none;
}

/* other */

big {
    font-size: 1.6em;
}

cite {
    color: #666;
    font-size: 12px;
}

.tagline {
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
}

/* Bootstrap basics */

/* tables */

.table {
    margin-top: 20px;
    margin-bottom: 30px;
}

table > tbody > tr:nth-child(2n+1) > td, 
table > tbody > tr:nth-child(2n+1) > th {
    background-color: #F9F9F9;
}

table {
    margin: 20px 0 30px 0;
}

thead {
    background: #222;
    color: #fff;
    font-weight: normal;
    border-bottom: none;
    padding: 4px 10px;
}

thead th {
    padding: 4px 10px;
}

tbody th, 
tbody td {
    padding: 4px 10px;
}

.table > thead > tr > th {
    border: none;
    font-weight: normal;
}

aside table#wp-calendar {
    width: 100%;
}

.table > thead > tr > th, 
.table > tbody > tr > th, 
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 10px 20px;
    line-height: 27px;
    vertical-align: middle;
    border-top: none;
}

/* Buttons */

.btn, 
.btn:visited,
.wpcf7-submit,
.contact-form .pushbutton-wide,
.contact-form .pushbutton-wide:visited,
.btn.btn-default, 
.btn.btn-default:visited,
.nav-links a,
.nav-links a:visited,
.main-content-area #infinite-handle span,
#commentform #submit,
#commentform #submit:focus,
#commentform #submit:visited
{
    border: 2px solid #000;
    box-shadow: none;
    text-shadow: none;
    border-radius: 50px;
    color: #000;
    font-size: 14px;
    line-height: 27px;
    transition: all 0.2s linear;
    margin: 0 0 10px 0;
    padding: 15px 30px;
    opacity: 1;
    transition: all 0.2s linear;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    background: transparent;
    min-width: 180px;
}

.btn:hover,
.btn:focus,
.wpcf7-submit:hover,
.wpcf7-submit:focus,
#commentform #submit:hover,
#commentform #submit:focus,
.contact-form .pushbutton-wide:hover,
.contact-form .pushbutton-wide:focus,
.btn.btn-default:hover, 
.btn.btn-default:focus,
.nav-links a:hover,
.main-content-area #infinite-handle span:hover,
#commentform #submit:hover
{
    color: #000;
    text-decoration: none;
    box-shadow: none;
    opacity: 0.6;
    outline: none;
}

body .btn-primary:hover, 
body .btn-primary:focus {
    border-color: #1a8fdd;
    background: transparent;
}

body .btn-success, 
body .btn-success:visited {
    border-color: #7dd586;
}

body .btn-success:hover,
body .btn-success:focus   {
    background: transparent;
    outline: none;
}

body .btn-warning, 
body .btn-warning:visited {
    border-color: #e9c134;
}

body .btn-warning:hover, 
body .btn-warning:focus  {
    border-color: #dfb72c;
    background: transparent;
    outline: none;
}

body .btn-info, 
body .btn-info:visited {
    border-color: #3498db;
}

body .btn-info:hover, 
body .btn-info:focus {
    background: transparent;
    outline: none;
}

body .btn-danger, 
body .btn-danger:visited {
    border-color: #eb4f18;
}

body .btn-danger:hover, 
body .btn-danger:focus {
    background: transparent;
}

body .btn-dark, 
body .btn-dark:visited {
    border-color: #232121;
}

body .btn-dark:hover, 
body .btn-dark:focus {
    background: transparent;
}

body .btn-light, 
body .btn-light:visited {
    background: none;
    color: #fff;
    border-color: #fff;
}

body .btn-light:hover, 
body .btn-light:focus {
    background: none;
    color: #fff;
    border-color: #fff;
}

body .btn-link, 
body .btn-link:visited {
    background: none;
    color: #428BCA !important;
}

body .btn-link:hover, 
body .btn-link:focus {
    background: none;
    color: #428BCA !important;
}

.btn-lg {
    padding: 15px 30px;
}

.btn.margin-top {
    margin-top: 50px;
}

.btn .fa-spinner {
    margin-left: 8px;
    display: none;
}

/* Alerts */

.alert {
    border: none;
    padding: 13px 20px;
    border-radius: 0;
    margin: 0 0 27px 0;
}

.alert.alert-success {
    background: #7DD586;
    color: #fff;
    border: none !important;
}

.alert.alert-info {
    background: #3498DB;
    color: #fff;
}

.alert.alert-warning {
    background: #E9C134;
    color: #fff;
}

.alert.alert-danger {
    background: #c0392b;
    color: #fff;
    border: none !important;
}