@import url("https://lacasuriortodoxe.ro/scripturi/fonturi/gelasio/style.css");
@import url("https://lacasuriortodoxe.ro/scripturi/fonturi/inter/style.css");
@import url("https://lacasuriortodoxe.ro/scripturi/fonturi/teko/style.css");

* {
    box-sizing: border-box;
}

html {
    font-size: 10px;
    line-height: 10px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Gelasio', Georgia, sans-serif;
    line-height: 1.4;
}

a {
    color: #005B91;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.separator {
    width: 100%;
    height: 1px;
    background: #CCCCCC;
    margin-top: 7px;
    margin-bottom: 7px;
}

/*/
 * Antet ESC Home
/*/

.container {
    max-width: 1200px;
    margin: 0 auto 0;
    padding-left: 10px;
    padding-right: 10px;
}

header {
    padding-top: 10px;
    padding-bottom: 10px;
    display: flex;
}

header img {
    max-height: 80px;
    max-width: 100%;
}

header nav {
    flex: 1;
    text-align: right;
    padding-top: 25px;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

header nav a {
    font-family: 'Inter', helvetica, sans-serif;
    display: inline-block;
    vertical-align: top;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #333333;
    text-decoration: none;
}

header nav a:hover {
    background: #EFEFEF;
    text-decoration: none;
}

.ticker {
    font-family: 'Inter', helvetica, sans-serif;
    display: flex;
    background: #005B91;
    color: #FFFFFF;
    font-size: 1.3rem;
}
.ticker .titlu {
    padding: 10px 20px;
    font-weight: bold;
    text-transform: uppercase;
    background: #D9D9D9;
    color: #005B91;
}
.ticker marquee {
    padding: 10px 20px;
    font-weight: bold;
}

@media all and (max-width: 890px) {
    header {
        display: block;
        text-align: center;
    }
    header nav {
        border-top: 1px solid #CCCCCC;
        padding-top: 10px;
        text-align: center;
        margin-top: 5px;
    }
    header nav a {
        padding-left: 7px;
        padding-right: 7px;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}


/*/
 * Hero Section
/*/

#home-hero {
    background: #1b76aa;
    font-family: 'Teko', Impact, sans-serif;
    height: 400px;
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    max-height: 1000px;
}

#home-hero .home-hero-separator {
    display: block;
}

#home-hero .home-hero-video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #FFFFFF;
    display: block;
}

#home-hero .home-hero-video video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0.7;
}

#home-hero .home-hero-text {
    color: #fff;
    padding-top: 0;
    transition: all 2s ease-in-out;
    -webkit-transition: all 2s ease-in-out;
    -moz-transition: all 2s ease-in-out;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    z-index: 9;
    display: block;
    transform: translateY(-50%);
}

#home-hero .home-hero-text-line-one, #home-hero .home-hero-text-line-two {
    font-size: 90px;
    text-transform: uppercase;
    line-height: 100%;
    text-align: center;
    position: relative;
}

#home-hero .home-hero-text-line-two {
    margin-top: 50px;
}

#home-hero .home-hero-text-line-one {
    transform: translateX(-200%);
    animation: 1s ease-out 1s 1 heroFromLeft;
    animation-fill-mode: forwards;
    display: inline-block;
}

#home-hero .home-hero-text-line-two {
    transform: translateX(200%);
    animation: 1.5s ease-out 1.5s 1 heroFromRight;
    animation-fill-mode: forwards;
    display: inline-block;
}

@keyframes heroFromLeft {
	0% {
		transform: translateX(-200%);
	}
	100% {
		transform: translateX(0);
	}
}

@keyframes heroFromRight {
	0% {
		transform: translateX(200%);
	}
	100% {
		transform: translateX(0);
	}
}

#home-hero .home-hero-text-line-bracket-one, #home-hero .home-hero-text-line-bracket-two {
    color: #fff200;
    padding: 0 10px;
    font-size: 130px;
    font-weight: 500;
    position: absolute;
    top: 0;
}

#home-hero .home-hero-text-line-bracket-one {
    transform: translateX(-3000px);
    animation: 1s ease-out 1s 1 heroBracketFromLeft;
    animation-fill-mode: forwards;
    animation-delay: 3s;
    left: -60px;
}

#home-hero .home-hero-text-line-bracket-two {
    transform: translateX(3000px);
    animation: 1s ease-out 1s 1 heroBracketFromRight;
    animation-fill-mode: forwards;
    animation-delay: 3s;
    right: -60px;
}


@keyframes heroBracketFromLeft {
    0% {
    	transform: translateX(-3000px);
    }
    100% {
    	transform: translateX(0);
    }
}

@keyframes heroBracketFromRight {
    0% {
    	transform: translateX(3000px);
    }
    100% {
    	transform: translateX(0);
    }
}

/* Text :: PC :: "&" and small text */

#home-hero .home-hero-text-line-and {
    color: #eb008b;
    font-size: 50px;
    padding: 0 10px;
}

#home-hero .home-hero-text-line-small {
    font-size: 50px;
    text-transform: none;
    padding: 0 10px;
}


