/*

My Custom CSS
=============

Author:  Bo Lovenhjelm
Updated: November 2014
Notes:	 Hand coded for IT Gymnasiet.se

*/

/*-----------dropdown animation------------*/

/*.dropdown .dropdown-menu{
    display: block;
    opacity: 0;

    -moz-transition:    all 1000ms ease;
    -webkit-transition: all 1000ms ease;
    -o-transition:      all 1000ms ease;
    -ms-transition:     all 1000ms ease;
    transition:         all 1000ms ease;
}
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}*/

.dropdown .dropdown-menu {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;

    max-height: 0;
    display: block;
    overflow: hidden;
    opacity: 0;
}

.dropdown:hover .dropdown-menu {
    max-height: 300px;
    opacity: 1;
}

/* --------------------------------------
   Layout
   -------------------------------------- */


#featuresHeading {
  padding: 40px 0;
  text-align: left;
}

.features {
	text-align: center;
}

.features img {
	margin: 20px 0;
}

#inputMessage {
	margin-bottom: 15px;
}

footer {
	background: #333;
	color: #eee;
	font-size: 11px;
	padding: 20px;
}



/* --------------------------------------
   Typography
   -------------------------------------- */

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
	padding-top: 80px;
}

.well .page-header {
	margin-top: 0;
}

.well .page-header h1 {
	margin-top: 0;
}

ul.unstyled {
	list-style: none;
	padding: 0;
}

h1.price {

	font-size: 5em;
	font-weight: 700;
	margin-bottom: 40px;
	margin-top: 25px;
	color: red;
	text-shadow: 2px 2px 1px rgba(150, 150, 150, 0.7);
}
.anchor {
  display: block;
  height: 53px; /*same height as header*/
  margin-top: -53px; /*same height as header*/
  visibility: hidden;
}


/* --------------------------------------
   Navbar
   -------------------------------------- */

#searchInput {
	width: 200px;
}

.navbar-brand {
	padding: 14px 15px;
}

.navbar-shadow {
	-webkit-box-shadow: 0px 0px 9px 3px rgba(50, 50, 50, 0.35);
	-moz-box-shadow:    0px 0px 9px 3px rgba(50, 50, 50, 0.35);
	box-shadow:         0px 0px 9px 3px rgba(50, 50, 50, 0.35);
	 /* optional navbar drop shadow - create shadow at: http://css3gen.com/box-shadow/ */
	}
}
/*
.dropdown .dropdown-menu{
    display: block; 
  opacity:0;
-webkit-transition: all 500ms ease-in;
-moz-transition: all 500ms ease-in;
-ms-transition: all 500ms ease-in;
-o-transition: all 500ms ease-in;
transition: all 500ms ease-in;
}
.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
}*/

  /* navbar */
.navbar-default {
    background-color: #FF0000;
    border-color: #E7E7E7;
}
/* title */
.navbar-default .navbar-brand {
    color: #777;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
    color: #5E5E5E;
}
/* link */
.navbar-default .navbar-nav > li > a {
    color: #777;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #333;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
    color: #555;
    background-color: #E7E7E7;
}
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
    color: #555;
    background-color: #D5D5D5;
}
/* caret */
.navbar-default .navbar-nav > .dropdown > a .caret {
    border-top-color: #777;
    border-bottom-color: #777;
}
.navbar-default .navbar-nav > .dropdown > a:hover .caret,
.navbar-default .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #333;
    border-bottom-color: #333;
}
.navbar-default .navbar-nav > .open > a .caret, 
.navbar-default .navbar-nav > .open > a:hover .caret, 
.navbar-default .navbar-nav > .open > a:focus .caret {
    border-top-color: #555;
    border-bottom-color: #555;
}
/* mobile version */
.navbar-default .navbar-toggle {
    border-color: #DDD;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #DDD;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #888;
}
@media (max-width: 767px) {
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #777;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
    }
}

@media (max-width: 992px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
}

   
/* --------------------------------------
   Carousel
   -------------------------------------- */

#myCarousel {
	margin-top: 0px;
}

