/*
Theme Name:     Greensatelite
Theme URI:      greensatelite.pt
Description:    Дочерняя тема для темы Amplify
Author:         Dmitry Afanasenko
Author URI:     ...
Template:       amplify
Version:        0.1.0
*/
@import url("../amplify/style.css");

@font-face {
    font-family: ACLine;
    src: url('fonts/AC Line.otf');
    font-weight: normal;
}
@font-face {
    font-family: Calibri Light;
    src: url('fonts/Calibri.ttf');
    font-weight: normal;
}

html, body {
    height: 100%;
}

.slicknav_nav a:hover {
    background: #d6d3db;
    color: #171f40;
}

nav.new-nav {
    display: flex;
    padding: 0;
    margin: 0;
    background: #e8dfff;
    flex-direction: column;
    float: none;
    position: fixed;
    top: 0;
    z-index: 4;
}

div#content {
    margin-top: 90px;
    width: 100%;
    /*flex: 1 0 auto;*/
}

.nav-container {
    display: flex;
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    align-items: center;
    padding-left: 35px;
    padding-right: 25px;
    height: 90px;
}

ul#menu-1-menu li a {
    font-family: ACLine;
    font-size: 33px;
    color: #242f68;
    font-weight: 400;
}

ul#menu-1-menu li:hover a {
    color: #13193b;
    font-weight: 600;
}

.main-navigation li {
    border: 0;
    background: none;
    margin-bottom: 0;
    padding: 0;
    margin-right: 45px;
    display: flex !important;
    height: 90px;
    align-items: center;
}

.main-navigation ul {
    display: flex;
    height: 90px;
    align-items: center;
}

ul#menu-1-menu li:hover {
    background: url("https://greensatellite.pt/wp-content/uploads/2017/05/active-menu.png") no-repeat;
    background-position-x: 49%;
}

ul#menu-1-menu li.current_page_item a {
    font-weight: 600;
}

.main-navigation.new-nav ul#menu-1-menu li:hover a {
    color: #13193b;
    font-weight: 600;
}

.site-header {
    border: 0;
}

.nivo-caption {
    background: none !important;
    padding: 0 !important;
    bottom: 25% !important;
    text-align: left;
}

.desc-container {
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    font-family: ACLine;
    font-size: 55px;
    color: #13193b;
    display: flex;
    flex-direction: column;
}

.desc-container p {
    display: flex;
    justify-content: center;
    width: 485px;
    height: 75px;
    margin-left: 125px !important;
    background: #fff;
    margin-bottom: 0px !important;
}

.desc-container p.first-line {
    width: 535px;
    margin-bottom: 2px !important;
    margin-left: 100px !important;
}

div#page {
    background: #fff;
    overflow-x: hidden;
    /*display: flex;
    height: 100%;
    flex-direction: column;*/
}

.border-content {
    width: 890px;
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
    font-family: ACLine;
    color: #13193b;
    padding: 20px 20px 10px 10px;
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/border-content.png) no-repeat;
    text-align: center;
    margin-top: 40px;
}

.border-content p {
    margin-bottom: 40px;
    line-height: 27px;
}

.border-content p:last-child {
    margin-bottom: 0;
}

.site-content {
    padding: 0;
    border-bottom: 0;
}

.hentry {
    border-bottom: 0;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.col-content {
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 50px;
    justify-content: space-between;
}

.col-n-content {
    /*width: 374px;*/
    width: 33%;
    font-size: 25px;
    /*height: 730px;*/
    display: flex;
    font-family: Calibri Light;
    color: #030522;
    line-height: 29px;
}

.col-img {
    padding-top: 25px;
    padding-bottom: 40px;
}

.col-img img {
    box-shadow: 3px 0px 16px #000;
}

.col-text {
    padding-left: 30px;
    padding-right: 30px;
    text-align: center;
}

.col-bg {
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/col-bg.png) no-repeat;
    background-position-x: 50%;
    background-position-y: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

/*------------------------------------------------------*/
/*-----------------------BACKLINE-----------------------*/
/*------------------------------------------------------*/

.main-top-line {
    position: absolute;
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/main-top-lines.png) no-repeat;
    width: 915px;
    height: 575px;
    left: 0;
    margin-top: -285px;
}

