@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,400italic,700,700italic|PT+Sans:400,400italic,700,700italic|PT+Sans+Narrow:400,700&subset=latin,latin-ext,cyrillic-ext,cyrillic);

body {
    background: #eee url(images/sp4.png);
    color: rgba(0, 0, 0, .87);
    font-family: "PT Sans", sans-serif;
}

html,
body {
    height: 100%;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

.highlight {
    background-color: rgba(0, 150, 136, 1);
    color: rgba(255, 255, 255, 1);
    padding: .6em;
    font-size: 1.2em;
}

p a,
li a {
    color: rgba(0, 150, 136, 1);
}

p a:hover,
li a:hover {
    color: rgba(0, 150, 136, 1);
    text-decoration: underline;
}

.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
}

h1 {
    font-size: 2em;
    font-weight: bold;
    font-family: "PT Serif", Georgia, serif;
}

article > h1 {
    padding-bottom: .6em;
    margin: .2em 0 .6em;
    border-bottom: 2px solid rgba(0, 150, 136, 1);
}

article section h1 {
    font-size: 1.6em;
    margin: 1em 0 .8em;
}

section section h1 {
    font-size: 1.2em;
}

article p,
article li {
    line-height: 1.2;
}

article ul, article ol {
    margin-top: .2em;
    margin-bottom: 1.2em;
}

article li {
    margin-bottom: .4em;
}

article ul li:not(:last-child),
article p:not(:last-child) {
    margin-bottom: .6em;
}

table {
    border-collapse: collapse;
}

table td,
table th {
    border: 1px solid rgba(0, 0, 0, .87);
    padding: .4em .8em;
    vertical-align: middle;
    text-align: center;
}

table th {
    font-weight: 700;
}

/* HEADER
***********************/
#pageHeader {
    width: 100%;
    background-color: rgba(0, 150, 136, 1);
}

#mainNavigation ul {
    list-style: none;
    width: 100%;
}

#mainNavigation a {
    text-decoration: none;
    display: block;
    color: rgba(255, 255, 255, .87);
    font-size: 1.4em;
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 2.4;
    text-align: center;
    border: 8px solid transparent;
}

#mainNavigation ul a:hover {
    background-color: rgba(0, 0, 0, .12);
}

#mainNavigation ul a.selected {
    border: 8px solid transparent;
    border-bottom: 8px solid rgba(238, 238, 238, 1);
    background-color: rgba(0, 0, 0, .12);
}

#coatOfArms {
    height: 140px;
    width: 100%;
    border-bottom: 2px solid rgba(255, 255, 255, .87);
}

#coatOfArms a {
    display: block;
    width: 100%;
    height: 100%;
    background: url(images/stema.png) no-repeat center/auto 80%;
}

#coatOfArms a:hover {
    background-color: transparent;
}

#showMenu ul {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: all 300ms ease-in;
    -moz-transition: all 300ms ease-in;
    transition: all 600ms ease-in;
}

#menuBtn {
    color: rgba(255, 255, 255, .87);
    font-size: 1.4em;
    font-family: "PT Sans Narrow", sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 2.4;
    text-align: right;
    padding-right: 2em;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiI+PHBhdGggZD0iTTIgNmgyOHY2aC0yOHpNMiAxNGgyOHY2aC0yOHpNMiAyMmgyOHY2aC0yOHoiIGZpbGw9IiNkZWYxZjAiPjwvcGF0aD48L3N2Zz4=) no-repeat 99% center;
}

#showMenu:hover ul {
    height: auto;
    max-height: 300em;
}

@media only screen and (min-width: 46em) {
    #mainNavigation ul {
        max-height: 300em;
    }

    #mainNavigation li {
        display: inline-block;
        width: 12.5%;
    }

    #mainNavigation a {
        width: 100%;
        font-size: 1em;
    }

    #menuBtn {
        display: none;
    }
}

@media only screen and (min-width: 70em) {
    #mainNavigation ul {
        max-height: 300em;
    }

    #mainNavigation a {
        font-size: 1.2em;
    }

    #menuBtn {
        display: none;
    }
}

/* MAIN CONTENT
***********************/
#mainContent {
    margin-bottom: -70px;
    min-height: 100%;
}

#mainContent:after {
    content: "";
    display: block;
}

.col > article {
    margin: 2% 1%;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 4px 4px 4px 4px rgba(0, 0, 0, .12);
    padding: 4%;
}

.shortDesc {
    padding-left: 2em;
    font-style: italic;
    color: rgba(0, 0, 0, .54);
}

