/*
 * Author: Hector Kong Andia
 *
 * Project Name: Clausewitz
 * Version: 1.0
 * Date: 20-12-2016
 */


/* ==========================================================================
   Base Styles and Bootstrap Modifications
   ========================================================================== */

html,
button,
input,
select,
textarea{
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #f2c2c9;
    color: #a4003a;
    text-shadow: none;
}

::selection {
    background: #16a085;
    color: #a4003a;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

 hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

 img {
    vertical-align: middle;
}

/*
 * Allow only vertical resizing of textareas.
 */

 textarea {
    resize: vertical;
}


/* ==========================================================================
   General styles
   ========================================================================== */

html,
body {
    height: 100%;
}
body {
    font-family: "Raleway";
    font-weight: 300;
    font-size: 17px;

    color: #000;
    
}

.navbar-toggle {
border-color: transparent;
border: 0px solid transparent;
}

.col-md-4 {
    padding-bottom: 20px;
}

.row {
    margin-right: 0px;
    margin-left: -15px;
}

p {
    line-height: 28px;
    margin-bottom: 25px;
}

.centered {
    text-align: center;

}


.navbar-default {
    border-color: transparent;
    border: 0px solid transparent;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
	background-color: #16a085;
	color: white;
}

hr {
    position: relative;
    border: none;
}

hr:before {
    content: " ";
    position: absolute;
    top: 0;
    left:25%;
    width: 50%;
    height: 2px;
    background: #ccc;
}

a img {
    background: White;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Lato";
    font-weight: 400;
    color: #333;
}


p {
    line-height: 28px;
    margin-bottom: 25px;
}

paragraph-lead {
    font-size: 20px;
    color: #3498db;
}

strong {
    font-weight: 700;
}

em {
    font-weight: 300;
}

pre {
    background: #ebebeb;
    border: none;
    font-family: "Monaco";
    font-size: 16px;
    color: #666;
    padding: 20px;
    line-height: 28px;
}

small {
    font-size: 12px;
}

blockquote,
blockquote p {
    line-height: 28px;
    color: #999;
    font-weight: 300;
    font-style: italic;
}

blockquote {
    position: relative;
    margin: 0 0 40px -30px;
    padding-left: 30px;
    border-left: 5px solid #3498db;
}

blockquote cite {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 12px;
    font-style: italic;
    color: #333;
    font-weight: 300;
}

blockquote cite:before {
    content: "-- "
}

/* Images */
.overflow-image {
    margin-top: -65px;
}

/* Links */
a {
    color: #3498db;
    word-wrap: break-word;

    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}

a:hover,
a:focus {
    color: #c0392b;
    text-decoration: none;
    outline: 0;
}

a:before,
a:after {
    -webkit-transition: color 0.1s ease-in, background 0.1s ease-in;
    -moz-transition: color 0.1s ease-in, background 0.1s ease-in;
    -ms-transition: color 0.1s ease-in, background 0.1s ease-in;
    -o-transition: color 0.1s ease-in, background 0.1s ease-in;
    transition: color 0.1s ease-in, background 0.1s ease-in;
}






/* ==========================================================================
   Wrap Sections
   ========================================================================== */

#headerwrap {
    background: url(../img/header_bg1.jpg) no-repeat center top;
    margin-top: 50px;
    padding-top: 130px;
    text-align: center;
    background-attachment: relative;
    background-position: center center;
    min-height: 450px;
    width: 100% !important;
    
    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    
    background-size: cover;
}

#headerwrap p {
    color: black;
    font-family: "Pinyon Script";
    font-size: 100px;
    font-weight: 500;
    text-align: center;
    line-height: 90px;
    letter-spacing: 3px;
    text-shadow: 1px 1px 1px #333;

}

#greywrap {
    background: #f5f5f5;
    margin-top: 0;
    padding-top: 40px;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

#greywrap p {
    margin-left: 30px;
    margin-right: 30px;
    letter-spacing: 1px;
    padding-top: 15px;
    padding-bottom: 15px;
}

#greywrap .callout {
    margin-bottom: 20px;
}


#greywrap .icon {
    font-size: 60px;
    line-height: 30px;
    margin-bottom: 10px;
    padding: 2px;
}

#footerwrap {
	background: #2b2b2b;
	margin-top: 0px;
	padding-top: 40px;
	padding-bottom: 20px;
	border-bottom: 1px solid #ddd;
	text-align: center;
}

#footerwrap h4 {
	color: white;
}



/* ==========================================================================
   Box Sections
   ========================================================================== */

