/* reguli CSS Orange*/

:root {
    --primary-subtle-color: #ff7900;
    --main-titles-color: #ff7900;
    --link-color: #ff7900;
    --link-color-hover: #eb6700;
    --article-shadow-normal: 0 8px 16px rgba(0,0,0,0.08);
    --article-shadow-hover: 0 8px 16px rgba(0,0,0,0.2);
    --footer-background-color: #000000;
    --light-gray: #ccc;
    --dark-gray: #333;
}

:root, [data-theme=light] {
    --primary-border-color: #333;
    --secondary-border-color: rgba(0,0,0,0.2);
    --secondary-background-color: #eee;
    --titles-color: #111;
    --secondary-subtle-color: #f4f4f4;
    --link-color-hover: #eb6700;
    --background-color: #fff;
}

[data-theme=dark] {
    --primary-border-color: #ccc;
    --secondary-border-color: rgba(255,255,255,0.2);
    --secondary-background-color: #222;
    --titles-color: #eee;
    --secondary-subtle-color: #151515;
    --link-color-hover: #ff881c;
    --background-color: #222222;
}



body {
	font-family: Helvetica,Arial,sans-serif;
}

p {
    line-height: 1.2;
}

h1, .l-post-content h1 {
    color: var(--main-titles-color);
}
.m-hero-title.m-hero-title_orange.bigger{
    color: var(--main-titles-color);
}
.m-heading__title.in-post {
    letter-spacing: -.5px;
    font-size: 1.75rem;
    margin-bottom: 20px;
    line-height: 1.1;
}
.m-hero.m-hero-grey.no-picture  {
    background-color: var(--background-color);
}
ul {
	list-style-type: square;
	letter-spacing: 0px;
    line-height: 1.2;
    font-size: 1rem;
}

.l-content {
    background-color: var(--secondary-background-color);
    padding: 40px 0px;
}

.l-wrapper.in-post {
    background-color: var(--background-color);
    padding-top: 4em;
}

@media only screen and (min-width: 48rem) {
.l-wrapper.in-post {
    max-width: 1200px;
}
}

.l-post-content a {
    color: var(--link-color);
    font-weight: bold;
}

.l-post-content a:hover {
    text-decoration: underline;
}

.m-hero__content {
    text-align: left;
}

.m-heading {
    text-align: left;
}

.m-heading__meta {
    justify-content: left;
    font-size: 0.8rem;
}

.m-article-card__timestamp {
	display: none;
}

@media only screen and (min-width: 48rem) {
.m-hero {
    min-height: 300px;
    padding: 100px 0 25px;
}
}


.m-article-card {
	border-radius: 0px;
}
.m-article-card.m-article-card_no_borders {
	border: none;
}

.m-article-card__picture {
	border-radius: 0px 0px 0 0;
    height: auto;
    aspect-ratio: 1.8;
    background-color: var(--background-color);
}
.m-article-card__picture.m-article-card__picture_border {
	border: 2px solid grey;
}

.m-hero__picture img {
    -o-object-fit: contain;
    object-fit: contain;
}

.m-article-card__picture-background {
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}

.m-article-card__info {
	border-radius: 0 0 0px 0px;
}

.m-article-card__info.m-article-card__info_grey{
    background-color: var(--background-color);
}
.m-subscribe-section {
    padding: 50px 0;
    background-color: var(--background-color);
}


.m-article-card.redux {
    height: 240px;
}

@media only screen and (min-width: 48rem) {
.m-article-card.redux .m-article-card__picture {
    height: auto;
    aspect-ratio: 2.4;
}
}



.m-button.filled {
    border-radius: 0px;
}

@media only screen and (min-width: 48rem) {
.m-nav__left li:first-of-type {
    margin-right: 15px;
}
}

.m-mobile-topbar {
    display: flex;
    align-items: center;
    height: 50px;
    position: relative;
    z-index: 2;
}


.m-nav__left li.nav-current {
    font-weight: 600;
    color: var(--link-color);
}

.m-nav__left li {
    letter-spacing: 0px;
    font-size: 1rem;
    margin-bottom: 15px;
}


.m-featured-article__meta {
	display: none;
}

@media only screen and (min-width: 48rem) {
.m-featured-article__ribbon span:last-of-type {
    display: block;
    margin-top: 4px;
}

}




/* glide carousel  */

.m-featured-slider {
    width: calc(100% - 40px);
    height: 300px;
    margin: -80px -20px 10px -20px;
}

.m-featured-article__ribbon {
    top: 20px;
    left: 20px;
    right: auto;
}

.m-featured-article__picture div {
    background-position: 100%;
    background-size: contain;
    opacity: 1;
}

