/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Oct 22, 2014, 4:14:58 PM
    Author     : Floris
*/

/* Reset HTML5 Search Input in Webkit */
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}
input[type=search] {
  -webkit-appearance:textfield;
  -webkit-box-sizing:content-box;
}
input {
    -webkit-appearance: none;
    border-radius: 0;
}

/* fonts, links, etc. */
h1 {
    text-transform: uppercase;
    font-family: 'Economica', sans-serif;
    font-weight: 700;
    font-size: 44px;
    margin-top: 3px;
    margin-bottom: 0;
    color: #0d0e12;
}

p {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 12px;
    line-height: 30px;
}

input,
textarea,
.language a,
#response {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

q {
    font-family: 'Courier New', Courier, monospace;
    font-size: 26px;
    font-style: italic;
    line-height: 33px;
}

time, a {
    font-family: 'Economica', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

a.text-center,
.text-center a,
.article-text a,
.element11 a.readmore,
.element8 a.readmore,
.language a,
.goto-top {
    color: #9f3219;
    text-decoration: none;
    opacity: 0.8;
    
}

a:hover,
.goto-top:hover {
    text-decoration: none;
    color: #9f3219;
    opacity: 1;
}

a.title {
    color: #0d0e12;
}

a.title:hover {
    text-decoration: underline !important;
}

a.more {
    margin-top: -10px;
}

a.more-gallery {
    margin-top: -20px;
}


body {
    background-image: url(../images/ivo-pattern.png);
    background-repeat: repeat;
}

/* page header */
header .language {
/*    display: none;*/
    position: absolute;
    right: 23px;
    top: 6px;
    text-transform: uppercase;
}

header .language ul {
    list-style-type: none;
}

header.page-head {
    width: 100%;
    background-image: none;
    background-repeat: no-repeat;
    background-position: center top;
    position: relative;
}

.about span,
.contact span {
    position: absolute;
    display: none;
    font-family: 'Courier New', Courier, monospace;
    line-height: 37px;
    font-size: 14px;
    color: #333;
    left: -15px;
}

.video iframe {
    margin-bottom: -4px;
}

.video-caption {
    padding: 0 40px;
}

@media (min-width: 992px) {
  header.page-head {
    background-image: url('../images/ivo-header.png');
  }
}

.page-head .wrapper {
    margin: 0 auto;
    top: 0;
    position: relative;
}
@media (min-width: 768px) {
  .page-head .wrapper {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .page-head .wrapper {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .page-head .wrapper {
    width: 1170px;
  }
  .blogdetail-text {
        padding-left: 30px;
  }
}
@media (min-width: 1280px) {
  .page-head .wrapper {
    width: 1280px;
  }
}

#logo {
    display: block;
    margin: 0 auto;
    width: 215px;
    padding: 130px 0 50px 0;
}

.categories {
    position: absolute;
    right: 120px;
    top: 34px;
}

.categories .button-group {
    width: 90px;
    position: absolute;
    top: 26px;
    right: -7px;
    text-align: right;
}

.categories h4, .categories ul, .categories li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.categories h4{
    font-family: 'Economica', sans-serif;
    margin-bottom: 6px;
    text-transform: uppercase;
    position: absolute;
    right: 0;
    cursor: pointer;
}

.categories a {
    color: #000;
}

.categories li, .contact a, button {
    font-family: 'Courier New', Courier, monospace;
    line-height: 24px;
    font-size: 14px;
    color: #333;
}

.contact {
    position: absolute;
    top: 36px;
    right: 70px;
}

.contact img {
    width: 20px;
    margin-top: -3px;
    display: block;
    margin: 0 auto 6px auto;
}

.about {
    position: absolute;
    top: 30px;
    right: 20px;
}

.about img {
    width: 20px;
    margin-top: -3px;
}


/* general styles */
body.noscroll {
    overflow: hidden;
}
.container { 
    width: 80%;
    margin: 0 auto;
/*    border: solid 1px red;*/
    position: relative;
    padding: 0;
}

article {
    display: block;
/*    border: solid 1px red;*/
    margin-bottom: 60px;
    padding-right: 15px !important;
    padding-left: 15px !important;
}

article img {
    max-width: 100%;
}

/*.stamp {
    border: solid 1px red;
    background-color: #9f3219;
    position: absolute;
    right: 0;
}*/

.article-text {
    padding: 0 15px 15px 15px;
}


.article-text p {
    margin-top: 0;
}

.left {
    float: left;
}

.right {
    float: right;
}

.text-center {
    text-align: center;

}

.text-center img.plus,
.more img.plus {
    margin: -3px 0 0 5px;
}

button {
    background: none;
    border: none;
    outline: none;
}

.overlap {
    margin-top: -15px;
    z-index: -1;
}

/* element 1 template */
.border {
    position: relative;
    float: left;
    background: #fff;
    padding: 10px;
    width: 100%;
}

.shadow img {
    float: left;
}

.element1 img.img-inside {
    margin-top: -20px;
}

.h1-element2 {
    color: #c8aa61;
    font-size: 26px;
}

/* element 3 template */
.element3 img {
    margin-top: 40px;
}

/* element 5 template GALLERY */
.element5 {
    margin-top: 20px;
}

.cycle-prev,
.pop-cycle-prev {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 100%;
    background: url('../images/slide-left.png') no-repeat center center;
    z-index: 999;
    cursor: pointer;
}

.cycle-next,
.pop-cycle-next {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 100%;
    background: url('../images/slide-right.png') no-repeat center center;
    z-index: 999;
    cursor: pointer;
}

/* element 6 template */
.element6 img.feature {
    margin-top: -15px;
    z-index: -1;
}

/* element 7 template */
.element7 img.feature {
    margin-top: -15px;
    z-index: -1;
}

.element9-a .quote p {
    float: right;
}

/* element 13, 14 template */
.element13, .element14 {
    margin-top: 20px;
}

.element13 p {
    margin-top: 20px;
}


/* footer */
footer {
    position: relative;
    height: 100px;
}

.goto-top {
    position: fixed;
    bottom: 40px;
    right: 50px;
    cursor: pointer;
    font-family: 'Economica', sans-serif;
    font-size: 18px;
    display: none;
}

.goto-top span {
    display: none;
}

.goto-top img {
    margin: -20px 5px 0 0;
}

/* Blog detail overlay */
#overlay-cross {
    z-index: 10000;
    position: fixed;
    right: 0;
    top: 0;
    padding: 50px;
    cursor: pointer;
}

#overlay {
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    position: fixed;
    left:0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9900;
}