.main-bottom-line {
    position: absolute;
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/main-top-lines.png) no-repeat;
    width: 640px;
    height: 575px;
    margin-top: -310px;
    right: 0;
}

/*--------------------------------------------------*/
/*----------------------FOOTER----------------------*/
/*--------------------------------------------------*/

.site-footer {
    background-color: #030523;
    padding: 0;
    padding-top: 50px;
    font-size: 25px;
    /*flex: 0 0 auto;*/
}

.site-footer .container {
    padding: 0;
}

ul#menu-2-menu {
    display: flex;
    justify-content: center;
    font-size: 33px;
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

ul#menu-2-menu li {
    margin-right: 50px;
}

ul#menu-2-menu li:last-child {
    margin-right: 0;
}

ul#menu-2-menu li a {
    color: #e8e0ff;
    font-family: ACLine;
}

.bottom-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 150px;
    padding-right: 100px;
    text-align: center;
    font-family: Calibri Light;
    margin-bottom: 60px;
    color: #e8e0ff;
}

.footer-col p {
    margin-bottom: 0px;
    line-height: 30px;
}

.footer-end {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    background: #2e304b;
}

.footer-end p {
    margin-bottom: 0;
    font-family: "Calibri Light";
    font-size: 25px;
    color: #e8e0ff;
}

/*---------------------------------------------------*/
/*----------------------SERVICE----------------------*/
/*---------------------------------------------------*/

.header-container {
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/header-service-1.png) no-repeat;
}

.header-width {
    display: flex;
    justify-content: space-between;
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 93px;
    padding-right: 25px;
    z-index: 1;
    position: relative;
}

.head-left-top {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 340px;
}

.head-left-top h1 {
    font-size: 100px;
    font-family: ACLine;
    color: #171f40;;
    font-weight: 600;
    margin: 0;
    text-align: center;
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/h1-line.png) no-repeat;
    background-position-x: 50%;
    background-position-y: 100%;
    letter-spacing: 15px;
}

.bordered-hlb {
    font-family: Calibri Light;
    color: #fff;
    font-size: 25px;
    background: rgba(39, 51, 84, 0.87);
    padding: 40px 40px 40px 100px;
}

.bordered-hlb p {
    margin-bottom: 0;
    line-height: 29px;
}

.bordered-hlb div:first-child {
    margin-bottom: 40px;
}

.header-right {
    padding-top: 55px;
    font-family: Calibri Light;
    color: #171f40;
    font-size: 27px;
    text-align: right;
}

.header-right p {
    margin-bottom: 0;
    line-height: 29px;
}

.header-right div:first-child {
    margin-bottom: 40px;
}

.content-container {
    display: flex;
    justify-content: space-between;
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 40px;
    padding-right: 25px;
}

.clc-top {
    font-size: 25px;
    color: #242f68;
    font-family: Calibri Light;
    line-height: 29px;
}

.clc-top div:first-child, .bordered-clc div:first-child {
    margin-bottom: 40px;
}

.clc-bottom {
    background: #171f40;
    color: #fff;
    font-size: 25px;
    font-family: Calibri Light;
    line-height: 29px;
    padding: 40px 40px 40px 100px;
}

.content-left-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.content-right-container {
    width: 45%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.service-top-line {
    position: absolute;
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/service-top-line.png) no-repeat;
    width: 719px;
    height: 504px;
    left: 0;
    margin-top: -840px;
    z-index: 0;
}

.service-bottom-line {
    position: absolute;
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/service-bottom-line.png) no-repeat;
    width: 595px;
    height: 504px;
    margin-top: 370px;
    right: 0;
    z-index: 0;
}

/*---------------------------------------------------*/
/*----------------------CONTACT----------------------*/
/*---------------------------------------------------*/

article#post-1522 {
    margin-bottom: 0;
    padding: 0;
}

