
@import url("https://yposts.me/users/assets/css/slideshow_post_creation_update.css");
@import url("https://yposts.me/users/assets/css/quill.imageUploader.min.css");
@import url('https://yposts.me/users/assets/css/post_series_creation_and_update.css');
@import url('https://yposts.me/assets/bundles/flatpickr/flatpickr.min.css');
@import url("https://yposts.me/assets/bundles/summernote/summernote-lite.min.css");
@import url("https://yposts.me/assets/css/emoji.css");

#post_interactivity_selection_section {
    box-sizing: border-box;
    padding:15px;
    padding-top:0px;
    border:1px solid lightgray;
    border-radius: 10px;
    width:95vw;
    max-width:350px;
    margin-left:15px;
    margin-top:15px;
    margin-bottom:15px;
}
#types_of_interactive_content_section {
    margin-left:30px;
    display: none;
}
#post_interactivity_selection_section label{
    display: block;
    margin-bottom: 15px;
    cursor: pointer;
}
#post_interactivity_section_title {
    color:dimgray;
    display: inline-block;
}

#interactive_interactivity_section {
    display: none;
}

/* for static content */
#static_post_file_type_selection_section {
    margin-bottom: unset;
}
#static_post_type_video_option_content_section_wrapper {
    margin-top:35px;
}
.static_post_option_type_option_label {
    display: inline-block;
    margin-right:25px;
    cursor: pointer;
}
.short_msg_about_file_type_importance {
    text-align: center;
    font-size: 12px;
    line-height: 1.6em;
    color:dimgray;
}
.static_post_option_type_option_label span {
    font-size:15px;
    padding:7px 12px;
    border-radius: 5px;
    border:1px solid lightgray;
    text-align: center;
    font-weight:bold
}
.static_post_option_type_option_label img {
    width:25px;
    position: relative;
    top:10px;
}
.static_post_option_type_option_label:hover {
    transform: scale(1.03);
}
.static_post_option_type_option{
    display: none;
}
.selected_static_post_option_type_option img, .selected_static_post_option_type_option span{
    border:2px solid rgb(0, 140, 230) !important;
    border-radius: 5px;
    padding:7px 12px !important
}


/* for interactive contents*/
.interactivity_dev {
    display: none;
}
#interactive_emoji_post_type_file_displayer_section {
    margin: auto;
    margin-top:35px;
    margin-bottom: 25px;
    width: max-content;
}

.interactive_post_emoji_type_content_displayer ,.interactive_post_intensity_type_content_displayer{
    display: block;
    width:400px;
    min-height:300px;
    max-height:max-content;
    max-height:400px;
    margin:auto;
    
    border:1px solid lightgray;
    border-radius: 10px;
    text-align: center;
}
.interactive_post_emoji_type_content_displayer img, .interactive_post_emoji_type_content_displayer video, .interactive_post_intensity_type_content_displayer img, .interactive_post_intensity_type_content_displayer video {
    max-width:100%;
    max-height: 400px;
    border-radius: 10px;
    margin: auto;
    text-align: center;
}
.interactive_post_emoji_type_file_selector,.interactive_post_intensity_type_file_selector {
    margin:auto;
    margin-top:15px;
    width:150px;
}
#emoji_feedback_post_file_size,#intensity_feedback_post_file_size {
    border:1px solid lightgray;
    margin: auto;
    width: 100px;
    text-align: center;
    margin-top:15px;
    padding:10px;
    border-radius: 5px;
    display: none;
    font-size: 13px;
}
.emoji_post_type_add_file_inst_text,.intensity_post_type_add_file_inst_text {
    display: block;
    margin: 40% auto;
    font-weight:bold;
    font-size:16px;
    text-align: center;
    border:1px solid dimgray;
    border-radius: 5px;
    padding: 10px 35px;
    width: max-content;
    cursor: pointer;
}
.emoji_post_type_add_file_inst_text:hover, .intensity_post_type_add_file_inst_text:hover{
    background-color: rgb(228, 228, 228);
}

#post_creation_update_form .ql-toolbar{
    border-width: 0 !important;
    background-color: white;
    width: max-content;
    border-radius: 5px;
}
#post_creation_update_form .note-toolbar {
    background-color: white;
    width: max-content;
}
#interactive_emoji_post_type_text_field_displayer_section .ql-toolbar, #interactive_intensity_post_type_text_field_displayer_section .ql-toolbar {
    display: block;
    text-align: center;
    margin: auto !important;
    box-sizing: border-box;
    width:max-content;
    border-radius: 10px;
    border-width:0 !important;
}