.b {
    font-weight: 700;
}

.i {
    font-style: italic;
}

dt {
    font-weight: 900;
    margin-bottom: .2em;
}

dd {
    padding-left: 1em;
    margin-bottom: 1.2em;
}

.not-displayed {
    display: none;
}

@media only screen and (min-width: 40em) {
    .col {
        float: left;
        width: 50%;
    }
}

@media only screen and (min-width: 70em) {
    #mainContent {
        width: 70em;
        margin-left: auto;
        margin-right: auto;
    }
}

/* PAGE organizare
***********************/
.person:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    padding-bottom: .4em;
}

.person img {
    width: 50%;
}

.person:nth-child(2n-1) img {
    float: left;
    margin-right: 4%;
}

.person:nth-child(2n) img {
    float: right;
    margin-left: 4%;
}

/* PAGE admitere
***********************/
.profession:nth-child(2n+1) {
    clear: left;
}

.profession img {
    width: 48%;
    display: block;
    float: left;
    margin: 1em 0 0 0;
}

.profession img:not(:last-child) {
    margin-right: 2%;
}

/* PAGE elevi
***********************/
article ul {
    list-style: disc outside none;
    padding-left: 6%;
}

article ol {
    list-style: decimal outside none;
    padding-left: 6%;
}

#hostel img {
    width: 100%;
    margin-top: 1em;
}

#succeses img {
    width: 30%;
    max-width: 10em;
}

#succeses div {
    margin-top: 2em;
}

#succeses div:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, .12);
    padding-bottom: .4em;
}

#succeses div:nth-child(2n+1) img {
    float: left;
    margin-right: 2%;
}

#succeses div:nth-child(2n) img {
    float: right;
    margin-left: 2%;
}

/* PAGE resurse
***********************/
#library img,
#workshop img,
#classrooms img {
    width: 48%;
    display: block;
    float: left;
    margin: 1em 0 0 0;
}

#library img:nth-child(2n+1),
#workshop img:nth-child(2n+1),
#classrooms img:nth-child(2n+1) {
    margin-right: 2%;
}

/* PAGE galerie
***********************/

.year {
    padding-bottom: .4em;
}

.year h1 {
    margin-bottom: .2em;
}

.year p {
    font-size: .9em;
    font-family: "PT Sans Narrow", "Arial Narrow", sans-serif;
}

.photos {
    padding-top: 1em;
}

.period:not(:last-child) {
    margin-bottom: .4em;
}

.photos img {
    width: 100%;
    float: none;
}

.photos img:not(:last-child) {
    margin-bottom: .4em;
}

.col-gal {
    float: none;
    width: 100%;
}

@media only screen and (min-width: 40em) {
    .photos {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 70em) {
    .photos {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media only screen and (min-width: 50em) {
    .year h1 {
        margin-top: 1em;
        border-bottom: 4px dotted rgba(0, 150, 136, 1);
        padding-bottom: .4em;
    }
}

/* PAGE contacte
***********************/

#googleMap {
    height: 25em;
    width: 100%;
}

/* FOOTER
***********************/

#pageFooter {
    text-align: center;
    background-color: rgba(0, 0, 0, .87);
    color: rgba(255, 255, 255, .87);
}

#pageFooter p:first-child {
    font-weight: 700;
    line-height: 50px;
}

#mainContent:after,
#pageFooter {
    height: 150px;
}

#mainContent + div {
    height: 20px;
    clear: both;
}

#pageFooter .copyright {
    margin-right: 1em;
}

#pageFooter a {
    display: inline-block;
}

#pageFooter a:not(:first-child) {
    margin-left: 2em;
}

#pageFooter .fa {
    font-size: 2.2em;
    color: rgba(255, 255, 255, .87);
}

#pageFooter .fa-facebook-square:hover {
    color: rgba(59, 89, 152, 1);
}

#pageFooter .fa-twitter-square:hover {
    color: rgba(85, 172, 238, 1);
}

#pageFooter .fa-youtube-square:hover {
    color: rgba(196, 48, 43, 1);
}

#pageFooter .fa-linkedin-square:hover {
    color: rgba(0, 119, 181, 1);
}

#pageFooter .fa-google-plus:hover {
    color: rgba(221, 75, 57, 1);
}

#developerInfo {
    margin-top: 2%;
}

/* HELPER classes
***********************/
.hidden {
    display: none !important;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.motto {
    font-size: 28px;
    font-style: italic;
    text-align: right;
    text-transform: uppercase;
}
