/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   OMTEL custom styles
   ========================================================================== */

body{
    font-family: 'Lato', sans-serif;
}

/* HEADER */
header{
    width: 100vw;
    height: 75px;
    position: fixed;
    top: 0;
    z-index: 10;
    background: #fff;
}

.header-wrapper{
    max-width: 1440px;
    height: 75px;
    border-bottom: 1px solid #EDEDED;
    margin: 0 auto;
    line-height: 75px;
}

header .logo{
    float:left;
    padding-left:8%;
    width:147px;
}

header .logo img{
    width:100%;
}

header nav, header .lang{
    float:right;
}
header nav a{
    color:inherit;
    text-decoration: none;
}
header nav{
    padding-right:75px;
}
header nav ul li{
    float:left;
    list-style: none;
    line-height: 75px;
    font-size: 14px;
    color:#4E4E4E;
    padding:0 10px;
}
header nav ul li:last-child{
    padding:0;
    display: none;
}
.lang{
    display:none;
}
.lang span{
    line-height: 75px;
}
.lang ul{
    display: none;
}
main{
    width:100vw;
    max-width: 1440px;
    margin:0 auto;
}

/* HERO */
#hero{
    margin-top:75px;
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    height: 630px;
    position: relative;
}

#hero h1{
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 11px rgba(0,135,205,0.33);
    font-size: 50px;
    padding-top: 180px;
    padding-left: 8%;
    width: 55%;
    margin: 0;
}

#hero a{
    margin-top:50px;
    margin-left: 8%;
}

a.button{
    display:block;
    text-align: center;
    line-height: 48px;
    width:219px;
    height:48px;
    background: #005CB9;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    color:#fff;
}
a.button:hover{
   background: #208DE5;
}


#hero-interior{
    background-image: url('../img/hero.png');
    background-size: cover;
    background-position: center;
    height: 550px;
    position: relative;
}
#hero-interior h1{
    font-weight: 700;
    color:#fff;
    text-shadow: 0 2px 11px rgba(0,135,205,0.33);
    font-size:60px;
    padding-top: 170px;
    width:90vw;
    max-width:670px;
    margin: 0 auto;
}
/* ABOUT */

small{
    color: #939393;
    font-size: 12px;
    letter-spacing: 2px;
    display: block;
    padding-bottom: 5px;
}

#about{
    position: relative;
    padding-top:60px;
    width:100%
}

#about .wrapper{
    background-color: #f6f6f6;
    margin-left:8%;
    margin-right:12%;
    overflow: visible;
    position: relative;
    z-index:1;
}

#about .wrapper .copy{
    float: left;
    width: 49%;
    padding: 75px 0 40px 55px;
}
#about .wrapper .image{
    float: right;
    width:50%;
    position: absolute;
    right: -60px;
    top: 75px;
}

#about .wrapper .image img{
    width:100%;
}
/*#about h2{
    color:#005CB9;
    font-size:35px;
    font-weight: 700;
    line-height: 45px;
    margin:0;
}*/

#about h2{
    color:#4E4E4E;
    font-size:30px;
    font-weight: 700;
    line-height: 30px;
    margin:0;
}

#about p{
    color:#4E4E4E;
    font-size:15px;
    line-height: 25px;
    font-weight: 500;
}

#about .bluesquare{
    background: #005CB9;
    z-index:0;
    width:500px;
    height:360px;
    position: absolute;
    bottom: -60px;
}


/* SERVICES */

#services{
    position: relative;
    margin-top: 150px;
    width: 100%;
    overflow: hidden;
}

#services .image{
    float:left;
    width:50%;
}

#services .image img{
    width:100%
}

#services h2{
    color:#4E4E4E;
    font-size:30px;
    font-weight: 700;
    line-height: 30px;
    margin:0;
}

#services p{
    color:#4E4E4E;
    font-size:15px;
    line-height: 25px;
    font-weight: 500;
}

.services-intro{
    position: relative;
    left:-50px;
    width:50%;
    float:left;
}

