/*
Theme name: Stacker - Mobile
Theme URI: http://themeforest.net/item/stacker-responsive-wordpress-theme/2304897
Author: xRicrdx
Version: 2.1
*/

body {
    background: url('images/light_bg.png');
    font-size: 12px;
    line-height: 22px;
    color: #484848;
    margin: 0;
    padding: 0;
}

/* Retina Support */

@media only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (-moz-min-device-pixel-ratio: 2),
	only screen and (-o-min-device-pixel-ratio: 2/1),
	only screen and (min-device-pixel-ratio: 2) {

	body, header, footer, .sub-menu li, input[type="button"], input[type="submit"], input[type="reset"], .pagination a, .pagination span, input.Bgrey, .headline-blockquote, .featured-link, #mainFooter, #mainHeader  {
	    background-size: 100px;
	}
}

/* Oswald font */
#MobileNavTrigger,h1,h2,h3,h4,h5,h6, .MainNavigation, .widgetFooter h4, .featured-link  {
    font-family: 'Oswald', sans-serif;
}

/* PT sans font */
body, cite, input,textarea, blockquote,label, input[type="button"],input[type="submit"],input[type="reset"],.pagination a, .pagination span,
#mainFooter,#mainFooter p,#mainFooter span, #botFooter, .tooltip{
    font-family: 'PT Sans', sans-serif;
}


img, a img, .wp-caption{
    display: block;
    max-width: 100%;
    height: auto;
}

iframe{
    border: none;
}

.fullWidth iframe{
    width: 100%;
    margin: 0 auto;
    height: auto;
}

iframe {
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
    height: auto;
}

cite{
    font-size: 12px;
    text-align: right;
}

h1,h2,h3,h4,h5,h6,blockquote {
    font-weight: normal;
    color: #484848;
}

h1 {
    font-size: 25px;
    margin: 25px 0;
}

#MainLogo h1{
    color: #a4a1a2;
    margin: 0;
}

::selection {
    background: #f26c4f;
    color: white;
}

.fullWidth,.fullWidth img {
    width: 100%;
    margin: 0;
    height: auto;
}

.fullWidth{
    overflow: hidden !important;
}

/* Mobile */
@media (max-width: 640px) {
    .fullWidthMap {
        height: 250px;
        width: 100%;
        margin: 0;
    }

}

/* Tablet */
@media (min-width: 641px) {
    .fullWidthMap {
        height: 450px;
        width: 100%;
        margin: 0;
    }

}

.hidestuff{
    display: none;
}

/* Mobile */
@media (max-width: 640px) {
    .hidestuff-mobile {
        display: none;
    }

}

/* Tablet */
@media (min-width: 641px) {
    .hidestuff-tablet {
        display: none;
    }

}

#Page {
    margin: 0;
}

#Page h2:first-child {
    margin-top: 5px;
}

/* Mobile */
@media (max-width: 640px) {
    #Page article {
        margin: 20px 10px;
    }

}

/* Tablet */
@media (min-width: 641px) {
    #Page article {
        margin: 30px 10px;
    }

}

.half-1 {
    width: 46%;
    margin: 0 8% 0 0;
    float: left;
}

.half-2 {
    width: 46%;
    margin: 0;
    float: left;
}

.twothirds {
    float: left;
    width: 66%;
    margin: 0 4% 0 0;
}

.onethird {
    width: 30%;
    margin: 0;
    float: left;
}

/*Mobile */
@media (max-width: 640px) {
    .noColumnOnMobile {
        float: none !important;
        margin: 0 !important;
        width: 100% !important;
    }

}

.onethirds-1_2-wrapper {
    padding: 0;
    margin: 0;
    float: left;
    width: 65%;
}

.onethird-1 {
    width: 46%;
    margin: 0 8% 0 0;
    float: left;
}

.onethird-2 {
    width: 46%;
    margin: 0;
    float: left;
}

.onethird-3 {
    width: 30%;
    float: left;
    margin: 0 0 0 5%;
}

.contactInfo p {
    margin: 0;
}

.contactInfo span {
    margin-right: 5px;
}

.contactInfo {
    padding: 1em 0;
}

#contactImage{
    margin: 0 auto 15px;
    width: 150px;
    height: auto;
}

#Contact article {
    margin: 12px 10px 30px;
}

