/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */


@font-face {
    font-family: 'brandon-reg'; /*a name to be used later*/
    src: url('/assets/fonts/brandon-grotesque/brandongrotesque-regular-webfont.eot'); /*URL to font*/
    src: url('/assets/fonts/brandon-grotesque/brandongrotesque-regular-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/assets/fonts/brandon-grotesque/brandongrotesque-regular-webfont.woff') format('woff'), /* Modern Browsers */
        url('/assets/fonts/brandon-grotesque/brandongrotesque-regular-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
        url('/assets/fonts/brandon-grotesque/brandongrotesque-regular-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}


body {
    /*font-family: 'Comfortaa', sans-serif;  */
    /*font-family: 'brandon-reg', sans-serif;  */
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 300;
    font-size: 18px;
    /*line-height: 1.8em;*/
    color: #5a5a5a;
    height: 100%;
    /*background-color: #F6F5F6;*/
    margin-top: 174px;
}

h1, h2, h3 {
    font-family: 'Comfortaa', sans-serif;
}

h6 {
    margin: 20px 0 20px 0;
    font-size: 18px;
}

p {
    margin: 0 0 15px 0;
}

.highlight-background {
    background-color: rgba(0,0 ,0, 0.3);
    padding: 20px;
    border-radius: 5px;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
    border:0;
}

/* LOGO
-------------------------------------------------- */
#logo {
    float: left;
    margin: 15px 0 -20px 0px;
    display: inline-block;
}

/*#logo img{
    height: 150px;
}*/

#logo a{
    padding: 0;
    margin: 0;
    border: none;
}




/* MAGICAL HEADER TEST
-------------------------------------------------- */

header {
    width: 100%;
    height: 174px;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #FFFFFF;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
}
/*header div#logo img{*/
header div#logo div{

    width: 186px;
    height: 150px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-image: url('/assets/images/mycloudNZ.png');

    display: inline-block;
    height: 150px;
    line-height: 150px;
    float: left;
    font-family: "Oswald", sans-serif;
    font-size: 60px;
    color: white;
    font-weight: 400;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
header nav {
    display: inline-block;
    float: right;
}
header nav a {
    display: block;
    margin: 1em 0 0 0;
    padding : 0.5em 0.9em;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background-color: lightgrey;
    text-decoration: none;
    color: white;
    background-color: #28426E;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 500;
    border-bottom: 1px solid #28426E;
}


nav.top-navigation ul {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


header.smaller nav.top-navigation ul {
    margin-top: 6px;
}

header nav a:hover {
    color: white;
    text-decoration: none;
}
header.smaller {
    height: 75px; /* small */
}

header.smaller div#logo div {
    height: 50px; /* small */
    width: 62px;
    line-height: 50px;
    font-size: 30px;
    background-image: url('/assets/images/mycloudNZ-small.png');
}



header img#logo-text {
    display: none;
}



header.smaller img#logo-text {
    display: inline-block;
    margin: 35px 0 0 -22px;

    -webkit-animation: fadein 1.5s; /* Safari, Chrome and Opera > 12.1 */
       -moz-animation: fadein 1.5s; /* Firefox < 16 */
        -ms-animation: fadein 1.5s; /* Internet Explorer */
         -o-animation: fadein 1.5s; /* Opera < 12.1 */
            animation: fadein 1.5s;

}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* TOP TABBED NAVIGATION
-------------------------------------------------- */

nav.top-navigation ul {
    margin: 105px 0px 0 0;
    padding: 0;
    float: right;
    text-align: right;
    display:block;
}

nav.top-navigation li {
    list-style: none;
    display: inline-block;
    font-size: 20px;
    text-align: center;
}

nav.top-navigation li a.highlighted {
    background-color: #f9973d;
    color: #fff;
    /* text-shadow: 0 1px 1px rgba(0, 0, 0, .3); */
    font-weight: bold;
    border-bottom: 1px solid #f9973d;
}

nav.top-navigation li a:hover {
    padding-top : 0.7em;
    margin-top: 0.8em;


}


/* NAVIGATION RIBBON
-------------------------------------------------- */
nav.ribbon-navigation {
    width: 100%;
    background-color: #f9973d;
    color: #28426E;
}

nav.ribbon-navigation ul {
    margin: 0;
    padding: 0;
    display: inline-block;
    text-align: left;
}