.m-featured-article__title {
    letter-spacing: -0.5px;
    font-size: 1.5rem;
    /*background-color: rgba(200,200,200,0.5);
    backdrop-filter: blur(15px);
    padding: 10px;
    margin-top: 2.5em;*/
    line-height: 1.1;
}

.m-featured-article__content {
    padding: 60px 60% 10px 20px;

}

@media only screen and (max-width: 48rem) {
.m-featured-slider {
    height: 100%;
    margin: -80px 0px 10px 0px;
    width: 100%;
}

.m-featured-article {
    display: flex;
    background-color: var(--footer-background-color);
    flex-direction: column;
}

.m-featured-article__content {
    flex: 0 1 100px;
    padding: 10px 60px 10px 10px;
}

.m-featured-slider__list__item {
    height: 400px;
}

.m-featured-article__picture {
    position: relative;
    }

.m-featured-article__picture div {
    background-position: top;
}
}






/* Orange Brand header */

.m-hero {
	padding: 65px 0 0px 0;
}
.m-hero.with-picture {
	display: flex;
	flex-direction: row;
	max-height: 500px;
    overflow: hidden;
}

@media only screen and (max-width: 48rem) {
.m-hero.with-picture {
    flex-direction: column-reverse;
    max-height: auto;
}
}

@media only screen and (min-width: 48rem) {
.m-hero.with-picture {
    min-height: 350px;
}
}

@media only screen and (min-width: 80rem) {
.m-hero.with-picture {
    min-height: 400px;
    max-width: 1200px;
    margin: auto;
}
}

.m-hero__picture {
	flex: 1 1 400px;
	position: relative;
}

.m-hero__header {
	flex: 1 1 200px;
	padding: 0 20px 0 20px;
}

.m-heading__title {
    color: var(--link-color);
}






/* homepage slider */
@media only screen and (min-width: 48rem) {

.m-featured-slider__list {
    border-radius: 0px;
}

.m-featured-slider__list__item {
    border-radius: 0px;
}
.m-hero__content {
    max-width: 1180px;
}
}

.m-article-card__info-link {
    padding: 15px 10px 10px 10px;
}

.m-article-card__info.no-tag .m-article-card__info-link {
    padding-top: 15px;
}

@media only screen and (min-width: 48rem) {
.m-article-card__info.no-tag .m-article-card__info-link {
    padding-top: 15px;
}
}

.m-article-card__title {
	margin-bottom: 0.5em;
	letter-spacing: -.5px;
    line-height: 1.1;
    font-size: 1.1rem;
}
.m-article-card__title.m-article-card__title_orange{
    color: var(--main-titles-color);
}

.m-article-card__excerpt {
	letter-spacing: 0px;
}

.m-article-card.no-picture .m-article-card__title {
    line-height: 1.3;
    font-size: 1.25rem;
}
.m-article-card.no-picture .m-article-card__picture {
    height: 15px!important;
}

.m-hero.no-picture.in-post {
    display: flex;
    color: #fff;
    background-color: #000;
}

.m-hero.no-picture.in-post .m-hero__header {
    flex: 1 1 200px;
    padding: 20px;
    max-width: 1240px;
}

.xs-article-card__title {
    font-weight: bold;
}

@media only screen and (min-width: 48rem) {
.m-article-card {
    height: 420px;
}
}

/* font dimensiuni */



.l-post-content h2 {	font-size: 1.75rem; }

.l-post-content h4 {	font-size: 1rem; }

.l-post-content p {
    letter-spacing: 0px;
    line-height: 1.2;
    font-size: 1rem;
    margin-bottom: 30px;
}

.l-post-content ol, .l-post-content ul {
    letter-spacing: 0px;
    line-height: 1.1;
    font-size: 1rem;

}

.l-post-content {	max-width: 1024px; }



.l-post-content hr {
    border-top: 1px solid var(--primary-border-color);
}

.l-post-content hr:after {
    display: none;
}


.m-recent-article__title {
    letter-spacing: 0px;
    font-size: 1.0rem;
    line-height: 1.2rem;
}

.m-recent-article__picture {
    border-radius: 0px;
}


@media only screen and (min-width: 80rem) {
.l-grid {
    margin: 0 -10px;
}
}


.m-article-card__tag {
    top: 0px;
    left: 0px;
    right: auto;
    color: var(--background-color);
    letter-spacing: 0px;
    line-height: 2;
    padding-left: 0.8em;
    padding-right: 1em;
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--secondary-foreground-color);
}



@media only screen and (min-width: 48rem) {
.m-article-card__info {
    padding-top: 33px;
}
}

@media only screen and (min-width: 64rem) {
.m-article-card {
    width: calc(25% - 10px);
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 20px;
}
}


