/*
Theme Name: 	ASM Child Theme
Theme URI: 	http://themeforest.net/user/mip/portfolio
Description: 	Child theme made by MipThemes
Version: 	1.0
Author: 	MipThemes
Author URI: 	http://themeforest.net/user/mip/portfolio
Template:       asmtheme
*/

@import url("../asmtheme/style.css");

/* ==========================================================================
   Your custom styles
   ========================================================================== */

   #header-branding .container .row{
   	position: relative;
   }
   #header-branding{
   	overflow: visible;
      height: 115px;
   }
   /* Logo */
   #header-branding h1 {
      margin-top: 12px;
   }


   /*customer header banner*/
   #header-branding.header-layout-5 .col-sm-4.text-left{
      display: none;
   }
   #header-branding.header-layout-5 .col-sm-4.text-center{
      width: 40%;
   }
   #header-branding.header-layout-5 .col-sm-4.text-right{
      width: 60%;
      padding: 5px 30px;
      height: 110px;
      justify-content: center;
   }

   #header-navigation ul li a {
      border-top-width: 3px;
      line-height: 47px;
      font-size: 13px;
      padding: 0px 15px;
   }
   #foot-menu{
      clear: both;
   }

   

   .ad {
      overflow: visible;
   }
   .category .ad-top{
      margin: 0 0 20px;
   }
   .single-post .ad-top{
      margin: 20px 0 10px;
   }
   .soc-media > a{
      padding-top: 3px !important;
   }
   #page-footer .copyright{
      clear: both;
   }
   #comments-list li .comment .avatar {
      margin-left: 0;
   }
   /*.newsletter-link{
      display: block;
      background: url(img/env.jpg) no-repeat left center;
      padding-left: 70px;
      padding-top: 10px;
      line-height: 13px;
      height: 60px;
      font-weight: bold;
      color:#D33;
      text-align: center;
   }*/
   .newsletter-link{
      font-style: normal;
      background-color:#b91722;
      padding: 5px 10px;
      display: inline-block;
      color:#fff !important;
   }
   .newsletter-link:hover {
      background-color: #b91722;
   }

   aside.widget.PI_SimpleTwitterTweets li:before{
      background: url(img/icon-twitter.png) no-repeat left 6px;
      content: " ";
      width: 15px;
      height: 18px;
      display: inline-block;
      margin-left: -30px;
   }
   /*.widget_mailchimpsf_widget{
      padding: 30px;
   }
   #sidebar-mid .widget_mailchimpsf_widget{
      display: none;
      padding: none;
   }*/

   .header-widgets {
      position: absolute;
      z-index: 99;
      right: 70px;
      bottom: -40px;
   }
   #mobile-menu .header-widgets{
      -ms-transform: none;
      -webkit-transform: none;
      transform: none;
      height: 40px;
      width: 100%;
      position: absolute;
      top: 60px;
      padding-top: 0;
      padding-bottom: 10px;
      display: block;
      overflow: visible;
   }
   .mm-menu.mm-hassearch > .mm-panel {
      padding-top: 90px;
   }

   #sidebar .module-quote {
       margin-bottom: 0 !important;
   }
   aside h4 {
       font: 700 15px/18px "Roboto Condensed",sans-serif;
       margin: 10px 0 0 0;
   }

   .single-magazine .head-image img{
   		max-width: 30% !important;
   }


/* Flexible Posts Widget */
ul.dpe-flexible-posts {
   padding-left: 0 !important;
}
 aside.widget ul.dpe-flexible-posts li:before{
   display: none;
}
ul.dpe-flexible-posts li{
   margin-bottom: 25px !important;   
}
#sidebar-mid ul.dpe-flexible-posts li img{
   width: 100%;
}
#sidebar-mid ul.dpe-flexible-posts li .title{
   font-weight: bold;
   font-size: 13px;
}
.widget_dpe_fp_widget .widget-subtitle,
aside.widget .widget-subtitle{
   margin-top: -10px;
   display: block;
   margin-bottom: 15px;
   font-style: italic;
}
aside.widget .widget-subtitle a{
   /*color:#5c5c5c !important;*/
}
#sidebar-mid aside.widget_dpe_fp_widget article span.published span.category {
    padding-left: 5px;
    margin-left: 5px;
    border-color: #CCC;
}
.widget_dpe_fp_widget article span.published span.category {
    display: inline-block;
    line-height: 10px;
    padding-left: 8px;
    margin-left: 8px;
    border-left: 1px solid #999;
}


.theiaStickySidebar .widget_text:first-child,
.theiaStickySidebar #text-7 {
   margin-bottom: 5px !important;
}


.pl-itemtitle {
   color: #fff;
}
#page-content .dark_bg {
   border-top: 1px solid #fff;
}
#page-content .dark_bg header h2 {
   color:#fff;
   border-color:#4E4E4E;
}
#page-content .dark_bg header span.borderline {
   background-color:#fff;
}


