/*!
 * Start Bootstrap - Stylish Portfolio Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    width: 100%;
    height: 100%;
    font-size: 1.0em;
}

/*body {
    font-family: "Source Sans Pro","Helvetica Neue",Helvetica,Arial,sans-serif;
}*/


.form-control {
    width: 80%;
    margin:auto
}

.ha-btn-lg {
	background-color: #c0c0c0;
    width: 80%;
    display: flex;
    justify-content: center;
    margin:auto
}


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

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

.text-vertical-bottom {
    display: table-cell;
    text-align: center;
    padding-bottom: 50px;
    vertical-align: bottom;
}

/* Custom Button Styles */

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


.btn-blue {
    border-radius: 0;
    color: #fff;
    background-color: rgba(0,95,144,0.8);
    background-color: rgba(0,122,184,0.6);
    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);
}

/* 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;
}

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

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

.sidebar-nav li a {
    padding-left:15px;
    display: block;
    text-decoration: none;
    color: #c0c0c0;
}

.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: 45px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav > .sidebar-brand a {
    padding-left:5px;
    color: #e0e0e0;
}

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

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

#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 */

.header {
    display: table;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /*background: url(../img/background.jpg) no-repeat center center scroll;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

/* Haykle logo img */

.header img {
    width: 400px;
	height: auto;
}

@media (max-width: 900px) {
.header img {
    height: auto;
    width: 380px;}
}

@media (max-width: 800px) {
.header img {
    height: auto;
    width: 360px;}
}

@media (max-width: 700px) {
.header img {
    height: auto;
    width: 340px;}
}

@media (max-width: 600px) {
.header img {
    height: auto;
    width: 320px;}
}

@media (max-width: 500px) {
.header img {
    height: auto;
    width: 300px;}
    
.text-vertical-center h3 {
    font-size: 22px;
}
}

@media (max-width: 400px) {
.header img {
    height: auto;
    width: 280px;}
    
.text-vertical-center h3 {
    font-size: 21px;
}
}


/* About */

.about {
    padding: 50px 0;
}

/* Services */

.services {
    padding: 50px 0;
}

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

/* Callout */

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

/* Portfolio */

.portfolio {
    padding: 20px 0;
}

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

.img-portfolio {
    margin: 0 auto;
}

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

/* Call to Action */

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

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

/* Map */

.map {
    height: 500px;
}

@media(max-width:768px) {
    .map {
        height: 75%;
    }
}

/* Footer */

footer {
    padding: 100px 0;
}


/*  Emphasize (search results) */
em {
    font-style: normal;
    font-weight: bold;
}

/*  Gray Background (search results tags) */
.tags {
	padding: 2px;
	font-size: 0.7em;
	padding-left:5px;
	padding-right:5px;
	padding-top:2px;
	padding-bottom:2px;
    /*margin-left:2px; */
    /*background-color: rgb(210,210,210);*/
}

.tags a{ 
   color: black;
}

/*  Smaller date font*/
.date {
    font-size: 0.9em;
    margin-left:0px;
    margin-right:2px;
}

/* Centered search box */
.search_box {
    max-width: 500px; 
    margin: 0 auto; /* this center the div in the container div */
}

.search-out {
    /*word-wrap:break-word;*/
}



/* Cache/Delete ..  */
.more {
	font-color: #A0A0A0;
    font-size: 0.9em;
}

/* Disable auto-zoom on Safari fo iOS */
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

th, td { 
    padding: 5px;
}

.centerbox {
    max-width: 400px;
    padding: 0px 0px;
    top: 0;
    margin: 0 auto; 
}

.centerbox-error {
    background-color: #ff5050;
    text-align: center;
    color: #ffffff;
    max-width: 400px;
    padding: 10px 10px;
    top: 0;
    margin: 0 auto; 
}

.centerbox-error button {
	color: #606060;
	}


.centerbox-success {
    background-color: #54C571;
    text-align: center;
    color: #ffffff;
    max-width: 400px;
    padding: 10px 10px;
    top: 0;
    margin: 0 auto; 
}

.lead {
	font-weight:500;
    font-size: 20px;
}

.lead b {
    font-weight:700;
}




.centerbox-error-notfilled {
    background-color: #ffffff;
    text-align: center;
    font-size:1.5em;
    color: #ff3300;
    max-width: 400px;
    padding: 10px 10px;
    top: 0;
    margin: 0 auto; 
}

.centerbox-success-notfilled {
    background-color: #ffffff;
    text-align: center;
    font-size:1.5em;
    color: #009933;
    max-width: 400px;
    padding: 10px 10px;
    top: 0;
    margin: 0 auto; 
}


/*---------------------*/
/* Centerbox - SUCCESS */
/*---------------------*/

.centerbox-success-outer {
    background-color: #54C071;
    text-align: center;
    /*font-size:1.2em; */
    max-width: 400px;
    padding: 0;
    top: 0;
    margin: 0 auto;
    font-color: #f0f0f0; 
    
}

.centerbox-success-outer a {
    color: #f0f0f0;  
}

.centerbox-success-outer a:hover {
    color: #ffffff;  
}

.centerbox-success-inner {
    display: block;
    padding: 10px;    
}


/*-------------------*/
/* Centerbox - ERROR */
/*-------------------*/

.centerbox-error-outer {
    background-color: #ff5050;
    text-align: center;
    /* font-size:1.2em; */
    max-width: 400px;
    padding: 0;
    top: 0;
    margin: 0 auto;
    font-color: #f0f0f0; 
    
}

.centerbox-error-outer a {
    color: #f0f0f0;  
}

.centerbox-error-outer a:hover {
    color: #ffffff;  
}

.centerbox-error-inner {
    display: block;
    padding: 10px;    
}



/*-------------------*/
/*   Dashboard       */
/*-------------------*/
.dashboard table {
	/*border: 1px #c0c0c0 solid;*/
	background: #F8F8F8;
	padding: 10px;
} 

.dashboard td {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;

} 






