/*
Theme Name: Agent Magazine
Description: A parent theme for the Agent Publishing websites.
Version: 1.3.11
Author: SiteCare
Author URI: https://sitecare.com/
*/

.item__wrap__empty div {
    flex-basis: auto;
}

/* Homepage Current Issue */
.crs-w {
    padding: 0 0 40px 0;
    border-bottom: 1px solid #D4D4D4;
    display: -webkit-box;
    display: block;
    display: -moz-box;
    display: -webkit-flex;
    display: flex; }

  .cur-issue .crs-wrap {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: -webkit-box;
    display: block;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    background-color: #eff0f0; }
  .cur-issue .crs-in {
    display: -webkit-box;
    display: block;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative; }
  .cur-issue .crs-l {
    flex: 0 0 355px;
    display: -webkit-box;
    display: block;
    display: -moz-box;
    display: -webkit-flex;
    display: flex; }
    .cur-issue .crs-l img {
      /*            box-shadow: 0 0 15px rgba(0,0,0,0.5);*/
      align-self: center;
      display: -webkit-box;
      display: block;
      display: -moz-box;
      display: -webkit-flex;
      display: flex; }
  .cur-issue .crs-r {
    color: #000000;
    padding: 0 30px 0 40px;
    position: relative;
    /*        @include flex;
            flex-direction: column;
            position: relative;*/ }
  .cur-issue .crs-label {
    margin: 0 0 15px 0;
    line-height: 29px; }
  .cur-issue .crsr-r1 {
    margin: 0 0 25px 0; }
  .cur-issue .crs-cont h1, .cur-issue .crs-cont h2, .cur-issue .crs-cont h3, .cur-issue .crs-cont h4, .cur-issue .crs-cont h5, .cur-issue .crs-cont h6 {
    font-size: 30px;
    margin: 0 0 10px 0;
    line-height: 30px;
    font-family: "lyon_bold", sans-serif;
    font-weight: normal;
    font-style: normal; }
  .cur-issue .crs-cont p {
    font-size: 18px;
    line-height: 1.3;
    font-family: "lyon_reg", sans-serif;
    font-weight: normal;
    font-style: normal; }
    .cur-issue .crs-cont p .crw-rm2 {
      font-family: "lyon_bold", sans-serif;
      font-weight: normal;
      font-style: normal;
      color: #C3002F;
      font-size: 15px; }
  .cur-issue a.crw-rm {
    display: inline-block;
    background-color: #C3002F;
    color: #fff;
    margin: 12px 0 10px 0;
    padding: 6px 15px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600; }
  .cur-issue .crsr-r2:before {
    border-top: 2px dotted #000;
    display: block;
    content: "";
    left: 10px;
    position: absolute;
    right: 10px;
    z-index: 1; }
  .cur-issue .crsr-r2 .crs-label2 {
    font-size: 18px;
    /*            font-family: 'Poppins', sans-serif;
                font-weight: 500;*/
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    background-color: #eff0f0;
    display: table;
    padding: 0 5px;
    margin: -9px 0 0 0;
    position: relative;
    z-index: 2; }
  .cur-issue .crs-label {
    color: #C3002F;
    font-size: 27px;
    font-style: normal;
    margin: 0 0 15px 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; }
  .cur-issue .crs-d2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin: 10px 0 0 0; }
    .cur-issue .crs-d2 li {
      font-size: 14px;
      line-height: 24px;
      padding: 0 0 0 20px;
      position: relative;
      margin: 0; }
      .cur-issue .crs-d2 li:before {
        content: "";
        background-color: #000;
        height: 3px;
        width: 3px;
        display: inline-block;
        vertical-align: middle;
        margin: 0 7px 0 0;
        position: absolute;
        left: 5px;
        top: 9px; }
      .cur-issue .crs-d2 li a {
        color: #C3002F;
        text-decoration: underline;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700; }
        .cur-issue .crs-d2 li a:hover {
          text-decoration: none; }
  .cur-issue .crs-tag {
    background-color: #c3002f;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    transform: rotate(-90deg);
    position: relative;
    z-index: 2;
    width: 480px;
    position: absolute;
    right: -215px;
    top: 215px;
    line-height: 30px;
    text-transform: uppercase; }



    /*new home latest issue*/
