/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */




/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}

.nuvola-side-bar-vendors .slide-image {
	background: #0C739A	!important;
}
.nuvola-side-bar-vendors .slide-image:hover {
	background: #3c3c3b	!important;
}

.navigation.pagination {
	padding-left: 0;
	padding-top: 60px;
}
.navigation.pagination > h2 {
	display: none;
}
.navigation.pagination .nav-links > .prev, 
.navigation.pagination .nav-links > .next {
	width: 58px !important;
}
.navigation.pagination .nav-links > .dots {
	padding-top: 15px !important;
}

/* ======================================================================================================================================================
Contact Form
====================================================================================================================================================== */

fieldset{
border:none;
}

.wpcf7{
clear:both;
}

.wpcf7 fieldset p br{display:none;}
.wpcf7 label {display:block; visibility: visible; position: relative; } /*dont delete. ie8 needs this separate*/
.wpcf7 label, .modified_width:before{display:block; visibility: visible; position: relative; margin-bottom: 7px; font-weight: 600;}

#ajaxresponse.hidden{
visibility: visible;
position: static;
display:none;
}


#top .wpcf7 .text_input, #top .wpcf7 .select, #top .wpcf7 .text_area{
width:100%;
margin-bottom:0;
display:inline;
min-width:50px;
padding:13px;
border-radius: 2px;
}

#top select, #top .wpcf7 .select, #top .entry-content-wrapper select{
 -webkit-appearance: none;
border-radius:0px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4Onht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CDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);
 background-position: center right;
 background-repeat: no-repeat;
 border-radius: 2px;
}

#top select[multiple], #top .wpcf7 .select[multiple]{background-image:none;} 
#top .wpcf7 .select[multiple] option{padding:5px;}


/*remove bg on firefox*/
.avia-mozilla #top select, .avia-mozilla #top .wpcf7 .select, .avia-mozilla #top .entry-content-wrapper select{ background-image:none; }

#top select[multiple] { background-image:none; }

#top .wpcf7 input[type="checkbox"] {
float: left;
margin-right: 8px;
top: 2px;
position: relative;
}

.value_verifier_label {
position: absolute;
bottom: 11px;
left: 10px;
font-size: 13px;
line-height: 21px;
}

#top .wpcf7 .captcha{padding-left: 65px;}

.wpcf7 p{ position: relative; clear:both; float:left; width:100%; margin: 11px 0;}
.wpcf7.av-form-labels-hidden p{margin-top: 8px; margin-bottom: 8px;}
.wpcf7 p.hidden{position: absolute; width:0px; left:0; top:0; }
.wpcf7 .form_element_half{width:49.5%; float:left; margin-left:1%; clear:none;}
.wpcf7 .form_element_third{width:32.6%; float:left; margin-left:1%; clear:none;}
.wpcf7 .form_element_two_third{width:66.4%; float:left; margin-left:1%; clear:none;}
.wpcf7 .form_element_fourth{width:24.2%; float:left; margin-left:1%; clear:none;}
.wpcf7 .form_element_three_fourth{width:74.8%; float:left; margin-left:1%; clear:none;}

.wpcf7 .first_form{clear:both;margin-left:0;}

.wpcf7 .button {
margin: 0;
padding: 16px 20px;
border-radius: 2px;
border-bottom-width: 1px;
border-bottom-style: solid;
font-weight: normal;
font-size: 0.92em;
min-width: 142px;
outline: none;
}


.modified_width .button{
width:100%;
padding: 13px 10px 14px;
min-width: 0;
}

.av-form-labels-visible .modified_width:before{
display:block;
content: "Submit Form";
visibility: hidden;
}

.av-form-labels-visible .av-last-visible-form-element.first_form.modified_width:before{
display:none;
}


#footer .wpcf7 textarea{height:90px; }


.wpcf7 p input, .wpcf7 p textarea, .wpcf7 p select, .wpcf7 p .input_checkbox_label{
-webkit-transition: all 0.3s ease-in-out;
transition: 		all 0.3s ease-in-out;
}

