/*    CSS-Framework

    Version        : 0.21
    File name    : cssf-base.css
    Description    : Styles for webdewelopers
    Author        : Aleksej Romanovskij (http://css-framework.ru)
    
------------------------------ */

/* Utilites
------------------------------ */

* { margin: 0; padding: 0; }

*:focus { outline: none; }
.hidden { display: none; }
.show { display: block!important; }
.no-margin { margin: 0!important; }
.no-padding { padding: 0!important; }
.no-bg { background: none!important; }
.no-border, img { border: none!important; }

.container { overflow: hidden; }
.img-repl { text-indent: -9999px; overflow: hidden; display: block; }
.clear {clear: both;}

/* Main custom rules
------------------------------ */

html { font: .75em/1.5 Verdana, Arial, Helvetica, sans-serif; }
body { padding: 0; text-color: #003366; background-image: url(/assets/images/design/bgmain.jpg); }

a { color: #660000; }
a:visited { color: #CC0000; }
a:hover {  }
a:active {  }

/* Demo Template
------------------------------ */

#site { width: 780px; 
    margin: 0 auto; 
}

#header { padding-bottom: 0; 
          margin-bottom: 0; 
          height: 139px;
          padding: 0;
        }

#content { background-image: url(/assets/images/design/bg.jpg);
           background-repeat: repeat-y;
           min-height:500px;
           height:auto !important;
           height:500px;
           padding: 0 25px 15px 25px;
         }

#push { height: 107px;}

#footer { background-image: url(/assets/images/design/footer.jpg);
      height: 62px;
      clear: both;
      position:relative;
      width: 600px; 
      margin: 0 auto 0;
      padding: 5px 90px 0 90px; 
     }
#footer div.copyright {font-size: .8em;}

.navigation { background-image: url(/assets/images/design/bg_navigation.gif);
      background-repeat: no-repeat;
      padding: 3px 10px;
      margin: 0 0 10px;
      width: 724px;
      height: 20px;
      font-weight: bold;
     }