/* special HERO treatment */

@media only screen and (min-width: 64rem) {
.l-grid.l-grid__hero .m-article-card:first-of-type {
    width: calc(50% - 10px);
}

.l-grid.l-grid__hero2 .m-article-card:first-of-type {
    width: calc(75% - 10px);
    flex-direction: row;
}

.l-grid.l-grid__hero .m-article-card:first-of-type .m-article-card__picture{
    height: 280px;
}

.l-grid.l-grid__hero2 .m-article-card:first-of-type .m-article-card__picture{
    height: 100%;
    width: 70%;
}

.l-grid.l-grid__hero2 .m-article-card:first-of-type .m-article-card__info {
    height:100%
}

.l-grid.l-grid__hero2 .m-article-card:first-of-type .m-article-card__excerpt {
    margin-top: 2em
}
}


/* flex pseudo-table */
/* ================= */

.flex {
    width:100%;
    -webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1; /* IE 10 */ 
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    flex-wrap: wrap;
    font-size: 1.5rem;

    margin-left: -20px;
    margin-right: -20px;
}

.flex .card {
    flex: 1 1 150px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;

    padding-left: 10px;
    padding-right: 10px;

    /*border: solid 1px #f4f4f4;*/
}


.col2 .card {     flex: 1 1 calc(50% - 20px); }
.col3 .card {     flex: 1 1 calc(33% - 20px); }
.col4 .card {     flex: 1 1 calc(25% - 20px); }


@media (max-width: 479px) {
    .flex.col4 .card  {    flex: 1 1 calc(50% - 20px); }

    .flex.col3 {   flex-direction: column;}
    .flex.col2 {   flex-direction: column;}
}

.flex .card img {
    max-width: 100%;
    margin: 0;
}


/* secondary colours & layouts */

.fullwidth {
    
    padding-left: 250px;
    padding-right: 250px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: var(--secondary-background-color);
    margin-left: -250px;
    margin-right: -250px;
    width: auto;
}

.fullwidth.bg-negru {
    background-color: #000000;
}

.badge {
    display: inline-block;
    min-width: 6em;
    padding: 0rem 1rem 0.5rem 1rem;
    color: #000;
    background-color: #777
}