#post_creation_update_form .ql-editor{
    background-color: white;
    border-radius: 5px;
}
#post_creation_update_form .ql-editor p,#post_creation_update_form  .ql-editor div,
#post_creation_update_form  .ql-editor ol,#post_creation_update_form  .ql-editor ul,
#post_creation_update_form  .ql-editor li {
    color: black;
}
#post_creation_update_form .ql-container{
    background-color: white;
}
#static_post_type_text_option_content_section_wrapper .ql-container{
    background-color: var(--bg-primary);
}
.wide_summernote_editor_section_wrapper {
    box-sizing: border-box;
    width:98vw;
    max-width:750px
}
#post_creation_update_form .note-editable{
    border:1px solid lightgray;
    border-radius: 7px;
    background-color: white;
    color: black;
}
#post_creation_update_form .note-editable p,#post_creation_update_form .note-editable div,
#post_creation_update_form .note-editable ol, #post_creation_update_form .note-editable ul,
#post_creation_update_form .note-editable li{
    color: black;
}
#post_creation_update_form .note-modal-content {
    background-color: var(--bg-secondary);
}
#post_creation_update_form .note-form-label{
    color: var(--text-secondary);
}
#post_creation_update_form .note-modal-header{
    border-width: 0;
}
#post_creation_update_form .note-input{
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
}
#post_creation_update_form .note-icon-close{
    color: var(--text-primary);
}
#post_creation_update_form  .emoji-menu-tabs td, #post_creation_update_form  .emoji-menu-tabs th{
    border-width: 0;
}
#post_creation_update_form .note-frame {
    border-width: 0 !important;
}

#interactive_emoji_post_type_text_field_displayer_section .ql-editor,#interactive_intensity_post_type_text_field_displayer_section .ql-editor {
    font-size:22px;
    min-height:400px;
    min-width:100%;
    max-height: 400px;
    overflow: hidden;
    overflow-y: auto;
}
#emoji_selection_section, #number_poll_options_section{
    margin:auto;
    margin-top:15px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width:90%;
    max-width:500px;

}
#emoji_feedback_elements_section label{
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
    font-weight: bold;
}

#emojies_container {
    width:375px;
    max-height: 300px;
    overflow: hidden;
    overflow-y: auto;
    border:1px solid lightgray;
    padding:7px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top:15px;
    justify-content: space-around;

}
.emoji_img {
    height:35px;
}
.emoji_img_cont {
    padding:5px;
    margin-right:10px;
    margin-top:10px;
    cursor: pointer;
    border-radius: 3px;
}
.emoji_img_cont:hover {
    border:1px solid lightgray;
}

#selected_emojis {
    width:225px;
    padding:10px;
    border:1px solid lightgray;
    border-radius: 5px;
    box-shadow: 1px 1px 10px 1px lightgray inset;
    min-height: 15px;
    margin-top:10px
}
.selected_emojis_img {
    height:30px;
    margin-right:5px;
    margin-bottom: 7px;
}
.already_selected_emoji {
    border:1px solid lightgray;
    padding:3px;
    border-radius: 3px;
}

/* Intensity post section elements style */
#intensity_post_type_question_and_scale_section {
    margin: auto;
    width:98%;
    max-width:550px;

}
#intensity_post_type_question_and_scale_section .ql-toolbar{
    width: max-content;
}
#post_intensities_elements_section {
    display: flex;
    flex-direction: row;
    flex-wrap:nowrap;
    width:95%;
    max-width: 400px;
    justify-content: space-around;
    justify-content: space-evenly;
}

#post_intensity_question {
    width:98%;
    max-width: 350px;
    min-height: 175px;
    height:25vh;
    max-height:250px;
    overflow: hidden;
    overflow-y: auto;
    font-size:14px;
    border:1px solid lightgray;
    border-radius: 5px;
}


/*  for poll type of interactivity */
#interactive_post_number_poll_type_file_displayer_section, #interactive_post_number_poll_type_text_field_displayer_section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 450px;
    justify-content: space-around;
    margin: auto;
    margin-top:35px;
    margin-bottom:25px;
}
#interactive_post_number_poll_type_file_displayer_section label {
    display: inline-block;
}
.post_file_type_selection_section {
    margin: auto;
    margin-top:35px;
    margin-bottom:35px;
    width:max-content;
    white-space: nowrap;
}

