/* 
Custom CSS for...
'Modern Business' HTML Theme by Start Bootstrap

All Start Bootstrap themes are licensed under Apache 2.0. 
For more info and more free Bootstrap 3 HTML themes, visit http://startbootstrap.com!
*/

/* Global Styles */

html, body {
  height: 100%;
}

body {
  padding-top: 50px;
 /* body padding for fixed top nav */
}

.img-home-portfolio,
.img-customer,
.portfolio-item {
  max-width: 100%;
  margin-bottom: 10px;
}

.tab-pane {
  margin-top: 15px;
}

/* Page Sections */
.section,
.section-colored {
  padding: 10px 0;
}

.section-colored {
  background-color: #e1e1e1;
 /* change this to change the background color of a colored section */
}

.sidebar {
  margin-top: 40px;
}

.sidebar ul {
  border-radius: 5px;
  padding: 5px;
  border: 1px solid #cccccc;
}

/* Half Page Height Carousel Customization */
.carousel {
  height: 50%;
}

.item,
.active,
.carousel-inner {
  height: 100%;
}

.fill {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

/* Social Icons Styles */
.list-social-icons {
  margin-top: 15px;
  margin-left: 45px;
  margin-right: 45px;
  margin-bottom: 15px;
}

.tooltip-social a {
  text-decoration: none;
  color: inherit;
}

.facebook-link a:hover {
  color: #000;
}

.linkedin-link a:hover {
  color: #000;
}

.twitter-link a:hover {
  color: #000;
}

.google-plus-link a:hover {
  color: #000;
}

/* Service Page Styles */
.service-icon {
  font-size: 50px;
}

/* 404 Page Styles */
.error-404 {
  font-size: 8em;
}

/* Pricing Page Styles */
.price {
  font-size: 4em;
}

.price-cents {
  vertical-align: super;
  font-size: 50%;
}

.price-month {
  font-size: 35%;
  font-style: italic;
}

/* Footer Styles */
footer {
  margin: 10px 0;
}

/* Responsive Styles */
@media (max-width: 767px) {

  .carousel {
    height: 70%;
 /* increases the carousel height so it looks good on phones */
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------ */

svg {
	width: 100%;
    height: 100%;
}

.logo {
	  width: 100%;
      height: 100%;
      padding: 45vh 0% 0% 0%;
 	  animation: logo-zoom-out 1s ease-out 4s normal forwards;
}
@media (max-width: 767px) {
        @keyframes logo-zoom-out {
          0% {
	    	 width: 100%;
             height: 100%;
         	 padding: 45vh 0% 0% 0%;
          }
          100% {
 	    	   width: 259px;
               height: 56px;
  			   padding: 15px 15px 15px 15px;
          }
        }
}
@media (min-width: 768px) {
        @keyframes logo-zoom-out {
          0% {
	    	 width: 100%;
             height: 100%;
         	 padding: 45vh 0% 0% 0%;
          }
          100% {
 	    	   width: 244px;
               height: 56px;
  			   padding: 15px 15px 15px 0px;
          }
        }
}

.logo path {
          stroke-width: 1px;
          fill: transparent;
          stroke-dasharray: 50000;
          stroke-dashoffset: -50000;
}
        
.logo .pin {
          animation: 0s 0s forwards, 0s 0s forwards fill;
}
        
.logo .arh {
          animation: 0s 3s forwards, 0s 3s forwards fill;
}
        
@keyframes fill {
          0% {
            fill: transparent;
          }
          100% {
            fill: #000;
          }
}
        
.div-two {
	   position: absolute;
	   top: 40vh;
	   left: 30vw;
	   right: 0%;
	   border-left: solid 870pt white;
	   animation: curtain 3s linear 0s 1 forwards;
}

@keyframes curtain {
	  0% {
	    left: 30%;
	  }
	  50% {
	    left: 75%;
	  }
	  100% {
	    left: 100%;
	  }
}

@media (max-width: 411px) {
	.img-news {
	  margin-bottom: 10px;
	  max-width: 330px;
	}
	textarea.input-name, textarea.input-news {
	    width: 340px;
	}
} 

@media (min-width: 412px) and (max-width: 527px) {
	.img-news {
	  margin-bottom: 10px;
	  max-width: 340px;
	}
	textarea.input-name, textarea.input-news {
	    width: 350px;
	}
} 
@media (min-width: 528px) and (max-width: 767px) {
	.img-news {
	  margin-bottom: 10px;
	  max-width: 450px;
	}
	textarea.input-name, textarea.input-news {
	    width: 515px;
	}
} 
@media (min-width: 768px) and (max-width: 991px) {
	.img-news {
	  margin-bottom: 10px;
	  max-width: 680px;
	}
	textarea.input-name, textarea.input-news {
	    width: 740px;
	}
}
@media (min-width: 992px)  and (max-width: 1199px) {
	.img-news {
	  margin-bottom: 10px;
	  max-width: 900px;
	}
	textarea.input-name, textarea.input-news {
	    width: 960px;
	}
}
@media (min-width: 1200px) {
 	.img-news {
	  margin-bottom: 10px;
	  max-width: 1100px;
	}
	textarea.input-name, textarea.input-news {
	    width: 1160px;
	}
}
textarea.input-data {
  height: 30px;
  padding: 5px 5px 5px 5px;
  font-size: 12px;
  line-height: 1.5;
  background: #FFC;
  border-radius: 3px;
}
textarea.input-picture {
  height: 30px;
  padding: 5px 5px 5px 5px;
  font-size: 12px;
  line-height: 1.5;
  background: #FFC;
  border-radius: 3px;
}
textarea.input-name {
  height: 50px;
  padding: 5px 5px 5px 5px;
  font-size: 14px;
  line-height: 1.5;
  background: #FFC;
  border-radius: 3px;
}
textarea.input-news {
  height: 120px;
  padding: 5px 5px 5px 5px;
  font-size: 14px;
  line-height: 1.5;
  background: #FFC;
  border-radius: 3px;
}
tr.image-row {
  display: none;
}
.select-year {
  height: 30px;
  padding: 5px 5px 5px 5px;
  font-size: 14px;
  line-height: 1.5;
  background: #FFC;
  border-radius: 3px;
}
.center-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
/* CSS стилове за ландшафтна ориентация (височина = видимото поле) */
@media (orientation: landscape) {
  #myCarousel .carousel-inner .item img {
    height: 75vh !important;
    max-width: none !important;
    width: auto !important;
  }
}

/* CSS стилове за портретна ориентация (цялата ширина) */
@media (orientation: portrait) {
  #myCarousel .carousel-inner .item img {
    width: 75% !important;
    height: auto !important;
  }
}
.panel-16by9 {
  position: relative;
  top: 5px;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.panel-16by9-team {
  position: relative;
  top: 0px;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.image-container {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  max-width: 100%;
  max-height: 100%;
}

.no-padding {
  padding: 0px !important;
}

.col-team {
  padding-left: 20px !important;
  padding-right: 10px !important;
}

.padding-37 {
  padding-left: 37px !important;
  padding-right: 37px !important;
}

.square-panel {
  padding-bottom: 90%;
  position: relative;
}

.square-panel .panel-body {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.unavailable { 	/* за снимките в грида с обектите */
  filter: grayscale(100%); /*Черно-бяла снимка*/
  opacity: 0.4; /* Настройка за запълване (0.1 = 10% - прозрачна, 1.0 = 100% - непрозрачна) */
}

.no-background {
  background-color: #fcfcfc !important;
}

.btn.my-btn-default {
  background-color: #fcfcfc;
  border-color: #ddd !important;
}

.btn.my-btn-primary {
  background-color: #f5f5f5;
  border-color: #ddd !important;
}

.btn.my-btn-default:hover,
.btn.my-btn-default:focus,
.btn.my-btn-default:active,
.btn.my-btn-primary:hover,
.btn.my-btn-primary:focus,
.btn.my-btn-primary:active {
  background-color: #e5e5e5;
  border-color: #ddd !important;
  outline: none;
}

.fix_height {
  height: calc(3 * 1.5em); /* 1.5em е предполагаемата височина на един ред от текста */
  overflow: hidden;
}