#top .button.av-sending-button{
-webkit-transition: none;
transition: 		none;
background-size: 32px 32px;
-webkit-animation: avia-bg-move 1.2s linear infinite; /* Safari 4+ */
animation:         avia-bg-move 1.2s linear infinite; /* IE 10+ */
}

.av-centered-form, #top .av-centered-form input {
  text-align: center;
}

#top .av-centered-form ::-webkit-input-placeholder { text-align: center; }
#top .av-centered-form ::-moz-placeholder {text-align: center; }
#top .av-centered-form :-ms-input-placeholder { text-align: center; }


.wpcf7 .av-hidden-submit {display: none;}

.avia-form-success{
	text-align: center;
	border-style:solid;
	border-width:1px;
	padding: 20px 15px;
	line-height: 1.4em;
	border-radius: 2px;
}

#top .av-centered-form input[type="checkbox"]{float:none;}
#top .av-centered-form .input_checkbox_label{display: inline-block;}

input.wpcf7-not-valid, textarea.wpcf7-not-valid {
	border: 1px solid red !important;
}

span.wpcf7-not-valid-tip {
	display: none !important;
}

div.wpcf7-response-output {
	border: 2px solid #f00 !important;
	background: #fff !important;
	font-size: 15px !important;
	margin: 0 !important;
	padding: 8px !important;
}

div.wpcf7-response-output.wpcf7-mail-sent-ok {
	border: 2px solid #B1CC29 !important
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing {
	border: 2px solid #f7e700 !important;
}

body.page-template-page-case-studies, body.single-case_studies {
    background: #f2f2f2;
}

#nuvola-case-studies .case-study-grid {
    margin: 0 -15px;
}
#nuvola-case-studies .case-study-grid:after {
    content: '';
    display: block;
    clear: both;
}
#nuvola-case-studies .case-study-grid .case-study-grid__item {
    float: left;
    margin: 0 15px 30px;
    background: #fff;
    position: relative;
    padding-top: 25%;
    width: calc(33.3% - 30px);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}
#nuvola-case-studies .case-study-grid .case-study-grid__item > img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 275px;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
}
#nuvola-case-studies .case-study-grid .case-study-grid__item .image-overlay {
    display: none !important;
}
#nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover {
    position: absolute;
    top: 0;
    left: -100%;
    opacity: 0;
    background: #1eaeeb;
    width: 100%;
    height: 100%;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}
#nuvola-case-studies .case-study-grid .case-study-grid__item:hover > .case-study-grid__item__hover {
    left: 0;
    opacity: 1;
}
#nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .desc {
    display: block;
    font-weight: 300;
    padding: 30px;
    font-size: 25px;
    line-height: 1.1;
}
#nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .btn {
    display: block;
    position: absolute;
    bottom: 40px;
    left: 30px;
    font-size: 25px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}

@media only screen and (max-width: 1200px) and (min-width: 880px) {
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .desc {
        font-size: 20px;
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .btn {
        font-size: 22px;
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > img {
        max-width: 80%;
    }
}

@media only screen and (max-width: 1050px) and (min-width: 880px) {
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .desc {
        font-size: 19px;
        padding: 20px;
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .btn {
        font-size: 19px;
        left: 20px;
        bottom: 25px;
    }
}

@media only screen and (max-width: 880px) {
    #nuvola-case-studies .case-study-grid .case-study-grid__item {
        float: left;
        padding-top: 40%;
        width: calc(50% - 30px);
    }
}

@media only screen and (max-width: 800px) {
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .desc {
        font-size: 19px;
        padding: 20px;
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .btn {
        font-size: 19px;
        left: 20px;
        bottom: 25px;
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > img {
        max-width: 80%;
    }
}

@media only screen and (max-width: 600px) {
    #nuvola-case-studies .case-study-grid .case-study-grid__item {
        float: left;
        padding-top: 40%;
        width: calc(100% - 30px);
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > img {
        max-width: none;
        max-height: 80%;
    }
}

@media only screen and (max-width: 500px) {
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .desc {
        font-size: 15px;
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .btn {
        font-size: 15px;
        left: 20px;
        bottom: 20px;
    }
}

@media only screen and (max-width: 400px) {
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .desc {
        font-size: 14px;
        padding: 15px;
    }
    
    #nuvola-case-studies .case-study-grid .case-study-grid__item > .case-study-grid__item__hover .btn {
        font-size: 13px;
        left: 15px;
        bottom: 15px;
    }
}

body.single-case_studies .entry-content-wrapper, body.single-case_studies .template-blog .post-entry {
    background: #fff;
    padding: 0 !important;
}

#case-study-content {
    padding: 30px;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 19px;
    font-weight: 300;
    color: #474747;
    line-height: 1.3;
}
#case-study-content .case-study-intro {
    font-size: 28px;
    padding: 0 0 15px;
}
#case-study-content * {    
    font-weight: 300;
    font-family: 'Source Sans Pro', sans-serif;
    color: #474747;
    font-size: 19px;
    line-height: 1.3;
}
#case-study-content a {
    color: #1daeeb;
}
#case-study-content h2,
#case-study-content h3,
#case-study-content h4,
#case-study-content h5,
#case-study-content h6 {
    font-weight: normal;
    font-size: 22px;
    color: #474747;
}

