/*
Theme Name: Magic Magazine
Theme URI: http://wexteam.com/themes/magic-magazin/   
Description: Responsive ready bootstrap supported flat design bolg theme.
Version: 1.4.1
Author: AB Siddik
Author URI: http://wexteam.com
License: GNU General Public License GPLv3
License URI: license.txt
Tags: black, gray, orange, white, two-columns, left-sidebar, right-sidebar, flexible-header, responsive-layout, custom-background, custom-menu, featured-images, full-width-template, theme-options
Text Domain: magic-magazine
*/


/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }
}


/* =WordPress Core
-------------------------------------------------------------- */
.sticky{}

.gallery-caption{}

.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%; /* 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;
	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. */
}



/*-------------------------------------------
 * style for header area 
 *-------------------------------------------*/
a {
  color:#FC7A28;
  font-family: 'georgia';
}

a:hover{
  color:#FC7A28;
}

/*-------------------------------------------
 * style for header area 
 *-------------------------------------------*/
#header_area{
  background:#1F2229;
  border-bottom:1px solid #3d3d3d;
}

.top_menu ul{
  margin:0;
  padding:0;
  list-style:none;
}

.top_menu ul li{
  float:left;
  margin:10px 0;
}

.top_menu ul li a {
  border-right: 1px solid #787878;
  color: #787878;
  display: block;
  font-family: 'georgia';
  font-size: 12px;
  font-style: italic;
  line-height: 12px;
  padding:0 10px;
  text-decoration: none;
}

.top_menu ul li:last-child a {
  border-right:none;
}

.top_menu ul li a:hover{
  color:#fff;
}

/*-------------------------------------------
 *style for header bottom area 
 *-------------------------------------------*/
#header_area_bottom{
  background:#292D36;
}

.logo_div{
  margin:45px 0;
}

.logo_div h1 {
  color: #767676;
  display: inline;
  font-family: "georgia";
  font-size: 35px;
  font-style: italic;
  font-weight: bold;
}

.logo_div a:hover{
  color:#767676;
  text-decoration:none;
}

.logo_div h3{
  display:inline;
  font-family:'georgia';
  font-size:16px;
  font-style: italic;
  color:#767676;
}

.top_add{
  margin:35px 0;
  text-align:right;
}

.top_add img{
  width:100%;
}

