/*
	Theme Name: CEO News
	Theme URI: http://news.theceomagazine.com
	Description: 
	Version: 1.0
	Author: Daniel Gundi
	Author URI: http://danielgundi.com
	Tags: HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font-family: 'Lato', sans-serif;
	background-color: #eeeeee;
	color:#444;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Work Sans', sans-serif;
}

aside {
    margin-bottom: 1.5rem;
}

iframe {
    width: 100%;
}

blockquote {
    font-style: italic;
    color: #a5a4a4;
  /*
    background: #FCFCFC;
    border: 1px dotted #e0dada;
    */
    padding: 30px;
    margin: 10px;
}

blockquote::before {
    color: #e6e6e6;
    content: open-quote;
    font-size: 80px;
    line-height: 0.4em;
    margin-right: 10px;
    font-family: cursive;
    vertical-align: -0.4em;
}

blockquote::after {
    color: #e6e6e6;
    content: close-quote;
    font-size: 1px;
    font-family: cursive;
    line-height: 0.4em;
    margin-left: 10px;
    vertical-align: -0.4em;
}

blockquote p {
    display: inline;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}

a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
	text-decoration: none !important;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.card-footer h2 {
    font-size: 280%;
}

input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {	
	/*
	max-width:1280px;
	width:95%;
	margin:0 auto;
	position:relative;
	*/
}

.content-wrapper {
    padding: 80px 10px 10px 10px
}

@media (min-width: 1200px) {
    .container {
        width: 144rem;
    }

    #sidebar-left {
        padding-right: 1rem
    }

    #sidebar-right {
        padding-left: 1rem
    }
}

@media only screen and (max-width:480px) {
    .container {
        padding-left:0;
        padding-right:0;
    }
}

/*------------------------------------*\
    HEADER
\*------------------------------------*/

.header-inner {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 0px;
}

.logo-img {
    max-height: 80px;
}

#header-wrapper {
    background: #000;
    padding: 0;
    width: 100%;
    z-index: 99999;
}

#header-inner {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    padding-left: 0;
}

#header-wrapper .navbar {
    padding: 0;
}

#header-wrapper a {
    color: #ffffff;
}

#header-wrapper .navbar-nav a {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    padding: 1.85rem 1.4rem;
    text-transform: uppercase;
}

#adverttop-wrapper {
    min-height: 5rem;
    padding: 1.5rem 0;
}

.dfp-ad-leaderboard {
    width: 728px;
    height: 90px;
}

.dfp-ad-mrec {
    width: 300px;
    height: 250px;
}

.div-dfp-ad {
    margin: 0 auto;
}

#mainmenu .dropdown {
    position: relative;
}

#mainmenu .dropdown-menu {
    border: none;
    margin: 0;
    padding: 0;
    background:#000;
    border-radius: 0;
}

.btn-toggle {
    width: 6rem;
    height: 5rem;
    background: #000000;
    border: none;
    margin: 0;
    padding: 0;
}

.btn-toggle:focus {
    outline: none;
}

.btn-toggle i {
    font-size: 3.4rem;
    color: #a2a2a2;
}

.logo {
    width: 14.5rem;
}

.navbar-brand {
    padding: 0;
    margin-right: 2rem;
}

@media (max-width: 768px) {
    #header-inner {
        padding: 0;
        width: 100%;
    }
    .header-inner-items {
        margin: 0;
    }
    .header-inner-items .col-xs-4 {
        padding: 0;
        width: auto;
    }
}

/*------------------------------------*\
    FLYOUT MENU
\*------------------------------------*/

#flyout-wrapper {
    width: 29rem;
    position: fixed;
    top: 0;
    left: -29rem;
    height: 100vh;
    z-index: 1060;
    background: #444;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: .3rem .3rem .3rem rgba(0, 0, 0, 0.2);
}

#flyout-wrapper.active {
    left: 0;
}

#flyout-nav {
    height: 100vh;
    margin-left: 4rem;
}