.number_poll_option_type_option, .emoji_post_file_type_option, .intensity_post_file_type_option {
    position: relative;
    font-weight: bold;
    display: inline-block;
    margin:auto 10px
}
.file_count_element_and_option_identifier_section {
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    align-self: center;
    align-content: center;
}
.poll_post_file_sub_section, .poll_text_option_sub_section {
    width: 200px;
    margin:15px 5px;
    border:1px solid lightgray;
    border-radius: 5px;
    height:max-content;
}
.poll_text_option_sub_section .ql-toolbar {
    display: none;
    background-color: rgb(245, 245, 245);
    position: relative;
    right:20px;
    width:max-content;
    border-width:0 !important;
}
.number_poll_text_option_field {
    width:100%;
    height:225px;
}
.poll_text_option_sub_section .ql-container {
    border-width: 0 !important
}
.poll_post_file_displayer {
    box-sizing: border-box;
    display: block;
    width: 98%;
    min-height:150px;
    max-height: 200px;
    text-align: center;
    margin: auto;
}
.poll_post_file_displayer label{
    display: block;
    margin: auto;
    margin-top:30%;
    text-align: center;
    font-weight: bold;
    width:max-content;
    padding:7px 25px;
    border-radius: 5px;
    border:1px solid dimgray;
    cursor: pointer;
    font-size: 14px;
}
.poll_post_file_selector_input_wrapper_label, .emoji_feedback_post_file_selector_input_wrapper_label,.intensity_feedback_post_file_selector_input_wrapper_label {
    margin: auto;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    width:100%;
    max-width: 500px;
    display:none;
}
.poll_post_file_selector_input_wrapper_label span, .emoji_feedback_post_file_selector_input_wrapper_label span, .intensity_feedback_post_file_selector_input_wrapper_label span {
    display: inline-block;
    margin: auto;
    text-align: center;
    font-size:12px;
    font-weight:bold;
    border:1px solid dimgray;
    border-radius: 5px;
    padding:7px 15px;
    cursor: pointer;
}

.poll_post_file_selector_input_wrapper_label span:hover, .emoji_feedback_post_file_selector_input_wrapper_label span:hover, .intensity_feedback_post_file_selector_input_wrapper_label span:hover {
    background-color: lightgray;
}
.poll_post_file_displayer img{
    display: inline-block;
    max-height:180px;
    max-width: 98%;
    border-radius: 5px;
    margin:auto;
    margin-top:5px;
    text-align: center;
} 
.poll_post_file_displayer video {
    max-height:180px;
    max-width: 100%;
    border-radius: 5px;
    margin:auto;
    margin-top:5px;
    text-align: center;
}
.poll_post_file_displayer label:hover{
    background-color: rgb(228, 228, 228);
}
.selected_poll_post_files_handlers {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    display: none;
    margin-top:25px
}
.selected_poll_post_files_handlers span{
    display: inline-block;
    font-size:14px;
}
.poll_image_size {
    display: inline-block;
    width: 125px;
    padding:5px;
    font-size:12px !important;
    text-align: left;
    margin-left:10px
}
.poll_post_file_remover{
    cursor: pointer;
}
.poll_post_file_remover img {
    width:30px;
    position: relative;
    bottom: 10px;
}
.poll_image_deleter {
    display: block;
    margin:10px;
    font-size:12px;
    cursor:pointer
}
#number_poll_file_related_final_result_options_section,#number_poll_user_defined_final_answer_options_section{
    display:none
}

.image_link_section img {
    width:30px;
    height:30px;
    padding:5px;
    background-color: lightgray;
    border:1px solid darkgray;
    border-radius: 3px;
}

.image_link_section input[type = 'url']{
    width: 125px;
    padding:7px 15px;
    padding-left:30px;
    border:1px solid lightgray;
    border-radius:5px;
    background-image: url("https://yposts.me/assets/img/link_icon3.png");
    background-origin: 0;
    background-position: left;
    background-position-x: 5px;
    background-size: 20px ;
    background-repeat: no-repeat;
    font-size: 13px;
    position:relative;
}
.image_link_section input[type = 'url']:focus { 
    width:275px;
    z-index: 10;
}

#emoji_image_link_section {
    margin-top:10px
}
#emoji_image_link_section input[type = 'url'] {
    width: 300px;
    padding:10px 15px;
    padding-left:30px;
    border:1px solid lightgray;
    border-radius:5px;
    background-image: url("https://yposts.me/assets/img/link_icon3.png");
    background-origin: 0;
    background-position: left;
    background-position-x: 5px;
    background-size: 20px ;
    background-repeat: no-repeat;
    font-size: 13px;
}

#more_product_details_url_explanation {
    color:dimgray;
    font-size:13px;
    margin: auto;
    margin-top: 15px;
    width:400px;
    margin-bottom: 15px;
    line-height: 1.6em;
}

