/*
 * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    overflow-x: hidden;
}

.aliniere-tab {
    margin-left: 50px;
}

.img-responsive {
    display: inline;
}

@font-face {
    font-family: Lobster;
    src: url('../fonts/Lobster.ttf') format('truetype');
    font-weight: 400;
}

p {
    font-size: 20px;
}

p.small {
    font-size: 16px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #800020;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    font-family: "Arial Narrow", Helvetica, Arial, sans-serif;
    font-weight: 700;
}

#about h3 {
    margin-top: 50px;
    color: #fff;
}

.poza-oferta {
    margin-top: 60px;
}

/*
.sprite {
    background: url('imgs/istoric2.png') no-repeat 0 0;
    width: 640px;
    height: 240px;
}
*/

#portfolio h3 {
    margin-top: 20px;
    /*color: #990033;*/
    color: #fff;
}

hr.star-light,
hr.star-primary {
    margin: 25px auto 30px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 2px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    content: "\f006";
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
}

hr.star-light {
    border-color: #fff;
}

hr.star-light:after {
    color: #fff;
    background-color: #800020;
}

hr.star-primary {
    border-color: #990033;
}

hr.star-primary:after {
    color: #990033;
    background-color: #fff;
}

.img-centered {
    margin: 0 auto;
}

.text-center {
    display: block;
    margin: 0 auto;
    margin-right: 0px;
    margin-left: 0px;
    text-align: center;    
}
.article.text-center {
    text-transform: uppercase;
    text-align: center;
}

.col-lg-12.wrap-center {
    display: block;
    margin: 0 auto;
    margin-right: 0px;
    margin-left: 0px;
/*    padding-left: -10px;
    padding-right: -10px;*/
    text-align: center;
    /*background: #990033;*/
}

header {
    text-align: center;
    color: #fff;
    /*background: #990033;*/
}

header .perdea {
    /*padding-top: 100px;*/
    /*padding-bottom: 50px;*/
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    /*height: 720px;*/
    /*margin: 0px auto;*/
    /*width: 97.5%;*/
    background: #990033;
    /*background: rgba(3, 186, 254, 1);*/
}

header .header-container {
    /*padding-top: 100px;*/
    /*padding-bottom: 50px;*/
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    /*height: 720px;*/
    margin: 0px auto;
    /*width: 97.5%;*/
    background: rgba(255, 255, 255, 0.2);
}

header img {
    display: block;
    margin: 0 auto;
}

header .intro-text {
    position: relative;
    display: inline-block;
    width: 100%;
    /*height: 600px;*/
    text-align: center;
}

header .intro-text .name {
    display: block;
    text-transform: uppercase;
    font-family: "Arial Narrow", Helvetica, Arial, sans-serif;
    font-size: 2em;
    font-weight: 700;
}

header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
    color: #990033;    
}

@media(min-width:768px) {
    /* header .header-container {
        padding-top: 200px;
        padding-bottom: 100px;
    } */

    header .intro-text .name {
        font-size: 4.75em;
    }

    header .intro-text .skills {
        font-size: 1.75em;
    }
}

@media(min-width:768px) {
    .navbar-fixed-top {
        padding: 25px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-fixed-top .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-fixed-top.navbar-shrink {
        padding: 10px 0;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
}

.dropdown-menu {
    position: absolute;
    overflow: hidden;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 200px;
    padding: 0;
    margin: 1px 0 0;
    list-style: none;
    font-size: 18px;
    text-align: left;
    background-color: #ffffff;
    /*border: 1px solid #cccccc;*/
    border: 1px solid rgba(0,0,0,0.5);
    border-radius: 5px;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,0.175);
    box-shadow: 0 6px 12px rgba(0,0,0,0.5);
    background-clip: padding-box;
    width: 225px;
}

.dropdown-menu>.active>a, .dropdown-menu>.active>a:hover, .dropdown-menu>.active>a:focus {
    color: #ffffff;
    text-decoration: none;
    outline: 0;
    background-color: #990033;
    transform:          scale(1.2); /* CSS3 */
     -moz-transform:    scale(1.2); /* Firefox */
     -webkit-transform: scale(1.2); /* Webkit */
     -o-transform:      scale(1.2); /* Opera */
     -ms-transform:     scale(1.2); /* IE 9 */
}

.dropdown-menu .menu-princ {
    font-size: 22px;
    text-align: center;
}

.dropdown-menu .menu-princ:hover {
    transform:          scale(1.2); /* CSS3 */
     -moz-transform:    scale(1.2); /* Firefox */
     -webkit-transform: scale(1.2); /* Webkit */
     -o-transform:      scale(1.2); /* Opera */
     -ms-transform:     scale(1.2); /* IE 9 */
    text-align: center;
}

.dropdown-menu>li>a {
    display: block;
    background: #800020;
    padding: 2px 10px;
    clear: both;
    font-weight: normal;
    /*line-height: 1.42857143;*/
    color: #fff;
    /*white-space: nowrap;*/
}

.dropdown-menu>li>a:hover {
    display: block;
    background: #990033;
    padding: 2px 20px;
    clear: both;
    font-weight: normal;
    margin-left: 12px;

    transform:          scale(1.2); /* CSS3 */
     -moz-transform:    scale(1.2); /* Firefox */
     -webkit-transform: scale(1.2); /* Webkit */
     -o-transform:      scale(1.2); /* Opera */
     -ms-transform:     scale(1.2); /* IE 9 */

    line-height: 1.42857143;
    color: #fff;
    white-space: nowrap;
}

.dropdown-menu>li.menu-princ>a:hover {
    margin-left: 0px;    
}

.info {
    cursor: pointer;
    padding: 6px;
    -webkit-transition: padding .3s;
    -moz-transition: padding .3s;
    transition: padding .3s;
    text-shadow: 1px 1px 1px rgba(3,3,3,1);
}

.info:hover {
    background: #800020;
}

.dropdown-menu .divider {
    height: 1px;
    margin: 0px 0;
    overflow: hidden;
    background-color: #fff;
}

.menu-princ {
    background: #800020;
    color: #fff;    
    -webkit-transition: padding .3s;
    -moz-transition: padding .3s;
    transition: padding .3s;
    text-shadow: 1px 1px 1px rgba(3,3,3,1);
}

.menu-princ:hover {
    background: #990033;
    color: #fff;
}

.menu-sec .fa.fa-fw.fa-clock-o {
    content: "\f017";
    font-size: 18px;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #800020;
}
.navbar-default .navbar-toggle {
    border-color: #800020;
}

.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border-color: #800020;
}