#flyout-side {
    background: #555;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4rem;
    height: 100%;
}

#flyout-side ul li a {
    border-top: 1px solid #444;
    color: #888;
    cursor: pointer;
    float: left;
    overflow: hidden;
    text-align: center;
    -webkit-transition: all .3s;
    transition: all .3s;
    width: 100%;
}

#flyout-side ul li i {
    font-size: 2rem;
    padding: 1rem;
    width: 2rem;
    display: block;
}

#flyout-side ul li a:hover i {
    color:#fff;
}

#flyout-wrapper .navbar-nav {
    margin: 1rem;
}

#flyout-wrapper li.dropdown {
    position: relative;
    float: none;
    color: #292b2c;
    text-align: left;
    list-style: none;
    background-color: #444;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

#dismiss {
    width: 3.5rem;
    height: 3.5rem;
    line-height: 3.5rem;
    text-align: center;
    font-size: 3rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1050;
    display: none;
}

#flyout-wrapper .sidebar-header {
    padding: 2rem 5rem 1rem 2rem;
    background: #555;
}

#flyout-wrapper ul.components {
    padding: 2rem 0;
    border-bottom: 1px solid #47748b;
}

#flyout-wrapper ul p {
    color: #fff;
    padding: 1rem;
}

#flyout-nav ul li {
    border-top: 1px solid #555;
}

#flyout-nav ul li:first-child {
    border: none;
}

#flyout-nav ul li a {
    color: #fff;
    font-size: 1.4rem;
    line-height: 100%;
    padding: 1.4rem 0;
    text-transform: uppercase;
    font-family: "Asar",serif;
}

#flyout-nav ul li a:hover {
    color: #bbb;
    background:none;
}

/* Submenu items in flyout-sidebar */
#flyout-wrapper ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
}

a[data-toggle="collapse"] {
    position: relative;
}

#flyout-wrapper .dropdown-toggle::after {
    content: '+';
    color: #777;
    font-family: 'Open Sans', serif;
    font-size: 3.2rem;
    font-weight: 800;
    position: absolute;
    right: 0;
    top: 1.1rem;
    border: none;
    width: auto;
}

#flyout-wrapper .show > .dropdown-toggle::after {
    content: '_';
    top: 0;
}


#flyout-nav .dropdown-menu {
    width:100%;
    background: #444;
    border-top: 1px solid #555;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding-top: 0;
    margin: 0;
    padding-left: 6.6%;
}

.primary-nav .dropdown-menu {
    opacity: 0;
    height: 0;
    display: block;

    -webkit-transform-origin: top;
    transform-origin: top;
    -webkit-animation-fill-mode: forwards;  
    animation-fill-mode: forwards; 
    -webkit-transform: scale(1, 0);
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
}

.primary-nav .show .dropdown-menu {
    opacity: 1;
    height: auto;  
    -webkit-transform: scale(1, 1);
    transform: scale(1, 1);
}

.dropdown-item:focus, .dropdown-item:hover {
    background:none;
}

#metamenu {
    background:#444;
    min-height: 3.1rem;
}

#metamenu > ul {
    margin-left: 6rem;
}

#metamenu a {
    padding: 0 1.4rem !important;
    font-size: 1.4rem !important;
}

/*
a[aria-expanded="false"]::before, a[aria-expanded="true"]::before {
    content: '\e259';
    display: block;
    position: absolute;
    right: 20px;
    font-family: 'Glyphicons Halflings';
    font-size: 0.6em;
}
a[aria-expanded="true"]::before {
    content: '\e260';
}

*/

/* Social */

.facebook-btn:hover {
    background:#3b5998;
}

.twitter-btn:hover {
    background:#0084b4;
}

.google-btn:hover {
    background:#d34836;
}

.instagram-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}

.linkedin-btn:hover {
    background:#007bb6;
}

.youtube-btn:hover {
    background:#bb0000;
}

.rss-btn:hover {
    background:#f26522;
}


