* { margin:0; padding:0;}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, font, img, ins, kbd, q, s, samp, small, strike, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td{margin:0; padding:0; border:0; outline:0; font-weight:normal}

input, textarea, select, input:focus, textarea:focus, select:focus{outline:0}
textarea{resize:none}
html, body{height:100%; width:100%; }
body{position:relative;  width:100%; height:100%; font-size:16px; color:#3c3d3d; font-family: 'Alegreya Sans', sans-serif, Tahoma;color:#000;}

table{border-spacing:0;}
td{vertical-align:top}
caption, th, td{text-align:left; font-weight:normal}
img{border:0}
ol, ul, li{list-style:none; list-style-type:none}

body{
	font-family: 'Alegreya Sans', sans-serif;
	font-size:14px;
	background-color:#f1f1f1;
}

.container-fluid{
	background:url("../images/bg.png") no-repeat bottom right;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    padding: 12px 16px;
    z-index: 1;
	margin-left:-35px;
    min-width: 165px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-content2 {
    display: block;
}

.dropdown-content ul li {
    list-style-type: none;
    color: white !important;
    width: 100%;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-right: 0px !important;
    margin-left: 0px !important;
    background-color: rgba(0,0,0,0.5);
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 2px;
	
}

.dropdown-content ul li a{
	color:white !important;
	font-weight:normal;
	font-family: 'Alegreya Sans', sans-serif;
}


.logo-holder{
	background-color:black;
	padding-top:20px;
	padding-bottom:5px;
	margin-top: 30px;
}

.main-menu{
	margin-top:38px;
}

.main-menu ul li{
	font-family: 'Alegreya Sans', sans-serif;
	font-weight:300;
	float:left;
	margin-right:25px;
	margin-left:25px;
	color:#001b33;
	padding-top:23px;
	padding-bottom:5px;
}

.main-menu ul li a{
	color:white;
	text-decoration:none;
	font-size:15px;
	text-transform:uppercase;
}
.main-menu ul li a.active{
	color:#655c5e;
}
.no-padding{
	padding-left:0px;
	padding-right:0px;
}

.no-margin{
	margin-left:0px;
	margin-right:0px;	
}

.main-holder{
	margin-top:15px;
	min-height: 500px;
	background: white;
}

.icon-style{
	padding-left:0px;
	padding-right:5px;
	padding-bottom:5px;
}

.left-col{
	background:url(../images/pattern.png) no-repeat #e0e0e0;
}

.main-holder { display: -ms-flex; display: -webkit-flex; display: flex; }
.main-holder>div { flex:1; }

.social-media{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.div-fb{
	width:60px;
	height:35px;
	text-align:center;
	background-color:#141517;
	padding-top: 7px;
	border-bottom: 1px white solid;
}

.div-linkedin{
	width:60px;
	height:35px;
	text-align:center;
	background-color:#141517;
	padding-top: 7px;
	border-bottom: 1px white solid;
}

.div-insta{
	width:60px;
	height:35px;
	text-align:center;
	background-color:#141517;
	padding-top: 7px;
}

h1{
	font-size:28px;
}

.light{
	font-weight:300;
}

.medium{
	font-weight:500;
}

.about-holder, .project-holder{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding-left: 10%; 
	padding-right: 10%;
	width: 100%;
}

.about-num{
    float: left;
    display: flex;
    min-height: 40px;
    width: 41px;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.about-text{
    float: right;
    display: block;
    width: 90%;
}

.project-holder{
	position: initial;
	margin-top: 40px;
	transform: initial;
	padding-left:0px;
	padding-right:0px;
	margin-left: 10%;
	width: 80%;
}

.project-num{
    width: 60px;
    font-size: 24px;
    font-weight: bold;
    position: absolute;
    margin-top: 65px;
}

.project-text-holder{
	padding-left: 20px;
	padding-right: 20px;
	overflow: auto;
}

.project-text{
    float: right;
    display: block;
    width: 96%;
    font-size: 14px;
    padding-left: 40px;
}

.project-text h1{
    text-align:left;
	text-transform:uppercase;
}

.list-holder .post{
	width:48%;
	float:left;
	margin-bottom: 4%;
}

.list-holder .post.right{
	margin-left:4%;
}

.project-list-image{
	position:relative;
}

.project-list-image img{
	width:100%;
}

.project-count{
	position:absolute;
	font-family: 'Alegreya Sans', sans-serif;
	font-weight:300;
    right: 0px;
    bottom: 0px;
    background: black;
    color: white;
	padding-left: 5px;
    padding-right: 5px;
	font-size:16px;
}

.postings{
	min-height: 280px;
}

#pages{
	float:right;
}

#prev, #next{
	display:block;
	float:left;
}

#next{
	margin-left:10px;
}

.contact-form{
	margin-top:90px;
	margin-left:10px;
}

.contact-form input[type="text"]{
	height: 55px;
	width: 100%;
	border:1px #c9c9c9 solid;
	padding-left:25px;
}

.contact-form textarea{
	width: 100%;
	border:1px #c9c9c9 solid;
	padding-top:23px;
	padding-left:25px;
	height:150px;
}

.contact-form input[type="submit"]{
    height: 35px;
    width: 100px;
	color:white;
	float:right;
	background:#231f20;
	font-size:14px;
	font-weight:bold;
	text-transform:uppercase;
	border:0px;
}

.cv-btn{
	margin-right:10px;
	background:white !important;
	color:#231f20 !important;
	border:1px #231f20 solid !important;
}

.contact-form .error{
	float:left;
	color:red;
	font-weight:normal;
	font-size:12px;
}

.fancybox-next span {
    right: -100px;
    background-image: url(../images/next-fancy.png);
    background-repeat: no-repeat;
    width: 74px;
    height: 45px;
    background-position: 0 0px;
	visibility:visible;
}

.fancybox-prev span {
    left: -100px;
    background-image: url(../images/prev-fancy.png);
    background-repeat: no-repeat;
    width: 74px;
    height: 45px;
    background-position: 0 0px;
	visibility:visible;
}

.pagination{
	width:100%;
	margin: 20px 0 0px;
}

 /*==========  Non-Mobile First Method  ==========*/

    /* Large Devices, Wide Screens */
    @media only screen and (max-width : 1200px) {
		.main-menu ul li{
			margin-right: 15px;
			margin-left: 15px;
		}
    }

    /* Medium Devices, Desktops */
    @media only screen and (max-width : 992px) {
		.logo-bg{
			float:left;
		}
		.main-menu{
			float:right;
		}
		.logo-bg{
			padding-left: 15px;
		}
		.social-media{
			position:inherit;
			top:inherit;
			transform:none;
		}
		.sm-holder{
			height:35px;
		}
		.sm-holder div{
			float:left;
		}
		.sm-holder .div-fb,.sm-holder  .div-linkedin{
			border-bottom:0px;
			border-right:1px white solid;
		}
		.fancybox-prev span{
			left:10px;
		}
		.fancybox-next span{
			right:10px;
		}
		
    }

    /* Small Devices, Tablets */
    @media only screen and (max-width : 768px) {
		.navbar-toggle{
			border:1px white solid;
		}
		.navbar-toggle .icon-bar{
			background:white;
		}
		.main-menu{
			float:none;
			margin-top:0px;
		}
		.navbar-collapse{
			box-shadow:none;
		}
		.logo-bg{
			float: left;
			text-align: center;
		}
		.main-menu ul li{
			margin-left:0px;
			margin-right:0px;
			text-align:center;
			width:100%;
		}
		.navbar-toggle{
			border:1px white solid;
		}
		.navbar-toggle .icon-bar{
			background:white;
		}
		.logo-holder{
			padding-bottom:15px;
		}
		.main-menu{
			float:left;
		}
		.dropdown-content{
			display:block;
			position:inherit;
			margin-left:0px;
		}
		.dropdown-content ul li a{
			font-size:13px;
		}
		.big-image{
			display:none;
		}
		.about-holder{
			position: initial;
			top: 0px;
			transform: none;
			padding-left: 15px;
			padding-right: 15px;
			width: 100%;
			padding-top: 20px;
		}
		.main-holder{
			display:block;
		}
		#contact .left-col{
			overflow:auto;
			padding-bottom:15px;
		}
		.contact-form{
			margin-top:15px;
			padding:15px;
			margin-left:0px;
			overflow:auto;
		}
		.project-text-holder{
			padding-top:20px;
		}
    }

    /* Extra Small Devices, Phones */ 
    @media only screen and (max-width : 480px) {
		.project-holder{
			padding-left: 15px;
			padding-right: 15px;
			margin-left: 0px;
			width: 100%;
		}
		.project-text-holder {
			padding-left: 0px;
			padding-right: 0px;
			overflow: auto;
		}
		.project-num{
			display:none;
		}
		.project-text{
			width:100%;
			padding-left:0px;
			
		}
    }

    /* Custom, iPhone Retina */ 
    @media only screen and (max-width : 320px) {
        
    }
