/*
Theme Name: Derniertec
Theme URI: https://wordpress.org/themes/derniertec/
Author: John Paul
Author URI: https://www.facebook.com/ob.johnpaul
Description: Derniertec brings your site to life with immersive features. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your page contents with multiple page templates. This theme is built using bootstrap v3.3.7 thus it works on any device without any bugs.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: derniertec
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-header, custom-menu,  featured-images, footer-widgets, post-formats, threaded-comments

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.
*/
/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  color: #5a5a5a;
}

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.sticky{
	
}
.gallery-caption{
	
}
.bypostauthor{
	
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
        white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.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;
	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. */
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
}
/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }
	/* Hover menu in big screen resolution*/
	ul.nav li.dropdown:hover > ul.dropdown-menu {
		display: block;    
	}
	
	.caret-right {
		border-left: 4px solid;
		border-bottom: 4px solid transparent;
		border-top: 4px solid transparent;
	}
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}
textarea {
    width: 100%;
    height: 150px;
    padding: 12px 20px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    resize: none;
}
button:hover, input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover {
	opacity:0.8;
}
button, input[type=button], input[type=reset], input[type=submit] {
    background-color: #33bbba;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}
.entry-content img{
	float: left;
    margin-right: 10px;
}
.nav-links div{
	display:inline-block;
}
.nav-links div a{
	font-size: 17px;
	display: inline-block;
	color: #333;
	font-weight:bold;
}
.nav-links .nav-previous{
	float:left;
}
.nav-links .nav-next{
	float:right;
}
.secondary{
	padding-top:70px;
	padding-bottom:30px;
}
.sidebar aside{
	padding: 10px;
    border: 1px solid rgba(204, 204, 204, 0.21);
    margin-bottom: 20px;
	-webkit-box-shadow: 0px 5px 5px 1px rgba(158,158,158,0.5);
	-moz-box-shadow: 0px 5px 5px 1px rgba(158,158,158,0.5);
	box-shadow: 0px 5px 5px 1px rgba(158,158,158,0.5);
	text-align:center;
	border-radius:5px;
}
.sidebar aside ul{
	text-align:left;
}
.sidebar aside input{
	border:inset 2px #ccc;
	border:1px solid #ccc;
	padding:5px;
}
.sidebar aside textbox{
	padding:10px;
}
.sidebar aside input[type=button],.sidebar aside  input[type=reset],.sidebar aside  input[type=submit]{
	background-color: #696363;
    color: #fff;
    font-size: 15px;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
.sidebar aside input[type=button]:hover,.sidebar aside  input[type=reset]:hover,.sidebar aside  input[type=submit]:hover{
	opacity:0.8;
}
.sidebar aside .widget-title{
	margin-top: 10px;
	margin-bottom: 20px;
	padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}
.main_container{
	margin-top: 100px;
    margin-bottom: 40px;
}
.text-center{
	text-align:center;
	padding-bottom:40px;
}
.footer{
	background-color: rgba(0, 0, 0, 0.85);
	padding:40px;
}
.footer a {
    color: #d4d4d4;
}
.tagcloud a {
	font-family:cambria;
	opacity: 0.80; 
	color: #FFF; 
	display: inline-block; 
	margin: 0 5px 5px 0; 
	padding: 0 6px;
	line-height: 30px;
	border-radius: 5px;
}
.tagcloud a:nth-child(9n){background-color: #4A4A4A;}
.tagcloud a:nth-child(9n+1){background-color: #428BCA;}
.tagcloud a:nth-child(9n+2){background-color: #5CB85C;}
.tagcloud a:nth-child(9n+3){background-color: #D9534F;}
.tagcloud a:nth-child(9n+4){background-color: #567E95;}
.tagcloud a:nth-child(9n+5){background-color: #B433FF;}
.tagcloud a:nth-child(9n+6){background-color: #00ABA9;}
.tagcloud a:nth-child(9n+7){background-color: #B37333;}
.tagcloud a:nth-child(9n+8){background-color: #FF6600;}
.tagcloud a:nth-child(9n+9){background-color: #428BCA;}
.tagcloud a:nth-child(9n+10){background-color: #5CB85C;}
.tagcloud a:nth-child(9n+11){background-color: #D9534F;}
.tagcloud a:nth-child(9n+12){background-color: #567E95;}
.tagcloud a:nth-child(9n+13){background-color: #4A4A4A;}

#back-top {
	position: fixed;
	bottom: 10px;
    right: 30px;
	opacity: 0.7;
	display:none;
}

#back-top a {
	width: 108px;
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;

	/* transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover {
	color: #fff;
}

/* arrow icon (span tag) */
#back-top span {
	padding: 10px;
	width: 108px;
	height: 108px;
	display: block;
	margin-bottom: 7px;
	background: #000 url(images/up-arrow.png) no-repeat center center;

	/* rounded corners */
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;

	/* transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
	opacity:0.4;
}
.navbar-inverse{
	background-color: #101010;
}
#back-top a:hover span {
	background-color: #000;
	opacity:0.7;
}
footer hr{
	border-top: 1px solid #333;
}
footer .widget-title{
	text-align:center;
}
body::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}
body::-webkit-scrollbar-thumb {
    background-color: #3366FF;
    border-radius: 10px;
    background-image: -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent);
}
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
    border-radius: 10px;
}
.marbot10{
	margin-bottom: 10px;
}
.entry-footer div{
	margin-right: 15px;
    margin-bottom: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 30px;
    display: inline-block;
    background-color: #f3f9ff;
    border-radius: 15px;
	border: 1px solid #f0f1f3;
}
.thumbnail_box{
	padding:5px;
	border-radius:5px;
	-webkit-box-shadow: 0px 0px 5px 1px rgba(158,158,158,1);
	-moz-box-shadow: 0px 0px 5px 1px rgba(158,158,158,1);
	box-shadow: 0px 0px 5px 1px rgba(158,158,158,1);
	text-align:center;
}
.thumbnail img{
	padding:5px;
	border-radius:25px;
	-webkit-box-shadow: 0px 0px 5px 1px rgba(158,158,158,1);
	-moz-box-shadow: 0px 0px 5px 1px rgba(158,158,158,1);
	box-shadow: 0px 0px 5px 1px rgba(158,158,158,1);
	text-align:center;
}
.border_none{
	border:none !important;
}
.page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	border: 1px solid #eee;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
}
.page-numbers.current,
a.page-numbers:hover {
	background: #f9f9f9;
}

.content-area article{
	display:inline-block;
	padding: 20px;
	border:1px solid #eee;
	width:100%;
	margin-bottom:10px;
}
@media screen and (max-width: 767px){
	.h1, h1 {
		font-size: 26px;
	}
}
@media (min-width: 768px) and (max-width: 789px){
	body .container {
		width: 715px;
	}
}
@media (min-width: 992px) and (max-width: 1020px){
	body .container {
		width: 900px;
	}
}
@media (min-width: 1200px) and (max-width: 1220px){
	body .container {
		width: 1150px;
	}
}
@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 20px;
  }
}

@media (min-width: 1200px) {
  .featurette-heading {
    margin-top: 40px;
  }
}