#poll_number_interval_title {
    display: block;
    margin-bottom:10px;
    font-weight: bold;
}
#file_numbering_interval_section {
    margin-top:25px;
    display:none;
}
.poll_numbers_interval_elmt {
    display: inline-block;
}
#number_poll_options_section input[type= "number"] {
    padding:10px 15px;
    text-align: center;
    width:150px;
    border:1px solid lightgray;
    border-radius: 5px;
}
#brief_poll_message, #intensity_post_question {
    padding:10px;
    border:1px solid lightgray;
    border-radius: 5px;
    width:98%;
    max-width:500px;
    height:225px;
    line-height: 1.5em;
    font-size:16px
}
#brief_poll_message .ql-editor, #intensity_post_question .ql-editor{
    padding: 0;
    line-height: 1.6em;
}
#brief_poll_message img, #intensity_post_question img {
    max-width:225px;
    max-height:225px;
    border-radius: 5px;
    display: block;

}
#post_description img, #end_of_poll_message img {
    max-width:350px;
    max-height:350px;
    border-radius: 5px;
    display: block;
}
.number_poll_option_identifier {
    box-sizing: border-box;
    padding:7px 10px !important;
    width:150px !important;
    border:1px solid lightgray;
    border-radius:5px;
    margin-left:5px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 13px;
    position:relative;
}
.number_poll_option_identifier:focus {
    width:275px !important;
    z-index: 10;
}
.bem {
    display:inline-block;
    margin:8px !important;
    transform: scale(2);
}
.ap {
    display:inline-block;
    margin:6px;
    transform: scale(1.6);
    position: relative;
    bottom: 7px;
}

.poll_post_file_type_selector {
    width:125px;
    margin:auto;
    margin-top:5px;
    margin-bottom: 5px;
    font-size:12px;
}

#static_post_type_file_option_content_section_wrapper {
    box-sizing: border-box;
    display:-webkit-flex;
    display:-ms-flexbox;
    display:flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-content: space-between;
    border:1px solid lightgray;
    min-width:350px;
    width:95%;
    max-width:900px;
    margin:35px auto;
    padding:20px;
    border-radius: 5px;
}

#static_post_type_file_option_content_section_wrapper input[type = "file"] {
    display: none;
}

#static_post_type_file_option_content_section_wrapper legend {
    padding:7px 15px;
    border:1px solid lightgray;
    border-radius:3px;
    background-color:lightgray;
    font-size:14px;
}

.static_post_image_displayer{
    max-width:100%;
    max-height:100%;
    text-align:center;
    border-width:0;
    display:none
}

.single_post_content_section_wrapper .ql-editor {
    line-height: 1.7em;
    overflow: hidden;
    overflow-y: auto;
    border-bottom-left-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
}
.single_post_content_section_wrapper .ql-container {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.section_title {
    font-size:16px;
    font-weight:bold;
    border: 0 solid lightgray;
    border-bottom-width: 2px;
}
#file_instructions {
    font-size:small;
}

.file_element_label{
    font-weight:bold;
    font-size:13px;
    padding:5px 15px;
    border:1px solid lightgray;
    border-radius:5px;
    cursor: pointer;
    display: inline-block;
    margin-top:15px
}
.file_element_label:hover {
    background-color: lightgray;
}
#static_post_images_section {
    margin-bottom:50px;
    margin-right:35px;      
    width:max-content;    
}

#video_upload_option_checkbox_label {
    cursor: pointer;
    display:inline-block;
    margin-bottom:5px;
    font-weight:bold
}
#upload_videos {
    display:inline-block;
    margin-right:10px;
    
}
#video_upload_section_header {
    display:inline-block;
    position: relative;
    bottom:5px;
    font-size:16px;
}

.delete_checkbox_label{
    text-align: center;
    display: block;
    cursor: pointer;
    font-size:13px;
    margin:auto;
    margin-top:20px;
    font-weight:bold;
    color:dimgray
}

table {
    border-collapse: collapse;
}

#static_post_type_file_option_content_section_wrapper th, #static_post_type_file_option_content_section_wrapper td{
    padding:5px;
}

#static_post_type_file_option_content_section_wrapper th{
    text-align:left;
    width:125px;
}

#post_details_section {
    margin: auto auto;
    width:90%;
    margin-top:55px
}
.current_post_state_span {
    display: block;
    padding:10px 25px;
    border-radius: 5px;
    font-weight: bold;
    width:175px
}
.element_label {
    display: block;
    margin-bottom: 5px;
    margin-top: 35px;
    font-weight: bold;
    cursor: pointer;
    width:max-content;
    white-space: nowrap;
    font-size:14px
}

