.ccoo-cc-root {
    position: fixed;
    z-index: 5555555555;
    float: top;
    height: 100%;
    left: 0;
    overflow-x: auto;
    top: 15vh;
    display: flex;
    justify-content: center;
    width: 100%;
}

.ccoo-cc-root .ccoo-cc-overlay {
    background-color: black;
    height: 100%;
    left: 0;
    opacity: 0.75;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
}

.ccoo-cc-root .ccoo-cc-dialog {
    width: 600px; max-width: 600px;
    height: 500px; max-height: 500px;

    font-family: 'Roboto', Arial, Helvetica, Verdana, Sans-Serif;
    text-align: left;
    color: #4A4A4A;
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;

    border-radius: 8px;
}

.ccoo-cc-root .ccoo-cc-header-image-container {
    padding: 15px 0 15px 0;
    max-width: 100%;
    min-height: 40px;

    display: flex;
    flex-direction: row;
    justify-content: center;
}

.ccoo-cc-dialog *,
.ccoo-cc-dialog *:before,
.ccoo-cc-dialog *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.ccoo-cc-dialog p,
.ccoo-cc-dialog ol,
.ccoo-cc-dialog ul,
.ccoo-cc-dialog li {
    font-style: normal;
    font-weight: 400;
    font-size: 1em !important;
    line-height: 1.45em !important;
    padding: 0;
    margin-bottom: 1em;
    color: #333;
}

.ccoo-cc-dialog p a,
.ccoo-cc-dialog p span {
    text-decoration: none;
    color: #D42E12;
}

.ccoo-cc-dialog ol,
.ccoo-cc-dialog ul,
.ccoo-cc-dialog li {
    margin-left: 0.5em;
}

.ccoo-cc-dialog h1,
.ccoo-cc-dialog h2,
.ccoo-cc-dialog h3,
.ccoo-cc-dialog h4,
.ccoo-cc-dialog h5,
.ccoo-cc-dialog h6 {
    font-weight: 700 !important;

    font-family: 'Roboto', Arial, Helvetica, Verdana, Sans-Serif !important;
    text-align: left !important;
    color: #4A4A4A !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-shadow: none !important;

    background-color: transparent !important;
}

.ccoo-cc-dialog h1 {
    font-size: 2.3em !important;
    line-height: 1.2em !important;
    text-align: left !important;
    margin: 10px 0 !important;
}


.ccoo-cc-dialog h2 {
    font-size: 1.64286em !important;
    line-height: 1.2em !important;
    margin-bottom: 5px !important;
    margin-top: 10px !important;
    padding: 1em 0 0.37em 0 !important;
}

.ccoo-cc-dialog h3 {
    font-size: 1.4375em !important;
    line-height: .92308em !important;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
    padding: 1em 0 0.37em 0 !important;
}

.ccoo-cc-dialog h4 {
    margin: 0 0 10px;
    font-size: 1.15em !important;
    line-height: 1.2em !important;
    padding: 1em 0 0.37em 0 !important;
}

.ccoo-cc-dialog h5 {
    font-size: 1.04545em !important;
    line-height: 1.09091em !important;
}

.ccoo-cc-content-container {
    height: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;

    padding: 0 !important;
    overflow: hidden !important;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-radius: 0;
}

.ccoo-cc-content-header,
.ccoo-cc-content-body,
.ccoo-cc-content-footer {
    background-color: #fff; 
}

.ccoo-cc-content-header {
    align-self: center !important;
    width: 100% !important;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;

    border-bottom: 3px solid #ddd !important;
}

.ccoo-cc-content-body {
    padding: 20px !important;
    overflow-x: hidden;
    overflow-y: overlay;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
}

/*a*/

.ccoo-cc-content-footer {
    border-top: 3px solid #ddd !important;
    padding: 10px !important;

    display: flex !important;
    flex-direction: row;
    justify-content: space-around;

    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/*scrollbar*/
.ccoo-cc-content-body::-webkit-scrollbar {
    width: 6px !important;
}

.ccoo-cc-content-body::-webkit-scrollbar-track {
    background: #fff !important;
}

.ccoo-cc-content-body::-webkit-scrollbar-thumb {
    background: #ccc !important;
}

.ccoo-cc-content-body::-webkit-scrollbar-thumb:hover {
    background: #999 !important;
}

/*btn*/
.ccoo-cc-btn {
    font-family: 'Roboto', sans-serif;
	font-size: 0.9em;
	line-height: 2em;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;

	padding: 5px;
    min-width: 150px;
    max-width: 320px;

	overflow: hidden;
	position: relative;
	display: inline-block;
}

span.ccoo-cc-btn#sn-b-save {
    margin-right: 1em;
}

.ccoo-cc-btn:after {
	background: rgba(255, 255, 255, 0.1);
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	opacity: 1;
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;
	-moz-transform: scale(0, 1);
	-o-transform: scale(0, 1);
	-ms-transform: scale(0, 1);
	-webkit-transform: scale(0, 1);
	transform: scale(0, 1);
	transform-origin: 0 50%;
}

.ccoo-cc-btn:hover {
	cursor: pointer;
}

.ccoo-cc-btn:hover:after {
	-moz-transform: scale(1, 1);
	-o-transform: scale(1, 1);
	-ms-transform: scale(1, 1);
	-webkit-transform: scale(1, 1);
	transform: scale(1, 1);
}

