/*

Theme Name: Personal Theme
Version: 1.0.18
Description: Thème personnel
Author: Manu Clement
Requires at least: 4.5.0
Tested up to: 5.8
Requires PHP: 7.4.0

*/

.align-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.visible {
    opacity: 1
}

.invisible {
    opacity: 0
}

.unvisibility {
    visibility: hidden;
}

.undisplay, .hidden {
    display: none;
}

.link {
    cursor: pointer;
}

.italic {
    font-style: italic;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.flex-columns {
    display: flex;
}

.large-font-size {
    font-size: 2em !important;
}

.small-font-size {
    font-size: 0.8em !important;
}

.margin-top-10 {
    margin-top: 10px
}

.margin-top-20 {
    margin-top: 20px
}

.margin-vertical-10, .spacer-10 {
    margin-top: 10px;
    margin-bottom: 10px
}

.margin-vertical-20, .spacer-20 {
    margin-top: 20px;
    margin-bottom: 20px
}

.margin-vertical-30, .spacer-30 {
    margin-top: 30px;
    margin-bottom: 30px
}

.margin-vertical-50, .spacer-50 {
    margin-top: 50px;
    margin-bottom: 50px
}

.max-width-900 {
    max-width: 900px;
}

.max-width-1200 {
    max-width: 1200px;
}

.customize-control input::placeholder, .customize-control textarea::placeholder{
    color: #959393;
    font-style: italic;
}

.thumbnail-image {
    background: #cecece;
}

#media-gallery {
	background: #fff;
	width: 90%;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	overflow: auto;
}

.pt-thumbnails-gallery-item {
	margin: 10px;
	cursor: move;
	float: left;
}

.pt-thumbnails-gallery-item img {

}

.ui-state-highlight {
	height: 150px;
	width: 150px;
	background: #fffe88;
	border: 1px solid #cecece;
	margin: 10px;
	float: left;
}

#wpbody-content {
	text-align: center;
}

.submit {
	text-align: center!important;
}

#videoPlayer {
    border-radius: unset !important;
}


.screen-reader-text {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important;
}

/* INFOLINK */

.infolink {
    display: inline-block;
    font-family: sans-serif;
    font-weight: bold;
    text-align: center;
    width: 18px;
    height: 15px;
    font-size: 1.4ex;
    line-height: 2.1ex;
    border-radius: 50%;
    margin-right: 4px;
    padding: 1px;
    color: #8c8c8c;
    background: #f6f6f6;
    border: 1px solid #8c8c8c;
    text-decoration: none;
    padding-top: 3px;
}

.infolink:before {
    content: "?";
}

.infolink:hover {
    color: white;
    background: blue;
}

/* SWITCH */

.switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.switch input {
    display:none;
}

/* SLIDER CHECKBOX */

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
}

.slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked + .slider {
    background-color: #66bb6a;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* FOOTER STUCK IN BOTTOM */

body {
    height:100vh;
    display:flex;
    flex-direction:column;
}

footer {
    margin-top:auto;
}

/* TEASE */

.tease {
    background-color: var(--bg-color-grey);
    padding: 5px;
    margin-bottom: 10px;
}

.tease-img {
   text-align: center;
}

.tease-img img{
    width: 100%;
    max-width: 600px;
}

/* SWAL */

.swal-consent-popup {
    max-width: 1000px !important;
    width: 100% !important;
}

.swal-consent-action {
    align-items: stretch !important;
    flex-direction: column;
}

.swal-consent-cancel {
    background: unset !important;
    color: var(--font-color) !important;
    text-decoration: underline;
    text-align: left;
}

.swal2-html-container {
    margin: unset !important;
}

.swal2-checkbox, .swal2-file, .swal2-input, .swal2-radio, .swal2-select, .swal2-textarea {
    margin: 1em 0 0 !important;
}

.swal2-checkbox[disabled], .swal2-file[disabled], .swal2-input[disabled], .swal2-radio[disabled], .swal2-select[disabled], .swal2-textarea[disabled] {
    background-color: #cecece;
}