/*
 Theme Name:   Illdy Child
 Theme URI:    -
 Description:  Illdy Child Theme
 Author:       Adrià Martí
 Author URI:   -
 Template:     illdy
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  illdy-child
*/

@font-face {
    font-family: Lato;
    src: url('wp-content/themes/illdy-child/fonts/Lato-Regular.ttf');
    font-weight: normal;
}

img.service-image {
    height: 55px;
}

div.first-column {
    border-color: #fb5c9c!important;
}
div.second-column {
    border-color: #5cdbd2!important;
}
div.third-column {
    border-color: #fdb65e!important;
}

div.first-column-font-color {
    color: #fb5c9c;
}
div.second-column-font-color {
    color: #5cdbd2;
}
div.third-column-font-color {
    color: #fdb65e;
}

div.service-container, div.tarifa-container {
    padding-top:30px;
    max-width:300px;
    height:100%;
    position:relative;
}

div.service-title {
    font-size: 30px;
    font-weight: bold;
    padding-top: 30px;
    padding-bottom: 30px;
}

div.service-body {
    font-size:14px;
    border-top: solid 8px;
    border-bottom: solid 8px;
    padding-top: 30px;
    padding-bottom: 30px;
}

body.home {
    color: black;
}

header#header.header-front-page {
    background-position-y: 115px;
    background-size: cover!important;
    height:100%
}

header#header div.top-header {
    padding-top:20px;
    padding-bottom:20px;
}

header#header .top-header .header-navigation ul li a {
    color: black;
}

section.front-page-section .section-header h3 {
    color: black;
    font-size: 30px;
    margin-bottom: 30px;
    font-family:"Lato"
}

section#about.front-page-section .section-header .section-description {
    color: black;
    font-size: 18px;
}

div.border-box {
    border: solid 8px;
    width:250px;
    position:relative;
    margin:auto;
}

#about .section-content .row, #projects .section-content .row, #services .section-content .row {
    display:flex;
    flex-flow: row wrap;
}

#about .section-content .col-sm-4, #projects .section-content .col-sm-4, #services .section-content .col-sm-4 {
    display: inline-block;
    margin: 0 auto;
}


div.border-box:after {
    content:"";
    display:block;
    padding-bottom:80%;
}

div.border-box-content {
    position:absolute;
    width:100%;
    height:100%;
}

div.border-box-content-child {
    position: relative;
    top: 50%;
    transform: perspective(1px) translateY(-50%);
}

div.tarifa-big {
    font-weight: bold;
    font-size: 40px;
    line-height: 40px;
}

div.tarifa-detail {
    margin-top:30px;
    /*height:200px;*/
}

div.textwidget {
    height:100%;
}

section#projects, section#team{
    background-image: none!important;
}

.tarifes-button-separator {
    height: 50px;
}

div.tarifes-button {
    position: absolute;
    bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

a.tarifes-button {
    background-color: black;
    color: white;
    font-size: 18px;
    border-radius: 0px;
    padding-left: 20px;
    padding-right: 20px;
}

a.tarifes-button:hover,a.tarifes-button:visited,a.tarifes-button:active{
    color: white;
}

.open-responsive-menu i.fa {
    color: black;
}

section#team .section-content .container .row {
    border-top: #5cdbd2 solid 8px;
    border-bottom: #5cdbd2 solid 8px;
    padding:35px;
    font-weight:bold;
    margin: 10px 0;
}

section#team div.section-header, section#about div.section-header, section#services div.section-header, section#projects div.section-header{
    margin-bottom: 35px;
}

section#contact-us .section-content .container .wpcf7 {
    margin-right: 50px;
}


section#contact-us .section-content .container .wpcf7-form p {
    width: 100%;
    float: none;
    padding: 0px;
    margin-bottom: 30px;
}

section#contact-us .section-content .container .wpcf7-form .wpcf7-submit {
    float: none;
    background-color: black;
    color: white;
    border-radius: 0px;
    padding: 0px 30px;
}


section#contact-us .section-content .container .row .wpcf7-form label {
    font-size: 15px;
}


section#contact-us .section-content .container .row .contact-us-box div[data-customizer=box-left-address-title] {
    font-weight:bold;
    margin-bottom: 30px;
}

section#contact-us .section-content .container .row .contact-us-box p {
    font-size: 15px;
}

section#contact-us .section-content .container .row iframe {
    margin-top: 20px;
    width: 100%;
    height: 450px;
}

.google-maps {
    position: relative;
    padding-bottom: 75%; // This is the aspect ratio
height: 0;
    overflow: hidden;
}
.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

@media only screen and (max-width: 1024px) {
    header#header.header-front-page {
        background-image: none!important;
        height: auto;
    }
    header#header.header-front-page .bottom-header{
        padding-bottom: 0px;
        padding-top: 0px;
        display:none;
    }
}

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-99312633-2', 'auto');
  ga('send', 'pageview');

</script>