div.frame {
	width: 100%;
}

#content{
    min-height: 400px;
}

div.frame.content{
    padding-top: 1rem;
    padding-bottom: 1rem;
}

div.frame.rolling_banner{
    padding: 30px 0;
}

#footer{
    display: flex;
    align-items: center;
    font-size: small;
    min-height: 48px;
}

#best_view{
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: xx-small;
    min-height: 32px;
}

li {
	float: none;
	margin-right: 10px;
	margin-bottom: 0.3em;
}
input[type=text],input[type=password],input[type=email], input[type=number], select {
    width: 20em;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    height: 35px;
}

select[multiple] {
    height: auto;
}

.dataTables_wrapper input, .dataTables_wrapper select{
    width:inherit;
}
input.phone_country{
    width: 5em;
}
input.phone_area{
    width: 5em;
}
input.phone_number{
    width: 10em;
}
input.phone_areanumber{
    width: 15em;
}

.container{
    margin:auto;
    width:1024px;
    clear:both;
}

img.banner {
    width: 1024px;
    vertical-align: middle;
}

.container.menu{
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.container.menu.extra_space{
    padding-top: .5rem;
}

div.frame.menu{
    padding: 1rem 0;
}

ul.menu{
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    width: 1024px;
    height: 38px;
}

ul.mb_menu{
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: block;
    height: auto;
}

div.mb_menu_toggle{
    display: none;
    content: url(https://storage.googleapis.com/static.seamless-reg.com/comp_reg/static/menu/img/Menu.svg);
    width: 16px;
    height: 16px;
}

div.mb_menu_close{
    content: url(https://storage.googleapis.com/static.seamless-reg.com/comp_reg/static/menu/img/Exit.svg);
    width: 16px;
    height: 16px;
}

div.frame.mb_menu{
    display: none;
    width: 15rem;
    min-width: 150px;
    min-height: 100vh;
    background-color: #963983;
    position: fixed;
    top: 0;
    flex-flow: column;
    z-index: 50;
}

div.mb_menu_header{
    justify-content: space-between;
    display: flex;
    padding: 1rem .75rem;
}

div.mb_mebu_body{
    overflow-y: auto;
    height: 1px;
    flex: 1 1 auto;
}

div.container.mb_menu{
    width: 100%;
}

li.menu .menu_item, li.mb_menu .mb_menu_item{
    display: none;
    position: relative;
    z-index: 50;
}

li.mb_menu{
    margin: 0px;
}

a.mb_menu.btn{
    padding: .5rem 1rem;
    margin: 0;
    text-align: left;
    border-radius: 0;
    display: flex;
    justify-content: space-between;
}

.mb_menu_item a.mb_menu.btn{
    width: 100%;
    padding-left: 1.5rem;
}

li.mb_menu.clicked .mb_menu_item{
    display: block;
}

li.menu:hover .menu_item{
    display: block;
}

span.down_arrow{
    width: 16px;
    height: 16px;
    content: url(https://storage.googleapis.com/static.seamless-reg.com/comp_reg/static/menu/img/DownArrow.svg);
    margin-left: 1rem;
}

li.menu:hover span.down_arrow, li.mb_menu.clicked span.down_arrow{
    content: url(https://storage.googleapis.com/static.seamless-reg.com/comp_reg/static/menu/img/UpArrow.svg);
}

.middle{
    text-align: center;
}
.left{
    text-align: left;
}
.right{
    text-align: right;
}
.center{
    margin:auto;
}
td{
    padding: 5px;
    vertical-align: top;
}
.required {
	padding-right: 9px;
	background-image: url("/comp_reg/static/img/required.png");
	background-position: right top;
	background-repeat: no-repeat;
}
.indicator.required{
    color: red;
    font-size: 12px;
}
tr.help_text td{
    padding: 0 5px;
    padding-bottom: 10px;
    /* font-size:0.8em;
    color:grey; */
}
.abstract_edit input[type=text],.abstract_edit input[type=password],.abstract_edit input[type=email],.abstract_edit select,.abstract_edit textarea {
    width:100%;
}
table{
    width: 100%;
}
table.form_table tr td:first-child, table.data_table tr td:first-child{
    /* width:300px; */
    white-space: nowrap;
}

table.form_table tr td:first-child[colspan="2"], table.data_table tr td:first-child[colspan="2"]{
    white-space: normal;
}

.hidden{
    display:none;
}
.msg{
    padding: 5px;
    text-align: center;
    border: green 5px double;
    color: green;
}
.msg.error{
    border: red 5px double;
    color: red;
}
p{
    margin: 0;
}
.index_table{
    /* width: auto; */
    margin: auto;
    border-collapse: collapse;
}

#login_page{
    display: flex;
    justify-content: space-around;
}

.login_page_from{
    margin-top: 1rem;
    border-radius: 6px;
}

table.dataTable thead th, table.dataTable thead td{
    white-space: nowrap;
}

.dataTables_wrapper .dataTables_info{
    font-style: italic;
}

/* External Link */
.external_link_note{
    margin: 30px 0;
}

.external_link_outher {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.external_link_frame {
    width: 33%;
    display: block;
}

.external_link_title {
    text-align: center;
    font-size: 120%;
    height: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.external_link_title div {
    flex-grow: 1;
}

.external_link_img img {
    width: 100%;
}
/* End of External Link */

@media screen and (max-width: 1020px) {
	.container {
		/* width: 750px; */
        width: 95%;
	}

    #banner.container{
        width: 100%;
    }

    ul.menu{
        display:none;
    }

    .container.menu.extra_space{
        display: none;
    }

    div.mb_menu_toggle{
        display: block;
    }

	img.banner {
		/* width: 750px; */
        width: 100%;
	}
	input[type=text],input[type=password],input[type=email],  select {
		width: 250px;
	}
	input[type=text].phone_country{
	    width:100px;
	}
	input[type=text].phone_number{
	    width:150px;
	}
    input.phone_country{
        width: 3em;
    }
    input.phone_area{
        width: 3em;
    }
    input.phone_number{
        width: 9em;
    }
    input.phone_areanumber{
        width: 12em;
    }
    input[type=file]{
        width: 100%;
    }

    #login_page{
        display: block;
    }
    table.form_table tr td:first-child, table.data_table tr td:first-child{
        white-space: normal;
        font-weight: bold;
    }
    table.data_table tr td, table.payment_table tr td, table.form_table tr td  {
        display: block;
        overflow-wrap: anywhere;
    }
    table.dataTable tr td {
        display: table-cell;
        overflow-wrap: initial;
    }
}
@media screen and (max-width: 767px) {
	.container {
		/* width: 500px; */
	}
	img.banner {
		/* width: 500px; */
	}
	input[type=text],input[type=password],input[type=email],  select {
		width: 250px;
	}
	input[type=text].phone_country{
	    width:100px;
	}
	input[type=text].phone_number{
	    width:150px;
	}
    input.phone_country{
        width: 3em;
    }
    input.phone_area{
        width: 3em;
    }
    input.phone_number{
        width: 9em;
    }
    input.phone_areanumber{
        width: 12em;
    }
}

@media screen and (max-width: 500px) {
	.container {
		/* width: 300px; */
	}
	img.banner {
		/* width: 300px; */
	}
	li {
		float: none;
		padding-right: 0px
	}
	li.many:nth-child(odd) {
		float: left;
		margin-left: 4px;
	}
	input[type=text],input[type=password],input[type=email],  select {
		width: 120px;
	}
    input[type=text].phone_country{
        width:120px;
    }
    input[type=text].phone_number{
        width:120px;
    }
	td {
		text-align: left;
	}
	body * {
		font-size: 16px;
	}
    input.phone_country{
        width: 3em;
    }
    input.phone_area{
        width: 3em;
    }
    input.phone_number{
        width: 4em;
    }
    input.phone_areanumber{
        width: 4em;
    }
    .external_link_title{
        height: auto;
    }
    .external_link_frame {
        width: 100%;
    }
}
