/* ==========================================================================
   STYLE.CSS - Forțele Navale Române
   ========================================================================== */


/* ==========================================================================
   1. SETĂRI GENERALE
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    margin: 0;
    font-size: 1.6rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.5;
}

p {
    margin: 10px 0;
}

strong {
    font-weight: bold;
}

em {
    font-style: italic;
}


/* ==========================================================================
   2. LINKURI GENERALE
   ========================================================================== */

a,
a:link,
a:visited {
    color: #1a93de;
    text-decoration: none !important;
}

a:hover,
a:focus,
a:active {
    color: #105cb6;
    text-decoration: none !important;
}


/* ==========================================================================
   3. BUTOANE
   ========================================================================== */

a.bootstrap-button,
a.bootstrap-button_p {
    display: inline-block;
    padding: 6px 15px;
    background-color: #002D56;
    color: #ffffff !important;
    border: none;
    border-radius: 2px;
    font-style: normal;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

a.bootstrap-button {
    margin-top: 10px;
}

a.bootstrap-button:hover,
a.bootstrap-button:focus,
a.bootstrap-button_p:hover,
a.bootstrap-button_p:focus {
    background-color: #1a93de;
    color: #ffffff !important;
    text-decoration: none !important;
}


/* ==========================================================================
   4. CARUSEL
   ========================================================================== */

#owl-demo {
    width: 100%;
    margin: 0;
    padding: 0;
}

#owl-demo .item {
    position: relative;
    margin: 0;
    padding: 0;
}

#owl-demo .item a {
    display: block;
    margin: 0;
    padding: 0;
    text-decoration: none !important;
}

#owl-demo .item img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

#owl-demo .item p {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 8px;

    background-color: rgba(51, 51, 51, 0.7);
    color: #ffffff;

    cursor: pointer;
}


/* ==========================================================================
   5. TITLURI SECȚIUNI
   ========================================================================== */

.cd-main-content .content-wrapper h1.section-title {
    margin: 30px 0 15px;
    text-align: left !important;
}

/* Comunicate de presă aliniat sus cu caruselul */
.Rside h1.section-title:first-child {
    margin-top: 0;
}


/* ==========================================================================
   6. COMUNICATE DE PRESĂ
   ========================================================================== */

#bodyNews {
    width: 100%;
    margin: 0 0 15px;
}

#bodyNews .order:first-child {
    margin-top: 30px;
}

.order {
    display: flex;
    align-items: flex-start;

    /* Spațiul dintre caseta cu data și text */
    gap: 8px;

    width: 100%;
    margin-bottom: 8px;
}

.order .date-order {
    flex-shrink: 0;

    /* IMPORTANT:
       nu mai folosim margin-right deoarece avem gap */
    margin-right: 0;

    padding: 4px 8px;

    background-color: #002D56;
    color: #ffffff;

    font-size: 14px;
    line-height: 1.25;

    text-align: center;

    border-radius: 2px;
}

.order .detail {
    display: block;
    min-width: 0;
}

.order .detail a,
.order .detail a:link,
.order .detail a:visited {
    color: #333333;
    text-decoration: none !important;
}

.order .detail a:hover,
.order .detail a:focus,
.order .detail a:active {
    color: #105cb6;
    text-decoration: none !important;
}


/* ==========================================================================
   7. BUTON MAI MULT - COMUNICATE
   ========================================================================== */

.section-more {
    width: 100%;
    margin: 15px 0;
    text-align: right;
}


/* ==========================================================================
   8. EVENIMENTE
   ========================================================================== */

#bodyEvents {
    width: 100%;
    clear: both;
    float: left;
}

/* Contur fotografie eveniment */
.cd-main-content .content-wrapper .Lside .events .row .event-photo {
    padding: 2px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
}

a.transition,
a.transition:link,
a.transition:visited {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: normal;
    line-height: 1.35;
    color: #333333;
    text-decoration: none !important;
    transition: color 0.2s linear;
}

a.transition:hover,
a.transition:focus,
a.transition:active {
    color: #105cb6;
    text-decoration: none !important;
}

a.decoration-none,
a.decoration-none:link,
a.decoration-none:visited,
a.decoration-none:hover,
a.decoration-none:focus,
a.decoration-none:active {
    text-decoration: none !important;
}


/* ==========================================================================
   9. BUTON MAI MULT - EVENIMENTE
   ========================================================================== */

