/**
*****************************************
	Theme Name: Ceylon Solar Power
	Author: ANTS Creation
	Author URL: http://www.ants.lk
	Version: 1.0
******************************************
**/

body {
    font-family: font-1;
    font-weight: normal;
    font-style: normal;
    scroll-behavior: smooth;
}
.table,
.table-cell {
    display: table;
    height: 100%;
}
.table-cell {
    display: table-cell;
    vertical-align: middle;
}
.img {
    transition: all 0.3s ease-out 0s;    
    max-width: 100%;
}
a{
    color: #000;
}
a,
button,
.btn,
span.btn1 {
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}
.btn {
    border-radius: 0px;
}
a:focus,
.btn:focus {
    text-decoration: none;
    outline: none;
}
a:focus,
a:hover {
    text-decoration: none;
    color: var(--black);
}
a,
button,
input {
    outline: medium none;
}
button:focus,
.form-control:focus,
.custom-file-input:focus~.custom-file-label{
    outline: 0px dotted;
    outline: 0px auto -webkit-focus-ring-color;
	border-color: transparent;
	box-shadow: none;
}
.form-control:focus,.custom-file-input:focus~.custom-file-label{
    border-color: var(--main-3);
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
    box-shadow: 0 0 0 30px white inset !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    margin: 0px;
    font-style: normal;
    font-family: font-5;
    text-transform: capitalize;
}
p {
    font-weight: normal;
    font-size: 0.94rem;
    font-family: font-1;
    color: var(--main-4);
    line-height: 28px;
    text-align: justify;
}
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
}
ul {
    margin: 0px;
    padding: 0px;
}
li {
    list-style: none;
    font-size: 0.94rem;
    font-family: font-1;
    color: var(--main-4);
}
label {
    font-size: 0.9rem;
    font-weight: 400;
}
*::-moz-selection {
    text-shadow: none;
}
::-moz-selection {
    text-shadow: none;
}
::selection {
    text-shadow: none;
}

/*************************
    Input
*************************/
input {
    background: transparent none repeat scroll 0 0;
    box-shadow: none;
}
select {
    box-shadow: none;
}
input:focus {
    background: transparent;
}
textarea {
    resize: vertical;
    padding: 10px;
    width: 100%;
}
textarea:focus {
    background: transparent;
    outline: none;
}
::-moz-placeholder {
    font-size: 13px;
}

.form-control{
    border: 1px solid #f2f4f7;
    color: var(--main-4);
    font-size: 14px;
    padding: 15px 15px;
    height: calc(2.25rem + 18px);
    box-shadow: 0px 2px 24px 0px rgba(0,0,0,0.08);
}
.border {
    border: 1px solid #92c938!important;
}

/* =================================== */
/*  Top Button
/* =================================== */
#back_button {
    display: inline-block;
    width: 40px;
    height: 40px;
    text-align: center;
    position: fixed;
    bottom: 75px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    background: var(--main-3);
    color: #fff;
    border-radius: 5px;
}
#back_button.show {
    visibility: visible;
    background-color: transparent;
    opacity: 1;
    cursor: pointer;
    background: var(--main-3);;
    color: var(--white);
    border: 1px solid var(--white);
}
#back_button::after {
    font-family: "Font Awesome 5 Free";
    content: "\f102";
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
    font-size: 1.2em;
    line-height: 16px;
    padding: 11px;
    color: var(--white);
}

#back_button:hover{
    transition: 0.4s;
}
