.custom_modal {
	display: none;
	position: absolute;
	top: 0px;
	left: calc( ( 100% - 700px ) / 2 );
	z-index: 1000;
	width: 700px;
	height: 100vh;
}

.custom_modal.open {
	display: table;
}
.custom_modal_inner {
	display: table-cell;
	vertical-align: middle;
	padding: 10px;
    padding-top:    20px;
}
.custom_modal > .custom_modal_inner > .form {
	background-color: white;
	border-radius: 10px;
	position: relative;
}
.custom_modal_overlay {
	position: fixed;
        z-index: 999;
        top: -12.5%;
        left: 0;
        bottom: 0;
        right: 0;
        height: 125%;
        width: 100%;
        background: #000;
        opacity: 0.9;
}
.custom_modal .inner {
    padding: 50px 80px;
}
.custom_modal .top {
    position: relative;
    z-index: 1;
}
.custom_modal .modal_title {
    font-size: 25px;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    padding: 0 50px;
}
.custom_modal .main_error {
    text-align: center;
    color: red;
    padding: 10px 0;
    display: none;
}
.custom_modal .field {
    margin-bottom: 30px;
    position: relative;
}
.custom_modal .field > *:first-child {
    margin-top: 0;
    padding-top: 0;
}
.custom_modal .field > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.custom_modal .field::after {
    content: '';
    display: table;
    width: 100%;
    clear: both;
}
.custom_modal .tc {
    text-align: center!important;
}
.custom_modal strong {
    color: #272e2b;
}
.custom_modal [style*="color:"] > strong {
    color: inherit;
}
.custom_modal input[readonly] {
    color: inherit;
}

.custom_modal .file_field {
    padding: 40px 20px!important;
}

.custom_modal .radio {
    margin-bottom: 10px;
}
.custom_modal .field_checkboxes.field_inline {
    overflow: hidden;
}
.custom_modal .field_checkboxes.field_inline .checkbox {
    float: left;
    padding-right: 30px!important;
}
.custom_modal .buttons {
    text-align: center;
}
.custom_modal .buttons .btn {
    margin: 0 10px 10px 10px;
    text-transform: none;
    padding: 15px 40px!important;
    height: auto!important;
    line-height: 1.2em!important;
}
.custom_modal .buttons br + .btn {
    margin-left: 0;
}
.custom_modal .buttons .btn:last-of-type {
    margin-right: 0;
    margin-bottom: 0;
}
.custom_modal .buttons .loading {
    vertical-align: middle;
    display: none;
}
.custom_modal.sending .buttons .loading {
    display: inline-block;
}
.custom_modal.sending .buttons .btn {
    display: none!important;
}
.custom_modal .field_description {
    line-height: 1.5em;
    font-size: 15px;
}

.custom_modal .btn-wrap {
    position: absolute;
    top: 15px;
    right: 15px;
}

.custom_modal .btn-wrap > * {
    display: block;
    float: left;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    line-height: 35px;
    margin-left: 10px;
    color: white;
    font-weight: bold;
    text-align: center;
    background-color: #00b4ab;
    font-size: 23px;
    z-index: 1;
    cursor: pointer;
}
.custom_modal .btn-wrap > *:hover {
    background-color: #00b4ab;
    color: white;
}

.custom_modal .btn-wrap > *:hover {
    background-color: #00b4ab;
    color: white;
}

.custom_modal .btn-wrap svg {
    width: 13px;
}

.custom_modal .btn-wrap .icon-open_new {
    width: 17px;
    transform: rotate(90deg);
}

.custom_modal .btn-wrap .icon-expand {
    width: 16px;
}




.custom_modal textarea {
    display: block;
}