#Contact h2:first-child {
    margin: 0;
}

#MainLogo {
    text-align: center;
    max-width: 100%;
    display: block;
    margin: 0;
    padding: 30px 0;
}

#MainLogo img {
    width: auto; /* Set width for logo */
    display: inline-block;
}

.cAlignLeft, .alignleft {
    float: left;
}

.cAlignRight, .alignright {
    float: right;
}

.alignright{
    margin: 5px 0 5px 10px;
}

.aligncenter {
    margin: 5px auto;
}

.alignleft{
    margin: 5px 10px 5px 0;
}

.cOverflow {
    overflow: hidden;
}

.cBlock {
    display: block;
}

.flexslider {
    margin-bottom: 7px;
    height:auto;
    margin: 0;
    overflow: hidden !important;
    padding: 0;
    width: 100%;
    background: none!important;
}

.flexslider_port{
    overflow: hidden !important;
}

.cBoth {
    clear: both;
}

a {
    color: #a4a1a2;
    text-decoration: none;

    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}

a:hover {
    color: #cb5432;
}

a {
    text-decoration: none;
}

#container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 5px;
    overflow: hidden !important;
}

.webicons {
    font-family: 'WebSymbolsRegular';
}

.social-icons {
    font-family: 'SocialicoRegular';
    font-size: 37px;
    position: relative;
}

.tooltip_wrapper {
    position: relative;
}

.tooltip_wrapper:hover .tooltip{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

.MainNavigation {
    text-transform: uppercase;
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
}

.MainNavigation li {
    display: block;
    float: left;
    position: relative;
    padding: 10px 20px 20px;
}

.MainNavigation a {
    color: #a4a1a2;
}

.MainNavigation a:hover,.current_page_item > a {
    color: #fefefe !important;
}

.MainNavigation ul{
    margin: 0;
	padding: 0;
}

@media (max-width: 640px) {
    nav ul {
        display: none;
    }

    nav select, #MobileNavigation {
        display: block;
    }

}

nav {
    padding: 0 15px 15px;
}

@media (min-width: 641px) {
    nav ul {
        display: block;
    }

    nav select, #MobileNavigation {
        display: none;
    }


}


/* Tablet Dropdown */
@media (min-width: 641px) {
    #Header-nav{
        margin: 0 auto;
        text-align: center;
    }
    nav{
        padding: 0;
    }
    .MainNavigation{
        display: inline-block;
    }

    .sub-menu{
        position: absolute;
        height: 100%;
        z-index: 999;
        padding: 0;
        top: 35px;
    }
    .sub-menu li{
        float: left;
        display: block;
        text-align: left;
        border-top: 1px dotted #525252;
        width: 100%;
        background: url('images/darker_bg.png'); /* DONE */
        margin: 0;
        padding: 0;
    }
    .sub-menu a{
        padding: 7px 50px 7px 10px;
        display: block;
    }
    .sub-menu li:first-child{
        border-radius: 5px 5px 0 0;
        border: none;
        -moz-border-radius: 5px 5px 0 0;
        -webkit-border-radius: 5px 5px 0 0;
    }
    .sub-menu li:last-child{
        border-radius: 0 0 5px 5px;
        -moz-border-radius: 0 0 5px 5px;
        -webkit-border-radius: 0 0 5px 5px;
    }
}

#MobileNavigation{
    position: relative;
    margin: 0 auto;
    width: 280px;
    padding-bottom: 50px;
}

#MobileNavTrigger {
    background: url('images/mobile_menu_bg.png') no-repeat;
    background-position: left;
    color: white;
    position: absolute;
    z-index: 200;
    height: 40px;
    width: 100%;
    line-height: 40px;
    padding-left: 15px;
    color: #a4a1a2;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (-moz-min-device-pixel-ratio: 2),
	only screen and (-o-min-device-pixel-ratio: 2/1),
	only screen and (min-device-pixel-ratio: 2) {

	#MobileNavTrigger {
	    background: url('images/mobile_menu_bg@2x.png') no-repeat;
	    background-size: 284px 40px;
	}
}

nav select {
    position: absolute;
    width: 280px;;
    margin: 0 auto;
    height: 40px;
    opacity: 0;
    margin-left: 3px;
    z-index: 205;
}