.crs-in {
    padding: 15px; }

  .crs-md {
    display: -webkit-box;
    display: block;
    display: -moz-box;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -moz-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    -ms-align-items: flex-start;
    align-items: flex-start;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    -ms-flex-pack: center;
    margin: 0 -5px; }
    .crs-md .crs-card {
      display: -webkit-box;
      display: block;
      display: -moz-box;
      display: -webkit-flex;
      display: flex;
      flex: 0 0 25%;
      padding: 5px; }
    .crs-md .crs-rw {
      display: -webkit-box;
      display: block;
      display: -moz-box;
      display: -webkit-flex;
      display: flex;
      -webkit-flex-direction: column;
      -moz-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column; }
    .crs-md h5 {
      font-size: 17px;
      line-height: 1.2;
      color: #313131; }
    .crs-md .ct-w {
      padding: 0; }
    .crs-md .crsc-cle {
      display: block;
      margin: 0; }
    .crs-md .hcat_label {
      font-size: 11px; }
    .crs-md .crsc-clel {
      display: block; }

/** Popup */
.pum-content.popmake-content p {
  display: none;
}

.pum-content.popmake-content div {
  margin: 0 auto;
}

/** Magazine issue archive template grid */

.yr_issue_grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .yr_issue_grid {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      flex-direction: column;
      -webkit-box-pack: center;
      justify-content: center;
      -webkit-box-align: center;
      align-items: center;
      text-align: center;
  }
}

a.yi-elm {
  -webkit-box-flex: 0;
  flex: 0 0 21%;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  margin-bottom: 12px;
  font-family: 'lyon_bold', sans-serif;
  font-weight: 400;
  color: #303030;
}

a.yi-elm:hover {
  color: #C3002F;
}

/** NEW HOME PAGE HEADER */

.site__header,
.menu nav {
    background: #FFF;
}

/** NEW HOME PAGE TOP BANNER */

.top-banner {
		position: relative;
    width: 100%;
    text-align: center;
    background-color: #c13633;
    color: #FFF;
    padding: 12px;
}

.top-banner p {
	font-weight: 600;
}

.close-top-banner {
	color: #FFF;
	font-weight: bold;
}

.top-banner .site__content {
		position: relative;
    padding: 0 calc(50% - 610px) 0;
		background: transparent;
		display: flex;
    justify-content: space-between;
}

.top-banner a {
  color: #FFF;
}

/** NEW HOME PAGE HERO SECTION */

.hh_main .i-w {
	margin-bottom: 24px;
}

.hh_main .hh_exp {
	font-size: 17px;
	line-height: 1.4;
}

.hh_mainr .hh_exp {
	display: none;
}

@media (min-width: 1260px) {
	.home_hero .site__content {
			padding-top: 0;
			padding-bottom: 48px;
	}
}

@media (max-width: 660px) {
	.home_hero {
		max-width: 100%;
	}
}

.hh_mainr .hh_sec:last-of-type {
    border: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
	.hh_main {
		flex-direction:column;
	}
}

@media (max-width: 767px) {

	.hh_mainr {
		flex-direction: row;
	}
	.hh_mainr .hh_sec {
		padding: 0 0 5px;
		margin: 0 0 15px;
		flex-basis: 31%;
		flex-direction: column;
		margin: 0 1%;
	}
}


@media (max-width: 600px) {
	.hh_mainr {
		flex-direction: column;
	}
	.hh_mainr .hh_sec {
		flex-basis: 100%;
	}
	.hh_mainr .hh_sec img {
		width: 100%;
	}
}

/** NEW HOME PAGE FEATURED ROW */

.hm_sec_cat1.cat_hs.home-featured {
    background: #f7f7f9;
    padding: 48px 0 48px 0;
		margin-bottom: 48px;
}

@media (max-width: 600px) {
	.hm_sec_cat1.cat_hs.home-featured {
		max-width: 100%;
	}
}

.home-featured .cat_hs .hh_cat {
    width: calc( 25% - 20px );
}

.hm_sec_cat1.cat_hs.home-featured .site__content {
	background: transparent;
}

.hm_sec_cat1.cat_hs.home-featured .site__content h2.hha_title {
	font-size: 18px;
}