.navbar .navbar-nav>li>a, .navbar-brand {
    text-shadow: 1px 1px 1px rgba(3,3,3,1);
    color: #ffffff;
}

.navbar {
    text-transform: uppercase;
    font-family: "Arial Narrow", Helvetica, Arial, sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: #ffffff;
}

.navbar a:focus {
    outline: 0;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}

.navbar .navbar-nav li a:focus {
    outline: 0;
}

.navbar-default,
.navbar-inverse {
    border: 0;
    background-color: #990033;
    opacity: 1;
    /*color: #990033;*/
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    color: #ffffff;
    background-color: #800020;
}

.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus {
    color: #ffffff;
    background-color: #800020;
}

.navbar-brand {
    text-transform: none;
    font-family: "Lobster";
    color: #ffffff;
    text-shadow: 3px 3px 3px rgba(3,3,3,1);    
}

.navbar-default .navbar-brand {
    color: #ffffff;
}

.navbar-default .navbar-brand:hover {
    color: #800020;
    text-shadow: 3px 3px 3px rgba(255, 255, 255, 0.8);    
}

.navbar {
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk5MDAzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM5OTAwMzMiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(153,0,51,1) 0%, rgba(153,0,51,0) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(153,0,51,1)), color-stop(100%,rgba(153,0,51,0))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(153,0,51,0) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(153,0,51,0) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(153,0,51,0) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(153,0,51,1) 0%,rgba(153,0,51,0) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#990033', endColorstr='#00990033',GradientType=0 ); /* IE6-8 */
}

section {
    padding: 100px 0;
}

section#portfolio {
    margin: 0;
    background-color: #fff;
    /*background-color: #990033;*/
}

section#portfolio h2 {
    margin: 0;
    font-size: 3em;
    color: #990033;
    /*color: #fff;*/
    text-shadow: 2px 2px #333;
}

section#about {
    margin: 0;
    /*background-image: url('../img/bg.png');*/
    /*opacity: 0.5;*/
    background-color: #800020;
}

section#about h2 {
    margin: 0;
    font-size: 3em;
    color: #fff;
    text-shadow: 2px 2px #333;
}

section#contact {
    margin: 0;
    color: #990033;
    background-color: #fff;
}

section#contact h2 {
    margin: 0;
    font-size: 3em;
    color: #990033;
    text-shadow: 2px 2px #333;
}

.article {
    text-align: left;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 20px;
    background-color: #800020;
    color: #fff;
    opacity: 1;
}

section.success {
    color: #990033;
    background: #fff;
}

@media(max-width:767px) {
    section {
        padding: 75px 0;
    }

    section.first {
        padding-top: 75px;
    }
}

#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    font-size: 18px;
    /*max-width: 400px;*/
}

#portfolio .portfolio-item .portfolio-link .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #990033; /*rgba(3,186,254,.9);*/
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#portfolio .portfolio-item .portfolio-link .caption:hover {
    opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
#portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
    margin: 0;
}

#portfolio * {
    z-index: 2;
}

@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

.btn-outline {
    margin-top: 15px;
    font-size: 24px;
    border: solid 2px #990033;
    color: #990033;
    background: #fff;
    transition: all .3s ease-in-out;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #fff;
    color: #fff;
    background: #990033;
}

#portfolio .btn.btn-lg.btn-primary.portfolio-link {
    position: relative;
    text-align: right;
    display: inline-block;
    margin-right: 25px;
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #eee;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
    background: 0 0;
    box-shadow: none!important;
    resize: none;
    color: #990033;
}