.custom_modal .field .field_message {
    display: none;
    line-height: 1.3em;
    padding-top: 10px;

}
.custom_modal .field_message {
    display: block;
    color: red;
    background-color: white;
    position: relative;
    z-index: 1;
}
.custom_modal .field.error [type="radio"] + label:before {
    border-color: red;
}
.custom_modal .field.error textarea,
.custom_modal .field.error input {
    border: 1px solid red;
}
.custom_modal .success .buttons {
    margin-top: 50px;
}
.custom_modal .field > .label {
    font-weight: bold;
    color: #272e2b;
    margin-top: -15px!important;
}
.custom_modal .custom_select .view {
    text-indent: 0;
    padding-left: 20px!important;
    height: 35px;
}
.custom_modal a {
    color: #00b4ab;
}
.custom_modal [name^="other_"] {
    margin-top: 5px;
}



.custom_modal .field_group_length .field {
    width: calc( 50% - 5px );
    float: left;
}
.custom_modal .field_group_length .field:last-child {
    float: right;
}
.custom_modal .field_length_type > label {
    display: block;
    width: 75px;
    float: left;
    border: 1px solid #444;
    border-right: 0;
    height: 35px;
    line-height: 33px;
    text-align: center;
    font-size: 15px;
    box-sizing: border-box;
    border-radius: 18px 0 0 18px;
}
.custom_modal .field_length_type .view {
    border-radius: 0 18px 18px 0;
}
.custom_modal .field_length_type .custom_select {
    width: calc( 100% - 76px );
    float: left;
}

#agency_change_talent_availability form {
    padding-bottom: 100px;
}


.custom_modal .checkbox {
    margin-right: 20px;
}


.custom_modal .field.budget .disabled {
    display:    none;
}


.custom_modal .section_title {
    font-size:    20px;
    font-weight:    bold;
}


.custom_modal .field_box_options {
    display:    table;
    table-layout: fixed;
    height:    calc( 118px + 35px * 2 );
    border-spacing: 35px;
    width: calc( 100% + 35px * 2 );
    margin:    -35px;
}

.custom_modal .field_box_options .box {
    display: table-cell;
    vertical-align: middle;
    text-align:    center;
    width:    50%;
    position: relative;
}

.custom_modal .field_box_options .box label {
    border: 1px solid #444;
    height:    100%;
    width:    100%;
    position: absolute;
    padding:    0;
    top:    0;
    left:    0;
    margin:    0;
    border-radius: 18px;
}

.custom_modal .field_box_options .box input[disabled] + label {
    cursor: default;
}

.custom_modal .field_box_options .box input:not([disabled]) label:hover,
.custom_modal .field_box_options .box input:checked + label {
    border: 2px solid #00bab1;
    margin-top:    -1px;
    margin-left:    -1px;
}

.custom_modal .field_box_options .box input:checked + label + .text {
    color: #00bab1;
}

.custom_modal .field_box_options .box input[disabled]:not(:checked) + label {
    border-color: #999;
}
.custom_modal .field_box_options .box input[disabled] + label + .text,
.custom_modal .field_box_options .box input[disabled] + label + .text strong {
    color: #999;
}


.custom_modal .field_box_options .box .text {
    padding:    0 20px;
}

.custom_modal .field_box_options .box label:before,
.custom_modal .field_box_options .box label:after {
    display:    none;
}

.custom_modal .field_box_options .box:first-child {
 padding-left:    0;
}
.custom_modal .field_box_options .box:last-child {
    padding-right:    0;
}


.custom_modal .field_checkboxes .field_checkbox {
    padding:    5px 0;
}


@media( max-width: 1000px ){
    .custom_modal .field_group_length {
        margin-bottom: 40px;
    }
}

@media( max-width: 768px ){
	.custom_modal > .custom_modal_inner > .form > .inner {
		padding: 40px!important;
	}

    .custom_modal .btn-wrap {
        top: 10px;
        right: 10px;
    }
    .custom_modal .modal_title {
        padding: 0;
        margin-top: 21px;
    }
}

@media( max-width: 700px ){
	.custom_modal {
		left: 0;
		width: 100%;
	}
}

