@import url("fonts.css");
@import url("media.css");

@media only screen {
    html, body {
        font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 12px;
        color: #333333;
        background-color: #F9F9F9;
    }

    /* FONTS */
    input {
        border-color: #E5E5E5;
        padding: 0.6em;
        font-weight: normal;
        background-color: #F9F9F9;
        -webkit-transition: border 0.3s;
        -moz-transition: border 0.3s;
        -o-transition: border 0.3s;
        transition: border 0.3s;
    }

    input[type="file"] {
        border: none;
        padding: 0;
        width: auto;
        background: transparent;
    }

    textarea {
        border-color: #E5E5E5;
        padding: 0.6em;
        background-color: #F9F9F9;
        -webkit-transition: border-color 0.3s;
        -moz-transition: border-color 0.3s;
        -o-transition: border-color 0.3s;
        transition: border-color 0.3s;
    }

    input:focus,
    textarea:focus {
        border: 1px solid #cccccc;
        outline: none;
        -webkit-transition: border 0.3s;
        -moz-transition: border 0.3s;
        -o-transition: border 0.3s;
        transition: border 0.3s;
    }

    input[type="submit"] {
        margin: 0.5em 0 0 0;
        border: 1px solid #2487D7;
        padding: 0.6em 2em;
        width: auto;
        color: #2487D7;
        background-color: white;
        -webkit-transition: background-color 0.3s;
        -moz-transition: background-color 0.3s;
        -o-transition: background-color 0.3s;
        transition: background-color 0.3s;
    }

    input[type="submit"]:hover,
    input[type="submit"]:active {
        cursor: pointer;
        color: white;
        border-color: #135995;
        background-color: #2487D7;
        -webkit-transition: border 0.3s, color 0.3s, background-color 0.3s;
        -moz-transition: border 0.3s, color 0.3s, background-color 0.3s;
        -o-transition: border 0.3s, color 0.3s, background-color 0.3s;
        transition: border 0.3s, color 0.3s, background-color 0.3s;
    }

    select {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
        overflow: hidden;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        display: block;
        clear: both;
        border: 1px solid #E5E5E5;
        border-radius: 0;
        padding: 0.6em;
        height: 32px;
        width: 100%;
        max-width: 100%;
        font-weight: normal;
        background: url('../images/select.png') no-repeat right white;
        background-size: auto 100%;
    }

    select option { padding: 0.6em; }


    /* Media */
    .wp-caption {
        text-align: center;
    }

    .wp-caption-text {
        line-height: 15px;
        padding-top: 5px;
        margin: 0;
    }


    /* Header */
    .header-content {
        border-right: 1px solid #E5E5E5;
        border-left: 1px solid #E5E5E5;
        background-color: white;
    }

    .meta {
        border-right: 1px solid #E5E5E5;
        border-left: 1px solid #E5E5E5;
        background-color: white;
    }





    /* Category */
    .category-description {
        display: inline-block;
        border-left: 1px dashed #aaaaaa;
        margin: 0 0 0 30px;
        padding: 10px 0 0 10px;
        font-size: smaller;
        color: #aaaaaa;
    }

    /* Excerpt */
    .entryTypePostExcerpt .entryTitle {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 1.3em;
    }

    .excerpt-thumbnail {
        box-sizing: border-box;
        float: left;
        margin-top: 5px;
        margin-right: 15px;
    }

    .excerpt p { margin-top: 15px; }


    /* Sidebar */
    aside input:focus { border-right: none; }

    aside .widget,
    aside .menu ul { border-bottom: 1px solid #555555; }

    .postmeta-section {
        border: 1px solid #777777;
        background-color: #555555;
    }

    .postmeta .categories {
        border-top: none;
        border-bottom: none;
        border-right: none;
        border-left: none;
        background-color: transparent;
    }

    .postmeta .tags,
    .postmeta .related {
        border-top: 1px solid #555555;
        border-bottom: none;
        border-right: none;
        border-left: none;
        background-color: transparent;
    }


    /* Footer */
    footer input {
        border-right: none;
        background: white;
    }

    footer input:focus { border-right: none; }

    footer .dynamic-sidebar-widget { padding: 0; }
}


@media only screen and (min-width:768px){
    /* Fonts */
    input { width: 60%; }

    /* Header */
    header.container-menu-side-open {
        width: 100%;
        margin-left: 0;
        padding-right: 15px;
    }

    header.container-menu-side-open .header-content {
        width: auto;
        margin-left: 200px;
    }

    header.container-aside-open {
        width: 100%;
        margin-right: 0;
        padding-right: 315px;
    }

    header.container-aside-open .header-content {
        width: inherit;
        margin-right: 300px;
    }

    .meta-search-form input:focus { width: 100%; }


    /* Content */


    /* Sidebar */
    .aside-container {
        background: transparent;
    }

    aside .widget,
    aside .menu,
    aside .menu ul { color: #4D4D4D; }

    aside .widget,
    aside .menu ul { border-bottom: 1px solid #E5E5E5; }

    .postmeta { color: #4D4D4D; }

    .postmeta-section {
        border: 1px solid #DDDDDD;
        background-color: #E5E5E5;
    }

    .postmeta .tags,
    .postmeta .related { border-top: 1px solid #E5E5E5; }
}

/* Custom Header */

@media only screen and (max-width:1378px){
	#blog-title-text{
		display: block;
	}
	
	#blog-title-image{
		display:none;
	}
}

@media only screen and (min-width:1378px){
	#blog-title-text{
		display: none;
	}
	
	#blog-title-image{
		display:block;
		/*background-image: url('../images/cm/header_bg.gif');*/
		background-position: left 72px;
		background-repeat: no-repeat;
		height: 72px;
		background-color: #ffffff;
		width: 1248px;
		margin-left: auto;
		margin-right: auto;
	}
	
	#blog-title-image-header-body{
		background-color: #ffffff;
		background-image: url('../images/cm/t-logo_bg.gif');
		background-position: 6px top;
		background-repeat: no-repeat;
		height: 72px;
	}
	
	#blog-title-image-client-logo{
		background-image: url('../images/cm/t-logo.gif');
		height: 72px;
		left: 6px;
		position: relative;
		width: 144px;
	}
	
	#blog-title-image-headline{
		background-image: url('../images/cm/header_font.png');
		height: 60px;
		width: 160px;
		
	}
}