/*------------------------------------*\
    FEATURED
\*------------------------------------*/

.h100 {
    height: 100% !important;
    overflow: hidden;
}

.h50 {
    height: 50%;
    overflow:50%;
}

.post-overlay p {
    font-family: 'Lato', sans-serif;
    font-size: 1.8rem;
    line-height: 1;
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
}

.feature-50 article {
    height: 50%;
}

.feature-50 .post-overlay p {
    padding-top: 1rem;
    line-height: 1.2;
}

.feature-100 .post-overlay h2 {
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    padding-top: 1rem;
    line-height: 1.3;
    -webkit-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    -moz-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    -ms-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    -o-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
    text-transform: uppercase;
}

article.sm-feature .article-content  {
    margin:1.2rem;
}

@media (min-width: 1200px) {
    #featured-section {
       /* height: 37rem;*/
    }
}

@media only screen and (max-width:480px) {
    .feature-50 article {
        height: 20rem;
    }
    .content-wrapper {
        padding: 40px 10px 10px 10px
    }
    #metamenu > ul {
        margin-left: 0rem;
    }

    .feature-100 .post-overlay h2 {
        font-size:2rem;
    }

    .post-overlay p {
        font-size:1.5rem;
    }
}

/*------------------------------------*\
    SIDEBAR
\*------------------------------------*/

.section-side h3, .main-list-wrapper h3 {
    font-size:1.5rem;
}
.section-side article {
    margin-bottom: .3rem;
}

/*------------------------------------*\
    POST LIST
\*------------------------------------*/

article .article-content.content-right {
    margin-left:1.2rem;
}

article.sm-feature .article-content  {
    margin:1.2rem;
}

.main-list-wrapper .section-feature article .article-content {
    margin: 1.2rem 0;
}

.section-title h1 {
    font-weight: bold;
}

.section-title h2 {
    font-weight: bold;
    margin-bottom: 1rem;
    font-size:1.7rem;
    text-transform: uppercase;
}

.section-list article {
    background-color: #fff;
    padding:1.2rem;
}

.section-list.section-feature article {
    padding:0;
    margin-bottom:1.5rem;
}

.section-list.section-feature .card-img {
    max-height:250px;
    overflow: hidden;
}

.main-list .sm-feature .card {
    border:none;
}
.main-list .sm-feature .card-img {
    max-height:300px;
    overflow: hidden;
}

#featured-section .row {
    height: 100%;
}

#featured-section .card {
    overflow:hidden;
    height: 100%;
}

.card {
    height:100%;
    overflow: hidden;
    /*
    border: 1px solid #B7B5B5;
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 2px 1px rgba(161,162,163,0.68);
    -moz-box-shadow: 1px 1px 2px 1px rgba(161,162,163,0.68);
    box-shadow: 1px 1px 2px 1px rgba(161,162,163,0.68);
    */
}

.card.card-nb {
    border:none;
}

.card-img {
     opacity: 1;
}

.card-img:hover {
    opacity: 0.9;
}

.feature-100 article {
    height: 100%;
}
 .post-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #fff;
 }

 .card .date {
    position: absolute;
    right: .5rem;
    top: .5rem;
    color: #fff;
    font-size: .9rem;
 }

  .feature-50 .post-overlay h2 {
    color: #fff;
    font-size: 3.6rem;
    font-weight: bold;
    padding-top: 1rem;
    line-height: 1;
    -webkit-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    -moz-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    -ms-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    -o-text-shadow: 1px 1px 1px rgba(0,0,0,.3);
    text-shadow: 1px 1px 1px rgba(0,0,0,.9);
    text-transform: uppercase;
 }

 .post-overlay .card-footer {
    background-color: rgba(0,0,0,.2);
    position: relative;
 }

.feature-50 .post-overlay .card-footer {
    background-color: rgba(0,0,0,.4);
}

 span.feature-cat {
    clear: both;
    color: #fff;
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-top: -2rem;
    position: absolute;
    padding: .4rem 1rem;
    text-transform: uppercase;
    background: #eb0254;
    border-radius: 3px;
 }