header {
    border-top: 4px solid #3d3d3d;
    margin: 0;
    padding: 0;
    background: url('images/dark_bg.png'); /* DONE */
}

input,textarea, .pagination a, .pagination span {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-bottom: 2px solid #e3e3e3;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    padding: 7px 10px;
    font-size: 12px;
    color: #a4a1a2;
}

input:focus,textarea:focus {
    outline: none;
    border: 1px solid #d3d3d3;
    border-bottom: 2px solid #d3d3d3;
}

label {
    font-size: 12px;
    color: #484848;
    line-height: 31px;
    width: 115px;
    display: inline-block;
}

input[type="button"],input[type="submit"],input[type="reset"],.pagination a, .pagination span  {
    padding: 7px 15px;
    text-transform: uppercase;
    cursor: pointer;
    margin: 3px 6px 3px 0;
}

#message {
    margin: 10px 0;
    padding: 0;
}

.pagination a, .pagination span {
    padding: 5px 10px;
}

.pagination{
    margin: 0 10px 25px;
}

.error_message {
    display: block;
    line-height: 22px;
    background: #FBE3E4 url('assets/error.png') no-repeat 10px 6px;
    padding: 3px 10px 3px 35px;
    color: #8a1f11;
    border: 1px solid #FBC2C4;

    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (-moz-min-device-pixel-ratio: 2),
	only screen and (-o-min-device-pixel-ratio: 2/1),
	only screen and (min-device-pixel-ratio: 2) {

	.error_message {
	    background: #FBE3E4 url('assets/error@2x.png') no-repeat 10px 6px;
	    background-size: 17px;
	}
}

ul.error_messages {
    margin: 0 0 0 15px;
    padding: 0;
}

ul.error_messages li {
    height: 22px;
    line-height: 22px;
    color: #333;
}

.required {
    color: #8a1f11;
}

.loader {
    padding: 0 10px;
}

#contact #success_page h1 {
    background: url('assets/success.png') left no-repeat;
    padding-left: 22px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (-moz-min-device-pixel-ratio: 2),
	only screen and (-o-min-device-pixel-ratio: 2/1),
	only screen and (min-device-pixel-ratio: 2) {

	#contact #success_page h1 {
	    background: url('assets/success@2x.png') left no-repeat;
	    background-size: 16px 17px;
	}
}

dt {
    font-weight: bold;
}

dd {
    font-style: italic;
    margin-left: 10px;
}

pre code {
    line-height: 1.4em;
    padding: 1em;
    margin: 0;
    border: 1px dashed #C9C9C9;
    color: black;
    background-color: #F9F9F9;
    display: block;
    white-space: normal;
    overflow: auto;
    color: #292929 !important;
    margin-bottom: 20px;
}

pre{
    color: #a4a1a2;
    white-space: normal;
}

code {
    font-size: 13px;
    color: #292929 !important;
    background-color: #F9F9F9 !important;
}

table {
    line-height: 1.4em;
    margin: 0;
    border: 1px dashed #C9C9C9;
    color: black;
    background-color: #F9F9F9;
    padding: 0;
}

td {
    padding: 10px;
    background: #fefefe;
}

td:first-child {
    border-left: none;
}

th {
    padding: 3px 10px;
    background-color: #F9F9F9;
    text-align: center;
}

input[type="button"],input[type="submit"],input[type="reset"], .pagination a, .pagination span  {
    background: url('images/light_bg.png'); /* DONE */
}

input[type="button"]:hover,input[type="submit"]:hover,input[type="reset"]:hover, .pagination a:hover, .pagination span:hover   {
    border: 1px solid #d3d3d3;
    border-bottom: 2px solid #d3d3d3;
}

input[type="button"]:active,input[type="submit"]:active,input[type="reset"]:active, .pagination a:active, .pagination span:active   {
    -webkit-transition: none;
    -moz-transition: none;
    -o-transition: none;
    -ms-transition: none;
    transition: none;
    border-bottom-width: 1px;
    border-top-width: 2px;
}

span.current{
    background: #fefefe;
}

input.Bblue {
    background: #b2dbf2;
    color: white;
    border-color: #88a6b6;
}

input.Bblue:hover {
    border-color: #9dc1d5;
}