.white h1 {
    padding-top: 35px;
}

.white p {
    padding-top: 25px;
}

.section-divider {
    z-index: 999;
    width: 100%;
    display: table;
    max-height: 450px;
    border-bottom: 2px solid #E6EAED;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 100px;
    margin-top: 45px; 
    
     background-position: center center;

    -webkit-background-size: 100%;
    -moz-background-size: 100%;
    -o-background-size: 100%;
    background-size: 100%;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;

    background-attachment: relative;
    
    text-align: center;
}


.textdivider h1 {
	padding-top: 70px;
	color: white;
	font-size: 40px;
}

.textdivider p {
	color: white;
	font-size: 25px;
}


/* Section Dividers Backgrounds */
.divider1 {
	background-image: url('../img/bg/divider1.jpg')
}

.divider2 {
	background-image: url('../img/bg/divider2.jpg')
}

.divider3 {
	background-image: url('../img/bg/bg3.jpg')
}

.divider4 {
	background-image: url('../img/bg/bg4.jpg')
}

/* ==========================================================================
   Image Mask
   ========================================================================== */

.grid figure {
	margin: 0;
	position: relative;
}

.grid figure img {
	width: 100%;
	display: block;
	position: relative;
}

.grid figcaption {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	color: #fff;
	background: #3498db;
}

.grid figcaption h5 {
	margin: 0;
	padding-top: 0px;
	padding-left: 20px;
	padding-bottom: 5px;
	color: #fff;
	font-weight: 700;
	text-align: left;
	letter-spacing: 2px;
	
}

.grid figcaption a {
	text-align: left;
	padding: 5px 10px;
	margin-left: 20px;
	display: inline-block;
	background: #2f2f2f;
	color: #fff;
	font-size: 13px;
}

/* Caption Style */
.mask figure {
	overflow: hidden;
}

.mask figure img {
	-webkit-transition: -webkit-transform 0.4s;
	-moz-transition: -moz-transform 0.4s;
	transition: transform 0.4s;
}

.no-touch .mask figure:hover img,
.mask figure.cs-hover img {
	-webkit-transform: translateY(-30px);
	-moz-transform: translateY(-30px);
	-ms-transform: translateY(-30px);
	transform: translateY(-30px);
}

.mask figcaption {
	height: 50px;
	width: 100%;
	top: auto;
	bottom: 0;
	opacity: 0;
	-webkit-transform: translateY(100%);
	-moz-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s 0.3s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s 0.3s;
	transition: transform 0.4s, opacity 0.1s 0.3s;
}

.no-touch .mask figure:hover figcaption,
.mask figure.cs-hover figcaption {
	opacity: 1;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
}

.mask figcaption a {
	position: absolute;
	top:10px;
	bottom: 10px;
	right: 30px;
}

#accordTitle {
    text-shadow: 1px 2px 1px #222;
    text-decoration:solid;
}

/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */


@media screen and (max-width:1050px), screen and (max-device-width:1050px){
	body .header{background-attachment: scroll;}
}


/*ipad portrait*/
@media only screen and (min-device-width:768px) and (max-device-width : 1024px) and (orientation : portrait){
	.header{
		background-attachment: scroll;
	}
	.mask figcaption,
	.mask figure.cs-hover figcaption {
	opacity: 50;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
	}
}

@media (max-width:1590px) {
    #headerwrap {        
        padding-top:40px;
        padding-left: 0px;
        min-height: 400px;
    }
	#headerwrap h1 {
		font-size: 280px;
	}
	#headerwrap p {
        padding-top: 50px;
		font-size: 80px;
		line-height: 38px;
        padding-left: 0px;
        padding-right: 0px;
	}
}

@media (max-width:1420px) {
    #headerwrap {
        padding-top:40px;
        padding-left: 0px;
        min-height: 350px;
    }
	#headerwrap h1 {
		font-size: 280px;
	}
	#headerwrap p {
        padding-top: 50px;
		font-size: 80px;
		line-height: 38px;
        padding-left: 0px;
        padding-right: 0px;
	}
}

@media(max-width:1240px) {
    #headerwrap {
        padding-top:40px;
        padding-left: 0px;
        min-height: 300px;
    }
	#headerwrap h1 {
		font-size: 280px;
	}
	#headerwrap p {
        padding-top: 50px;
		font-size: 60px;
		line-height: 38px;
        padding-left: 0px;
        padding-right: 0px;
	}
}

