/*
Theme Name:     Newsmag Child theme
Theme URI: 		http://themeforest.net/user/tagDiv/portfolio
Description:    Child theme made by tagDiv
Author:         tagDiv
Author URI: 	http://themeforest.net/user/tagDiv/portfolio
Template:       Newsmag                             
Version:        3.3c
*/


/*  ----------------------------------------------------------------------------
    This file will load automatically when the child theme is active. You can use it
    for custom CSS.
*/
/* Autogrid object */

[class^="autogrid"] > *, 
[class*=" autogrid"] > * {
  padding: 1em;
  margin-bottom: 20px;
  border-radius: 3px;
}

/* custom vp style */


.td-post-content h3 {
  font-size: 19px;
  font-weight: 800;
  color: #555;
}

.bsaProHeader{
	padding: 0 14px 0 13px !important;
}
.bsaProHeader__title span, .bsaProHeader__formUrl {
  font-size: 11px;
  color: #999;
}
a.bsaProHeader__formUrl span {
  font-size: 12px !important;
  padding: 7px 0 0 0 !important;
  float: right;
}
.bsa-block-300--250 {
  padding: 0px 20px 0px 20px;
}

.td-container{border-bottom: 0px !important;}
.td-outer-container .td-top-menu-full{background: #262434 !important; }
.td-header-wrap .td-top-menu-full .top-header-menu > li > a{color: #736e8f;}
.td-header-wrap .td-top-menu-full .top-header-menu > li > a:hover{color: #c1bae0 !important;}
.td-header-sp-top-menu .td_data_time{font-weight: 300 !important;}
.wpb_wrapper{margin-left: -1px !important;}
.tdi_16:first-of-type{border:0; margin-left: 2px;}
.tdi_7:first-of-type{margin-left: 1px;}

.td-post-header .td-post-sub-title{font-size: 18px;}
.best-of .td-pb-row [class*="td-pb-span"]{border: none;}
.bt-ft{background: #f9f8f5; border-radius: 6px;}
.best-of .td_outlined_btn{border-color: #333; margin: 20px 0 0 0;}
.td-post-content .td_outlined_btn a{color: #333;}
.td-footer-container .td-block-span12{padding-left: 0;}
html[lang="ar"] .td-footer-container .td-block-span12{padding-left: 20px;}
.wpb_text_column{padding-left: 20px;}


.td_outlined_btn:hover{color: white; text-decoration: none !important;background: rgb(244,149,0);background: linear-gradient(75deg, rgba(244,149,0,1) 0%, rgba(218,37,30,1) 100%);}

.td-post-content .td_outlined_btn:hover a{color: white;}

.best-of .td_outlined_btn:hover{border: none;}

.best-of .note{font-size: 70px; font-weight: 900; font-family: 'Proxima Bold'; position: relative;}
.best-of .sur{font-size: 30px; font-weight: 900; font-family: 'Proxima Bold'; }
.best-of .cr{font-family: 'Proxima Bold'; font-weight: 900;font-size: 15px;}
.cr span{background: rgb(244,149,0); background: linear-gradient(75deg, rgba(244,149,0,1) 0%, rgba(218,37,30,1) 100%); color: white; padding: 5px 10px 5px 10px; border-radius: 3px;}
.tp{margin: 15px 0 0 0;margin: 15px 0 0 0; font-family: 'Proxima Bold';font-weight: 900;font-size: 25px;}
.best-of .txt-intro h2{font-family: 'Proxima Light';}
.int-left{padding: 20px 0 20px 20px;}
.int-right{padding: 20px 20px 20px 20px;}
.no{margin: 30px 0 0 0;}
.what {
    display: block;
    font-size: 12px;
    position: absolute;
    top: 5px;
    right: -27px;
    color: #c1c1c1;
    width: 25px;
    height: 25px;
}
#wpcr_respond_ato-index.smallstar {
    float: none;
    margin: 0 auto;
    width: 78px;
    display: inline-block;
}
#wpcr_respond_ato-index .sp_rating * {
    border: 0 none;
    margin: 0;
    padding: 0;
}
#wpcr_respond_ato-index .baseindex {
    background: url(img/revue-stars-index.png) 0 0 no-repeat;
    width: 78px;
    height: 15px;
    float: left;
    padding-right: 4px;
    overflow: hidden;
    display: block;
}
#wpcr_respond_ato-index .baseindex .average {
    background: url(img/revue-stars-index.png) 0 -15px no-repeat;
    text-indent: -9999px;
    height: 28px;
}
.page .dev_introduction .lead{font-size: 16px !important;
    line-height: 19px;
    color: #666;}

.section-bloc {
    /* background: #333; */
    overflow: hidden;
    color: white;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.section-bloc img {
    position: absolute;
    z-index: 1;
}
.sc {
    position: relative;
    z-index: 2;
    width: 100%;
}
.st {
    font-size: 40px;
    margin-bottom: 20px;
    text-align: left;
    padding: 20px;
    text-shadow: none;
    font-weight: bold;
}
.sb {
    padding: 20px;
}
.sb a {
    color: #333;
    background-color: #f3f3f3;
    /* border-bottom: 3px solid #c9cddb; */
    padding: 8px 24px;
    font-size: 16px;
    text-shadow: none;
    border-radius: 3px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
}
.st-tl {
    position: relative;
    background: #bcbbb6;
    color: white;
    font-size: 20px;
    text-shadow: none;
    padding: 10px;
    margin-bottom: 40px;
    font-weight: bold;
    border-bottom: solid 5px #efeeeb;
    border-radius: 6px 6px 0px 0px;
}
.st-tl.first:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-top: solid 10px #918e82;
    border-left: solid 10px transparent;
    border-right: solid 10px transparent;
}
.st-tl.first {
    background: #918e82;
}
.premimg {
    margin: 0 auto !important;
    text-align: center;
}
.post .td-category a{padding-top: 5px;}
.block-title>a, .block-title>span{padding: 6px 10px 3px 10px;}
.td-trending-now-wrapper .td-trending-now-title{padding: 5px 10px 0 10px;}
.td-trending-now-display-area{margin-top: 4px;}
.td-module-meta-info .td-post-category{padding: 5px 5px 3px;}
.td-post-source-tags .td-post-small-box a, .td-post-source-tags .td-post-small-box span {padding: 3px 7px 1px 7px;}
.td-footer-container > div h4.block-title{margin:0;}
.td-module-thumb .entry-thumb {
  display: block;
 width: 100%;
  /* responsive portrait phone */
}
.sf-menu {
margin-right: 0;
}
#bsa-block-300--250.bsaProContainerNew .bsaProItem, #bsa-block-300--250 .bsaProItemInner__thumb, #bsa-block-300--250 .bsaProAnimateThumb{
	max-width: none;
}
#bsa-block-300--250 .bsaProItemInner__img{background-size: 95%;}

.premium-ad{margin: 0 0 0 15px;}


h1.block-title span.td-pulldown-size, h2.block-title span.td-pulldown-size, h3.block-title span.td-pulldown-size{
	background: none;
	color: #333;
}
/*h1.block-title span.td-pulldown-size{
  padding: 40px;
  font-size: 40px !important;
}*/

@media (min-width: 480px) {
  [class^="autogrid"], 
  [class*=" autogrid"] {
    display: flex;
  }
  [class^="autogrid"] > *, 
  [class*=" autogrid"] > * {
    flex: 1;
    min-width: 0; /* avoid min-width:auto */
  }
}

/* Autogrid variants */

@media (min-width: 480px) {
  .has-gutter > *:not(:first-child) {
    margin-left: 1rem;
  }
  [class*="--reverse"] {
	  flex-direction: row-reverse;
  }
  .autogrid-cell--big {
    flex: 3;
  }
}
@media (min-width: 480px)
[class^="autogrid"] > *, [class*=" autogrid"] > * {
    flex: 1;
    min-width: 0;
}


/* bestof custom settings */
.best-vapes .td-pb-border-top{text-align: center;}
.best-vapes .block-title a, .best-vapes .block-title span{padding: 10px 10px 5px 0;font-size: 24px !important;}
.best-vapes .tdi_26 .block-title a, .page-child .tdi_26 .block-title span, .best-vapes .tdi_26 .block-title span{font-family: 'Proxima Bold'; font-size: 35px !important;
text-transform: capitalize !important;
padding: 30px 15px 25px 20px;
background: none;
border-top: 1px solid #999;
border-bottom: 1px solid #999;
color: #555;
font-weight: bold;
margin: 20px 0 14px 0;
border-radius: 0;}
.best-vapes .block-title{margin: 0 0 20px 0px;}
.best-vapes .block-title span.td-pulldown-size, .page-child .block-title span.td-pulldown-size{background: none; color: #555;font-family: 'Proxima Bold';font-size: 23px !important; line-height: 20px;}
.cta-best .td-fix-index a{border-radius: 6px;padding: 20px 20px 15px 20px;background: aliceblue;margin-bottom: 40px;display: block;}
.best-vapes .td_module_3 .td-module-comments, .page-child .td-module-comments{display: none;}
.best-vapes a.td-post-category, .page-child a.td-post-category{display: none;}
.page-child .td_module_3{text-align: center;}
.page-child .td_module_3 .entry-thumb{margin: 0 auto;}
.best-vapes .best-vapes-content{text-align: left;}
.best-vapes-column .td-element-style{border-radius: 6px;margin: 20px 0 0 0;padding: 20px 0 0 0;}
.td_block_text_with_title.best-vapes-column .block-title{display: block; padding: 20px 0 0 0;}
.td_block_text_with_title.best-vapes-column .block-title > span{line-height: 23px;font-size: 19px !important;}
.best-vapes-content .faq-question{background: aliceblue; padding: 20px 20px 10px 20px; border-radius: 6px; margin: 0 0 20px 0;}
.best-vapes-content .faq-question h3{font-family: 'Proxima Bold';font-size: 18px;}

.td-footer-container .block-title > a, .td-footer-container .block-title > span {font-size: 12px !important;}
.td-footer-container .block-title{margin: 0;}
/* language custom settings */
/*Code for AR language*/
html[lang="ar"] .td-footer-container .td-pb-row .td-pb-span4  {
    float: right;
}
html[lang="ar"] .td-sub-footer-container .td-pb-row .td-pb-span8 {
    float: left; text-align: left;
}
html[lang="ar"] .td-sub-footer-container .td-pb-row .td-pb-span4 {
    float: right;
}
html[lang="ar"] #td-header-menu .td-main-menu-logo, #td-header-menu .menu-td-demo-header-menu-arabic-container {
    float: right;
}
html[lang="ar"] .td-search-icon{
	left:-3px !important;
}

html[lang="ar"] #td-top-mobile-toggle i{margin-right: 10px; margin-top: 4px;}
/*html[lang="ar"] #td-mobile-nav{ transition: transform 0.8s cubic-bezier(0.64, 0.00, 0.78, 0.39); }*/


html[lang="ar"] .td-trending-now-post {
    position: absolute !important;
    display: inline-block;
    opacity: 0;
    width: 100%;
}

html[lang="ar"] .td-trending-now-post {
    position: absolute !important;
    display: inline-block;
    opacity: 0;
    width: 100%;
}

html[lang="ar"] .td-search-wrapper #td-top-search {
    left:0;
    right: auto;
}

html[lang="ar"] #td-mobile-nav {
    position: fixed;

}