.carousel-caption {
	font-size: 24px;
}

.carousel-caption h4 {
	font-size: 32px;
}

#myCarousel .item { height: 400px; }

#slide1 {
	background: url('../images/menu2.jpg') top center no-repeat;
	background-size: cover;
	/*background: url('../images/carousel_medium_01.jpg') top center no-repeat;*/
}

#slide2 {
	background: url('../video/Coverr-flowers.jpg') top center no-repeat;
	background-size: cover;
	/*background: url('../images/carousel_medium_02.jpg') top center no-repeat;*/

}

#slide3 {
	background: url('../images/menu4.jpg') top center no-repeat;
	background-size: cover;
	/*background: url('../images/carousel_medium_03.jpg') top center no-repeat;*/

}


.carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next, .carousel-control .icon-prev {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    font-size: 50px;
}

/* --------------------------------------
   Flip Container
   -------------------------------------- */

.flip-container {
	-webkit-perspective: 1000;
	-moz-perspective: 1000;
	-o-perspective: 1000;
	perspective: 1000;

	/*border: 1px solid #ccc;*/
}

	.flip-container:hover .flipper,  
	.flip-container.hover .flipper {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.flip-container, .front, .back {
	width: 100%;
	height: 427px;
	text-align: center;
	margin-bottom: 30px;
}

.flipper {
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;

	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
  
  	-o-transition: 0.6s;
	-o-transform-style: preserve-3d;

	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

.front, .back {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
  	-o-backface-visibility: hidden;
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

.front {
	background: url(http://moto.zombdrive.com/images/bmw-r1200cr-1200-c-avantgarde-9.jpg) 0 0 no-repeat;
	background-size: cover;
	background-position: center;
	z-index: 2;
}

.back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
  	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);

	background: #f8f8f8;
}

.front .name {
	font-size: 2em;
	display: inline-block;
	background: rgba(33, 33, 33, 0.9);
	color: #f8f8f8;
	font-family: Courier;
	padding: 5px 10px;
	border-radius: 0px;
	bottom: 60px;
	left: 25%;
	position: absolute;
	text-shadow: 0.1em 0.1em 0.05em #333;

	-webkit-transform: rotate(-20deg);
	-moz-transform: rotate(-20deg);
  	-o-transform: rotate(-20deg);
	transform: rotate(-20deg);
}

.back-logo {
	position: absolute;
	top: 40px;
	width: 100%;
	height: 120px;
	background: url(http://vignette2.wikia.nocookie.net/autodb/images/2/25/BMW_logo.png/revision/latest/scale-to-width-down/120?cb=20110115183002) 0 0 no-repeat;
	background-position:center;
}

.back-title {
	font-weight: bold;
	color: #00304a;
	position: absolute;
	top: 170px;
	left: 0;
	right: 0;
	text-align: center;
	text-shadow: 0.1em 0.1em 0.05em #acd7e5;
	font-family: Courier;
	font-size: 2em;
}

.back p {
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	text-align: center;
	padding: 0 20px;
  font-family: arial;
  line-height: 2em;
}


/* --------------------------------------
   Global Styles
   -------------------------------------- */

.alert {
	margin-top: 20px;
	display: none;
}

.well {
	margin: 20px 0;
}

.tabbable img.thumbnail {
	margin: 0 20px 10px 0;
}

.thumbnails {
	margin: 20px 0;
}

.thumbnail {
	position: relative;
}

.thumbnail h3 {
	font-size: 16px;
	margin: 0 0 10px;
	line-height: 20px;
}

.thumbnail .price {
	font-size: 22px;
	position: absolute;
	top: -10px;
	right: -10px;
	padding: 10px;
}

.thumbnail .price sup {
	font-weight: normal;
	font-size: 12px;
}

.thumbnail span.glyphicon {
	margin-right: 5px;
}

.glyphicon-heart {
	color: #C9302C;
	margin-right: 2px;

}

.fish {
	font-size: 90%;
	font-weight: 300;

}

.codefish {
	font-size: 100%;
	font-weight: 300;
	font-style: italic;
	letter-spacing: 1px;

}

.vertical-spacer {
	display: block;
	width: 100%;
	height: 30px; /* An empty block with specified height */

}

.vertical-spacer-xs {
	display: block;
	width: 100%;
	height: 0px; /* An empty block with specified height */

}

.vertical-spacer-sm {
	display: block;
	width: 100%;
	height: 35px; /* An empty block with specified height */

}

.vertical-spacer-md {
	display: block;
	width: 100%;
	height: 40px; /* An empty block with specified height */

}

.vertical-spacer-lg {
	display: block;
	width: 100%;
	height: 70px; /* An empty block with specified height */

}

.btn:focus {
  outline: none; /* Removes ugly dotted outline on buttons */
}

p .pull-left{
	margin-right: 8px; /* Sets right margin to 8 pixels on left-floated thumbnails */
}

p .pull-right{
	margin-left: 8px; /* Sets left margin to 8 pixels on right-floated thumbnails */
}

.img-circle {
    border-radius: 20%;
}



/* --------------------------------------
   Media Queries
   -------------------------------------- */

/* Portrait & landscape phone */
@media (max-width: 480px) {
	
	.thumbnail .price {
		font-size: 14px;
	}
	
	.thumbnail .price sup {
		font-size: 10px;
	}

	.form-control {
		margin-right: 4px; /* Set space of 4px between input field and button on small screens */
	}
	
}

/* Landscape phone to portrait tablet */
@media (max-width: 768px) {
	
	#myCarousel .item { height: 310px; }
	
	#slide1 {
		background: url('../images/menu2.jpg') top center no-repeat;
		background-size: cover;
		/*background: url('../images/carousel_small_01.jpg') top center no-repeat;*/
	}
	
	#slide2 {
		background: url('../video/Coverr-flowers.jpg') top center no-repeat;
		background-size: cover;
		/*background: url('../images/carousel_small_02.jpg') top center no-repeat;*/
	}
	
	#slide3 {
		background: url('../images/menu4.jpg') top center no-repeat;
		background-size: cover;
		/*background: url('../images/carousel_small_03.jpg') top center no-repeat;*/
	}
	
	.carousel-caption {
		font-size: 16px;
	}
	
	.carousel-caption h4 {
		font-size: 22px;
	}

	.form-control {
		margin-right: 4px; /* Set space of 4px between input field and button on medium screens */
	}

	.features img {
		margin: 20px -6px;
	}
	
}

