
    TD {    font-weight: bold; }
    .colorcell { 
        cursor: pointer;
        cursor: hand;
        width: 1.75em !important;
        height: 1.75em;
    }
        .colorcell:hover { 
            opacity: .7;
        }
    #screen{
                width:100%;
                overflow: hidden;
                padding:0;
                margin: .5em auto;
            }           
                #screen li{
                    float: left;
                    margin: 0 .2em;
                    list-style:none;
                    vertical-align: center;
                }
                #screen .jq-ss-crop{
                    margin:0px 3px;
                    border:1px solid #ddd;
                    float:left;             
                }
                    #left,#right{
                        font-weight:bolder;
                        font-size:36px;
                        margin-top:115px;
                        display:block;
                        text-decoration:none;
                        color:black;
                    }
                #view{
                    margin:0 5px;
                    width: 82%;
                    border:1px white solid;
                    height:80px;
                    overflow:hidden;
                    background-color:transparent;
                }
                    #images{                        
                        text-align: center;
                        padding:0;                        
                        /* overflow: hidden; */
                    }

                #images li img{
                    border:0;
                }
                #images li {
                    cursor: pointer;
                    cursor: hand;
                    min-width: 110px;
                    display: block;
                }
                
                #left {
                    width: 27px;
                    height: 80px;
                    margin: 1px 0 0 0;
                    background-color: #555;
                }
                #left:hover {
                    background-color: red;
                }
                #right {
                    width: 27px;
                    height: 80px;
                    margin: 0;
                    background-color: #555;
                }
                #right:hover {
                    background-color: red;
                }


    .widget_title {
        width: 100%;
        float: none;
          text-align:center;
        color:#333;
        margin: 0 auto 1em auto;
        font-weight: bold;
        font-size: 1.5em;
        line-height: 1;
        padding: 0;
    }
    .widget_menu .widget_title {
        font-size: 1.3em;
        line-height: 1.3;
        width: 50%;
        float: left;
    }

    .widget-notes {
        font-size: 1.1em;        
        line-height: 1.4;
        padding-bottom: 1.6em;
    }

    #board_link a {
        text-decoration: underline;
    }


    .widget_list {
        width: 50%;

        margin: 2em auto;
        border: 1px solid #ccc;
        border-radius: 5px;
        background: #e8e8e8;
    }
        .widget_list td {
            text-align: center;
            font-family: Tahoma;
            font-size: 1em;
            padding: .8em 1em;
            color: #444;
        }
            .widget_list td a {
                /* color: blue; */
                text-decoration: none;
                border-bottom: 1px solid currentColor;
            }
            .widget_list td a:hover {
                color: #009;
                border-color: #008;
            }

     .widget_menu {
        overflow: hidden
         width: 100%; 
    }            
  .widget_sports { overflow: hidden; margin: 1em auto ; width: 96%;}
    .widget_sports.narrow { width: 91%;}
    .widget_sports li { 
            list-style-type: none;
            float: left; 
            padding: 0 .2em;
            cursor: pointer;
            width: 14.6%;
            border: 1px solid white;
    }
    .widget_sports li:first-child {
            width: 18%;
    }
    .widget_sports li#wc2014_b {width: 98%; clear: both;}
    .widget_sports.narrow li { width: 18%;}
    .widget_sports li img { display: block; margin: 0 auto;}
    .widget_sports li.active { border: 1px solid #B1C5BD }

     div#err_message {
        padding: 0;
        margin: 1em auto;
    }

     div.team_dropdown {
        text-align: center;
        position: relative;
        margin: .5em auto;
    }
        .team_dropdown table {
            margin: 0 auto;
        }
        .team_dropdown table td {
            width: 49%;
        }
            .team_dropdown table select {
                width: 98% !important;
                min-width: 200px;
            }
                .team_dropdown table select {
                    font-size: 1.34em;
                    font-family: Tahoma;
                }
                .team_dropdown table option {
                    padding: 1px .3em;                    
                }
                .team_dropdown table option:nth-child(even) {
                    background: #ededed;
                }



    .widgets-wrap {
        width: 45%; overflow: hidden; 
        float: right;
    }
         div.widgets-wrap h3 {
            color: #555;
            font-size: 1.4em;
            padding-bottom: .5em;
        }
     div.widgets-wrap.team-widgets {
        float:left;
        padding-right: 3%;
        border-right: 1px solid #aaa;
        width: 45%;
    }
    #wimg_h, #wimg_v, #wimg_h_team, #wimg_v_team {
         width: 100%; margin-top: .7em; text-align: center; 
    }
    #wimg_v, #wimg_v_team {
         margin-top: .7em;
    }
     

    .widgets-buttons-wrap {
        overflow: hidden;
        width: 100%;
    }
    .team-widgets .widgets-buttons-wrap {
        width: 100%;
        text-align: center;
        margin-top: .4em;
    }
    .team-widgets .widgets-buttons-wrap form {
        margin: 0 auto;
        float:none;
    }

    .widgets-buttons-wrap form { 
            margin: .6em auto;
            text-align: center;
          display: block; 
          width: 64%;
          vertical-align: center;
    }
    
    #wimg_h img { padding: 80px 0;}
    #at, #ht { width: 95%;}

    .widget-color-picker,
    .widget-team-names {
        margin: 0 auto;
        max-width: 577px;
    }

