/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    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: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {outline: none !important;
}
a, input, select, textarea {
	outline:none !important;
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}
ul {
	padding:0;
	margin:0;
}
li {
	padding:0;
	margin:0;
	list-style:none;
	font-family: 'Gudea';
	font-weight:400;
	font-size:20px;
}
body {
	overflow-x:hidden;
	margin: 0;
	padding: 0;
	font-family: 'Ubuntu', sans-serif;
	font-weight:400;
	line-height:24px;
	font-size: 13px;
	color: #5D5863;
	background: #DCD7CC;
}

a {
	color:#6D4480;
	text-decoration:none !important;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}
a:hover { color: #8CB624;
}
p {
	margin:0 0 20px;
	padding:0;
}

h1 {
	margin: 0;
	padding: 15px 0 13px;
	text-transform:uppercase;
    font-family: 'Gudea', sans-serif;
	font-weight:600;
	line-height:53px;
	font-size:53px;
	color:#fff;
}
h2 {
	margin:0 0 35px;
	padding: 10px 0 0 15px;
	text-transform:uppercase;
	text-align:center;
	font-family: 'Gudea', sans-serif;
    font-weight:400;
	line-height:46px;
	font-size:37px;
	color:#8CB624;
	/*background: url(../img/h2_bg3.png) no-repeat left top;*/
}
h3 {
	margin:0 0 35px;
	padding: 10px 0 0 15px;
	text-transform:uppercase;
	text-align:center;
	font-family: 'Gudea', sans-serif;
    font-weight:400;
	line-height:46px;
	font-size:31px;
	color:#8CB624;
}
h4 {
	margin:0;
	padding:0;
	text-transform:uppercase;
	text-align:left;
    font-family: 'Gudea', sans-serif;
	font-weight:600;
	line-height:38px;
	font-size:27px;
	color:#5d5863;
}
h5 {
	margin: 0;
	padding: 2px;
	text-transform:uppercase;
	font-family: 'Gudea', sans-serif;
	font-weight:500;
	line-height:30px;
	font-size:17px;
	color:#8CB624;
}

img{
	width:100%;
}

.imageRHS{
	width:70%;
}

.navbar{
	background-color:rgba(255,255,255,0.6);
	/*filter: alpha(opacity=50);
	opacity: 0.60;*/
	
	/*background-color:#FFFFFF;
	opacity:0.60;*/
}

.navbar-toggle{
	background-color:#6D4480;
}

.icon-bar{
	background-color:#DCD7CC;
}

.container{
	width:100%;
	padding:0;
}

.panel-default > .panel-heading{
	color:#8CB624;
    /*border-color:#8CB624;*/
}

.panel-title{ /* changes panel title text color */
	color:#6D4480;
}

.panel-body{ /* changes panel body text color */
	color:#5d5863;
}


.down_btn {
	display:block;
	position:absolute;
	z-index:10;
	left:50%;
	bottom:0;
	width:58px;
	height:35px;
	margin-left:-29px;
	background:url(../img/down_btn.png) no-repeat;
}
.down_btn:hover {
	background:url(../img/down_btn2_h.png) no-repeat;
}

.author_inf {
	display:inline-block;
	line-height:17px;
	font-size:13px;
	color:#DCD7CC;
}
.author_inf span {
	display:inline-block;
	text-transform:uppercase;
	font-size:13px;
	color:#DCD7CC;
}

.carousel .item{
	width:100;
	padding:0;
}

.jumbotron{
	background-color:#DCD7CC;
	margin:0;
}

.thumbnail{
	background-color:#DCD7CC;
}

.panel img{
	width:100%;
	float:right;
}

#projects .modal{ cursor:default; }
#projects .modal .thumbnail{
	cursor:pointer;
	padding:0;
	margin-bottom:0px;
	background:#FFFFFF}
#projects .modal .thumbnail p{
	font-size:11px;
	margin-bottom:3px;}

#projects .thumbnail { cursor:pointer; }
#projects .thumbnail p{font-size:15px;}

#contact {
	position:relative;
}
.border_bottom {border-bottom:1px solid #e7e7e7;
}
.contact_info {margin-bottom:45px;
}
.contact_info p {
	font-size:17px;
	margin-top:2px;
	text-align:left;
}
.contact_info p.address {
	float:left;
	padding-top:7px;
	width:250px;
}
.contact_info a {
	color:#6D4480;
	word-wrap:break-word;
}
.contact_info a:hover {
	color:#8CB624;
}
.contact_info [class*="span"] {
	margin-bottom:10px;
}

textarea,
input[type="text"] {
	width:100%;
	margin:0 0 10px 0;
	padding: 19px 16px 20px;
	text-transform:none;
	font-family: 'Ubuntu', sans-serif;
	font-weight:400;
	font-size: 13px;
	color: #8CB624;
	font-style:normal;
	border-radius: 0;	
	background: #E7E7E7;
	border: 0;
	box-shadow: none;	  
}
textarea {
	min-height:80px;
	overflow:hidden;
	resize: none;
	margin-bottom:8px;
}
textarea,
input[type="text"].last {
}
textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
	outline: 0;
	box-shadow: none;
	border: 0;
}

.contact_btn {
	display:block;
	cursor:pointer;
	width:100%;
	padding:9px 0 10px;
	border: 0;
	border-radius: 0;
	box-shadow: 0;
	text-align:center;
	text-shadow:none;
	text-decoration:none;
	text-transform:uppercase;
	font-family: 'Ubuntu', sans-serif;
	font-weight:400;
	line-height:20px;
	font-size:16px;
	color:#fff;
	background-color: #6D4480;
	background-image: url(../img/i8.png);
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}
.contact_btn:hover {
	background-color:#8CB624;
}

.notification_error {
	color:#f00;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px) {
   	
   	#navLogoSmallMobile{
   		display:none;
   	}	
}

@media only screen and (max-width: 991px) {

   	#navLogoSmall{
   		display:none;
   	}
}

@media only screen and (min-width: 768px) {

   	#mobile-header{
   		display:none;
   	}
}

@media only screen and (max-width: 767px) {
    /* Style adjustments for viewports that meet the condition */
	h2{
   		font-size:21px;
   	}
   	h3{
   		font-size:17px;
   	}
   	h4{
   		font-size:13px;
   	}
   	h5{
   		font-size:27px;
   	}
   	a{
   		font-size:13px;
   	}
   	li a{
   		font-size:17px;
   	}
   	.jumbotron p{
   		font-size:13px;
   	}
   	.panel-body p{
   		font-size:13px;
   	}
   	#navLogoSmallMobile{
   		display:none;
   	}
   	#home-carousel{
   		display:none;
   	}
}


@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */
@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }
    
    #about img {
        max-width: 50% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }    
}