.hm_sec_cat1.cat_hs.home-featured .site__content h2.home-featured-title {
		flex-basis: 100%;
		text-align: center;
    font-size: 25px;
	font-family: Montserrat,sans-serif;
	font-weight: 700;
    font-size: 36px;
    margin-bottom: 36px;
}

@media (max-width: 900px) {
	.cat_hs .hh_cat {
		flex-basis: 48%;
		flex-direction: column;
	}
	.cat_hs .site__content {
			flex-direction: row;
	}

	.art_cont.sec_cat {
		width: 100%;
	}
}

@media (max-width: 660px) {
	.cat_hs .hh_cat {
		flex-basis: 100%;
	}
}

/** NEW HOME PAGE WHO'S WHO */

.whw_sec .title {
    font-family: lyon_bold,sans-serif;
    font-size: 36px;
    margin-bottom: 36px;
}

@media (max-width: 660px) {
	.whw_sec .title {
		font-size: 28px;
		margin-bottom: 0;
	}
	.hm_sec2  {
		max-width: 100%;
	}
	.hm_sec2 .site__content {
		padding-right: 0;
	}
}

.whw_sec .who .title {
	font-family: Montserrat,sans-serif;
	font-weight: 700;
    text-align: center;
    margin: 0 auto 36px auto;
}

.whw_sec .who {
  margin-bottom: 48px;
}

/** NEW HOME PAGE RECENT POSTS */

@media (max-width: 660px) {
	.home-recent-posts  {
		max-width: 100%;
	}
	.home-recent-posts .site__content {
		padding: 0 20px;
	}
}

.home-recent-posts h2.home-recent-posts {
    font-family: Montserrat,sans-serif;
	font-weight: 700;
    font-size: 36px;
    margin-bottom: 36px;
    flex-basis: 100%;
	text-align: center;
}

@media (max-width: 660px) {
	.home-recent-posts h2.home-recent-posts {
		font-size: 28px;
		margin-bottom:0;
	}
}

.home-recent-posts h2.hha_title {
	font-size: 18px;
}

@media (max-width: 900px) {
	.art_cont.sec_cat {
		width: 100%;
	}
}

/** NEW HOME PAGE BOTTOM BORDER REMOVAL FROM VARIOUS SECTIONS */

.crs-w,
.whw_sec .who__gallery,
.hm_prm2 .site__header_prm2 {
	border-bottom: 0;
	border-top: 0;
}

/** NEW HOME PAGE ADVERTISEMENT */

.hm_prm_3w .site__content {
    padding-top: 0;
    padding-bottom: 48px;
}

.hm_prm2_ins {
	padding: 0;
}

.hm_prm2 .site__content {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 48px;
}

.crs-w {
	padding-bottom: 0;
}

.hm_top_promo {
    padding: 0;
    margin: 48px 0;
}

.ad-mob div.textwidget div {
	margin:0 auto;
}

/** NEW HOME PAGE RECENT POSTS SECTION */

@media (min-width: 1260px) {
	.home-recent-posts.cat_hs .site__content {
		padding-bottom: 48px;
	}
}

.home-recent-posts.cat_hs .hh_cat {
	width: calc( 20% - 20px );
}

/** HOME PAGE CURRENT ISSUE */

@media (max-width: 900px) {
	.crs-md {
		display: flex;
		flex-grow: 1;
		flex-direction: row;
		flex-wrap: wrap;
	}
	.crs-md .crs-card {
		flex: 1;
		flex-basis: 48%;
	}
}

@media (max-width: 660px) {
	.cur-issue {
		max-width: 100%;
	}
	.crs-md .crs-card {
		flex-basis: 100%;
		margin-bottom: 24px;
	}

}

/** NEW HOME PAGE NEWSLETTER */

.bl-subs {
	margin-bottom: 0;
}

.bl-subs .site__content {
	padding-top: 0;
	padding-bottom: 48px;
}

@media (max-width: 767px) {
	.bl-subs .site__content {
		max-width: 100%;
	}
	.bl-subs .blfr .blf-form {
		margin:0;
		padding: 24px;
		width: 100%;
	}
	.bl-subs .blfr .blf-form {
		width: 100%;
		max-width: 100%;
	}
	.bl-subs .blfl {
		padding: 24px;
		margin:0;
	}
	.bl-subs .blfl {
		padding: 20px 20px 0 20px;
		text-align: center;
	}
	.bl-subs .blff-note {
		margin:0;
		padding: 0 24px 24px 24px;
		text-align: center;
		font-size:12px;
		font-style: italic;
	}
}

