/* ======================================================= 
 *
 *    Media boxes Demo  
 *    By castlecode
 *
 *    Contact: http://codecanyon.net/user/castlecode
 *
 *    Copyright (c) 2013, castlecode. All rights reserved.
 *    Available only in http://codecanyon.net/
 *    
 *    ---------------------------------
 *    CONTENTS
 *    ---------------------------------
 *    
 *    (1) GRAPHIC STYLE (Play around in this section)
 *
 *      [1] MAIN STUFF
 *      [2] HEADER
 *      [3] MENU
 *      [3.1] SHRINK MENU
 *      [4] BIG BANNER
 *      [5] CONTENT
 *      [6] FEATURES
 *      [7] FOOTER
 *      [8] TO TOP
 *      [9] RESPONSIVE DESIGN
 *    
 * ======================================================= */


/* ====================================================================== *
      [1] MAIN STUFF
 * ====================================================================== */
	
	html {
    	margin-right: 0 !important;
    	overflow: visible !important;
	}
	
	body{
		/*font-family: 'Open Sans';
		background: #FAFAFA;*/
		/**/font-size: 18px;
		/**/font-family:'Roboto Slab', "Popular Thin", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
		/**/font-weight: 400;
		/**/background: rgba(29,30,33,1);
		/**/line-height: 1.4rem;
		
		margin-top: 0px;/*84px*/
		-webkit-transition: margin 0.4s ease;
	       -moz-transition: margin 0.4s ease;
	         -o-transition: margin 0.4s ease;
	            transition: margin 0.4s ease;
				
	
	}

/*	h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
		font-family: 'Open Sans';
		font-weight: 500;
	}*/

/* ====================================================================== *
      [2] HEADER
 * ====================================================================== */

	.header{
		width: 100%;
		position: relative;/*absolute*/
		z-index: 999;
		top:0;
		background-color: #e54e53;
		width: 100%;
		
		-webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.22);
		   -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.22);
				box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.22);
	}

/* ====================================================================== *
      [3] MENU
 * ====================================================================== */
	.navbar a,
	.dropdown a {
    	outline: none;
	}
	.navbar-collapse{
		border: none !important;
	}
	.content .navbar{
		margin: 0;
		background: none;
		border: 0;
	}
	
	/* this is how the height of the menu is calculated */
	.navbar-brand {
		padding: 17px 0;
	}
	.content .navbar .navbar-brand img{
		height: 50px;
	}
	.content .navbar-nav>li>a{
		padding: 32px 35px !important;
	}

	.navbar-toggle{
		margin: 22px 0;
	}

	.content .navbar-nav>li>a{
		color: #FEC9CB;
		font-weight: 300 !important;
		font-size: 12px;
	}

	.content .navbar-nav>li.active>a,
	.content .navbar-nav>li>a:hover, 
	.nav>li.open>a, 
	.nav>li.open>a:hover, 
	.nav>li.open>a:focus{
		background: none !important;
		color: #fff !important;
	}

	.nav>li.open>a, 
	.nav>li.open>a:hover, 
	.nav>li.open>a:focus{
		background: #D1474C !important;
		color: #fff !important;
	}

	.nav>li.dropdown>a.selected, 
	.nav>li.dropdown>a.selected:hover, 
	.nav>li.dropdown>a.selected:focus{
		background: #D1474C !important;
		color: #fff !important;
	}

	.nav>li>a.active{
		color: #fff;
	}

	.navbar-nav .caret{
		border-top-color: #fff !important;
  		border-bottom-color: #fff !important;
	}

	.navbar-toggle:focus{
		background: none !important;
		outline: 0;	
	}

	.navbar-toggle:hover{
		background: rgba(0,0,0,.07) !important;
	}

	.navbar-toggle{
		border-color: #fff !important;
	}
	.navbar-default .navbar-toggle .icon-bar{
		background-color: #fff !important;
	}

	/* drop down styes */
	.list-unstyled li{
		position: relative;
	}
	.list-unstyled a{
		font-size: 12px;
		width: 100%;
		padding: 10px 20px;
		height: auto;
		color: #FEC9CB !important;
		display: block;
	}
	.list-unstyled a:hover, .list-unstyled a.selected{
		color: #fff !important;
		text-decoration: none;
	}

	.yamm .yamm-content {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		padding-right: 15px !important;
  		padding-left: 15px !important;
	}
	
	@media(min-width:768px){.navbar-right .dropdown-menu{left:0;right:auto}}

	.navbar-nav>li>.dropdown-menu{
		background: #D1474C;
		width: 302px;
		color: #fff;
		border: 0 !important;
		 -webkit-border-radius: 0px; 
  		    -moz-border-radius: 0px; 
  				 border-radius: 0px; 

		-webkit-box-shadow: none !important;
  		   -moz-box-shadow: none !important;
				box-shadow: none !important;
	}

	.no-gutter [class*='col-']{
	  padding-right:0;
	  padding-left:0;
	}

	.popover_img_container{
		width: 244px;
		height: 160px;
		overflow: hidden;
	}

	.popover_img_container img{
		max-width: 100%;
		width: 100%;
	}