/* WPML Language Dropdown */
   #lang_sel {
   	position: absolute;
   	bottom: -45px;
   	right: 60px;
   	z-index: 99;
   }
   #lang_sel ul li a{
   	line-height: 30px;
   	font-size: 0.8em;
   }
   #lang_sel > ul > li > a{
   }
   #lang_sel ul ul{
   	top: auto;
   	z-index: 99;
   }
   #lang_sel ul ul li{
   	background-color:#fff;
   }
   #lang_sel a:hover {
   	background-color:#B12929 !important;
   	color:#fff !important;
   }
   #lang_sel_footer {
      display: none;
   }
   #mobile-menu .lang_sel_list_horizontal a{
      border: none !important;
      margin-right: 5px !important; 
   }
   #mobile-menu .lang_sel_list_horizontal li:after{
      border: none;
      display: none;
   }

/* WPML Language List*/
   #lang_sel_list{
   	/*position: absolute;
   	bottom: -46px;
   	right: 70px;
   	z-index: 99;*/
      float: left;
   }
   .widget_icl_lang_sel_widget{
      float: left;
   }
   #lang_sel_list a.lang_sel_sel {
	color: #fff;
	background-color: transparent;
	margin-right: 15px;
	font-weight: bold;
   }
   #lang_sel_list a.lang_sel_other {
	color: #888;
	background-color: transparent;
	margin-right: 15px;
   }
   #lang_sel_list a:hover {
    color: #fff !important;
   }

   #lang_sel_list li a img{
      display: none;
   }
   #lang_sel_list li a{
      display: block;
      width: 30px;
      height: 30px;
   }
   #lang_sel_list li:before {
      display: none;
   }
   .icl-en a{
      background: url(img/en.png) no-repeat center center !important;
   }
   .icl-ar a{
      background: url(img/ar.png) no-repeat center center !important;
   }
   .icl-zh-hans a{
      background: url(img/cn.png) no-repeat center center !important;
   }

   #lang_sel_footer ul li img {
      width: 30px;
      height: 30px;
   }

/* WPML Flags in menu*/
   .menu-item-language img.iclflag {
      height: 30px !important;
      width: 30px !important;
   }
   li.menu-item-language {
      border-right: none !important;
   }
   .menu-item-language a{
      padding: 0 0 0 15px !important;
   }
   .menu-item-language a:hover{
      background: none!important;
   }

/* Language */
.category-greater-china-zh-hans #main article a.theme,
.category-middle-east-ar #main article a.theme{
   display: none;
}

/* WP Stock Ticker */
.ticker-stocks-container,
.simply-scroll {
   height: 33px;
   margin-top: -5px;
}
.simply-scroll {
   background: none !important;
   border: none !important;
}

/* Featured Authors */
.widget.featured-authors .avatar-wrap{
   width: 60px;
   height: 60px;
   margin-right: 10px;
   float: left;
}
.widget.featured-authors .cd-fa-info .author a{
   color: #888;
   font-size: 0.9em;
   text-transform: uppercase;
}
aside.widget.featured-authors li:before {
   display: none;
}
aside.widget.featured-authors ul {
   margin: 0 0 0 50px;
}
aside.widget.featured-authors .avatar{
   margin: 0;
}
aside.widget.featured-authors .cd-fa-wrap{
   clear: both;
   margin-bottom: 10px;
}

/* Polls Widget */
#siderbar .widget_polls-widget {
   background-color: #54878A;
}
#sidebar .widget_polls-widget {
    padding: 20px 25px;
    margin: 0px -25px 1px;
    background: none repeat scroll 0% 0% #54878A;
}
#sidebar .widget_polls-widget header h2 {
    border-color: #5D8D90;
}
#sidebar .widget_polls-widget .wp-polls label{
   color: #9DC5C7;
}
#sidebar .widget_polls-widget .wp-polls p,
#sidebar aside.widget .wp-polls ul li{
   color: #fff;
}
aside.widget .wp-polls ul li:before{
   content: " ";
}
#sidebar .widget_polls-widget .wp-polls .Buttons {
    border: 1px solid #FFF;
    background-color: #9DC5C7;
}

.article-post .wp-polls p{
   text-align: left !important;
}
.article-post .wp-polls p:nth-child(3n+1){
   font-size: 1.4em;
   margin-top: 40px;
}
.article-post .wp-polls p:first-child{
   margin-top: 0;
}



/* Social / About Wdiget*/
#header-branding .module-about,
#page-header-mobile .module-about{
   float: right;
   /*position: absolute;
   right: 70px;
   bottom: -40px;
   z-index: 99;*/
}
#header-branding .module-about a,
#mobile-menu .module-about a{
   color: #ccc;
   font-size: 1.5em;
}
#mobile-menu .module-about {
   float: right;
}
#page-footer .container{
   position: relative;
}
#page-footer .module-about{
   position: relative;
   float: right;
   z-index: 99;
   margin: 5px 10px -10px 0;
}
#page-footer .module-about a{
   color: #333;
   font-size: 1.5em;
}
.IN-widget{
   vertical-align: middle !important;
}

