/*
Theme Name: Waystar theme
Description: Waystar theme
Author: Reykjavik Digital
Template: flatsome
Version: 3.0
*/


/*************** ADD CUSTOM CSS HERE.   ***************/
html {
	scroll-behavior: smooth
}

/*subtitle in the navbar overflows on weird screen sizes. this fixes that*/

@media screen and (min-width: 851px) and (max-width: 1239px) {
    #navbar-subtitle {
        display: none;
    }
}


/*desktop*/

@media screen and (min-width: 1999px){
	/*ultra wide desktops*/
    .header-inner {
        margin-left: 735px !important;
    }
}
@media screen and (min-width: 1024px) {
    .wpcf7-form {
        padding: 100px;
    }
    #main-title0 {
        font-size: 40px !important;
    }
    .header-inner {
        margin-left: 205px;
    }
	
	#header2:before{
		left: 176px !important ;
	}
}



/*tablet*/

@media screen and (min-width: 481px) and (max-width: 1024px) {
    .wpcf7-form {
        padding: 70px;
    }
    .wpcf7-text {
        max-width: 400px !important;
    }
    .accordion-title:after {
        position: absolute;
        top: -10px;
        right: 5% !important;
    }
}


/* phone */

@media screen and (max-width: 480px) {
    .wpcf7-form {
        padding: 10px;
        padding-bottom: 80px;
    }
    #main-title0 {
        font-size: 30px !important;
    }
    .main-section-1 {
        background-size: 200px !important;
        background-position-y: 100% !important;
    }
    .accordion-title:after {
        position: absolute;
        top: -10px;
        right: 1% !important;
    }
}

.accordion-item {
    color: white;
    margin-bottom: 20px;
}

.accordion-title:hover {
    color: #ffbc00 !important;
}

.accordion-title {
    border: none;
    color: white;
}

.accordion-title::first-letter {
    color: #ffbc00;
}


/*FAQ drop down icons*/

.accordion-title:after {
    font-weight: lighter;
    color: #ffbc00;
    position: absolute;
    top: -10px;
    right: 10%;
    content: '+';
    font-size: 40px;
}

.accordion-title.active:after {
    content: '-';
}


/*original accordion icon*/

.icon-angle-down {
    visibility: hidden;
}

.active:hover {
    color: white !important;
}

.contactItem {
    font-size: 22px;
    line-height: 27px;
    color: #ffbc00;
}

.contact {
    text-align: center;
    max-height: 400px;
}

#contactTitle {
    font-size: 60px;
    color: #ffbc00;
}

.socials {
    margin-right: 200px;
}


/* lines in front of headers */

.header:before {
    top: 0px;
    position: absolute;
    content: "";
    display: block;
    height: 58px;
    width: 5px;
    background-color: #ffbc00;
}


/*Software Development, Business Analytics and Support Solutions*/

#header1:before {
    top: 10px;
    left: -10px;
    height: 52px;
}


/*THE 4 A’S OF DIGITAL EVOLUTION */

#header2:before {
    top: 16px;
    position: absolute;
    content: "";
    display: block;
    width: 5px;
    left: -10px;
    height: 50px;
    background: #333e47;
}


/*About Us*/

#header3:before {
    left: -10px;
}

.main2-title {
    font-size: 40px;
}


/*form styling*/

.wpcf7-form {
    background-color: #333e47;
}

.wpcf7-form label {
    color: #ffbc00;
}


/*form text boxes*/

.wpcf7-form input {
    border: none;
    background-color: #333e47;
    border-bottom: 2px solid white;
    outline: none;
    max-width: 830px;
}

.wpcf7-text:focus {
    background: #333e47 !important;
    outline: none !important;
    box-shadow: none !important;
    color: white !important;
}

input[type="text"] {
    color: white;
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}

input[type="text"]:focus {
    outline: none;
}


/*submit button*/

.wpcf7-form input[type="submit"] {
    float: right;
    margin-right: 10%;
    color: #ffbc00;
    background: #333e47 !important;
    border: 1px solid #ffbc00 !important;
    border-radius: 10px;
}

.wpcf7-form input[type="submit"]:hover {
    background: #ffbc00 !important;
    color: white !important;
}


/*confirmation/error message after form submit*/

.wpcf7-response-output {
    color: white;
}


/* fix the background on forms turning white after autofill on chrome */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #333e47 inset !important;
    -webkit-text-fill-color: white !important;
}

.wpcf7-form input{
	box-shadow: none !important;
}


/*remove the defult background darkening when an accordion is opened*/

.active {
    background: rgba(0, 0, 0, 0) !important;
}


/*navbar hover effect*/

.nav-top-link::before {
    content: "";
    display: block;
    height: 5px;
    background-color: #ffbc00;
    position: absolute;
    bottom: -4px;
    width: 0%;
    transition: all ease-in-out 250ms;
}

.nav-top-link:hover::before {
    width: 100%;
}



/*background triangle in the Software Development, Business Analytics and Support Solutions section */

.main-section-1 {
    background-image: url(http://waystar.is/wp-content/uploads/main-bg-right-side.svg);
    background-repeat: no-repeat;
    background-size: 490px;
    background-position-x: 100%;
    background-position-y: -114px;
}


/*background triangle in the frequently asked questions section*/

.main-section-4 {
    background-image: url(http://waystar.is/wp-content/uploads/upside-down-triangle-about-us.svg);
    background-repeat: no-repeat;
    background-position-x: 0px;
    background-position-y: 0px;
    background-size: 300px;
}
    /*background triangle in the 4 a's of digital evolution section*/

.main-section-3 {
    background-image: url(http://waystar.is/wp-content/uploads/main-bg-left-side.svg);
    background-repeat: no-repeat;
    background-position-x: -5px;
    background-position-y: 100%;
    background-size: 300px;
}


/*background triangles in the about us section*/

.main-section-6 {
    background-image: url(http://waystar.is/wp-content/uploads/main-bg-left-side.svg), url(http://waystar.is/wp-content/uploads/upside-down-triangle-about-us.svg);
    background-repeat: no-repeat;
    background-position-y: 150px, 895px;
    background-position-x: -10px;
    background-size: auto, 350px;
}

.know-more-button {
    color: black !important;
    font-size: 14px !important;
    border-color: #ffbc00 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    text-transform: capitalize;
}

.know-more-button:hover {
    color: white !important;
    border-color: #ffbc00 !important;
}

.faq-dropdown {
    max-width: 770px;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}
input[data-autocompleted] {
    background-color: transparent !important;
}