#post_creation_update_form input[type = "text"]:not(.number_poll_option_identifier), #post_creation_update_form  input[type = "tel"], #post_creation_update_form select,#post_creation_update_form textarea {
    box-sizing: border-box;
    width:95vw;
    min-width:250px;
    max-width:400px;
    border-radius:5px;
    padding:15px;
    border:1px solid lightgray;
    margin-bottom:7px;
    font-size: 14px;
}
#post_creation_update_form input[type = "text"]:hover,#post_creation_update_form input[type = "tel"]:hover, #post_creation_update_form select:hover,#post_creation_update_form textarea:hover {
    border: 2px solid rgb(0, 140, 230);
}
#post_creation_update_form input[type = "text"]:focus,#post_creation_update_form input[type = "tel"]:focus, #post_creation_update_form select:focus,#post_creation_update_form textarea:focus {
    border: 2px solid rgb(0, 140, 230);
}

#post_title {
    height:150px;
    font-size:16px;
    line-height:1.6em;
    min-width:350px;
    max-width: 450px;
    padding:10px;
    border-radius:5px;
    border:1px solid lightgray;
    margin-bottom:7px;
    box-sizing: border-box;
}
#post_title .ql-editor{
    line-height: 1.6em;
    padding: 0;
}
.characters_count_notification {
    font-size: 12px;
    color:dimgray;
    margin:5px 0
}
.chars_left {
    font-weight:bold; 
}
#post_creation_update_form .short_input_element {
    width:200px !important
}
#post_creation_update_form .very_short_input_element {
    min-width:100px !important;
    max-width:100px !important;
    width:100px !important;
}
#reach_specific_locality_options_elmt {
    display:none
}
#locate_me_button {
    padding: 7px 20px;
    border-radius: 5px;
    background-color: rgba(211, 211, 211, 0.322);
    cursor: pointer;
    border:1px solid darkgray;
    margin-bottom: 15px;
}
#locate_me_button:hover {
    background-color: lightgray;
}
.post_web_link {
    display: block;
    white-space: nowrap;
}

.delete_img_checkbox_label {
    display:block;
    cursor:pointer;
    margin-top:5px;
    font-size:12px;
    width:max-content;
}
.single_static_post_file_section {
    width:98%;
    max-width:500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    margin:auto;
}

.empty_video_displayer, .empty_image_displayer {
    display: inline-block;
    width:98%;
    max-width: 350px;
    height:450px;
    border-radius: 10px;
    margin: auto;
    border:1px solid lightgray;
    
}
.empty_image_displayer{
    border-width: 0;
}
.static_post_vid_displayer{
    display: inline-block;
    width: 98%;
    min-width:250px;
    max-width: 350px;
    max-height: 550px;
    border-radius: 10px;
    margin:auto
}
.video_file_input_element {
    width:200px;
    margin: auto;
    margin-top:25px;
}
.static_post_video_file_selection_label, .static_post_image_file_selection_label {
    text-align: center;
    display: none;
}
.static_file_selection_element,.static_post_video_file_selection_label span, .static_post_image_file_selection_label span{
    display: inline-block;
    border:1px solid dimgray;
    text-align: center;
    border-radius: 5px;
    padding: 7px 15px;
    font-weight: bold;
    cursor: pointer;
    font-size:14px;
    
}
.static_file_selection_element {
    text-align: center;
    margin: auto;
    margin-top:175px;
    font-weight:bold;
    width:90%;
    min-width: 175px;
    max-width: 275px;
}
.static_image_selection_element {
    margin-left: unset;

}
/*.static_video_selection_element {
    margin-left: 34% !important;
 
}*/
.static_file_selection_element:hover,.static_post_video_file_selection_label span:hover, .static_post_image_file_selection_label span:hover {
    background-color: rgb(228, 228, 228);
}
.static_post_video_file_selection_label span, .static_post_image_file_selection_label span{
    margin-top:15px;
}
.uploaded_file_size_and_removal_section {
    display: none;
    margin-top:25px;
    text-align: center;
}
.remove_uploaded {
    margin-left:10px;
    font-weight:bold;
    padding:5px 10px;
    border:1px solid lightgray;
    border-radius:3px;
    cursor: pointer;
}
.remove_uploaded:hover {
    background-color: lightgray;
}
.uploaded_file_size {
    padding:5px 10px;
    font-size:12px;
    text-align: center;
    border:1px solid lightgray;
    border-radius: 3px;
    display: inline-block;
    margin-left:5px;
}