.form-container {
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/contact-bg.png) no-repeat;
    height: 787px;
}

.form-contact {
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.form-top {
    padding-top: 80px;
    margin-bottom: 40px;
}

.form-top h1 {
    font-size: 100px;
    font-family: ACLine;
    color: #171f40;
    font-weight: 600;
    margin: 0;
    text-align: center;
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/contact-h1-line.png) no-repeat;
    background-position-x: 50%;
    background-position-y: 100%;
    letter-spacing: 13px;
}

.main-form-contact {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    font-family: ACLine;
    color: #171f40;
    font-size: 25px;
}

.main-form-contact label {
    margin-bottom: 0;
}

.form-left-side {
    margin-right: 85px;
}

.form-left-side input {
    background: rgba(23, 31, 64, 0.73);
    border: 2px solid transparent;
    border-radius: 0;
    height: 57px;
    margin-bottom: 20px;
    font-size: 25px;
    color: #fff!important;
    font-family: "Calibri Light";
}

.form-right-side textarea {
    background: rgba(23, 31, 64, 0.73);
    border: 0;
    border-radius: 0;
    height: 180px;
    resize: none;
    font-size: 25px;
    color: #fff!important;
    font-family: "Calibri Light";
}

.form-right-side input {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    height: 57px;
    border: 0;
    border-radius: 0;
    width: 100%;
    background: #171f40;
    box-shadow: 0 0 10px #000;
    padding: 0;
}

.form-right-side input:hover {
    background: rgba(23, 31, 64, 0.73);
}

.form-left-side span:last-child input {
    margin-bottom: 0;
}

span.wpcf7-form-control-wrap.your-message {
    display: block;
    margin-bottom: 8px;
}

input.wpcf7-not-valid {
    border: 2px solid #d03638;
}

div.wpcf7-validation-errors {
    background: #d03638;
    color: #fff;
    font-size: 25px;
    text-align: center;
}

div.wpcf7-response-output {
    margin-top: 40px;
    width: 73.1%;
    margin-left: auto;
    margin-right: auto;
    border: 0;
}

/*-------------------------------------------------*/
/*----------------------ABOUT----------------------*/
/*-------------------------------------------------*/