@media screen and (max-width: 1350px) {
    #home-hero .home-hero-text-line-one, #home-hero .home-hero-text-line-two {
        font-size: 65px;
    }
    #home-hero .home-hero-text-line-bracket-one, #home-hero .home-hero-text-line-bracket-two {
        font-size: 90px;
    }
    #home-hero .home-hero-text-line-two {
        margin-top: 40px;
    }
}

@media screen and (max-width: 1000px) {
    #home-hero .home-hero-text-line-one, #home-hero .home-hero-text-line-two {
        font-size: 50px;
    }
    #home-hero .home-hero-text-line-and {
        font-size: 40px;
    }
    #home-hero .home-hero-text-line-small {
        font-size: 40px;
    }
    #home-hero .home-hero-text-line-bracket-one, #home-hero .home-hero-text-line-bracket-two {
        font-size: 60px;
    }
    #home-hero .home-hero-text-line-bracket-one {
        left: -30px;
    }
    #home-hero .home-hero-text-line-bracket-two {
        right: -30px;
    }
    #home-hero .home-hero-text-line-two {
        margin-top: 40px;
    }
}

@media screen and (max-width: 735px) {
    #home-hero .home-hero-text-line-and {
        font-size: 30px;
    }
    #home-hero .home-hero-text-line-small {
        font-size: 30px;
    }
    #home-hero .home-hero-text-line-and {
        display: block;
    }
    #home-hero .home-hero-text-line-small {
        display: block;
    }
    #home-hero .home-hero-text-line-bracket-one, #home-hero .home-hero-text-line-bracket-two {
        font-size: 80px;
    }
    #home-hero .home-hero-text-line-bracket-one {
        left: -30px;
    }
    #home-hero .home-hero-text-line-bracket-two {
        right: -30px;
    }
    #home-hero .home-hero-text-line-one, #home-hero .home-hero-text-line-two {
        font-size: 75px;
    }
    #home-hero .home-hero-text-line-two {
        margin-top: 10px;
    }
}

@media screen and (max-width: 595px) {
    #home-hero .home-hero-text-line-one, #home-hero .home-hero-text-line-two {
        font-size: 60px;
    }
}

@media screen and (max-width: 460px) {
    #home-hero .home-hero-text-line-and, #home-hero .home-hero-text-line-small {
        font-size: 20px;
    }
    #home-hero .home-hero-text-line-bracket-one, #home-hero .home-hero-text-line-bracket-two {
        font-size: 60px;
    }
    #home-hero .home-hero-text-line-bracket-one {
        left: -30px;
    }
    #home-hero .home-hero-text-line-bracket-two {
        right: -30px;
    }
    #home-hero .home-hero-text-line-one, #home-hero .home-hero-text-line-two {
        font-size: 45px;
    }
    #home-hero .home-hero-text-line-two {
        margin-top: 20px;
    }
}

@media screen and (max-width: 360px) {
    #home-hero .home-hero-text-line-one, #home-hero .home-hero-text-line-two {
        font-size: 35px;
    }
    #home-hero .home-hero-text-line-two {
        margin-top: 20px;
    }
}