nav.ribbon-navigation li {
    font-size: 18px;
    list-style: none;
    display: inline-block;
    margin: 24px 0;
}


nav.ribbon-navigation ul li span {
    padding: 0 3px;
    font-size: 8px;
    vertical-align: middle;
    color: #fff;
}

nav.ribbon-navigation ul.simple li:first-child {
    border: none;
}

nav.ribbon-navigation li a{
    text-decoration: none;
    color: #fff;
    /* text-shadow: 0 1px 1px rgba(0,0,0,.3); */
    font-size: 16px;
}

nav.ribbon-navigation li a:hover{
    text-decoration: none;
    color: white;
}

nav.ribbon-navigation ul.social-share {
    text-align: right;
    display: inline-block;
    float: right;
}




/* BUTTON OVERLAY
-------------------------------------------------- */
.button-overlay {
    z-index: 20;
    float: left;
    position: relative;
     /* top: -150px;
   left: 65px; */
    margin: -90px auto 0 0;
    width: 100%;
}

a.video-link {
    font-size: 32px;
    font-weight: 300;
    color: white;
    /* text-shadow: 0 1px 2px rgba(0,0,0,.6); */
    padding: 0.3em 0 0.3em 60px;
    margin-left: 82px;
    border: none;
    background-color: transparent;
    background-image: url("/assets/images/playbutton.png");
    background-position: center left;
    background-repeat: no-repeat;
}

a.big-button {
    font-size: 32px;
    font-weight: 300;
    color: white;
    padding: 10px 0 10px 70px;
    border: none;
    background-color: #28426E;
    display: inline-block;
    padding: 0.3em 0.8em;
    border-radius: 12px;
    text-decoration: none;
}

a.big-button:hover {
    background-color: #F9973D;
    /* text-shadow: 0 1px 2px rgba(0,0,0,.6); */
}

.button-overlay a {
    color: white;
    text-decoration: none;
}

/* VIDEO POPUP
-------------------------------------------------- */
.video-popup iframe {
    border: none;
    margin: auto;
}

.modal-body {
    background-color: black;
}

.modal-dialog {
    margin: 30px auto;
    max-width: 800px;
    width:80%;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  clear: both;
}

.carousel h1.slides {
    font-size: 48px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
    /*margin-bottom: 200px;*/
    margin-bottom: 160px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption h1 {
    font-size: 70px;
    padding: 0;
    line-height: 70px;
    text-shadow: none;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #139EEC;
}

.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  height: 500px;
}

.carousel-inner #landing-image {
    background-image: url("/assets/images/repeater.jpg");
    background-repeat: repeat;
}

.carousel-inner #demo-image img {
    float: right;
    padding: 20px 0 20px 20px;
    height: 400px;
    margin-top: 30px;
}

.carousel h1, .carousel h2 {
    color: white;
}

.carousel .video-highlights {
    padding-top: 45px;
    z-index: 1;
}

#myCarousel .carousel-control {
    background-color: transparent;
    background-image: none;
    z-index: 4;
}

.carousel .video-highlights .text {
    text-align: center;
    margin-top: 80px;

}

.carousel .video-highlights .text1 {
    text-align: left;
    margin-top: 90px;
}

.carousel .video-highlights .text1 h1 {
    line-height: 50px;
    font-size: 48px;
}

/* FEATURES
------------------------------------------------- */

.features {
    margin-top: 60px;
    text-align: center;
    padding-bottom: 60px;
}

.img {
    height: 200px;

}