.about-container {
    background: url(https://greensatellite.pt/wp-content/uploads/2017/06/slider-img3.png) no-repeat;
}

.about-bg {
    width: 1280px;
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
    color: #fff;
    font-family: Calibri Light;
    display: flex;
    padding-left: 50px;
    padding-top: 80px;
    padding-bottom: 40px;
}

.bordered-about {
    background: rgba(23, 31, 64, 0.87);
    padding: 35px 30px 40px 30px;
    text-align: center;
}

.bordered-about div {
    margin-bottom: 30px;
    line-height: 29px;
}

.bordered-about div:last-child {
    margin-bottom: 0;
}

.content-container.abt {
    padding-left: 45px;
    padding-right: 45px;
    padding-top: 50px;
}

.about-col {
    width: 345px;
    font-size: 25px;
    line-height: 29px;
    font-family: Calibri Light;
    color: #13193b;
    background: #ece0ff url(https://greensatellite.pt/wp-content/uploads/2017/06/abt-text-bg.png) no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-position-x: 50%;
    background-position-y: 100%;
    padding-bottom: 40px;
    padding-top: 40px;
}

span.wpcf7-not-valid-tip {
    display: none;
}

/*-------------------------------------------------*/
/*----------------------MEDIA----------------------*/
/*-------------------------------------------------*/

@media only screen and (min-width: 319px) and (max-width: 1280px) {
    .container {
        width: 100%;
    }

    .content-container {
        width: 100%;
    }

    .about-bg {
        width: 100%;
    }

    .header-width {
        width: 100%;
    }

    .form-contact {
        width: 100%;
    }

}

@media only screen and (min-width: 319px) and (max-width: 767px) {
    .desc-container p {
        font-size: 30px;
        height: 100%;
        width: 70%;
    }

    .desc-container p:first-child {
        width: 80%;
    }

    .desc-container p, .desc-container p.first-line {
        margin-left: 0 !important;
    }

    .desc-container {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .col-content {
        padding-left: 10px;
        padding-right: 10px;
        justify-content: flex-start;
        flex-direction: column;
        align-items: center
    }

    .col-n-content {
        width: 374px;
        font-size: 25px;
        display: flex;
        font-family: Calibri Light;
        color: #030522;
        line-height: 29px;
        margin-bottom: 40px;
    }

    .header-width {
        width: 100%;
        padding-right: 0;
        display: flex;
        flex-direction: column;
    }

    .head-left-top {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .head-left-top h1 {
        font-size: 70px;
    }

    .bordered-hlb {
        font-size: 16px;
        padding: 20px 20px 20px 20px;
        margin-right: 5px;
    }

    .bordered-hlb div:first-child {
        margin-bottom: 10px;
    }

    .bordered-hlb p {
        margin-bottom: 0;
        line-height: 18px;
    }

    .header-right {
        margin-top: 10px;
        text-align: right;
        font-family: Calibri Light;
        color: #fff;
        font-size: 16px;
        background: rgba(39, 51, 84, 0.87);
        padding: 20px 20px 20px 20px;
        margin-left: 5px;
    }

    .header-right div:first-child {
        margin-bottom: 10px;
    }

    .header-right p {
        margin-bottom: 0;
        line-height: 18px;
    }

    .content-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
    }

    .clc-top {
        margin-bottom: 20px;
    }

    .content-left-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 1;
        margin-bottom: 20px;
    }

    .content-right-container {
        width: 100%;
    }

    .clc-bottom {
        padding: 10px;
    }

    div.wpcf7-response-output{
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        font-size: 20px;
        line-height: 22px;
    }
}

@media only screen and (min-width: 319px) and (max-width: 1279px) {
    .main-top-line, .main-bottom-line, .service-bottom-line, .service-top-line {
        display: none;
    }
}

@media only screen and (min-width: 319px) and (max-width: 767px) {
    .content-container.abt {
        padding-left: 45px;
        padding-right: 45px;
        padding-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-col {
        margin-bottom: 40px;
    }

    .about-col:last-child {
        margin-bottom: 0;
    }

    .about-bg {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
        justify-content: center;
    }

    .bordered-about {
        padding: 20px;
    }

    .bordered-about div {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 10px;
    }

    .site-footer {
        padding-top: 10px;
        font-size: 13px;
    }

    .footer-col p {
        line-height: 17px;
    }

    ul#menu-2-menu {
        font-size: 25px;
    }

    ul#menu-2-menu li {
        margin-right: 15px;
    }

    .bottom-footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-col {
        width: 32%;
    }

    .form-top h1 {
        font-size: 54px;
        background-size: 200px;
    }

    .main-form-contact {
        flex-direction: column;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 17px;
    }

    .form-left-side {
        margin-right: 0;
    }

    .form-top {
        padding-top: 20px;
        margin-bottom: 20px;
    }

}