/* ====================================================================== *
      [3.1] SHRINK MENU
 * ====================================================================== */	
	.reverse{
		display: none;
	}

	@media only screen and (min-width: 760px) {

		.header{
			/*position: fixed; /* sticky meny */
		}
		
		div.header{
			-webkit-transition: padding 0.2s ease, height 0.2s ease, background 0.2s ease;
		       -moz-transition: padding 0.2s ease, height 0.2s ease, background 0.2s ease;
		         -o-transition: padding 0.2s ease, height 0.2s ease, background 0.2s ease;
		            transition: padding 0.2s ease, height 0.2s ease, background 0.2s ease;
		}

		.content .navbar-nav>li>a, .navbar-brand, .content .navbar .navbar-brand img{
			-webkit-transition: padding 0.2s ease, height 0.2s ease;
		       -moz-transition: padding 0.2s ease, height 0.2s ease;
		         -o-transition: padding 0.2s ease, height 0.2s ease;
		            transition: padding 0.2s ease, height 0.2s ease;
		}
		
		/* this is how the height of the menu is calculated */
		.shrink .content .navbar-nav>li>a {
		  	padding: 18px 35px !important;
		}
		.shrink .content .navbar .navbar-brand img{
			height: 46px;
		}
		.shrink .navbar-brand {
		  	padding: 5px 0;
		}

		/* Change the colors */
		.shrink div.header{
			background: rgba(255,255,255,1) !important;
		}

		.shrink .reverse{
			display: block;
		}
		.shrink .normal{
			display: none;
		}

		.shrink .content .navbar-nav>li>a {
			color: #575757;
		}

		.shrink .content .navbar-nav>li.active>a,
		.shrink .content .navbar-nav>li>a:hover{
			color: #e54e53 !important;
		}

		.shrink .content .navbar-nav>li.active>a,
		.shrink .content .navbar-nav>li.dropdown>a:hover{
			color: #fff !important;
		}

		.shrink .nav>li>a.active{
			color: #D1474C;
		}

	}

/* ====================================================================== *
      [4] BIG BANNER
 * ====================================================================== */

	.big-banner{
		width: 100%;
		height: 700px;
		position: relative;
		overflow: hidden;
	}

	.big-banner img{
		max-width: 100%;
	}

	.banner-text{
		padding-top: 60px;
		text-align: center;
		position: absolute;
		top: 50%;
		left: 50%;
		width: 100%;
		max-width: 400px;

		  -webkit-transform: translate(-50%,-50%);
			 -moz-transform: translate(-50%,-50%);
			   -o-transform: translate(-50%,-50%);
			      transform: translate(-50%,-50%);
	}

	@media only screen and (max-width: 760px) {
		.banner-text{
			max-width: 90%;
		}
	}

	.banner-text .title{
		display: block;
		margin-bottom: 20px;
		color: #fff;
	}
		
	.banner-text .description{
		font-size: 13px;
		color: #D7D7D7;
		line-height: 20px;
	}

	.banner-image{
		background: url('../img/banner.jpg') no-repeat center center;
    	-webkit-background-size: cover;
		   -moz-background-size: cover;
		     -o-background-size: cover;
		        background-size: cover;

		         /*background-attachment: fixed;*/
		width: 100%;
    	height: 100%;
  		position: absolute;
  		top: 0;
  		left: 0;
	}

	.banner-mask {
  		background-color: rgba(0,0,0,.45);
  		width: 100%;
  		height: 100%;
  		position: absolute;
  		top: 0;
  		left: 0;
	}

	.browse,
	.browse:focus{
		text-decoration: none !important;
		display: inline-block;
		margin-top: 80px;
		/*border: 1px solid white;*/
		color: white;
		padding: 20px;
		background: rgba(229, 78, 83, .8);

		-webkit-border-radius: 2px;
		   -moz-border-radius: 2px;
		     -o-border-radius: 2px;
		        border-radius: 2px;

		-webkit-transition: all 0.1s ease;
	       -moz-transition: all 0.1s ease;
	         -o-transition: all 0.1s ease;
	            transition: all 0.1s ease;
	}

	.browse:hover, 
	.browse:active{
		text-decoration: none;
		color: white;
		background: rgba(229, 78, 83, .6);
	}

	.examples-title{
		text-align: center;
		margin-bottom: 60px;
	}

	.examples-title h2{
		font-size: 30px !important;
		font-weight: 400;
		margin: 0;
	}

