* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * -- BASE STYLES --
 * Most of these are inherited from Base, but I want to change a few.
 */
#body {
    line-height: 1.7em;
    color: rgb(110, 110, 110);
    background-color: rgb(227,223,220);
        position: static;
        min-width: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
label {
    /* color: #34495e; */
    border: none;
    color: rgb(110, 110, 110);
    /*color: white;*/
    /*margin: 0;*/
    display: block;
    line-height: 1.2em;
    overflow: hidden;
    font-weight: 400;
}

h2 {
    font-size: 1.8em;
}

ul {
    list-style-type: inherit;
    margin: 0em 0;
}

li {
    margin: 3px 0;
    line-height: normal;
}

a:link, a:active, a:visited { 
    color: inherit; 
    text-decoration: none;
}

.footer > h3 {
    color: white;
    margin: 0;*/
}

a.footer-link:link, a.footer-link:active, a.footer-link:visited {
    color: white;
    text-decoration: none;
}

.img-logo {
    max-width: 100%;
    height: auto;
}
.pure-img-responsive {
    width: 85%;
    max-width: 200px;
}

#mainmenu {
    min-width: 0px;
}

#searchform {
    margin-top: -15%;
    margin-bottom: 8%;
}

#mainmenu {
    background-image: none;
    box-shadow: none;
}

.actionmenu {
    background-color: transparent;
    min-height: 0px;
    height: 0px;
}

.actionmenu .submenu {
    background: #E3DFDC;  
}

#mainmenu .submenu {
    box-shadow: 0px 0px 2px;
}

.actionmenu .submenu {
    border-radius: 10px 10px 10px 10px;
}

#searchbutton {
    vertical-align: middle;
    width: 30px;
    margin: 0px 0px 5px 0px;
}

/* menu view */
.rightmenu { padding-right: 0px;}
.topmenuentry { margin-right: 0px; }
.leftmenu { padding-left: 0px; }
.noicon { padding-left: 5px;}
.menuarrow { margin-right: 0px;}

#menuview { font-size: 125%;}

.globalsearchinput {
    width: 300px;
    font-size: 150%;
}

/*
 * -- LAYOUT STYLES --
 * These are some useful classes which I will need
 */

.pure-g {
    margin: auto;
    max-width: 1000px;
    padding-top: 20px;
    padding-bottom:20px;
}

.badge-box {
    float: left;
    width: 50%;
}
 
/*p.block {
    text-align: justify;
}*/
 
.l-box {
    padding: 1em;
}

.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.is-center {
    text-align: center;
}

.is-left {
    text-align: left;
}

.two-lines {
    height: 2.5em
}

/*
 * -- PURE FORM STYLES --
 * Style the form inputs and labels
 */
.pure-form label {
    margin: 1em 0 0;
    font-weight: bold;
    font-size: 100%;
}

.pure-form input[type], textarea {
    border: 2px solid #ddd;
    box-shadow: none;
    font-size: 100%;
    width: 100%;
    margin-bottom: 1em;
}

textarea {
    height: 8em;
    width: 100%;
}


/*
 * -- MENU STYLES --
 * I want to customize how my .pure-menu looks at the top of the page
 */

.home-menu {
    padding: 0.5em;
    text-align: center;
    box-shadow: 0 1px 1px rgba(0,0,0, 0.10);
}
.home-menu.pure-menu-open {
    background: #2d3e50;
}
.pure-menu.pure-menu-open.pure-menu-fixed {
    /* Fixed menus normally have a border at the bottom. */
    border-bottom: none;
    /* I need a higher z-index here because of the scroll-over effect. */
    z-index: 4;
}

.home-menu .pure-menu-heading {
    color: white;
    font-weight: 400;
    font-size: 120%;
}

.home-menu .pure-menu-selected a {
    color: white;
}

.home-menu a {
    color: #6FBEF3;
}
.home-menu li a:hover,
.home-menu li a:focus {
    background: none;
    border: none;
    color: #AECFE5;
}


/*
 * -- SPLASH STYLES --
 * This is the blue top section that appears on the page.
 */

.wikiderm-logo {
    max-width: 100%;
    width:100%;
    padding-bottom: 67%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(/skins/wikiderm/res/Wikiderm_Logo.svg);
}

.eucerin-logo {
    position: absolute;
    /* z-index: 10000; */
    bottom: 10px;
    right: 15px;
    width: 12%;
    padding-top:8%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(/skins/wikiderm_new/res/eucerin-logo.jpg);
}

.wikiderm-daily {
    position: absolute;
    /* z-index: 10000; */
    bottom: 23%;
    right: 15px;
    width: 12%;
    padding-top:7%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(/skins/wikiderm_new/res/wikiderm-daily.jpg);
}

.case-reports {
    position: absolute;
    /* z-index: 10000; */
    bottom: 10px;
    left: 15px;
    width: 12%;
    padding-top:8%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-image: url(/skins/wikiderm_new/res/Button_Case_Reports_preview.png);
}