.services-list{
    position: relative;
    left:50px;
    width:50%;
    float:left;
}
.services-list h3{
    padding-top:30px;
    margin:0;
    font-size: 17px;
    font-weight: 700;
}

.services-list ul{
    padding-top:20px;
    font-size: 15px;
    font-weight: 500;
    color: #005CB9;
}

.services-list ul li{
    padding:7px 0;
}

.services-list ul li span{
    position: absolute;
}

.services-list ul li img{
    padding-right:20px;
    position: relative;
    top: -12px;
}
.services-list ul li.border {
    /* padding: 0 0 8px 0 !important; */
    margin: 0 35% 0 60px;
    height: 1px;
    border-top: 1px solid #EBEBEB;
    line-height: 1px;
}

/* LANDLORDS */


#landlords{
    position: relative;
    margin-top: 60px;
    width: 100%;
    overflow: visible;
    background-color: #f6f6f6;
}


#landlords  .copy{
    width: 35%;
    PADDING: 100PX 0 100px 8%;
}
#landlords .image{
    left: 50%;
    z-index: 2;
    width: 566px;
    height: 417px;
    position: absolute;
    right: 0;
    top: 0;
}

#landlords .image img{
    width:100%;
}
#landlords h2{
    color:#4E4E4E;
    font-size:30px;
    font-weight: 700;
    line-height: 30px;
    margin:0;
}

.blue{
    color: #005CB9;
}

#landlords p{
    color:#4E4E4E;
    font-size:15px;
    line-height: 25px;
    font-weight: 500;
}

#landlords .bluesquare{
    background: #005CB9;
    z-index:1;
    width:246px;
    height:390px;
    position: absolute;
    right:0;
    top:-50px;
}


/* CONTACT US */

#contactus{
    width:90vw;
    max-width: 920px;
    margin: 0 auto;
    margin-top:90px;
    margin-bottom:90px;
}
#contactus h2{
    font-size: 30px;
    color: #4E4E4E;

}
.form-wrapper{
    float:left;
    width:48%;
}

input{
    display: block;
    width:calc(100% - 20px);
    height:56px;
    line-height: 56px;
    border: 1px solid #EBEBEB;
    margin-bottom:10px;
    padding: 0 10px;
    font-family:'Lato', sans-serif;
}

textarea{
    display: block;
    width:calc(100% - 20px);
    height:183px;
    border: 1px solid #EBEBEB;
    margin-bottom:10px;
    padding: 10px 10px;
    font-family:'Lato', sans-serif;
}

.contact-wrapper{
    float:right;
    width:48%;
}

button{
        display:block;
        text-align: center;
        line-height: 48px;
        width:100%;
        height:48px;
        background: #005CB9;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
        color:#fff;
        border:0;
}



.contact-wrapper ul{
    padding-top:20px;
    font-size: 15px;
    font-weight: 500;
    color: #005CB9;
    line-height: 15px;
}

.contact-wrapper ul li{
    padding:15px 0;
}

.contact-wrapper ul li img{
    padding-right:20px;
}
.contact-wrapper ul li img.address{
    display: block;
    float:left;
}

.contact-wrapper ul li span.address{
    display: block;
    max-width: 340px;
    line-height: 24px;
}

.status {
    display: none;
    width: calc(100% - 40px);
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 50px;
    padding: 0 20px;
    font-weight: 700;
    text-align: center;
}

.status.ok{
    display: block;
    background-color:#8bc34a;
    color:#fff;
}

.status.error{
    display: block;
    background-color:#FF5722;
    color:#fff;
}

.required{
    border:1px solid #FF5722;
}

.checkmark.required{
    border:2px solid #FF5722;
}

/* FOOTER */

footer{
    width:100vw;
    max-width: 1440px;
    font-size: 12px;
    color:#fff;
    margin: 0 auto;
}

footer .upper{
    height: 91px;
    width:100%;
    background: #005CB9;
    line-height: 91px;
    border-bottom:1px solid #208DE5;
}

