@font-face {
    font-family: RobotoSlab;
    src: url(/fonts/ibs/robotoSlab.woff2);
}

*{
    padding:0;
    margin:0;
    font-family: RobotoSlab;
    color: #333333;
}
.left{
    float:left;
}
.right{
    float:right;
}
.clearing{
    clear:both;
}
.half{
    width:50%;
}

input[type=submit]{
    background-color: #98C93C !important;
    color: #ffffff;
    text-transform: uppercase;
}
input[type=submit]:hover{
    background-color: #98C93C !important;
    color: #ffffff;
    text-transform: uppercase;
}

input[type=submit]:disabled{
    background-color: #ECF2E6;
    color: #333333;
    text-transform: uppercase;
}

#logo{
    margin:10px 0 0 4px;
    background: no-repeat left 50% url("/img/partner/ibs/logo.png");
    height:20px;
    width:210px;
}

body{
    height: 100vh;
    background: none;
    background-color: #F6FAF2;
}

#wrapper{
    display: grid;
    justify-content: center;
    grid-template-rows: auto auto auto;
    height: 100vh;
}

.form-control-inline{
    width:200px;
    display: inline;
    margin:0 0.5em;
}

.vcenter{
    margin-top:-0.6em;
}

a{
    text-decoration: underline;
}

.info a{
    color:#FFFFFF;
}

a:hover{
    text-decoration: underline;
}

.response-image{
    margin-top: 0.5em;
    border:none;
    display: block;
}


.card{
    box-shadow: 0px 0px 4px 4px #64A70626;


}

iframe{
    border: none;
    top: 0; right: 0;
    bottom: 0; left: 0;
    width: 100%;
}

/*
.line{
    border-top: 1px solid rgba(0,0,0,.125);
    height:0;
    margin:1em 0;
}
 */

img{
    max-width:100%;
}

.info{
    margin:20px 0;
}

@media (min-width: 576px) {
    #content{
        max-width:60em;
    }

    .field-container{
        width:100%;
        padding:0 1em;
    }
}

@media (min-width: 768px) {
    #content{
        max-width:60em;
    }

    .field-container{
        width:100%;
        padding:0 1em;
    }

    #logo{
        /*background: no-repeat left 75% url("/img/partner/ibs/logo.png");*/
        margin: 50px 0;
        width:210px;
    }

    body{
        background: url("/img/partner/ibs/background.png") repeat;
    }
}

@media (min-width: 992px) {
    #content{
        width:60em;
    }

    .field-container{
        width:50%;
        padding:0 1em;
        float:left;
    }

    .field-container:nth-child(3n){
        clear: left;
    }

    #logo{
        margin: 50px 0;
        width:210px;
    }

    body{
        background: url("/img/partner/ibs/background.png") repeat-x repeat-y;
    }
}

@media (min-width: 1200px) {
    #content{
        width:60em;
    }

    .field-container{
        width:50%;
        padding:0 1em;
        float:left;
    }

    .field-container:nth-child(3n){
        clear: left;
    }

    #logo{
        margin: 50px 0;
        width:210px;
    }

    body{
        background: url("/img/partner/ibs/background.png") repeat-x repeat-y;
    }
}

#content{
    grid-row: 2;
    margin:0 auto;
}

.question, .campaign-description, .respondent-info, .submit-container{
    margin:1em 0.2em 1em 0.2em;
}

.question:last-child, .campaign-description:last-child, .respondent-info:last-child, .submit-container:last-child{
    margin-bottom: 1em;
}

.responses>li>.form-check{
    margin-top:0.8em;
    width:100%;
}

.responses>li>.form-check>label{
    width:100%;
}

.responses>li>.form-check>label iframe{
    height: 40vh;
}

.info{
    color:#333333;
    text-align: center;
    font-size: 1.6em;
}

.scale-responses .point{
    float:left;
    width: 3em;
    height: 3em;
    border:2px solid #98C93C;
    background: #ECF2E6;
    border-radius: 0.25rem;
    text-align: center;
    line-height: 3em;
    color:#98C93C;
}

.scale-responses .point{
    margin:0 10px 10px 0;
}

.scale-responses .point:last-child{
    clear:right;
    margin-right: 0;
}

.scale-responses .point input[type=radio]:checked+label{
    background:#98C93C;
    color:#ffffff;
}

.scale-responses .point label:active{
    background-color: #98C93C;
    border-color: #98C93C;
}

.scale-responses .point label{
    display: block;
    width:100%;
    height:100%;
}

.scale-responses .point:last-child{
    margin-right:0px;
}

.scale-responses{
    float:left;
}

.scale-description{
    margin-top:0;
    max-width: 30%;
}

.scale-description.right{
    text-align: right;
}

.textarea-label{
    width:100%;
}

.selectpicker{
    width:500px;
}

.dropdown-item.active, .dropdown-item:active{
    background:#98C93C;
    color:#ffffff;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
    border-color: #98C93C !important;
    box-shadow: 0 1px 1px #98C93C inset, 0 0 8px #98C93C !important;
    outline: 0 none;
}

input[type=checkbox], input[type=radio]{
    accent-color: #98C93C !important;
    color:#ffffff !important;
}

input[type="date"], input[type="text"], input[type="number"]
{
    display:block;
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.2em;
}

.question.hide-by-rule{
    display:none;
}

/*
.responses>li>label{
    cursor: pointer;
    padding:0.5em;
    border: 1px solid #ffffff;
}
*/
/*
.responses>li>div:hover{
    border: 1px solid #e0e1e2;
}
*/