* {
    box-sizing: border-box;
    margin: 0;
    font-family: "Roboto", serif;
}

html, body {
    background: whitesmoke;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "DM Serif Text", serif;
    color: #474747;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    max-width: 1344px;
}

.hidden {
    display: none !important;
}

.button-link {
    float: left;
    outline: 0;
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
    line-height: 24px;
    background: #430F8C;
    border: 2px solid #150140;
    border-radius: 5px;
    color: #dcc4ff;
    cursor: pointer;
    font-family: Roboto, 'sans-serif';
    outline: 0 none;
    text-decoration: none;
}

.button-link-inverted {
    background: white;
    border: 2px solid #150140;
    color: #430F8C;
}

.button-link:hover,
.button-link:active {
    color: white;
}

/*
    Main Navigation (_partials/nav.php)
*/
#nav-main {
    float: left;
    width: 100%;
    padding: 60px 0;

    ul {
        margin: 0 auto;
        padding: 0;
        list-style: none;
        text-align: center;
    }

    li {
        display: inline-block;
        vertical-align: middle;
        padding: 0 20px;
    }

    a {
        display: block;
        text-decoration: none;
        color: black;
        font-size: 21px;
        font-weight: 400;
        font-family: "DM Serif Text", serif;
    }
}

.nav-home {
    display: none !important;
}
/*
    Main Footer
*/
#footer-main {
    background: white;
    padding: 100px 0;
    width: 100%;
    float: left;
    border-top: 1px solid #eee;
}
#footer-main .row {
    float: left;
    width: 100%;
    margin: 0 0 20px;
}
#footer-main .row.social {
    margin-bottom: 0;
}
#footer-main .wrapper:before,
#footer-main .wrapper:after {
    content: "";
    display: block;
    clear: both;
}
#footer-main p {
    float: left;
    clear: both;
}

#social-links,
#terms {
    float: left;
    width: 50%;
    margin: 0;
    padding: 0;
    list-style: none;
}
#terms {
    float: right;
    width: auto;
}
#social-links li,
#terms li {
    float: left;
    font-size: 13px;
    padding-right: 30px;
}
#terms li:last-child {
    padding-right: 0;
}
#social-links a,
#terms a{
    color: black;
    text-decoration: none;
    font-size: 15px;
}
#social-links a:hover,
#terms a:hover {
    text-decoration: underline;
    color: black;
}
#anpc,
#payments {
    text-align: center;
}
#anpc img {
    display: inline-block;
    vertical-align: top;
    margin: 0 10px;
    max-width: 200px;
}
#payments img {
    max-width: 300px;
    vertical-align: top;
}
#copyright {
    float: left;
    width: 100%;
    padding: 5px 0 0;
    margin: 20px 0 0;
    font-size: 13px;
    color: #555;
    border-top: 1px solid #ccc;
}

/*
    Homepage
*/
#homepage-banner {
    float: left;
    width: 100%;
    text-align: center;
}

#homepage-banner img {
    height: 460px;
    width: auto;
    display: inline-block;
    text-align: center;
}

/*
    Homepage services
*/
#services {
    float: left;
    width: 100%;
    margin: 100px 0;
}

#services h1 {
    width: 100%;
    text-align: center;
    font-size: 42px;
    margin: 0 0 20px;
}

#services ul {
    float: left;
    width: 33%;
    list-style: upper-roman;
    list-style-position: inside;
    margin: 0;
    position: relative;
    padding: 20px;
}
#services ul:first-of-type {
    padding-left: 0;
}
#services ul:last-of-type {
    padding-right: 0;
}
#services ul:last-of-type:after {
    right: -20px;
}
#services ul:after {
    content: "";
    width: 85px;
    height: 66px;
    position: absolute;
    top: 8px;
    right: 0;
    background: transparent url("assets/images/section-icon.png") no-repeat top left;
}

#services li {
    font-family: "Roboto", serif;
    font-size: 16px;
    line-height: 24px;
    background: white;
    padding: 0 35px 20px 20px;
}
#services li:first-of-type {
    padding-top: 20px;
}

/*
    Homepage - Exemple dezvoltare personala
*/
#section-examples-tabs {
    float: left;
    width: 100%;
    margin: 100px 0 0;
}
#section-examples-tabs h2 {
    text-align: center;
    font-size: 42px;
}
#examples {
    display: none;
}
#tabs {
    float: left;
    width: 100%;
    position: relative;
    height: 220px;
    margin-top: 40px;
}
#tabs ul {
    margin: 0;
    list-style: none;
}
.tabs-triggers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0;
}
.tabs-triggers li {
    float: left;
    width: 25%;
    height: 80px;
    background: transparent;
    cursor: pointer;
}
.tabs-triggers li.selected,
.tabs-triggers li.selected :hover {
    background: white;
}
.tabs-triggers li:hover {
    background: #eee;
}
.tabs-triggers h3 {
    margin: 0;
    padding: 20px;
    font-size: 18px;
    line-height: 20px;
    font-family: "Roboto", serif;
    height: 80px;
}
.tabs-content {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    padding: 30px 20px;
    line-height: 1.8em;
}