#blog-detail {
    display: none;
    position: fixed;
    left:0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9997;
    overflow: scroll;
/*    pointer-events: none;*/
}
.blog-detail-article {
    top: 2%;
    z-index: 9999;
    padding: 50px !important;
    margin: 0 auto;
    float: none;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.blog-detail-article h1 {
    margin-top: 16px;
    margin-bottom: 10px;
}

.blog-detail-gallery {
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    z-index: 9999;
    float: none;
}
.blog-detail-gallery .cycle-slideshow {
    width: 100%
}
.blog-detail-gallery .cycle-slideshow img {
    max-width: 100%
}

.blog-detail-img {
    margin-bottom: 40px;
}

.blog-detail-gallery .border {
    float: none;
}

.blog-detail-gallery .shadow img {
    float: none;
    width: 100%;
}

/* Contact page */
.container-contact {
    max-width: 960px;
    margin: 0 auto;
}

.container-contact article {
    padding-left: 30px !important;
}

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

.contact-form form {
    margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  outline: none;
  border: none;
  margin-bottom: 5px;
  resize: none;
  padding: 8px;
  background-color: transparent;
}

.contact-form textarea {
    height: 200px;
}

.contact-form #form-submit {
    float: right;
    margin-right: 30px;
    padding-right: 40px;
    background-image: url('/images/arrow.png');
    background-size: 33px 12px;
    background-repeat: no-repeat;
    background-position: right center;
    font-weight: bold;
}

.contact-form .error {
    color: #c95454;
}

#form-name {
    background-image: url('../images/contact-name.png');
    background-repeat: no-repeat;
    background-position: left bottom;
}

#form-email {
    background-image: url('../images/contact-email.png');
    background-repeat: no-repeat;
    background-position: left bottom;
}

#form-field {
    background-image: url('../images/contact-field.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 10px;
}

/* about page  */


/* responsive styles */
@media only screen and (max-width: 1279px) {
    .container { 
        width: 1024px;
    }
}

@media only screen and (max-width: 1023px) {
    .container { 
        width: 768px;
    }
    #overlay-cross {
        padding: 20px;
    }
    .element13 p {
        margin-top: 0;
    }
}

@media only screen and (max-width: 767px) {
    .container { 
        width: 480px;
    }
    .button-group button {
        display: none;
    }
    .categories .button-group {
        width: 360px;
    }
    #doodles {
        opacity: 0.2;
    }
    
}

@media only screen and (max-width: 479px) {
    .container { 
        width: 100%
    }
    p {
        font-size: 14px;
        line-height: 24px;
        margin-top: 0;
        letter-spacing: -0.2;
    }
    .categories .button-group {
        width: 320px;
    }
    
    /* blog detail page */
    
    .blog-detail-img {
        margin-bottom: 20px;
    }
    .blog-detail-article {
        padding: 15px !important;
    }
    #overlay-cross {
        padding: 10px;
    }
    h1 {
        font-size: 32px;
    }
    q {
        font-size: 16px;
    }
    .more-gallery {
        margin-top: -10px !important;
    }
    .categories .button-group {
        right: -110px;
    }
    .button-group button {
        font-size: 10px;
    }
}


/* doodles */
#doodles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    z-index: -1;
    overflow-x: hidden;
    opacity: 0.7;
}
#doodles img {
    position: absolute;
}