.badge-albastru {       background: #4BB4E6;    }
.badge-galben {         background: #FFDC00;    }
.badge-orange {         background: #FF6600;    }
.badge-verde {          background: #50BE87     }
.badge-mov {            background: #9164CD     }
.badge-roz {            background: #FFB4E6;    }
.badge-lg {             padding: 0.6rem 2rem 1rem 2rem; font-size: 2rem;}
.badge-block {          width: 100%; margin-bottom: 5px;}

/* fundaluri-colorate */
.bg-alb {               background-color:  #ffffff; color: #000000}
.bg-gri-l1 {            background-color:  #F6F6F6}
.bg-gri, .bg-gri-l2 {   background-color:  #eeeeee}
.bg-gri-l3 {            background-color:  #dddddd}
.bg-gri-l4 {            background-color:  #cccccc}
.bg-gri-m1 {            background-color:  #999999}
.bg-gri-m2 {            background-color:  #666666}
.bg-gri-d1 {            background-color:  #444444; color: #ffffff}
.bg-gri-d2 {            background-color:  #333333; color: #ffffff}
.bg-gri-d3 {            background-color:  #232323; color: #ffffff}


.bg-negru {     background-color:  #000000; color: #ffffff}
.bg-verde {     background-color:  #50BE87; color: #000000}
.bg-galben {    background-color:  #FFDC00; color: #000000}
.bg-mov {       background-color:  #9164CD; color: #000000}
.bg-roz {       background-color:  #FFB4E6; color: #000000}
.bg-albastru {  background-color:  #4BB4E6; color: #000000}



/* butoane CTA */

a[href$="#btn"] {
    display: inline-block;
    padding: 0.2rem 1rem 0.2rem 1rem;
    text-align: center;
    vertical-align: center;
    border: solid 2px var(--primary-border-color);
    transition: all 0.5s ease;
    box-shadow: none;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
} 

a[href$="#btn"]:hover {
    border: solid 2px var(--primary-subtle-color);
    box-shadow: none;
    background-color: var(--primary-subtle-color);
    color: #fff;
} 

a.btn {
    display: inline-block;
    padding: 0.2rem 1rem 0.2rem 1rem;
    text-align: center;
    vertical-align: center;
    border: solid 2px var(--primary-border-color);
    transition: all 0.5s ease;
    box-shadow: none;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
} 

a.btn-md {   
    padding: 0.1rem 0.8rem 0.1rem 0.8rem;
    font-size: 1rem;
}

a.btn-cta {  
    color: #fff; 
    border: solid 2px var(--primary-subtle-color);
    background-color: var(--primary-subtle-color);
} 

a.btn:hover {
    background-color:var(--primary-subtle-color);
    border: solid 2px var(--primary-subtle-color);
    color: #fff;
    text-decoration: none;
} 

a.btn-cta:hover {
    color: #fff;
    background-color:var(--link-color-hover);
    border: solid 2px var(--link-color-hover);
} 


a.active {
    color: var(--primary-subtle-color);
}

a[href$="#btn-lg"] {
    display: inline-block;
    padding: 1rem 1rem 1rem 1rem;
    text-align: center;
    vertical-align: center;

    border: solid 2px var(--primary-subtle-color);
    background-color: var(--primary-subtle-color);
    color: #fff !important;


    transition: all 0.5s ease;
    box-shadow: none;
    font-weight: bold;
    font-size: 1.5rem;

    min-width: 70%;
    margin: 4rem auto 2rem auto;

    text-decoration: none;
} 

a[href$="#btn-lg"]:hover {
    border: solid 2px var(--primary-subtle-color);
    box-shadow: none;
    background-color: #ffffff;
    color: var(--primary-subtle-color) !important;
} 






.site-section-header {
    position: relative;
    z-index: 100;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    -ms-flex-align: center;
    align-items: center;
    margin: 20px 0 20px 0;

    border-bottom: solid 2px var(--secondary-border-color);
}

@media (max-width: 540px) {
    .site-section-header {
        display: block;
    }

}


.site-section-title {
    margin: 0;
    font-size: rem;
    min-width: 8em;
}

.site-section-morelink {
    
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 1.2rem;
    margin: 5px 0.5em 5px 0.5em;
}





.l-post-content blockquote:before {
    color: var(--primary-subtle-color);
    font-family: "Times New Roman", serif;
}


.l-post-content blockquote {
    position: relative;
    letter-spacing: 0px;
    line-height: 1.2;
    font-size: 1rem;

    font-style: normal;
    font-family: inherit;
    
    padding: 0 40px;
    margin: 0 0 25px;
}

@media only screen and (min-width: 48rem) {
.l-post-content blockquote {
    padding: 0 40px;
    margin-bottom: 30px;
}
}

.m-heading__meta__tag, .m-heading__meta__time {
    color: var(--light-gray)!important; 
}

.m-heading__meta__breadcrumb {
    /*padding-left: 1em;
    margin-left: 1em;
    border-left: solid 2px var(--light-gray);*/
}






/* social icons */
.social-menu {
    list-style-type: none;
    font-weight: bold;
    margin: 0;
    padding: 0 0 20px 0;
}


.social-menu li, .social-icon {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.social-icon a {
    color: #fff;
    transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    text-decoration: none;
}


.social-icon a {
    display: inline-block;
    width: 39px;
    height: 39px;
    vertical-align: top;
    border-radius: 100%;
}

.social-icon .fb:hover {
    background: #45619d;
}

.social-icon .twitter:hover {
    background: #55acee;
}

.social-icon .youtube:hover {
    background: #cd201f;
}

.social-icon .instagram:hover {
    background: #fb324f;
}

.social-icon .email:hover {
    background: #666;
}

.social-icon .linkedin:hover {
    background: #2867b2;
}





/* limits and utilities */

img[src$="#small"] {
    max-width: 200px!important;
} 

img[src$="#medium"] {
    max-width: 300px!important;
} 

img[src$="#large"] {
    max-width: 400px!important;
} 

img[src$="#xlarge"] {
    max-width: 600px!important;
} 

.gallery {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -10px;
}

.gallery p {
    margin: 10px;

}



/* footer */
.m-footer__content {
    color: #fff;
    text-align: left;
    padding: 50px 20px;
    max-width: 1200px;
}

.footer-block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-bottom: 20px;
}

.footer-block .footer-column {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.footer-column .link-menu {
    font-size: .8em;
    font-weight: bold;
    line-height: 1.5;

    list-style: none;

    margin: 0;
    padding: 0;
}

.m-footer-copyright {
    line-height: 1.2;
    font-size: .8rem;
}

@media (max-width: 48rem) {
    .mobile-hide {  display: none!important; }
}



.lang {
    font-size: 0.95rem;
    font-weight: bold;
    margin-left: 1em;
}

.m-hero__content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.m-logo.in-mobile-topbar {
    height: 30px;
    margin: 0 10px;
}

.icon-menu:before {
    content: "\2261";
}

.icon-menu {
    font-size: 2rem;
    font-weight: bold;
    margin-top: -8px;
}