/*
    Pages
*/
.page {
    float: left;
    width: 100%;
    margin-bottom: 100px;
}
.page h1 {
    margin: 60px 0 20px;
}
.page .wrapper {
    max-width: 960px;
}
.page .page-content {
    float: left;
    width: 100%;
    margin-top: 40px;
}

.page p {
    font-size: 18px;
    line-height: 1.6em;
    margin: 0 0 20px;
}
.page h2 {
    float: left;
    width: 100%;
    margin: 40px 0 10px;
}
.page .columns {
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
}
.page .columns li {
    float: left;
    list-style: none;
    width: 50%;
}
#mc_embed_shell {
    float: left;
    width: 100%;
}
#tabs.tabs-values {
    height: 480px;
    margin-top: 20px;
}
.tabs-values .tabs-triggers li,
.tabs-values .tabs-triggers h3 {
    height: 60px;
}
.tabs-values .tabs-content {
    top: 60px;
}
.tabs-values .tabs-triggers li {
    width: auto;
}

/*
    Page Courses
*/
input {
    float: left;
    width: 300px;
    padding: 10px;
    font-size: 16px;
    line-height: 24px;
    border: 2px solid #aaa;
    margin-right: 5px;
    border-radius: 5px;
    outline: 0 none;
}
input:hover,
input:focus {
    border-color: #150140;
    outline: 0 none;
}
button,
input[type="submit"] {
    float: left;
    outline: 0;
    font-size: 16px;
    font-weight: 600;
    padding: 10px;
    line-height: 24px;
    background: #430F8C;
    border: 2px solid #150140;
    border-radius: 5px;
    color: #dcc4ff;
    cursor: pointer;
    font-family: "Roboto", serif;
}
input[type="submit"]:hover,
input[type="submit"]:focus {
    color: white;
}
input[type="submit"] {
    width: auto;
}

/*
    Page Services
*/
#tabs.tabs-services {
    height: 730px;
}
.tabs-services .tabs-triggers li {
    width: 33.33%;
}

.tabs-services .tabs-content li li {
    list-style-type: circle;
}

.tabs-services .tabs-content h2:first-of-type {
    margin-top: 10px;
}
.offers {
    float: left;
    width: 100%;
    background: #430F8C;
    border-radius: 15px;
    border: 1px solid #150140;
    color: #dcc4ff;
    padding: 20px;
}
.offers .offer {
    float: left;
    width: 50%;
    text-align: center;
}

.offers .offer:nth-of-type(2n) {
    padding: 0 20px;
}
.offers .offer p {
    margin: 5px 0;
    font-weight: bold;
    font-size: 14px;
}
.offers .offer p:last-child {
    margin-top: 15px;
}
.offers .offer p i {
    font-style: normal;
    font-weight:400;
}

.offers .offer strong {
    font-size: 21px;
    font-family: "DM Serif Text", serif;
    margin-bottom: 10px;
    display: block;
    margin-bottom: 20px;
}
.offers .offer b {
    font-size: 28px;
}

.offers .offer a {
    float: none;
    text-decoration: none;
}

.offers .offer a:hover,
.offers .offer a:focus {
    color: #430F8C;
    background: #eee;
}

.offers .old-price {
    text-decoration: line-through;
    font-size: 18px;
}

/*
    Page Blog
*/
.blog-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}
.blog-posts li {
    float: left;
    width: 33.3%;
    margin: 0;
    padding: 0 20px 20px 0;
}
.blog-posts .post {
    padding: 20px;
    background: white;
}
.blog-posts li:nth-of-type(3n) {
    padding-right: 0;
}

.blog-posts h2 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 26px;
    height: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blog-posts p {
    text-overflow: ellipsis;
    font-size: 16px;
    line-height: 24px;
    height: 96px;
    overflow: hidden;
    margin-top: 10px;
}
.blog-posts p:last-of-type {
    margin-bottom: 0;
}
.blog-posts a {
    text-decoration: none;
    color: black;
}
.blog-posts a span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    text-align: right;
    color: #8d5505;
    margin-top: 10px;
}

.page-blog .wrapper {
    max-width: 1344px;
}

/*

    Page Post
*/
.page-post table {
    border-collapse: collapse;
    width: 100%;
}
.page-post table, 
.page-post th, 
.page-post td { 
    border: 1px solid #ddd; 
    text-align: left; 
    padding: 10px;
}

.page-post tr:nth-child(2n) td{
  background-color: #dddddd;
}
  
.page-post {
    float: left;
    width: 100%;
    background: white;
    padding-bottom: 100px;
}
.page-post article {
    margin: 0 auto;
    width: 100%;
    max-width: 960px;
}
.page-post h1 {
    margin: 60px 0 20px;
    font-size: 32px;
}

