/*
 * HackerRank Profile Widget for WordPress
 *
 *     Copyright (C) 2015 Henrique Dias <hacdias@gmail.com>
 *     Copyright (C) 2015 Luís Soares <lsoares@gmail.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 @import url(http://fonts.googleapis.com/css?family=Roboto:400,700);

 /* WIDGET GENERAL */

 .hackerrank-widget {
     border-radius: 0.313em;
     box-sizing: border-box;
     font-family: "Roboto", sans-serif;
     border-color: rgba(57, 66, 78, 0.117647);
     border-style: solid;
     border-width: 0.313em;
     color: rgb(57, 66, 78);
     background: #f5f5f5;
     font-size: 0.85em;
 }

 .hackerrank-widget,
 .hackerrank-widget p,
 .hackerrank-widget a,
 .hackerrank-widget h1,
 .hackerrank-widget h2 {
     font-family: "Roboto", sans-serif !important;
 }

 .hackerrank-widget h2 {
     font-size: 1em;
     font-weight: bold;
     margin: 1em 0 .1em;
     padding: 0;
     border-bottom: 1px solid rgba(0, 0, 0, 0.05)
 }

 .hackerrank-widget-content {
     padding: .323em;
 }

 .hackerrank-shadowed {
   border-radius: 0.313em;
   padding: 0.313em;
   background: rgba(0,0,0,0.03)
 }

 /* HEADER */

 .hackerrank-widget-header {
     font-weight: bold;
     margin-bottom: 8px;
     padding: 0 0 5px 0;
     background-color: rgba(57, 66, 78, 0.12);
 }

 .hackerrank-widget-company-logo {
     display: inline-block;
     vertical-align: middle;
     height: 1.5em;
     margin-right: .250em;
     right: 0;
 }

 .hackerrank-widget-company-logo,
 .hackerrank-widget-header-text {
     vertical-align: middle;
 }

 .hackerrank-widget-header-text,
 .hackerrank-widget-header-link  {
     display: inline-block;
     vertical-align: middle;
     line-height: 1.5em;
     font-weight: bold;
     color: rgb(57, 66, 78) !important;
 }

 .hackerrank-widget-header .separator {
     margin: 0 .250em;
 }

 /* PROFILE */

 .hackerrank-widget-avatar {
     border-radius: 4px;
 }

 .hackerrank-widget-pi-left {
     display: inline-block;
     width: 28%;
     margin-right: 2.5%;
 }

 .hackerrank-widget-pi-right {
     display: inline-block;
     vertical-align: top;
     padding: 5px;
     box-sizing: border-box;
     width: 67.5%;
 }

/* WIDGET OWN */

.hackerrank-widget .hrPane {
    margin-bottom: 8px;
}

.hackerrank-widget .hrPane:last-child {
    margin-bottom: 0;
}

/* PROFILE */

.hackerrank-widget .hrUserRealName,
.hackerrank-widget .hrUserNameLink {
    font-weight: bold;
}

/* BADGES */

.hackerrank-widget .hrBadgeImage {
    display: inline-block;
    max-width: 40px;
}

.hackerrank-widget .hrBadgeContent {
    display: inline-block;
    vertical-align: top;
}

.hackerrank-widget .hrBadgeLevel {
    display: inline-block;
}

.hackerrank-widget .hrBadgeProgress {
    height: 10px;
    width: 100px;
    border-radius: 3px;
}

.hackerrank-widget .hrBadgeProgressBar {
    border-radius: 3px;
    height: 10px;
}

/* CONTESTS */

.hackerrank-widget .hrContests {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* BUTTONS */

.hackerRankWidgetButton {
    cursor: pointer;
    width: 1em;
    height: 1em;
    display: inline-block;
}

.hackerRankWidgetButtonNext {
    opacity: 0.4;
    background-image: url('../assets/right.png');
}

.hackerRankWidgetButtonPrev {
    opacity: 0.4;
    background-image: url('../assets/left.png');
}

.hackerRankButtonDisabled {
    opacity: 0.2;
}