/*         .widget-color-picker td:first-child {
    padding-right: 2em;
} */

        .widget-team-names td {
            white-space: nowrap;
            padding: .2em ;
        }
        .widget-team-names input {
            border: 1px solid #aaa; border-radius: 3px;
            padding: .2em .3em;
            line-height: 1.6em;
            font-size: 1.2em;
        }

    .colors_panel { overflow: hidden; margin: 0 ; padding: 0; }
        .colors_panel li { list-style: none; float: left; margin: .2em .2em 0 0;}

    .colors_panel td { 
        padding-right: 0 !important;
    }
    .colors_panel .colorcell { 
        margin: .2em auto;
    }

    .team_info {
        width: 90%; 
        margin: 1em auto;
        overflow: hidden;
    }
        .team_general {
            float: left;
            width: 35%;
        }
        .team_games {
            width: 65%;
            float: right;
            border: 1px solid #999;
            border-radius: 4px;
        }
         div.team_general h2 {
            line-height:1.4em;
        }
            .team_games h4 {
                padding: .3em 0 .3em .7em;
                font-size: 1.4em;
                font-weight: normal;
                color: #777;
            }
            .team_games ol {
                margin-bottom: .8em;
                border: 1px solid #ccc;
                border-radius: 7px
            }
            .team_games li  {
                font-size: 1.3em;
                padding: .2em .9em;
                color: #555;
                font-size: .9em;
                overflow: hidden;
            }
            .team_games li:nth-child( even ) {
                background: #ececec;
            }
            .team_games li:hover, 
            .team_games li:hover label {
                background: #e0ffe0;
                cursor: pointer;
            }
             div .team_games li h3 {
                font-weight: bold;                
                text-align: left !important;
                display: block;
                float: left;
                /* height: 100%; */
                color: #333;
                font-size: 1.5em;
                line-height: 1.6em;
                margin: 0;
                width: 60%;
            }
             div .team_games li:hover h3 {
                color: #040;
            } 

      
            .team_games li label {
                font-weight: normal;
                display: block;
                float: left;
                color: #444;
                font-size: 1.5em;
               /*  height: 100%; */
                line-height: 1.6em;
                width: 35%;
            }


    #sidebar { display: none;}


    #home_team_widget,
    #away_team_widget {
        display: block;
        width: 200px;
        text-align: center;
        color: #666;
    }


    .edit-widget-link {
        text-align:right; padding: 1em 0;
    }

    .widget-preview-wrap,
    .widget-code-wrap {
        width: 49%;
        float: left;
    }
    .widget-code-wrap textarea {
        width: 100%; 
        height: 7em;
        margin: 0 auto;
    }

    
    #wimg_h, #wimg_v { width: 48%; float: left; text-align: center; }
    .widgets-wrap {
        width: 100%;
        float: none;
    }

  @media screen and (max-width : 830px) {
            /*#content { width: 94%; position: relative; }*/

          #sidebar { position: absolute;  top: 2em; width: 100%; margin-top: 10px; ;}
      .top-sidebar-block ul { overflow: hidden; clear:both; height: 0;}
      .top-sidebar-block li { float: left; width: 29%; margin-right: 3%;}
      .top-sidebar-block li:first-child { width: 28% !important; }
      .top-sidebar-block ul ul li:first-child,
      .top-sidebar-block ul ul li:last-child { width: 100% !important; }
      .top-sidebar-block li.accessories { margin-right: 0; width: 37%; }
      .top-sidebar-block li.subscribe { display: none }
      .top-sidebar-block li.extra { margin-left: -69.3%; margin-top: 8.1em;  }
      .top-sidebar-block ul li ul { width: auto; height: auto !important;}
      .top-sidebar-block ul ul li { float: none; width: 100% !important; margin-right: 0}
      .top-sidebar-block ul li ul li a { width: auto; height: auto; padding-top: .4em;}
      .sidebar-block { display: none}

    /* .menu_btn { display: block; } */

        /* #sidebar { float: none; width: 94%; margin: 2em auto; clear: both; }
            #sidebar .sidebar-block { float: left; width: 27%;}
            #sidebar .top-sidebar-block { float: right; width: 95%; overflow: hidden; margin-top: 1em; height: 100%;}
            #sidebar .top-sidebar-block ul { overflow: hidden; width: 105%; }
            .top-sidebar-block li.extra { margin-left: -36%; margin-top: 9em;  }
            
            #sidebar .top-sidebar-block li { float: left; width: 33%;}
            #sidebar .top-sidebar-block li.accessories { float: right; width: 34%;}
            #sidebar .top-sidebar-block li.subscribe { width: 66%;}
            #sidebar .top-sidebar-block ul ul li { float: none; width: 100%;} */
  }            
  @media screen and (max-width : 870px) {
      /* #sidebar .top-sidebar-block { width: 68%; } */

      div.team_dropdown {
        width: 92%;
      }
      .widgets-wrap {
        width: 94%;
        margin: 0 auto;
      }
      #wimg_v {
        float: right;
      }

      .widget-notes ,
      .widgets-wrap {
        width: 90%;
        margin: 0 auto;
      }

  }
  @media screen and (max-width : 695px) {
    .widget_sports, .widget_sports.narrow { width: 100%;}
        .widget_sports li:first-child { width:18%;}    
        .widget_sports li { width:14.4%;}    
    .widget_sports.narrow li,
    .widget_sports.narrow li:first-child { width: 18.3%;  margin-left: 0;}
    .widget_sports.narrow li:nth-child(2) { width: 21% ; margin-left: 0;}
    .widget_sports.narrow li:last-child { width: 15% ; margin-left: 0;}
    #content { padding-left: 1%}
    .team_info { padding-right: 0; width: 94%;}
         div.team_general { width: 25%; }
     div.team_games { width: 70%; float:right; }

     div.team_games li label { width: 40%;}
    .team_games h4 small { font-size: .8em; white-space: nowrap;}
    
  }
  @media screen and (max-width : 615px) {
        .widget_sports li,.widget_sports li:first-child { width:26%; margin-left: 5%; }    
        .widget_sports li img { margin: 0;}
        .widget_sports li#wc2014_b {width: 90%; }
            .widget_sports li#wc2014_b img { margin: 0 auto; }
        #view { width: 86%;}
        #screen { width: 100%;}
        #wimg_img { max-width: 100% ;}
         div#widget_menu { width: 65%;}
        #wc2014_teams li { width: 49% !important; background-color: white !important;}
        

  }
  @media screen and (max-width : 585px) {
        .widgets-wrap img { max-width: 100%;}
        .widgets-wrap div + div, .widgets-buttons-wrap form + form { width: 32%;         }
        #wimg_h img { padding: 26% 0;}
        .colors_panel { margin-bottom: 1em;}
            .colors_panel li { width: 10%; margin-right: 1%;}
         div#widget_menu { width: 50%;}
        .widget_list td { display: block; width: 82%;}        
         #widget_menu div.widget_title { width: 200%; padding-top: 1em;}
  }
  @media screen and (max-width : 530px) {
        #view { width: 82%;}
         div.team_general { overflow: hidden; width: 100%; float: none;}
         div.team_general h2 { float:right; width: 80%; text-align: left; margin-top: .8em;}
         div.team_general img { float:left; }
         div.team_games { float:none; width: 100%;}
  }
  @media screen and (max-width : 520px) {
    #sidebar {top: 0;}
    .top-sidebar-block ul { height: auto;}
  }
  @media screen and (max-width : 490px) {
        .widget_sports.narrow li, .widget_sports.narrow li:first-child { 
            overflow: hidden; 
            width: 16.5%;
            margin-left: 3%;
        }
        .widget_sports.narrow li:first-child { width: 16%; margin-left: 0;}
        .widget_sports.narrow li:nth-child(2) { width: 18%; margin-left: 3%; }
        .widget_sports.narrow li:last-child { width: 13%;}
        .widget_sports.narrow img { margin-left: -24px;}
        .widget_sports.narrow li:nth-child(3) img { margin-left: -23px; }
        .team_dropdown table select { min-width: 0;}

        #wimg { height: auto !important;}

        .widget-team-names td {
            white-space: normal; padding-left: .5em;
        }
        .edit-widget-link {
            margin-right: 1em;
            font-size: 1.2em;
            padding-top: 0;
            text-decoration: underline;
        }
        .widget-preview-wrap,
        .widget-code-wrap {
            width: 100%;
            float: none;;
        }
        .widget-code-wrap textarea {
            width: 97%;
            border-radius: 4px;
            margin-bottom: .7em;
            border: 1px solid #999;
            padding: .3em;
            font-size: .9em;
            color: black;
        }
        .widget-preview-wrap #wimg_h img {
            padding: 0;        
        }
  }
  @media screen and (max-width : 425px) {
         div { padding-left: 0; padding-right: 0;}
        .widget_sports li,.widget_sports li:first-child { margin-left: 0; width: 30%;}    
        #content { padding-left: 3% }

        .widget_sports.narrow {
            padding: 0;
        }
  }
  @media screen and (max-width : 390px) {
        .widget_sports.narrow li:nth-child(2) { width: 20%; margin-left: 1%; }
        .widgets-buttons-wrap input { font-size: .9em;}
        #view { width: 78%;}
        #wc2014_teams li { background-position: center -10px !important; height: 80px !important;}
        #wc2014_teams li a { float: none; padding: 35px 0 0 0 !important; width: 97% !important;
            text-align: center; border: 1px solid white;}
        #wc2014_teams li a:active { border: 1px solid #aaa;}
         div.team_general h2 { width: 75%;}
  }
  @media screen and (max-width : 355px) {
        .widget_sports.narrow li:nth-child(4) { width: 14%; }     
        .widget_sports.narrow li:last-child { margin-left: 1%;}
        .team_dropdown table select { width: 95%;}
         div#widget_menu { width: 48%;}
        .widget_list td { padding-bottom: .5em ;}        
        .widget_menu .widget_title {
            font-size: 1.2em;
            letter-spacing: -.5px;
        }
  }
  @media screen and (max-width : 340px) {
        .widget_sports.narrow li { width: 28% !important; margin-left: 11% !important; height: 30px;}
        .widget_sports.narrow li img { margin-left: 0 !important;}
        .widget_sports li,.widget_sports li:first-child { width: 30%;}         
  }
