@viewport{
    zoom: 1.0;
    width: extend-to-zoom;
}
@-ms-viewport{
    width: extend-to-zoom;
    zoom: 1.0;
}

/* Box sizing */
html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    text-align: center;
}
body {
    font-family: Museo Sans, Trebuchet MS, Sans-serif;
    font-weight: 500;
    color: #000000;
}

.content {
	min-height: 100%;
	padding-bottom: 45px;
	position: relative;
	overflow: auto;
}

h1, h2 { text-align: center; margin-top: 0; font-weight: normal; }
h1 { font-size: 30px; }
h2 { font-size: 26px; }

.constrained {
    width: 100%;
    max-width: 540px;
    padding: 0 10px;
    margin: 0 auto;
}

@media (max-width: 535px) { .hide-small { display: none; } }
@media (min-width: 536px) { .show-small { display: none; } }

.api-error {
    margin: 1em;
    color: white;
    font-weight: bold;
    background-color: #FF0000;
    padding: 10px;
}
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* Colors */
.colored,
.colored-ja_jpn_jp { color: #eb2a2e; }
.colored-de_deu_de { color: #eb2a2e; }
.colored-es_spa_mx { color: #ff6600; }
.colored-ko_kor_kr { color: #87163e; }
.colored-en_eng_us { color: #003593; }

.colored-en_eng_gb { color: #2E5AAA; }
.colored-zh_cmn_cn { color: #EB2A2E; }
.colored-fr_fra_fr { color: #2E5AAA; }
.colored-ru_rus_ru { color: #2E5AAA; }
.colored-es_spa_es { color: #FF6600; }
.colored-it_ita_it { color: #009246; }
.colored-de_deu_de { color: #EB2A2E; }
.colored-th_tha_th { color: #EB2A2E; }

.colored-hr_hrv_hr { color: #2E5AAA; }
.colored-zh_yue_hk { color: #EB2A2E; }
.colored-pt_por_br { color: #50A025; }
.colored-ar_ara_eg { color: #4A117C; }
.colored-el_ell_gr { color: #2E5AAA; }
.colored-he_heb_il { color: #6699FF; }
.colored-vi_vie_vn { color: #EB2A2E; }

.greyed { color: #999999; }

/* Sections */
.box-settings {
    height: 50px;
    text-align: left;
    padding-left: 20px;
    padding-top: 10px;
    font-size: 31px;
    line-height: 40px;
    position: relative;
    color: #999999;
}
.box-settings > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.box-settings > ul > li {
    display: inline-block;
    cursor: pointer;
}
.box-settings > ul > li:hover {
    color: black;
}
.box-settings .addthis_sharing_toolbox {
    border: 1px solid #EEEEEE;
    padding: 10px 10px 1px 10px;
    position: absolute;
    left: 20px;
}

.box-title {
    display: inline-block;
    text-align: center;
}
.box-title .title-presents {
    font-size: 12px;
    text-transform: uppercase;
}
.box-title .title-dose {
    font-size: 30px;
    position: relative;
}
.box-title .beta {
    font-size: .8em;
    position: absolute;
    vertical-align: super;
    right: -30px;
    top: -5px;
}
.banner-box {
    width: 520px;
    margin: 50px auto 0 auto;
}
@media (max-width: 535px) {
    .banner-box {
        width: 100%;
        margin: auto;
    }
    .box-title {
        margin: 10px;
    }
    .box-title .title-presents {
        font-size: 8px;
        text-transform: uppercase;
    }
    .box-title .title-dose {
        font-size: 15px;
    }
    .box-title .beta {
        right: -13px;
        top: -2px;
    }
    .box-title .menu {
        position: absolute;
        top: 7px;
        right: 3px;
        height: 50px;

        font-size: 30px;
        line-height: 30px;
        text-align: right;
        color: #999999;
    }
    .box-title .menu i {
        vertical-align: middle;
        cursor: pointer;
    }
    .box-title .menu-left {
        left: 3px;
        right: auto;
    }

    .box-sharing {
        background-color: #EEEEEE;
        height: 52px;
        padding-top: 10px;
        vertical-align: middle;
        width: 100%;
    }
}


.box-calendar {
    margin: 30px auto 40px auto;

    -webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);

    background-color: white;

    width: 520px;
    height: 520px;
    padding: 10px;
}
.responsive-calendar {
    border-top: 1px solid #E8E8E8;
}


.box-feedback {
    background-color: #F4F5F8;
    padding: 50px 0 30px 0;
    text-align: left;
}

.box-feedback p {
    text-align: center;
    margin-bottom: 40px;
}
@media (max-width: 535px) {
    .box-feedback p { text-align: left; }
}

.box-feedback p,
.box-feedback input,
.box-feedback textarea,
.box-feedback .comment {
    font-family: Helvetica, Arial, Sans-serif;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    width: 100%;
}
.box-feedback input, .box-feedback textarea, .box-feedback button {
    display: block;
    margin: 0 auto 8px auto;
    padding: 8px;
    width: 100%;
    border-radius: 0;
    -webkit-appearance:none;
    -webkit-border-radius:0;
}
.box-feedback input, .box-feedback textarea {
    border: 1px solid #d5d7df;
    resize: none;
}
.box-feedback button {
    font-family: Museo Sans, Trebuchet MS, Sans-serif;
    font-size: 17px;
    font-weight: 500;
    background-color: #00ACED;
    color: white;
    border: none;
    height: 50px;
}
.box-feedback dl {
    margin: 45px auto 0 auto;
}
.box-feedback dt {
    font-size: 20px;
}
.box-feedback dd {
    margin: 0;
}
.box-feedback .comment-time {
    margin-bottom: 20px;
}

.box-brand {
    background-color: #111A21;
    text-align: center;
    height: 45px;
    line-height: 40px;

    position:absolute;
    bottom:0;
    width: 100%;
}
.box-brand img { height: 25px; vertical-align: middle; }

/* Date Browser */
.cal-date-select {
    position: relative;
    max-width: 535px;
    font-size: 14px;
    margin: 0 auto;
    font-size: 16px;
}
.cal-date-select .cds-active { color: #00ACED; }
.cds-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    border-top: 1px solid #EEEEEE;
    z-index: 100;
    min-width: 100%;

    min-height: 100%;

    text-align: left;
    -webkit-box-shadow: 0 18px 29px -20px rgba(0,0,0,0.75);
	-moz-box-shadow: 0 18px 29px -20px rgba(0,0,0,0.75);
	box-shadow: 0 18px 29px -20px rgba(0,0,0,0.75);
}

/* TODO compact the following 2 */
.cds-head {
    height: 50px;
    background-color: rgb(244, 245, 248);
    text-align: center;
    line-height: 50px;
    border-bottom: 1px solid rgb(220, 220, 220);
    position: relative;

    font-family: Helvetica, Arial, Sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #999999;
}
.cds-head > i {
    display: block;
    position: absolute;
    left: 5px;
    top: 0;
    font-size: 35px;
    cursor: pointer;
}
.cds-title {
    text-align: center;
    height: 50px;
    line-height: 50px;
    font-weight: 500;
    position: relative;
    border-bottom: 1px solid rgb(220, 220, 220);
}
.cds-prev, .cds-next {
    position: absolute;
    text-align: center;
    width: 50px;
    top: 0;
    font-weight: bold;

    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
    -o-user-select: none;
    user-select: none;
}
.cds-prev:hover, .cds-next:hover {
    background-color: #EEEEEE;
    cursor: pointer;
}
.cds-prev { left: 5px; }
.cds-next { right: 5px; }

.cds-monthselect {
    border-bottom: 1px solid rgb(220, 220, 220);
}
.cds-dayselect .cds-title {
    cursor: pointer;
}
.cds-days {
    padding: 0;
    margin: 0;
}
.cds-days > li {
    position: relative;
    display: block;
    min-height: 47px;
    margin: 0 0 0 55px;
    border-bottom: 1px solid rgb(220, 220, 220);
    padding: 10px 60px 10px 10px;
    line-height: 23px;
}
.cds-days > li:hover { cursor: pointer; background-color: #EEEEEE; }
.cds-days > li > .cds-shortdate {
    position: absolute;
    display: block;
    left: -55px;
    top: 9px;
    width: 55px;

    text-align: center;
    line-height: 10px;
}
.cds-days > li > .cds-shortdate .cds-shortdate-num {
    display: block;

    font-family: Museo Sans, Trebuchet MS, Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 17px;
}
.cds-days > li > .cds-shortdate .cds-shortdate-day {
    font-family: Helvetica, Arial, Sans-serif;
    font-size: 9px;
    font-weight: normal;
    color: #999999;
}
.cds-days > li > .cds-eotd {
    display: inline-block;
    line-height: 15px;
    vertical-align: middle;

    font-family: Helvetica, Arial, Sans-serif;
    font-size: 14px;
    font-weight: normal;
}
.cds-days > li > .sq-thumb {
    position: absolute;
    right: 15px;
    top: 5px;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    overflow: hidden;

    background-position: center center;
    background-size: cover;
}

.cds-months {
    padding: 0;
    margin: 0;

    text-align: center;

    font-family: Helvetica, Arial, Sans-serif;
    font-size: 14px;
    font-weight: normal;
}
.cds-months > li {
    display: inline-block;
    width: 20%;
    margin: 5px;
    height: 50px;
    line-height: 50px;
}
.cds-months > li:hover {
    background-color: #EEEEEE;
    border-radius: 5px;
    cursor: pointer;
}
.cds-months .disabled {
    color: #CCCCCC;
}
.cds-months .disabled:hover {
    cursor: default;
    background-color: transparent;
}

@media (min-width: 536px) {
    .cds-overlay {
        min-width: 331px;
        max-width: 331px;
        border-right: 1px solid rgb(220, 220, 220);

        max-height: 100%;
        overflow: hidden;
    }
    .cds-days {
        overflow-y: auto;
        position: absolute;
        left: 0;
        top: 100px;
        bottom: 0;
        width: 330px;
    }
}