.product_name{
    font-size:13px !important;
}
.file_size_limit {
    color:brown;
    font-size:12px;
}
#video_file_instruction {
    font-size: 13px;
    margin-top:25px;
    line-height: 1.6em;
    text-align: center;
    width:95%;
    max-width:450px;
    margin: auto;
    margin-top:15px;
}

#post_description,#end_of_poll_message {
    width:700px;
    min-height: 250px;
    max-height: 350px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border: 1px solid lightgray;
    overflow: hidden;
    overflow-y: auto;
}
#post_description~.note-editor video {
    display: block;
    width:50% !important;
    max-width: 700px !important;
    min-width:250px !important;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 7px;
}
#post_description~.note-editor img{
    border-radius: 7px;
}
#post_description_video{
    width:1px !important;
    opacity: 0;
}

#label_for_post_description_video {
    box-sizing: border-box;
    display: block;
    font-size:14px;
    margin: 15px 0;
    width:95vw;
    max-width:300px;
    border:1px solid rgb(0, 140, 230);
    border-radius: 5px;
    padding: 10px 15px;
    text-align: center;
    cursor: pointer;
    font-weight:bold
}
#label_for_post_description_video:hover{
    border-width: 2px;
}
#post_description_selected_video_handlers {
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
}
#post_description_video_elmt_size {
    font-size: 12px;
    text-align: center;
    padding: 7px 10px;
    border:1px solid lightgray;
    border-radius: 5px;
    color:dimgray;
    height:max-content
}
#upload_post_description_video, #delete_post_description_video{
    border-width: 0;
    padding:7px 10px;
    border-radius: 5px;
    color: black;
    cursor: pointer;
    margin-left:10px;
    -webkit-appearance: none;
    font-size: 14px;
}
#upload_post_description_video{
    background-color: rgba(0,153, 230,.322);
}
#upload_post_description_video:hover{
    background-color: rgba(0, 142, 230, 0.475);
}

#delete_post_description_video{
    background-color: rgba(230, 0, 0, 0.358);
}
#delete_post_description_video:hover{
    background-color: rgba(230, 0, 0, 0.545);
}
#post_description_video_preview_section{
    border-radius: 5px;
    width:95%;
    min-width:250px;
    max-width: 550px;
    margin-top:15px;
    display: none;
}


#post_description .ql-toolbar, #end_of_poll_message .ql-toolbar {
    max-width:max-content;
    border-width:0 !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    line-height:1.6em
}
#button_zone {

    box-sizing: border-box;
    margin: auto;
    margin-top:50px;
    text-align: center;
    margin-bottom: 35px;
    white-space: nowrap;
    width:max-content;
}
#upper_buttons_zone {
    box-sizing: border-box;
    width: 100vw;
    text-align: right;
    position: -webkit-sticky;
    position: sticky;
    top:5;
    padding:20px;
    background-color: var(--bg-primary);
    z-index: 999;
    max-width: 100%;
    margin-top: 10px;
    will-change: transform
}
.submit_post_form {
    border-width:0;
    padding:10px 50px;
    border-radius: 5px;
    background-color: rgb(0,153, 230);
    color: white;
    cursor: pointer;
}
.submit_post_form:hover {
    background-color: rgb(0, 140, 230);
}


.option_sub_element {
    margin-top:15px;
}
#loading_location_gif {
    width:25px;
    height:25px;
    margin-left:10px;
    position: relative;
    top:10px;
    display: none;
}
.type_of_date_created_label {
    display: inline-block;
    font-size:13px;
    font-weight:bold;
    margin-top:10px;
    cursor: pointer;
}

.date_created_displayer {
    padding:10px;
    color:dimgray;
    width:200px;
    border:1px solid lightgray;
    border-radius: 7px;
    font-size:12px;
    text-align: center;
    margin-top:10px;
    margin-bottom:10px;
    margin-left:25px;
}

#post_state_decision_label {
    display:block;
    margin-top: 25px;
    margin-bottom: 25px;
    cursor: pointer;
}
.post_state_decision_element {
    display: inline-block;
    font-weight: bold;
    position: relative;
    bottom:5px
}
.erase_vote_label {
    display:block;
    margin-top:25px;
    margin-bottom: 25px;
    font-weight: bold;
    cursor: pointer;
}

.file_count_element {
    display:inline-block;
    text-align:center;
    border:1px solid lightgray;
    border-radius: 5px;
    padding:5px 10px;
    font-size:12px;
}