@media (max-width: 660px) {
	.bl-subs {
		max-width: 100%;
	}

}

/** NEW HOME PAGE MORE NEWS */

.hm_sec_mn, .hm_sec_mn .site__content {
	background: transparent;
}

.hm_st_rw {
	border-top: 0;
	padding-top: 0;
}

.hm_sec_mn h2.hha_title {
    font-weight: 600;
    font-size: 18px;
}

.hm_st_rw .hsec_ttl {
	font-family: Montserrat,sans-serif;
    font-size: 36px;
    margin-bottom: 36px;
}

.hm_lt_nw .lt_art {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin: 0 0 18px 0;
    padding: 18px 0 0;
}

.hm_lt_nw .hm_lt_nw_rw:first-of-type .lt_art {
	border-top: 0;
}

.hm_lt_nw .hcat_label {
color: #C3002F;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 16px;
		font-weight: bold;
    text-transform: uppercase;
}

@media (max-width: 660px) {
	.hm_sec_mn {
		max-width: 100%;
	}
}

/** Mobile Responsive */

@media (max-width: 660px) {
	.cat_hs .hh_cat .hthb,
	.hh_main .i-w, .hh_sec .i-w {
		margin: 0 0 10px;
		flex: 1;
	}
	.hh_main,
	.hh_sec {
		flex-direction: column;
	}
	.home-recent-posts.cat_hs .hh_cat {
    width: 100%;
	}
	.crs-md .crs-rw {
		flex-basis: 100%;
	}
	.cat_hs .hh_cat img,
	.home-recent-posts.cat_hs .hh_cat img,
	.crs-md .crs-rw img,
	.crs-md .crs-rw img {
		width: 100%;
	}
	.who .who__next, .who .who__prev{
		display: none;
	}
	.hm_sec_catr {
		max-width: 100%;
	}
	.hm_sec_catr .catr-ce {
		font-size: 15px;
	}
}

/** NEW HOME PAGE BOTTOM AD */

.s_prmb_ins {
    padding: 5px 5px 5px 5px;
}
/** Single blog posts */

@media (min-width: 992px) {
	.site__content main {
		border-right: 1px solid #ccc;
		padding-right:0;
		margin-right:20px;
	}
}
/** Most Popular Widget */

.pop-wid {
    background-color: #fff;
    display: block;
		border: 0;
    padding: 0;
    margin: 0;
}

.pop-wid h3 {
    text-align: left;
    font-size: 27px;
		line-height: 37px;
    margin: 0 0 12px;
    font-family: "lyon_bold", sans-serif;
    font-weight: normal;
}

.pop-wid .pop-ttl {
    font-size: 16px;
}

ol.wpp-list {
    counter-reset: my-awesome-counter;
    list-style: none;
}

ol.wpp-list li {
    margin: 0 0 1rem 0;
    padding: 0 0 1rem 0;
	border-bottom: 1px solid #ccc;
    counter-increment: my-awesome-counter;
    position: relative;
    display: flex;
    flex-direction: row;
}

.wpp-list li:before {
    content: counter(my-awesome-counter) ". ";
    color: black;
font-family: "lyon_bold", sans-serif;
    font-weight: normal;
    float: left;
		line-height: 1;
		height: 100%;
    font-size: 36px;
    margin-right: 12px;
}

.pop-wid .ct-w a {
	display: none;
}

.pop-wid .ct-w a:first-child {
	display:inline-block;
}

/** Best Practices Widget */

div.best-practices-widget {
	border: 2px solid #D0232A;
	padding: 0;
}

h3.best-practices-title {
	background: #D0232A;
	color: #FFF;
	padding: 6px 12px 0 10px;
	margin-bottom: 0;
	font-size: 31px;
	text-align: left;
}

h4.best-practices-subtitle {
    background: #D0232A;
    color: #FFF;
    padding: 0 12px 12px 12px;
    text-align: left;
    font-size: 14px;
    margin: 0 0 10px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 700;
}

div.best-practices-widget ul.best-practices li {
	padding: 12px;
}