html[lang="ar"] .td-trending-now-wrapper .td-next-prev-wrap {
    display: inline-block;
    position: absolute;
    top: 0;
    margin: 0;
    left: 0;
}

html[lang="ar"] .td-trending-now-wrapper .td-trending-now-title {
    padding: 5px 10px 0 10px;
    float: right;
}

html[lang="ar"] .header-search-wrap .td-drop-down-search {
    position: absolute;
    padding: 0;
    top: 100%;
    border-radius: 0;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-color: #e6e6e6;
    z-index: 98;
    display: none;
    right: auto;
    left: 0;
    width: 341px;
    background: white;
}

html[lang="ar"] .header-search-wrap .td-drop-down-search:before {
    position: absolute;
    top: -6px;
    right: 298px;
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 5.5px 6px 5.5px;
    border-color: transparent transparent #fff transparent;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
html{margin-top: 0 !important;}

#wpadminbar {display: none;}
html[lang="ar"] #wpadminbar {display: none;}

html[lang="ar"] .header-search-wrap .td-drop-down-search .btn {
    position: absolute;
    border-radius: 0 3px 3px 0;
    height: 32px;
    line-height: 17px;
    padding: 7px 15px 8px;
    text-shadow: none;
    vertical-align: top;
    left: 0;
    right: auto;
}

html[lang="ar"] .header-search-wrap .td-drop-down-search #td-header-search {
    background-color: #ffffff !important;
    width: 79%;
    height: 32px;
    margin: 0px;
    border: 1px solid #cbc9c9;
    line-height: 17px;
}