#case-study-sidebar .sidebar--content-box {
    color: #fff;
    font-weight: 300;
}
#case-study-sidebar .sidebar--content-box h3 {
    font-weight: 300;
    margin: 0 0 20px;
}
#case-study-sidebar .sidebar--content-box ul,
#case-study-sidebar .sidebar--content-box li, 
#case-study-sidebar .sidebar--content-box p {
    font-weight: 300;
    font-size: 18px;
}
#case-study-sidebar .sidebar--content-box ul li {
    position: relative;
    padding: 2px 0 2px 18px;
}
#case-study-sidebar .sidebar--content-box ul li:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -3px;
    transform: rotateZ(45deg);
    -webkit-transform: rotateZ(45deg);
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    border-radius: 2px;
    width: 7px;
    height: 7px;
}
#case-study-sidebar .sidebar--content-box a {
    text-decoration: underline;
}

#case-study-sidebar .sidebar--quote {
    color: #fff;
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
    padding: 45px 20px !important;
}
#case-study-sidebar .sidebar--quote .quote {
    font-style: italic;
    font-size: 21px;
}
#case-study-sidebar .sidebar--quote .author {
    font-weight: 600;
    font-size: 14px;
    padding: 25px 0 0;
}

#case-study-sidebar .sidebar--video {
    display: block;
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
}
#case-study-sidebar .sidebar--video:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    background: rgba(0,0,0,0.2);
    visibility: visible;
}
#case-study-sidebar .sidebar--video:after {
    content: '';
    width: 74px;
    height: 74px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -37px auto auto -37px;
    background: url(../img/case-study-video-icon.png) center no-repeat;
    visibility: visible;
    z-index: 10;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
#case-study-sidebar .sidebar--video:hover:after {
    transform: scale(0.9);
    -webkit-transform: scale(0.9);
}

#case-study-sidebar .sidebar--contact-btn {
    color: #fff;
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
    background: #3c3c3b;
    padding: 20px !important;
}
#case-study-sidebar .sidebar--contact-btn .heading {
    color: #fff;
    font-size: 18px;
    padding: 0 0 22px;
}
#case-study-sidebar .sidebar--contact-btn .contact-button-btn {
    display: block;
    background: #706f6f;
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-weight: normal;
    font-size: 18px;
    color: #fff;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
#case-study-sidebar .sidebar--contact-btn .contact-button-btn:hover {
    text-decoration: none;
    background: #fff;
    color: #000;
}