.main_menu {background:#1F2229; text-align: center; border-radius: 10px 10px 0 0 ; border: 1px solid  #3d3d3d; border-bottom:8px solid #1e1e1e; margin-bottom:15px;}
.main_menu ul{ margin:0; padding:0; list-style:none;}
.main_menu ul li { background: url("../img/menu_sap.png") no-repeat scroll right center rgba(0, 0, 0, 0); display: inline-block; text-align: center; position: relative; }
.main_menu ul li:last-child{ background: none; }
.main_menu ul li a{ font-family: 'Open Sans', sans-serif; font-size:14px; color:#fff; font-weight:700; padding:25px 20px; display:block; text-decoration:none; }
.main_menu ul li a:hover{ color:#767676;}
.main_menu ul .current-menu-item a, .main_menu ul .current-menu-ancestor a{ color:#767676;}
.main_menu ul .current-menu-ancestor li a{color:#fff;}
.main_menu ul .current-menu-ancestor li a:hover{color:#767676;}


/* dropdown menu */
.main_menu ul li ul{ position: absolute; left: -99999px;}
.main_menu ul li:hover ul{ left: 0;}
.main_menu ul li ul{ background-color: #292D36; z-index: 9999;}
.main_menu ul li ul li{border-top: 1px solid #777; width: 100%; width: 200px; position: relative;}
.main_menu ul li ul li a { padding: 10px;}

.main_menu ul li ul li ul {left: 100% !important; position: absolute; top: -1px; display: none; border-left: 1px solid #777; background-color: #40444e}
.main_menu ul li ul li:hover ul{position: absolute; display: block;}

.slicknav_menu {
  display:none;
  background:#1F2229;
  text-align:center;
}

.slicknav_btn {
  cursor: pointer;
  display: inline-block;
  float: none;
  font-family: arial;
}

/*-------------------------------------------
 *style for main content area 
 *-------------------------------------------*/
.content_upper {
  background: none repeat scroll 0 0 #FFFFFF;
  border: 1px solid;
  box-shadow: 0 0 10px #000000;
  margin-bottom: -20px;
  margin-top: -20px;
  position: relative;
  z-index: 999;
}

.page-numbers {
  border: 1px solid;
  padding: 3px 6px;
}

.nav-links a{
    text-decoration: none;
}

.single_ft_wed {
    margin-top: 30px;
}

/*-------------------------------------------
 *style for slider 
 *-------------------------------------------*/
.silder_inner{
  margin-top:15px;
}

.silder_inner .bx-wrapper .bx-viewport {
  border: 5px solid #787878;
  left: 0;
  transform: translateZ(0px);
}

.abs_slider{
  padding:20px;
}

.abs_slider .bx-wrapper{
  margin-bottom:0;
}

.abs_slider .bxslider img{
  width:100%;
}

.abs_slider #bx-pager {
  background: none repeat scroll 0 0 #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 0 5px #000;
  margin: -95px auto 0;
  padding: 20px;
  position: relative;
  text-align: center;
  width: 68%;
  z-index: 999;
}

.abs_slider #bx-pager a {
  margin: 10px;
}

.abs_slider #bx-pager a img {
  padding: 5px ;
  border: 2px solid #b8b8b8;
   width:115px;
  height:75px;
}

.abs_slider #bx-pager .active {
  border: 5px solid #787878;
  outline: medium none;
  padding: 2px;
  position: relative;
  z-index: 99;
  display: inline-block;
}

.abs_slider #bx-pager .active img {
  border: 0 solid #B8B8B8;
  padding: 0;
  position: relative;
  z-index: 99;
  width:100px;
  height:60px;
}

.abs_slider #bx-pager .active {
  position:relative;
}

.abs_slider #bx-pager .active:before {
  background: none repeat scroll 0 0 #FFFFFF;
  border-left: 5px solid #787878;
  border-top: 5px solid #787878;
  bottom: 55px;
  content: "";
  height: 25px;
  position: absolute;
  right: 40px;
  transform: rotate(45deg);
  width: 25px;
  z-index: 9;
} 

.lp_slide {
  background: none repeat scroll 0 0 rgba(20, 20, 20, 0.5);
  border-radius: 10px;
  padding: 20px;
  position: absolute;
  width: 68%;
  border: 3px solid #000;
  top: 10%;
  left: 16%;
}

.lp_slide  h2{
  font-family: 'Open Sans', sans-serif;
  color:#FFF;
  font-size:22px;
  margin:0 0 10px 0;
}

.lp_slide span {
  color: #E1E1E1;
  display: block;
  font-family: 'georgia';
  margin-bottom: 10px;
}

.lp_slide  p{
  color:#e1e1e1;
  font-family: arial;
  margin-bottom:10px;
}

.slidert_more {
  display: inline-block;
  float: right;
  font-family: arial;
  font-size: 35px;
  height: 35px;
  margin-bottom: 0;
  margin-top: -10px;
  margin-right: 10px;
}

.lp_slide a:hover {
  color: #fff;
}

/*-------------------------------------------
 * style for content
 *-------------------------------------------*/
/* All of headding 2 */
.single_sidebar_widget h2, .post_by_cat h2, .archivetitle, .pasge_title{
  border-bottom: 3px solid #767676;
  border-left: 3px solid #767676;
  box-shadow: 0 2px 4px #666666;
  color: #767676;
  font-family: 'georgia';
  font-size: 25px;
  font-style: italic;
  margin-bottom: 25px;
  margin-left: 0;
  margin-top: 0;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-top: 5px;
}

.content_inner {
  padding: 20px;
}

.latest_post {
  margin-bottom: 25px;
}

.lp_img{
  padding-left:0;
}

.latest_post img {
  border: 1px solid #787878;
  padding: 8px;
  width: 100%;
}

.latest_post h3 {
  font-family: 'Open Sans',sans-serif;
  font-size: 18px;
  margin: 0 0 10px;
  color: #333;
}

.latest_post span {
  color: #999999;
  display: block;
  font-family: 'georgia';
  font-size: 12px;
  font-style: italic;
  margin-bottom: 5px;
}

.latest_post p {
  font-family: arial;
  font: 12px;
  color: #333;
}

.more_link {
  font-family: 'georgia';
  font-style: italic;
  color: #999;
  font-size: 16px;
  float: right;
  text-decoration: none;
}

.more_link:hover {
  text-decoration:none;
  color:#FC7A28;
}

.single_latest_post {
  border-bottom: 1px dashed  #b8b8b8;
  margin: 20px;
  overflow: hidden;
  padding-bottom: 10px;
}

.post_by_cat {
  margin-bottom: 60px;
}

.post_by_cat img{
  border: 1px solid #b8b8b8;
  padding: 8px;
  width:100%;
  margin-bottom:20px;
}

.post_by_cat h3{
  font-family: 'Open Sans',sans-serif;
  font-size: 18px;
  margin: 0 0 10px;
  color: #333;
}

.post_by_cat span {
  color: #999999;
  display: block;
  font-family: 'georgia';
  font-size: 12px;
  font-style: italic;
  margin-bottom: 5px;
}

.post_by_cat p{
  font-family: arial;
  font: 12px;
  color: #333;
}

.single_hl_post {
  border-bottom: 1px dashed  #999999;
  margin-bottom: 25px;
  overflow: hidden;
  padding-bottom: 15px;
}

.single_post_by_cat {
  border-bottom: 1px dashed  #999999;
  margin: 15px;
  overflow: hidden;
}

.spbc_img {
  padding: 0;
}

.spbc_text{
  padding-right:0;
}

.spbc_img img{
  padding: 2px;
}

.spbc_content h3 {
  font-size: 14px;
  line-height: 18px;
}

.pasge_title span {
  color: #767676;
  display: inline;
  font-size: 25px;
  margin-bottom: 0;
}

/*-------------------------------------------
 * style for Sidebar
 *-------------------------------------------*/ 
.single_sidebar_widget{
  margin-bottom:30px;
  color:#333;
}

.single_sidebar_widget img{
  width:100%;
}

.single_sidebar_widget input[type="text"] {
  border: 1px solid #787878;
  display: block;
  margin-bottom: 10px;
  padding: 5px;
  width: 100%;
}

.single_sidebar_widget input[type="submit"] {
  background: none repeat scroll 0 0 #B8B8B8;
  border: 1px solid #787878;
  font-family: georgia;
  padding: 5px;
  width: 100%;
}

.single_sidebar_widget ul{
  margin:0;
  padding:0 0 0 15px;
  list-style-type:square;
}

.single_sidebar_widget ul li{
  margin-bottom:10px;
}

.single_sidebar_widget a:focus{
  color:#999;
}

.single_sidebar_widget .tagcloud a{
  background:#fff;
  padding:5px 10px;
  border:1px solid #787878;
  display:inline-block;
  margin:5px 3px;
  text-decoration:none;
}

.single_sidebar_widget .tagcloud a:hover{
  background:#b8b8b8 ;
  border:1px solid #787878 ;
  background:non;
  color:#333;
}

/*-------------------------------------------
 * style for Footer top area
 *-------------------------------------------*/
#footer_top_area {
  background: #292D36;
  padding-top: 20px;
  font-family: 'georgia';
  color:#787878;
  padding-bottom: 30px;
}

.footer_t_wedget  a{
  color:#fff;
}

.single_ft_wed h2{
  font-family: 'Open Sans',sans-serif;
  color:#fff;
  font-size:22px;
}

.single_ft_wed .tagcloud a{
  background:#20232A;
  padding:5px 10px;
  border:1px solid #787878;
  display:inline-block;
  margin:5px 3px;
  color:#787878;
  text-decoration:none;
  font-family: 'georgia';
}

.single_ft_wed .tagcloud a:hover{
  border:1px solid #fff ;
  background:non;
  color:#fff;
}

.single_ft_wed #recentcomments {
  list-style:none;
  margin: 0;
  padding: 0;
}