/* .form-group.floating-label-form-group.controls {
    border-top: 1px solid #990033;   
} */

.form-group.col-xs-12.floating-label-form-group.controls {
    border-bottom: 1px solid #990033;    
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.764705882em;
    /* vertical-align: middle; */
    /* vertical-align: baseline; */
    opacity: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
    /*border-top: 1px solid #990033;*/
}

.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-top: 1px solid #990033;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
    /*border-top: 1px solid #990033;*/
}

.floating-label-form-group-with-focus label {
    color: #990033;
    /*border-top: 1px solid #990033;*/
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #990033;
}

footer {
    color: #fff;
}

footer a, a:focus, a:active, a.active {
    outline: 0;
    color: #990033;
}

footer a:hover {
    outline: 0;
    color: #fff;
}

footer h3 {
    margin-bottom: 30px;
    color: #ff6699;
}

footer .footer-above {
    padding-top: 50px;
    background-color: #660022;
}

footer .footer-col {
    margin-bottom: 50px;
}

footer .footer-below {
    padding: 25px 0;
    background-color: #4d001a;
}

.btn-social {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 45px;
}

.btn-social .fa-youtube {
    vertical-align: middle;
    font-size: 34px;
}

.btn:focus,
.btn:active,
.btn.active {
    outline: 0;
}