div.best-practices-widget ul.best-practices li h4 {
	font-family: lyon_reg,sans-serif;
}

ul.best-practices li a, ul.best-practices li a:visited {
	font-size: 18px;
}

div.best-practices-widget ul.best-practices li:first-child {
	border-top: 0;
	margin-top:0;
	padding: 12px;
}

/** WHO'S WHO WIDGET */

.whos-who-container h3 {
	font-size: 26px;
}

/** CURRENT ISSUE WIDGET */

.sdb-issue .item__title {
    display: none;
}

/** SINGLE POSTS RELATED POSTS SECTION */

.more-news.type_2 .item__wrap {
    width: 100%;
    margin-top: 12px;
}

.more-news.type_2 .more-news__item {
	flex-direction:column;
	flex-basis: 24%;
}

.more-news.type_2.rel-sec .item__image {
	width: 100%;
	height: 127px;
}

@media (min-width: 1260px) {
	.more-news.type_2 .more-news__wrap {
		justify-content: space-between;
	}
}

@media (max-width: 900px) {
	.more-news.type_2 .more-news__item {
		flex-basis: 48%;
	}
	.more-news.type_2.rel-sec .item__image {
		width: 100%;
		height: 216px;
	}
	.more-news.type_2.rel-sec .item__title {
		font-family: lyon_reg,sans-serif;
		font-size: 18px;
		font-weight: 500;
	}
}

@media (max-width: 660px) {
	.more-news.type_2 .more-news__item {
		flex-basis: 100%;
	}
	.more-news.type_2.rel-sec .item__image {
		width: 100%;
		height: 200px;
	}
}

.more-news.type_2 .more-news__title {
	line-height: 48px;
}

/** See More Courses Widget */

.v-wid-wrap {
    background-color: #f7f7f7;
    padding: 12px 12px 20px 12px;
    margin: 0 0 24px 0;
}

a.vid_rlink {
    color: #c3002f;
	margin-top:0
}

.v-wid-wrap .v-wid-ttl {
    font-size: 24px;
    font-family: lyon_bold,sans-serif !important;
}

.v-wid-wrap .vid_t {
    font-family: lyon_reg,sans-serif !important;
	font-size:16px
}

/** Widget - Current Issue */

.issue__title time {
    font-size: 22px;
    line-height: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    display: inline;
    margin-left: 12px;
}

.issue__title h3 {
    display: inline;
	border-right: 1px solid #000;
	padding-right: 12px
}

.sdb-issue .item__image {
	margin-top: 12px;
}

/** Single Post Featured Image max-width */

body.single-post .sa-w-thumb {
    max-width: 880px;
}

/** Single Post content */

.single-content li, .single-content p, .single-content ul {
	font-size: 18px;
	line-height: 28px;
	color: #111;
}

/** Single Related posts */

.more-news.type_2 .more-news__title {
	font-size: 34px;
}

.more-news__item {
	margin-bottom: 48px;
}

/** HOME PAGE ADVERTISEMENTS */

@media (min-width: 1110px) {
	.hm_prm2_ins, .hm_prm_3, .s_prm_prm2, .site__header_prm {
			width: auto;
			padding: 5px;
		display: inline-block;
		margin: 0 auto;
		float: none;
	}
	.site__header_prm2 {
    margin: 0 auto;
    display: inherit;
	}
}

span.ad-dt .textwidget.custom-html-widget {
    border: 1px solid rgba(0,0,0,0.2);
    padding: 6px;
}


/** Post content font */

.single-content li,
.single-content p,
.single-content ul {
    margin-bottom: 23px;
    font-family: lyon_reg,serif;
}

/* Force YouTube embeds to be responsive */
.responsive-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio: 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.responsive-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.wp-block-embed.is-type-video.is-provider-youtube iframe,
.wp-block-embed__wrapper iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9; /* Modern browsers */
}

/* Fallback for older browsers without aspect-ratio support */
@supports not (aspect-ratio: 16/9) {
    .wp-block-embed.is-type-video.is-provider-youtube .wp-block-embed__wrapper {
        position: relative;
        width: 100%;
        height: 0;
        padding-bottom: 56.25%; /* 16:9 ratio */
    }
    
    .wp-block-embed.is-type-video.is-provider-youtube iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }
}