footer .upper img{
    padding-left:120px;
}

footer .lower{
    background: #006AC0;
    height:63px;
    line-height: 63px;
}
footer .lower div:first-child {
    float:left;
    padding-left: 120px;
}
footer .lower div:last-child {
    float:right;
    padding-right: 120px;
}

footer a{
    text-decoration: none;
    color:#fff;
    padding: 0 10px;
}

footer a:first-child{
    padding:0 10px 0 0;
}
/* INTERIOR */

#content{
    width:90vw;
    max-width: 670px;
    padding:70px 0;
    margin:0 auto;
}

#content h2{
    text-transform: uppercase;
    color:#4E4E4E;
    font-size: 20px;
    font-weight: 700;
    margin:0 0 20px 0;
}

#content p{
    color:#363636;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
}


#questions {
    width:100%;
    background: #f6f6f6;
    padding:70px 0;
}

#questions .wrapper{
    width:90vw;
    max-width: 670px;
    margin:0 auto;
}

#questions .wrapper h2{
    text-transform: uppercase;
    color:#4E4E4E;
    font-size: 20px;
    font-weight: 700;
    margin:80px 0 20px 0;
}

#questions .wrapper p{
    color:#363636;
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
}

#questions ul {
    list-style: square;
    color:#005CB9;
    font-size: 18px;
    padding-left:20px;
}

.hamburguer{
    display: none;
    cursor: pointer;
}

li.active a {
    color:#005CB9;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}

header nav ul li:last-child{
    display: none;
}

.cookie-warning{
    position: fixed;
    bottom:0;
    left:0;
    width: 100vw;
    background-color: #005CB9;
    color:#fff;
    height: 90px;
    z-index: 999;
    border-top:2px solid #fff;
}
.cookie-warning p{
    font-size: 16px;
    padding: 10px;
    line-height: 35px;
    float:left;
}

.cookie-warning p a{
    color:#fff;
}
.cookie-accept {
    background-color: #fff;
    color: #005CB9;
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
    margin: 22px 10px;
    float: right;
    cursor: pointer;
}

/* TABLET */

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

    #hero h1{
        width: 65%;
    }

    #about h1{
        padding-top: 140px;
        font-size:34px;
    }
    
    #about h2{
        color:#4E4E4E;
        font-size:20px;
        font-weight: 700;
        line-height: 20px;
        margin:0;
    }

    #about p {
        color: #4E4E4E;
        font-size: 14px;
        line-height: 23px;
        font-weight: 500;
    }

    #services h2 {
        color: #4E4E4E;
        font-size: 20px;
        font-weight: 700;
        line-height: 20px;
        margin: 0;
    }

    #services p {
        color: #4E4E4E;
        font-size: 14px;
        line-height: 23px;
        font-weight: 500;
    }

    .services-list ul li {
        padding: 5px 0;
    }

    #landlords h2 {
        color: #4E4E4E;
        font-size: 20px;
        font-weight: 700;
        line-height: 20px;
        margin: 0;
    }

    #landlords p {
        color: #4E4E4E;
        font-size: 14px;
        line-height: 23px;
        font-weight: 500;
    }

}