.btn-primary {
    color: #ffffff;
    background-color: #800020;
    border-color: #660022;
    background: rgb(153,0,51); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk5MDAzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2NjAwMjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(153,0,51,1) 0%, rgba(102,0,34,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(153,0,51,1)), color-stop(100%,rgba(102,0,34,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#990033', endColorstr='#660022',GradientType=0 ); /* IE6-8 */
    border-bottom: 1px solid #660022;
    outline: 0 !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary {
    color: #ffffff;
    background-color: #800020;
    border-color: #660022;
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk5MDAzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2NjAwMjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(153,0,51,1) 0%, rgba(102,0,34,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(153,0,51,1)), color-stop(100%,rgba(102,0,34,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#990033', endColorstr='#660022',GradientType=0 ); /* IE6-8 */
    border-color: #990033;
    outline: 0 !important;
}

.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 10%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    /*margin-right: 10px;*/
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 28px;
}

.scroll-top .btn:focus {
    outline: 0;
}

.scroll-top .btn:focus {
    outline: 0;
    border-radius: 50%;
    border: 1px solid #990033;
}

.modal-body {
    color: #800020;
    font-family: "Arial Narrow", Helvetica, Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.modal-body a {
    color: #fff;
    background: #800020;
    text-decoration: none;
}

.modal-body a:hover {
    color: #800020;
    background: #fff;
    text-decoration: none;
}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

hr.bac {
    background-color: #fff;
    border: 0.05em solid #990033;
}

.portfolio-modal .model-bac-an {
    margin: 0;
    font-size: 1.75em;
    color: #800020;
    text-align: center;    
}

.portfolio-modal .model-bac {
    margin: 0;
    font-size: 1.25em;
    color: #800020;
    text-align: center;    
}

.portfolio-modal .modal-content h2 {
    margin: 0 auto;
    font-size: 2.3em;
    color: #800020;
    text-align: center;    
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
/*    width: 75px;
    height: 75px;*/
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal .glyphicon.glyphicon-remove:hover {
    color: #800020;
    opacity: .7;
}

/*
.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #2c3e50;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #2c3e50;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
*/

.portfolio-modal .close-modal .glyphicon.glyphicon-remove {
    z-index: 1051;
    /*width: 1px;*/
    font-size: 46px;
    font-style: light;
    color: #990033;
  /*  height: 75px;
  */  margin-left: 35px;
    background-color: transparent;
/*    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
*/}


.btn-success {
    color: #ffffff;
    background-color: #800020;
    border-color: #660022;
    background: rgb(153,0,51); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzk5MDAzMyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2NjAwMjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  rgba(153,0,51,1) 0%, rgba(102,0,34,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(153,0,51,1)), color-stop(100%,rgba(102,0,34,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(153,0,51,1) 0%,rgba(102,0,34,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#990033', endColorstr='#660022',GradientType=0 ); /* IE6-8 */
    border-bottom: 1px solid #660022;
}

/*.slideshow { width: 80%; height: 600px; margin: auto; border: 1px solid #bbb; background: transparent; text-align: center; }
.slideshow img { opacity: 0; filter:alpha(opacity=0); }*/


/* pager */
/*.cycle-pager {
    text-align: center;
    width: 100%;
    z-index: 500;
    position: absolute;
    top: 10px;
    overflow: hidden;
}
.cycle-pager span {
    font-family: arial;
    font-size: 50px;
    width: 16px;
    height: 16px;
    display: inline-block;
    color: #ddd;
    cursor: pointer;
}
.cycle-pager span.cycle-pager-active { color: #D69746;}
.cycle-pager > * { cursor: pointer;}
*/


/* set border-box so that percents can be used for width, padding, etc (personal preference) */
.cycle-slideshow, .cycle-slideshow * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }


/*.cycle-slideshow { width: 100%; min-width: 200px; max-width: 800px; margin: 10px auto; padding: 0; position: relative;
    background: url(http://malsup.github.com/images/spinner.gif) 50% 50% no-repeat;

 }*/

/* slideshow images (for most of the demos, these are the actual "slides") */
.cycle-slideshow img {
    /*
    some of these styles will be set by the plugin (by default) but setting them here
    helps avoid flash-of-unstyled-content
    */
    position: absolute; top: 0; left: 0;
    width: 100%; padding: 0; display: block;
}

.cycle-slideshow {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 800px;
    height: 100%;
    max-height: 600px;
}



/* caption */
.cycle-caption {
    position: absolute;
    color: white;
    top: 15px;
    right: 15px;
    z-index: 700; }


/* overlay */
.cycle-overlay {
    font-family: tahoma, arial;
    position: absolute;
    bottom: 0px;
    width: 100%;
    z-index: 600;
    background: black;
    color: white;
    padding: 15px;
    opacity: .5;
}

/*.thumbnail {*/
    /*padding: 20px;*/
    /*display: inline-block;*/
    /*margin: 0px auto;*/
    /*border: 1px solid #990033;*/
    /*border-radius: 10px;*/
    /*padding: 10px;*/
/*}*/

/* .thumbnail_1 {
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 320px;
    width: 100%;
    max-height: 240px;
    height: 100%;
    background: url('../img/istoric1.gif') no-repeat;
} */

/*.thumbnail_1:hover {*/
/*    max-width: 320px;
    max-height: 240px;*/
/*    width: 100%;
    height: 100%;*/
    /*background: url('../img/istoric2.gif') no-repeat;*/
/* } */

*, *:after, *:before { 
    -webkit-box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    box-sizing: border-box; 
}

.caption {
    display: inline-block;
    position: relative;
    margin: 0px;
}

.caption img {
    display: block;
    max-width: 100%;
}

.caption::before,
.caption::after {
    opacity: 0;
    position: absolute;
    width: 100%;
    color: #fff;
    /*padding: 20px;*/
    transition: opacity 0.5s; 
}

.caption::before {
    content: attr(data-title);
    top: 0;
    left: 0;
    height: 30%;
    background: #e6004d;
    font-size: 40px;
    font-weight: 300;
    /*margin-left: -100px;*/
}

.caption::after {
    content: '\201C' attr(data-description) '\201D';
    top: 30%;
    left: 0;
    height: 70%;
    background: #990033;
    font-size: 16px;
    text-align: right;
    /*margin-left: -100px;*/
}

.caption:hover::before,
.caption:hover::after {
    opacity: 1;
}



/*@keyframes animatedBackground {
    0% { background-position: 0 0; }
    100% { background-position: -5251px 0; }
}
@-moz-keyframes animatedBackground {
    0% { background-position: 0 0; }
    100% { background-position: -5251px 0; }
}
@-webkit-keyframes animatedBackground {
    0% { background-position: 0 0; }
    100% { background-position: -5251px 0; }
}
@-ms-keyframes animatedBackground {
    0% { background-position: 0 0; }
    100% { background-position: -5251px 0; }
}
@-o-keyframes animatedBackground {
    0% { background-position: 0 0; }
    100% { background-position: -5251px 0; }
}*/



@keyframes animatedBackground1 {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}
@-moz-keyframes animatedBackground1 {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}
@-webkit-keyframes animatedBackground1 {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}
@-ms-keyframes animatedBackground1 {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}
@-o-keyframes animatedBackground1 {
    0% { background-position: 100% 0%; }
    100% { background-position: -100% 0%; }
}


@keyframes animatedBackground2 {
    0% { background-position: -100% 0%; }
    100% { background-position: 100% 0%; }
}
@-moz-keyframes animatedBackground2 {
    0% { background-position: -100% 0%; }
    100% { background-position: 100% 0%; }
}
@-webkit-keyframes animatedBackground2 {
    0% { background-position: -100% 0%; }
    100% { background-position: 100% 0%; }
}
@-ms-keyframes animatedBackground2 {
    0% { background-position: -100% 0%; }
    100% { background-position: 100% 0%; }
}
@-o-keyframes animatedBackground2 {
    0% { background-position: -100% 0%; }
    100% { background-position: 100% 0%; }
}

#colaj1 { 
    margin-top: 100px;
    height: 680px;
    width: 100%;
    background-image: url('../img/colaj/colaj1.jpg'); 
    background-position: 0px 0px; 

    animation: animatedBackground1 120s linear infinite;
    -moz-animation: animatedBackground1 120s linear infinite;
    -webkit-animation: animatedBackground1 120s linear infinite;
    -ms-animation: animatedBackground1 120s linear infinite;
    -o-animation: animatedBackground1 120s linear infinite;
}

#colaj2 { 
    /*margin-top: 100px;*/
    height: 680px;
    width: 100%;
    background-image: url('../img/colaj/colaj2.jpg'); 
    background-position: 0px 0px; 

    animation: animatedBackground2 120s linear infinite;
    -moz-animation: animatedBackground2 120s linear infinite;
    -webkit-animation: animatedBackground2 120s linear infinite;
    -ms-animation: animatedBackground2 120s linear infinite;
    -o-animation: animatedBackground2 120s linear infinite;
}

/* Icon hoover Effect 8 */
.fa-wrap {
    text-align: center;
    margin: 0 auto;
    padding: 2em 0 3em;
    font-size: 1.75em;
}

.portfolio.fa {
    display: inline-block;
    font-size: 90px;
    cursor: pointer;
    width: 160px;
    height: 160px;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #800020;
    border: 2px solid #800020;
    border-radius: 50%;
    outline: none;
}

.portfolio.fa:after {
    display: inline-block;
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box; 
    -moz-box-sizing: content-box; 
    box-sizing: content-box;
    outline: none;
}

.portfolio.fa:before {
    display: inline-block;
    width: 100%;
    height: 100%;
    border: 2px solid #800020;
    border-radius: 50%;
    padding-top: 33px;
    /* speak: none; */
    font-size: 90px;
    line-height: 90px;
/*    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    display: block;
*/    -webkit-font-smoothing: antialiased;
    outline: none;
}

.fa-effect-8 .portfolio.fa {
    display: inline-block;
    background-color: rgba(255,255,255,0.8);    
    margin: 45px 45px 0px 45px;
    width: 160px;
    height: 160px;
    border: 2px solid #fff;
    border-radius: 50%;    
    -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;
    -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;
    transition: transform ease-out 0.1s, background 0.2s;
    outline: none;
}

.fa-effect-8 .portfolio.fa:after {
    display: inline-block;
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.1);
    opacity: 0;
    border-radius: 50%;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
    outline: none;
}

.fa-effect-8 .portfolio.fa:hover {
    display: inline-block;
    background: #800020;
    -webkit-transform: scale(0.93);
    -moz-transform: scale(0.93);
    -ms-transform: scale(0.93);
    transform: scale(0.93);
    text-decoration: none;
    color: #fff;
    outline: none;
}

.fa-effect-8 .portfolio.fa:hover {
    display: inline-block;
    background: #800020;
    -webkit-transform: scale(0.93);
    -moz-transform: scale(0.93);
    -ms-transform: scale(0.93);
    transform: scale(0.93);
    text-decoration: none;
    color: #fff;
    outline: none;
}


.fa-effect-8 .portfolio.fa:hover:after {
    display: inline-block;
    -webkit-animation: sonarEffect 0.8s ease-out 55ms;
    -moz-animation: sonarEffect 0.8s ease-out 55ms;
    animation: sonarEffect 0.8s ease-out 55ms;
    outline: none;
}

@keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.5), 0 0 10px 10px #800020, 0 0 0 10px rgba(255,255,255,0.9);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #800020, 0 0 0 10px rgba(255,255,255,0.5);
        transform: scale(1.5);
        opacity: 0;
    }
}
@-webkit-keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #800020, 0 0 0 10px rgba(255,255,255,0.5);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #800020, 0 0 0 10px rgba(255,255,255,0.5);
        -webkit-transform: scale(1.5);
        opacity: 0;
    }
}
@-moz-keyframes sonarEffect {
    0% {
        opacity: 0.3;
    }
    40% {
        opacity: 0.5;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #800020, 0 0 0 10px rgba(255,255,255,0.5);
    }
    100% {
        box-shadow: 0 0 0 2px rgba(255,255,255,0.1), 0 0 10px 10px #800020, 0 0 0 10px rgba(255,255,255,0.5);
        -moz-transform: scale(1.5);
        opacity: 0;
    }
}
/* END Icon hoover Effect 8 */







