@import "config";

#submission {
    form {
        .row {
            display: block;
            margin-bottom: 10px;
            &.single {
                width: 100%;
            }
            &.double {
                margin-left: -10px;
                .blk {
                    width: calc((100% / 2) - 10px);
                    float: left;
                    margin-left: 10px;
                }
            }
            &.checkbox {
                margin: 35px 0px;
            }

            &.radio {
                padding-bottom: 20px;
                margin-top: 20px;
                border-bottom: 1px dotted #8f8d8d;
            }

            &.last_radio {
                border-bottom: 0;
            }
        }

        .long-radio {
            label {
                &.full {
                    width: 690px;
                }
            }

            .btns {
                width: calc(100% - 700px);
            }
        }

        .abs_btn {
            line-height: 21px;
            text-align: center;
            width: 400px;
            color: #fff;
            background: #000;
            transition: 0.4s all;
            cursor: pointer;
            border: none;
            float: left;
            font-size: 15px;
            font-weight: 600;
            padding: 15px 20px;
            border-radius: 10px;
            margin-right: 10px;

            &:hover {
                background: $main_clr;
            }
        }

        label {
            border: 3px solid #f0ecec;
            float: left;
            font-size: 15px;
            font-weight: 600;
            padding: 15px 20px;
            border-radius: 10px;
            margin-right: 10px;
            &.full {
                width: 280px;
                display: inline-block;
            }

            &.half {
                width: 140px;
                display: inline-block;
            }
            &.check {
                border: none;
                padding: 0;
                margin-left: 9px;
            }
            &.check-1 {
                margin-left: 25px;
                width: calc(100% - 48px);
            }
        }
        input {
            line-height: 20px;
            float: left;
            padding: 15px 20px;
            border-radius: 10px;
            outline: none;
            color: #8f8d8d;
            border-color: #fff0;
            box-shadow: -1px 1px 14px -4px rgba(0, 0, 0, 0.29);
            -webkit-box-shadow: -1px 1px 14px -4px rgba(0, 0, 0, 0.29);
            -moz-box-shadow: -1px 1px 14px -4px rgba(0, 0, 0, 0.29);
            &.full {
                width: calc(100% - 290px);
            }
            &.half {
                width: calc(100% - 150px);
            }
        }
        input[type="file"] {
            position: relative;
            width: calc(100% - 410px);

            &:hover {
                &:after {
                    background: url(../images/icons/upload_arw.png) no-repeat 65% 17px
                        #000;
                    color: #fff;
                }
            }

            &:after {
                content: "Upload Abstract";
                text-align: center;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: url(../images/icons/upload_arw.png) no-repeat 65% 17px
                    $main_clr;
                color: #fff;
                cursor: pointer;
                padding-top: 15px;
                transition: 0.4s all;
                font-size: 15px;
                font-weight: 600;
            }
        }

        .btns {
            $color1: #f4f4f4;
            $color2: $main_clr;
            display: inline-block;
            width: calc(100% - 290px);
            .btn {
                float: left;
                input[type="radio"] {
                    position: absolute;
                    padding: 0;
                    opacity: 0;
                    + .radio-label {
                        border: #000f;
                        &:before {
                            content: "";
                            background: $color1;
                            border-radius: 100%;
                            border: 1px solid darken($color1, 25%);
                            display: inline-block;
                            width: 1.4em;
                            height: 1.4em;
                            position: relative;
                            top: -0.2em;
                            margin-right: 1em;
                            vertical-align: top;
                            cursor: pointer;
                            text-align: center;
                            transition: all 250ms ease;
                        }
                    }
                    &:checked {
                        + .radio-label {
                            &:before {
                                background-color: $color2;
                                box-shadow: inset 0 0 0 4px $color1;
                            }
                        }
                    }
                    &:focus {
                        + .radio-label {
                            &:before {
                                outline: none;
                                border-color: $color2;
                            }
                        }
                    }
                    &:disabled {
                        + .radio-label {
                            &:before {
                                box-shadow: inset 0 0 0 4px $color1;
                                border-color: darken($color1, 25%);
                                background: darken($color1, 25%);
                            }
                        }
                    }
                    + .radio-label {
                        &:empty {
                            &:before {
                                margin-right: 0;
                            }
                        }
                    }
                }
            }
        }

        .submit {
            box-shadow: none;
            background: none;
            font-weight: 900;
            font-size: 15px;
            text-transform: uppercase;
            padding: 15px 70px;
            border: 0;
            border-radius: 10px;
            position: relative;
            cursor: pointer;
            color: #fff;
            background: $main_clr;
            transition: 0.2s all;
            margin-top: 40px;

            &:hover {
                background: #000;
            }
        }
        .chb {
            visibility: hidden;
        }

        .chb + label {
            position: relative;
            padding-left: 5px;
        }

        .chb-1 + label::before {
            position: absolute;

            width: 17px;
            height: 17px;
            background-color: #fff0;
            border-radius: 5px;
            content: "";
            top: -4px;
            left: -20px;
            font-size: 11px;
            text-align: center;
            font-weight: bolder;
            border: 5px solid $main_clr;
        }

        .chb-1:checked + label::before {
            color: rgb(255, 253, 253);
            content: "\2713";
            background: $main_clr;
        }
        select {
            float: left;
            padding: 15px 20px;
            border-radius: 10px;
            color: #8f8d8d;
            outline: none;
            border-color: #fff0;
            box-shadow: -1px 1px 14px -4px rgba(0, 0, 0, 0.29);
            -webkit-box-shadow: -1px 1px 14px -4px rgba(0, 0, 0, 0.29);
            -moz-box-shadow: -1px 1px 14px -4px rgba(0, 0, 0, 0.29);
            appearance: none;
            background: url(../images/icons/down_arw.png);
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 15px;
            cursor: pointer;
            &.full {
                width: calc(100% - 290px);
            }
            &.half {
                width: calc(100% - 150px);
            }
        }

        option {
            min-height: 1.5rem !important;
            padding: 14px !important;
        }
    }
}

#speakers {
    .dbl_blk {
        .left_blk {
            width: 300px;
            float: left;
            padding-right: 50px;

            img {
                width: 100%;
                -webkit-box-shadow: 0px 4px 0px 0px rgba(25, 71, 186, 1);
                -moz-box-shadow: 0px 4px 0px 0px rgba(25, 71, 186, 1);
                box-shadow: 0px 4px 0px 0px rgba(25, 71, 186, 1);
            }
        }
        .right_blk {
            width: calc(100% - 300px);
            float: left;

            h3 {
                font-weight: bold;
            }

            h4 {
                font-weight: bold;
                color: $main_clr;
                text-transform: uppercase;
                font-size: 16px;
                margin-bottom: 5px;
                margin-top: 25px;

                &:first-child {
                    margin-top: 0;
                }

                a {
                    font-weight: 500;
                    font-size: 14px;
                    text-transform: none;
                }
            }

            p {
                margin: 0;
            }
        }
    }
}