.show_result_to_audience_label {
    font-weight:bold; 
    cursor:pointer; 
    line-height:1.6em; 
    margin-top:20px; 
    display:block;
    white-space:nowrap;
    width:max-content
}
.quill_image_element {
    width:18px;
    position:relative;
    right:10px;
    top:5px;
    cursor:pointer
}
.quill_image_element:hover {
    transform:scale(1.05)
}

#warning_about_post_localities_boundary {
    font-size:13px;
    color:dimgray;
    margin-top:5px;
    display: none;
    margin-left: 35px;
}
#warning_about_post_localities_boundary li {
    margin-top:7px;
    line-height: 1.6em;
}
#warning_about_post_localities_boundary li:first-of-type{
    list-style-type: none;
}


/**event section**/
#events_details_section {
    border:1px solid lightgray;
    margin-top:25px;
    margin-bottom: 25px;
    padding:10px;
    border-radius: 10px;
    min-width: max-content;

}
#special_themes_section {
    margin: 10px 0 25px 0;

}
#is_event_checkbox_label,#is_product_checkbox_label {
    display: block;
    margin-bottom:15px;
    cursor: pointer;
    font-size: 14px;
}
#is_event_checkbox_label input,#is_product_checkbox_label input {
    display: inline-block;
    margin-right:10px;
}
#event_details_section_title {
    font-size:25px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 25px;
    color:rgb(29, 29, 29);
}
#events_details_section textarea{
    line-height: 1.6em;
    font-size:14px;
    margin-top:15px;
    margin-bottom: 25px;
}
#event_further_info_instruction {
    font-size:14px;
    color:dimgray;
    margin-top:15px;
    margin-bottom: 25px;
}
#each_day,#UTC_ind {
    padding-left:5px;
    font-size: 14px;
    color:dimgray
}
#each_day {
    display: none;
}
#event_section_activation_instruction {
    font-size:11px;
    color:dimgray;
    line-height:1.7em;
    margin-top:15px;
    margin-bottom: 15px;
    border:0px solid lightgray;
    border-bottom-width: 1px;
    width:80%;
    max-width:400px
}

.action_warning {
    padding: unset;
    margin: unset;
    padding:10px;
    font-size: 12px;
    color:dimgray;
    width:95%;
    max-width:400px;
    line-height:1.6em 
}

@media only screen and (max-width:802px){
   
    
    #static_post_type_file_option_content_section_wrapper  input[type = "file"] {
       
        padding:7px 10px;
        width:75px;
    }
}

@media only screen and (max-width:602px){
    .post_file_type_selection_section {
        margin-top:15px;
        margin-bottom:15px;
    }
    #post_interactivity_selection_section {
        margin-left:unset;
        margin:15px
    }
    #post_interactivity_selection_section label{
        margin-bottom: 20px;
        font-size:14px;
    }
    #static_post_type_file_option_content_section_wrapper {
        padding:5px 10px;
        max-width:550px;
    }
    #post_details_section {
        width:95%;
        margin-top:55px
    }
    #post_title {
        height:125px;
        font-size:13px;
        min-width: unset;
        max-width: unset;
        width: 350px;
        padding:10px;
    }
    .element_label {
        font-size:14px
    }
    #static_post_type_file_option_content_section_wrapper th, #static_post_type_file_option_content_section_wrapper td, #products_display th, #products_display td {
        font-size:  12px;
    }
    #static_post_type_file_option_content_section_wrapper td input{
        width:200px;
    }
    #post_creation_update_form input[type = "text"]:not(.number_poll_option_identifier),#post_creation_update_form input[type = "tel"],#post_creation_update_form select,#post_creation_update_form textarea {
        font-size:13px;
    }
    #post_creation_update_form .short_input_element {
        min-width:150px;
        width:max-content !important;
        font-size:13px;
    }
    #post_description,#post_description .ql-editor, #end_of_poll_message, #end_of_poll_message .ql-editor {
        width:425px;
        min-height: 200px;
    }
    #post_description .ql-toolbar, #end_of_poll_message .ql-toolbar {
        max-width:425px ;
    }
    #video_file_instruction {
        font-size: 12px;
    }
    .post_web_link_input {
        width:250px !important
    }
    .type_of_date_created_label, .date_created_displayer {
        font-size:12px
    }

    /* for interactive posts */
    .poll_post_file_sub_section, .poll_text_option_sub_section {
        width:175px;
    }
    .number_poll_option_identifier {
        padding:7px 10px !important;
        width:120px !important;
        font-size:12px
    }
    .number_poll_option_identifier:focus {
        width:200px !important
    }
    .poll_post_file_displayer{
        /*width:135px;
        height:135px;*/
    }
    .poll_image_size {
        font-size:12px;
        width:75px
    }
    .image_link_section img {
        width:25px;
        height:25px;
    }
    .image_link_section input[type = 'url']{
        width:90px;
        font-size:12px;
    }
    .image_link_section input[type = 'url']:focus {
        width:200px;
    }
    
    #more_product_details_url_explanation {
        max-width:90%;
        margin-bottom: 0px;
    }
    #brief_poll_message {
        width:90vw;
        max-width: 400px;
        font-size:14px;
        height:200px;

    }
    #number_poll_options_section input[type= "number"] {
        font-size:14px;
        width:75px
    }

    .interactive_post_emoji_type_content_displayer, .interactive_post_intensity_type_content_displayer{
        width:350px
    }
    .poll_post_file_displayer label, .poll_post_file_selector_input_wrapper_label span, .emoji_feedback_post_file_selector_input_wrapper_label span, .intensity_feedback_post_file_selector_input_wrapper_label span{
        padding:7px 15px;
        font-size: 12px;
    }
    
    .selected_poll_post_files_handlers {
        margin-top:15px
    }
    .poll_post_file_remover img {
        width:22px;
        bottom: 7px;
    }
    .selected_poll_post_files_handlers span{
        font-size:12px;
    }
    .poll_post_file_selector_input_wrapper_label, .emoji_feedback_post_file_selector_input_wrapper_label, .intensity_feedback_post_file_selector_input_wrapper_label {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .show_result_to_audience_label {
        margin-top: 10px;
    }
    .emoji_post_type_add_file_inst_text,.intensity_post_type_add_file_inst_text {
        margin:auto;
        margin-top:50%
    }
    .static_file_selection_element,.static_post_video_file_selection_label span, .static_post_image_file_selection_label span{
        padding: 7px 15px;
        font-size:13px;
    }
    #upload_post_description_video, #delete_post_description_video{
        
        font-size: 12px;
    }
    #upper_buttons_zone {
        padding:5px
    }
    .submit_post_form {
        font-size: 14px;
    }
    
}