#case-study-sidebar .sidebar--case-studies {
    padding: 0 !important;
    background: none;
}
#case-study-sidebar .sidebar--case-studies .heading {
    font-size: 29px;
    color: #393939;
    padding: 0 0 25px;
    font-weight: 300;
}
#case-study-sidebar .sidebar--case-studies .case-study-item {
    display: block;
    background: #fff;
    margin: 0 0 30px;
}
#case-study-sidebar .sidebar--case-studies .case-study-item .img {
    display: block;
    height: 100px;
    background-size: cover;
    background-position: center;
}
#case-study-sidebar .sidebar--case-studies .case-study-item .heading {
    display: block;
    font-weight: 500;
    color: #474747;
    padding: 20px 25px;
    font-size: 26px;
    line-height: 1.2;
    position: relative;
    left: 0;
    transition: left 0.2s;
    -webkit-transition: left 0.2s;
}
#case-study-sidebar .sidebar--case-studies .case-study-item .heading i {
    display: inline-block;
    margin-top: 2px;
}
#case-study-sidebar .sidebar--case-studies .case-study-item:hover .heading {
    left: 12px;
}

#case-study-sidebar .sidebar--image {
    padding: 0 !important;
    background: none;
}

#video-popup-window {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    display: none;
}
#video-popup-window .video-popup-window-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 15;
    background: #fff;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    max-width: 760px;
    width: 100%;
}
#video-popup-window .video-popup-window-inner img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
}
#video-popup-window .video-popup-window-inner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#video-popup-window .video-popup-window-inner .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 63px;
    height: 67px;
    background: #f2f2f2;
    font-size: 30px;
    color: #bcbcbc;
    text-align: center;
    border-radius: 0 0 0 10px;
    font-weight: bold;
    text-decoration: none;
    line-height: 62px;
}

#contact-popup-window {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
    width: 100%;
    height: 100%;
    display: none;
}
#contact-popup-window .contact-popup-window-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 15;
    background: #fff;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    max-width: 470px;
    width: 100%;
    padding: 40px 0 20px;
}
#contact-popup-window .contact-popup-window-inner .close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    width: 63px;
    height: 67px;
    background: #f2f2f2;
    font-size: 30px;
    color: #bcbcbc;
    text-align: center;
    border-radius: 0 0 0 10px;
    font-weight: bold;
    text-decoration: none;
    line-height: 62px;
}
#contact-popup-window .wpcf7-form {
    width: 328px;
    margin: 0 auto;
}
#contact-popup-window .form_element label {
    font-weight: normal;
}
#contact-popup-window .form_element textarea {
    height: 100px;
}
#contact-popup-window input.button {
    height: 50px;
    background: #91c437;
    line-height: 50px;
    text-align: center;
    color: #fff;
    font-size: 19px;
    font-weight: normal;
    cursor: pointer;
    border: none;
    padding: 0;
    width: 100%;
}

@media only screen and (max-width: 800px) {
    #video-popup-window .video-popup-window-inner {
        max-width: 500px;
    }
}

@media only screen and (max-width: 550px) {
    #video-popup-window .video-popup-window-inner {
        max-width: 300px;
    }
    
    #video-popup-window .video-popup-window-inner .close, 
    #contact-popup-window .contact-popup-window-inner .close {
        width: 45px;
        height: 45px;
        line-height: 43px;
        font-size: 20px;
    }
    
    #contact-popup-window .contact-popup-window-inner {
        padding: 15px 0 10px;
    }
    
    #contact-popup-window .wpcf7-form {
        width: 260px;
    }
    
    #contact-popup-window .contact-popup-window-inner {
        max-width: 280px;
    }
}

@media only screen and (max-width: 767px) {
    body.single-case_studies .sidebar {
        display: block !important;
    }
    body.single-case_studies .sidebar #case-study-sidebar {
        margin-left: 0;
        padding-top: 20px;
    }
}

@media only screen and (min-height: 615px) {
    #contact-popup-window .form_element {
        float: none;
        width: 100%;
        margin: 0;
    }
}

@media only screen and (max-height: 616px) {
    #contact-popup-window .form_element {
        margin-top: 0;
        margin-bottom: 0;
    }
}

#case-study-banner {
	height: 180px;
	background-size: cover;
	background-position: center;
}

@media only screen and (max-width: 600px) {
    #case-study-banner {
		height: 125px;
	}
}

.responsive #top .logo {
	padding: 5px 0 !important;
}