/* --------------------------------

FONTS

-------------------------------- */

@font-face {
    font-family: 'bohemian_typewriterregular';
    src: url('../fonts/bohemian_typewriter_diacritics-webfont.eot');
    src: url('../fonts/bohemian_typewriter_diacritics-webfont.eot?#iefix') format('embedded-opentype'),
    url('../fonts/bohemian_typewriter_diacritics-webfont.woff2') format('woff2'),
    url('../fonts/bohemian_typewriter_diacritics-webfont.woff') format('woff'),
    url('../fonts/bohemian_typewriter_diacritics-webfont.ttf') format('truetype'),
    url('../fonts/bohemian_typewriter_diacritics-webfont.svg#bohemian_typewriterregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* --------------------------------

Primary style

-------------------------------- */

*, *::after, *::before {
    box-sizing: border-box;
    outline: none;
}

html {
    font-size: 62.5%;
    min-height: 100%;
}

body {
    font-size: 1.6rem;
    font-family: "Open Sans", sans-serif;
    color: #ffffff;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100%;
}

body::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'mobile';
    display: none;
}

@media only screen and (min-width: 1050px) {
    body::before {
        /* never visible - this is used in jQuery to check the current MQ */
        content: 'desktop';
    }
}

a {
    color: #267481;
    text-decoration: none;
}

/* --------------------------------

Main Components

-------------------------------- */
@media only screen and (min-width: 1050px) {
    body[data-hijacking="on"] {
        overflow: hidden;
    }
}

.sectiontest-bg {
    background: url('../images/pattern_inner_sec.jpg') repeat;
    width: 100%;
    height: calc(100vh - 110px);
    margin-top: 110px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.cd-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.cd-section h2 {
    line-height: 100vh;
    text-align: center;
    font-size: 2.4rem;
    color: red;
}

.cd-section:first-of-type > div {
    background-color: #2b334f;
}

.cd-section:first-of-type > div::before {
    /* alert -> all scrolling effects are not visible on small devices */
    content: 'Effects not visible on mobile!';
    position: absolute;
    width: 100%;
    text-align: center;
    top: 20px;
    z-index: 2;
    font-weight: bold;
    font-size: 1.3rem;
    text-transform: uppercase;
    color: #6a7083;
    display: none;
}

.sec-1 > div {
    background: url('../images/bg/sec1.jpg') no-repeat center top;
    height: 100vh;
    background-size: cover;

}

.sec-2 > div {
    background: url('../images/bg/sec2.jpg') no-repeat center top;
    height: 100vh;
    background-size: cover;
}

.sec-3 > div {
    background: url('../images/bg/sec3.jpg') no-repeat center top;
    height: 100vh;
    background-size: cover;
}

.sec-4 > div {
    background: url('../images/bg/sec4.jpg') no-repeat center top;
    height: 100vh;
    background-size: cover;
}

.sec-5 > div {
    background: url('../images/bg/sec5.jpg') no-repeat center top;
    height: 100vh;
    background-size: cover;
}

.sec-6 > div {
    background: url('../images/bg/sec6.jpg') no-repeat center top;
    height: 100vh;
    background-size: cover;
}

[data-animation="parallax"] .cd-section > div, [data-animation="fixed"] .cd-section > div, [data-animation="opacity"] .cd-section > div {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

[data-animation="parallax"] .cd-section:first-of-type > div, [data-animation="fixed"] .cd-section:first-of-type > div, [data-animation="opacity"] .cd-section:first-of-type > div {
    /*background-image: url("../images/img-1.jpg");*/
}

[data-animation="parallax"] .cd-section:nth-of-type(2) > div, [data-animation="fixed"] .cd-section:nth-of-type(2) > div, [data-animation="opacity"] .cd-section:nth-of-type(2) > div {
    /*background-image: url("../images/img-2.jpg");*/
}

[data-animation="parallax"] .cd-section:nth-of-type(3) > div, [data-animation="fixed"] .cd-section:nth-of-type(3) > div, [data-animation="opacity"] .cd-section:nth-of-type(3) > div {
    /*background-image: url("../images/img-3.jpg");*/
}

[data-animation="parallax"] .cd-section:nth-of-type(4) > div, [data-animation="fixed"] .cd-section:nth-of-type(4) > div, [data-animation="opacity"] .cd-section:nth-of-type(4) > div {
    /*background-image: url("../images/img-4.jpg");*/
}

[data-animation="parallax"] .cd-section:nth-of-type(5) > div, [data-animation="fixed"] .cd-section:nth-of-type(5) > div, [data-animation="opacity"] .cd-section:nth-of-type(5) > div {
    /*background-image: url("../images/img-5.jpg");*/
}

.testimonialsDetalii {
    height: 85%;
    opacity: 0;
}

.raspuns {
    color: #000000;
}

.loadingIco {
    height: 100%;
    width: 100%;
    background: url("../images/ajax-loading.svg") no-repeat center center;
}

.fadeInText {
    -webkit-animation: fadeIn 1s ease forwards;
    animation: fadeIn 1s ease forwards;

    /*-webkit-animation-delay: 1s; !* Chrome, Safari, Opera *!*/
    /*animation-delay: 1s;*/
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0
    }
    100% {
        opacity: 1;
    }
}

.cd-vertical-nav {
    display: none;
}

@media only screen and (min-width: 1050px) {
    .cd-section h2 {
        font-size: 4rem;
        font-weight: 300;
    }

    [data-hijacking="on"] .cd-section {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    [data-hijacking="on"] .cd-section > div {
        visibility: visible;
    }

    [data-hijacking="off"] .cd-section > div {
        opacity: 0;
    }

    [data-animation="rotate"] .cd-section {
        /* enable a 3D-space for children elements */
        -webkit-perspective: 1800px;
        -moz-perspective: 1800px;
        perspective: 1800px;
    }

    [data-hijacking="on"][data-animation="rotate"] .cd-section:not(:first-of-type) {
        -webkit-perspective-origin: center 0;
        -moz-perspective-origin: center 0;
        perspective-origin: center 0;
    }

    [data-animation="scaleDown"] .cd-section > div, [data-animation="gallery"] .cd-section > div, [data-animation="catch"] .cd-section > div {
        box-shadow: 0 0 0 rgba(25, 30, 46, 0.4);
    }

    [data-animation="opacity"] .cd-section.visible > div {
        z-index: 1;
    }
}

@media only screen and (min-width: 1050px) {
    .cd-section:first-of-type > div::before {
        display: none;
    }

}

@media only screen and (min-width: 1050px) {
    .cd-section > div {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        /* Force Hardware Acceleration */
        -webkit-transform: translateZ(0);
        -moz-transform: translateZ(0);
        -ms-transform: translateZ(0);
        -o-transform: translateZ(0);
        transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    [data-hijacking="on"] .cd-section > div {
        position: absolute;
    }

    [data-animation="rotate"] .cd-section > div {
        -webkit-transform-origin: center bottom;
        -moz-transform-origin: center bottom;
        -ms-transform-origin: center bottom;
        -o-transform-origin: center bottom;
        transform-origin: center bottom;
    }
}

.cd-vertical-nav {
    /* lateral navigation */
    position: fixed;
    z-index: 1;
    right: 3%;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    display: none;
}

.cd-vertical-nav a {
    display: block;
    height: 40px;
    width: 40px;
    /* image replace */
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: url(../img/cd-icon-arrow.svg) no-repeat center center;
}

.cd-vertical-nav a.cd-prev {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    margin-bottom: 10px;
}

.cd-vertical-nav a.inactive {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
    transition: opacity 0.2s 0s, visibility 0s 0.2s;
}

@media only screen and (min-width: 1050px) {
    /*.cd-vertical-nav {*/
    /*display: block;*/
    /*height: 109px;*/
    /*}*/
}

/* --------------------------------

Navigation

-------------------------------- */

.spg-nav-wrapper {
    width: 100%;
    background: rgba(64, 0, 0, 0.75);
    height: 109px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999;
    border-bottom: 1px solid #ac1212;
    transition: all ease 0.6s;
}

.spg-nav-wrapper.hidden-menu {
    top: -109px;
}

.btn_menu {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #ac1212;
    display: block;
    position: absolute;
    bottom: -31px;
    left: 50%;
    -webkit-transform: translate(0, -50%);
    -moz-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
}

.icon-bar {
    width: 22px;
    height: 4px;
    border-radius: 1px;
    margin-top: 4px;
    background-color: rgba(64, 0, 0, 1);
    display: none;
}

.spg-top-logo {
    width: 235px;
    height: 80px;
    float: left;
    margin: 17px 0 0 70px;
}

.spg-top-logo2 {
    width: 235px;
    height: 80px;
    margin: 17px 0 0 70px;
    position: absolute;
    z-index: 998;

}

.sarma {
    /*background: url('../images/sarma.png') no-repeat;*/
    width: 1920px;
    height: 197px;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 990;
}

.ghimpi {
    background: url('../images/bg/ghimpi.png') no-repeat left top;
    background-size: 100% auto;
    width: 110%;
    height: 240px;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 990;
    left: -10px;
}

.spg-nav {
    list-style-type: none;
    margin-top: 46px;
    padding: 0 50px;
    float: left;
    width: calc(100% - 415px);
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

ul.spg-nav li {
    display: inline-block;
}

ul.spg-nav li a {
    font-family: 'bohemian_typewriterregular';
    font-size: 18px;
    color: #fff;
}

ul.spg-nav li a.active {
    text-decoration: underline;
}

.spg-sigla {
    background: url("../images/minister.png");
    width: 90px;
    height: 90px;
    display: block;
    float: right;
    margin: 10px 20px 10px 0;
}

/* --------------------------------

left navigation

-------------------------------- */

.left-navigation {
    position: absolute;
    right: 10px;
    top: 50%;
    z-index: 1000;
    margin-top: -87px;
}

ul.left-navigation li a {
    background: url("../images/nav.png");
    background-position: left top;
    width: 24px;
    height: 24px;
    display: block;
    margin-bottom: 5px;
}

ul.left-navigation li a:hover,
ul.left-navigation li a.active {
    background: url("../images/nav.png");
    background-position: right top;
    width: 24px;
    height: 24px;
    display: block;
}

/* --------------------------------

Section 1

-------------------------------- */

.gpu {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

.sec-left-1 {
    text-align: center;
}

.site-title {
    background: url("../images/site_title.png") no-repeat;
    max-width: 760px;
    width: 80%;
    height: 363px;
    display: block;
    margin: 150px auto 0;
    background-size: contain;
}

button {
    background: rgba(255, 255, 255, 0.5);
    border: 3px solid #000;
    padding: 10px;
    font-family: 'bohemian_typewriterregular';
    font-size: 36px;
    color: #000;
    display: inline-block;
}

.sec-left-1 button {
    margin: 80px 0 0;
}

.text-radius10 {

}

#page_content, .pt-perspective {
    z-index: 1000;
}

.rotate {
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.deco-sec-2 {
    -moz-transform: rotate(-4deg);
    -webkit-transform: rotate(-4deg);
    transform: rotate(-4deg);
}

.deco-sec-3 {
    -moz-transform: rotate(4deg);
    -webkit-transform: rotate(4deg);
    transform: rotate(4deg);
}

.deco-sec-4 {
    -moz-transform: rotate(-8deg);
    -webkit-transform: rotate(-8deg);
    transform: rotate(-8deg);
}

.footer {
    background: #000;
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 100%;
    padding: 15px 40px;
}

.footer ul {
    float: right;
    padding: 0px;
    margin: 0px;
}

.footer ul li {
    padding: 0px;
    margin: 0px;
}

.footer ul li a {
    color: #868686;
    font-size: 12px;
    line-height: 14px;
}

.footer ul li a:hover {
    color: #fff;
    text-decoration: none;
}

.footer ul li a,
.footer ul li a:hover,
.footer ul li a:active,
.footer ul li a:focus {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    outline: none;

}

.text-red {
    color: #ff0000;
}

.slider-year-for p{
    line-height: 37px;
}

@media (max-width: 1366px) {
    .spg-nav {
        padding: 0 25px;
        width: calc(100% - 320px);
    }

    .site-title {
        margin-top: 130px;
        max-width: 617px;

        height: 280px;
    }
    ul.spg-nav li a{
        font-size:16px;
    }
    .spg-top-logo {
        width: 180px;
        margin: 30px 0 0 30px;
    }

    .spg-top-logo img {
        max-width: 100%;
    }

}

@media (max-width: 1050px) {
    .site-title {
        max-width: 540px;
        height: 282px;
        margin-top: 75px;
    }

    .sec-left-1 button {
        margin-top: 40px;
        width: 90%;
    }

    .left-navigation {
        display: none;
    }

    .spg-nav-wrapper {
        height: auto;
    }

    .cd-section {
        overflow: hidden;
    }

    .ghimpi {
        /*width: 100%;*/
        height: 100px;
        /*left: 0px;*/
    }

    .sectiontest-bg {
        background: url('../images/pattern_inner_sec.jpg') repeat;
        width: 100%;
        height: 90vh;
        margin-top: 0px;
        position: relative;
    }

    .section2_main_container {
        height: 90vh;
        width: 100%;
        padding: 40px 0 20px 40px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;

    }

    .spg-nav-wrapper.hidden-menu .spg-nav-wrapper-innerwrapper {
        height: 0px;

    }

    .spg-nav-wrapper.hidden-menu {
        top: auto;

        /*-webkit-transform: translateY(-100%);*/
        /*-moz-transform: translateY(-100%);*/
        /*-ms-transform: translateY(-100%);*/
        /*-o-transform: translateY(-100%);*/
        /*transform: translateY(-100%);*/
    }

    .spg-nav-wrapper {
        height: auto;
        position: relative;
        left: auto;
        background: url("../images/bg-slice.jpg") repeat top left;
    }

    .spg-nav-wrapper .spg-nav-wrapper-innerwrapper {
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
        height: 216px;
        overflow: hidden;
        background: rgba(64, 0, 0, 0.75);
    }

    .spg-top-logo {
        width: 80px;
        height: auto;
        display: block;

        margin: 10px;
        float: none;
    }

    .spg-top-logo2 {
        float: none;
        height: auto;
        width: 160px;
        /*top: 20px;*/
        /*left: 20px;*/
        /*margin:0px;*/
        /*position: fixed;*/
    }

    .spg-top-logo img,
    .spg-top-logo2 img {

        width: 100%;
    }

    .spg-nav {
        display: block;
        float: none;
        padding: 0 10px 10px;
        width: 100%;
        margin: 0px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .spg-sigla {
        position: absolute;
        right: 10px;
        top: 10px;
        margin: 0px;
    }

    ul.spg-nav li {
        display: block;
        float: none;
        padding-bottom: 10px;
    }

    ul.spg-nav li a {
        display: inline-block;
        float: none;
        font-size: 14px;
    }

    ul.spg-nav li a.active {
        text-decoration: none;

    }

    .btn_menu {
        width: 44px;
        height: 41px;
        padding: 5px 9px 10px;
        background-color: transparent;
        background-image: none;
        border: 2px solid;
        border-radius: 4px;
        border-color: rgba(64, 0, 0, 1);
        position: absolute;
        top: 30px;
        left: initial;
        cursor: pointer;
        bottom: initial;
        right: 10px;
    }

    .btn_menu.open {
        border-color: #FFF;
    }

    .btn_menu.open .icon-bar {
        background-color: #FFF;
    }

    .icon-bar {
        display: block;
    }

    .spg-sigla {
        top: auto;
        bottom: 10px;
    }

    .spg-nav-wrapper {
        position: fixed;
        z-index: 9999;
    }
/*******************/

    .hide-it{
        display:none;
    }

    .sec-1 > div {
        height: 100vh;
        min-height: 768px;
    }

    .sec-2 > div {
        height: 100vh;
        min-height: 768px;
    }

    .sec-3 > div {
        height: 100vh;
        min-height: 768px;
    }

    .sec-4 > div {
        height: 100vh;
        min-height: 768px;
    }

    .sec-5 > div {
        height: 100vh;
        min-height: 768px;
    }

    .sec-6 > div {
        height: 100vh;
        min-height: 768px;
    }

}

@media (max-width: 768px) {

    .slider-year-navigation .slick-current {
        padding-top: 38px;
    }

    .testimonialsDetalii {
        height: 100%;
    }
}

@media (max-width: 600px) {
    .spg-top-logo2 {
        width: 80px;
        margin: 10px 0 0 10px;
    }

    .site-title {
        margin-top: 70px;
        height: 212px;
    }


    .sec-1 > div {
        height: 768px;
        min-height: 768px;
    }

    .sec-2 > div {
        height: 768px;
        min-height: 768px;
    }

    .sec-3 > div {
        height: 768px;
        min-height: 768px;
    }

    .sec-4 > div {
        height: 768px;
        min-height: 768px;
    }

    .sec-5 > div {
        height: 768px;
        min-height: 768px;
    }

    .sec-6 > div {
        height: 768px;
        min-height: 768px;
    }
}

/* --------------------------------

Sections

-------------------------------- */

.section4_one_letter_link.disabled,
.section5_one_letter_link.disabled,
.section4_one_letter_link.disabled:hover,
.section5_one_letter_link.disabled:hover {
    cursor: default;
    color: #BBB;
}