.newsblog, .cme-partner{
    position: absolute;
    width: 12%;
    padding-top:8%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.newsblog {
    bottom: 10px;
    left: 15px;
    background-image: url(/skins/wikiderm/res/Button_News-Blog.png);
}
.cme-partner{
    bottom: 10px;
    right: 15px;
    background-image: url(/skins/wikiderm/res/CME-Partner.png);
}

.sponsoring-text-box {
    position: absolute;
    left: 50%;
    bottom: 100%;
}

.sponsoring-text {
    position: relative;
    font-size: 1.4vw;
    left: -50%;
    text-transform: uppercase;
    font-family: Crimson Text;
}

.splash-container {
    z-index: 1;
    overflow: hidden;
    /* The following styles are required for the "scroll-over" effect */
    width: 100%;
    height: 80%;
    top: 0;
    left: 0;
    position: relative;
    margin-bottom: 0em;
}

.splash {
    /* absolute center .splash within .splash-container */
    width: 80%;
    margin: auto;
    /* position: absolute; */
    top: 26px; left: 0; bottom: 0; right: 0;
    text-align: center;
    text-transform: uppercase;
}

/* This is the main heading that appears on the blue section */
.splash-head {
    font-size: 20px;
    font-weight: bold;
    color: black;
    border: 3px solid black;
    padding: 1em 1.6em;
    font-weight: 100;
    border-radius: 5px;
    line-height: 1em;
}

/* This is the subheading that appears on the blue section */
.splash-subhead {
    color: black;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/*
 * -- CONTENT STYLES --
 * This represents the content area (everything below the blue section)
 */
.content-wrapper {
    /* These styles are required for the "scroll-over" effect */
    /* position: absolute; */
    top: 66%;
    width: 100%;
    min-height: 12%;
    z-index: 2;
    background: white;

}

/* This is the class used for the main content headers (<h2>) */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    padding: 1em 0px;
    margin: 0px 0px 20px 0px;
    color: white;
    background-color: rgb(145,55,30);
}

/* This is a modifier class used when the content-head is inside a ribbon */
.content-head-ribbon {
    color: white;
}

/* This is the class used for the content sub-headers (<h3>) */
.content-subhead {
    font-family: Crimson Text; 
        /* text-align: center; */
}

img.img-centered {
    max-width: 100%;
}

img.sponsorlogo {
    width: 100%;
    padding-right: 10px;
    padding-bottom: 10px;
}

.content-subhead i {
    margin-right: 7px;
}

/* This is the class used for the dark-background areas. */
.ribbon {
    background-color: #E1D9D6;
}

.ribbon-dark {
    background-color: rgb(93,93,93);
    border-bottom: 1px solid white;
}

/* This is the class used for the footer */
.footer {
    background: #5E5E5E;
    padding: 30px;
}

/*
 * -- TABLET (AND UP) MEDIA QUERIES --
 * On tablets and other medium-sized devices, we want to customize some
 * of the mobile styles.
 */
@media (min-width: 48em) {

    /* We increase the body font size */
    body {
        font-size: 16px;
    }

    /* We can align the menu header to the left, but float the
    menu items to the right. */
    .home-menu {
        text-align: left;
    }

    .home-menu ul {
        float: right;
    }

    /* We decrease the width of the .splash, since we have more width
    to work with */
    .splash {
        width: 70%;
        max-width: 1000px;
    }

    .splash-head {
        font-size: 250%;
    }

    /* We remove the border-separator assigned to .l-box-lrg */
    .l-box-lrg {
        border: none;
    }

    /* menu view */
    .rightmenu { padding-right: 10px}
    .topmenuentry { margin-right: 5px;}
    .leftmenu { padding-left: 25px; }
    .menuarrow { margin-right: 10px;}
}

/*
 * -- DESKTOP (AND UP) MEDIA QUERIES --
 * On desktops and other large devices, we want to over-ride some
 * of the mobile and tablet styles.
 */
@media (min-width: 78em) {
    /* We increase the header font size even more */
    .splash-head {
        font-size: 300%;
    }
}

@media screen and (max-width: 480px) {
    .leftmenu, .rightmenu {
        font-size: 4.5vw;
    }
    .rightmenu {
        width: 30vh; 
    }
    .splash {
        width: 100%;
    }
    .globalsearchinput {
        width: 80%;
    }
    .newsblog, .cme-partner
    {
        position: inherit;
        display: inline-block;
        vertical-align: top;
        width: 30%;
        margin: 6% 3% 6% 3%;
        padding-top: 20%;
        padding-right: 10%;
        padding-left: 10%;
    }
    #badge-wrapper {
        text-align: center;
    }
    .wikiderm-logo {
        padding-bottom: 125%;
        background-size: 120% 120%;
        background-position: center center;
        background-image: url(/skins/wikiderm/res/Wikiderm_Logo_Mobile.svg);
    }
    #searchform {
        margin-top: -40%;
        margin-bottom: 0%;
    }
}