.navigation a { color: #660000; text-decoration: none; font-weight: bold;}
.navigation a:vsited { color: #660000; text-decoration: none; font-weight: bold;}

/* My
------------------------------ */
.preview { background-image: url(/assets/images/design/preview.jpg);
           padding: 10px;
           width: 180px;
           height: 230px;
       float: left;
       margin: 15px;
         }

img.imgprv { border: 2px solid #F00;
             margin-bottom: 10px;
         }
.list            {margin-left:2em; margin-bottom:1em; margin-top:0;}

.align_center {
  position: relative;
  width: 100%;
}

.align_center:after {
  content: '';
  display: block;
  clear: both;
}

.align_center_to_left {
  position: relative;
  right: 50%;
  float: right;
}

.align_center_to_right {
  position: relative;
  z-index: 1;
  right: -50%;
}


/* Blog
------------------------------ */
.title { background-image: url(/assets/images/design/bg_navigation.gif);
      background-repeat: no-repeat;
      padding: 2px 10px;
      margin: 0 0 10px;
      width: 724px;
      height: 22px;
      font-weight: bold;
      font-size: 1.3em;
     }
.title a { color: #660000; text-decoration: none; font-weight: bold;}
.title a:vsited { color: #660000; text-decoration: none; font-weight: bold;}


/* Horizontal Menu
------------------------------ */

.menu-h { overflow: hidden; }
.menu-h li { float: left; list-style: none; text-align: center; font-weight: bold;}
.menu-h li a { text-decoration: none; color: #000000; } 
.menu-h li img { vertical-align: top; }
.menu-h li a:hover { text-decoration: none; color: #CC0000; }

/* Horizontal Drop Down Menu
------------------------------ */

.menu-h-d { min-height: 24px; border-left: 1px solid #ccc; }
.menu-h-d li { float: left; display: block; position: relative; border: 1px solid #ccc; border-width: 1px 1px 1px 0px; list-style: none; }
.menu-h-d a { text-decoration: none; padding: 2px 10px; display: block; }

.menu-h-d ul { display: none; position: absolute; top: 22px; left: -1px; width: 160px; background: #fff; border: 0; border-bottom: 1px solid #ccc; }
.menu-h-d ul ul { left: 100%; top: -1px; }

.menu-h-d li li { float: none; border-width: 1px 1px 0px 1px; }

.menu-h-d li:hover { background: #ccc; }
.menu-h-d a:hover { color: #fff; }

.menu-h-d li:hover ul ul,
.menu-h-d li:hover ul li:hover ul ul { display: none; }

.menu-h-d li:hover ul,
.menu-h-d li:hover ul li:hover ul,
.menu-h-d li:hover ul li:hover ul li:hover ul { display: block; }

/* Horizontal Drop Up Menu
------------------------------ */

.menu-h-d.d-up ul { bottom: 22px; }
.menu-h-d.d-up ul ul { bottom: -1px; }

/* Vertical Menu
------------------------------ */

.menu-v a, .menu-h a { text-decoration: none; display: block; }
.menu-v a:hover { text-decoration: underline; }

.menu-v { border-top: 1px solid #ccc; }
.menu-v li { padding: 2px 0; list-style: none; border-bottom: 1px solid #ccc; }
.menu-v li ul { padding-left: 1em; margin-top: 2px; }
.menu-v li li { border: none; border-top: 1px solid #ccc; }

/* Vertical Drop Down Menu
------------------------------ */

.menu-v-d { border-top: 1px solid #ccc; }
.menu-v-d li { padding: 2px 0; display: block; position: relative; border: 1px solid #ccc; border-width: 0px 1px 1px 1px; list-style: none; }
.menu-v-d li a { display: block; position: relative; text-decoration: none; padding-left: 10px; }

.menu-v-d li:hover { background: #ccc; }
.menu-v-d a:hover { color: #fff; }

.menu-v-d li ul { display: none; position: absolute; top: -1px; border-top: 1px solid #ccc; left: 100%; width: 100%; background: #fff; }
.menu-v-d li ul li { background: #fff; }

.menu-v-d li:hover ul ul,
.menu-v-d li:hover ul li:hover ul ul { display: none; }

.menu-v-d li:hover ul,
.menu-v-d li:hover ul li:hover ul,
.menu-v-d li:hover ul li:hover ul li:hover ul { display: block; }

.menu-v-d ul ul { left: 100%; }

/* Content elements
------------------------------ */

.content h1, .content h2, .content h3, .content h4 { font: 1.7em Verdana, Arial, Helvetica, sans-serif; margin-bottom: .5em; color: #000033;}
.content h2 { font-size: 1.5em; }
.content h3 { font-size: 1.3em; }
.content h4 { font-size: 1.1em; font-weight: bold; }

blockquote { margin-left: 10em; padding-left: 1em; border-left: 2px solid #ccc; }
pre, code { font: 1.2em/1.8 "Courier New", Courier, monospace; border: 1px dashed #aaa; padding: 1em; background: #eee; }
code { padding: .2em .5em; }
p { margin-bottom:1em; margin-top:0;}

.content ul, .content ol { margin-left: 3em; line-height: 1.3em; }
.content ul li, .content ol li { margin-bottom: .2em; }

.icons a { padding-left: 20px; background-repeat: no-repeat; background-position: left center; }

.content p, .content ul, .content ol, .content table, blockquote, pre, .columns { margin-bottom: 1em; }

/* Text align & Float
------------------------------ */

.a-left { text-align: left; }
.a-center { text-align: center; }
.a-right { text-align: right; }

.f-left { float: left; }
.f-right { float: right; }

/*    Tables
------------------------------ */

table { border-collapse: collapse; width: 100%; }
table th, table td { padding: 2px 3px; vertical-align: top; }
table th { background: #f4f4f4; }
table td {  }

/*    Columns
------------------------------ */

.columns { width: 100%; overflow: hidden; }
.w-5, .w-10, .w-15, .w-20, .w-25, .w-30, .w-35, .w-40, .w-45, .w-50, .w-55, .w-60, .w-65, .w-70, .w-75, .w-80, .w-85, .w-90, .w-95, .w-100, .w-33, .w-66, .w-38, .w-62 { float: left; overflow: hidden; }

.col-content { padding: 0 6px; }
.col-first { padding-left: 0!important; }
.col-last { padding-right: 0!important; }

.w-5 { width: 5%; }
.w-10 { width: 10%; }
.w-15 { width: 15%; }
.w-20 { width: 20%; }
.w-25 { width: 25%; }
.w-30 { width: 30%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-45 { width: 45%; }
.w-50 { width: 50%; }
.w-55 { width: 55%; }
.w-60 { width: 60%; }
.w-65 { width: 65%; }
.w-70 { width: 70%; }
.w-75 { width: 75%; }
.w-80 { width: 80%; }
.w-85 { width: 85%; }
.w-90 { width: 90%; }
.w-95 { width: 95%; }
.w-100 { width: 100%; }

.w-33 { width: 33%; }
.w-66 { width: 66%; }

.w-38 { width: 38%; }
.w-62 { width: 62%; }

/* Images
------------------------------ */

.content img.foto { padding: 5px; border: 1px solid #ccc!important; margin-top: .4em; }
.content img.null-image { padding: 0!important; border: none!important; margin: 0!important; }
img.f-left { margin-right: 1em; }
img.f-right { margin-left: 1em; }

.content img.icon { vertical-align: middle; }
img.alleft { align: left; }


/* Content Form
------------------------------ */

.content form { padding: .5em 0; }
.content fieldset { margin-bottom: 1em; border: none; }
.content legend { margin-top: -1px; padding-bottom: 1em; font-size: 1.1em; font-weight: bold; }

.content .f-row { overflow: hidden; margin-bottom: .5em; }
.content label { text-align: left; padding: 0 ; }
.content .f-inputs { padding-left: 30%; }

.f-actions { padding-top: 1em; border-top: 1px solid #ccc; }

/* Inputs
------------------------------ */

input { vertical-align: middle; border: 2px solid #000000; background: #bb9b62; }
textarea { border: 2px solid #000000; background: #bb9b62; overflow: hidden;}
.i-checkbox { margin-top: 3px; }
.i-text { width: 200px; padding: 0 1px; font: 1em sans-serif; }
.button { padding: 0 .25em; width: auto; overflow: visible; cursor: pointer; }