.ccoo-cc-content-footer .ccoo-cc-btns-container,
.ccoo-cc-content-footer .ccoo-cc-btns-container-end {
	width: 100%;
	display: block;
	/*min-height: 1px;*/
}

.ccoo-cc-content-footer .ccoo-cc-btns-container,
.ccoo-cc-content-footer .ccoo-cc-btns-container-end {
	text-align: left;
    display: flex;
    flex-direction: row;
}

.ccoo-cc-content-footer .ccoo-cc-btns-container-end {
    justify-content: flex-end;
}

.ccoo-cc-content-footer .ccoo-cc-btns-container span,
.ccoo-cc-content-footer .ccoo-cc-btns-container-end span {
	color: #D42E12;
    background-color: #ffffff !important;
}

.ccoo-cc-content-footer .ccoo-cc-btns-container-end span.ccoo-cc-btn-action {
	color: #ffffff !important;
	background-color: #D42E12 !important;
	border-color: #000 !important;
}

.ccoo-cc-content-body p span,
.ccoo-cc-content-footer .ccoo-cc-btns-container span,
.ccoo-cc-content-footer .ccoo-cc-btns-container-end span {
	cursor: pointer !important;
}

/*configbox*/
.ccoo-cc-configbox {
	display: table;
	padding: 5px 20px 20px 20px;
	border: 1px solid #E0DEDE;
	border-radius: 5px; 
	box-shadow: 0 0 12px -4px #E0DEDE;
	margin: 0 0 1.5em 0;
    background-color:  rgb(255, 255, 255);
}

.ccoo-cc-configbox .ccoo-cc-row {
	display: table-row;
}

.ccoo-cc-configbox .ccoo-cc-left,
.ccoo-cc-configbox .ccoo-cc-right {
	display: table-cell;
	vertical-align: middle;
	position: relative;
}

.ccoo-cc-configbox .ccoo-cc-right {
	width: 70px;
	text-align: right;
}

/*switch*/
.ccoo-cc-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 24px;
}

.ccoo-cc-switch:hover {
	cursor: pointer;
}

.ccoo-cc-switch span::before,
.ccoo-cc-switch span::after {
	content: '';
	display: block;
	position: absolute;
	-webkit-transition: all 200ms ease-in-out;
	-moz-transition: all 200ms ease-in-out;
	-o-transition: all 200ms ease-in-out;
	transition: all 200ms ease-in-out;
	background-color: #E0DEDE;
}

.ccoo-cc-switch span::before {
	width: 100%;
	height: 100%;
	border-radius: 9999em;
}

.ccoo-cc-switch span::after {
	top: 2px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 0 2px #979797;
}

.ccoo-cc-switch input {
	display: none;
}

.ccoo-cc-switch input:checked+span::before {
	background-color: #D42E12;
}

.ccoo-cc-switch input:checked+span::after {
	left: 24px;
}

.ccoo-cc-hidden {
	display: none !important;
	visibility: hidden !important;
	z-index: -10 !important;
}

/* >= 1025 */
/*@media only screen and (min-width : 1025px) {
    .ccoo-cc-content-body {
        background-color: aqua;
    }
}*/

/* entre 901 y 1024 */
@media only screen and (min-width : 901px) and (max-width : 1024px) {
    .ccoo-cc-root {
        top: 5vh;
    }

    /*.ccoo-cc-content-body {
        background-color: lightcoral;
    }*/
}

/* < 900px */
@media only screen and (max-width : 900px) {
    .ccoo-cc-root {
        top: 0;
    }

    .ccoo-cc-root .ccoo-cc-dialog {
        width: 100%; max-width: 100%;
        height: 100%; max-height: 100%;
        border-radius: 0px;
    }

    .ccoo-cc-content-header {
        border-radius: 0;
    }

    .ccoo-cc-root .ccoo-cc-header-image {
        max-height: 40px;
    }

    /*.ccoo-cc-content-body {
        background-color: #DDD;
    }*/

    .ccoo-cc-dialog h1 {
        font-size: 1.91667em !important;
        line-height: 1.09091em !important;
    }

    .ccoo-cc-dialog h2 {
        font-size: 1.6em !important;
        line-height: 1.71em !important;
    }

    .ccoo-cc-dialog h3 {
        font-size: 1.5em !important;
        line-height: 1.6em !important;
    }

    .ccoo-cc-dialog h4 {
        font-size: 1.04545em !important;
        line-height: 1.09091em !important;
    }

    .ccoo-cc-dialog h5 {
        font-size: .95833em !important;
        line-height: 1em !important;
    }

    .ccoo-cc-content-footer {
        border-radius: 0;
    }
}

/* < 576px */
@media only screen and (max-width : 576px) {
    /*.ccoo-cc-content-body {
        background-color: lightgreen;
    }*/

    .ccoo-cc-content-footer {
        flex-direction: column;

        border-top: 3px solid #ddd !important;
        padding: 10px !important;
    
        display: flex !important;
        justify-content: space-around;
    }

    .ccoo-cc-content-footer .ccoo-cc-btns-container,
    .ccoo-cc-content-footer .ccoo-cc-btns-container-end {
        flex-direction: column;
    }

    .ccoo-cc-btn {
        min-width: 100%;
    }

    span.ccoo-cc-btn#sn-b-save {
        margin-right: 0;
    }
}