/*!
Theme Name: Bootstrap to Wordpress
Theme URI: http://underscores.me/
Author: Paulo Nogarol
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bootstrap-to-wordpress
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Bootstrap to Wordpress is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
# New from custom 
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/

/* Active Page Highlighted */
.navbar-nav > li.current_page_item a,
.navbar-nav > li.current_page_parent a {
    color: white
}


/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

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

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* FROM CUSTOM */

/* COLOUR and FONTS REFERENCES

Green:      #79b044
Salmon:     #dd5638
Blue Gray:  #3e4249 */

/* GENERAL */


body{
    margin: 50px 0 0;
	font-family: 'Work Sans', sans-serif;
	background: url('/wp-content/themes/bootstrap-to-wordpress/assets/img/tile.jpg') repeat;
}

.logged-in .navbar-fixed-top {
	top: 32px;
}

/* === GLOBAL === */

h1,h2,h3,h4,h5,h6 {
    font-weight: bold
}

h1 {
    font-size: 2.5em;
}

h1 small {
	color: white;
}

h1,h2 {
	margin: 0 0 40px;
}
h2 {
padding: 0 0 15px;
}

h3 {
    margin: 20px 0;
    margin: 20px 0 20px;
}

h4 {
    font-size: 18px;
    margin: 20px 0 20px;
}

p {
	margin: 0 0 15px;
}

p.lead {
    font-weight: normal;
    font-size: 1.45em
}

a:link, a:visited {
    color: #db4b38;
}

a:hover {
    text-decoration: none;
    color: #c9302c
}

button, input, .btn, a.btn {
	color: white;
}

.btn {
	font-weight: bold;
}

.btn-danger{
    background-color: #dd5638;
    border-color: #d95131;
}

.btn-success,
.btn-info {
    background-color: #79b044;
    border-color: #79b044;
}

.btn-success:hover,
.btn-info:hover {
    background-color: #6a9b3d;
    border-color: #6a9b3d;
}

img {
    max-width: 100%;
}

.modal-content {
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/tile.jpg") top left repeat;
}

blockquote {
    margin: 0 0 10px;
    text-align: left;
    font-style: italic;
    border: none;
    vertical-align: top;
}

cite {
    display: block;
    font-style: normal;
    font-size: 16px;
    color: rgb(182, 182, 182);
    margin: 10px 0 0;
}

/* HERO */
#hero button {
    margin: 0 0 10px;
}

#hero {
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/hero-bg.jpg") 50% 0 repeat fixed;
    color: white;
    padding: 40px 0 0;
    min-height: 500px;
}

.hero-text {
    padding: 50px 20px 0;
    text-align: center;
}

.hero-text p{
    font-size: 18px;
}

#price-timeline {
    text-align: center;
    padding-top: 15px;
    margin: 0 0 50px;
}

#price-timeline .price h4{
    font-size: 16px;
}

#price-timeline .price.active {
    background-color: #dd5638;
}

#price-timeline .price {
    display: inline-block;
    background-color: #3e4249;
    position: relative;
    margin: 0 1% 0;
    width: 30%;
    vertical-align: top;
    padding: 3px 20px 30px;
}

#price-timeline .price span {
    background-color: #101010;
    position: absolute;
    font-size: 18px;
    font-weight: bold;
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 100%;
    bottom: -35px;
    margin-left: -35px;
}

#price-timeline .price small {
    display: block;
    color: white;
}

/* LAYOUT */

section {
    padding: 60px 0 60px;
}

section.main-content {
    padding: 40px 0
}

.section-header {
    text-align: center;
    margin: 0 0 20px;
}


.feature-image {
    display: table;
    width: 100%;
}

.feature-image-default {
    background: url("..img/stuff-feature.jpg") no-repeat;
    background-size: cover
}

.feature-image-default-alt {
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/stuff-feature.jpg") no-repeat;
    background-size: cover
}

.feature-image h1 {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: white
}