span.list-cat a {
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
    color: #999;
    font-size: 1.1rem;
    display: block;
    margin-bottom: .55rem;
}

.main-list-wrapper {
    background: #ffffff;
}

.main-list h3 {
    font-size:2rem;
    line-height: 1.3;
}

.main-list p {
    font-size:1.5rem;
    color:inherit;
    color: #999;
    font-family: 'Lato', sans-serif;
}

.main-list .post-overlay p {
    color: #fff;
}
.main-list article {
    border-top:1px solid #eee;
}

.main-list article.feature-100  {
    padding:1.2rem 0;
    height:35rem;
}

.main-list article.sm-feature {
    padding:0;
}

article.single-view {
    background: #fff;
    margin-bottom: 1.5rem;
}

article.single-view .lead p {
    font-weight: bold;
}

article.single-view .article-inner {
    padding: 2rem;
}

article.single-view .card-img:hover {
    opacity: 1;
}

article.single-view .card {
/*    max-height: 800px;*/
}

article.single-view .author-img {
    margin-right: 1.5rem;
    margin-left: 1.5rem;
}
article.single-view .author-img img {
    max-width: 75px;
    border-radius: 50px;
}

article.single-view .author-content {
    width: 100%;
}

article.single-view .author-content p {
    margin-bottom: 0 !important;
}

article.single-view .author-content .fa {
    color: #ccc;
    margin: 0.3rem;
}

article.single-view .author-content a.author-name {
    color:#eb0254 !important;
}

article.single-view .author-content span.author-category {
    color: #ccc;
    text-transform: uppercase;
    font-size: 1.3rem;
    margin-left: .5rem;
}

article.single-view .author-content .date {
    color: #ccc;
    font-size: 90%;
}

article.single-view .article-content {
    padding: 2rem 8rem;
    font-size: 1.5rem;
}

article.single-view .article-content a {
    color: #365899;
}

article.single-view .article-content p {
    font-size: 1.6rem;
        line-height: 1.7;
    margin-bottom: 20px;
}

article.single-view .article-content ul li, article.single-view .article-content ol li {
    margin: 2rem;
}

article.single-view .card .date {
    font-size: 1.3rem;
}

article.single-view .card .card-imgback {
    margin-top: -140px;
}
article.single-view .card .card-img {
    margin-top: -5px;
}

article.single-view .post-overlay p {
    line-height: 1.5;
}

article.single-view .article-meta {
    padding: 0 3rem;
}

article.single-view .article-meta .date {
    font-size: 1.3rem;
}

article.single-view .article-content span.author {
    text-decoration: underline;
}

.section-list.section-feature .card-img{
    max-height: 250px;
    overflow: hidden;
}

.main-list-home .loop-3col .card-img {
    max-height: 250px;
    overflow: hidden;
}

.loop-3col .card-img{
    max-height: 250px;
    overflow: hidden;
}

@media only screen and (max-width:480px) {
    .main-list article.feature-100  {
        height:25rem;
    }

    article.single-view .article-content {
        padding: 2rem;
    }
}

/*------------------------------------*\
    POST VIEW
\*------------------------------------*/

body.single .section-title, body.category aside .section-title  {
    border-top: 5px solid #e0dfdf;
}

body.single .section-title h2:before, body.category .section-title h2:before  {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: -5px;
    left: 0;
    border-top: 5px solid #eb0454;
}

body.single .section-title h2, body.category .section-title h2 {
    position: relative;
    letter-spacing: 1px;
    display: inline-block;
}

@media only screen and (max-width:480px) {
    .single .section-title h2 {
        padding: 0 1rem;
    }
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/

footer.footer {
    background: #444;
    padding: 4.5rem;
}

footer.footer p {
    color: #ffffff;
    margin: 0;
}

footer.footer .logo {
    width: 17.5rem;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    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;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	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 .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

.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;*/
    background: #f9f9f9;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