input.Bred {
    background: #e29a9a;
    color: white;
    border-color: #ac6a6a;
}

input.Bred:hover {
    border-color: #e18585;
}

input.Bgreen {
    background: #b5d674;
    color: white;
    border-color: #8e9e70;
}

input.Bgreen:hover {
    border-color: #adbd8d;
}

input.Bdark {
    background: #737373;
    color: white;
    border-color: #393939;
}

input.Bdark:hover {
    border-color: #636363;
}

input.Bgrey {
    background: url('images/light_bg.png'); /* DONE */
}

input.Borange {
    color: white;
    background: #ed8e72;
    border-color: #b15b41;
}

input.Borange:hover {
    border-color: #ec7754;
}

.highlightGreen {
    color: white;
    background: #b5d674;
}

.highlightBlue {
    background: #b2dbf2;
    color: white;
}

.highlightDark {
    background: #737373;
    color: white;
}

.highlightGrey {
    color: white;
    background: #a4a1a2;
}

.highlightOrange {
    color: white;
    background: #ed8e72;
}

.highlightRed {
    background: #e29a9a;
    color: white;
}

hr {
    border: none;
    border-bottom: 1px dotted #e3e3e3;
}

/**************************
 *           BLOG          *
 ***************************/

.gallery{
    margin-bottom: 0px;
}

article {
    background: white;
    overflow: hidden;

    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1);
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    margin: 30px 0 50px;
}

.contactform {
    margin: 0 10px 20px;
}

.contactform h4 {
    margin-bottom: 20px !important;
}

.title {
    font-size: 20px;
    margin: 20px 0;
}

/* Mobile */
@media (max-width: 640px) {
    .contactform textarea {
        width: 93% !important;
    }

}

/* Tablet */
@media (min-width: 641px) {
    .contactform textarea {
        width: 70%;
    }

}

#Blog article h2 {
    margin: 10px 0;
}

#Blog article h2:first-child {
    margin: 5px 0 10px;
}

#Blog {
    margin: 0 10px;
}

#Blog article .webicons, article .webicons {
    margin-right: 8px;
}

.article-info span{
    color: #a4a1a2 !important;
}

.article-info .webicons{
    color: #484848 !important;
}

.article-info p {
    color: #a4a1a2;
    line-height: 16px;
    display: inline;
    margin-right: 15px;
}

.article-info p:last-child {
    margin-right: 0;
}

.article-footer {
    border-top: 1px dotted #d4d4d4;
}

.article-info span {
    color: #484848;
}

.blogImg {
    width: 100% !important;
    height: auto !important;
}

.blogImg img {
    width: 100% !important;
    height: auto !important;
}

figure {
    margin: 0;
}

video {
    width: 100% !important;
    height: auto !important;
}

.article-info-social .social-icons {
    font-size: 30px !important;
}

.article-info-social {
    margin: 0;
}

blockquote {
    font-size: 12px;
    line-height: 30px;
    margin-left: 10px;
    color: #a4a1a2;
}

.headline-blockquote {
    margin: 0 0 7px;
    padding: 25px;
    font-size: 20px;
    color: #D3D3D3;
    line-height: 30px;
    text-align: center;
    background: url('images/darker_bg.png'); /* DONE */

    -webkit-box-shadow: inset 0 0 55px rgba(0,0,0,.3);
    -moz-box-shadow: inset 0 0 55px rgba(0,0,0,.3);
    box-shadow: inset 0 0 55px rgba(0,0,0,.3);
}

.featured-link {
    margin: 0 0 7px;
    padding: 25px;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    background: url('images/darker_bg.png'); /* DONE */

    -webkit-box-shadow: inset 0 0 55px rgba(0,0,0,.3);
    -moz-box-shadow: inset 0 0 55px rgba(0,0,0,.3);
    box-shadow: inset 0 0 55px rgba(0,0,0,.3);
}

.featured-link a {
    color: #D3D3D3;
}

.featured-link a:hover {
    color: #cb5432;
}

.article-footer p {
    margin: 10px 0 5px;
    line-height: 20px;
}

.SingleArt {
    margin: 30px 0;
}

.content {
    padding: 10px 15px 5px;
}

#Comments {
    padding: 0;
    list-style: none;
    margin-bottom: 40px;
}

#Comments > li {
    margin: 20px 15px 40px;
}