/* Medium desktop */
@media (max-width: 992px) {

	.features img {
		margin: 20px -6px;
	}

}

/* Large desktop */
@media (min-width: 1200px) {

	#myCarousel .item { height: 500px; }
	
	#slide1 {
		background: url('../images/menu2.jpg') top center no-repeat;
		background-size: 100% auto;
		/*background: url('../images/carousel_large_01.jpg') top center no-repeat;*/
	}
	
	#slide2 {
		background: url('../video/Coverr-flowers.jpg') top center no-repeat;
		background-size: 100% auto;
		/*background: url('../images/carousel_large_02.jpg') top center no-repeat;*/
	}
	
	#slide3 {
		background: url('../images/menu4.jpg') top center no-repeat;
		background-size: 100% auto;
		/*background: url('../images/carousel_large_03.jpg') top center no-repeat;*/
	}

}

/* popup styling */
 .pharma-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }
  .pharma-popup-content {
    background: #fff;
    width: 600px;
    max-width: 90%;
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  }
  .pharma-popup-content p {
    font-size: 1.42em !important;
    font-weight: 500;
    font-family: Raleway;
    margin-bottom: 1.5rem;
    /*line-height: 1.5;*/
    font-family: Raleway;
  }
  .pharma-popup-content-text p:first-child {
        font-weight: 700;
        font-size: 2.5em !important;
    }

  .pharma-popup-content-text {
        margin: 10px 0 25px 0;
    }
  
  .pharma-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  .pharma-btn {
    background: #0073aa;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
  }
  .pharma-btn:hover {
    background: #005f87;
    color: #fff;
  }


