/* Theme Name: techtextil */
body { 
    margin: 0;
    padding: 0;
    background: #D3D3D3; 
    width: 100%;
    background: url(img/body-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/body-2.png*/;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
}

.clear { 
    clear: both; 
}

.container {
    margin: auto;
    width: 1000px;
}

div#header {
    height: 270px;
}

div#top-header {
    width: 100%;
    height: 50px;
    background: url(img/top-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/top-2.png*/;
}


div#search {
    height: 50px;
    color: white;
    font-size: 12px;
}

div#search p {
    width: 770px;
    line-height: 50px;
    font-size: 14px;
    margin: 0;
    padding: 0;
    float: left;
}

div#search form { 
    background: url(img/search-form-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/search-form-2.png*/; 
    float: right;
    height: 25px;
    line-height: 25px;
    margin-top:12px;
    padding: 0 10px;
    width: 210px; 
}


div#search input {
    border: 0;
    background: none;
    color: #888888;
    font-size: 12px;    
    font-family: 'Source Sans Pro', sans-serif;
}


#searchform {
    height: 28px;
    width: 270px;
}

#searchform label {
    display: none;
}

#searchform input[type="text"] {
    border: 1px solid #aaaaaa;
    float: left;
    height: 26px;
    padding: 0 5px;
    width: 190px;
}

#searchform input[type="submit"] {
    background: #aaaaaa;
    color: white;    
    cursor: pointer;
    border: 0;
    float: right;
    font-size: 13px;
    font-weight: bold;
    height: 28px;
    line-height: 28px;
    text-align: center;
    width: 68px;
}

div#center-header {
    height: 200px;
}

div#logo {
    float: left;
    width: 300px;
    height: 200px;
}

div#slider {
    float: right;
    width: 700px;
    height: 140px;
    padding-top: 20px;
}

div#menu {
    height: 50px;
    background: url(img/menu-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/menu-2.png*/;
    padding: 10px 10px 0 10px;
    font-size: 14px;
    text-shadow: 0.1em 0.1em 0.2em black
}

div#menu ul {
    margin: 0;
    padding: 0;
}

div#menu ul, div#menu ul li {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
}

div#menu ul {
    float: left;
    padding: 1px 0 1px 1px;
}

div#menu ul li {
    float: left;
    background: url(img/menu-separator-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/menu-separator-2.png*/no-repeat;
}

div#menu ul li:first-child {
    background: none;
}

div#menu ul a:link, div#menu ul a:visited {
    text-decoration: none;
    display: block;
    color: #fff;
    padding: 10px 10px;
}

div#menu ul a:hover {
    background-image: url(img/menu-active-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/menu-active-2.png*/;
}

div#menu li.current_page_item a {
    background: url(img/menu-active-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/menu-active-2.png*/;
}

div#breadcrumbs {
    height: 30px;
    line-height: 30px;
    border-bottom: 1px solid #dbdbdb;
    background-color: #ebebeb;
    padding-left: 10px;
    width: 990px !important;
}

div#breadcrumbs a{
    color: #F36C4F;
    text-decoration: none;
}

div#outer-main {
    width: 100%;
    background: white url(img/main-bottom-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/main-bottom-2.png*/ center repeat-y;
    overflow: hidden;
}

div#inner-main {
    padding: 0 10px;
    background: url(img/main-top-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/main-top-2.png*/ no-repeat;
    overflow: hidden;
}

div#main-box {
    min-height: 400px;
    width: 640px;
    float: left;
    padding-left: 30px; 
    padding-right: 30px;
}

div#sidebar {
    width: 300px;
    min-height: 400px;
    float: right;
}

div#foot {
    height: 40px;
    width: 100%;
}

div#footer {
    font-size: 11px;
    height: 40px;
    line-height: 40px;
    clear: both;
    background: url(img/footer-2.png)/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/footer-2.png*/;
    padding: 0 9px;

}

div#footer div#left {
    float: left;
    color: white;
    padding: 0 10px;
}

div#footer div#right {
    float: right;
    color: white;
    padding: 0 10px;
}


div#footer a {
    color: white;    
}


div.thumbnail {
    width: 150px;
    float: left;
    height: 150px;
    overflow:hidden;
}

div.entry-content {
    float: left;
    width: 480px;
    padding-left: 10px;
}

div.entry-content.wide {
    width: 630px;
}

.entry h3 { margin:0; padding:0;}

.entry { padding-bottom: 20px; border-bottom: 1px solid #DBDBDB;margin-bottom: 20px; overflow: hidden}
.entry h1 { font-size: 32px; font-weight: normal; margin-bottom: 4px; }
.entry h1 a { color: black; text-decoration: none; }
.entry p.entry-date { font-size: 12px; margin-bottom: 8px; }

.entry p { line-height: 19px; margin-top: 5px; }
.entry a.more-link { color: black; text-decoration: none; }
.entry a { color: black; text-decoration: none; }

.widget { margin-bottom: 40px; margin-left: 20px;}
.widget h2 { font-size: 18px; font-weight: normal; margin-bottom: 10px; }
.widget p { line-height: 19px; margin-top: 5px; }
.widget a { color:black; text-decoration: none; }
.widget ul { margin:0; padding:0; list-style: none;}
.widget li { background: url('img/pointer-2.png')/*tpa=http://tech-textil.ru/wp-content/themes/textil/img/pointer-2.png*/ no-repeat left center;width: 250px;border-bottom: 1px dotted black; padding: 2px 0 2px 12px; }
/*
.customThumb {
    border: 2px solid #CFCFCF;
    display: inline-block;
    height: 150px;
    width: 150px;
    overflow: hidden;
}
*/
.gallery .gallery-icon a {
    border: 2px solid #CFCFCF;
    display: inline-block;
    height: 150px;
    line-height: 150px;
    width: 150px;
}

.gallery .gallery-icon a img {
    border: 0 !important;
    vertical-align: middle;
}

.entry a img.ico {
    margin-left: 4px;
}

.entry a {
    color: #F36C4F !important;
}


.tab {
    display: block;
    height: 100px;
    position: absolute;
    left: -150px;
    width:200px;
    overflow: hidden;

    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 8px;
    -moz-border-radius-bottomright: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;

    -webkit-transition: left 0.5s ease-out;
    -moz-transition: left 0.5s ease-out;
    -o-transition: left 0.5s ease-out;
    transition: left 0.5s ease-out;
}

.tab:hover {
    left: 0px;
}

.tab.first {
    top: 320px;
}


.tab.second {
    top: 430px;
}


.tab.third {
    top: 540px;
}


.tab.fourth {
    top: 650px;
}

.tab.fifth {
    top: 760px;
}

.tab.sixth {
    top: 870px;
}

.tab.seventh {
    top: 980px;
}



