/*!
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */


html {
overflow-x: hidden;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {

font-family: 'Dosis', sans-serif;


}





.header h1 {
color: #0599de;

}


h2 {
font-weight: 700;
}


.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
   
}


.bg-texture {
color: #fff;
    background: url(../img/blue-bg.png) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.bg-texture-green {
color: #fff;
    background: url(../img/green-bg.png) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}






/* Custom Button Styles */

.btn-dark {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,0,0,0.4);
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.7);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255,255,255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #333;
    background-color: rgba(255,255,255,0.8);
}


/* Colours */
.bluetxt {
color: #009ee3;
}

.bg-primary {
background-color: #009ee3;
}



.bg-info {
background-color: #009640;
}


/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    margin-right: -250px;
    overflow-y: auto;
    background: #222;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
display: none;

}


.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 1;
    position: fixed;
    top: 0;
    right: 0;
    display: none;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

/* Header */


.layer {
    background-color: rgba(255, 255, 255, 0.4);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
}

.hovertxt {

position: relative;
}


.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    background: url(../img/casa-sicurezza-bg.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    padding-top: auto;

}

/* About */

.about {
    padding: 50px 0;
}


/* Paddings */
.padding-bottom-md {
padding-bottom: 50px !important;
}


.padding-top-md {
padding-top: 50px !important;
}


.content-box {
    text-align: left;
    margin-bottom: 50px;
}

.feature-icon {
    display: inline-block;
    position: relative;
    margin-right: 25px;
    width: 90px;
    height: 90px;
    vertical-align: top;
    text-align: center;
}

.feature-content {
    display: inline-block;
    margin-left: 0;
    width: 78%;
}

.img-margin-right {
    margin-right: -330px;
    max-width: 150%;
/*    margin-top: -50px;*/
}


/* Services */

.services, .splitfocus {
    padding: 50px 0;
}

.splitfocus p {
font-size: 20px;
line-height: 1.8em;
}

.service-item {
    margin-bottom: 30px;
}

.service-item p {
font-size: 16px;
}

/* Callout */

.callout {
    display: table;
    width: 100%;
    height: 400px;
    color: #fff;
    background: url(../img/sfondo-ladri.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.callout ul {

font-size: 18px;
}

/* Portfolio */

.portfolio {
    padding: 50px 0;
}

.portfolio-item {
    margin-bottom: 30px;
}

.img-portfolio {
    margin: 0 auto;
}

.img-portfolio:hover {
    opacity: 0.8;
}

.portfolio p, .portfolio ul {
text-align: left; 
font-size: 18px;
}


/* Call to Action */

.call-to-action {
    padding: 50px 0;
    color: #fff;
}



.call-to-action h3 span {
font-weight: 700;
}


.call-to-action .btn {
    margin: 10px;
}

/* Map */

.map {
    height: 500px;
}


/* Footer */

footer {
    padding: 100px 0;
}


@media(max-width:768px) {

.header {
    display: inherit;

padding-top: 100px;
}

  .map {
        height: 75%;
    }


   .text-vertical-center h1 {

    font-size: 2.0em;
  
   
}
    }