.events-more {
    width: 100%;
    clear: both;
    float: left;

    margin: 0 0 40px;

    text-align: right;
}

.events-more .bootstrap-button {
    margin-top: 0;
}


/* ==========================================================================
   10. NOUTĂȚI / RECOMANDĂRI / SOCIAL
   ========================================================================== */

.widget-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget-list li {
    margin: 0;
    padding: 6px 0;
    border: none;
}

.widget-list li:last-child {
    padding-bottom: 0;
}


/* ==========================================================================
   11. LINKURI DIN WIDGET-LIST
   ========================================================================== */

.widget-list li a,
.widget-list li a:link,
.widget-list li a:visited {
    display: flex;
    align-items: center;

    /* Spațiul dintre iconiță și text */
    gap: 8px;

    color: #333333;

    text-decoration: none !important;
}

.widget-list li a:hover,
.widget-list li a:focus,
.widget-list li a:active {
    color: #105cb6;
    text-decoration: none !important;
}


/* ==========================================================================
   12. IMAGINI DIN NOUTĂȚI / RECOMANDĂRI / SOCIAL
   ========================================================================== */

.widget-list li a img {
    flex-shrink: 0;

    max-width: 100%;
    height: auto;

    /* Elimină eventuale margini venite din alte CSS-uri */
    margin: 0;

    padding: 2px;

    border: 1px solid #d5d5d5;

    background-color: #ffffff;
}

.widget-list li a span {
    line-height: 1.35;
}


/* ==========================================================================
   13. DATA COMUNICAT
   ========================================================================== */

.widget-list li a div.data-comunicat {
    flex-shrink: 0;

    margin: 0;

    padding: 4px 8px;

    background-color: #002D56;
    color: #ffffff;

    font-size: 24px;
    font-weight: bold;

    text-align: center;
    line-height: 1;
}

.widget-list li a div.data-comunicat span {
    display: block;

    font-size: 14px;
    font-weight: normal;
}


/* ==========================================================================
   14. SPAȚIERE ÎNTRE SECȚIUNILE DIN RSIDE
   ========================================================================== */

.Rside .section-title {
    margin-top: 30px;
    margin-bottom: 15px;
}

.Rside .section-title:first-child {
    margin-top: 0;
}


/* ==========================================================================
   15. CASETE INFORMATIVE
   ========================================================================== */

.widget-about,
.widget-form {
    padding: 8px;

    background-color: #f0f0f0;
    color: #666666;

    border: 1px solid #cccccc;
    border-radius: 2px;

    font-size: 13px;

    text-align: center;

    line-height: 1.5;
}

/* Spațiere separată */
.widget-about {
    margin: 60px 0 15px;
}

.widget-form {
    margin: 10px 0 15px;
}

.widget-about a,
.widget-about a:link,
.widget-about a:visited,
.widget-form a,
.widget-form a:link,
.widget-form a:visited {
    color: #1a93de;
    text-decoration: none !important;
}

.widget-about a:hover,
.widget-about a:focus,
.widget-form a:hover,
.widget-form a:focus {
    color: #105cb6;
    text-decoration: none !important;
}


/* ==========================================================================
   16. TAG-URI
   ========================================================================== */

.tag {
    display: inline-block;

    padding: 3px 6px;

    background-color: #002D56;
    color: #ffffff;

    border-radius: 2px;

    font-size: 13px;
}


/* ==========================================================================
   17. CARDURI
   ========================================================================== */

.autodim-card {
    position: relative;

    background-color: #ffffff;

    border: 1px solid #dedede;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);
}

.autodim-card-photo {
    display: block;

    width: 100%;
    height: 200px;

    object-fit: cover;

    background-position: center;
    background-size: cover;
}

.autodim-card-photo_inalt {
    display: block;

    width: 100%;
    height: 320px;

    object-fit: cover;

    background-position: center;
    background-size: cover;
}


/* ==========================================================================
   18. INFORMAȚII CARD
   ========================================================================== */

.autodim-info {
    margin: 0;

    padding: 6px;

    font-size: 16px;

    line-height: 2;

    color: #808080;
}