@media only screen and (max-width:402px) {
    #interactive_post_number_poll_type_file_displayer_section, #interactive_post_number_poll_type_text_field_displayer_section {
        max-width: 450px;
        min-width:350px;
        margin-bottom: 5px;
    }
    #post_interactivity_selection_section {
        max-width: 275px;
    }
   
    #post_title {
        box-sizing: border-box;
        height:100px;
        font-size:14px;
        width:90vw;
    }
    #post_creation_update_form input[type = "text"]:not(.number_poll_option_identifier),#post_creation_update_form  input[type = "tel"],#post_creation_update_form  select,#post_creation_update_form  textarea {
        font-size: 12px;
    }
  
    #post_creation_update_form .short_input_element {
        min-width:150px;
        width:max-content !important;
        font-size:12px;
    }
    #post_description,#post_description .ql-editor, #end_of_poll_message, #end_of_poll_message .ql-editor {
        width:350px;
        min-height: 200px;
    }
    #post_description .ql-toolbar, #end_of_poll_message .ql-toolbar {
        max-width:95vw;
    }
    .post_web_link_input {
        width:225px !important
    }

    /* for styling the interaction sections */

    .poll_post_file_sub_section, .poll_text_option_sub_section {
        width:150px;
    }
    .number_poll_option_identifier {
        padding:7px 10px !important;
        width:100px !important;
    }
    .poll_post_file_displayer{
        /*width:125px;
        height:125px;*/
    }
    #number_poll_options_section input[type= "number"] {
        font-size:13px;
        width:50px
    }
    .file_numbering_direction_label {
        font-size: 14px;
    }
    .interactive_post_emoji_type_content_displayer,.interactive_post_intensity_type_content_displayer {
        width:95vw;
        box-sizing: border-box;
        margin-left:5px;
    }
    #emojies_container {
        width:95vw;
        box-sizing: border-box;
        padding: unset;
    }
    .emoji_img {
        height:25px
    }
    #brief_poll_message {
        width:90vw;
        max-width: 350px;
        font-size:14px;
        height:185px;
    }
    #emoji_selection_section {
        margin-left:5px
    }
    #emoji_image_link_section {
        margin-left:5px
    }
    .empty_video_displayer, .empty_image_displayer {
        height:375px;
    }
    .static_file_selection_element {
        font-size:13px;
    }
    .static_image_selection_element {
        margin-left: unset;
    }
    /*.static_video_selection_element {
        margin-left: 32%;
    }*/
}