.single_ft_wed #recentcomments li {
  color: #787878;
  margin-bottom: 10px;
  border-bottom:1px solid #787878;
  padding-bottom:10px;
}

.single_ft_wed #recentcomments li:last-child {
  border-bottom:none;
}

.single_ft_wed #recentcomments li a{
  color: #fff;
}

.single_ft_wed #recentcomments li a:hover{
  color: #fff;
}

.single_ft_wed ul{
  margin:0;
  padding:0 0 0 15px;
  list-style-type:square;
}

.single_ft_wed ul li{
  margin-bottom:10px;
  color:#787878;
}

.single_ft_wed ul li a{
  color:#fff;
}

.single_ft_wed form input[type="text"] {
  display: block;
  margin-bottom: 10px;
  padding: 5px;
  width: 100%;
  border: 1px solid #787878;
}

.single_ft_wed form input[type="submit"] {
  background: #20232a none repeat scroll 0 0;
  border: 1px solid #787878;
  padding: 5px;
  width: 100%;
}
/*-------------------------------------------
 * style for Footer area
 *-------------------------------------------*/
#footer_area {
  background: #292d36 none repeat scroll 0 0;
  border-top: 1px solid #3d3d3d;
}

#footer_area p {
  color: #787878;
  font-family: "georgia";
  font-size: 12px;
  font-style: italic;
  line-height: 12px;
  margin: 0;
  padding: 10px;
  text-align: center;
  text-decoration: none;
}

#footer_area p a{
  color: #fff;
}

/*-------------------------------------------
 * style for Single post
 *-------------------------------------------*/
.single_post .lp_img {
  padding-left:0;
  padding-right:0;
  height: 365px;
}

.single_post .lp_img img {
  margin-bottom: 15px;
  padding: 10px;
}

.single_post .lp_post{
  padding-left:0;
  padding-right:0;
}

.single_post .lp_post span{
  margin-bottom:15px;
}

.single_post .single_latest_post h3{
  font-size:25px;
}

.single_post .single_latest_post p {
  text-align: justify;
  margin-bottom:15px;
}

/*-------------------------------------------
 * style for Page Navigation
 *-------------------------------------------*/
.page_navigation{
  margin-bottom:35px;
}
.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  color: #fff;
  text-decoration:none;
}

.navigation li {
  display: inline;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  background-color: #b8b8b8 ;
  border-radius: 3px;
  cursor: pointer;
  padding: 12px;
  padding: 0.75rem;
}

.navigation li a:hover,
.navigation li.active a {
  background-color: #908e8e;
}

/*-------------------------------------------
 * style for Page template
 *-------------------------------------------*/
.page_tmplate .single_latest_post{
  border-bottom:0px solid #fff;
}

.slicknav_menu {
  display:none;
}

@media screen and (max-width: 40em) {
  /* #menu is the original menu */
  .js .menu {
    display:none;
  }
  
  .js .slicknav_menu {
    display:block;
  }
}

.slicknav_menu:first-child{display: none;}


.blogroll-channel{
border: solid 1px #999 !important;
height:300px !important;
overflow-y: scroll;
}