
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600&display=swap');

* {
    margin: 0px;
    padding: 0px;
}

body, html {
    height: 100%;
    width: 100%;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
	padding: 0;
	border: 0;
}

.w2cloud-dashboard-content {
    p {
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 25px;
        color: #3c4863;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }


}

h1, h2, h3, h4, h5, h6, p, figure, a {
    margin: 0px;
}

h1, h2, h3, h4, h5, h6,span {
    font-family: 'Poppins', sans-serif;
    -webkit-font-variant-ligatures: common-ligatures;
    font-variant-ligatures: common-ligatures;
}


h4 {
    font-size: 30px;
    line-height: 1.50;
    color:#3c4863;
}
h5 {
    font-size: 20px;
    line-height: 1.33;
}
h6 {
    font-size: 18px;
    line-height: 1.5;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

a {
    text-decoration: none;
    color:#3c4863;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* make sure to set some focus styles for accessibility */

:focus {
    outline: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}


/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */



a:focus,
button:focus,
a:active {
    text-decoration: none;
    outline: none;
    outline-offset: 0px;
    box-shadow: none;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/

a:active,
a:hover {
   outline: 0;
}
a:hover{
    text-decoration: none;
}
::-moz-selection {
    background: #0058fb;
    text-shadow: none;
    color:#fff;
}

::selection {
    background: #0058fb;
    text-shadow: none;
    color:#fff;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

/* make sure to set some placeholder styles for accessibility */

input[type="search"],
input[type="number"],
input[type="url"],
input[type="password"],
input[type="email"],
input[type="text"],
textarea,
select {
    font-family: 'Poppins', sans-serif;
    height: 50px;
    border: 1px solid #e1e5ee;
    border-radius: 5px;
    background-color: #ffffff;
    color: #545671;
    font-size: 14px;
    padding: 10px 16px;
    line-height: 20px;
    width: 100%;

    &::-webkit-input-placeholder {
        color: #8c9fbe;
    }
    &::-moz-placeholder {
        color: #8c9fbe;
    }
    &:-ms-input-placeholder {
        color: #8c9fbe;
    }
    &:-moz-placeholder {
        color: #8c9fbe;
    }
}

input[type=checkbox]:focus,
input[type=color]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
input[type=datetime]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=radio]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
select:focus,
textarea:focus {
    border-color: #0058fb;
    box-shadow: 0 0 0 1px #0058fb;
    outline: 1px solid rgba(0, 0, 0, 0);
}

.wp-core-ui select:focus {
    border-color: #0058fb;
    box-shadow: 0 0 0 1px #0058fb;
    outline: 1px solid rgba(0, 0, 0, 0);
}

label,
.label{
    color: #3c4863;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    text-transform: capitalize;
    letter-spacing: -0.2px;
    line-height: 22px;
    margin-bottom: 5px;
}

/* make sure to set some Button disabled styles for accessibility */

input:disabled,
button:disabled,
.btn-default:disabled,
textarea:disabled,
select:disabled,
input[disable="disabled"],
button[disable="disabled"],
.btn-default[disable="disabled"]{
    background: #F5F6F7;
    border-color: #E2E5ED;
    color: #6C7C8A;
    cursor: not-allowed;
}



//-------button style---------

input[type="file"],
input[type="reset"],
input[type="button"],
input[type="submit"],
button[type="reset"],
button[type="button"],
button[type="submit"],
button,
.btn-default {
    display: inline-block;
    border: 1px solid transparent;
    line-height: 50px;
    padding: 0px 20px;
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    text-transform: capitalize;
    cursor: pointer;
    background-color: #0058fb;
    height: 50px;
    border-radius: 5px;
    transition: all 0.5s ease;

    &:hover{
        box-shadow: none;
        background: transparent;
        border-color: #0058fb;
        color: #0058fb;
    }

}
.form-control:focus {
    border-color: #0058fb;
    box-shadow: 0 0 0 1px #0058fb;
    outline: 1px solid rgba(0, 0, 0, 0);
}
.b-toaster-top-right {
    top: 50px !important;
    button {
        border-radius: 100px;
        line-height: 15px;
        height: 15px;
        width: 15px;
        padding:0px;
    }
}

//-------helper ----------
a,
.transition-3s {
    @include transitions(all 0.3s ease);//from mixin.scss
}
.transition-5s {
    @include transitions(all 0.5s ease);//from mixin.scss
}

//------------------------
.visibility-hide {
    opacity: 0;
    visibility: hidden;
}
.visibility-show {
    opacity: 1;
    visibility: visible;
}

.img-responsive {
    max-width: 100%;
    height: auto;
}

//--------checkbox and radio style----------

.w2cloud-checkbox {
    li {
        margin-bottom: 25px;
        &:last-child {
            margin-bottom: 0;
        }
    }
    label {
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
        cursor: pointer;
        text-transform: capitalize;
        position: relative;
        margin-bottom: 0;
    }
    input[type="radio"],
    input[type="checkbox"] {
        display: none;
    }

    input[type="radio"] + label .title,
    input[type="checkbox"] + label .title {
        display: inline-block;
        width: 16px;
        height: 16px;
        margin: -1px 20px 0 0;
        vertical-align: middle;
        cursor: pointer;
        border: 1px solid rgba(0,0,0,0);
        border-radius: 50px;
        box-shadow: inset 1px 1px 1px #d0d0e2;
        position: relative;
        background: rgb(234, 234, 249);
        transition: all .5s ease;
    }

    input[type="radio"] + label .title:before,
    input[type="checkbox"] + label .title:before {
        color: #fff;
        content: "";
        font-size: 12px;
        position: absolute;
        text-align: center;
        left: 50%;
        top: 50%;
        opacity: 0;
        visibility: hidden;
        background: $primary-color;
        border-radius: 50px;
        width: 8px;
        height: 8px;
        margin: -4px 0 0 -4px;
        transition: all 0.5s ease;
    }
    input[type="radio"]:checked + label .title,
    input[type="checkbox"]:checked + label .title {
        box-shadow: none;
        border-color: $primary-color;
    }


    input[type="radio"]:checked + label .title:before,
    input[type="checkbox"]:checked + label .title:before {
        opacity: 1;
        visibility: visible;
    }

}

// w2cloud-switcher


.w2cloud-switcher {
    display: flex;
    flex-flow: row;
    align-items: center;
    .switch-input {
        visibility: hidden;
        margin-left: -9999px;
        position: absolute;
        width: auto;
    }
    label {
        margin-bottom: 0;
        @extend .transition-3s;
    }
    .switch-input + label {
        display: block;
        position: relative;
        cursor: pointer;
        outline: none;
        border-radius: 80px;
        border: 1px solid #E0E2EB;
        height: 36px;
        width: 70px;
        background-color:#f5f6fa;
    }
    .switch-input:checked + label {
        background: $primary-color;
        border-color: $primary-color;
    }
    .switch-input + label:before,
    .switch-input + label:after {
        content: "";
        display: block;
        height: 100%;
        width: 100%;
        left: 1px;
        position: absolute;
        top: 0;
        @extend .transition-3s;
    }
    .switch-input + label:before {
        right: 0px;
        background: transparent;
        border-radius: 75px;
    }
    .switch-input + label:after {
        border-radius: 100%;
        width: 32px;
        height: 32px;
        background-color: #fff;
        box-shadow: 6.983px 0.488px 10px 0px rgba(142, 146, 163, 0.2);
        top: 1px;
        content: "";
        color: $secondary-color;
        font-size: 20px;
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
    }
    .switch-input:checked + label:after {
        margin-left: 34px;
        content: "\2714";
    }

}

.w2cloud__button--border {
    border-top: 1px solid rgb(225, 229, 238);
    padding: 20px 30px;
    .area-design {
        display: block;
        margin: auto 0 0 auto;
    }
}

@media only screen and (max-width: 1199px){
    .w2cloud-switcher {
        .switch-input+label {
            height: 26px;
            width: 50px;
            &:after {
                width: 20px;
                height: 20px;
                top: 2px;
            }
        }
        .switch-input:checked + label:after {
            margin-left: 24px;
        }
    }
}