/* ====================================================================== *
      [5] CONTENT
 * ====================================================================== */

	.content{
		width: 90%;
		margin: auto;
	}

	.content h2{
		color: #575757;
		font-size: 20px;
	}

	.content h4{
		margin: 1.2rem 0;
		color:white;/*#575757*/
	}

	.section{
		background: none /*#FAFAFA*/;
		width: 100%;
		padding: 60px 0px;
		text-align: center;
	}

	.section h2{
		margin-top: 0;
	}

	.content p{
		color:white;/*#575757*/
		margin-bottom: 0;
	}

	.grid-section{
		/*background-image: none !important;*/
		background-repeat: no-repeat;
	    /*background-attachment: fixed;*/
	    background-size: 100% 100%;
		background: none /*#eee*/;
		/*background: #343a40;*/
		padding-top: 60px;
		padding-bottom: 60px;
		border-bottom: 0px solid #eee;
	}
	
	.animate-on-load{
		opacity: 0;
	}

/* ====================================================================== *
      [6] FEATURES
 * ====================================================================== */
	
	.features-container{
		text-align: left;
	}
	
	.features-container hr{
		margin: 40px 0 !important;
	}

	.features-container i{
		color: #575757;
		font-size: 30px;
	}

	.features-container h4{
		font-size: 13px;
		font-weight: 600;
	}

	.features-container p{
		margin-bottom: 2em;
		color: #A1A1A1;
		font-size: 12px;
		line-height: 1.4em;
	}

	.col-md-6{
		padding-left: 40px;
		padding-right: 40px;
	}

	.features{
		color:rgb(88, 88, 88);
	}

/* ====================================================================== *
      [7] FOOTER
 * ====================================================================== */
	
	.footer{
		padding-top: 40px !important;
		padding-bottom: 40px !important;
		border: none !important;
		color: #777777;
		background: #1c1c1c;
	}

/* ====================================================================== *
      [8] TO TOP
 * ====================================================================== */
	
	.fixed{
		position: fixed;
		right: 17px;
		bottom: 17px;
		display: none;
		z-index: 999;
	}

	.fixed>*{
		float: left;
		text-decoration: none !important;
	}

	.buy-now{
		display: none;
		margin-right: 6px;
		background-color: rgba(0,0,0,0.6);
		padding: 0px 10px;
		height: 29px;
		line-height: 29px;
		color: #fff;
		font-size: 12px;

		-webkit-border-radius: 2px;
		   -moz-border-radius: 2px;
		     -o-border-radius: 2px;
		        border-radius: 2px;
	}

	.to-top{
		height: 29px;
		width: 29px;
		background-color: rgba(0,0,0,0.6);
		color: #fff;
		cursor: pointer;
		text-align: center;
		font-size: 12px;

		-webkit-border-radius: 2px;
		   -moz-border-radius: 2px;
		     -o-border-radius: 2px;
		        border-radius: 2px;
	}

	.to-top>i{
		margin-top: 6px;
	}

	.to-top:hover{
		background-color:#42414d!important;
	}

/* ====================================================================== *
      [9] RESPONSIVE DESIGN
 * ====================================================================== */

	@media only screen and (max-width: 990px) {
		.content{
			width: 100%;
			padding: 0px 10px !important;
		}	
	}

	@media only screen and (max-width: 760px) {
		.content .navbar-nav>li>a{
			padding: 15px 15px !important;
		}
	}