@media(max-width:1070px) {
    #headerwrap {
        padding-top:20px;
        padding-left: 0px;
        min-height: 280px;
    }
	#headerwrap h1 {
		font-size: 280px;
	}
	#headerwrap p {
        padding-top: 30px;
		font-size: 55px;
		line-height: 38px;
        padding-left: 0px;
        padding-right: 0px;
	}
}


@media(max-width:969px) {
    #headerwrap {
        padding-top:40px;
        padding-left: 0px;
        min-height: 230px;
    }
	#headerwrap h1 {
		font-size: 280px;
	}
	#headerwrap p {
        padding-top: 28px;
		font-size: 48px;
		line-height: 38px;
        padding-left: 0px;
        padding-right: 0px;
	}
	.col-lg-6  p, .well p, .panel-body, .col-lg-12{
        text-align:justify;
    }
	
}

@media(max-width:768px) {
	
    #headerwrap {
        padding-top:30px;
        padding-left: 0px;
        min-height: 410px;
    }
	#headerwrap p {
        padding-top: 25px;
		font-size: 80px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
	}
	
	.col-lg-6  p, .well p, .panel-body, .col-lg-12{
        text-align:justify;
    }
}

@media(max-width:520px) {
	
    #headerwrap {
        padding-top:25px;
        padding-left: 0px;
        min-height: 300px;
    }
	#headerwrap p {
        padding-top: 15px;
		font-size: 55px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
	}
	
	.col-lg-6  p, .well p, .panel-body, .col-lg-12{
        text-align:justify;
    }
}

@media(max-width:400px) {
	
    #headerwrap {
        padding-top:30px;
        padding-left: 0px;
        min-height: 280px;
    }
	#headerwrap p {
        padding-top: 15px;
		font-size: 46px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
	}
	
	.col-lg-6  p, .well p, .panel-body, .col-lg-12{
        text-align:justify;
    }
}

@media(max-width:320px){
    #headerwrap {
        padding-top:30px;
        padding-left: 0px;
        min-height: 300px;
    }	
	#headerwrap p {
        padding-top: 25px;
		font-size: 44px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
	}
    .col-lg-6  p, .well p, .panel-body, .col-lg-12{
        text-align:justify;
    }
}

/*MOBILE*/
@media only screen and (max-device-width:760px) {	
	body .header{
		background-attachment: scroll;
	}
    #headerwrap {
        padding-top:30px;
        padding-left: 0px;
        min-height: 450px;
    }
	#headerwrap p {
        padding-top: 25px;
		font-size: 80px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
	}
	
	.col-lg-6  p, .well p, .panel-body, .col-lg-12 {
        text-align:justify;
    }	
	.mask figcaption,
	.mask figure.cs-hover figcaption {
	opacity: 50;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
	}

}

@media only screen and (max-device-width:520px) {	
	body .header{
		background-attachment: scroll;
	}
    #headerwrap {
        padding-top:25px;
        padding-left: 0px;
        min-height: 300px;
    }
	#headerwrap p {
        padding-top: 25px;
		font-size: 55px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
	}
	
	.col-lg-6  p, .well p, .panel-body, .col-lg-12 {
        text-align:justify;
    }	
	.mask figcaption,
	.mask figure.cs-hover figcaption {
	opacity: 50;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
	}

}


@media only screen and (max-device-width:400px) {	
	body .header{
		background-attachment: scroll;
	}
    #headerwrap {
        padding-top:30px;
        padding-left: 0px;
        min-height: 280px;
    }
	#headerwrap p {
        padding-top: 15px;
		font-size: 46px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
		
	}
	
	.col-lg-6  p, .well p, .panel-body, .col-lg-12 {
        text-align:justify;
    }	
	.mask figcaption,
	.mask figure.cs-hover figcaption {
	opacity: 50;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
	}

}


@media screen and (max-device-width:320px){
    #headerwrap {
        padding-top:30px;
        padding-left: 0px;
        min-height: 350px;
    }	
	#headerwrap p {
        padding-top: 25px;
		font-size: 45px;
        padding-left: 0px;
        padding-right: 0px;
        line-height: 100%;
	}
    .col-lg-6  p, .well p, .panel-body, .col-lg-12 {
        text-align:justify;
    }
	.mask figcaption,
	.mask figure.cs-hover figcaption {
	opacity: 50;
	-webkit-transform: translateY(0px);
	-moz-transform: translateY(0px);
	-ms-transform: translateY(0px);
	transform: translateY(0px);
	-webkit-transition: -webkit-transform 0.4s, opacity 0.1s;
	-moz-transition: -moz-transform 0.4s, opacity 0.1s;
	transition: transform 0.4s, opacity 0.1s;
	}
}









