/* ===========================================================
 *
 *  Name:          selectordie_theme_02.css
 *  Updated:       2014-07-07
 *  Created by:    Per V @ Vst.mn
 *  What?:         Custom "theme" for Select or Die.
 *                 This is pretty much same as theme_02.css
 *                 found in the "_themes" folder. The only
 *                 difference is that it has .cusom appended
 *                 to all the selectors. .
 *
 *
 *  Oddny | Cogs 'n Kegs
 * =========================================================== */


/* The SoD - Please keep this first three lines intact, otherwise all hell will break looooooose */
	.sod_select.custom {
        display: inline-block;
        position: relative;
        line-height: 1;
        width: 150px;
        padding: 8px 10px;
        background: #fff;
        border: 1px solid #ddd;
        color: #292929;
        /* font-size: 12px; */
		font-size: 15px;
        font-weight: 400;
        text-align: left;
        text-transform: none;
        outline: 0;
        outline-offset: -2px; /* Opera */
        cursor: default;
		vertical-align: middle;
    }

	.sod_select.custom.custom_find {
		/* width: 115px; */
		width: 135px;
	}

	.sod_select.custom.year_select {
		/* width: 77px; */
		width: 85px;
		float: left;
	}

	.sod_select.custom.day_select {
		/* width: 60px; */
		width: 65px;
		float: left;
	}

	.sod_select.custom.month_select {
		/* width: 60px; */
		width: 65px;
		float: left;
	}
	
	
	.sod_select.custom.school_custom {
		width: 77px;
		float: left;
	}
	
	
		.sod_select.custom.sms_custom {
		width: 77px;
		float: left;
	}
	.sod_select.custom.sms_custom:focus{outline: 2px solid #3087f2;} 	

    /* Up/Down arrows */
    .sod_select.custom:before
		{
            content: "";
            position: absolute;
            right: 20px;
            top: 4px;
            bottom: 10px;
			height: 20px;
            border-left: 1px solid #ddd;
        }

    .sod_select.custom:after
        {
            content: "";
            position: absolute;
            right: 30px;
            top: 10px;
            bottom: 10px;
            border-left: 1px solid #ddd;
        }

        /* Down arrow */
        .sod_select.custom:after
            {
                content: "\25BC";
                right: 4.5px;
                top: 10px;
                border-left: none;
                font-size: 10px;
            }
            .sod_select.custom.above:after { content: "\25B2"; }

			.sod_select.custom.focus
        {
            background: #ffffff;
            border-color: #d4d4d4;
        }

		.sod_select.custom.open {border-color: #003366;}

    /* Change the border color on hover, focus and when open */
   /* .sod_select.custom:hover,
    .sod_select.custom.open,
    .sod_select.custom.focus
        {
            background: #ffffff;
            border-color: #d4d4d4;
        }

        .sod_select.custom.open { color: #919191; }
        .sod_select.custom.focus { box-shadow: inset 0 -1px 2px rgba(0,0,0,.05), 0 0 5px rgba(0,0,0,.1); }*/

    /* When the entire SoD is disabled, go crazy! */
    .sod_select.custom.disabled
        {
			background: #f5f5f5;
            /* border-color: #f5f5f5; */
            color: #ccc;
            /* cursor: not-allowed; */
        }

      /*   .sod_select.custom.disabled:hover { background: #fcfcfc; } */

    /* The "label", or whatever we should call it. Keep the first three lines for truncating. */
    .sod_select.custom .sod_label
        {	
			display: block;
            /* overflow: hidden; */
            white-space: nowrap;
            text-overflow: ellipsis;

            padding-right: 15px;
        }

        .sod_select.custom .sod_prefix { /* Use this if you're using a prefix and want to style it */ }
        .sod_select.custom .sod_placeholder { /* Use this if you're using a placeholder and want to style it */ }



    /* Options list wrapper */
    .sod_select.custom .sod_list_wrapper
        {
            position: absolute;
            top: 100%;
            left: 0;
            display: none;
            height: auto;
            width: 150px;
            margin: 0 0 0 -1px;
            border: 1px solid #003366;/* 아래방향 */
            background: #ffffff;
            color: #000;
            font-weight: 300;
            z-index: 1;
        }

	 .sod_select.custom.custom_find .sod_list_wrapper {
		/* width: 115px; */
		width: 135px;
	 }

	 .sod_select.custom.year_select .sod_list_wrapper {
		/* width: 77px; */
		width: 85px;
	}
	
	 .sod_select.custom.school_custom .sod_list_wrapper {
		width: 77px;
	}

	.sod_select.custom.day_select .sod_list_wrapper, .sod_select.custom.month_select .sod_list_wrapper {
		/* width: 60px; */
		width: 65px;
	}

      
        /* Shows the option list (don't edit) */
        .sod_select.custom.open .sod_list_wrapper { display: block; }

        /* Don't display the options when  */
        .sod_select.custom.disabled.open .sod_list_wrapper { display: none;  }

        /* When the option list is displayed above the SoD */
        .sod_select.custom.above .sod_list_wrapper /* 위방향 */
            {
                top: auto;
                bottom: 100%;
                margin: 0 0 0 -1px;
                border: 1px solid #003366;
            }

        /* Arrow(s) displayed when the SoD is active, only in this "theme" */
        .sod_select.custom .sod_list_wrapper:after,
        .sod_select.custom .sod_list_wrapper:before
            {
                content: "";
                position: absolute;
                bottom: 100%;
                right: 10px;
                border: solid transparent;
                height: 0;
                width: 0;
                pointer-events: none;
            }

            .sod_select.custom.above .sod_list_wrapper:after,
            .sod_select.custom.above .sod_list_wrapper:before
                {
                    top: 100%;
                    bottom: auto;
                }

      /*   .sod_select.custom .sod_list_wrapper:after
            {
            
                border-bottom-color: #ffffff;
                border-width: 5px;
            } */

         /*    .sod_select.custom.above .sod_list_wrapper:after
                {
                  
                    border-top-color: #ffffff;
                } */

        /* .sod_select.custom .sod_list_wrapper:before
            {
                margin-right: -2px;
                border-bottom-color: #1A237E;
                border-width: 7px;
            } */

           /*  .sod_select.custom.above .sod_list_wrapper:before
                {
             
                    border-top-color: #3396F0;
                } */


    /* Options list container */
    .sod_select.custom .sod_list
        {	
			display: block;
			overflow: hidden;
            overflow-y: auto;
            padding: 0 4px;
            margin: 4px 0;
			max-height: 329px;
        }

        /* All the options. Keep the first three lines for truncating... */
        .sod_select.custom .sod_option
            {
				display: block;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;

                position: relative;
                padding: 10px;
                list-style-type: none;
                border-bottom: 1px solid #f7f7f7;
            }
	
		.sod_select.custom.day_select .sod_option, .sod_select.custom.month_select .sod_option
		{
			padding: 10px 7px;
		}

		.sod_select.custom.day_select .sod_option:first-child, .sod_select.custom.month_select .sod_option:first-child
		{
			padding: 10px 0px;
			text-align: center;
		}

            /* Remove the bottom border from the last item */
            .sod_select.custom .sod_option:last-child { border-bottom: none; }

            /* Optgroups */
            .sod_select.custom .sod_option.optgroup,
            .sod_select.custom .sod_option.optgroup.disabled
                {
                    background: inherit;
                    color: #939393;
                    font-size: 10px;
                    font-style: italic;
                }

                /* Children of an optgroup */
                .sod_select.custom .sod_option.groupchild { padding-left: 20px; }

            /* Disabled option */
            .sod_select.custom .sod_option.disabled
                {
                    background: inherit;
                    color: #cccccc;
                }

            /* Hover state for options, also used when a user uses his/hers up/down keys */
            .sod_select.custom .sod_option.active
                {
                    background: #eaeaea;
                    color: #000;
                }

            /*Make room for the check mark */
            .sod_select.custom .sod_option.selected
                {
                    /* padding-right: 25px; */
                    font-weight: 700;
					color: #003366;
                }

                /* Displays a check mark for the selected option */
                .sod_select.custom .sod_option.selected:before
                    {
                        content: "";
                        position: absolute;
                        right: 10px;
                        top: 50%;
                        -webkit-transform: translateY(-50%);
                            -ms-transform: translateY(-50%);
                                transform: translateY(-50%);
                        display: inline-block;
                        color: #222;
                        height: 9px;
                        width: 10px;
                             }

                /* Add a .no_highlight class to you SoD to hide the check mark */
                .sod_select.custom.no_highlight .sod_option.selected:before { display: none; }



    /* Hide native select */
    .sod_select.custom select { display: none !important; }

        /* The native select in touch mode. Keep this first line. Sorry, keep everything. */
        .sod_select.custom.touch select
            {
                -webkit-appearance: menulist-button;

                position: absolute;
                top: 0;
                left: 0;
                display: block !important;
                height: 100%;
                width: 100%;
                opacity: 0;
                z-index: 1;
            }
	.sod_select, .sod_select * {
		-moz-user-select: none;
		box-sizing: border-box;
	}