@media( max-width: 500px ){
    .custom_modal .field_group_length .field_length {
        width: calc( 100% - 135px );
    }
    .custom_modal .field_group_length .field_length_type {
        width: 125px;
    }
    .custom_modal .field_length_type > label {
        display: none;
    }
    .custom_modal .field_length_type .custom_select {
        width: 100%;
    }
    .custom_modal .modal_title {
        padding-right: 30px;
        padding-left: 30px;
        font-size: 22px;
        margin-top: 40px;
    }
    .custom_modal textarea {
        height: 200px;
    }
}

@media( max-width: 450px ){
	.custom_modal > .custom_modal_inner > .form > .inner {
		padding: 20px!important;
	}
	.custom_modal .buttons .btn {
		margin: 0 5px 10px;
		padding: 15px 25px!important;
	}
    .custom_modal .field_box_options {
        height: calc( 118px + 10px * 2 );
        border-spacing: 10px;
        width: calc( 100% + 10px * 2 );
        margin: -10px;
    }
}
















/* form */


.form .logo {
    margin-bottom:30px;
}

.form h1,
.form h2,
.form h3,
.form h4,
.form h5,
.form h6 {
    color:#272e2b;
}
@media( max-width: 600px ){
    .lost_password_section .you_know_pass .col {
        width: 100%;
    }
    .lost_password_section .you_know_pass .col:first-child {
        margin-bottom: 20px;
    }
}


.form .description {
    width:47%!important;
    float:right;
    clear:none!important;
    padding:0px 10px!important;
    font-size:12px!important;
}

.form .description>*:first-child {
    margin-top:0px;
}


.form li {
    padding:5px 0px;
}

.form.trans,
.form.trans>.inner {
    background-color:transparent;
    border-color:transparent;
    color:white;
}

.form.trans input {
    background-color:transparent!important;
    border:1px solid white;
    color:white;
}

.form.trans a {
    color:white;
}

.form.trans .btn.trans {
    color:white!important;
}

.form .user_type a{
    margin-right:10px;
}

.form .name_first label,
.form .name_last label    {
    display:none!important;
}


.field_script .file_field {
    margin-top: 5px;
}


@media(max-width:768px){
    .form>.inner {
        padding: 15px 20px;
    }
}

@media(max-width:500px){
    .form .user_type a{
        margin-right:5px;
        padding:0px 10px!important;
        font-size:12px!important;
        height:40px!important;
        line-height:35px!important;
    }

    .form.form_thank_you .links .col {
        width:100%;
    }
}

@media( max-width: 400px ){
    .form>.inner {
        padding: 5px 10px;
    }
}




.custom_modal.side_view {
    left: auto;
    right: 0;
    width: 500px;
    max-width: 100vh;
    height: auto;
    bottom: 0;
    top: auto!important;
    position: fixed;
}

.custom_modal.side_view > .custom_modal_inner {
    padding: 0;
}

.custom_modal.side_view > .custom_modal_inner > .form {
    border: 1px solid #ccc;
    box-shadow: 0px 0px 11px 3px rgba( 0, 0, 0, .2 );
    border-radius: 15px 0 0 0;
    height: 50vh;
    min-height: 400px;
    max-height: 100vh;
    overflow-y: auto;
    max-width: 100vh;
}

.custom_modal.side_view .inner {
    padding-right: 30px;
    padding-left: 30px;
}

.custom_modal.side_view .btn-wrap {
    top: 10px;
    right: 10px;
}

.custom_modal.side_view .hide_on_side_view {
    display: none;
}


@media( max-height: 500px ){
    .custom_modal.side_view > .custom_modal_inner > .form {
        min-height: 300px;
    }
}


@media( max-height: 300px ){
    .custom_modal.side_view > .custom_modal_inner > .form {
        height: 100vh;
        min-height: auto;
        border-radius: 0;
    }
}


@media( max-width: 768px ){
    .custom_modal.side_view > .custom_modal_inner > .form {
        height: 50vh;
        min-height: auto;
        border-radius: 0;
    }
}


@media( max-width: 500px ){
    .custom_modal.side_view {
        width: auto;
    }
}