.home-hero-divider {
    width: 100%;
    text-align: center;
    padding: 7px;
    color: #FFFFFF;
    background: #005B91;
    font-family: 'Inter', helvetica, sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

/*/
 * Stiri Home
/*/

.stiri-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.stiri-top .stiri-col-1 {
    display: block;
    width: 650px;
}
.stiri-top .stiri-col-2 {
    flex: 1;
    border: 1px solid #CCCCCC;
    padding: 7px;
}

@media all and (max-width: 1020px) {
    .stiri-top .stiri-col-1 {
        width: 50%;
    }
}

@media all and (max-width: 680px) {
    .stiri-top {
        display: block;
    }
    .stiri-top .stiri-col-1 {
        width: 100%;
        margin-bottom: 15px;
    }
    .stiri-top .stiri-col-2 {
        width: 100%;
    }
}


/*/
 * Titluri
/*/

.titlu-1 {
    font-size: 2.3rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #CCCCCC;
}

.titlu-2 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.titlu-3 {
    font-size: 1.6rem;
    line-height: 1.2;
}

/*/
 * Articol Mare
/*/

.articol-mare {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.articol-mare img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.articol-mare .descriere {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0,0,0,0.9);
    color: #FFFFFF;
    z-index: 2;
}
.articol-mare .descriere .data {
    font-family: 'Inter', helvetica, sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
}
.articol-mare .descriere .titlu {
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.articol-mare .descriere .intro {
    font-size: 1.3rem;
}
.stiri-col-1 .articol-mare {
    height: 100%;
}
@media all and (max-width: 400px) {
    .articol-mare .descriere .titlu {
        margin-bottom: 0;
    }
    .articol-mare .descriere .intro {
        display: none;
    }
}

/* Articol mic */

.articol-mic {
    display: flex;
    gap: 7px;
}
.articol-mic .imagine {
    width: 52px;
    height: 53px;
    overflow: hidden;
}
.articol-mic .imagine img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.articol-mic .descriere {
    flex: 1;
}
.articol-mic .descriere .data {
    font-size: 1.1rem;
    font-family: 'Inter', helvetica, sans-serif;
    font-weight: bold;
    color: #005B91;
}
.articol-mic .descriere .titlu {
    font-size: 1.4rem;
    color: #111;
    text-decoration: none;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.articol-mic .descriere .titlu:hover {
    text-decoration: underline;
}

/* Articol lista */

.articol-lista {
    font-weight: normal;
    margin-bottom: 5px;
    padding-left: 7px;
    background-image: url('general-bulina.gif');
    background-repeat: no-repeat;
    background-position: 0 7px;
}
.articol-lista .titlu {
    font-size: 1.2rem;
    font-weight: normal;
    line-height: 1.2;
}
.articol-lista .data {
  color: #999999;
  font-size: 1.0rem;
  font-family: 'Ubuntu', Arial;
}

/* Articol mic protopopiate */

.stiri-protopopiate {
    margin-bottom: 20px;
}
.stiri-protopopiate .stiri-rand {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}
.stiri-protopopiate .stiri-protopopiat {
    padding: 7px;
    border: 1px solid #CCCCCC;
}
.stiri-protopopiate .articol-mic .imagine {
    width: 64px;
    height: 64px;
}
.stiri-protopopiate .articol-mic .descriere .data {
    margin-bottom: 10px;
}

@media all and (max-width: 960px) {
    .stiri-protopopiate .stiri-rand {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (max-width: 500px) {
    .stiri-protopopiate .stiri-rand {
        grid-template-columns: repeat(1, 1fr);
    }
}

/*/
 * Articol
/*/

.pagina-articol {
    display: flex;
}

.pagina-articol-stanga {
    width: 65%;
}

.pagina-articol-dreapta {
    width: 35%;
    padding-left: 15px;
}


@media all and (max-width: 770px) {
    .pagina-articol {
        display: block;
    }
    .pagina-articol-stanga {
        width: 100%;
        display: block;
    }
    .pagina-articol-dreapta {
        width: 100%;
        padding: 0;
        display: block;
    }
}

article.articol .titlu {
    font-size: 2.9rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 5px;
    color: #005B91;
}
@media all and (max-width: 400px) {
    article.articol .titlu {
        font-size: 2.3rem;
    }
}
article.articol .autor {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
}
article.articol .data {
    color: #000000;
    font-size: 1.3rem;
    margin-bottom: 10px;
}
article.articol .linkuri {
    font-size: 1.3rem;
    padding-top: 7px;
    padding-bottom: 7px;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
}
article.articol .linkuri a {
    text-decoration: underline;
    color: #005B91;
}
article.articol .continut {
    margin-top: 10px;
    font-family: 'Gelasio', Arial, Helvetica, sans-serif;
}
article.articol .continut p {
    display: block;
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: justify;
    position: relative;
    font-weight: 500;
}
article.articol .continut h2, article .continut h3, article .continut h4 {
    font-size: 2.4rem;
    font-weight: bold;
    margin-top: 30px;
}
article.articol .continut code {
    background: #efefef;
    border-radius: 5px;
    padding: 2px 5px;
}
article.articol .continut mark {
    background: #F2E7D5;
    border-radius: 5px;
    padding: 2px 5px;
}
article.articol .continut a {
    color: #044364;
    font-weight: bold;
    padding-bottom: 1px;
    border-bottom: 2px solid #044364;
}
article.articol .continut a:hover {
    color: #990000;
    border-bottom: 2px solid #990000;
    text-decoration: none;
}
article.articol .continut blockquote {
    border-left: 5px solid #990000;
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #333;
    display: block;
    margin: 0;
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.5;
    text-align: justify;
    position: relative;
}
article.articol .continut pre {
    background: #F3E8E8;
    padding: 10px 15px;
    color: #000;
    font-family: monospace;
    text-align: left;
    border-radius: 10px;
    font-size: 1.2rem;
}
article.articol .continut img {
    display: inline-block;
    max-width: 100%;
    border: 1px solid #CCCCCC;
    padding: 5px;
}
article.articol .continut hr {
    width: 100%;
    height: 5px;
    border: 0;
    background: #990000;
    margin-bottom: 15px;
    margin-top: 15px;
}
article.articol .recomanda {
    padding-left: 20px;
    background-image: url('general-share.png');
    background-repeat: no-repeat;
    background-position: left center;
    display: inline-block;
}
article.articol .continut ul {
    padding-left: 20px;
    font-size: 1.5rem;
    margin: 0;
    margin-bottom: 15px;
}
article.articol figure {
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}

/*/
 * Module
/*/

.modul {
    border: 1px solid #CCCCCC;
    font-family: 'Ubuntu', Arial, Helvetica, sans-serif;
    margin-top: 20px;
    margin-bottom: 20px;
}
.modul .modul-titlu {
    background: #F5F5F5;
    padding: 3px 7px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #044364;
}
.modul .modul-continut {
    padding: 7px;
    font-size: 1.3rem;
}
.modul .modul-continut img {
    max-width: 100%;
    margin: 0 auto 0;
    display: block;
}
