/*
 * Landing pages style for gallura template.
 */

/* Header section */
div#imageHeader {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
 }

div#imageHeader > section {
    padding: 7% 0 12% 0;
}

div#imageHeader > section > h1 {
    background-color: rgba(255,255,255,0.6);
    padding: 4%;
}

div.bannerCall {
    padding: 3em 0;
}

/* Services section */
section#services {
    margin: 2em auto;
    padding: 0;
}

section#services > * {
    width: 50%;
    float: left;
    padding: 5%;
}

section#services > div h2 {
    font-size: 1.3em;
    color: var(--green);
}

section#services > div p a {
    text-decoration: underline;
}

section#services > div p {
    margin: .5em 0;
}

section#services > div b {
    font-weight: bold;
}

section#services > div ul {
    padding-left: 1em;
}

section#services > div ul li {
    list-style-type: disc;
    margin-bottom: .7em;
    line-height: 1.4em;
}

section#services > div.service {
    width: 42%;
    margin: 4%;
    float: left;
    height: 10em;
}

section#services > div div#startFrom {
    background-color: var(--green);
    text-align: center;
    padding: 10%;
    width: 100%;
    color: var(--lightGrey);
}

section#services > div ul#newList {
    margin-top: 2em;
    margin-bottom: 3em;
}

section#services > div ul#newList li {
    list-style-type: disc;
    margin-left: 10%;
    margin-right: 5%;
    font-size: 1.1em;
    line-height: 1.5em;
    margin-bottom: .3em;
}

section#services > div div#startFrom {
    font-size: 1.1em;
}

section#services > div div#startFrom p {
    margin-bottom: 1em;
}

section#services > div div#startFrom p span {
    font-size: 1.2em;
    font-weight: bold;
}

section#services > div div#startFrom a.button {
    background-color: var(--lightGrey);
    color: var(--darkGrey);
    font-size: .9em;
}

section#services > div div#startFrom a.button:hover {
    background-color: #F2F2F2;
}

/* Help section */
section#helpPests {
    padding: 3em 0;
}

section#helpPests h2.pest {
    float: none;
}

section#helpPests h2.pest span {
    text-transform: uppercase;
    font-weight: bold;
}

/* Second big text section */
section#secondText {
    padding-top: 3em;
    padding-bottom: 3em;
    text-align: center;
}

section#secondText h2 {
	padding-bottom: 1em;
	text-align: left;
}

/* Video section*/
div#woodwormVideo video {
    width: 100%;
    display: block;
}

/* New landing style */
div#headerText section {
    text-align: center;
    padding: 1em 0;
}

div#headerText section h1 {
    color: var(--darkGrey);
    font-size: 1.8em;
    font-weight: bold;
    width: 80%;
    margin: auto;
}

section#centerText h4 {
    text-align: center;
    font-size: 1.2em;
    width: 80%; 
    margin: 2em auto;
    line-height: 1.4em;
}

section#services > div div {
    margin-bottom: 2em;
}

section#services div div#startFrom p a {
    color: var(--lightGrey);
    text-decoration: none;
}

section#services div div#startFrom p a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 780px) {

	/* Header section */
    div.bannerCall {
	    position: relative;
	}

    /* Services section style */
    section#services > * {
        width: 100%;
    }

	/* Service box style */
	section#services > div.service {
	    height: 15.5em;
	}

	/* Video section*/
	div#woodwormVideo video {
	    display: none;
	}
}

@media screen and (max-width: 540px) {

	/* Service box style */
	section#services > div.service {
	    height: inherit;
	    width: 90%;
	    text-align: center;
	    float: none;
	}

	/* Services section */
	section#services > * {
		float: none;
	}
}