html[lang="ar"] .td-search-form-widget .td-widget-search-input {
    width: 95%;
    height: 32px;
    border: 1px solid #cbc9c9;
    line-height: 21px;
    position: relative;
    top: 0;
    display: block;
    vertical-align: baseline;
}

html[lang="ar"] .td-search-form-widget .wpb_button {
    border-radius: 0 3px 3px 0;
    height: 32px;
    position: absolute;
    left: 0;
    right: auto;
    top: 0;
    text-shadow: none;
    padding: 7px 15px 8px 15px;
    line-height: 16px;
    margin: 0;
}

html[lang="ar"] .sf-menu .td-icon-menu-down {
    position: absolute;
    top: 0;
    padding-right: 9px;
    font-size: 9px;
}

html[lang="ar"] .sf-menu a.sf-with-ul {
    padding-right: 15px;
    padding-left: 31px;
    min-width: 1px;
}

html[lang="ar"] .td_module_6 .td-module-thumb {
    position: absolute;
    left: 0;
}

html[lang="ar"] .td-review-desc {
    font-family: 'Open Sans', arial, sans-serif;
    font-size: 12px;
    color: #444;
    border-bottom: 1px dashed #d8d8d8;
    padding: 6px 12px 6px 12px;
}

html[lang="ar"] .td-review-stars {
    width: 124px;
    text-align: center;
    line-height: 10px;
    direction: ltr;
}

html[lang="ar"] .td-review-final-star {
    height: 24px;
    line-height: 18px;
    direction: ltr;
}

html[lang="ar"] .td-next-prev-wrap {
    margin: 0 0 0 20px;
    line-height: 21px;
    clear: both;
    direction: ltr;
}



html[lang="ar"] .td-image-box-span:hover {
 - webkit-transform: scale(1.3);   
 transform: scale(1.2);
}

html[lang="ar"] .td-header-sp-top-menu .menu-top-container li:last-child a {
    margin-right: 8px;
}


html[lang="ar"] .td-trending-now-display-area {
    display: inline-block;
    width: 90%;
    position: relative;
    float: left;
    height: 19px;
}
	
.footer-title {

	margin-right: 19px;
}

.td-footer-container .entry-title a {
    color: #ffffff !important;
}
	
#rs-btn-ar {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

#rs-btn-ar:hover {
    filter: none;
    -webkit-filter: grayscale(0);
}