.CommentInfo {
    width: 80px;
    float: left;
    bottom: 0;
}

.CommentInfo h4 {
    text-align: center;
    margin: 0;
    padding: 0;
    font-size: 11px;
}

.CommentInfo p {
    font-size: 9px;
    color: #a4a1a2;
    line-height: 0;
    text-align: center;
}

.CommentBuble {
    background: white;
    padding: 5px 15px;
    margin-left: 95px;
    position: relative;

    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.1);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.1);
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
}

.CommentBuble:before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    top: 100%;
    left: 10px;
    border-width: 7px;
    border-color: white transparent transparent white;
    border-style: solid;
}

/* Mobile */
@media (max-width: 640px) {
    .CommentInfo img {
        width: 40px;
        height: auto;
    }
    .CommentInfo {
        width: 40px;
    }
    .CommentBuble {
        margin-left: 55px;
    }
    .CommentInfo h4 {
        font-size: 10px;
    }
    .CommentInfo p {
        font-size: 7px;
    }
}

/* Tablet */
@media (min-width: 641px) {
    .CommentInfo img {
        width: 80px;
        height: auto;
    }
    .CommentInfo {
        width: 80px;
    }
    .CommentBuble {
        margin-left: 95px;
    }
    .CommentInfo h4 {
        font-size: 11px;
    }

    .CommentInfo p {
        font-size: 9px;
    }
}

#Blog_Alt{
    overflow: hidden;
    margin-bottom: 30px;
    padding: 0;
}

.Alternative-Blog article{
    max-width: 235px;
    display: block;
    overflow: hidden;
    margin: 10px;
}

.two-column-Blog article {
    max-width: 330px;
    display: block;
    overflow: hidden;
    margin: 10px;
}

.featured-article{
    max-width: 680px;
    display: block;
    overflow: hidden;
    margin: 20px auto 10px;
}

.blog-two-columns {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 5px;
    overflow: hidden !important;
}

.centered-pagin {
    max-width: 700px;
    margin: 15px auto;
    padding: 0 5px;
}

/* Mobile */
@media (max-width: 640px) {
    .Alternative-Blog article, .two-column-Blog article{
        margin: 30px auto;
        max-width: 640px;
        float: none !important;
        top: 0;
        position: relative !important;
        transform: translate3d(0,0,0)!important;
        -webkit-transform: translate3d(0,0,0)!important;
        -moz-transform: translate3d(0,0,0)!important;
    }
    .Alternative-Blog article:after{
        content: ' ';
        display: none;
        clear: both;
        position: absolute !important;
    }

	.featured-article{
	    max-width: 640px;
	    display: block;
	    overflow: hidden;
	    margin: 20px 10px 10px;
	}

}

/* Tablet */
@media (min-width: 641px) {
    .Alternative-Blog article{
        margin: 10px;
    }

}

.margin-bot{
    margin-bottom: 5px;
}


/**************************
 *          =BLOG          *
 ***************************/




/***************************
 ****       FOOTER       ****
 ****************************/
#mainFooter,#mainHeader {
    background: url('images/dark_bg.png'); /* DONE */
}

#mainFooterWrapper {
    max-width: 700px;
    margin: 0 auto;
}

#mainFooter,#mainFooter p,#mainFooter span {
    font-size: 11px;
    line-height: 20px;
    color: #d3d3d3;
}

#botFooter {
    border-top: 1px dotted #727272;
    text-transform: uppercase;
    font-size: 10px !important;
    height: 60px;
    line-height: 60px;
    overflow: hidden;
    color: #a4a1a2;
}

#navFooter {
    list-style: none;
    margin: 0;
    padding: 0;
}

div.navFooterBackup ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#botFooter a {
    text-decoration: none;
    color: #a4a1a2;
}

#botFooter a:hover {
    text-decoration: none;
    color: #fefefe;
}

#labelFooter a {
    color: #fefefe;
}

#labelFooter a:hover {
    color: #cb5432;
}

#navFooter li, div.navFooterBackup ul li {
    float: left;
    margin-right: 20px;
}

#labelFooter {
    font-size: 10px !important;
    float: right;
    color: #a4a1a2 !important;
    line-height: 60px !important;
}

#widgetsFooter {
    overflow: hidden;
    max-width: 700px;
}