.md-perspective,
.md-perspective body {
    height: 100%;
    overflow: hidden;
}

.md-perspective body  {
    background: rgba(153, 0, 51, 0.3);
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px;
}

/*.md-container {
    background: #990033;
    min-height: 100%;
}*/

.md-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    max-width: 630px;
    min-width: 320px;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.md-show {
    visibility: visible;
}

.md-overlay {
    position: fixed;
    width: 700px;
    height: 400px;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(153, 0, 51, 0.8);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

/* Content styles */
.md-content {
    color: #fff;
    background: #990033;
    position: relative;
    border-radius: 3px;
    margin: 0 auto;
}

.md-content h3 {
    margin: 0;
    padding: 0.4em;
    text-align: center;
    font-size: 2.4em;
    font-weight: 300;
    opacity: 0.8;
    background: rgba(153, 0, 51, 0.1);
    border-radius: 3px 3px 0 0;
}

.md-content > div {
    padding: 15px 40px 30px;
    margin: 0;
    font-weight: 300;
    font-size: 1.15em;
}

.md-content > div p {
    margin: 0;
    padding: 10px 0;
}

.md-content > div ul {
    margin: 0;
    padding: 0 0 30px 20px;
}

.md-content > div ul li {
    padding: 5px 0;
}

.md-content button {
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
}

/* Effect 12:  Just me */
.md-effect-12 .md-content {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.md-show.md-effect-12 ~ .md-overlay {
    background: #990033;
} 

.md-effect-12 .md-content h3,
.md-effect-12 .md-content {
    background: rgba(153, 0, 51, 0.95); /*transparent;*/
}

.md-show.md-effect-12 .md-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

/* Effect 13: 3D slit */
.md-effect-13.md-modal {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
}

.md-effect-13 .md-content {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(-3000px) rotateY(90deg);
    -moz-transform: translateZ(-3000px) rotateY(90deg);
    -ms-transform: translateZ(-3000px) rotateY(90deg);
    transform: translateZ(-3000px) rotateY(90deg);
    opacity: 0;
}

.md-show.md-effect-13 .md-content {
    -webkit-animation: slit .7s forwards ease-out;
    -moz-animation: slit .7s forwards ease-out;
    animation: slit .7s forwards ease-out;
}

@-webkit-keyframes slit {
    50% { -webkit-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -webkit-animation-timing-function: ease-out;}
    100% { -webkit-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@-moz-keyframes slit {
    50% { -moz-transform: translateZ(-250px) rotateY(89deg); opacity: .5; -moz-animation-timing-function: ease-out;}
    100% { -moz-transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

@keyframes slit {
    50% { transform: translateZ(-250px) rotateY(89deg); opacity: 1; animation-timing-function: ease-in;}
    100% { transform: translateZ(0) rotateY(0deg); opacity: 1; }
}

/* Effect 14:  3D Rotate from bottom */
.md-effect-14.md-modal {
    -webkit-perspective: 1300px;
    -moz-perspective: 1300px;
    perspective: 1300px;
}

.md-effect-14 .md-content {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateY(100%) rotateX(90deg);
    -moz-transform: translateY(100%) rotateX(90deg);
    -ms-transform: translateY(100%) rotateX(90deg);
    transform: translateY(100%) rotateX(90deg);
    -webkit-transform-origin: 0 100%;
    -moz-transform-origin: 0 100%;
    transform-origin: 0 100%;
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.md-show.md-effect-14 .md-content {
    -webkit-transform: translateY(0%) rotateX(0deg);
    -moz-transform: translateY(0%) rotateX(0deg);
    -ms-transform: translateY(0%) rotateX(0deg);
    transform: translateY(0%) rotateX(0deg);
    opacity: 1;
}

/* Effect 19:  Slip in from the top with perspective on container */
.md-show.md-effect-19 ~ .container {
    height: 100%;
    overflow: hidden;
}

.md-show.md-effect-19 ~ .md-overlay {
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.md-show.md-effect-19 ~ .container,
.md-show.md-effect-19 ~ .md-overlay {
    -webkit-transform-style: preserve-3d;
    -webkit-transform-origin: 50% 100%;
    -webkit-animation: OpenTop 0.5s forwards ease-in;
    -moz-transform-style: preserve-3d;
    -moz-transform-origin: 50% 100%;
    -moz-animation: OpenTop 0.5s forwards ease-in;
    transform-style: preserve-3d;
    transform-origin: 50% 100%;
    animation: OpenTop 0.5s forwards ease-in;
}

@-webkit-keyframes OpenTop {
    50% { 
        -webkit-transform: rotateX(10deg); 
        -webkit-animation-timing-function: ease-out; 
    }
}

@-moz-keyframes OpenTop {
    50% { 
        -moz-transform: rotateX(10deg); 
        -moz-animation-timing-function: ease-out; 
    }
}

@keyframes OpenTop {
    50% { 
        transform: rotateX(10deg); 
        animation-timing-function: ease-out; 
    }
}

.md-effect-19 .md-content {
    -webkit-transform: translateY(-200%);
    -moz-transform: translateY(-200%);
    -ms-transform: translateY(-200%);
    transform: translateY(-200%);
    opacity: 0;
}

.md-show.md-effect-19 .md-content {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    -webkit-transition: all 0.5s 0.1s;
    -moz-transition: all 0.5s 0.1s;
    transition: all 0.5s 0.1s;
}

@media screen and (max-width: 32em) {
    /*body { font-size: 75%; }*/
}

.orare {
    display: block;
    text-align: center;
    font-size: 2em;
}

.wrap-orare {
    display: block;
    text-align: center;
    margin: 0 auto;
    width: 550px;
}

.link-orare {
    display: block;
    text-align: center;
    font-size: 1em;
    padding: 5px;
    border: 1px solid #800020;
    border-radius: 10px;
    margin: 2px;
    background-color: #800020;
    color: #fff;
    /* width: 300px; */
}

a .link-orare:hover {
    color: #fff;
}

a .antilink-orare {
    display: block;
    text-align: center;
    font-size: .5em;
    font-weight: bold;
    padding: 5px;
    border-radius: 10px;
    margin: 2px;
    background-color: #f2e5e8;
    color: #800020;
    /*width: 300px;*/
}

a .antilink-orare:hover {
    border: 1px solid #ffffff;
    /*font-weight: bold;*/
    color: #ffffff;
}

h2.titluri-h2 {
    margin: 0;
    font-size: 3em;
    color: #990033;
    /*color: #fff;*/
    text-shadow: 2px 2px #333;
}




















.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(240, 95, 64, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 2em;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 2.5em;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 3em;
  }
}

section {
  padding: 8rem 0;
}

/*Tabele Cursuri online*/

.tabel-container{
    position: relative;
    display: block;
    margin: 0px auto;
    text-align: center;
    width: 530px;
}

.tabel-container-X{
    position: relative;
    display: block;
    margin: 0px auto;
    text-align: center;
    width: 550px;
}

.wrap-tabele{
    position: relative;
    display: block;
    margin: 0px auto;
    text-align: center;
}
/*.tabel-container.wrap-tabele.tg-clase{
    position: relative;
    display: block;
    margin: 0px auto;
    text-align: center;
 }*/

.tg-clase-X{
    width: 550px;
    border-collapse: collapse;
    border-spacing: 0;
}

.tg-clase{
    width: 530px;
    border-collapse: collapse;
    border-spacing: 0;
}
.tg-clase td{
    font-family:Arial, sans-serif;font-size:14px;
    padding:10px 5px;
    border-style:solid;
    border-width:2px;
    overflow:hidden;
    word-break:normal;
}
.tg-clase th{
    font-family:Arial, sans-serif;font-size:14px;
    font-weight:normal;padding:10px 5px;
    border-style:solid;
    border-width:2px;
    overflow:hidden;
    word-break:normal;
}
.tg-clase .tg-clase-titlu{
    font-size:26px;
    font-family:Arial, Helvetica, sans-serif !important;
    font-weight:800;
    background-color:#efefef;
    color:#f56b00;
    border-color:#f56b00;
    text-align:center;
    vertical-align:middle;
}
.tg-clase .tg-clase-cap{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif !important;
    background-color:#ff9a7d;
    color:#333333;
    border-color:#f56b00;
    text-align:center;
    vertical-align:middle;
}
.tg-clase .tg-clase-impar{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif !important;;
    background-color:#f9e4dc;
    color:#f56b00;
    border-color:#f56b00;
    text-align:left;
    vertical-align:middle;
}
.tg-clase .tg-clase-par{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif !important;;
    background-color:#ffd2c1;
    color:#f56b00;
    border-color:#f56b00;
    text-align:left;
    vertical-align:middle;
}
.tg-clase-X td{
    font-family:Arial, sans-serif;font-size:14px;
    padding:10px 5px;
    border-style:solid;
    border-width:2px;
    overflow:hidden;
    word-break:normal;
}
.tg-clase-X th{
    font-family:Arial, sans-serif;font-size:14px;
    font-weight:normal;
    padding:10px 5px;
    border-style:solid;
    border-width:2px;
    overflow:hidden;
    word-break:normal;
}
.tg-clase .tg-clase-par>a:hover{
    background-color:#f9e4dc;
    color:#f56b00;
}
.tg-clase .tg-clase-impar>a:hover{
    background-color:#ffd2c1;
    color:#f56b00;
}
.tg-clase-X .tg-clase-titlu{
    font-size:26px;
    font-family:Arial, Helvetica, sans-serif !important;
    font-weight:800;
    background-color:#efefef;
    color:#f56b00;
    border-color:#f56b00;
    text-align:center;
    vertical-align:middle;
}
.tg-clase-X .tg-clase-cap{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif !important;
    background-color:#ff9a7d;
    color:#333333;
    border-color:#f56b00;
    text-align:center;
    vertical-align:middle;
}
.tg-clase-X .tg-clase-impar{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif !important;;
    background-color:#f9e4dc;
    color:#f56b00;
    border-color:#f56b00;
    text-align:left;
    vertical-align:middle;
}
.tg-clase-X .tg-clase-par{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif !important;;
    background-color:#ffd2c1;
    color:#f56b00;
    border-color:#f56b00;
    text-align:left;
    vertical-align:middle;
}
.tg-clase-X .tg-clase-par>a:hover{
    background-color:#f9e4dc;
    color:#f56b00;
}
.tg-clase-X .tg-clase-impar>a:hover{
    background-color:#ffd2c1;
    color:#f56b00;
}
.td-nr{
    width: 25px;
}
.td-disc{
    width: 100px;
}
.td-teor{
    width: 325px;
}
.td-prof{
    width: 75px;
}
.tg-clase-X .td-nr{
    width: 25px;
}
.tg-clase-X .td-disc{
    width: 125px;
}
.tg-clase-X .td-teor{
    width: 325px;
}
.tg-clase-X .td-prof{
    width: 75px;
}

.important1{
    font-size:20px;
    font-family:Arial, Helvetica, sans-serif !important;
    font-weight:800;
    padding:5px 5px;
    width: 200px;
    background-color:#e60000;
    color:white;
    text-align:center;
    vertical-align:middle;
    border-style:solid;
    border-width:2px;
    border-color:#800020;
}
.important2{
    margin: 0 auto;
    font-size:24px;
    font-family:Arial, Helvetica, sans-serif !important;
    padding:5px 5px;
    width: 400px;
    background-color:#e60000;
    color:white;
    text-align:center;
    vertical-align:middle;
    border-style:solid;
    border-width:2px;
    border-color:#800020;
}

ul.anunt{
    margin: 0 auto;
    font-size:20px;
    font-family:Arial, Helvetica, sans-serif !important;
    /*padding:5px 5px;*/
    max-width: 800px;
    background-color:#efefef;
    color:black;
    text-align:left;
    vertical-align:middle;
    border-style:solid;
    border-width:2px;
    border-color:#800020;    
}

ul>li.anunt{
    padding:5px 5px;
    font-weight:600;
}

p.anunt{
    margin: 0 auto;
    padding:5px 5px;
    font-size:24px;
    font-family:Arial, Helvetica, sans-serif !important;
    font-weight:800;
    width: 800px;
    /*background-color:#efefef;*/
    color:black;
    text-align:left;
    vertical-align:middle;
/*    border-style:solid;
    border-width:2px;
    border-color:#800020;*/
}

span.nota {
    margin: 15px 15px 15px 15px;
    font-size:20px;
    font-family:Arial, Helvetica, sans-serif !important;
    font-weight:600;
    /*width: 450px;*/
    color: red;
}

p.titlu-poze{
    margin: 0px auto 30px;
    padding: 10px;
    max-width: 400px;
    font-size:28px;
    font-family:Arial, Helvetica, sans-serif !important;
    font-weight:600;
    background-color:#efefef;
    color:#f56b00;
    border-color:#f56b00;
    text-align:center;
    vertical-align:middle;
}
p.nume-poza{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif !important;
    font-weight:600;
    background-color:#efefef;
    color:#f56b00;
    border-color:#f56b00;
    text-align:center;
    vertical-align:middle;
}
/*.col-lg-2 {
    height: 190px;
}*/
/* .rand-butoane {
    height: 70px;
} */
.btn-pliant {
    /*align-items: baseline;*/
    /*margin-top: 72px;*/
    /*width: 100%;*/
    margin-left: 0px;
    margin-right: 0px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.btn-afis {
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    /*width: 100%;*/
}
.text-pe-centru {
    display: block;
    margin: 0 auto;
    margin-right: 0px;
    margin-left: 0px;
    text-align: center;
    height: 270px; 
}
.inv-dual {
    background-color: #fff;
    color: #990033;
}
a.inv-dual-invers {
    background-color: #990033;
    color: #fff;
    /*text-decoration: none;*/
}
.inv-dual-invers:hover {
    background-color: #fff;
    color: #990033;
    font-weight: 600;
}

.titlu {
    margin: 0px auto 30px;
    padding: 10px;
    max-width: 400px;
    font-size: 1.5em;
    font-family:Impact !important;
    font-weight: 600;
    background-color: #efefef;
    color: #f3403b;
    border-color: #f56b00;
    text-align: center;
    vertical-align: middle;
}

.antet-pnrr {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    align-items: center;
    justify-self: center;
    text-align: left;
    align-self: center;
}
.subsol-text-pnrr {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    align-items: center;
    justify-self: center;
    text-align: center;
    align-self: center;
    color: blue;
    font-size: 1em;
    font-weight: bold;
    margin-top: 10px;
}
.text-antet-pnrr {
    /* margin-left: 0px; */
    /* margin-right: 0px; */
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    justify-self: center;
    text-align: left;
    align-self: center;
}
img.uelogo-img {
    display: flex;
    flex-direction: column;
	/* margin-left: auto ; */
	/* margin-right: auto;	 */
    margin: 0 auto;
    max-height: 100%;
	height: 80px;
}
img.uelogo-img-dr {
    display: flex;
    flex-direction: column;
	/* margin-left: auto ; */
	/* margin-right: auto;	 */
    margin-right: 0px;
    justify-items: right;
    max-height: 100%;
	height: 80px;
}
p.uelogo-text-blue-stg {
    display: flex;
    flex-direction: column;
	/* margin-left: auto ; */
	/* margin-right: auto;	 */
	text-align: left;
	color: blue;
	font-size: 1em;
    font-weight: bold;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 0px;
}
p.uelogo-text-blue-dr {
    display: flex;
    flex-direction: column;
	/* margin-left: auto ; */
	/* margin-right: auto;	 */
	text-align: left;
	color: blue;
	font-size: 1em;
    font-weight: bold;
    margin: 0 auto;
    margin-left: 25px;
    margin-top: 20px;
    margin-bottom: 0px;
}
p.uelogo-text-black {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
	/* margin-left: auto ; */
	/* margin-right: auto;	 */
	text-align: left;
	color: black;
	font-size: 1em;
}
.subsol-text-link {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    /* margin-top: 5px; */
    align-items: center;
    justify-self: center;
    text-align: center;
    align-self: center;
    color: blue;
    font-size: 1em;
    font-weight: bold;
}
.subsol-text-link:hover {
    text-decoration: none;
    color: blue;
}

/* .col-lg-6, .col-lg-8, .col-lg-4 {
    border: #333333 solid 2px;
} */