/* Authors List Plugin */
.shortcode-author-avatars div.author-list .user{
   margin-bottom: 25px;
}
.shortcode-author-avatars span.avatar,
.shortcode-author-avatars span.avatar img{
   margin-left: 0;
   float: none;
}
.shortcode-author-avatars span.avatar{
}
.shortcode-author-avatars span.avatar img{
   border-radius: 50%;
}
.shortcode-author-avatars .user code{
   padding: inherit;
   font-size: inherit;
   color: #444;
   background: none;
   white-space: inherit;
   border-radius: none;
   font: inherit;
}
.shortcode-author-avatars .user .biography {
    float: left;
    display: inline-block;
    width: 75%;
    text-align: left;
    padding: 25px 25px 0 0;
}
.shortcode-author-avatars .user code > a {
   float: left;
   padding-right: 30px;
   max-width: 180px;
}
.shortcode-author-avatars:after{
   content: " ";
   clear: both;
   display: block;
}
.shortcode-author-avatars div.author-list .user .name {
   font-size: 1.2em !important;
   margin-top: 5px;
}

/* Magazine */
body.home .pl-gridlayout .all-detail-cnt {
   background: none !important;
}
body.home .pl-gridlayout .pl-detailcnt h4 a{
   color: #fff;
}
.pl-gridlayout .pl-detailcnt {
   padding: 0 10px;
}
.pl-detailcnt .pl-permalink {
   margin-top: 0;
}
.pl-itemcnt:hover .pl-overally.fadein-eff{
   opacity: 0 !important;
}


/* WP JOB BOARD*/
#wpjb-custom-menu-2 li:before,
#wpjb-widget-alerts-2 li:before{
   display: none;
}
#wpjb-custom-menu-2 ul{
   padding-left: 0;
}
.wpjb-widget .wpjb-custom-menu-separator,
.wpjb-grid .wpjb-grid-row{
   border-color: #555 !important;
}
.wpjb-grid .wpjb-grid-row{
   border-style: dashed !important;
}
.wpjb .wpjb-grid.wpjb-grid-closed-top {
   border:none !important;
}
.wpjb-grid .wpjb-grid-row:first-child{
   padding-top: 0 !important;
}
.wpjb-map-slider{
   clear: both;
   padding-top: 10px;
}
.wpjb .progress-bar span {
   float: left;
   margin: 0;
}
.single-job footer .author-box,
.single-company footer .author-box{
   display: none;
}
.wpjb .wpjb-top-header-image {
   max-width: 30%;
   max-height: 150px;
   position: relative;
}
.wpjb .wpjb-top-header-image > img{
   width: 100% !important;
}
.wpjb-col-title .wpjb-line-major{
   font: 700 16px/20px "Roboto Condensed",sans-serif;
}
.wpjb-col-location span {
}
body .wpjb .wpjb-line-with-icon-left .wpjb-line-major, 
body .wpjb .wpjb-line-with-icon-left .wpjb-sub{
   padding-left: 8px !important;
   font-size: 0.92em;
}
.wpjb-element-name-applicant_name {
   display: none;
}
#page-content header.jobs{
   margin-bottom: 0;
   border: none;
   padding: 0;
}
.wpjb .wpjb-upload-item span.wpjb-file-info{
   color: #2596F5 !important;
}
#wpjb-apply-form > .wpjb-legend:nth-of-type(2){
   display: none;
}

/* Simple Ad Manager*/
#sidebar .theiaStickySidebar .sam-container{
   margin-bottom: 20px;
}
.banner-widgets{
   margin-bottom: 30px;
}
#sidebar-mid .sam-container{
   margin-bottom: 30px;
}

/* Popup box form */
.dgd_stb_box form input{
   width: 100% !important;
   margin-bottom: 5px;
   float: right !important;
}
.dgd_stb_box form input.cptch_input{
   width: 40px !important;
   float: none !important;
}
.dgd_stb_box .indicates-required{
   float: right;
}
.dgd_stb_box #mc_embed_signup .mc-field-group .asterisk{
   position: relative;
   top: auto;
   right: auto;
}
.dgd_stb_box #mc-embedded-subscribe{
   width: auto !important;
}

	

@media (min-width: 1200px) {
    #page-slider {
      max-height: 452px;
      overflow: hidden;
    }
 }

@media only screen and (max-width: 400px) {
    .author-box {
    	clear: both;
	}
	.article-post footer h3{
		clear: both;
		float: left;
		margin-bottom: 10px;
	}
	.article-post footer > a{
		float: left;
		margin-bottom: 10px;
	}
	.article-post footer > a:nth-child(2){
		clear: left;
	}
}