.widgetFooter h4 {
    color: #a4a1a2;
    font-size: 14px;
    text-transform: uppercase;
    border-bottom: 1px dotted #727272;
    font-weight: normal;
    padding-bottom: 5px;
}

.widgetFooter ul{
    margin-left: 0;
    padding-left: 25px;
}

.widgetTwitterWrapper {
    position: relative;
}

.widgetTwitterDate {
    position: absolute;
    left: 40px;
    bottom: 3px;
    text-align: center;
    width: 85px;
    color: #a4a1a2;
}

.widget_recent_entries ul {
    margin: 0;
    padding-left: 10px;
    text-transform: capitalize;
    font-size: 11px;
    list-style: none;
}

.widget_recent_entries ul li:before {
    content: '» ';
    color: #f3f3f3 !important;
}

.widget_recent_entries ul span {
    font-size: 11px;
}

.widget_archive ul {
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-transform: capitalize;
    font-size: 11px;
    list-style: none;
}

.widget_archive ul li {
    width: 50%;
    float: left;
}

/* Mobile */
@media (max-width: 640px) {
    .widgetFooter,#botFooter {
        color: #fefefe;
        width: 90%;
        margin: 20px auto;
        display: block;
    }

    #navFooter {
        display: block;
        overflow: hidden;
        width: 100%;
        text-wrap: normal;
    }

    #labelFooter {
        display: none;
    }

    #botFooter {
        margin: 0 auto;
    }

}

/* Tablet */
@media (min-width: 641px) {
    .widgetFooter {
        color: #fefefe;
        width: 197px;
        margin: 15px 52px 35px 0;
        float: left;
    }

    .widgetFooter:nth-child(3n+3) {
        margin-right: 0 !important;
    }

}

/***************************
 ***       =FOOTER        ***
 ****************************/
/**************************
 *        PORTFOLIO        *
 ***************************/
.portfolioPrev {
    list-style: none;
    padding: 0;
    text-align: center;
}

.portfolioPrev li {
    display: inline-block;
    margin: 25px;
}

.portfolioPrev h4 {
    font-size: 14px;
    margin: 0;
}

.portfolioPrev p {
    margin: 0;
}

.attachment-portfolio-thumb{
    margin-bottom: 5px;
}

/* Mobile */
@media (max-width: 640px) {
    .portfolioPrev li {
        width: 296px;
        margin: 15px auto;
    }

    .portfolioPrev li img {
        width: 296px;
        height: 185px;
    }

    .Portfolio-img{
        width: 296px !important;
        height: 185px!important;
        margin-bottom: -2px !important;
    }

}

@media (max-width: 320px) {
    .portfolioPrev li {
        width: 220px;
        height: auto;
        margin: 15px auto;
    }

    .portfolioPrev li img {
        width: 220px;
        height: 137px;
    }

    .Portfolio-img{
        width: 220px !important;
        height: 137px!important;
        margin-bottom: -2px !important;
    }

}

/* Tablet */
@media (min-width: 641px) {
    .portfolioPrev li {
        width: 318px;
        height: auto;
        margin: 25px 15px;
    }

    .portfolioPrev li img {
        width: 318px;
        height: 199px;
    }

    .Portfolio-img{
        width: 318px !important;
        height: 199px!important;
        margin-bottom: -2px !important;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .ProjectContent {
        width: 94%;
        margin: 0 3%;
    }

    .ProjectContent .content {
        margin: 0 0px;
    }

    .ProjectInfo {
        max-width: 640px;
        margin: 15px 15px 0;
    }

}

/* Tablet */
@media (min-width: 641px) {
    .ProjectContent {
        width: 460px;
        margin: 0 30px 0 0;
        float: left;
    }

    .ProjectInfo {
        width: 210px;
        float: right;
        margin: 0;
    }

}

.ProjectInfo h4 {
    font-size: 14px;
    margin: 25px 0 15px;
    color: #a4a1a2 !important;
    padding-bottom: 3px;
    border-bottom: 1px dotted #a4a1a2;
}

.ProjectInfo h4:first-child {
    margin-top: 0;
}

.ProjectContent h2 {
    margin-top: 5px;
}

.ProjectInfo p {
    margin: 5px 0;
    color: #a4a1a2;
}

.ProjectInfo span.webicons {
    color: #484848;
    margin-right: 5px;
}

#porftolio {
    margin: 12px 0 30px;
}

