/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* comes from bootstrap */
img {
    max-width: 100%;
    height: auto;
}

html {
    height: 100%;
}

.main-content {
    overflow: auto;
}

body {
    font-size: 1rem;
    line-height: 1.7;
    color: #606d6e;
    /* min-height: 100vh;
    position: relative; */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #454B4D;
    padding-top: 20px;
    padding-bottom: 10px;
}

li {
    padding-top: 3px;
    padding-bottom: 3px;
}

blockquote {
    border-left: 10px solid #257740;
    margin: 0;
    margin-top: 4rem;
    padding: 0 2rem;
    color: #257740;
}

blockquote>blockquote {
    margin: 0;
    text-align: right;
    border: 0px;
}

a {
    color: #1F8CD6;
    text-decoration: none;
}

a:hover {
    color: #175E91;
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

/* Utility Classes */
.wrapper {
    margin: 0 3rem;
}

.padding {
    padding: 3rem 1rem;
}

.left {
    float: left;
}

.right {
    float: right
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Content Styling */
.subtitle {
    color: #454B4D;
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 1.5rem;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    /* box-sizing: border-box; */
}

.article-title {
    color: #257740;
}

.article-subtitle {
    color: #808080;
    font-style: italic;
}

.author {
    color: #454B4D;
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 1.25rem;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 0;
    /* box-sizing: border-box; */
}

.header .padding {
    padding: 1rem 0;
}

.header {
    background-color: #ED5702;
    color: #eee;
}

.header a {
    color: #fff;
}

.header .logo {
    font-size: 1.7rem;
    text-transform: capitalize;
}

.header-image {
    background-repeat: repeat;
}

.footer {
    background-color: #20471B;
    color: #ffffff;
    /* position: absolute; */
    width: 100%;
    /* clear:both; */
}

.orange-button {
    display: inline-block;
    color: #ffffff;
    background-color: #f14a00;
    padding: 0.35em 1.2em;
    border: 0.3em solid #f14a00;
    margin: 0 0.3em 0.3em 0;
    border-radius: 2em;
    box-sizing: border-box;
    box-shadow: 0px 10px 10px gray;
}

.orange-button > a {
    color: inherit;
    text-decoration: none;
    padding-right: 3em;
    padding-left: 3em;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.orange-button:hover {
    color: #35701d;
    background-color: #ffffff;

    @media all and (max-width:30em) {
        a.button1 {
            display: block;
            margin: 0.4em auto;
        }

    }
}

.white-button {
    display: inline-block;
    padding: 0.35em 1.2em;
    background-color: #ffffff;
    color: #35701d;
    border: 0.3em solid #f14a00;
    margin: 0 0.3em 0.3em 0;
    border-radius: 2em;
    box-sizing: border-box;
    box-shadow: 0px 10px 10px gray;
}

.white-button > a {
    color: inherit;
    text-decoration: none;
    padding-right: 3em;
    padding-left: 3em;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
}

.white-button:hover {
    color: #ffffff;
    background-color: #f14a00;

    @media all and (max-width:30em) {
        a.button1 {
            display: block;
            margin: 0.4em auto;
        }

    }
}

/* Menu Settings */
.main-nav ul {
    text-align: center;
    letter-spacing: -1em;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    display: inline-block;
    letter-spacing: normal;
}

.main-nav ul li a {
    position: relative;
    display: block;
    line-height: 45px;
    color: #fff;
    padding: 0 20px;
    white-space: nowrap;
}

.main-nav>ul>li>a {
    border-radius: 2px;
}

/*Active dropdown nav item */
.main-nav ul li:hover>a {
    background-color: #175E91;
}

/* Selected Dropdown nav item */
.main-nav ul li.selected>a {
    background-color: #fff;
    color: #175E91;
}

/* Dropdown CSS */
.main-nav ul li {
    position: relative;
}

.main-nav ul li ul {
    position: absolute;
    background-color: #1F8DD6;
    min-width: 100%;
    text-align: left;
    z-index: 999;

    display: none;
}

.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover>ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children>a {
    padding-right: 30px;
}

.main-nav .has-children>a:after {
    font-family: FontAwesome;
    content: '\f107';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children>a:after {
    content: '\f105';
}

/* Custom classes */

.book-cover {
    margin-bottom: 10px;
    height: 20em;
    width: auto;
}


.book-cover-small {
    height: 13em;
    width: auto;
}


/*
    src: https://www.w3schools.com/howto/howto_js_scroll_to_top.asp
*/
#btnTop {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 15px;
    /* Place the button at the bottom of the page */
    right: 15px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: #ED5702;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    border-radius: 20px;
    /* Rounded corners */
    font-size: 20px;
    /* Increase font size */
    height: 50px;
    width: 50px;
}

.social-media-icon:hover {
    color: #20471B;
}

.navbar-brand {
    font-family: 'arial narrow';
}

.pagination>li {
    background-color: #20471B;
}

.pagination li {
    border: none !important;
}

.pagination>li>a {
    color: #ffffff;
}

.current-page {
    /*background-color: #20471B;
    color: #ED5702;*/
    background-color: #ED5702 !important;
    color: #20471B;
}

.social-buttons {
    margin-bottom: 48px;
}

.comments-section {
    margin-top: 2em;
}


.FormContainer {
    width: 90%;
    heigth: auto;
    padding: 20px;
    background-color: #ffcfac;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.15);
}