.caption {
    padding: 10px 5px 10px 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* STANDARD BANNER
------------------------------------------------- */
.banner {
    background-color: #139EEC;
    color: white;
}

.banner h1 {
    margin: 0;
    font-size: 70px;
    line-height: 300px;
    text-align: center;
    color: white;
}

/* FREE STARTER PAGE
------------------------------------------------- */
img.freestarter-img {
    width: 80%;
    padding: 25px;
    float: left;
}

section ul{
    padding: 0;
    margin: 25px 0 0 0;
    font-size: 18px;
}

section h3 {
    padding: 25px 0;
    margin: 0;
}

/* so, we never ever want to display bullet points, anywhere? ever? */
section ul>li {
    list-style: none;
    padding: 0.2em;
}

/* MAIN CONTENT
------------------------------------------------- */
.container.main {
    margin: 60px auto;
}

/* SECTIONS
-------------------------------------------------- */
.about section {
    padding: 65px;
}

.about section h2 {
    margin-bottom: 30px;
}

.about section img.thumb {
    width: 80%;
    padding: 25px;
}

.about section .unlock-img img.thumb {
    width: 80%;
    padding: 0px 25px 0px 50px;
}

.about section img {
    width: 100%;
    max-width: 448px;
}

.about section img.noselect {
    height: 48px;
    width: 48px;
}

.about .unlock-img {
    text-align: center;
}

.about .pbx-img img {
    margin-left: 30px;
}

section.bg-repeat {
    background-color: #139EEC;
    background-image: url("/assets/images/repeater.jpg");
    color: white;
}

section.bg-repeat-dissolve {
    background-color: #139EEC;
    background-image: url("/assets/images/repeater-dissolve.jpg");
    color: white;
}

section.blue {
    background-color: #139EEC;
    color: white;
}

section.orange {
    background-color: #f9973d;
    color: #FFF;
}

section.grey {
    background-color: #F6F5F6;
    color: #5a5a5a;
}

.video-thumb {
    background-image: url("/assets/images/video-preview.png");
    background-position: 50%;
    background-repeat: no-repeat;
    text-align: center;
    height: 270px;
    background-size: 90% auto;
}

.carousel-inner .video-thumb {
    margin-top: 85px;
}


.video-thumb img {
    height: 48px;
    width: 48px;
}

.align-helper {
    display: inline-block;
    line-height: 100%;
    height: 100%;
    vertical-align: middle;
}

section ul.show-bullet>li {
    list-style: disc outside none;
    margin-left: 1em;}

.form-group label{
    font-weight: 300;
}

/* CONTACT
-------------------------------------------------- */
.about a {
    color: #fff;
}

/* FORM
-------------------------------------------------- */
form input.error {
    border-color: red;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (max-width: 768px) {
    body {
        margin-top: 0;
    }

    header {
        height:75px;
        position: relative;
    }

    header div#logo div {
        height: 50px; /* small */
        width: 62px;
        line-height: 50px;
        font-size: 30px;
        background-image: url('/assets/images/mycloudNZ-small.png');
    }

    header.smaller nav.top-navigation ul,
    header nav.top-navigation ul {
        margin-top: 34px;
    }

    nav.top-navigation ul {
        margin: 105px 0px 0 0;
    }

    nav.top-navigation li {
        font-size: 12px;
    }

    a.big-button,
    a.video-link
    {
        font-size: 18px;
    }

    .button-overlay a.video-link
    {
        background-image: url('/assets/images/playbutton-sml.png');
        padding-left: 30px;
    }

    #demo-image img {
        position: relative;
        z-index: 0;
        top: -80px;
    }

    nav.ribbon-navigation ul {
        float: none;
        text-align: center;
        display: block;
    }

    nav.ribbon-navigation ul.social-share {
        text-align: center;
        display: block;
        float: none;
    }

    .carousel .video-highlights .text,
    .carousel .video-highlights .text1 {
        margin-top: 0;
    }

    .carousel-inner .video-thumb {
        margin-top: -50px;
        height: 270px;
        background-size: 50%
    }
    .carousel-inner h1,
    .carousel-caption h1 {
        font-size: 40px;
        margin: -40px 0 32px 0;
    }

    .carousel-inner .video-thumb {
        margin-top: -40px;
        height: 270px;
    }
}

@media (max-width: 500px) {
    .video-thumb {
        margin-top: -80px;
        margin-bottom: -40px;
        min-height: 200px;
    }
}

@media (max-width: 991px) {
    .carousel-inner #demo-image img {
        height: 300px;
    }
}

@media (max-width: 385px) {
    header {
        height:150px;
    }

    header.smaller nav.top-navigation ul,
    header nav.top-navigation ul {
        margin-top: 10px;
    }

    nav.top-navigation ul {
        margin: 0;
    }

    nav.top-navigation li {
        font-size: 16px;
        display: block;
        width: 200px;
        float: right;
        clear: right;
        margin: 0;
        padding: 0;
    }

    nav.top-navigation li a {
        display: block;
        border-radius: 5px;
        margin: 3px;
    }

    .button-overlay a.video-link {
        margin-left: 15px;
    }


    .carousel .video-highlights .text1 h1 {
        line-height: 50px;
        font-size: 48px;
    }
}