.page-post h2 {
    margin: 20px 0 10px;
}

.page-post p,
.page-post li {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 24px;
}

.page-post blockquote {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 24px;
    font-style: italic;
    text-align: center;
    color: #8d5505;
}
section a:link,
section a:visited {
    color: #8d5505;
}


.row {
    float: left;
    width: 100%;
}
.col {
    float: left;
    width: 50%;
}
.col:last-child {
    padding-left: 60px;
    padding-top: 40px;
}


/*
 Programs
*/
.programs .wrapper:before,
.programs .wrapper:after {
    content: "";
    display: table;
    width: 100%;
    clear: both;
}

.programs .row {
    display: flex;
}
.programs .row .col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
}

.programs .row .col.align-top {
    align-content: start;    
}

.programs .row.mt-60 {
    margin-top: 60px;
}
.programs .row.full {
    display: block;
}

.programs .row.even {
    background: white;
}
.programs .row .wrapper {
    padding-top: 40px;
    padding-bottom: 40px;
}
.programs .row h2,
.programs .row h3 {
    float: left;
    width: 100%;
}
.programs .row h2 {
    margin: 0 0 20px;
    font-size: 36px;
}
.programs .row h3 {
    margin: 0 0 10px;
    font-size: 21px;
}
.programs .col:last-child {
    padding-left: 20px;
    padding-top: 0;
}

.programs ol li,
.programs ul li {
    margin-bottom: 5px;
}

.programs ol li p,
.programs ul li p {
    font-size: 16px;
    margin-bottom: 0;
}

.programs .col img {
    border-radius: 30px;
    overflow: hidden;
}



/* Responsive styles */

@media screen and (max-width: 1344px) {
    #footer-main {
        padding: 40px 20px;
    }
    
    .page .page-content {
        padding: 0 20px;
    }
    
    .blog-posts .post img {
        width: 100%;
        height: auto;
    }
    
    .page-post article {
        padding: 0 20px;
    }
    #services {
        padding: 0 20px;
    }
}


@media screen and (max-width: 760px) {
    #homepage-banner {
        padding: 0 20px;
    }
    #homepage-banner img {
        height: auto;
        width: 100%;
        max-width: 396px;
        margin: 0 auto;
        display: block;
    }
    .blog-posts li {
        width: 50%;
    }
    
    .blog-posts li:nth-of-type(2n) {
        padding-right: 0;
    }
    
    .blog-posts li:nth-of-type(3n) {
        padding-right: 20px;
    }
    
    body {
        padding-top: 180px;
    }
    #nav-main {
        position: fixed;
        z-index: 1;
        top: 0;
        left: 0;
        right: 0;
        height: 160px;
        background: white;
        padding: 0;
    }
    #identity {
        position: fixed;
        z-index: 5;
        top: 10px;
        left: 0;
        width: 100%;
    }
    #identity a {
        display: block;
    }
    #nav-main ul {
        margin-top: 80px;
    }
    #nav-main li {
        padding: 0 10px;
    }
    #nav-main a {
        font-size: 18px;
    }
    #section-examples-tabs h2 {
        text-align: center;
        font-size: 24px;
        padding: 0 20px;
        margin-bottom: 20px;
    }
    #services {
        margin: 40px 0;
        padding: 0;
    }
    #services ul {
        width: 100%;
    }
    #services ul:first-of-type {
        padding-left: 20px;
    }
    #services ul:last-of-type {
        padding-right: 20px;
    }
    #services ul:last-of-type:after {
        right: 0;
    }
    #services h1 {
        font-size: 24px;
        padding: 0 20px;
    }
    #section-examples-tabs #tabs {
        display: none;
    }
    #examples {
        display: block;
        padding: 20px;
        background: white;
    }
    #examples p {
        line-height: 24px;
        margin-bottom: 10px;
    }
    #examples h3 {
        margin: 40px 0 10px;
    }
    #examples h3:first-of-type {
        margin-top: 0;
    }
    #section-examples-tabs {
        margin-top: 40px;
    }
    #social-links li {
        padding-right: 20px;
    }
    .offers .offer {
        width: 100%;
        margin-bottom: 40px;
    }
    .offers .offer:last-child {
        border: 0;
        padding-left: 0;
        margin-bottom: 0;
    }
    .offers .offer strong {
        font-size: 24px;
    }
    .offers .offer b {
        font-size: 24px;
    }
    .offers .offer p {
        margin: 10px 0;
        font-size: 14px;
    }
}

@media screen and (max-width: 460px) {
    #identity {
        display: none !important;
    }
    
    #nav-main ul {
        margin: 20px 0 0;
    }
    #nav-main li {
        float: left;
        width: 100%;
        padding: 0 20px;
    }
    
    .blog-posts li {
        width: 100%;
        padding: 0 0 20px !important;
    }
    .nav-home {
        display: block !important;
    }
}