/* PHONE */

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

    nav {
        display: none;
    }

    header {
        height: 60px;
    }

    .header-wrapper {
        height: 60px;
        line-height: 60px;
    }

    header .logo {
        width: 124px;
    }
    
    #hero {
        background-size: cover;
        background-position: center;
        height: 360px;
    }

    #hero h1 {
        font-size: 25px;
        padding-top: 50px;
        padding-left: 8%;
        width: 90vw;
    }

    #hero a {
        margin-top: 20px;
    }


    #about .wrapper {
        background-color:transparent;
        margin: 0;
        position: relative;
        z-index: 1;
    }

    #about .wrapper .copy {
        float: none;
        width: 90vw;
        margin: 0 auto;
       padding:0;
    }



    #about .wrapper .image {
        float: none;
        width: 100vw;
        position: static;
        right: 0;
        top: 0;
    }

    #about .bluesquare {
        background: #005CB9;
        z-index: 0;
        width: 180px;
        height: 360px;
        position: absolute;
        bottom: -60px;
        right: 0;
    }


    section#services {
        display: table;
    }

    #services small{
        margin: 0 5%;
    }

    #services p{
        padding: 0 5%;
    }

    #services h2{
        margin: 0 5%;
    }

    #services .image {
        position: relative;
        width: 135%;
        right: 35%;
    }

    .services-intro {
        position: static;
        left: 0;
        width: 90vw;
        margin: 0 auto;
        float: none;
        display: table-header-group;
    }
   
    .services-list {
        position: static;
        left: 0;
        width: 90vw;
        margin: 0 auto;
        float: none;
    }





    #landlords .copy {
        width: 90vw;
        padding: 80px 0;
        margin: 0 auto;
    }

    #landlords .image {
        left: 0;
        z-index: 0;
        width: 100vw;
        height: auto;
        position: static;
        right: 0;
        top: 0;
        padding-bottom: 30px;
    }


    #landlords .bluesquare {
        background: #005CB9;
        z-index: 3;
        width: 33vw;
        height: 55px;
        position: absolute;
        right: 0;
        top: unset;
        bottom: -25px;
    }


    .form-wrapper {
        float: none;
        width: 90vw;
        margin: 0 auto;
    }

    .contact-wrapper {
        float: none;
        width: 90vw;
        margin: 0 auto;
        padding-top: 50px;
    }





    footer .upper {
        height: 63px;
        line-height: 63px;
        text-align: center;
    }
    footer .upper img {
        margin:0;
        padding:0;
    }

    footer .lower {
        background: #006AC0;
        height: 87px;
        line-height: 1em;
    }

    footer .lower div:first-child {
        float: none;
        width: 90vw;
        margin: 0 auto;
        text-align: center;
        padding-left: 0;
        line-height: 50px;
    }

    footer .lower div:last-child {
        float: none;
        width: 90vw;
        margin: 0 auto;
        padding-right: 0;
        text-align: center;
    }

    footer a:first-child {
        padding-right: 10px;
    }

    footer a:last-child {
        padding-left: 10px;
    }

    footer a {
        padding: 0;
    }

    .cookie-warning p{
        font-size: 14px;
        padding: 10px;
        line-height: 20px;
        width: 70%;
        float:left;
    }
    
    .cookie-warning p a{
        color:#fff;
    }
    .cookie-accept {
        background-color: #fff;
        color: #005CB9;
        padding: 10px;
        font-size: 12px;
        border-radius: 10px;
        margin: 22px 10px;
        float: right;
    }

    /* MENU MOBILE */

    header nav {
        height: 100vh;
        width: 100vw;
        background:#005CB9;
        position: fixed;
        text-align: center;
        flex-direction: column;
        align-items: center; 
        justify-content: center;
        top: 0;
    }
    .menu-open{
        display: flex;
    }

    header nav ul li{
        color:#fff;
        float:none;
    }

    header nav ul li:last-child{
      padding:5vh 0 20vh 0;
      display: block;
    }

    .close{
        position: fixed;
        top:0;
        right:10px;
        cursor: pointer;
    }

    .close:after {
        content: '×';
        color:#fff;
        font-size: 25px;
      }

    .hamburguer {
        display: block;
        position: fixed;
        color: #005CB9;
        top: 0;
        right: 10px;
        font-size: 30px;
    }

    li.active a {
        color:#fff;
        border-bottom: 1px solid;
        padding-bottom: 3px;
    }

}



/* */

/* */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/* CHECKBOX CONTAINER */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin: 20px 0;
    cursor: pointer;
    font-size: 12px;
    color: #4E4E4E;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 25px;
}

/* Hide the browser's default checkbox */
.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height:0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #fff;
    border: 2px solid #005CB9;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #EBEBEB;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #fff
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid #005CB9;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


header nav ul li:last-child a{
    border: none !important;
}




/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
    white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