.autodim-address {
    width: 100%;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* ==========================================================================
   19. PREȚ CARD
   ========================================================================== */

.autodim-price {
    position: absolute;

    left: 0;
    bottom: 15px;

    padding: 4px 8px;

    background-color: #fc6355;
    color: #ffffff;

    font-size: 18px;
    font-weight: bold;
}

.autodim-price sup {
    font-size: 12px;
    font-weight: normal;
}


/* ==========================================================================
   20. RANG CARD
   ========================================================================== */

.autodim-rank {
    position: absolute;

    right: 0;
    bottom: 15px;

    padding: 4px 8px;

    background-color: #003580;
    color: #ffffff;

    font-size: 18px;
    font-weight: bold;
}

.autodim-rank sup {
    font-size: 12px;
    font-weight: normal;
}


/* ==========================================================================
   21. FOOTER CARD
   ========================================================================== */

.autodim-footer {
    width: 100%;

    padding: 10px;

    text-align: center;

    background-color: #f6f7f8;

    border-top: 1px solid #e9eaed;
}

.autodim-footer a,
.autodim-footer a:link,
.autodim-footer a:visited {
    display: inline-block;

    margin: 0 3px;

    padding: 6px 15px;

    background-color: #f0f0f0;

    border: 1px solid #cccccc;
    border-radius: 3px;

    color: #4e5665;

    font-size: 14px;

    text-decoration: none !important;
}

.autodim-footer a:hover,
.autodim-footer a:focus {
    background-color: #e5e5e5;

    color: #4e5665;

    text-decoration: none !important;
}


/* ==========================================================================
   22. PAGINARE
   ========================================================================== */

a.autodim-page,
a.autodim-page:link,
a.autodim-page:visited {
    display: inline-block;

    margin: 3px;

    padding: 4px 12px;

    background-color: #ffffff;

    color: #444650;

    border: 1px solid #dedede;
    border-radius: 3px;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14);

    text-decoration: none !important;
}

a.autodim-page:hover,
a.autodim-page-selected {
    background-color: #d5d5d5;

    border-color: #999999;

    text-decoration: none !important;
}


/* ==========================================================================
   23. ELEMENTE AUXILIARE
   ========================================================================== */

.feature-icon {
    width: 18px;

    margin-right: 8px;

    vertical-align: middle;
}

.pdate {
    position: absolute;

    top: 0;
    left: 0;

    z-index: 2;

    padding: 4px 8px;

    background-color: #002D56;
    color: #ffffff;

    font-size: 24px;
    font-weight: bold;

    text-align: center;

    line-height: 1;
}

.pdate span {
    display: block;

    font-size: 14px;
    font-weight: normal;
}

a.negru,
a.negru:link,
a.negru:visited {
    color: #000000;
    text-decoration: none !important;
}

a.negru:hover,
a.negru:focus {
    color: #105cb6;
    text-decoration: none !important;
}

audio {
    width: 100%;
}


/* ==========================================================================
   24. GRILĂ
   ========================================================================== */

.so-container {
    display: block;
    width: 100%;
}

.so-container .col3 {
    position: relative;

    float: left;

    width: 33.33333%;

    padding: 10px;
}

.so-container .col3:nth-child(3n+1) {
    clear: left;
}


/* ==========================================================================
   25. CLEARFIX
   ========================================================================== */

.clearfix::after {
    content: "";

    display: table;

    clear: both;
}


/* ==========================================================================
   26. TABLETĂ
   ========================================================================== */

@media only screen and (max-width: 800px) {

    .autodim-card-photo_inalt {
        height: 200px;
    }
}


/* ==========================================================================
   27. TELEFON
   ========================================================================== */

@media screen and (max-width: 640px) {

    .so-container .col3 {
        float: none;

        width: 100%;

        padding: 10px 0;
    }


    .cd-main-content
    .content-wrapper
    .Lside
    .events
    .row
    .event-detail {
        padding: 10px 0 30px;
    }

    .cd-main-content
    .content-wrapper
    .Lside
    .events
    .row:last-child
    .event-detail {
        padding-bottom: 0;
    }


    #owl-demo,
    #owl-demo .item {
        width: 100%;
    }

    #owl-demo .item img {
        width: 100%;
        height: auto;
    }


    .section-more,
    .events-more {
        width: 100%;
    }
}


/* ==========================================================================
   28. PROTECȚIE FINALĂ - FĂRĂ SUBLINIERE
   ========================================================================== */

.cd-main-content a,
.cd-main-content a:link,
.cd-main-content a:visited,
.cd-main-content a:hover,
.cd-main-content a:focus,
.cd-main-content a:active {
    text-decoration: none !important;

}