#primary {
    padding-top: 40px;
    padding-bottom: 40px
}

.row + .row {
    margin-top: 20px
}

/* OPTIN */

#optin {
    background-color: #3e4249;
    padding: 20px 0 20px;
}

#optin p{
    color: white;
    padding-top: 15px;
    font-size: 1.2em;
}

/* BOOST */

#boost {
    background:url("/wp-content/themes/bootstrap-to-wordpress/assets/img/generic-bg.jpg");
}

#course-features {
    background: #3e4249;
    color: white;
    text-align: center;
}

#project-features {
    text-align: center;
    background:url("/wp-content/themes/bootstrap-to-wordpress/assets/img/generic-bg.jpg");
}

#featurette {
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/stuff-bg.jpg") 50% 100% repeat fixed;
    background-size: cover;
    text-align: center;
    color: white;
}

/* WHO TAKE */
#who-take {
	background: #fff;
}

/* INSTRUCTOR */

#instructor {
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/brad-elvis.png") 90% -10px no-repeat;
}

#instructor h2 {
    margin: 0 0 20px;
    padding: 0;
}

.badge.social {
    background: #ccc;
    height: 40px;
    width: 40px;
    line-height: 38px;
    color: white;
    font-size: 24px;
    border-radius: 100%;
}

#instructor p {
    margin: 20px 0 0;
}

.badge.social.twitter:hover {
    background: #55acee;
}

.badge.social.facebook:hover {
    background: #3b5998;
}

.badge.social.google:hover {
    background: #db4b39;
}

#instructor .num {
    display: table;
    background: #dd5638;
    font-size: 24px;
    font-weight: bold;
    height: 140px;
    width: 140px;
    border-radius: 100%;
    color: white;
    text-align: center;
}

#instructor .num-content span {
    font-weight: normal;
    display: block;
    font-size: 20px;
}

#instructor .num-content {
    display: table-cell;
    vertical-align: middle;
}

/* TESTIMONIALS */

#testimonials {
    text-align: center;
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/generic-bg.jpg");
}

#testimonials img {
    border-radius: 50%;
    margin-bottom: 50px;
}

/* SIGNUP */
#signup {
    text-align: center;
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/hipster-stuff.jpg") center center repeat fixed;
    background-size: cover;
    color: white;
    padding: 140px 0;
    vertical-align: middle;
}

#signup h2 {
    margin: 0;
    font-weight: normal;
}

#signup button {
    display: block;
    font-size: 24px;
}

/* FOOTER */
footer {
    background: #3e4249;
    color: white;
    padding: 20px 0 10px;
}

footer p {
    display: inline-block;
    text-align: left;
    font-size: 12px;
    padding-top: 2px
}

footer a:link, footer a:visited {
    color: white;
}

footer a:hover {
    color: #c9302c
}

footer li.signup-link a {
    color: #dd5638;
}

footer li.signup-link a:hover {
    font-weight: bold
}

/* BLOG */

.post,
.widget{
    position: relative;
    background: white;
    border: solid #ddd 1px;
    border-radius: 4px;
    margin: 0 0 40px;
}

.blog {
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/generic-bg.jpg") repeat;
}

.post header,
.post .post-excerpt,
.post .post-content {
    padding: 20px;
}

.post header h1,
.post header h3 {
    margin: 0 0 15px;
    padding: 0 0 15px;
    border-bottom: solid 1px #ddd
}

.post-image img {
    width: 100%;
    height: auto;
}

.post-details {
    font-size: 12px;
    width: 90%;
}

.post header h3 {
    margin: 0 0 15px;
    padding: 0 0 15px;
    border-bottom: solid 1px #ddd
}

.post-details i.fa,
.post-details i.fas {
    padding-left: 10px;
}

.post-details i.fa:first-child {
    padding-left: 0px
}

.content-body {
    padding: 20px;
}

.post-body {
    padding: 20px;
}

/* WIDGETS */