.ProjectInfo .social-icons {
    font-size: 37px;
}

.flex-control-nav {
    text-align: center;
    margin-bottom: 0;
}

.flex-control-nav li {
    display: inline-block;
}

.flex-control-nav li a {
    background: #D3D3D3;
    font-size: 1px !important;
    color: #D3D3D3;
    padding: 3px 25px;
    margin-right: 10px;
    cursor: pointer;

    -webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    -o-transition: background .2s ease-in-out;
    -ms-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
}

.flex-control-nav li a:hover,.flex-control-nav li a.flex-active {
    background: #727272;
    color: #727272;
}

.flex-control-nav li:last-child a {
    margin-right: 0;
}

.loader{
    display: inline;
}

#Blog .flex-control-nav li a {
    padding: 3px 10px;
    margin-right: 5px;
}

#Blog .flex-control-nav{
    position: relative;
    top: -30px;
    height: 0;
    opacity: .7;
}

.social-icons:hover .tooltip {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
    opacity: 1;
}

.tooltip {
    background: #484848;
    color: #D3D3D3;
    font-size: 10px;

    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    position: absolute;
    width: 60px;
    text-align: center;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    top: -25px;
    left: -15px;
    z-index: 99;

    -webkit-transition: opacity .2s ease-in-out;
    -moz-transition: opacity .2s ease-in-out;
    -o-transition: opacity .2s ease-in-out;
    -ms-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out;
}

/**************************
 *        =PORTFOLIO       *
 ***************************/

.wp-caption-text{
    margin: 3px auto;
    text-align: center;
    font-style: italic;
    color: #a4a1a2;
}




/****************************
 *        =SHORTCODES       *
 ***************************/

.s_onehalf{
    width: 47.5%;
    float: left;
    margin: 0 5% 0 0;
}

.s_onethird{
    width: 30%;
    float: left;
    margin: 0 5% 0 0;
}

.s_onefourth{
    width: 21.25%;
    float: left;
    margin: 0 5% 0 0;
}

.s_twofourths{
    width: 47.5%;
    float: left;
    margin: 0 5% 0 0;
}

.s_threefourths{
    width: 73.75%;
    float: left;
    margin: 0 5% 0 0;
}

.s_twothirds{
    width: 65%;
    float: left;
    margin: 0 5% 0 0;
}

.last{
    margin: 0;
}

.recent_posts{
    padding-left: 10px;
    list-style: none;
}

.recent_posts li:before{
    content: '» ';
    color: #a4a1a2;
}

.toggle_title{
    padding: 5px 10px;
    -webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    -o-transition: background .2s ease-in-out;
    -ms-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
    margin: 0;
}

.toggle_title:hover{
    background: #ec7754;
    cursor: pointer;
}

.toggle_content{
    display: none;
    padding: 5px 10px;
    border: 1px dashed #C9C9C9;
    color: black;
    background-color: #F9F9F9;
}



.isotope-item {
    z-index: 2;
}

.isotope-hidden.isotope-item {
    pointer-events: none;
    z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.isotope {
    -webkit-transition-property: height, width;
    -moz-transition-property: height, width;
    -ms-transition-property: height, width;
    -o-transition-property: height, width;
    transition-property: height, width;
}

.isotope .isotope-item {
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property:    -moz-transform, opacity;
    -ms-transition-property:     -ms-transform, opacity;
    -o-transition-property:         top, left, opacity;
    transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    -ms-transition-duration: 0s;
    -o-transition-duration: 0s;
    transition-duration: 0s;
}

#search-input{
    margin: 0 auto;
    text-align: center;
}


#search-input input{
    margin: 10px -4px;
}

#search-input input [type="submit"]:active{
    border-bottom-width: 2px !important;
    border-top-width: 1px !important;
}

#search-input-wrapper{
    margin: 0 auto 20px;
    text-align: center;
}

#back-top{
    display: block;
    text-align: center;
    font-family: 'Oswald', sans-serif;
    padding: 10px 0 15px;
}

.fixedHeader #Blog_Alt {
	margin-top: 15px;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.video-container iframe,  
.video-container object,  
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