@media only screen and (min-width: 319px) and (max-width: 400px) {
    .content-container.abt {
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-col {
        width: 99%;
    }

    .col-n-content {
        width: 100%;
    }

    .col-bg {
        background-size: 90%;
        background-repeat-y: repeat;
        padding-bottom: 40px;
    }
}

@media only screen and (min-width: 319px) and (max-width: 519px) {
    .nivo-caption {
        bottom: 10px !important;
    }

    .desc-container p, .desc-container p.first-line {
        margin-left: 0 !important;
        font-size: 17px;
    }

    .desc-container {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .border-content {
        width: 100%;
        font-size: 19px;
        background: none;
    }

    .border-content p {
        margin-bottom: 20px;
        line-height: 22px;
    }

}

@media only screen and (min-width: 520px) and (max-width: 619px) {
    .border-content {
        width: 100%;
        font-size: 21px;
        background: none;
    }

    .border-content p {
        margin-bottom: 20px;
        line-height: 22px;
    }

}

@media only screen and (min-width: 500px) and (max-width: 768px) {
    .footer-col p {
        margin-bottom: 0px;
        line-height: 20px;
    }

    .site-footer {
        font-size: 17px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 899px) {
    .about-col {
        width: 32%;
        font-size: 18px;
        line-height: 20px;
    }
}

@media only screen and (min-width: 900px) and (max-width: 1024px) {
    .about-col {
        width: 32%;
        font-size: 22px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 1024px) {
    nav.new-nav {
        display: none;
    }

    img.header-image {
        display: none;
    }

    .has-banner.site-header {
        position: relative;
    }

    div#content {
        margin-top: 53px;
    }

    nav.mobile-nav {
        position: fixed;
        z-index: 5;
        top: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #e8dfff;
    }
    div.wpcf7-response-output {
        width: 100%;
        margin-left: 0;
        border: 0;
        margin-right: 0;
    }
}

@media only screen and (max-width: 1024px) {
    #masthead {
        background-color: #e8dfff !important;
    }
    .main-form-contact{
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (min-width: 1280px) {
    .container {
        width: 1280px;
    }
    div.wpcf7-response-output {
        width: 73.1%;
    }
}

@media only screen and (min-width: 620px) and (max-width: 767px) {
    .border-content {
        width: 600px;
        margin-left: auto;
        margin-right: auto;
        font-size: 20px;
        background: url(https://greensatellite.pt/wp-content/uploads/2017/06/border-content.png) no-repeat;
        background-size: 100%;
    }

    .border-content p {
        margin-bottom: 10px;
        line-height: 20px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 919px) {
    .border-content {
        width: 708px;
        margin-left: auto;
        margin-right: auto;
        font-size: 22px;
        background: url(https://greensatellite.pt/wp-content/uploads/2017/06/border-content.png) no-repeat;
        background-size: 100%;
        height: 270px;
    }

    .border-content p {
        margin-bottom: 30px;
        line-height: 22px;
    }

    .desc-container p, .desc-container p.first-line {
        margin-left: 0 !important;
    }

    .desc-container {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1279px) {
    .col-bg {
        background-position-x: 50%;
        background-position-y: 100%;
        background-size: 92%;
        background-repeat-y: repeat;
        padding-bottom: 40px;
    }

    .col-n-content {
        font-size: 23px;
        line-height: 25px;
    }

    .col-n-content {
        width: 31%;
    }

    .col-content {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header-width {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .head-left-top h1 {
        font-size: 80px;
    }

    .bordered-hlb {
        font-size: 17px;
        padding: 20px 20px 20px 50px;
    }

    .bordered-hlb div:first-child {
        margin-bottom: 15px;
    }

    .bordered-hlb p {
        margin-bottom: 0;
        line-height: 20px;
    }

    .header-right {
        font-size: 16px;
    }

    .header-right div:first-child {
        margin-bottom: 20px;
    }

    .header-right p {
        margin-bottom: 0;
        line-height: 20px;
    }

    .content-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
        text-align: center;
    }

    .clc-top {
        margin-bottom: 20px;
    }

    .content-left-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        position: relative;
        z-index: 1;
        margin-bottom: 20px;
    }

    .content-right-container {
        width: 100%;
    }

    .clc-bottom {
        padding: 10px;
    }

    .main-form-contact {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    .bordered-hlb {
        font-size: 22px
    }

    .bordered-hlb div:first-child {
        margin-bottom: 15px;
    }

    .bordered-hlb p {
        margin-bottom: 0;
        line-height: 24px;
    }

    .header-right {
        font-size: 20px
    }

    .header-right div:first-child {
        margin-bottom: 20px;
    }

    .header-right p {
        margin-bottom: 0;
        line-height: 24px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1280px) {
    .nav-container {
        width: 100%;
    }

    .content-container {
        width: 100%;
    }

    .about-col {
        width: 32%;
        font-size: 23px;
        line-height: 27px;
    }
}


.wpcf7-mail-sent-ok {
    display: block;
    background-color: rgba(255,255,255,.8);
    padding: 30px !important;
    color: #0b6521;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 21px;
    text-align: center;
}