.widget {
    padding: 20px;
}

.widget h4 {
    margin: 0 0 10px;
    padding: 0 0 10px;
    border-bottom: solid 1px #ddd;
    font-weight: bold
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0
}

.widget ul li {
    margin: 0 0 5px
}

.widget ul li:hover {
    position: relative;
    left: 1px

}

/* COMMENTS  */

.post-comments-badge {
    height: 70px;
    width: 70px;
    text-align: center;
    display: table;
    background: #8bc653;
    border-radius: 100%;
    top: 25px;
    right: 20px;
    position: absolute;
    
}

.post-comments-badge:hover {
    background: #79b044
}

.post-comments-badge a {
    display: table-cell;
    vertical-align: middle;
    color: white;
    font-size: 20px;
    line-height: 20px
}

.post-comments-badge i.fas {
    display: block;
    font-size: 15px;
    padding: 0;
    margin-bottom: 4px
}

#comments h3 {
    text-align: center
}

#comments h4 {
    font-size: 1.5em;
}

#comments ol {
    list-style: none;
    padding: 0;
    margin: 0
}

#comments ol li {
    background: rgba(0,0,0,0.02);
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 4px;
    border: solid 1px rgba(0,0,0,0.03);
}

/* Specific Wordpress coment styles */
#comments footer {
    background: none;
    color: inherit
}

#comments footer a {
    color: inherit
}

#comments .comment-metadata {
    margin: 10px 0 0
}

/* RESOURCES */

.resource {
    width: 31.33333333%;
    float: left;
    margin: 0 3% 40px 0;
}

.resource:nth-child(3n) {
    margin-right: 0
}

.full-width.resources {
        background: url('/wp-content/themes/bootstrap-to-wordpress/assets/img/tile.jpg') repeat
}

/* CONTACT */

.full-width.contact {
    background: url('/wp-content/themes/bootstrap-to-wordpress/assets/img/tile.jpg') repeat
}

/* CUSTOM ICON SPRITES */

i.ci {
    display: inline-block;
    height: 40px;
    width: 40px;
    background: url("/wp-content/themes/bootstrap-to-wordpress/assets/img/icon-sprite.png") no-repeat;
}

.ci.ci-computer          { background-position: 0 0; }
.ci.ci-watch             { background-position: -40px 0; }
.ci.ci-calendar          { background-position: -80px 0; }
.ci.ci-community         { background-position: -120px 0; }
.ci.ci-instructor        { background-position: -160px 0; }
.ci.ci-device            { background-position: -200px 0; }

/* FORMS */

label {
    display: block;
    font-weight: bold
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
    color: #666;
    border: 1px solid #ccc;
    border-radius: 3px;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 10px;
}

input[type="submit"],
button[type="submit"] {
    display: inline-block;
    margin-bottom: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.33;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    border-radius: 6px;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    outline: none;
    border: none;
    background: #aaa
}

/* MEDIA QUERIES */

@media screen and (max-width: 991px) {
    #instructor .container {
        background: rgba(255, 255, 255, 0.8);
        padding: 20px;
    }
}

/* Fix the top margin when logged in */
@media screen and (max-width: 782px) {
	.logged-in .navbar-fixed-top {
		top: 46px
	}
}

@media screen and (max-width: 768px) {
    #optin p {
        margin: -14px 0 10px;
    }

    #featurette iframe {
        height: 240px
    }

    .resource {
        width: 48%;
        margin-right: 2%;
        min-height: 800px
    }
}

@media screen and (max-width: 568px) {
    #instructor .num {
        height: 110px;
        width: 110px;
        font-size: 20px
    }

    #instructor .num-content span {
        font-size: 16px

    }

    footer .nav {
        margin-top: 10px
    }

    footer p {
        width: 100%;
        clear: both;
        text-align: center;
        margin-top: 10px
    }

    .resource {
        width: 100%;
        margin-right: 0;
        min-height: 0

    }
}
